KR20210049653A - Method for communicating with external electronic apparatus and electronic appratus thereof - Google Patents
Method for communicating with external electronic apparatus and electronic appratus thereof Download PDFInfo
- Publication number
- KR20210049653A KR20210049653A KR1020200015532A KR20200015532A KR20210049653A KR 20210049653 A KR20210049653 A KR 20210049653A KR 1020200015532 A KR1020200015532 A KR 1020200015532A KR 20200015532 A KR20200015532 A KR 20200015532A KR 20210049653 A KR20210049653 A KR 20210049653A
- Authority
- KR
- South Korea
- Prior art keywords
- electronic device
- certificate data
- external electronic
- external
- wireless communication
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/50—Secure pairing of devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/04—Key management, e.g. using generic bootstrapping architecture [GBA]
- H04W12/043—Key management, e.g. using generic bootstrapping architecture [GBA] using a trusted network node as an anchor
- H04W12/0433—Key management protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
- H04W12/069—Authentication using certificates or pre-shared keys
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/02—Terminal devices
- H04W88/06—Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals
Abstract
Description
본 문서에서 개시되는 실시 예들은, 전자 장치가 데이터를 송신 또는 수신하기 위해 외부 전자 장치를 인식하고 통신을 연결하는 기술과 관련된다.The embodiments disclosed in this document relate to a technology in which an electronic device recognizes an external electronic device and connects communication in order to transmit or receive data.
다양한 전자 장치들이 공급되면서, 기기들 간의 연결 및 컨텐츠 공유가 많아지고 있다. 근거리 내에 위치한 기기들 간에 데이터를 송수신하기 위해 근거리 무선 통신이 이용될 수 있다. 근거리 무선 통신은 액세스 포인트(Access Point)에 연결된 기기들이 액세스 포인트를 통해서 통신하는 방식과, 기기들이 직접 페어링(pairing)되어 통신하는 방식이 있다. 예를 들어, 와이파이(WiFi, wireless-fidelity) 모듈을 이용해 기기들 간에 직접 페어링하고 통신하는 방식은 애드혹(Adhoc) 방식, 모바일 액세스 포인트(Mobile Access Point) 및 와이파이 다이렉트(WiFi direct)가 있다.As various electronic devices are supplied, connection between devices and content sharing are increasing. Short-range wireless communication may be used to transmit and receive data between devices located within a short distance. Short-range wireless communication includes a method in which devices connected to an access point communicate through an access point, and a method in which devices are directly paired to communicate with each other. For example, methods of directly pairing and communicating between devices using a WiFi (wireless-fidelity) module include an adhoc method, a mobile access point, and a WiFi direct.
근거리 무선 통신 방식을 이용한 기기 간의 데이터 전송은 사용자가 근거리 무선 통신에 대한 설정을 수동으로 구성해야 하는 불편함이 있다. 따라서, 무선 통신에 대한 지식이 없거나 익숙하지 않은 사용자는 기기들을 페어링하는 과정을 수행하기 어렵다Data transmission between devices using a short-range wireless communication method is inconvenient for a user to manually configure settings for short-range wireless communication. Therefore, it is difficult for users who do not have knowledge or are not familiar with wireless communication to perform the process of pairing devices.
사용자가 자신의 전자 장치가 가진 콘텐트를 외부의 다른 전자 장치로 제공하고자 할 경우, 사용자가 콘텐트를 제공하고자 하는 외부의 전자 장치가 무엇인지 특정하기 어려운 문제가 있다.When a user intends to provide content of his/her electronic device to another external electronic device, it is difficult to specify what external electronic device the user wants to provide the content to.
본 문서에 개시되는 일 실시 예에 따른 전자 장치는, 상기 전자 장치의 제1 인증서 데이터 및 외부 전자 장치의 제2 인증서 데이터를 포함하는 인증서 목록을 저장하는 메모리, 근거리 무선 통신 회로, 및 상기 메모리 및 상기 근거리 무선 통신 회로와 작동적으로 연결된 프로세서를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가, 상기 전자 장치 주변의 장치와 통신 연결을 수립하는 동작을 실행하도록 하는 트리거 이벤트를 감지하고, 상기 트리거 이벤트의 감지에 응답하여, 상기 제1 인증서 데이터에 기초하여 생성된 광고 패킷을 브로드캐스트하도록 상기 근거리 무선 통신 회로를 제어하며, 상기 광고 패킷에 대한 응답으로 상기 외부 전자 장치로부터 응답 패킷을 수신한 경우, 상기 응답 패킷으로부터 제3 인증서 데이터를 획득하고, 상기 제2 인증서 데이터와 상기 제3 인증서 데이터에 기초하여 상기 외부 전자 장치를 인증하고, 상기 외부 전자 장치가 인증된 경우 상기 외부 전자 장치와 보안 통신 채널을 수립하도록 하는 인스트럭션들을 저장할 수 있다. An electronic device according to an embodiment disclosed in the present document includes a memory for storing a certificate list including first certificate data of the electronic device and second certificate data of an external electronic device, a short-range wireless communication circuit, and the memory and A processor operatively connected to the short-range wireless communication circuit, and the memory, when executed, detects a trigger event that causes the processor to execute an operation of establishing a communication connection with a device surrounding the electronic device, In response to detection of the trigger event, controlling the short-range wireless communication circuit to broadcast an advertisement packet generated based on the first certificate data, and receiving a response packet from the external electronic device in response to the advertisement packet In one case, third certificate data is obtained from the response packet, the external electronic device is authenticated based on the second certificate data and the third certificate data, and when the external electronic device is authenticated, the external electronic device and Instructions for establishing a secure communication channel can be stored.
또한, 본 문서에 개시되는 일 실시 예에 따른 전자 장치는, 상기 전자 장치의 제1 인증서 데이터, 외부 전자 장치에 대한 제1 사용자 식별 정보 및 상기 제1 사용자 식별 정보에 상응하는 제2 인증서 데이터를 저장하는 메모리, 근거리 무선 통신 회로, 및 상기 메모리 및 상기 근거리 무선 통신 회로와 작동적으로 연결된 프로세서를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가, 상기 근거리 무선 통신 회로를 통해서 제3 인증서 데이터를 포함하는 광고 패킷을 수신하고, 상기 광고 패킷의 수신에 응답하여, 상기 제3 인증서 데이터를 상기 제2 인증서 데이터와 비교하고, 상기 제3 인증서 데이터와 상기 제2 인증서 데이터가 매칭되는 경우, 상기 제1 인증서 데이터에 기초하여 생성된 응답 패킷을 상기 근거리 무선 통신 회로를 통해 상기 외부 전자 장치로 전송하며, 상기 근거리 무선 통신 회로를 통해, 상기 전송된 응답 패킷에 대한 상기 외부 전자 장치의 응답에 기초하여 상기 외부 전자 장치와 보안 통신 채널을 수립하도록 하는 인스트럭션들을 저장할 수 있다. In addition, the electronic device according to an embodiment disclosed in the present document may provide first certificate data of the electronic device, first user identification information of the external electronic device, and second certificate data corresponding to the first user identification information. A memory to store, a short-range wireless communication circuit, and a processor operatively connected to the memory and the short-range wireless communication circuit, the memory, when executed, the processor, a third certificate through the short-range wireless communication circuit When an advertisement packet including data is received, and in response to the reception of the advertisement packet, the third certificate data is compared with the second certificate data, and the third certificate data and the second certificate data are matched, A response packet generated based on the first certificate data is transmitted to the external electronic device through the short-range wireless communication circuit, and a response of the external electronic device to the transmitted response packet through the short-range wireless communication circuit Instructions for establishing a secure communication channel with the external electronic device may be stored.
또한, 본 문서에 개시되는 일 실시 예에 따른 전자 장치는, 상기 전자 장치의 제1 인증서 데이터 및 외부 전자 장치의 제2 인증서 데이터를 저장하는 메모리, 근거리 무선 통신 회로, 원거리 무선 통신 회로, 및 상기 메모리, 상기 근거리 무선 통신 회로, 및 상기 원거리 무선 통신 회로와 작동적으로 연결된 프로세서를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가, 상기 원거리 무선 통신 회로를 통해, 외부 서버에 사용자 계정에 기초하여 로그인을 수행하고, 상기 원거리 무선 통신 회로를 통해, 상기 외부 서버로부터 상기 사용자 계정에 상응하는 계정 키 값을 수신하며, 상기 전자 장치 주변의 장치와 통신 연결을 수립하는 동작을 실행하도록 하는 트리거 이벤트를 감지하고, 상기 트리거 이벤트의 감지에 응답하여, 상기 계정 키 값을 포함하는 메시지를 브로드캐스트하도록 상기 근거리 무선 통신 회로를 제어하며, 상기 메시지에 기초하여 상기 계정 키 값과 동일한 키 값을 가지는 상기 외부 전자 장치를 확인하고, 상기 근거리 무선 통신 회로를 통해, 상기 외부 전자 장치에 상기 제1 인증서 데이터를 전송하며, 상기 근거리 무선 통신 회로를 통해, 상기 외부 전자 장치로부터 제3 인증서 데이터를 수신하고, 상기 제2 인증서 데이터와 상기 제3 인증서 데이터에 기초하여 상기 외부 전자 장치를 인증하도록 하는 인스트럭션들을 저장할 수 있다. In addition, an electronic device according to an embodiment disclosed in the present document includes a memory for storing first certificate data of the electronic device and second certificate data of an external electronic device, a short-range wireless communication circuit, a long-range wireless communication circuit, and the A memory, the short-range wireless communication circuit, and a processor operatively connected to the long-distance wireless communication circuit, wherein the memory, when executed, the processor, through the long-range wireless communication circuit, to an external server in a user account Trigger to perform an operation of performing a login based on the remote, receiving an account key value corresponding to the user account from the external server through the remote wireless communication circuit, and establishing a communication connection with a device around the electronic device Detecting an event and controlling the short-range wireless communication circuit to broadcast a message including the account key value in response to detection of the trigger event, and having the same key value as the account key value based on the message Checking the external electronic device, transmitting the first certificate data to the external electronic device through the short-range wireless communication circuit, receiving third certificate data from the external electronic device through the short-range wireless communication circuit, , Instructions for authenticating the external electronic device based on the second certificate data and the third certificate data may be stored.
또한, 본 문서에 개시되는 일 실시 예에 따른 전자 장치는, 상기 전자 장치의 제1 인증서 데이터 및 외부 전자 장치의 제2 인증서 데이터를 저장하는 메모리, 근거리 무선 통신 회로, 원거리 무선 통신 회로, 및 상기 메모리, 상기 근거리 무선 통신 회로, 및 상기 원거리 무선 통신 회로와 작동적으로 연결된 프로세서를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가, 상기 원거리 무선 통신 회로를 통해, 외부 서버에 사용자 계정에 기초하여 로그인을 수행하고, 상기 원거리 무선 통신 회로를 통해, 상기 외부 서버로부터 상기 사용자 계정에 상응하는 계정 키 값을 수신하며, 상기 근거리 무선 통신 회로를 통해서 상기 계정 키 값을 포함하는 메시지를 수신하며, 상기 메시지에 기초하여 상기 계정 키 값과 동일한 키 값을 가지는 상기 외부 전자 장치를 확인하고, 상기 근거리 무선 통신 회로를 통해, 상기 외부 전자 장치로부터 제3 인증서 데이터를 수신하고, 상기 제2 인증서 데이터와 상기 제3 인증서 데이터에 기초하여 상기 외부 전자 장치를 인증하며, 상기 외부 전자 장치의 인증이 완료된 경우, 상기 근거리 무선 통신 회로를 통해, 상기 외부 전자 장치로 상기 제1 인증서 데이터를 전송하도록 하는 인스트럭션들을 저장할 수 있다. In addition, an electronic device according to an embodiment disclosed in the present document includes a memory for storing first certificate data of the electronic device and second certificate data of an external electronic device, a short-range wireless communication circuit, a long-range wireless communication circuit, and the A memory, the short-range wireless communication circuit, and a processor operatively connected to the long-distance wireless communication circuit, wherein the memory, when executed, the processor, through the long-range wireless communication circuit, to an external server in a user account Login is performed on the basis of, through the remote wireless communication circuit, receiving an account key value corresponding to the user account from the external server, and receiving a message including the account key value through the short-range wireless communication circuit, , Based on the message, identify the external electronic device having the same key value as the account key value, receive third certificate data from the external electronic device through the short-range wireless communication circuit, and the second certificate data And an instruction for authenticating the external electronic device based on the third certificate data, and transmitting the first certificate data to the external electronic device through the short-range wireless communication circuit when the authentication of the external electronic device is completed. You can save them.
또한, 본 문서에 개시되는 일 실시 예에 따른 전자 장치가 외부 전자 장치와 통신을 수행하는 방법은, 상기 전자 장치의 제1 인증서 데이터 및 상기 외부 전자 장치의 제2 인증서 데이터를 저장하는 동작, 상기 전자 장치 주변의 장치와 통신 연결을 수립하도록 하는 트리거 이벤트를 감지하는 동작, 상기 트리거 이벤트의 감지에 응답하여, 상기 제1 인증서 데이터에 기초하여 생성된 광고 패킷을 브로드캐스트하는 동작, 상기 광고 패킷에 대한 응답으로 상기 외부 전자 장치로부터 응답 패킷을 수신한 경우, 상기 응답 패킷으로부터 제3 인증서 데이터를 획득하는 동작, 상기 제2 인증서 데이터와 상기 제3 인증서 데이터에 기초하여 상기 외부 전자 장치를 인증하는 동작, 및 상기 외부 전자 장치가 인증된 경우 상기 외부 전자 장치와 보안 통신 채널을 수립하는 동작을 포함할 수 있다. In addition, a method of performing communication by an electronic device with an external electronic device according to an embodiment disclosed in this document includes storing first certificate data of the electronic device and second certificate data of the external electronic device, and the An operation of detecting a trigger event for establishing a communication connection with a device around the electronic device, an operation of broadcasting an advertisement packet generated based on the first certificate data in response to detection of the trigger event, and the advertisement packet When a response packet is received from the external electronic device as a response, acquiring third certificate data from the response packet, and authenticating the external electronic device based on the second certificate data and the third certificate data And establishing a secure communication channel with the external electronic device when the external electronic device is authenticated.
또한, 본 문서에 개시되는 일 실시 예에 따른 전자 장치가 외부 전자 장치와 통신을 수행하는 방법은, 상기 전자 장치의 제1 인증서 데이터 및 상기 외부 전자 장치의 제2 인증서 데이터를 저장하는 동작, 제3 인증서 데이터를 포함하는 광고 패킷을 수신하는 동작, 상기 광고 패킷의 수신에 응답하여, 상기 제3 인증서 데이터를 상기 제2 인증서 데이터와 비교하는 동작, 상기 제3 인증서 데이터와 상기 제2 인증서 데이터가 매칭되는 경우, 상기 제1 인증서 데이터에 기초하여 생성된 응답 패킷을 상기 외부 전자 장치로 전송하는 동작, 및 상기 전송된 응답 패킷에 대한 상기 외부 전자 장치의 응답에 기초하여 상기 외부 전자 장치와 보안 통신 채널을 수립하는 동작을 포함할 수 있다. In addition, a method of performing communication by an electronic device with an external electronic device according to an embodiment disclosed in this document includes storing first certificate data of the electronic device and second certificate data of the external electronic device, 3 An operation of receiving an advertisement packet including certificate data, an operation of comparing the third certificate data with the second certificate data in response to receiving the advertisement packet, and the third certificate data and the second certificate data If matched, transmitting a response packet generated based on the first certificate data to the external electronic device, and secure communication with the external electronic device based on a response of the external electronic device to the transmitted response packet It may include an operation of establishing a channel.
또한, 본 문서에 개시되는 일 실시 예에 따른 전자 장치가 외부 전자 장치와 통신을 수행하는 방법은, 상기 전자 장치의 제1 인증서 데이터 및 상기 외부 전자 장치의 제2 인증서 데이터를 저장하는 동작, 외부 서버에 사용자 계정에 기초하여 로그인을 수행하는 동작, 상기 외부 서버로부터 상기 사용자 계정에 상응하는 계정 키 값을 수신하는 동작, 상기 전자 장치 주변의 장치와 통신 연결을 수립하도록 하는 트리거 이벤트를 감지하는 동작, 상기 트리거 이벤트의 감지에 응답하여, 상기 계정 키 값을 포함하는 메시지를 브로드캐스트하는 동작, 상기 메시지에 기초하여 상기 계정 키 값과 동일한 키 값을 가지는 상기 외부 전자 장치를 확인하는 동작, 상기 외부 전자 장치에 상기 제1 인증서 데이터를 전송하는 동작, 상기 외부 전자 장치로부터 제3 인증서 데이터를 수신하는 동작, 및 상기 제2 인증서 데이터와 상기 제3 인증서 데이터에 기초하여 상기 외부 전자 장치를 인증하는 동작을 포함할 수 있다. In addition, a method of performing communication by an electronic device with an external electronic device according to an embodiment disclosed in this document includes: storing first certificate data of the electronic device and second certificate data of the external electronic device, and Logging in to a server based on a user account, receiving an account key value corresponding to the user account from the external server, and detecting a trigger event for establishing a communication connection with a device around the electronic device , In response to detection of the trigger event, broadcasting a message including the account key value, identifying the external electronic device having the same key value as the account key value based on the message, the external Transmitting the first certificate data to an electronic device, receiving third certificate data from the external electronic device, and authenticating the external electronic device based on the second certificate data and the third certificate data It may include.
또한, 본 문서에 개시되는 일 실시 예에 따른 전자 장치가 외부 전자 장치와 통신을 수행하는 방법은, 상기 전자 장치의 제1 인증서 데이터 및 상기 외부 전자 장치의 제2 인증서 데이터를 저장하는 동작, 외부 서버에 사용자 계정에 기초하여 로그인을 수행하는 동작, 상기 외부 서버로부터 상기 사용자 계정에 상응하는 계정 키 값을 수신하는 동작, 상기 근거리 무선 통신 회로를 통해서 상기 계정 키 값을 포함하는 메시지를 수신하는 동작, 상기 메시지에 기초하여 상기 계정 키 값과 동일한 키 값을 가지는 상기 외부 전자 장치를 확인하는 동작, 상기 외부 전자 장치로부터 제3 인증서 데이터를 수신하는 동작, 상기 제2 인증서 데이터와 상기 제3 인증서 데이터에 기초하여 상기 외부 전자 장치를 인증하는 동작, 및 상기 외부 전자 장치의 인증이 완료된 경우, 상기 외부 전자 장치로 상기 제1 인증서 데이터를 전송하는 동작을 포함할 수 있다. In addition, a method of performing communication by an electronic device with an external electronic device according to an embodiment disclosed in this document includes: storing first certificate data of the electronic device and second certificate data of the external electronic device, and Logging in to a server based on a user account, receiving an account key value corresponding to the user account from the external server, and receiving a message including the account key value through the short-range wireless communication circuit , Based on the message, identifying the external electronic device having the same key value as the account key value, receiving third certificate data from the external electronic device, the second certificate data and the third certificate data An operation of authenticating the external electronic device based on and, when authentication of the external electronic device is completed, transmitting the first certificate data to the external electronic device.
본 문서에 개시되는 실시 예들에 따르면, 전자 장치와 외부 전자 장치의 사용자 또는 사용자들이 전자 장치와 외부 전자 장치의 무선 통신에 대한 설정을 수동으로 구성할 필요 없이 전자 장치와 외부 전자 장치가 통신을 연결할 수 있다.According to the embodiments disclosed in this document, the electronic device and the external electronic device connect communication without the need for a user or users of the electronic device and the external electronic device to manually configure settings for wireless communication between the electronic device and the external electronic device. I can.
본 문서에 개시되는 실시 예들에 따르면, 전자 장치와 외부 전자 장치가 사용자 계정에 대해 등록된 전자 장치와 외부 전자 장치의 인증서를 이용하여 상호 인증을 수행하므로, 안전하게 신뢰할 수 있는 장치들끼리 통신을 연결할 수 있다.According to the embodiments disclosed in this document, since the electronic device and the external electronic device perform mutual authentication using the electronic device registered for the user account and the certificate of the external electronic device, communication between trusted devices can be securely connected. I can.
본 문서에 개시되는 실시 예들에 따르면, 전자 장치에 대해 등록된 연락처 정보를 이용하여, 전자 장치가 전자 장치의 사용자와 관련성이 있는 다른 사용자의 외부 전자 장치와 통신을 연결할 수 있다.According to embodiments disclosed in this document, using contact information registered for the electronic device, the electronic device may connect communication with an external electronic device of another user that is related to the user of the electronic device.
본 문서에 개시되는 실시 예들에 따르면, 전자 장치에 대해 등록된 연락처 정보를 이용하여 외부 전자 장치를 식별할 수 있는 정보를 사용자에게 제공할 수 있으므로, 전자 장치의 사용자가 전자 장치와 연결되는 외부 전자 장치의 사용자를 용이하게 식별할 수 있도록 할 수 있다.According to the embodiments disclosed in this document, information for identifying an external electronic device may be provided to a user by using contact information registered for the electronic device. It can be made to be able to easily identify the user of the device.
이 외에, 본 문서를 통해 직접적 또는 간접적으로 파악되는 다양한 효과들이 제공될 수 있다.In addition to this, various effects that are directly or indirectly identified through this document can be provided.
도 1은 다양한 실시 예에 따른 네트워크 환경 내의 전자 장치를 나타낸다.
도 2는 일 실시 예에 따른, 전자 장치가 외부 전자 장치와 통신을 연결하기 위한 기기 간의 연결 구조를 나타낸다.
도 3은 일 실시 예에 따른, 전자 장치가 외부 전자 장치와 통신을 연결하는 프로세스를 나타낸 순서도이다.
도 4는 일 실시 예에 따른, 전자 장치가 동일한 사용자 계정으로 로그인한 외부 전자 장치와 통신을 연결하는 프로세스를 나타낸 순서도이다.
도 5는 일 실시 예에 따른, 전자 장치가 공유되는 계정 키 값을 획득하고 인증서 목록을 획득하는 프로세스를 나타낸 순서도이다.
도 6은 일 실시 예에 따른, 전자 장치가 다른 사용자의 외부 전자 장치와 통신을 연결하는 프로세스를 나타낸 순서도이다.
도 7은 일 실시 예에 따른, 전자 장치가 서버로부터 인증서 목록을 획득하는 방법을 개념적으로 나타낸다.
도 8은 일 실시 예에 따른, 전자 장치 및 외부 전자 장치가 획득하는 인증서 목록의 예시를 나타낸다.
도 9는 일 실시 예에 따른, 전자 장치와 외부 전자 장치가 상호 인증을 수행하는 프로세스를 나타낸 순서도이다.
도 10은 일 실시 예에 따른, 전자 장치가 외부 전자 장치의 인증서 데이터를 획득하는 프로세스를 나타낸 순서도이다.
도 11은 일 실시 예에 따른, 전자 장치가 난수 값을 이용하여 변조된 데이터를 이용하여 외부 전자 장치를 인식하기 위한 전송 프로토콜의 예시를 나타낸다.
도 12는 일 실시 예에 따른, 전자 장치가 사용자 인터페이스를 통해서 트리거 이벤트를 감지하는 예시를 나타낸다.
도 13은 일 실시 예에 따른, 전자 장치가 주변의 외부 전자 장치를 인증하고 통신을 연결하는 구조를 개념적으로 나타낸다.
도 14는 일 실시 예에 따른, 전자 장치가 동일한 사용자 계정으로 로그인된 외부 전자 장치와 연결된 통신 채널을 이용하여 콘텐트를 공유하는 과정에서 전자 장치와 외부 전자 장치가 디스플레이하는 화면의 예시를 나타낸다.
도 15는 일 실시 예에 따른, 전자 장치가 다른 사용자의 외부 전자 장치와 연결된 통신 채널을 이용하여 콘텐트를 공유하는 과정에서 전자 장치와 외부 전자 장치가 디스플레이하는 화면의 예시를 나타낸다.
도 16은 일 실시예에 따른 데이터 공유 상태를 지시하는 UI를 도시한다.
도 17은 일 실시예에 따른 전자 장치의 공유 UI를 도시한다.
도 18은 일 실시예에 따른 데이터 공유 상황에 따른 아이콘 예시들을 도시한다.
도 19는 일 실시예에 따른 데이터 공유 상태를 지시하는 UI를 도시한다.
도 20은 일 실시예에 따른 데이터 공유 상태를 지시하는 UI를 도시한다.
도 21은 외부 전자 장치에서의 연결 요청 UI를 도시한다.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.1 illustrates an electronic device in a network environment according to various embodiments of the present disclosure.
2 is a diagram illustrating a connection structure between devices through which an electronic device connects communication with an external electronic device, according to an exemplary embodiment.
3 is a flowchart illustrating a process in which an electronic device connects communication with an external electronic device, according to an exemplary embodiment.
4 is a flowchart illustrating a process in which an electronic device connects communication with an external electronic device logged in with the same user account, according to an embodiment.
5 is a flowchart illustrating a process of acquiring an account key value shared by an electronic device and acquiring a certificate list according to an embodiment.
6 is a flowchart illustrating a process in which an electronic device connects communication with an external electronic device of another user, according to an exemplary embodiment.
7 is a conceptual diagram illustrating a method of obtaining a certificate list from a server by an electronic device according to an embodiment.
8 illustrates an example of a list of certificates acquired by an electronic device and an external electronic device, according to an embodiment.
9 is a flowchart illustrating a process of performing mutual authentication between an electronic device and an external electronic device, according to an exemplary embodiment.
10 is a flowchart illustrating a process of obtaining certificate data of an external electronic device by an electronic device according to an exemplary embodiment.
11 illustrates an example of a transmission protocol for an electronic device to recognize an external electronic device by using data modulated using a random number value, according to an embodiment.
12 illustrates an example in which an electronic device detects a trigger event through a user interface, according to an embodiment.
13 conceptually illustrates a structure in which an electronic device authenticates an external electronic device and connects communication according to an exemplary embodiment.
14 illustrates an example of a screen displayed by the electronic device and the external electronic device in a process in which the electronic device shares content using a communication channel connected to an external electronic device logged in with the same user account, according to an embodiment.
15 illustrates an example of a screen displayed by the electronic device and the external electronic device in a process in which the electronic device shares content using a communication channel connected to an external electronic device of another user, according to an embodiment.
16 illustrates a UI indicating a data sharing state according to an embodiment.
17 is a diagram illustrating a sharing UI of an electronic device according to an embodiment.
18 illustrates examples of icons according to a data sharing situation according to an embodiment.
19 illustrates a UI indicating a data sharing state according to an embodiment.
20 illustrates a UI indicating a data sharing state according to an embodiment.
21 illustrates a connection request UI from an external electronic device.
In connection with the description of the drawings, the same or similar reference numerals may be used for the same or similar elements.
이하, 본 발명의 다양한 실시 예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 실시 예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다.Hereinafter, various embodiments of the present invention will be described with reference to the accompanying drawings. However, this is not intended to limit the present invention to a specific embodiment, it should be understood to include various modifications, equivalents, and/or alternatives of the embodiments of the present invention.
도 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 in a
프로세서(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, a program 140) to implement at least one other component (eg, a hardware or software component) of the electronic device 101 connected to the processor 120. It can be controlled and can perform various data processing or operations. According to an embodiment, as at least a part of data processing or operation, the processor 120 may transfer commands or data received from other components (eg, the
보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 표시 장치(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성 요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. The
메모리(130)는, 전자 장치(101)의 적어도 하나의 구성요소(예: 프로세서(120) 또는 센서모듈(176))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(140)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(130)는, 휘발성 메모리(132) 또는 비휘발성 메모리(134)를 포함할 수 있다. The memory 130 may store various data used by at least one component of the electronic device 101 (eg, the processor 120 or the sensor module 176 ). The data may include, for example, software (eg, the program 140) and input data or output data for commands related thereto. The memory 130 may include a volatile memory 132 or a nonvolatile 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
음향 출력 장치(155)는 음향 신호를 전자 장치(101)의 외부로 출력할 수 있다. 음향 출력 장치(155)는, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있고, 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일실시예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The
표시 장치(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 sense a touch, or a sensor circuit (eg, a pressure sensor) set to measure the strength of a force generated by the touch. have.
오디오 모듈(170)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일실시예에 따르면, 오디오 모듈(170)은, 입력 장치(150)를 통해 소리를 획득하거나, 음향 출력 장치(155), 또는 전자 장치(101)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(102))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 170 may convert sound into an electrical signal, or conversely, may convert an electrical signal into sound. According to an embodiment, the audio module 170 acquires sound through the
센서 모듈(176)은 전자 장치(101)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일실시예에 따르면, 센서 모듈(176)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The
인터페이스(177)는 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일실시예에 따르면, 인터페이스(177)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The
연결 단자(178)는, 그를 통해서 전자 장치(101)가 외부 전자 장치(예: 전자 장치(102))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일실시예에 따르면, 연결 단자(178)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The
햅틱 모듈(179)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일실시예에 따르면, 햅틱 모듈(179)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 179 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus that a user can perceive through tactile or motor sensations. According to an 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 a still image and a video. According to an embodiment, the camera module 180 may include one or more lenses, image sensors, image signal processors, or flashes.
전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 may manage power supplied to the electronic device 101. According to an embodiment, the power management module 188 may be implemented as at least a part of, for example, a power management integrated circuit (PMIC).
배터리(189)는 전자 장치(101)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일실시예에 따르면, 배터리(189)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The
통신 모듈(190)은 전자 장치(101)와 외부 전자 장치(예: 전자 장치(102), 전자 장치(104), 또는 서버(108))간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(190)은 프로세서(120)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일실시예에 따르면, 통신 모듈(190)은 무선 통신 모듈(192)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(194)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(198)(예: 블루투스, WiFi direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(199)(예: 셀룰러 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부 전자 장치(104)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(192)은 가입자 식별 모듈(196)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크 내에서 전자 장치(101)를 확인 및 인증할 수 있다. The communication module 190 includes a direct (eg, wired) communication channel or a wireless communication channel between the electronic device 101 and an external electronic device (eg, the
안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 하나의 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC)이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.The antenna module 197 may transmit a signal or power to the outside (eg, an external electronic device) or receive from the outside. According to an embodiment, the antenna module 197 may include one antenna including a conductor formed on a substrate (eg, a PCB) or a radiator formed of a conductive pattern. According to an embodiment, the antenna module 197 may include a plurality of antennas. In this case, at least one antenna suitable for a communication method used in a communication network such as the first network 198 or the
상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, 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 (e.g., bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI))) between peripheral devices and signals ( 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
본 명세서에서, 전자 장치(예: 도 1의 전자 장치(101)), 외부 전자 장치(예: 도 1의 전자 장치(102), 전자 장치(104)) 또는 서버(예: 도 1의 서버(108))의 동작은 메모리(예: 도 1의 메모리(130))에 저장된 인스트럭션들(instructions)을 프로세서(예: 도 1의 프로세서(120))가 실행하여 수행되는 것으로서 이해될 수 있다. 다만, 이에 한정되지 아니한다. 다른 예를 들면, 전자 장치, 외부 전자 장치 또는 서버의 동작은 분산 컴퓨팅 기술을 통해서 장치 외부의 하드웨어를 이용하여 실행될 수도 있다.In the present specification, an electronic device (eg, the electronic device 101 of FIG. 1), an external electronic device (eg, the
도 2는 일 실시 예에 따른, 전자 장치(201)(예: 도 1의 전자 장치(101))가 외부 전자 장치(202)(예: 도 1의 전자 장치(102), 전자 장치(104))와 통신을 연결하기 위한 기기 간의 연결 구조를 나타낸다.FIG. 2 illustrates an electronic device 201 (eg, the electronic device 101 of FIG. 1) is an external electronic device 202 (eg, the
일 실시 예에 따른 전자 장치(201)는 프로세서(221), 메모리(222) 및 근거리 무선 통신 회로(223)를 포함할 수 있다. 다른 실시 예에 따르면, 전자 장치(201)는 서버(203)와 통신하도록 구성된 원거리 무선 통신 회로(224)를 더 포함할 수 있다. 이 경우, 근거리 무선 통신 회로(223) 및 원거리 무선 통신 회로(224)는 별도의 칩 또는 모듈로 구성되거나 하나의 칩 또는 모듈로 형성될 수 있다. 일 실시 예에 따르면, 전자 장치(201)는 원거리 무선 통신 프로토콜(예: 도 1의 제2 네트워크(199)를 지원하는 프로토콜)을 통해 서버(203)와 통신할 수 있다. 프로세서(221)는 메모리(222)에 저장된 인스트럭션들을 실행하여 전자 장치(201)를 동작하도록 제어할 수 있다. The
일 실시 예에 따른 외부 전자 장치(202)는 프로세서(231), 메모리(232) 및 근거리 무선 통신 회로(233)를 포함할 수 있다. 다른 실시 예에 따르면, 외부 전자 장치(202)는 서버(203)와 통신하도록 구성된 원거리 무선 통신 회로(234)를 더 포함할 수 있다. 이 경우, 근거리 무선 통신 회로(233) 및 원거리 무선 통신 회로(234)는 별도의 칩 또는 모듈로 구성되거나 하나의 칩 또는 모듈(예: 도 1의 무선 통신 모듈(192))로 형성될 수 있다. 일 실시 예에 따르면, 외부 전자 장치(202)는 원거리 무선 통신 프로토콜(예: 도 1의 제2 네트워크(199)를 지원하는 프로토콜)을 통해 서버(203)와 통신할 수 있다. 프로세서(231)는 메모리(232)에 저장된 인스트럭션들을 실행하여 외부 전자 장치(202)를 동작하도록 제어할 수 있다.The external
일 실시 예에 따르면, 콘텐트를 공유하기 위하여, 전자 장치(201)는 외부 전자 장치(202)와 데이터를 송수신하기 위한 통신 연결(210)을 수립할 수 있다. 통신 연결(210)은, 예를 들어, 와이파이 애드혹(Adhoc) 방식, 모바일 액세스 포인트(Mobile Access Point) 및 와이파이 다이렉트(WiFi direct)와 같은 P2P(Peer To Peer) 통신 연결일 수 있다. 콘텐트는 메모리(222)에 저장된 데이터 또는 전자 장치(201)(예: 도 1의 표시 장치(160), 또는 음향 출력 장치(155))에 의해서 출력되는 데이터일 수 있다. 예를 들어, 콘텐트는 메모리(222)에 저장된 멀티미디어 데이터나 텍스트 데이터를 포함할 수 있다. 또는 콘텐트는 브라우저를 통해서 전자 장치의 디스플레이에 표시된 페이지의 적어도 일부나 링크 주소를 포함할 수 있다.According to an embodiment, in order to share content, the
전자 장치(201)가 외부 전자 장치(202)와 통신 연결(210)을 수립하기 위해서는 전자 장치(201)의 통신 모듈(예: 도 1의 통신 모듈(190))을 활성화하고, 외부 전자 장치(202)를 포함하는 주변의 장치들을 인식해야 한다. 인식된 주변의 장치들 중에서 외부 전자 장치(202)를 선택하기 위하여, 전자 장치(201)는 주변의 장치들을 나타내는 목록을 표시하고, 목록에서 외부 전자 장치(202)에 상응하는 항목을 선택하는 사용자 입력을 받을 수 있다. 전자 장치(201)는 주변 장치들의 모델명과 같은 정보를 나타내도록 주변 장치 목록을 표시할 수 있으나, 모델명만으로는 사용자가 어떤 장치가 사용자가 연결하고자 하는 장치인지 알기 어렵다.In order for the
또한 전자 장치(201)가 자동으로 외부 전자 장치(202)와 연결하는 경우, 사용자의 의도와는 다르게 신뢰할 수 없는 장치와 통신이 연결되고 데이터를 전송하게 될 수 있다.In addition, when the
따라서, 일 실시 예에 따르면, 프로세서(221)는 전자 장치(201)를 고유하게 식별할 수 있는 정보를 포함하는 공개 인증서 데이터(이하, "제1 인증서 데이터"로 언급될 수 있다)를 서버(203)에 등록할 수 있다. 또한, 일 실시 예에 따른 외부 전자 장치(202)의 프로세서(231)도 외부 전자 장치(202)를 고유하게 식별할 수 있는 정보를 포함하는 공개 인증서 데이터(이하, "제2 인증서 데이터"로 언급될 수 있다)를 서버(203)에 등록할 수 있다. 예를 들어, 제1 인증서 데이터는 전자 장치(201)에 의해 생성된 키 쌍의 적어도 일부(예를 들어, 공개 키)를 포함할 수 있다. 제2 인증서 데이터는 외부 전자 장치(202)에 의해 생성된 키 쌍의 적어도 일부(예를 들어, 공개 키)를 포함할 수 있다.Accordingly, according to an embodiment, the
또한, 일 실시 예에 따른 전자 장치(201)는 신뢰할 수 있는 장치들의 공개 인증서 데이터를 포함하는 인증서 목록을 서버(203)로부터 다운로드할 수 있다. 다른 실시 예에 따르면, 전자 장치(201)는 인증서 목록을 직접 수신하지 않고, 클라우드 컴퓨팅을 이용하여 서버(203)에 저장된 인증서 목록을 이용할 수도 있다. 전자 장치(201)는 주변에 위치한 외부 전자 장치(202)와 공개 인증서 데이터를 서로 교환하고, 공개 인증서 데이터를 이용하여 상호 인증을 수행할 수 있다.Also, the
일 실시 예에 따르면, 전자 장치(201)와 외부 전자 장치(202)는 서버(203)에 로그인한 사용자 계정에 연관하여 공개 인증서 데이터를 등록할 수 있다. 서버(203)는 사용자 계정에 기반하여 서버(203)에 로그인한 장치는 사용자 계정에 연관하여 등록된 공개 인증서 데이터에 대한 접근을 허용할 수 있다. 따라서, 사용자의 전자 장치(201)가 서버(203)에 사용자 계정으로 로그인하면, 프로세서(221)는 전자 장치(201)가 사용자가 자신의 장치로 등록한 기기들의 공개 인증서 데이터에 접근하거나 공개 인증서 데이터를 다운로드하도록 할 수 있다.According to an embodiment, the
일 실시 예에 따르면, 전자 장치(201)와 외부 전자 장치(202)는 동일한 사용자 계정으로 서버에 로그인한 장치일 수 있다. 프로세서(221)는 트리거 이벤트(trigger event)가 발생하면 외부 전자 장치(202)와 콘텐트를 공유하기 위한 통신 연결(210)을 수립할 수 있다. 즉, 사용자는 자신이 소유한 복수의 기기들 간에 콘텐트를 공유하기 위해 전자 장치(201)를 조작할 수 있다. 예를 들어, 전자 장치(201)는 메모리(222)에 저장된 사진 파일에 대한 다른 장치와 공유하기 버튼을 선택하는 사용자 입력을 수신할 수 있다. 다른 예를 들면, 프로세서(221)는 전자 장치(201)에 표시된 컨텐트 중 적어도 일부가 선택된 상태에서,”복사하기” 또는 "다른 장치에 붙여넣기" 명령을 입력 받을 수 있다. 트리거 이벤트는 전자 장치(201)가 외부 전자 장치(202)에 데이터를 전송하거나 외부 전자 장치(202)로부터 데이터를 수신할 수 있는 통신 연결을 수립하도록 하는 인스트럭션이 실행되는 것을 의미하며, 상술한 예시에 한정되지 아니한다.According to an embodiment, the
전자 장치(201)와 외부 전자 장치(202)는 사용자 계정으로 서버(203)에 로그인하면, 원거리 무선 통신 회로(224 또는 234)를 통해 서버(203)로부터 사용자 계정에 상응하는 계정 키 값을 수신할 수 있다. 계정 키 값은 사용자 계정에 대해 서버(203)가 생성한 키 값을 포함할 수 있다. 따라서, 동일한 사용자 계정으로 로그인한 장치는 동일한 계정 키 값을 서버(203)로부터 제공받을 수 있다. 예를 들어, 전자 장치(201)는 근거리 무선 통신 회로(223)를 포함하는 통신 칩에 계정 키 값을 저장할 수 있다. 전자 장치(201) 또는 다른 장치를 통해서 서버(203)에 사용자 계정에 대해 사용자에 대한 사용자 정보가 등록되면, 서버(203)는 사용자 정보에 기초하여 계정 키 값을 생성할 수 있다. 예를 들어, 서버(203)는 사용자 정보를 계정 키 값을 생성하기 위한 함수에 입력하여 계정 키 값을 획득할 수 있다. 사용자 정보는 사용자를 식별할 수 있는 정보를 포함할 수 있다. 예를 들어, 사용자 정보는 사용자 계정에 대한 계정 증명을 포함할 수 있다.When the
프로세서(221)는 전자 장치(201)가 가진 계정 키 값을 포함하는 메시지를 브로드캐스트(broadcast)하도록 근거리 무선 통신 회로(223)를 제어할 수 있다. 근거리 무선 통신 회로(223)는 근거리 무선 통신(예를 들어, 블루투스™ 저에너지(Bluethooth™ Low Energy, BLE) 프로토콜 기반 통신) 신호를 통해서 메시지를 브로드캐스트할 수 있다. 프로세서(221)는 계정 키를 난수와 병합하여 변조하고, 변조된 계정 키를 메시지에 포함시켜 브로드캐스트할 수 있다. 예를 들어, 프로세서(221)는 블룸 필터(Bloom Filter)를 이용하여 계정 키를 포함하는 메시지를 변조할 수 있다. 외부 전자 장치(202)의 프로세서(231)는 근거리 무선 통신 회로(233)를 통해서 메시지를 수신할 수 있다. 프로세서(231)는 브로드캐스트된 메시지에 응답하여 외부 전자 장치(202)가 가진 계정 키 값을 포함하는 메시지를 전자 장치(201)로 전달하도록 외부 전자 장치(202)를 제어할 수 있다. 전자 장치(201)의 프로세서(221)는 외부 전자 장치(202)로부터 수신된 메시지에 기초하여 동일한 계정 키 값을 가지는 외부 전자 장치(202)를 인식할 수 있다. 전자 장치(201)는 인식된 외부 전자 장치(202)와 보안 통신(예: 도 1의 통신 모듈(190)을 통한 보안 통신)을 통해서 인증서 데이터를 교환할 수 있다.The
전자 장치(201)가 전자 장치(201)의 제1 인증서 데이터를 외부 전자 장치(202)로 전송하면, 외부 전자 장치(202)의 프로세서(231)는 서버(203)에 저장되어 있거나 서버(203)로부터 수신한 인증서 목록이 제1 인증서 데이터를 포함하는지 검증할 수 있다. 인증서 목록이 제1 인증서 데이터를 포함하는 경우, 프로세서(231)는 외부 전자 장치(202)의 제2 인증서 데이터를 전자 장치(201)로 전송하도록 외부 전자 장치(202)를 제어할 수 있다. 전자 장치(201)의 프로세서(221)는 서버(203)에 저장되어 있거나 서버(203)로부터 수신한 인증서 목록이 제2 인증서 데이터를 포함하는지 여부에 기초하여 외부 전자 장치(202)를 인증할 수 있다. 인증서 목록이 제1 인증서 데이터를 포함하지 않는 경우, 외부 전자 장치(202)는 전자 장치(201)로 제2 인증서 데이터를 전송하지 않고 통신 연결을 종료할 수 있다. 전자 장치(201)와 외부 전자 장치(202)가 인증서 데이터를 이용하여 서로를 인증하면, 프로세서(221)는 전자 장치(201)와 외부 전자 장치(202)가 서로 세션 키를 공유하고, 세션 키에 기반하여 암호화 채널(210)을 형성하도록 전자 장치(201)를 제어할 수 있다. 암호화 채널(210)은, 예를 들어, 애드혹(Adhoc) 방식, 모바일 액세스 포인트(Mobile Access Point) 및 와이파이 다이렉트(WiFi direct)와 같이 데이터를 송수신할 수 있는 통신 연결 방식으로 구성될 수 있다.When the
다른 실시 예에 따르면, 전자 장치(201)와 외부 전자 장치(202)는 다른 사용자 계정에 기반하여 서버(203)에 로그인한 장치들일 수 있다. 예를 들어, 사용자는 자신의 장치에서 주변에 위치한 친구의 장치로 콘텐트를 전송하거나 친구의 장치로부터 콘텐트를 수신하기를 원할 수 있다. 일 실시 예에 따른 전자 장치(201)는 전자 장치(201)의 사용자와 외부 전자 장치(202)의 사용자 사이의 상관관계를 식별할 수 있는 사용자 식별 정보에 기초하여 제2 인증서 데이터를 포함하는 인증서 목록을 수신하거나 인증서 목록에 접근할 수 있다. 예를 들어, 사용자 식별 정보는 전자 장치(201)의 연락처 저장소(예: 메모리(222)상에 구성된 연락처 데이터베이스)에 저장된 외부 전자 장치(202)의 식별 정보(보다 구체적인 예를 들면, 전화 번호, 메일 주소 또는 메일 계정과 같은 연락처 정보, International Mobile Equipment Identity(IMEI)와 같은 기기 고유 식별 정보, 또는 소셜 미디어 서비스 계정과 같은 서비스 가입자 식별 정보)를 포함할 수 있다. 사용자 식별 정보는 전자 장치(201) 내에 저장되어야만 하는 것은 아니며, 별도의 장치에 저장된 것일 수도 있다. According to another embodiment, the
프로세서(221)는 전자 장치(201)의 제1 인증서 데이터와, 전자 장치(201)의 사용자 식별 정보(이하, "제1 사용자 식별 정보"로 언급될 수 있다)를 서버(203)에 등록하도록 전자 장치(201)를 제어할 수 있다. 일 실시 예에 따른 전자 장치(201)는 전자 장치(201)의 사용자에 의해 저장된 외부 전자 장치(202)에 대한 사용자 식별 정보(이하, "제2 사용자 식별 정보"로 언급될 수 있다)를 포함하는 사용자 식별 정보 목록(이하, "제1 사용자 식별 정보 목록"으로 언급될 수 있다)을 서버(203)에 제공할 수 있다. 전자 장치(201)의 사용자에 의해 저장된 사용자 식별 정보와 서버(203)에 저장된 사용자 식별 정보는 동기화될 수 있다. 즉, 전자 장치(201)의 사용자에 의해 저장된 사용자 식별 정보에 대한 변경이 발생하면, 서버(203)에 저장된 사용자 식별 정보도 변경된 내용에 상응하여 변경될 수 있다. 외부 전자 장치(202)도 외부 전자 장치의 제2 인증서 데이터와 외부 전자 장치(202)의 제2 사용자 식별 정보를 서버(203)에 등록할 수 있다. 또한, 외부 전자 장치(202)도 외부 전자 장치(202)의 사용자에 의해 저장된 전자 장치(201)에 대한 제1 사용자 식별 정보를 포함하는 사용자 식별 정보 목록(이하, "제2 사용자 식별 정보 목록"으로 언급될 수 있다)을 서버(203)에 제공할 수 있다. The
서버(203)는 전자 장치(201)와 외부 전자 장치(202)로부터 제공 받은 사용자 식별 정보에 기초하여 인증서 목록을 생성할 수 있다. 일 실시 예에 따르면, 제1 사용자 식별 정보 목록이 제2 사용자 식별 정보를 포함하고, 제2 사용자 식별 정보 목록이 제1 사용자 식별 정보를 포함하는 경우, 서버(203)는 두 장치의 사용자들이 서로를 신뢰할 수 있는 사용자인 것으로 판단할 수 있다. 서버(203)는 제2 인증서 데이터를 포함하는 인증서 목록(이하, "제1 인증서 목록"으로 언급될 수 있다)을 생성할 수 있다. 전자 장치(201)는 사용자 계정으로 로그인하여 제1 인증서 목록에 접근하거나 제1 인증서 목록을 다운로드할 수 있다. 또한, 서버(203)는 제1 인증서 데이터를 포함하는 인증서 목록(이하, "제2 인증서 목록"으로 언급될 수 있다)을 생성할 수 있다. 일 실시 예에 따르면, 인증서 목록은 사용자 식별 정보 목록(예를 들어, 연락처 목록)에 인증서 데이터가 부가된 형태로 제공될 수도 있다.The
트리거 이벤트가 발생하면, 일 실시 예에 따른, 프로세서(221)는 감지된 트리거 이벤트에 응답하여 광고 패킷을 브로드캐스트하도록 근거리 무선 통신 회로(223)를 제어할 수 있다. 광고 패킷은 제1 인증서 데이터에 기초하여 생성될 수 있다. 예를 들어, 프로세서(221)는 제1 인증서 데이터에 난수 값을 병합하여 변조한 데이터를 포함하도록 광고 패킷을 생성할 수 있다. 다른 예를 들면, 프로세서(221)는 제1 인증서 데이터를 해시(hash) 함수에 입력하여 해시 값을 획득하고, 획득된 해시 값을 포함하도록 광고 패킷을 생성할 수 있다. 다른 실시 예에 따르면, 전자 장치(201)는 외부 전자 장치(202)와 공유되는 공유 키를 획득하고, 공유 키에 기초하여 암호화된 제1 인증서 데이터를 포함하도록 광고 패킷을 생성할 수도 있다.When a trigger event occurs, the
외부 전자 장치(202)의 프로세서(231)는 근거리 무선 통신 회로(233)를 통해서 브로드캐스트된 광고 패킷을 수신할 수 있다. 프로세서(231)는 수신된 광고 패킷으로부터 제1 인증서 데이터를 획득할 수 있다. 프로세서(231)는 획득된 제1 인증서 데이터가 서버(203)로부터 제공되는 인증서 목록에 포함되어 있는지 여부에 기초하여 전자 장치(201)를 인증할 수 있다. 예를 들어, 광고 패킷에 제1 인증서 데이터의 해시 값이 포함되어 있는 경우, 해시 값으로부터 제1 인증서 데이터를 획득할 수 있다. 다른 예를 들면, 인증서 목록이 인증서 데이터의 해시 값을 포함하고, 프로세서(231)는 해시 값들을 비교하여 전자 장치(201)를 인증할 수도 있다. The
전자 장치(201)에 대한 인증이 성공적으로 완료된 경우, 외부 전자 장치(202)는 제2 인증서 데이터를 포함하는 응답 패킷을 전자 장치(201)로 전송할 수 있다. 전자 장치(201)가 인증되지 않은 경우, 외부 전자 장치(202)는 응답 패킷을 전송하지 않을 수 있다. 전자 장치(201)의 프로세서(221)는 수신된 응답 패킷으로부터 제2 인증서 데이터를 획득할 수 있다. 프로세서(221)는 획득된 제2 인증서 데이터가 제1 인증서 목록에 포함되어 있는지 여부(즉, 서버(203)로부터 수신된 인증서 데이터와 응답 패킷으로부터 획득된 인증서 데이터가 일치하는지 여부)에 기초하여 외부 전자 장치(202)를 인증할 수 있다. 예를 들어, 응답 패킷에 제2 인증서 데이터의 해시 값이 포함되어 있는 경우, 해시 값으로부터 제2 인증서 데이터를 획득할 수 있다. 다른 예를 들면, 인증서 목록이 인증서 데이터의 해시 값을 포함하고, 프로세서(221)는 해시 값들을 비교하여 외부 전자 장치(202)를 인증할 수도 있다. 외부 전자 장치(202)의 인증이 성공적으로 완료된 경우, 프로세서(221)는 외부 전자 장치(202)와 보안 통신 채널(210)을 형성하도록 전자 장치(201)를 제어할 수 있다.When authentication for the
도 3은 일 실시 예에 따른, 전자 장치(예: 도 2의 전자 장치(201))가 외부 전자 장치(예: 도 2의 외부 전자 장치(202))와 통신을 연결하는 프로세스를 나타낸 순서도(300)이다.FIG. 3 is a flowchart illustrating a process in which an electronic device (eg, the
동작 310에서, 전자 장치는 트리거 이벤트를 감지할 수 있다. 예를 들면, 전자 장치가 카메라(예: 도 1의 카메라 모듈(180))를 이용하여 사진을 캡쳐한 후, 전자 장치에서 표시되는 "주변의 신뢰할 수 있는 기기에 공유" 메뉴 항목을 선택하면, 전자 장치는 트리거 이벤트가 발생한 것으로 판단할 수 있다. 다른 예를 들면, 전자 장치가 클립보드에 데이터를 저장하기 위하여 “복사하기” 항목을 선택하는 사용자 입력을 수신하거나 또는 클립보드에 데이터가 저장된 상태에서 "다른 기기에 붙여넣기" 항목을 선택하는 사용자 입력을 수신하면, 전자 장치는 트리거 이벤트가 발생한 것으로 판단할 수 있다. In
동작 320에서, 전자 장치는 주변에 위치한 외부 전자 장치를 인식할 수 있다. 예를 들어, 전자 장치는 근거리 무선 통신 신호를 통해서 광고 패킷을 송출하고, 광고 패킷에 대한 응답으로서 외부 전자 장치로부터 응답 패킷을 수신할 수 있다.In
동작 330에서, 전자 장치는 전자 장치의 제1 인증서 데이터와 외부 전자 장치의 제2 인증서 데이터에 기초하여 상호 인증을 수행할 수 있다. 일 실시 예에 따른 전자 장치와 외부 전자 장치는 미리 신뢰할 수 있는 기기에 대한 공개 인증서 데이터를 가지고 있을 수 있다. 또는, 일 실시 예에 따르면, 전자 장치와 외부 전자 장치는 원거리 무선 통신 회로를 통해 서버(예: 도 2의 서버(203))에 저장된 인증서 데이터에 접근하여 수신된 인증서 데이터를 검증할 수도 있다.In
동작 340에서, 전자 장치는 외부 전자 장치가 성공적으로 인증되었는지 여부를 판단할 수 있다. 외부 전자 장치가 성공적으로 인증된 경우, 전자 장치는 동작 350에서 외부 전자 장치와 보안 통신 채널을 수립할 수 있다. 트리거 이벤트가 외부 전자 장치로 콘텐트의 데이터를 전송하도록 하는 명령인 경우, 전자 장치는 수립된 보안 통신 채널을 통해서 외부 전자 장치로 데이터를 전송할 수 있다.In
도 4는 일 실시 예에 따른, 전자 장치(401)(예: 도 2의 전자 장치(201))가 동일한 사용자 계정으로 로그인한 외부 전자 장치(402)(예: 도 2의 외부 전자 장치(202))와 통신을 연결하는 프로세스를 나타낸 순서도(400)이다.FIG. 4 illustrates an external electronic device 402 (eg, the external
동작 411에서, 전자 장치(411)는 원거리 무선 통신 프로토콜을 통해 로그인한 외부 서버(예: 도 2의 서버(203))로부터 계정 키 값을 수신할 수 있다. 또한, 동작 412에서, 외부 전자 장치(402)도 원거리 무선 통신 프로토콜을 통해 외부 서버로부터 동일한 계정 키 값을 수신할 수 있다.In operation 411, the electronic device 411 may receive an account key value from an external server (eg, the
동작 413에서 트리거 이벤트가 감지되면, 전자 장치(401)는 근거리 무선 통신(예: BLE 통신) 신호를 통해서 동작 415에서 계정 키 값을 포함하는 메시지를 브로드캐스트할 수 있다. 외부 전자 장치(402)는 브로드캐스트되는 신호를 수신하기 위해 주기적으로 또는 지정된 기간 동안 근거리 무선 통신 신호를 스캐닝할 수 있다.When a trigger event is detected in
동작 417에서 외부 전자 장치(402)가 브로드캐스트된 메시지를 수신하면, 동작 419에서 전자 장치(401)와 외부 전자 장치(402)는 계정 키 값에 기초하여 근거리 내에 사용자의 장치인 전자 장치(401) 또는 외부 전자 장치(402)가 위치하고 있음을 인식할 수 있다. 외부 전자 장치(402)가 인식되면 전자 장치(401)는 전자 장치(401)의 프로세서(예: 어플리케이션 프로세서)를 활성화하고, 인식된 외부 전자 장치(402)와 인증서를 교환하기 위해 암호화된 채널을 형성할 수 있다.When the external electronic device 402 receives the broadcast message in operation 417, in operation 419, the electronic device 401 and the external electronic device 402 communicate with the electronic device 401 that is the user's device within a short distance based on the account key value. ) Or, it may be recognized that the external electronic device 402 is located. When the external electronic device 402 is recognized, the electronic device 401 activates a processor (eg, an application processor) of the electronic device 401, and establishes an encrypted channel to exchange a certificate with the recognized external electronic device 402. Can be formed.
동작 421에서 전자 장치(401)는 외부 전자 장치(402)와 상호 인증을 시도하기 위하여 전자 장치의 제1 인증서 데이터를 외부 전자 장치(402)로 전송할 수 있다. 제1 인증서 데이터가 수신되면, 외부 전자 장치(402)는 동작 423에서 제1 인증서 데이터에 기초하여 전자 장치(401)를 인증할 수 있다. 일 실시 예에 따르면, 외부 전자 장치(402)는 동작 427과 동일하거나 유사한 프로세스를 통해서 전자 장치(401)를 인증할 수 있다.In operation 421, the electronic device 401 may transmit first certificate data of the electronic device to the external electronic device 402 in order to attempt mutual authentication with the external electronic device 402. When the first certificate data is received, the external electronic device 402 may authenticate the electronic device 401 based on the first certificate data in operation 423. According to an embodiment, the external electronic device 402 may authenticate the electronic device 401 through the same or similar process as in
전자 장치(401)에 대한 인증이 성공적으로 완료되면, 동작 425에서 외부 전자 장치(402)는 전자 장치로 외부 전자 장치(402)의 제2 인증서 데이터를 전자 장치(401)로 전송할 수 있다. 동작 427에서, 전자 장치(401)는 수신된 제2 인증서 데이터에 기초하여 외부 전자 장치(402)를 인증할 수 있다. 외부 전자 장치(402)를 인증하기 위하여, 일 실시 예에 따른 전자 장치(401)는 사용자 계정에 신뢰할 수 있는 기기로 등록된 적어도 하나의 기기의 인증서 데이터를 포함하는 인증서 목록이 제2 인증서 데이터를 포함하는 경우 외부 전자 장치(402)가 인증된 장치인 것으로 판단할 수 있다. 일 실시 예에 따른 전자 장치(401)는 외부 전자 장치(402)를 인증하기 위한 인증서 목록을 외부 서버로부터 획득할 수 있다. 동작 427에서 외부 전자 장치(402)의 인증이 성공적으로 완료되면, 동작 429에서 전자 장치(401)는 외부 전자 장치(402)와 세션 키를 공유하고, 세션 키에 기반하여 통신하는 보안 통신 채널을 수립할 수 있다.When authentication for the electronic device 401 is successfully completed, in operation 425, the external electronic device 402 may transmit the second certificate data of the external electronic device 402 to the electronic device 401 to the electronic device. In
도 5는 일 실시 예에 따른, 전자 장치(예: 도 2의 전자 장치(201))가 공유되는 계정 키 값을 획득하고 인증서 목록을 획득하는 프로세스를 나타낸 순서도(500)이다. 이하 서술되는 전자 장치와 외부 서버 간 정보의 전송은 원거리 무선 통신 프로토콜을 통해 수행될 수 있다. FIG. 5 is a
동작 510에서, 전자 장치는 사용자 계정에 기반하여 외부 서버(예: 도 2의 서버(203))에 로그인할 수 있다. 예를 들어, 전자 장치는 서비스 가입 프로세스를 통해서 사용자 정보를 외부 서버에 등록하고, 사용자 계정을 생성한 후, 생성된 사용자 계정에 기반하여 외부 서버와 로그인 세션을 형성할 수 있다.In
동작 520에서, 전자 장치는 사용자를 식별할 수 있는 사용자 고유 정보를 외부 서버로 전송할 수 있다. 예를 들어, 전자 장치는 사용자의 계정에 대한 계정 증명을 외부 서버로 전송할 수 있다. 사용자 고유 정보를 수신한 외부 서버는 사용자 고유 정보에 기반하여 계정 키 값을 생성할 수 있다. 동작 530에서 전자 장치는 외부 서버에 의해서 생성된 계정 키 값을 수신할 수 있다.In
전자 장치는 인증서 데이터를 생성할 수 있다. 예를 들어, 전자 장치는 전자 장치의 고유한 시드 값에 기초하여 생성되는 개인 키 및 공개 키를 포함하는 키 쌍을 생성할 수 있다. 여기서, 외부에 공유될 수 있는 공개 인증서 데이터는 공개 키를 포함할 수 있다. 동작 540에서 전자 장치는 공개 인증서 데이터를 외부 서버에 등록할 수 있다. 외부 서버는 전자 장치가 로그인한 사용자 계정에 대해서 공개 인증서 데이터를 등록할 수 있다.The electronic device may generate certificate data. For example, the electronic device may generate a key pair including a private key and a public key generated based on a unique seed value of the electronic device. Here, public certificate data that can be shared externally may include a public key. In
인증서 데이터를 외부 서버에 등록하는 동작은 복수의 장치들에 의해서 수행될 수 있다. 동일한 사용자 계정을 통해서 동작 510 내지 동작 540이 수행된 경우, 외부 서버는 하나의 사용자 계정에 대해 복수의 인증서 데이터를 등록할 수 있다. 외부 서버는 하나의 사용자 계정에 대해서 등록된 하나 이상의 인증서 데이터를 포함하는 인증서 목록을 생성할 수 있다. 동작 550에서 전자 장치는 외부 서버로부터 인증서 목록을 제공 받을 수 있다.The operation of registering the certificate data to the external server may be performed by a plurality of devices. When
도 6은 일 실시 예에 따른, 전자 장치(601)(예: 도 2의 전자 장치(201))가 다른 사용자의 외부 전자 장치(602)(예: 도 2의 외부 전자 장치(202))와 통신을 연결하는 프로세스를 나타낸 순서도(600)이다.6 illustrates an electronic device 601 (eg, the
동작 611에서 트리거 이벤트가 감지되면, 동작 613에서 전자 장치(601)는 전자 장치(601)의 제1 인증서 데이터를 포함하는 광고 패킷을 브로드캐스트할 수 있다.When a trigger event is detected in
동작 615에서 외부 전자 장치(602)가 광고 패킷을 수신하면, 동작 617에서 외부 전자 장치(602)는 광고 패킷에 포함된 제1 인증서 데이터에 기초하여 전자 장치(601)를 인증할 수 있다. 일 실시 예에 따르면, 외부 전자 장치(602)는 동작 621과 동일하거나 유사한 프로세스를 통해서 전자 장치(601)를 인증할 수 있다.When the external electronic device 602 receives the advertisement packet in operation 615, the external electronic device 602 may authenticate the electronic device 601 based on first certificate data included in the advertisement packet in operation 617. According to an embodiment, the external electronic device 602 may authenticate the electronic device 601 through the same or similar process as the
전자 장치(601)에 대한 인증이 성공적으로 완료되면, 동작 619에서 외부 전자 장치(602)는 외부 전자 장치의 제2 인증서 데이터를 포함하는 응답 패킷을 전자 장치(601)로 전송할 수 있다. 동작 621에서, 전자 장치(601)는 수신한 응답 패킷으로부터 획득되는 제2 인증서 데이터에 기초하여 외부 전자 장치(602)를 인증할 수 있다. 외부 전자 장치(602)를 인증하기 위하여, 일 실시 예에 따른 전자 장치(601)는 외부 서버로부터 신뢰할 수 있는 적어도 하나의 기기에 대한 인증서 데이터를 포함하는 인증서 목록이 제2 인증서 데이터를 포함하는 경우 외부 전자 장치(602)가 인증된 장치인 것으로 판단할 수 있다.When authentication for the electronic device 601 is successfully completed, in operation 619, the external electronic device 602 may transmit a response packet including the second certificate data of the external electronic device to the electronic device 601. In
일 실시 예에 따르면, 전자 장치(601)는 외부 서버(예: 도 2의 서버(203))로부터 인증서 목록을 획득할 수 있다. 외부 서버는 전자 장치(601)의 사용자를 식별할 수 있는 제1 사용자 식별 정보와 전자 장치(601)의 사용자에 의해 저장된 다른 사용자들을 식별할 수 있는 정보를 포함하는 제1 사용자 식별 정보 목록을 획득할 수 있다. 제1 사용자 식별 정보 및 제1 사용자 식별 정보 목록은 전자 장치(601)에 의해서 제공될 수도 있으나, 전자 장치(601)와 동일한 사용자 계정으로 외부 서버에 로그인한 다른 장치를 통해서 제공될 수도 있다. 또한, 외부 서버는 외부 전자 장치(602)의 사용자를 식별할 수 있는 제2 사용자 식별 정보와 외부 전자 장치(602)의 사용자에 의해 저장된 다른 사용자들을 식별할 수 있는 정보를 포함하는 제2 사용자 식별 정보 목록을 획득할 수 있다. 제2 사용자 식별 정보 및 제2 사용자 식별 정보 목록은 외부 전자 장치(602)에 의해서 제공될 수도 있으나, 외부 전자 장치(602)와 동일한 사용자 계정으로 외부 서버에 로그인한 다른 장치를 통해서 제공될 수도 있다. 외부 서버는 제1 사용자 식별 정보 목록이 제2 사용자 식별 정보를 포함하고, 제2 사용자 식별 정보 목록이 제1 사용자 식별 정보를 포함하는 경우, 외부 서버는 외부 전자 장치(602)의 제2 인증서 데이터를 포함하는 인증서 목록을 전자 장치(601)에 제공할 수 있다. 예를 들면, 전화번호로 1234가 할당된 스마트폰을 사용하는 사용자가 그 스마트폰의 연락처 저장소에 전화번호가 5678인 연락처 정보를 저장하고 있고, 전화번호로 5678인 스마트폰을 사용하는 사용자가 그 스마트폰의 연락처 저장소에 전화번호가 1234인 연락처 정보를 저장하고 있는 경우, 두 스마트폰으로부터 연락처 정보를 수신한 외부 서버는 두 장치를 서로 신뢰할 수 있는 기기로 판단할 수 있다. 동작 621에서 외부 전자 장치(602)에 대한 인증이 성공적으로 완료되면, 동작 623에서 전자 장치(601)는 외부 전자 장치(602)와 세션 키를 공유하고, 세션 키에 기반하여 통신하는 보안 통신 채널을 수립할 수 있다.According to an embodiment, the electronic device 601 may obtain a certificate list from an external server (eg, the
도 7은 일 실시 예에 따른, 전자 장치(701)(예: 도 2의 전자 장치(201))가 서버(703)(예: 도 2의 서버(203))로부터 인증서 목록을 획득하는 방법을 개념적으로 나타낸다.FIG. 7 illustrates a method of obtaining a certificate list from a server 703 (eg, the
도 7을 참조하면, 전자 장치(701)는 제1 사용자 식별 정보(711)로 전화번호 000-xxxx-yyyy가 할당된 장치이다. 전자 장치(701)는 전자 장치(701)를 식별할 수 있는 고유 정보로서 제1 인증서 데이터(712)를 생성할 수 있다. 전자 장치(701)는 제2 사용자 식별 정보(714)를 포함하는 제1 사용자 식별 정보 목록(713)을 저장하고 있다. 전자 장치(701)가 서버(703)에 로그인하면, 전자 장치(701)는 서버(703)로 제1 사용자 식별 정보(711), 제1 인증서 데이터(712) 및 제1 사용자 식별 정보 목록(713)을 전송할 수 있다.Referring to FIG. 7, the
도 7을 참조하면, 외부 전자 장치(702)는 제2 사용자 식별 정보(721)로 전화번호 010-aaaa-bbbb가 할당된 장치이다. 외부 전자 장치(702)는 외부 전자 장치(702)를 식별할 수 있는 고유 정보로서 제2 인증서 데이터(722)를 생성할 수 있다. 외부 전자 장치(702)는 제1 사용자 식별 정보(724)를 포함하는 제2 사용자 식별 정보 목록(723)을 저장하고 있다. 외부 전자 장치(702)가 서버(703)에 로그인하면, 외부 전자 장치(702)는 서버(703)로 제2 사용자 식별 정보(721), 제2 인증서 데이터(722) 및 제2 사용자 식별 정보 목록(723)을 전송할 수 있다.Referring to FIG. 7, the external
서버(703)는 제1 사용자 식별 정보(711)와 제2 사용자 식별 정보 목록(723)을 비교하고, 제2 사용자 식별 정보(721)와 제1 사용자 식별 정보 목록(713)을 비교할 수 있다. 서버(703)는 비교 결과에 기초하여 생성된 인증서 목록(715, 725)을 전자 장치(701) 및 외부 전자 장치(702)에 각각 제공할 수 있다. 일 실시 예에 따르면, 제2 사용자 식별 정보 목록(723)이 제1 사용자 식별 정보(711)를 포함하고, 제1 사용자 식별 정보 목록(713)이 제2 사용자 식별 정보(721)를 포함하는 경우, 인증서 목록(715)은 제2 인증서 데이터(722)를 포함하고, 인증서 목록(725)은 제1 인증서 데이터(712)를 포함할 수 있다. 도 7은 제1 인증서 데이터(712) 및 제2 인증서 데이터(722)가 각각 인증서 목록(715, 725)을 통해 전달되는 실시 예를 도시하지만, 다른 실시 예에 따르면, 서버(703)는 제2 인증서 데이터(722)를 제1 사용자 식별 정보 목록(713)에 포함시킨 후 제1 사용자 식별 정보 목록(713)을 전자 장치(701)에게 전송하고, 제1 인증서 데이터(712)를 제2 사용자 식별 정보 목록(723)에 포함시킨 후 제2 사용자 식별 정보 목록(723)을 외부 전자 장치(702)에게 전송할 수 있다. 다른 실시 예에 따르면, 서버(703)는 제2 인증서 데이터(722)가 포함된 인증서 목록(715)을 제1 사용자 식별 정보 목록(713)에 포함시킨 후 제1 사용자 식별 정보 목록(713)을 전자 장치(701)에게 전송하고, 제1 인증서 데이터(712)가 포함된 인증서 목록(725)을 제2 사용자 식별 정보 목록(723)에 포함시킨 후 제2 사용자 식별 정보 목록(723)을 외부 전자 장치(702)에게 전송할 수 있다.The
도 8은 일 실시 예에 따른, 전자 장치(도 7의 701) 및 외부 전자 장치(도 7의 702)가 획득하는 인증서 목록의 예시를 개념적으로 나타낸다.FIG. 8 conceptually illustrates an example of a certificate list acquired by an electronic device (701 in FIG. 7) and an external electronic device (702 in FIG. 7) according to an embodiment.
도 8을 참조하면, 전자 장치(도 7의 701)가 획득하는 인증서 목록(815)은 외부 전자 장치(도 7의 702)의 사용자 식별 정보(801)와 제2 인증서 데이터(802)를 포함할 수 있다. 또한, 외부 전자 장치(도 7의 702)가 획득하는 인증서 목록(825)은 전자 장치(도 7의 701)의 사용자 식별 정보(803)와 제1 인증서 데이터(804)를 포함할 수 있다.Referring to FIG. 8, a
도 8에는 도시되지 않았지만, 다른 실시 예들에 따르면, 전자 장치(도 7의 701) 및 외부 전자 장치(도 7의 702)는 별도의 인증서 목록(815 또는 825)을 수신하지 않고 사용자 식별 정보 목록을 통해 상대방 장치의 인증서 데이터를 획득할 수 있다. 예를 들어, 전자 장치(도 7의 701)는 외부 전자 장치(도 7의 702)의 사용자 식별 정보(801)와 제2 인증서 데이터(802)를 포함하는 제1 사용자 식별 정보 목록(도 7의 713)을 서버(도 7의 703)로부터 획득하고, 외부 전자 장치(도 7의 702)는 전자 장치(도 7의 701)의 사용자 식별 정보(803)와 제1 인증서 데이터(804)를 포함하는 제2 사용자 식별 정보 목록(도 7의 723)을 서버(도 7의 703)로부터 획득할 수 있다. Although not shown in FIG. 8, according to other embodiments, the electronic device (701 in FIG. 7) and the external electronic device (702 in FIG. 7) do not receive a separate certificate list (815 or 825), and a user identification information list. Through this, it is possible to obtain the certificate data of the other device. For example, the electronic device (701 in FIG. 7) includes the
도 9는 일 실시 예에 따른, 전자 장치(901)(예: 도 2의 전자 장치(201))와 외부 전자 장치(902)(예: 도 2의 외부 전자 장치(202))가 상호 인증을 수행하는 프로세스를 나타낸 순서도(900)이다.9 illustrates mutual authentication between an electronic device 901 (eg, the
전자 장치(901)가 외부 전자 장치(902)를 인식하는 동작을 수행한 결과(예: 도 4의 동작 415 내지 동작 419), 전자 장치(901)가 외부 전자 장치(902)를 인식하는데 성공한 경우(910), 일 실시 예에 따른 전자 장치(901)는 동작 911에서 제네릭 어트리뷰트 프로파일(Generic Attribute Profile, GATT) 기반으로 외부 전자 장치(902)에 대한 통신을 연결할 수 있다.When the electronic device 901 succeeds in recognizing the external electronic device 902 as a result of performing an operation for recognizing the external electronic device 902 (eg, operations 415 to 419 in FIG. 4 ), the electronic device 901 succeeds in recognizing the external electronic device 902 In operation 911, the electronic device 901 may connect communication with the external electronic device 902 based on a generic attribute profile (GATT) in operation 911.
일 실시 예에 따른 전자 장치(901)는 동작 913에서 외부 전자 장치(902)와 전송 계층 보안(Transport Layer Security, TLS) 프로토콜에 기초하여 키를 교환할 수 있다. 여기서, 교환되는 키는 전자 장치(901)의 제1 인증서 데이터와 외부 전자 장치(902)의 제2 인증서 데이터를 포함할 수 있다. 전자 장치(901)와 외부 전자 장치(902)는 TLS에 기반하여 서로를 인증할 수 있다. 상호 인증에 성공한 경우, 전자 장치(901)는 외부 전자 장치(902)로 데이터(예: 콘텐트)를 송신할 수 있다. The electronic device 901 according to an embodiment may exchange a key with the external electronic device 902 in operation 913 based on a Transport Layer Security (TLS) protocol. Here, the exchanged key may include first certificate data of the electronic device 901 and second certificate data of the external electronic device 902. The electronic device 901 and the external electronic device 902 may authenticate each other based on TLS. When mutual authentication is successful, the electronic device 901 may transmit data (eg, content) to the external electronic device 902.
전자 장치(901)와 외부 전자 장치(902)가 상호 인증에 성공한 경우(915), 전자 장치(901)와 외부 전자 장치(902)는 동작 917에서 보안 통신 연결을 수립할 수 있다. 전자 장치(901)와 외부 전자 장치(902)가 상호 인증에 실패한 경우(919), 전자 장치(901)는 동작 921에서 GATT 기반의 통신 연결을 종료할 수 있다.When the electronic device 901 and the external electronic device 902 succeed in mutual authentication (915 ), the electronic device 901 and the external electronic device 902 may establish a secure communication connection in operation 917. When the electronic device 901 and the external electronic device 902 fail to mutually authenticate in
전자 장치(901)가 외부 전자 장치(902)를 인식하기 위한 동작을 수행하였으나 외부 전자 장치(902)가 인식되지 않은 경우(920), 전자 장치(901)와 외부 전자 장치(902) 간에 프로세스가 수행되지 않을 수 있다.When the electronic device 901 performs an operation to recognize the external electronic device 902 but the external electronic device 902 is not recognized (920), a process between the electronic device 901 and the external electronic device 902 is performed. May not be performed.
도 9의 예시에서, 전자 장치(901)와 외부 전자 장치(902)는 상호 인증(예: 동작 913) 후 보안 연결(915)을 생성할 수 있다. 전자 장치(901)와 외부 전자 장치(902)는 보안 연결(915)을 통하여 보안 채널을 생성할 수 있는 PIN코드(personal identification number code)를 공유할 수 있다. 예를 들어, PIN 코드는 보안 네트워크 채널을 생성하는데에 이용될 수 있다. 보안 네트워크 채널은 해당 PIN코드를 가지는 전자 장치(예: 전자 장치(901)와 외부 전자 장치(902))만이 접속할 수 있다. 이 경우, 전자 장치(901)는 다른 신뢰가능한 외부 전자 장치에 PIN 코드를 공유함으로써 해당 외부 전자 장치가 보안 네트워크 채널에 접속하도록 할 수 있다.In the example of FIG. 9, the electronic device 901 and the external electronic device 902 may create a secure connection 915 after mutual authentication (eg, operation 913 ). The electronic device 901 and the external electronic device 902 may share a personal identification number code (PIN) for creating a secure channel through the secure connection 915. For example, a PIN code can be used to create a secure network channel. Only electronic devices (eg, electronic device 901 and external electronic device 902) having a corresponding PIN code can access the secure network channel. In this case, the electronic device 901 may allow the external electronic device to access the secure network channel by sharing the PIN code with another trusted external electronic device.
도 10은 일 실시 예에 따른, 전자 장치(예: 도 2의 전자 장치(201))가 외부 전자 장치(예: 도 2의 외부 전자 장치(202))의 인증서 데이터를 획득하는 프로세스를 나타낸 순서도(1000)이다.10 is a flowchart illustrating a process of obtaining certificate data of an external electronic device (eg, the external
동작 1010에서, 전자 장치는 사용자 계정에 기반하여 외부 서버에 로그인할 수 있다. 일 실시 예에 따르면, 전자 장치는 외부 서버에 사용자 계정을 생성하기 위한 서비스 가입 프로세스를 진행하기 위한 서비스 가입 화면을 표시하고, 서비스 가입을 위한 정보를 입력 받을 수 있다. 서비스 가입 화면을 이용하여 전자 장치는 제1 사용자 식별 정보와 제2 사용자 식별 정보에 대한 제공 동의에 관한 사용자 입력을 수신할 수 있다.In
동작 1020에서, 전자 장치는 전자 장치의 제1 사용자 식별 정보를 사용자를 식별하기 위한 정보로서 외부 서버에 등록할 수 있다. 전자 장치는 제1 인증서 데이터를 생성하고, 생성된 제1 인증서 데이터를 외부 서버에 등록할 수 있다. 동작 1030에서, 제1 사용자 식별 정보 및 제1 인증서 데이터를 등록한 전자 장치는 제2 사용자 식별 정보를 신뢰할 수 있는 사용자의 식별 정보로서 외부 서버로 전송할 수 있다. 제2 사용자 식별 정보는 전자 장치의 사용자에 의해 저장되거나, 전자 장치의 사용자가 식별 정보를 저장하는 별도의 장치로부터 불러들인 정보일 수 있다.In
제2 사용자 식별 정보를 자신의 식별 정보로서 외부 서버에 등록한 외부 전자 장치가 제1 사용자 식별 정보를 신뢰할 수 있는 장치의 식별 정보로 외부 서버에 전송한 경우, 동작 1040에서 전자 장치는 외부 서버로부터 제2 사용자 식별 정보에 상응하는 제2 인증서 데이터를 획득할 수 있다.When an external electronic device that has registered the second user identification information as its own identification information in the external server transmits the first user identification information as the identification information of a trusted device to the external server, in
도 11은 일 실시 예에 따른, 전자 장치(1101)(예: 도 2의 전자 장치(201))가 난수 값을 이용하여 변조된 데이터를 이용하여 외부 전자 장치(1102)(예: 도 2의 외부 전자 장치(202))를 인식하기 위한 전송 프로토콜의 예시를 나타낸다.FIG. 11 illustrates an external electronic device 1102 (eg, FIG. 2) using data modulated by using a random number value by an electronic device 1101 (eg, the
일 실시 예에 따른 전자 장치(1101)는 선택된 계정 키(1111)로부터 해시 알고리즘(예: SHA-256)을 이용하여 해시 값을 획득할 수 있다. 전자 장치(1101)는 획득된 해시 값에 블룸 해시 필터(Bloom hash filter)를 적용하여 계정 키(1111)에 대한 참/거짓 배열(1103)을 획득할 수 있다.The
전자 장치(1101)는 난수 값을 생성하고, 생성된 난수 값에 블룸 해시 필터를 적용하여 난수 값에 대한 참/거짓 배열(1115)을 획득할 수 있다. 전자 장치(1101)는 난수 값에 대한 참/거짓 배열(1115)을 OR 연산하는 과정을 적어도 한 번 수행하여 최종 참/거짓 배열(1117)을 생성할 수 있다. 전자 장치(1101)는 최종 참/거짓 배열로 구성된 블룸 필터(1117)를 브로드캐스트할 수 있다.The
외부 전자 장치(1102)는 선택된 계정 키로부터 해시 알고리즘을 이용하여 해시 값을 획득하고, 획득된 해시 값에 블룸 해시 필터를 적용하여 참/거짓 배열(1121)을 획득할 수 있다. 외부 전자 장치(1102)는 브로드캐스트된 블룸 필터(1117)를 수신하면, 참/거짓 배열(1121)과 비교하여 전자 장치(1101)가 근처에 있음을 높은 확률로 인식할 수 있다.The external
도 11에 도시된 과정을 통해서 전자 장치(1101)와 외부 전자 장치(1102)의 어플리케이션 프로세서(예: 도 1의 프로세서(120))가 활성화될(또는, 깨어날(awake)) 수 있다.Through the process illustrated in FIG. 11, the
블룸 필터는 블룸 필터에 의해 어떤 원소가 집합에 속하지 않은 것으로 판단되었으나 실제로 그 원소가 집합에 속하는 부정 오류는 발생하지 않는다는 특징을 가진다. 따라서, 블룸 필터의 특성을 활용하여 전자 장치(1101)에서 생성된 계정 기반 신호를 변조하여 전달하면 외부 전자 장치(1102)가 사용자의 기기임에도 불구하고 인증 절차를 수행하지 않는 경우가 발생하지 않으며, 사용자의 기기가 아님에도 인증 절차를 수행하는 경우는 매우 낮은 확률로 발생하므로, 높은 정확도로 사용자의 기기를 인식할 수 있다.The bloom filter has a feature that it is determined that an element does not belong to a set by the bloom filter, but there is no negative error that the element belongs to the set. Therefore, if the account-based signal generated by the
또한, 블룸 필터의 자료 구조는 작은 공간만을 차지하는 특징을 가진다. 따라서, BLE 신호와 같이 작은 데이터를 전송하는 근거리 무선 통신 신호를 통해서도 실시간으로 전송될 수 있다. 전자 장치(1101)가 전송하는 신호를 변조하는 방법을 변경하면 사용자가 인지하지 못하는 프라이버시 및 트래킹 문제를 방지할 수 있다.Also, the data structure of the bloom filter occupies only a small space. Accordingly, it may be transmitted in real time through a short-range wireless communication signal that transmits small data such as a BLE signal. If the method of modulating the signal transmitted by the
도 12는 일 실시 예에 따른, 전자 장치(1201)(예: 도 2의 전자 장치(201))가 사용자 인터페이스를 통해서 트리거 이벤트를 감지하는 예시를 나타낸다.12 illustrates an example in which the electronic device 1201 (eg, the
일 실시 예에 따르면, 전자 장치(1201)는 외부 전자 장치(예: 도 2의 외부 전자 장치(202))와 통신 연결을 수립하도록 하는 트리거 이벤트로 감지되는 사용자 입력을 수신하기 위한 사용자 인터페이스 항목(1210)을 출력할 수 있다. 예를 들어, 도 12를 참조하면, 전자 장치(1201)는 사진(1205)을 주변의 기기에 전송하도록 하는 명령을 입력하기 위한 사용자 인터페이스 항목(1210)을 선택하는 터치 입력을 감지할 수 있다.According to an embodiment, the
일 실시 예에 따른 전자 장치(1201)는 주변의 외부 전자 장치와 통신 연결을 수립하기 위한 프로세스(예: 도 3의 300, 도 4의 400, 도 6의 600)를 수행할 수 있다.The
도 13은 일 실시 예에 따른, 전자 장치(1301)(예: 도 2의 전자 장치(201))가 주변의 외부 전자 장치(1302)(예: 도 2의 외부 전자 장치(202))를 인증하고 통신을 연결하는 구조를 개념적으로 나타낸다.13 illustrates an electronic device 1301 (eg, the
일 실시 예에 따른 전자 장치(1301)는 전자 장치(1301)의 제1 인증서 데이터를 서버(1303)에 등록할 수 있다. 서버(1303)는 외부 전자 장치(1302)로부터 외부 전자 장치(1302)의 제2 인증서 데이터를 획득할 수 있다. 서버(1303)는 인증서 데이터를 서버(1303)에 등록한 장치들 중에서 전자 장치(1301)가 신뢰할 수 있는 기기의 인증서 목록에 생성할 수 있다. 예를 들어, 두 기기들이 동일한 사용자 계정으로 서버(1303)에 로그인하였거나, 두 기기들이 서로 상대방의 사용자 식별 정보를 가지는 경우, 서버(1303)는 두 기기는 서로 신뢰할 수 있는 기기인 것으로 판단할 수 있다. 전자 장치(1301)는 제2 인증서 데이터(1312)를 포함하는 인증서 목록을 서버(1303)로부터 획득할 수 있다.The
전자 장치(1301)는 주변에 위치한 장치들(1330) 중에서, 전자 장치(1301)의 인증서 목록에 제2 인증서 데이터(1312)가 포함되어 있고, 전자 장치(1301)의 제1 인증서 데이터(1311)를 가지고 있는 외부 전자 장치(1302)와 보안 통신 연결(1320)을 수립할 수 있다. 전자 장치(1301)는 전자 장치(1301)의 인증서 목록에 인증서 데이터가 포함되어 있지 않거나, 전자 장치(1301)의 제1 인증서 데이터를 가지지 않는 장치(1304)와는 통신 연결을 수립하지 않을 수 있다.The
도 13은 인증서 데이터가 별도의 인증서 목록에서 생성되는 실시 예를 도시하지만, 다른 실시 예들에 따르면 인증서 목록 또는 인증서 데이터는 사용자 식별 정보 목록에 포함될 수 있다. 예를 들어, 서버(1303)는 외부 전자 장치(1302)의 제2 인증서 데이터 또는 제2 인증서 데이터가 포함된 인증서 목록을 전자 장치(1301)의 사용자 식별 정보 목록(예: 도 7의 제1 사용자 식별 정보 목록(713))에 삽입하고, 전자 장치(1301)는 서버(1303)로부터 수신된 제1 사용자 식별 정보 목록(713)을 통해 제2 인증서 데이터를 획득할 수 있다. 13 illustrates an embodiment in which certificate data is generated from a separate certificate list, according to other embodiments, the certificate list or certificate data may be included in the user identification information list. For example, the
도 14는 일 실시 예에 따른, 전자 장치(1301)가 동일한 사용자 계정으로 로그인된 외부 전자 장치(1302)와 연결된 통신 채널을 이용하여 콘텐트를 공유하는 과정에서 전자 장치(1301)와 외부 전자 장치(1302)가 디스플레이하는 화면의 예시를 나타낸다.14 illustrates an
일 실시 예에 따른 전자 장치(1301)는 외부 서버(예: 도 2의 서버(203))로부터 외부 전자 장치(1302)의 인증서와 함께 외부 서버에 등록된 외부 전자 장치(1302)에 대한 기기 식별 정보를 수신할 수 있다. 기기 식별 정보는, 예를 들어, 외부 서버에 등록된 외부 전자 장치(1302)에 대해 사용자가 설정한 닉네임일 수 있다. 또는, 외부 전자 장치(1302)에 대한 기기 식별 정보는 전자 장치(1301)에서 로컬로 설정될 수도 있다. 일 실시 예에 따른 전자 장치(1301)는 외부 전자 장치(1302)와 통신 연결이 수립(예: 도 4의 동작 429)되면, 외부 전자 장치(1302)에 대한 기기 식별 정보를 나타내는 시각적 항목(1410)을 디스플레이할 수 있다.The
일 실시 예에 따르면, 전자 장치(1301)는 상호 인증이 완료된 적어도 하나의 외부 전자 장치(1302)를 나타내는 기기 식별 정보를 포함하는 기기 목록을 디스플레이할 수 있다. 전자 장치(1301)는 기기 목록 내에서 외부 전자 장치(1302)를 나타내는 기기 식별 정보를 선택하는 사용자 입력이 수신된 경우, 외부 전자 장치(1302)로 콘텐트를 공유하기 위한 데이터를 전송할 수 있다.According to an embodiment, the
일 실시 예에 따른 외부 전자 장치(1302)는 전자 장치(1301)와 연결된 통신 연결을 통해서 콘텐트가 수신되면, 콘텐트를 전송한 전자 장치(1301)를 나타내는 기기 식별 정보를 나타내는 시각적 항목(1420)을 디스플레이할 수 있다.When content is received through a communication connection connected to the
도 15는 일 실시 예에 따른, 전자 장치(1301)가 다른 사용자의 외부 전자 장치(1302)와 연결된 통신 채널을 이용하여 콘텐트를 공유하는 과정에서 전자 장치(1301)와 외부 전자 장치(1302)가 디스플레이하는 화면의 예시를 나타낸다.15 illustrates a process in which the
전자 장치(1301)는 인증서 목록의 제2 인증서 데이터와 전자 장치(1301)의 저장소(예: 연락처 저장소)에 저장된 외부 전자 장치(1302)의 제2 사용자 식별 정보를 연관하여 저장할 수 있다. 예를 들어, 제2 사용자 식별 정보가 아버지의 연락처 정보인 경우, 전자 장치(1301)는 제2 인증서 데이터를 포함하여 아버지의 연락처 정보를 저장할 수 있다. 또는, 전자 장치(1301)는 외부 서버(예: 도 2의 서버(203))로부터 제2 인증서 데이터를 포함하는 연락처 정보를 수신할 수도 있다.The
전자 장치(1301)는 제2 인증서 데이터에 기반하여 외부 전자 장치(1302)와 통신 연결을 수립한 경우, 제2 사용자 식별 정보를 나타내는 시각적 항목(1510)을 디스플레이(예: 도 1의 표시 장치(160))를 통해서 표시할 수 있다. 제2 사용자 식별 정보를 나타내는 시각적 항목(1510)은, 예를 들어, 연락처 정보에 포함된 닉네임일 수 있다.When the
일 실시 예에 따르면, 전자 장치(1301)는 상호 인증이 완료된 적어도 하나의 외부 전자 장치(1302)를 나타내는 사용자 식별 정보를 포함하는 기기 목록을 디스플레이할 수 있다. 전자 장치(1301)는 기기 목록 내에서 외부 전자 장치(1302)를 나타내는 사용자 식별 정보를 선택하는 사용자 입력이 수신된 경우, 외부 전자 장치(1302)로 콘텐트를 공유하기 위한 데이터 전송을 시도할 수 있다.According to an embodiment, the
일 실시 예에 따른 외부 전자 장치(1302)는 전자 장치(1301)의 제1 인증서 데이터에 기반하여 수립된 통신 연결을 통해서 콘텐트를 제공 받는 경우, 전자 장치(1301)를 나타내는 제1 사용자 식별 정보를 나타내는 시각적 항목(1520)을 디스플레이할 수 있다.When receiving content through a communication connection established based on the first certificate data of the
도 16은 일 실시예에 따른 전자 장치의 설정 UI(1602)를 도시한다.16 illustrates a
도 16에서, 전자 장치(1601)(예: 도 2의 전자 장치(201))는 디스플레이(1660) 상에 설정 UI(1602)를 제공할 수 있다. 예를 들어, 설정 UI(1602)는 콘텐트 공유를 위한 설정을 제공할 수 있다. 예를 들어, 설정 UI(1602)는 콘텐트 공유의 활성화 설정을 위한 인터페이스(1610)를 포함할 수 있다. 예를 들어, 전자 장치(1601)는 인터페이스(1610)에 대한 입력에 기반하여 콘텐트 공유 기능을 활성화 하거나 비활성화 할 수 있다. In FIG. 16, the electronic device 1601 (eg, the
예를 들어, 설정 UI(1602)는 콘텐트 공유 범위 설정을 제공할 수 있다. 친구 모드(1620)로 설정된 경우, 전자 장치(1601)는 전자 장치(1601)의 연락처에 저장된 외부 전자 장치 및 사용자의 전자 장치에 대하여만 콘텐트를 공유할 수 있다. 모두 모드(1630)로 설정된 경우, 전자 장치(1601)는 근처의 모든 외부 전자 장치와 콘텐트를 공유할 수 있다. 예를 들어, 친구 모드(1620)에서, 전자 장치(1601)는 사용자의 전자 장치가 아닌 전자 장치 및/또는 연락처에 저장되지 않은 외부 전자 장치로부터 애드버타이징 패킷을 수신하더라도 이를 디스플레이(1660)에 표시하지 않을 수 있다. For example, the
일 실시예에 따르면, 전자 장치(1601)는 콘텐트 공유가 활성화되었을 때(예: 인터페이스(1610)에 대한 입력 수신에 따라서 공유가 활성화된 때), 또는 콘텐트 공유가 활성화된 상태에서 완료를 지시하는 입력(예: 버튼 1640의 Done에 대한 입력)이 수신된 때에 애드버타이징 신호를 브로드캐스팅할 수 있다(예: 도 4의 동작 415 또는 도 6의 동작 613). According to an embodiment, the
도 17은 일 실시예에 따른 전자 장치의 공유 UI(1701)를 도시한다.17 illustrates a
예를 들어, 전자 장치(1601)(예: 도 2의 전자 장치(201))는 인식된 외부 전자 장치에 대한 정보 및 선택을 제공하는 공유 UI(1701)를 디스플레이(1660) 상에 디스플레이할 수 있다. 예를 들어, 공유 UI(1701)에 표시되는 외부 전자 장치들은 외부 전자 장치들로부터 애드버타이징 신호를 수신함으로써 인식된 외부 전자 장치들일 수 있다. For example, the electronic device 1601 (eg, the
일 실시예에 따르면, 전자 장치(1601)는 외부 전자 장치의 유형에 기반하여 외부 전자 장치의 목록을 생성할 수 있다. 예를 들어, 공유 UI(1701)는 자신의 장치 목록(1710), 연락처 기반 장치 목록(1720), 및 다른 장치 목록(1730)을 포함할 수 있다. 자신의 장치 목록(1710)은 전자 장치(1601)와 동일한 계정에 속한 다른 전자 장치(예: 제1 동일 계정 장치(1711) 및 제2 동일 계정 장치(1712))에 대한 정보를 포함할 수 있다. 연락처 기반 장치 목록(1720)은 전자 장치(1601)의 연락처 정보와 매칭된 외부 전자 장치(예: 제1 외부 전자 장치(1721), 제2 외부 전자 장치(1722), 및 제3 외부 전자 장치(1723))에 대한 정보를 포함할 수 있다. 예를 들어, 연락처 기반 장치 목록(1720)은 전자 장치(1601)가 전송한 애드버타이징 신호에 대해 응답 신호(예: 애드버타이징 신호)를 전송한 외부 전자 장치(예: 제1 외부 전자 장치(1721), 제2 외부 전자 장치(1722), 또는 제3 외부 전자 장치(1723)) 중 적어도 하나를 포함할 수 있다. 예를 들어, 전자 장치(201)는 외부 전자 장치로부터 수신된 식별 정보(예: 전화 번호, 메일 주소 또는 메일 계정과 같은 연락처 정보, IMEI(international mobile equipment identity)와 같은 기기 고유 식별 정보, 또는 소셜 미디어 서비스 계정과 같은 서비스 가입자 식별 정보)에 기반하여 연락처 기반 장치 목록(1720)을 표시할 수 있다. 다른 전자 장치 목록(1730)은 전자 장치(1601)의 계정에 속하지 않고 연락처 정보와 매칭되지 않는 전자 장치(예: 제1 기타 장치(1731) 및 제2 기타 장치(1732))의 정보를 포함할 수 있다.According to an embodiment, the
일 실시예에 따르면, 전자 장치(1601)는, 공유 UI(1701)에 표시된 외부 전자 장치의 목록(예: 자신의 장치 목록(1710), 연락처 기반 장치 목록(1720), 또는 다른 장치 목록(1730))의 외부 전자 장치들 중 콘텐트를 전송할 적어도 하나의 외부 전자 장치를 선택하는 입력을 수신할 수 있다. 전자 장치(1601)는 선택 입력에 기반하여 적어도 하나의 외부 전자 장치로 연결 요청 신호를 전송하고, 이에 대한 응답을 적어도 하나의 외부 전자 장치로부터 수신함으로써 보안 통신 채널을 수립(예: 도 6의 동작 623)할 수 있다. According to an embodiment, the
일 실시예에 따르면, 전자 장치(1601)는 주변에 자신의 계정과 동일한 계정의 외부 전자 장치가 발견되면, 해당 외부 전자 장치를 자신의 전자 장치 목록(1710)에 표시할 수 있다. 예를 들어, 전자 장치(1601)는 자신의 계정의 외부 전자 장치는 별도의 상호 인증을 수행하지 않고, 해당 외부 전자 장치를 자신의 전자 장치 목록(1710)에 표시할 수 있다. 전자 장치(1601)는 자신의 전자 장치 목록(1710)에 포함된 외부 전자 장치에 데이터를 송신하는 경우, 외부 전자 장치를 전자 장치(1601)에 저장된 인증서 데이터를 이용하여 인증할 수 있다. 인증이 성공적으로 수행된 경우, 전자 장치(1601)는 해당 외부 전자 장치로 콘텐트(예: 데이터)를 송신할 수 있다. According to an embodiment, when an external electronic device having the same account as its own account is found in the vicinity, the
일 실시예에 따르면, 전자 장치(1601)는 주변에 자신의 연락처 저장소에 포함된 외부 전자 장치가 발견되면, 외부 전자 장치를 연락처 기반 장치 목록(1720)에 표시할 수 있다. 연락처 기반 장치 목록(1720)에 포함된 외부 전자 장치에 데이터를 송신하는 경우, 외부 전자 장치에 대한 인증을 수행할 수 있다. 예를 들어, 전자 장치(1601)는 주변 외부 전자 장치로부터 수신된 데이터(예: 인증서 및/또는 인증서와 관련된 해쉬정보)와 전자 장치(1601)의 연락처에 저장된 데이터(예: 인증서 및/또는 인증서와 관련된 해쉬정보)에 기반하여 외부 전자 장치를 인식 및 인증할 수 있다. 예를 들어, 연락처 기반 장치 목록(1720)의 외부 전자 장치에 대한 데이터 송신 시에, 전자 장치(1601)는 연락처 저장소 내의 인증서를 이용하여 외부 전자 장치와의 상호 인증을 수행할 수 있다. 전자 장치(1601)는 상호 인증이 성공적으로 수행된 경우에 데이터를 외부 전자 장치로 송신할 수 있다. According to an embodiment, when an external electronic device included in its contact storage is found, the
일 실시예에 따르면, 전자 장치(1601)는 주변에 자신의 전자 장치 및 연락처의 전자 장치가 아닌 외부 전자 장치가 발견되면, 외부 전자 장치를 다른 전자 장치 목록(1730)에 표시할 수 있다. 다른 전자 장치 목록(1730)에 포함된 외부 전자 장치에 데이터를 송신하는 경우, 외부 전자 장치에 대한 인증을 수행할 수 있다. 일 실시예에 따르면, 전자 장치(1601)는 다른 전자 장치 목록(1730)에 포함된 외부 전자 장치를 PIN(personal identification number)코드에 기반하여 인증할 수 있다. 예를 들어, 전자 장치(1601)는 다른 전자 장치 목록(1730)의 외부 전자 장치에 대한 인증서 데이터를 저장하고 있지 않을 수 있다. 이 경우, 전자 장치(1601)는 보안 채널을 수립하기 위한 PIN코드를 생성하고, PIN코드에 기반하여 외부 전자 장치에 대한 상호 인증을 수행할 수 있다. According to an embodiment, when an external electronic device other than the electronic device and the contact's electronic device is found, the
일 실시예에 따르면, 전자 장치(1601)는 식별된 외부 전자 장치들 중 일부만을 공유 UI(1701)에 표시할 수 있다. 예를 들어, 외부 전자 장치들로부터 수신된 외부 전자 장치의 상태에 기반하여, 전자 장치(1601)의 외부 전자 장치의 표시 여부를 결정할 수 있다. 외부 전자 장치가 스크린 오프 상태를 지시하는 정보를 송신한 경우, 전자 장치(1601)는 해당 외부 전자 장치를 공유 UI(1701)에 표시하지 않을 수 있다. 외부 전자 장치가 스크린 온 상태를 지시하는 정보를 송신한 경우, 전자 장치(1601)는 해당 외부 전자 장치를 공유 UI(1701)에 표시할 수 있다. 외부 전자 장치가 콘텐트 공유를 허용하는 경우에만, 전자 장치(1601)는 해당 외부 전자 장치를 공유 UI(1701)에 표시하도록 설정될 수 있다. According to an embodiment, the
도 17의 예시에서, 전자 장치(1601)가 도 16의 친구 모드(1620)로 설정된 경우, 전자 장치(1601)는 다른 장치 목록(1730)을 공유 UI(1701)로부터 생략할 수 있다.In the example of FIG. 17, when the
도 18은 일 실시예에 따른 데이터 공유 상황에 따른 아이콘 예시들을 도시한다.18 illustrates examples of icons according to a data sharing situation according to an embodiment.
일 실시예에 따르면, 전자 장치(예: 도 17의 전자 장치 (1601))는 공유 UI(1701)의 아이콘을 통하여 외부 전자 장치의 상태를 표시할 수 있다. 도 18에서, 도 17의 제1 외부 전자 장치(1721)에 기반한 다양한 상태 표시 아이콘들이 설명될 수 있다. According to an embodiment, the electronic device (eg, the
일 실시예에 따르면, 전자 장치(1601)는 통신 상태에 기반하여 아이콘을 표시할 수 있다. 제1 아이콘(1801)은 해당 외부 전자 장치에 대한 데이터 송신이 대기 중임을 지시한다. 예를 들어, 다른 외부 전자 장치에 대한 데이터가 송신 중이고, 해당 외부 전자 장치는 다른 외부 전자 장치에 대한 데이터 송신이 완료된 후에 데이터를 수신하기 위하여 대기 중일 때, 해당 전자 장치는 제1 아이콘(1801)과 유사한 형태로 표시될 수 있다. 제2 아이콘(1802)은 해당 외부 전자 장치에 대한 보안 연결이 수립 중임을 나타낸다. 예를 들어, 도 4의 동작 415 내지 동작 429를 수행하는 동안, 전자 장치(1601)는 외부 전자 장치를 제2 아이콘(1802)과 유사한 형태로 표시할 수 있다. 제3 아이콘(1803)은 해당 외부 전자 장치에 대하여 데이터가 송신 중임을 나타낸다. 제4 아이콘(1804)은 해당 외부 전자 장치에 대하여 데이터 송신이 성공적으로 완료되었음을 나타낸다. 제5 아이콘(1805)은 해당 외부 전자 장치에 대한 데이터 송신의 적어도 일부가 실패하였음을 나타낸다. According to an embodiment, the
도 18에 예시된 아이콘들은 예시적인 것으로서, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 예를 들어, 전자 장치(1601)는 텍스트 정보를 이용하여 외부 전자 장치의 상태를 디스플레이할 수 있다. The icons illustrated in FIG. 18 are exemplary, and embodiments of the present document are not limited thereto. For example, the
도 19는 일 실시예에 따른 데이터 공유 상태를 지시하는 UI(1991)를 도시한다.19 illustrates a
도 19의 예시에서, 전자 장치(1601)(예: 도 2의 전자 장치(201))는 데이터 공유 상태를 지시하는 UI(1991)를 디스플레이(1660)에 표시할 수 있다. 전자 장치(1601)는 아이콘 및 텍스트를 이용하여 공유 상태 정보를 제공할 수 있다. 예를 들어, 제1 전자 장치(1901)는 대기 중이며, 제2 전자 장치(1902)는 연결 중이며, 제3 전자 장치(1903)는 데이터 송신 실패를, 제4 전자 장치(1904)는 데이터 송신 중을, 그리고 제5 전자 장치(1905)는 데이터 송신 완료를 지시할 수 있다. In the example of FIG. 19, the electronic device 1601 (eg, the
노티피케이션 바를 활성화 하는 입력(예: 드래그 입력(1990))이 수신되면, 전자 장치(1601)는 도 20의 UI를 디스플레이(1660)에 표시할 수 있다. When an input for activating the notification bar (eg, a drag input 1990) is received, the
도 20은 일 실시예에 따른 데이터 공유 상태를 지시하는 UI를 도시한다.20 illustrates a UI indicating a data sharing state according to an embodiment.
참조번호 2001을 참조하여, 도 19의 노티피케이션 바를 활성화 하는 입력(예: 드래그 입력(1990))에 대응하여, 전자 장치(1601)는 데이터 공유 상태 알림(2010)을 포함하는 노티피케이션 바를 디스플레이할 수 있다. 공유 상태 알림(2010)은 데이터 공유에 대한 간략한 정보(예: 공유 대상 외부 전자 장치 정보)를 포함할 수 있다. Referring to
참조번호 2002를 참조하여, 공유 상태 알림(2010)에 대한 입력이 수신되는 경우, 전자 장치(1601)는 구체적인 공유 상태를 제공할 수 있다. 예를 들어, 참조번호 2001의 공유 상태 정보는 도 19의 공유 상태를 지시하는 UI(1991)에 비하여 보다 구체적인 정보를 포함할 수 있다. 예를 들어, 제3 전자 장치(1903)의 경우, 전자 장치(1601)는 몇 개의 파일 중 몇 개가 송신 실패되었는지를 디스플레이(1660)에 표시할 수 있다. 제5 전자 장치(1905)의 경우, 전자 장치(1601)는 몇 개의 파일이 성공적으로 송신되었는지를 디스플레이(1660)에 표시할 수 있다. When an input for the
도 21은 외부 전자 장치에서의 연결 요청 UI를 도시한다.21 illustrates a connection request UI from an external electronic device.
일 실시예에 따르면, 전자 장치(예: 도 15의 전자 장치(1601))는 외부 전자 장치(2102)(예: 도 2의 외부 전자 장치(202))에 연결 요청을 송신할 수 있다. 예를 들어, 외부 전자 장치(2102)의 인증(예: 도 6의 동작 621) 후, 보안 통신 채널의 수립(예: 도 6의 동작 623) 전에, 전자 장치(1601)는 외부 전자 장치(2102)에 연결 요청을 송신할 수 있다. 예를 들어, 전자 장치(1601)는 외부 전자 장치(2102)에 의하여 연결 요청이 수락된 경우에, 보안 통신 채널을 수립할 수 있다.According to an embodiment, the electronic device (eg, the
도 21의 연결 요청 UI들은, 전자 장치로부터 연결 요청이 수신되었을 때, 외부 전자 장치(2102)의 디스플레이(2160)에 표시될 수 있다. 연결 요청 UI는 외부 전자 장치(2102)의 사용자에게 콘텐트 수신 여부를 프롬프트(prompt)하는 정보를 포함할 수 있다. The connection request UIs of FIG. 21 may be displayed on the
참조번호 2191을 참조하여, 연결 요청 UI(2110)는 파일 수신 여부를 문의하는 팝업 메시지일 수 있다. 예를 들어, 연결 요청 UI(2110)는 파일 송신자의 정보(2113)(예: Alice), 파일의 수(2112)(예: 3) 및/또는 PIN 코드 정보(2111)(예: 007893)를 포함할 수 있다. 일 예시에서, 외부 전자 장치(2102)가 연결 요청으로부터 파일의 수에 대한 정보를 획득하지 못하는 경우, 파일의 수(2112)는 생략될 수 있다. With reference to
참조번호 2102를 참조하여, 연결 요청 UI(2120)는 파일 수신 여부를 문의하는 팝업 메시지일 수 있다. 예를 들어, 연결 요청 UI(2120)는 파일 송신자의 정보(2113)(예: Alice), 파일의 수(2112)(예: 3) 및/또는 파일의 썸네일(2121)를 포함할 수 있다. 예를 들어, 전자 장치(1601)는 연결 요청 신호의 송신 후에, 하나 이상의 신호를 이용하여 썸네일(2121)의 데이터를 외부 전자 장치(2102)로 송신할 수 있다. 다른 예를 들어, 전자 장치(1601)는 썸네일(2121)의 주소(예: URL(uniform resource locator) 또는 압축 URL)를 외부 전자 장치(2102)로 송신할 수 있다. 또 다른 예를 들어, 전자 장치(1601)는 썸네일(2121) 대신에 파일의 요약 정보를 송신할 수 있다. 이 경우, 요약 정보는 송신될 콘텐트에 대한 기계학습에 기반하여 추출된 정보(예: 텍스트 정보)를 포함할 수 있다. With reference to
일 실시예에 따르면, 외부 전자 장치(2102)는 전자 장치(1601)와의 관계에 기반하여 연결 요청 UI를 표시할 수 있다. 예를 들어, 외부 전자 장치(2102)가 전자 장치(1601)의 연락처에 저장된 계정의 전자 장치인 경우, 외부 전자 장치(2102)는 참조번호 2192의 연결 요청 UI(2120)를 표시할 수 있다. 다른 예를 들어, 외부 전자 장치(2102)가 기타 장치(예: 도 17의 기타 장치(1731 또는 1732))인 경우, 외부 전자 장치(2102)는 PIN 코드에 기반하여 전자 장치(1601)와 통신할 수 있다. 이 경우, 외부 전자 장치(2102)는 참조번호 2191의 연결 요청UI(2110)를 표시할 수 있다. According to an embodiment, the external
외부 전자 장치(2102)가 연결 허용 입력(예: “Accept”에 대한 입력)을 수신하는 경우, 외부 전자 장치(2102)는 연결 허용을 지시하는 응답 신호를 전자 장치(1601)에 송신할 수 있다. 예를 들어, 전자 장치(1601)는 연결 허용 응답이 수신되면 외부 전자 장치(2102)와 보안 연결을 확립할 수 있다. 외부 전자 장치(2102)가 연결 불허 입력(예: “Decline”에 대한 입력)을 수신하는 경우, 외부 전자 장치(2102)는 연결 불허를 지시하는 응답 신호를 전자 장치(1601)에 송신할 수 있다. 이 경우, 전자 장치(1601)는 데이터 송신의 실패를 지시하는 정보(예: 도 18의 제5 아이콘(1805))를 표시할 수 있다.When the external
상술한 바와 같이, 본 문서에 개시되는 전자 장치는, 상기 전자 장치의 제1 인증서 데이터 및 외부 전자 장치의 제2 인증서 데이터를 포함하는 인증서 목록을 저장하는 메모리, 근거리 무선 통신 회로, 및 상기 메모리 및 상기 근거리 무선 통신 회로와 작동적으로 연결된 프로세서를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가, 상기 전자 장치 주변의 장치와 통신 연결을 수립하는 동작을 실행하도록 하는 트리거 이벤트를 감지하고, 상기 트리거 이벤트의 감지에 응답하여, 상기 제1 인증서 데이터에 기초하여 생성된 광고 패킷을 브로드캐스트하도록 상기 근거리 무선 통신 회로를 제어하며, 상기 광고 패킷에 대한 응답으로 상기 외부 전자 장치로부터 응답 패킷을 수신한 경우, 상기 응답 패킷으로부터 제3 인증서 데이터를 획득하고, 상기 제2 인증서 데이터와 상기 제3 인증서 데이터에 기초하여 상기 외부 전자 장치를 인증하고, 상기 외부 전자 장치가 인증된 경우 상기 외부 전자 장치와 보안 통신 채널을 수립하도록 하는 인스트럭션들을 저장할 수 있다. As described above, the electronic device disclosed in this document includes a memory for storing a certificate list including first certificate data of the electronic device and second certificate data of an external electronic device, a short-range wireless communication circuit, and the memory and A processor operatively connected to the short-range wireless communication circuit, and the memory, when executed, detects a trigger event that causes the processor to execute an operation of establishing a communication connection with a device surrounding the electronic device, In response to detection of the trigger event, controlling the short-range wireless communication circuit to broadcast an advertisement packet generated based on the first certificate data, and receiving a response packet from the external electronic device in response to the advertisement packet In one case, third certificate data is obtained from the response packet, the external electronic device is authenticated based on the second certificate data and the third certificate data, and when the external electronic device is authenticated, the external electronic device and Instructions for establishing a secure communication channel can be stored.
일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서가, 상기 제1 인증서 데이터로부터 해시 함수를 이용하여 제1 해시 값을 획득하고, 상기 제1 해시 값을 포함하도록 상기 광고 패킷을 생성하며, 상기 응답 패킷으로부터 제2 해시 값을 포함하는 상기 제3 인증서 데이터를 획득하고, 상기 제2 해시 값과 상기 제2 인증서 데이터로부터 생성된 해시 값을 비교한 결과에 기초하여 상기 외부 전자 장치를 인증하도록 구성될 수 있다. According to an embodiment, in the instructions, the processor obtains a first hash value from the first certificate data using a hash function, generates the advertisement packet to include the first hash value, and the response packet It may be configured to obtain the third certificate data including a second hash value from and authenticate the external electronic device based on a result of comparing the second hash value with the hash value generated from the second certificate data. have.
일 실시 예에 따르면, 상기 전자 장치는 외부 서버와 통신하도록 구성되는 원거리 무선 통신 회로를 더 포함하고, 상기 인스트럭션들은 상기 프로세서가, 상기 원거리 무선 통신 회로를 통해, 상기 제1 인증서 데이터 및 상기 전자 장치에 대한 제1 사용자 식별 정보를 사용자 계정에 기반하여 상기 전자 장치가 로그인한 상기 외부 서버에 등록하도록 구성될 수 있다. According to an embodiment, the electronic device further includes a remote wireless communication circuit configured to communicate with an external server, and the instructions include the first certificate data and the electronic device by the processor through the remote wireless communication circuit. The electronic device may be configured to register the first user identification information for to the external server to which the electronic device is logged in, based on a user account.
일 실시 예에 따르면, 상기 메모리는 상기 외부 전자 장치에 대한 제2 사용자 식별 정보를 저장하고, 상기 인스트럭션들은 상기 프로세서가, 상기 원거리 무선 통신 회로를 통해, 상기 제2 사용자 식별 정보를 사용자 계정에 기반하여 상기 전자 장치가 로그인한 상기 외부 서버로 전송하고, 상기 원거리 무선 통신 회로를 통해, 상기 제2 사용자 식별 정보에 대한 응답으로, 상기 외부 서버로부터 상기 제2 사용자 식별 정보에 상응하는 상기 제2 인증서 데이터를 수신하도록 구성될 수 있다. According to an embodiment, the memory stores second user identification information on the external electronic device, and the instructions are based on the second user identification information by the processor through the remote wireless communication circuit. The second certificate corresponding to the second user identification information from the external server in response to the second user identification information, transmitted to the external server to which the electronic device is logged in, and through the remote wireless communication circuit It can be configured to receive data.
일 실시 예에 따르면, 상기 제2 사용자 식별 정보는, 상기 외부 전자 장치에 상응하는 연락처 정보를 포함할 수 있다. According to an embodiment, the second user identification information may include contact information corresponding to the external electronic device.
일 실시 예에 따르면, 상기 전자 장치는 디스플레이를 더 포함하고, 상기 인스트럭션들은 상기 프로세서가, 상기 디스플레이를 통해서 상기 제2 사용자 식별 정보를 나타내는 시각적 항목을 표시하고, 상기 시각적 항목에 대한 사용자 입력을 수신하며, 상기 사용자 입력에 대한 응답으로, 상기 근거리 무선 통신 회로를 통해 상기 트리거 이벤트에 상응하는 콘텐트 데이터를 상기 보안 통신 채널을 통해서 상기 외부 전자 장치로 전송하도록 구성될 수 있다. According to an embodiment, the electronic device further includes a display, and in the instructions, the processor displays a visual item representing the second user identification information through the display, and receives a user input for the visual item. And, in response to the user input, content data corresponding to the trigger event may be transmitted to the external electronic device through the secure communication channel through the short-range wireless communication circuit.
일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서가, 상기 외부 전자 장치와 공유되는 공유 키를 획득하고, 상기 공유 키에 기초하여 상기 제1 인증서 데이터를 암호화하며, 상기 암호화된 제1 인증서 데이터를 포함하여 상기 광고 패킷을 생성하도록 구성될 수 있다. According to an embodiment, the instructions include the processor obtaining a shared key shared with the external electronic device, encrypting the first certificate data based on the shared key, and including the encrypted first certificate data Thus, it may be configured to generate the advertisement packet.
상술한 바와 같이, 본 문서에 개시되는 전자 장치는, 상기 전자 장치의 제1 인증서 데이터, 외부 전자 장치에 대한 제1 사용자 식별 정보 및 상기 제1 사용자 식별 정보에 상응하는 제2 인증서 데이터를 저장하는 메모리, 근거리 무선 통신 회로, 및 상기 메모리 및 상기 근거리 무선 통신 회로와 작동적으로 연결된 프로세서를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가, 상기 근거리 무선 통신 회로를 통해서 제3 인증서 데이터를 포함하는 광고 패킷을 수신하고, 상기 광고 패킷의 수신에 응답하여, 상기 제3 인증서 데이터를 상기 제2 인증서 데이터와 비교하고, 상기 제3 인증서 데이터와 상기 제2 인증서 데이터가 매칭되는 경우, 상기 제1 인증서 데이터에 기초하여 생성된 응답 패킷을 상기 근거리 무선 통신 회로를 통해 상기 외부 전자 장치로 전송하며, 상기 근거리 무선 통신 회로를 통해, 상기 전송된 응답 패킷에 대한 상기 외부 전자 장치의 응답에 기초하여 상기 외부 전자 장치와 보안 통신 채널을 수립하도록 하는 인스트럭션들을 저장할 수 있다. As described above, the electronic device disclosed in this document stores first certificate data of the electronic device, first user identification information for an external electronic device, and second certificate data corresponding to the first user identification information. A memory, a short-range wireless communication circuit, and a processor operatively connected to the memory and the short-range wireless communication circuit, wherein the memory, when executed, the processor transmits third certificate data through the short-range wireless communication circuit. When receiving an advertisement packet containing, and in response to receiving the advertisement packet, comparing the third certificate data with the second certificate data, and when the third certificate data and the second certificate data match, the second certificate data 1 A response packet generated based on certificate data is transmitted to the external electronic device through the short-range wireless communication circuit, and based on the response of the external electronic device to the transmitted response packet through the short-range wireless communication circuit Instructions for establishing a secure communication channel with the external electronic device may be stored.
상술한 바와 같이, 본 문서에 개시되는 전자 장치는, 상기 전자 장치의 제1 인증서 데이터 및 외부 전자 장치의 제2 인증서 데이터를 저장하는 메모리, 근거리 무선 통신 회로, 원거리 무선 통신 회로, 및 상기 메모리, 상기 근거리 무선 통신 회로, 및 상기 원거리 무선 통신 회로와 작동적으로 연결된 프로세서를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가, 상기 원거리 무선 통신 회로를 통해, 외부 서버에 사용자 계정에 기초하여 로그인을 수행하고, 상기 원거리 무선 통신 회로를 통해, 상기 외부 서버로부터 상기 사용자 계정에 상응하는 계정 키 값을 수신하며, 상기 전자 장치 주변의 장치와 통신 연결을 수립하는 동작을 실행하도록 하는 트리거 이벤트를 감지하고, 상기 트리거 이벤트의 감지에 응답하여, 상기 계정 키 값을 포함하는 메시지를 브로드캐스트하도록 상기 근거리 무선 통신 회로를 제어하며, 상기 메시지에 기초하여 상기 계정 키 값과 동일한 키 값을 가지는 상기 외부 전자 장치를 확인하고, 상기 근거리 무선 통신 회로를 통해, 상기 외부 전자 장치에 상기 제1 인증서 데이터를 전송하며, 상기 근거리 무선 통신 회로를 통해, 상기 외부 전자 장치로부터 제3 인증서 데이터를 수신하고, 상기 제2 인증서 데이터와 상기 제3 인증서 데이터에 기초하여 상기 외부 전자 장치를 인증하도록 하는 인스트럭션들을 저장할 수 있다. As described above, the electronic device disclosed in this document includes a memory for storing first certificate data of the electronic device and second certificate data of an external electronic device, a short-range wireless communication circuit, a long-range wireless communication circuit, and the memory, And a processor operatively connected to the short-range wireless communication circuit and the long-range wireless communication circuit, and the memory includes, when executed, the processor, through the long-range wireless communication circuit, on an external server based on a user account. A trigger event for performing a login, receiving an account key value corresponding to the user account from the external server through the remote wireless communication circuit, and establishing a communication connection with a device around the electronic device is performed. Sensing, and in response to detection of the trigger event, controlling the short-range wireless communication circuit to broadcast a message including the account key value, and the external device having the same key value as the account key value based on the message Identify the electronic device, transmit the first certificate data to the external electronic device through the short-range wireless communication circuit, receive third certificate data from the external electronic device through the short-range wireless communication circuit, and the Instructions for authenticating the external electronic device based on the second certificate data and the third certificate data may be stored.
일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서가, 블룸 필터를 이용하여 상기 메시지를 변조하고, 상기 변조된 메시지를 브로드캐스트하도록 상기 근거리 무선 통신 회로를 제어하도록 구성될 수 있다. According to an embodiment, the instructions may be configured such that the processor modulates the message using a bloom filter and controls the short-range wireless communication circuit to broadcast the modulated message.
일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서가, 상기 원거리 무선 통신 회로를 통해, 상기 외부 서버에 사용자를 식별할 수 있는 사용자 고유 정보를 전송하고, 상기 원거리 무선 통신 회로를 통해, 상기 외부 서버로부터 상기 사용자 고유 정보에 기초하여 생성된 상기 계정 키 값을 수신하도록 구성될 수 있다.According to an embodiment, the instructions are transmitted by the processor to the external server through the remote wireless communication circuit, user-specific information, and through the remote wireless communication circuit, from the external server. It may be configured to receive the account key value generated based on the user-specific information.
일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서가, 상기 원거리 무선 통신 회로를 통해, 상기 사용자 계정에 기반하여 상기 외부 서버에 상기 제1 인증서 데이터를 등록하도록 구성될 수 있다. According to an embodiment, the instructions may be configured such that the processor registers the first certificate data to the external server based on the user account through the remote wireless communication circuit.
일 실시 예에 따르면, 상기 인스트럭션들은 상기 프로세서가, 상기 원거리 무선 통신 회로를 통해, 상기 사용자 계정에 기반하여 상기 외부 서버에 등록된 상기 제2 인증서 데이터를 상기 외부 서버로부터 수신하도록 구성될 수 있다. According to an embodiment, the instructions may be configured such that the processor receives the second certificate data registered in the external server from the external server based on the user account through the remote wireless communication circuit.
상술한 바와 같이, 본 문서에 개시되는 전자 장치는, 상기 전자 장치의 제1 인증서 데이터 및 외부 전자 장치의 제2 인증서 데이터를 저장하는 메모리, 근거리 무선 통신 회로, 원거리 무선 통신 회로, 및 상기 메모리, 상기 근거리 무선 통신 회로, 및 상기 원거리 무선 통신 회로와 작동적으로 연결된 프로세서를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가, 상기 원거리 무선 통신 회로를 통해, 외부 서버에 사용자 계정에 기초하여 로그인을 수행하고, 상기 원거리 무선 통신 회로를 통해, 상기 외부 서버로부터 상기 사용자 계정에 상응하는 계정 키 값을 수신하며, 상기 근거리 무선 통신 회로를 통해서 상기 계정 키 값을 포함하는 메시지를 수신하며, 상기 메시지에 기초하여 상기 계정 키 값과 동일한 키 값을 가지는 상기 외부 전자 장치를 확인하고, 상기 근거리 무선 통신 회로를 통해, 상기 외부 전자 장치로부터 제3 인증서 데이터를 수신하고, 상기 제2 인증서 데이터와 상기 제3 인증서 데이터에 기초하여 상기 외부 전자 장치를 인증하며, 상기 외부 전자 장치의 인증이 완료된 경우, 상기 근거리 무선 통신 회로를 통해, 상기 외부 전자 장치로 상기 제1 인증서 데이터를 전송하도록 하는 인스트럭션들을 저장할 수 있다. As described above, the electronic device disclosed in this document includes a memory for storing first certificate data of the electronic device and second certificate data of an external electronic device, a short-range wireless communication circuit, a long-range wireless communication circuit, and the memory, And a processor operatively connected to the short-range wireless communication circuit and the long-range wireless communication circuit, and the memory includes, when executed, the processor, through the long-range wireless communication circuit, on an external server based on a user account. Log in, receive an account key value corresponding to the user account from the external server through the remote wireless communication circuit, receive a message including the account key value through the short-range wireless communication circuit, the Based on a message, the external electronic device having the same key value as the account key value is identified, and through the short-range wireless communication circuit, third certificate data is received from the external electronic device, and the second certificate data and the Authenticate the external electronic device based on the third certificate data, and store instructions for transmitting the first certificate data to the external electronic device through the short-range wireless communication circuit when the authentication of the external electronic device is completed. I can.
상술한 바와 같이, 본 문서에 개시되는 전자 장치가 외부 전자 장치와 통신을 수행하는 방법은, 상기 전자 장치의 제1 인증서 데이터 및 상기 외부 전자 장치의 제2 인증서 데이터를 저장하는 동작, 상기 전자 장치 주변의 장치와 통신 연결을 수립하도록 하는 트리거 이벤트를 감지하는 동작, 상기 트리거 이벤트의 감지에 응답하여, 상기 제1 인증서 데이터에 기초하여 생성된 광고 패킷을 브로드캐스트하는 동작, 상기 광고 패킷에 대한 응답으로 상기 외부 전자 장치로부터 응답 패킷을 수신한 경우, 상기 응답 패킷으로부터 제3 인증서 데이터를 획득하는 동작, 상기 제2 인증서 데이터와 상기 제3 인증서 데이터에 기초하여 상기 외부 전자 장치를 인증하는 동작, 및 상기 외부 전자 장치가 인증된 경우 상기 외부 전자 장치와 보안 통신 채널을 수립하는 동작을 포함할 수 있다. As described above, a method of performing communication by an electronic device disclosed in this document with an external electronic device includes: storing first certificate data of the electronic device and second certificate data of the external electronic device, and the electronic device Detecting a trigger event for establishing a communication connection with a nearby device, in response to detection of the trigger event, broadcasting an advertisement packet generated based on the first certificate data, and a response to the advertisement packet When a response packet is received from the external electronic device, obtaining third certificate data from the response packet, authenticating the external electronic device based on the second certificate data and the third certificate data, and When the external electronic device is authenticated, an operation of establishing a secure communication channel with the external electronic device may be included.
일 실시 예에 따르면, 상기 방법은 사용자 계정에 기반하여 상기 전자 장치가 외부 서버에 로그인하는 동작, 상기 외부 전자 장치에 대한 제2 사용자 식별 정보를 상기 외부 서버로 전송하는 동작, 및 상기 상기 제2 사용자 식별 정보에 대한 응답으로, 상기 외부 서버로부터 상기 제2 사용자 식별 정보에 상응하는 상기 제2 인증서 데이터를 수신하는 동작을 포함할 수 있다. According to an embodiment, the method includes an operation of logging in by the electronic device to an external server based on a user account, transmitting second user identification information of the external electronic device to the external server, and the second In response to the user identification information, the operation of receiving the second certificate data corresponding to the second user identification information from the external server may be included.
상술한 바와 같이, 본 문서에 개시되는 전자 장치가 외부 전자 장치와 통신을 수행하는 방법은, 상기 전자 장치의 제1 인증서 데이터 및 상기 외부 전자 장치의 제2 인증서 데이터를 저장하는 동작, 제3 인증서 데이터를 포함하는 광고 패킷을 수신하는 동작, 상기 광고 패킷의 수신에 응답하여, 상기 제3 인증서 데이터를 상기 제2 인증서 데이터와 비교하는 동작, 상기 제3 인증서 데이터와 상기 제2 인증서 데이터가 매칭되는 경우, 상기 제1 인증서 데이터에 기초하여 생성된 응답 패킷을 상기 외부 전자 장치로 전송하는 동작, 및 상기 전송된 응답 패킷에 대한 상기 외부 전자 장치의 응답에 기초하여 상기 외부 전자 장치와 보안 통신 채널을 수립하는 동작을 포함할 수 있다. As described above, a method of performing communication by an electronic device disclosed in this document with an external electronic device includes an operation of storing first certificate data of the electronic device and second certificate data of the external electronic device, and a third certificate. Receiving an advertisement packet including data, in response to receiving the advertisement packet, comparing the third certificate data with the second certificate data, and matching the third certificate data with the second certificate data In case, the operation of transmitting a response packet generated based on the first certificate data to the external electronic device, and establishing a secure communication channel with the external electronic device based on a response of the external electronic device to the transmitted response packet. It may include an operation to establish.
상술한 바와 같이, 본 문서에 개시되는 전자 장치가 외부 전자 장치와 통신을 수행하는 방법은, 상기 전자 장치의 제1 인증서 데이터 및 상기 외부 전자 장치의 제2 인증서 데이터를 저장하는 동작, 외부 서버에 사용자 계정에 기초하여 로그인을 수행하는 동작, 상기 외부 서버로부터 상기 사용자 계정에 상응하는 계정 키 값을 수신하는 동작, 상기 전자 장치 주변의 장치와 통신 연결을 수립하도록 하는 트리거 이벤트를 감지하는 동작, 상기 트리거 이벤트의 감지에 응답하여, 상기 계정 키 값을 포함하는 메시지를 브로드캐스트하는 동작, 상기 메시지에 기초하여 상기 계정 키 값과 동일한 키 값을 가지는 상기 외부 전자 장치를 확인하는 동작, 상기 외부 전자 장치에 상기 제1 인증서 데이터를 전송하는 동작, 상기 외부 전자 장치로부터 제3 인증서 데이터를 수신하는 동작, 및 상기 제2 인증서 데이터와 상기 제3 인증서 데이터에 기초하여 상기 외부 전자 장치를 인증하는 동작을 포함할 수 있다. As described above, a method of performing communication by an electronic device disclosed in this document with an external electronic device includes an operation of storing first certificate data of the electronic device and second certificate data of the external electronic device, in an external server. An operation of performing a login based on a user account, an operation of receiving an account key value corresponding to the user account from the external server, an operation of detecting a trigger event for establishing a communication connection with a device surrounding the electronic device, the In response to detection of a trigger event, broadcasting a message including the account key value, identifying the external electronic device having the same key value as the account key value based on the message, the external electronic device Transmitting the first certificate data to, receiving third certificate data from the external electronic device, and authenticating the external electronic device based on the second certificate data and the third certificate data. can do.
일 실시 예에 따르면, 상기 방법은 상기 사용자 계정에 기반하여 상기 외부 서버에 등록된 상기 제2 인증서 데이터를 상기 외부 서버로부터 수신하는 동작을 더 포함할 수 있다. According to an embodiment, the method may further include receiving the second certificate data registered in the external server from the external server based on the user account.
상술한 바와 같이, 본 문서에 개시되는 전자 장치가 외부 전자 장치와 통신을 수행하는 방법은, 상기 전자 장치의 제1 인증서 데이터 및 상기 외부 전자 장치의 제2 인증서 데이터를 저장하는 동작, 외부 서버에 사용자 계정에 기초하여 로그인을 수행하는 동작, 상기 외부 서버로부터 상기 사용자 계정에 상응하는 계정 키 값을 수신하는 동작, 상기 근거리 무선 통신 회로를 통해서 상기 계정 키 값을 포함하는 메시지를 수신하는 동작, 상기 메시지에 기초하여 상기 계정 키 값과 동일한 키 값을 가지는 상기 외부 전자 장치를 확인하는 동작, 상기 외부 전자 장치로부터 제3 인증서 데이터를 수신하는 동작, 상기 제2 인증서 데이터와 상기 제3 인증서 데이터에 기초하여 상기 외부 전자 장치를 인증하는 동작, 및 상기 외부 전자 장치의 인증이 완료된 경우, 상기 외부 전자 장치로 상기 제1 인증서 데이터를 전송하는 동작을 포함할 수 있다. As described above, a method of performing communication by an electronic device disclosed in this document with an external electronic device includes an operation of storing first certificate data of the electronic device and second certificate data of the external electronic device, in an external server. Logging in based on a user account, receiving an account key value corresponding to the user account from the external server, receiving a message including the account key value through the short-range wireless communication circuit, the Checking the external electronic device having the same key value as the account key value based on a message, receiving third certificate data from the external electronic device, based on the second certificate data and the third certificate data Thus, an operation of authenticating the external electronic device, and when authentication of the external electronic device is completed, transmitting the first certificate data to the external electronic device.
본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치 (예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.An electronic device according to various embodiments disclosed in this document may be a device 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. The electronic device according to the embodiment of the present document is not limited to the above-described devices.
본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나",“A 또는 B 중 적어도 하나”, "A, B 또는 C", "A, B 및 C 중 적어도 하나” 및 “A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, “기능적으로” 또는 “통신적으로”라는 용어와 함께 또는 이런 용어 없이, “커플드” 또는 “커넥티드”라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.Various embodiments of the present document and terms used therein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various modifications, equivalents, or substitutes of the corresponding embodiments. In connection with the description of the drawings, similar reference numerals may be used for similar or related components. The singular form of a noun corresponding to an item may include one or a plurality of the items unless clearly indicated otherwise in a related context. 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 phrases such as "at least one of B or C" may include any one of the items listed together in the corresponding one of the phrases, or all possible combinations thereof. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish the component from other Order) is not limited. Some (eg, first) component is referred to as “coupled” or “connected” to another (eg, second) component, with or without the terms “functionally” or “communicatively”. When mentioned, it means that any of the above components can be connected to the other components directly (eg by wire), wirelessly, or via a third component.
본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term "module" used in this document may include a unit implemented in hardware, software, or firmware, and may be used interchangeably with terms such as logic, logic blocks, parts, or circuits. The module may be an integrally configured component or a minimum unit of the component or a part thereof that performs one or more functions. For example, according to an 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 the present document include one or more instructions stored in a storage medium (eg, internal memory 136 or external memory 138) that can be read by a machine (eg, electronic device 101). It may be implemented as software (for example, the program 140) including them. For example, the processor (eg, the processor 120) of the device (eg, the electronic device 101) may call and execute at least one command among one or more commands stored from a storage medium. 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-transient' only means that the storage medium is a tangible device and does not contain a signal (e.g., electromagnetic waves), and this term refers to the case where data is semi-permanently stored in the storage medium. It does not distinguish between temporary storage cases.
일실시예에 따르면, 본 문서에 개시된 다양한 실시예들에 따른 방법은 컴퓨터 프로그램 제품(computer program product)에 포함되어 제공될 수 있다. 컴퓨터 프로그램 제품은 상품으로서 판매자 및 구매자 간에 거래될 수 있다. 컴퓨터 프로그램 제품은 기기로 읽을 수 있는 저장 매체(예: compact disc read only memory(CD-ROM))의 형태로 배포되거나, 또는 어플리케이션 스토어(예: 플레이 스토어™)를 통해 또는 두 개의 사용자 장치들(예: 스마트폰들) 간에 직접, 온라인으로 배포(예: 다운로드 또는 업로드)될 수 있다. 온라인 배포의 경우에, 컴퓨터 프로그램 제품의 적어도 일부는 제조사의 서버, 어플리케이션 스토어의 서버, 또는 중계 서버의 메모리와 같은 기기로 읽을 수 있는 저장 매체에 적어도 일시 저장되거나, 임시적으로 생성될 수 있다.According to an embodiment, a method according to various embodiments disclosed in the present document may be provided by being included in a computer program product. Computer program products can be traded between sellers and buyers as commodities. The computer program product is distributed in the form of a device-readable storage medium (e.g. compact disc read only memory (CD-ROM)), or through an application store (e.g. Play Store™) or two user devices ( It can be distributed (e.g., downloaded or uploaded) directly between, e.g. smartphones). In the case of online distribution, at least a part of the computer program product may be temporarily stored or temporarily generated in a storage medium that can be read by a device such as a server of a manufacturer, a server of an application store, or a memory of a relay server.
다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (eg, module or program) of the above-described components may include a singular number or a plurality of entities. According to various embodiments, one or more components or operations among the above-described corresponding components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (eg, a module or program) may be integrated into one component. In this case, the integrated component may perform one or more functions of each component of the plurality of components in the same or similar to that performed by the corresponding component among the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component may be sequentially, parallel, repeatedly, or heuristically executed, or one or more of the operations may be executed in a different order or omitted. Or one or more other actions may be added.
Claims (20)
상기 전자 장치의 제1 인증서 데이터 및 외부 전자 장치의 제2 인증서 데이터를 포함하는 인증서 목록을 저장하는 메모리;
근거리 무선 통신 회로; 및
상기 메모리 및 상기 근거리 무선 통신 회로와 작동적으로 연결된 프로세서를 포함하고,
상기 메모리는, 실행 시에, 상기 프로세서가,
상기 전자 장치 주변의 장치와 통신 연결을 수립하는 동작을 실행하도록 하는 트리거 이벤트를 감지하고,
상기 트리거 이벤트의 감지에 응답하여, 상기 제1 인증서 데이터에 기초하여 생성된 광고 패킷을 브로드캐스트하도록 상기 근거리 무선 통신 회로를 제어하며,
상기 광고 패킷에 대한 응답으로 상기 외부 전자 장치로부터 응답 패킷을 수신한 경우, 상기 응답 패킷으로부터 제3 인증서 데이터를 획득하고,
상기 제2 인증서 데이터와 상기 제3 인증서 데이터에 기초하여 상기 외부 전자 장치를 인증하고,
상기 외부 전자 장치가 인증된 경우 상기 외부 전자 장치와 보안 통신 채널을 수립하도록 하는 인스트럭션들을 저장하는, 전자 장치.In the electronic device,
A memory for storing a certificate list including first certificate data of the electronic device and second certificate data of an external electronic device;
Short-range wireless communication circuit; And
And a processor operatively connected to the memory and the short-range wireless communication circuit,
The memory, when executed, the processor,
Detecting a trigger event for executing an operation of establishing a communication connection with a device around the electronic device,
In response to detection of the trigger event, controlling the short-range wireless communication circuit to broadcast an advertisement packet generated based on the first certificate data,
When a response packet is received from the external electronic device in response to the advertisement packet, third certificate data is obtained from the response packet,
Authenticate the external electronic device based on the second certificate data and the third certificate data,
An electronic device that stores instructions for establishing a secure communication channel with the external electronic device when the external electronic device is authenticated.
상기 인스트럭션들은 상기 프로세서가,
상기 제1 인증서 데이터로부터 해시 함수를 이용하여 제1 해시 값을 획득하고,
상기 제1 해시 값을 포함하도록 상기 광고 패킷을 생성하며,
상기 응답 패킷으로부터 제2 해시 값을 포함하는 상기 제3 인증서 데이터를 획득하고,
상기 제2 해시 값과 상기 제2 인증서 데이터로부터 생성된 해시 값을 비교한 결과에 기초하여 상기 외부 전자 장치를 인증하도록 구성된, 전자 장치.The method according to claim 1,
The instructions are the processor,
Obtaining a first hash value from the first certificate data using a hash function,
Generating the advertisement packet to include the first hash value,
Obtaining the third certificate data including a second hash value from the response packet,
The electronic device, configured to authenticate the external electronic device based on a result of comparing the second hash value with the hash value generated from the second certificate data.
외부 서버와 통신하도록 구성되는 원거리 무선 통신 회로를 더 포함하고,
상기 인스트럭션들은 상기 프로세서가,
상기 원거리 무선 통신 회로를 통해, 상기 제1 인증서 데이터 및 상기 전자 장치에 대한 제1 사용자 식별 정보를 사용자 계정에 기반하여 상기 전자 장치가 로그인한 상기 외부 서버에 등록하도록 구성된, 전자 장치.The method according to claim 1,
Further comprising a long-range wireless communication circuit configured to communicate with an external server,
The instructions are the processor,
The electronic device, configured to register the first certificate data and first user identification information for the electronic device in the external server to which the electronic device logs in based on a user account through the long-distance wireless communication circuit.
상기 메모리는 상기 외부 전자 장치에 대한 제2 사용자 식별 정보를 저장하고,
상기 인스트럭션들은 상기 프로세서가,
상기 원거리 무선 통신 회로를 통해, 상기 제2 사용자 식별 정보를 사용자 계정에 기반하여 상기 전자 장치가 로그인한 상기 외부 서버로 전송하고,
상기 원거리 무선 통신 회로를 통해, 상기 제2 사용자 식별 정보에 대한 응답으로, 상기 외부 서버로부터 상기 제2 사용자 식별 정보에 상응하는 상기 제2 인증서 데이터를 수신하도록 구성된, 전자 장치.The method of claim 3,
The memory stores second user identification information on the external electronic device,
The instructions are the processor,
Transmitting the second user identification information to the external server to which the electronic device is logged in, based on a user account, through the long-distance wireless communication circuit,
The electronic device, configured to receive the second certificate data corresponding to the second user identification information from the external server in response to the second user identification information through the long-distance wireless communication circuit.
상기 제2 사용자 식별 정보는, 상기 외부 전자 장치에 상응하는 연락처 정보를 포함하는, 전자 장치.The method of claim 4,
The second user identification information includes contact information corresponding to the external electronic device.
디스플레이를 더 포함하고,
상기 인스트럭션들은 상기 프로세서가,
상기 디스플레이를 통해서 상기 제2 사용자 식별 정보를 나타내는 시각적 항목을 표시하고,
상기 시각적 항목에 대한 사용자 입력을 수신하며,
상기 사용자 입력에 대한 응답으로, 상기 근거리 무선 통신 회로를 통해 상기 트리거 이벤트에 상응하는 콘텐트 데이터를 상기 보안 통신 채널을 통해서 상기 외부 전자 장치로 전송하도록 구성된, 전자 장치.The method of claim 4,
Further comprising a display,
The instructions are the processor,
Display a visual item representing the second user identification information through the display,
Receive user input for the visual item,
In response to the user input, the electronic device configured to transmit content data corresponding to the trigger event to the external electronic device through the secure communication channel through the short-range wireless communication circuit.
상기 인스트럭션들은 상기 프로세서가,
상기 외부 전자 장치와 공유되는 공유 키를 획득하고,
상기 공유 키에 기초하여 상기 제1 인증서 데이터를 암호화하며,
상기 암호화된 제1 인증서 데이터를 포함하여 상기 광고 패킷을 생성하도록 구성된, 전자 장치.The method according to claim 1,
The instructions are the processor,
Obtaining a shared key shared with the external electronic device,
Encrypting the first certificate data based on the shared key,
The electronic device, configured to generate the advertisement packet including the encrypted first certificate data.
상기 전자 장치의 제1 인증서 데이터, 외부 전자 장치에 대한 제1 사용자 식별 정보 및 상기 제1 사용자 식별 정보에 상응하는 제2 인증서 데이터를 저장하는 메모리;
근거리 무선 통신 회로; 및
상기 메모리 및 상기 근거리 무선 통신 회로와 작동적으로 연결된 프로세서를 포함하고,
상기 메모리는, 실행 시에, 상기 프로세서가,
상기 근거리 무선 통신 회로를 통해서 제3 인증서 데이터를 포함하는 광고 패킷을 수신하고,
상기 광고 패킷의 수신에 응답하여, 상기 제3 인증서 데이터를 상기 제2 인증서 데이터와 비교하고,
상기 제3 인증서 데이터와 상기 제2 인증서 데이터가 매칭되는 경우, 상기 제1 인증서 데이터에 기초하여 생성된 응답 패킷을 상기 근거리 무선 통신 회로를 통해 상기 외부 전자 장치로 전송하며,
상기 근거리 무선 통신 회로를 통해, 상기 전송된 응답 패킷에 대한 상기 외부 전자 장치의 응답에 기초하여 상기 외부 전자 장치와 보안 통신 채널을 수립하도록 하는 인스트럭션들을 저장하는, 전자 장치.In the electronic device,
A memory for storing first certificate data of the electronic device, first user identification information of the external electronic device, and second certificate data corresponding to the first user identification information;
Short-range wireless communication circuit; And
And a processor operatively connected to the memory and the short-range wireless communication circuit,
The memory, when executed, the processor,
Receiving an advertisement packet including third certificate data through the short-range wireless communication circuit,
In response to receiving the advertisement packet, comparing the third certificate data with the second certificate data,
When the third certificate data and the second certificate data are matched, a response packet generated based on the first certificate data is transmitted to the external electronic device through the short-range wireless communication circuit,
The electronic device storing instructions for establishing a secure communication channel with the external electronic device based on a response of the external electronic device to the transmitted response packet through the short-range wireless communication circuit.
상기 전자 장치의 제1 인증서 데이터 및 외부 전자 장치의 제2 인증서 데이터를 저장하는 메모리;
근거리 무선 통신 회로;
원거리 무선 통신 회로; 및
상기 메모리, 상기 근거리 무선 통신 회로, 및 상기 원거리 무선 통신 회로와 작동적으로 연결된 프로세서를 포함하고,
상기 메모리는, 실행 시에, 상기 프로세서가,
상기 원거리 무선 통신 회로를 통해, 외부 서버에 사용자 계정에 기초하여 로그인을 수행하고,
상기 원거리 무선 통신 회로를 통해, 상기 외부 서버로부터 상기 사용자 계정에 상응하는 계정 키 값을 수신하며,
상기 전자 장치 주변의 장치와 통신 연결을 수립하는 동작을 실행하도록 하는 트리거 이벤트를 감지하고,
상기 트리거 이벤트의 감지에 응답하여, 상기 계정 키 값을 포함하는 메시지를 브로드캐스트하도록 상기 근거리 무선 통신 회로를 제어하며,
상기 메시지에 기초하여 상기 계정 키 값과 동일한 키 값을 가지는 상기 외부 전자 장치를 확인하고,
상기 근거리 무선 통신 회로를 통해, 상기 외부 전자 장치에 상기 제1 인증서 데이터를 전송하며,
상기 근거리 무선 통신 회로를 통해, 상기 외부 전자 장치로부터 제3 인증서 데이터를 수신하고,
상기 제2 인증서 데이터와 상기 제3 인증서 데이터에 기초하여 상기 외부 전자 장치를 인증하도록 하는 인스트럭션들을 저장하는, 전자 장치.In the electronic device,
A memory for storing first certificate data of the electronic device and second certificate data of an external electronic device;
Short-range wireless communication circuit;
Long-range wireless communication circuit; And
A processor operatively connected to the memory, the short-range wireless communication circuit, and the long-range wireless communication circuit,
The memory, when executed, the processor,
Through the long-distance wireless communication circuit, log in to an external server based on a user account,
Through the long-distance wireless communication circuit, receiving an account key value corresponding to the user account from the external server,
Detecting a trigger event for executing an operation of establishing a communication connection with a device around the electronic device,
In response to detection of the trigger event, controlling the short-range wireless communication circuit to broadcast a message including the account key value,
Identifying the external electronic device having the same key value as the account key value based on the message,
Transmitting the first certificate data to the external electronic device through the short-range wireless communication circuit,
Through the short-range wireless communication circuit, receiving third certificate data from the external electronic device,
An electronic device that stores instructions for authenticating the external electronic device based on the second certificate data and the third certificate data.
상기 인스트럭션들은 상기 프로세서가,
블룸 필터를 이용하여 상기 메시지를 변조하고,
상기 변조된 메시지를 브로드캐스트하도록 상기 근거리 무선 통신 회로를 제어하도록 구성된, 전자 장치.The method of claim 9,
The instructions are the processor,
Modulate the message using a bloom filter,
The electronic device configured to control the near field communication circuit to broadcast the modulated message.
상기 인스트럭션들은 상기 프로세서가,
상기 원거리 무선 통신 회로를 통해, 상기 외부 서버에 사용자를 식별할 수 있는 사용자 고유 정보를 전송하고,
상기 원거리 무선 통신 회로를 통해, 상기 외부 서버로부터 상기 사용자 고유 정보에 기초하여 생성된 상기 계정 키 값을 수신하도록 구성된, 전자 장치.The method of claim 10,
The instructions are the processor,
Transmitting user-specific information for identifying a user to the external server through the long-distance wireless communication circuit,
The electronic device, configured to receive the account key value generated based on the user-specific information from the external server through the long-range wireless communication circuit.
상기 인스트럭션들은 상기 프로세서가,
상기 원거리 무선 통신 회로를 통해, 상기 사용자 계정에 기반하여 상기 외부 서버에 상기 제1 인증서 데이터를 등록하도록 구성된, 전자 장치.The method of claim 10,
The instructions are the processor,
The electronic device, configured to register the first certificate data to the external server based on the user account through the long-range wireless communication circuit.
상기 인스트럭션들은 상기 프로세서가,
상기 원거리 무선 통신 회로를 통해, 상기 사용자 계정에 기반하여 상기 외부 서버에 등록된 상기 제2 인증서 데이터를 상기 외부 서버로부터 수신하도록 구성된, 전자 장치.The method of claim 10,
The instructions are the processor,
The electronic device, configured to receive, from the external server, the second certificate data registered in the external server based on the user account through the long-distance wireless communication circuit.
상기 전자 장치의 제1 인증서 데이터 및 외부 전자 장치의 제2 인증서 데이터를 저장하는 메모리;
근거리 무선 통신 회로;
원거리 무선 통신 회로; 및
상기 메모리, 상기 근거리 무선 통신 회로, 및 상기 원거리 무선 통신 회로와 작동적으로 연결된 프로세서를 포함하고,
상기 메모리는, 실행 시에, 상기 프로세서가,
상기 원거리 무선 통신 회로를 통해, 외부 서버에 사용자 계정에 기초하여 로그인을 수행하고,
상기 원거리 무선 통신 회로를 통해, 상기 외부 서버로부터 상기 사용자 계정에 상응하는 계정 키 값을 수신하며,
상기 근거리 무선 통신 회로를 통해서 상기 계정 키 값을 포함하는 메시지를 수신하며,
상기 메시지에 기초하여 상기 계정 키 값과 동일한 키 값을 가지는 상기 외부 전자 장치를 확인하고,
상기 근거리 무선 통신 회로를 통해, 상기 외부 전자 장치로부터 제3 인증서 데이터를 수신하고,
상기 제2 인증서 데이터와 상기 제3 인증서 데이터에 기초하여 상기 외부 전자 장치를 인증하며,
상기 외부 전자 장치의 인증이 완료된 경우, 상기 근거리 무선 통신 회로를 통해, 상기 외부 전자 장치로 상기 제1 인증서 데이터를 전송하도록 하는 인스트럭션들을 저장하는, 전자 장치.In the electronic device,
A memory for storing first certificate data of the electronic device and second certificate data of an external electronic device;
Short-range wireless communication circuit;
Long-range wireless communication circuit; And
A processor operatively connected to the memory, the short-range wireless communication circuit, and the long-range wireless communication circuit,
The memory, when executed, the processor,
Through the long-distance wireless communication circuit, log in to an external server based on a user account,
Through the long-distance wireless communication circuit, receiving an account key value corresponding to the user account from the external server,
Receiving a message including the account key value through the short-range wireless communication circuit,
Identifying the external electronic device having the same key value as the account key value based on the message,
Through the short-range wireless communication circuit, receiving third certificate data from the external electronic device,
Authenticating the external electronic device based on the second certificate data and the third certificate data,
When authentication of the external electronic device is completed, the electronic device stores instructions for transmitting the first certificate data to the external electronic device through the short-range wireless communication circuit.
상기 전자 장치의 제1 인증서 데이터 및 상기 외부 전자 장치의 제2 인증서 데이터를 저장하는 동작;
상기 전자 장치 주변의 장치와 통신 연결을 수립하도록 하는 트리거 이벤트를 감지하는 동작;
상기 트리거 이벤트의 감지에 응답하여, 상기 제1 인증서 데이터에 기초하여 생성된 광고 패킷을 브로드캐스트하는 동작;
상기 광고 패킷에 대한 응답으로 상기 외부 전자 장치로부터 응답 패킷을 수신한 경우, 상기 응답 패킷으로부터 제3 인증서 데이터를 획득하는 동작;
상기 제2 인증서 데이터와 상기 제3 인증서 데이터에 기초하여 상기 외부 전자 장치를 인증하는 동작; 및
상기 외부 전자 장치가 인증된 경우 상기 외부 전자 장치와 보안 통신 채널을 수립하는 동작을 포함하는, 방법.In a method for an electronic device to communicate with an external electronic device,
Storing first certificate data of the electronic device and second certificate data of the external electronic device;
Detecting a trigger event for establishing a communication connection with a device surrounding the electronic device;
In response to detecting the trigger event, broadcasting an advertisement packet generated based on the first certificate data;
Acquiring third certificate data from the response packet when a response packet is received from the external electronic device in response to the advertisement packet;
Authenticating the external electronic device based on the second certificate data and the third certificate data; And
And establishing a secure communication channel with the external electronic device when the external electronic device is authenticated.
사용자 계정에 기반하여 상기 전자 장치가 외부 서버에 로그인하는 동작;
상기 외부 전자 장치에 대한 제2 사용자 식별 정보를 상기 외부 서버로 전송하는 동작; 및
상기 상기 제2 사용자 식별 정보에 대한 응답으로, 상기 외부 서버로부터 상기 제2 사용자 식별 정보에 상응하는 상기 제2 인증서 데이터를 수신하는 동작을 포함하는, 방법.The method of claim 15,
Logging in to an external server by the electronic device based on a user account;
Transmitting second user identification information on the external electronic device to the external server; And
And receiving the second certificate data corresponding to the second user identification information from the external server in response to the second user identification information.
상기 전자 장치의 제1 인증서 데이터 및 상기 외부 전자 장치의 제2 인증서 데이터를 저장하는 동작;
제3 인증서 데이터를 포함하는 광고 패킷을 수신하는 동작;
상기 광고 패킷의 수신에 응답하여, 상기 제3 인증서 데이터를 상기 제2 인증서 데이터와 비교하는 동작;
상기 제3 인증서 데이터와 상기 제2 인증서 데이터가 매칭되는 경우, 상기 제1 인증서 데이터에 기초하여 생성된 응답 패킷을 상기 외부 전자 장치로 전송하는 동작; 및
상기 전송된 응답 패킷에 대한 상기 외부 전자 장치의 응답에 기초하여 상기 외부 전자 장치와 보안 통신 채널을 수립하는 동작을 포함하는, 방법.In a method for an electronic device to communicate with an external electronic device,
Storing first certificate data of the electronic device and second certificate data of the external electronic device;
Receiving an advertisement packet including third certificate data;
In response to receiving the advertisement packet, comparing the third certificate data with the second certificate data;
When the third certificate data and the second certificate data match, transmitting a response packet generated based on the first certificate data to the external electronic device; And
And establishing a secure communication channel with the external electronic device based on a response of the external electronic device to the transmitted response packet.
상기 전자 장치의 제1 인증서 데이터 및 상기 외부 전자 장치의 제2 인증서 데이터를 저장하는 동작;
외부 서버에 사용자 계정에 기초하여 로그인을 수행하는 동작;
상기 외부 서버로부터 상기 사용자 계정에 상응하는 계정 키 값을 수신하는 동작;
상기 전자 장치 주변의 장치와 통신 연결을 수립하도록 하는 트리거 이벤트를 감지하는 동작;
상기 트리거 이벤트의 감지에 응답하여, 상기 계정 키 값을 포함하는 메시지를 브로드캐스트하는 동작;
상기 메시지에 기초하여 상기 계정 키 값과 동일한 키 값을 가지는 상기 외부 전자 장치를 확인하는 동작;
상기 외부 전자 장치에 상기 제1 인증서 데이터를 전송하는 동작;
상기 외부 전자 장치로부터 제3 인증서 데이터를 수신하는 동작; 및
상기 제2 인증서 데이터와 상기 제3 인증서 데이터에 기초하여 상기 외부 전자 장치를 인증하는 동작을 포함하는, 방법.In a method for an electronic device to communicate with an external electronic device,
Storing first certificate data of the electronic device and second certificate data of the external electronic device;
Logging in to an external server based on a user account;
Receiving an account key value corresponding to the user account from the external server;
Detecting a trigger event for establishing a communication connection with a device surrounding the electronic device;
Broadcasting a message including the account key value in response to detection of the trigger event;
Identifying the external electronic device having the same key value as the account key value based on the message;
Transmitting the first certificate data to the external electronic device;
Receiving third certificate data from the external electronic device; And
And authenticating the external electronic device based on the second certificate data and the third certificate data.
상기 사용자 계정에 기반하여 상기 외부 서버에 등록된 상기 제2 인증서 데이터를 상기 외부 서버로부터 수신하는 동작을 더 포함하는, 방법.The method of claim 18,
The method further comprising receiving the second certificate data registered in the external server from the external server based on the user account.
상기 전자 장치의 제1 인증서 데이터 및 상기 외부 전자 장치의 제2 인증서 데이터를 저장하는 동작;
외부 서버에 사용자 계정에 기초하여 로그인을 수행하는 동작;
상기 외부 서버로부터 상기 사용자 계정에 상응하는 계정 키 값을 수신하는 동작;
상기 근거리 무선 통신 회로를 통해서 상기 계정 키 값을 포함하는 메시지를 수신하는 동작;
상기 메시지에 기초하여 상기 계정 키 값과 동일한 키 값을 가지는 상기 외부 전자 장치를 확인하는 동작;
상기 외부 전자 장치로부터 제3 인증서 데이터를 수신하는 동작;
상기 제2 인증서 데이터와 상기 제3 인증서 데이터에 기초하여 상기 외부 전자 장치를 인증하는 동작; 및
상기 외부 전자 장치의 인증이 완료된 경우, 상기 외부 전자 장치로 상기 제1 인증서 데이터를 전송하는 동작을 포함하는, 방법.In a method for an electronic device to communicate with an external electronic device,
Storing first certificate data of the electronic device and second certificate data of the external electronic device;
Logging in to an external server based on a user account;
Receiving an account key value corresponding to the user account from the external server;
Receiving a message including the account key value through the short-range wireless communication circuit;
Identifying the external electronic device having the same key value as the account key value based on the message;
Receiving third certificate data from the external electronic device;
Authenticating the external electronic device based on the second certificate data and the third certificate data; And
And transmitting the first certificate data to the external electronic device when authentication of the external electronic device is completed.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202080090350.5A CN114846832A (en) | 2019-10-25 | 2020-10-23 | Method for communicating with external electronic device and electronic device thereof |
EP20879210.1A EP4032333A4 (en) | 2019-10-25 | 2020-10-23 | Method for communicating with external electronic apparatus and electronic apparatus thereof |
PCT/KR2020/014553 WO2021080364A1 (en) | 2019-10-25 | 2020-10-23 | Method for communicating with external electronic apparatus and electronic apparatus thereof |
US17/079,749 US11570602B2 (en) | 2019-10-25 | 2020-10-26 | Method for communicating with external electronic apparatus and electronic apparatus thereof |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020190133855 | 2019-10-25 | ||
KR20190133855 | 2019-10-25 |
Publications (1)
Publication Number | Publication Date |
---|---|
KR20210049653A true KR20210049653A (en) | 2021-05-06 |
Family
ID=75916013
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020200015532A KR20210049653A (en) | 2019-10-25 | 2020-02-10 | Method for communicating with external electronic apparatus and electronic appratus thereof |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR20210049653A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11671806B2 (en) | 2020-02-10 | 2023-06-06 | Samsung Electronics Co., Ltd. | Method for communication based on state of external electronic device and electronic device thereof |
-
2020
- 2020-02-10 KR KR1020200015532A patent/KR20210049653A/en unknown
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11671806B2 (en) | 2020-02-10 | 2023-06-06 | Samsung Electronics Co., Ltd. | Method for communication based on state of external electronic device and electronic device thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11200018B2 (en) | Electronic device and method for sharing screen data | |
KR102657527B1 (en) | Method for setting of a device based on information associated with account and electronic device thereof | |
US11496900B2 (en) | Electronic device and method for storing user identification information | |
KR102400580B1 (en) | Electronic device for performing an authentication of another electronic device and method of operating the same | |
US11671806B2 (en) | Method for communication based on state of external electronic device and electronic device thereof | |
US11647111B2 (en) | Method for sharing Bluetooth communication information and electronic device therefor | |
US20230261886A1 (en) | Electronic device and method for sharing data using blockchain network | |
EP4262146A1 (en) | Iot device and method for onboarding iot device to server | |
EP4102770A1 (en) | Electronic device and method for performing peer to peer service in electronic device | |
KR20200034289A (en) | Apparatus and system for providing identity informmation | |
US20200329017A1 (en) | Electronic device and method for sharing medical information by electronic device | |
KR20210049653A (en) | Method for communicating with external electronic apparatus and electronic appratus thereof | |
US11076031B2 (en) | Electronic device for providing different services according to external device | |
KR20200068068A (en) | ELECTRONIC DEVICE FOR REGISTERING IoT DEVICE, SERVER AND METHOD FOR OPERATING THEREOF | |
US20220166769A1 (en) | Electronic device for verifying a user's identity | |
US11570602B2 (en) | Method for communicating with external electronic apparatus and electronic apparatus thereof | |
KR20210017072A (en) | Electronic device activating application via key account and system having the same | |
KR20190095784A (en) | Electronic device for connecting external devices based on connection information and operating method thereof | |
US20220209954A1 (en) | Electronic device for sharing id and password, method for operating thereof, and server | |
US20230289786A1 (en) | Electronic device for transmitting transaction by using external device and operation method thereof | |
KR102404421B1 (en) | Method and device for recognizing external electronic device | |
KR20210101998A (en) | Electronic device and method for performing peer to peer service in electronic device | |
KR20200099339A (en) | Electronic device and system for uploading and/or downloading content and operating method thereof | |
KR20220000719A (en) | Electronice device and method for transmitting content | |
KR20240045032A (en) | Apparatus and method for transmitting data by block-chain |