ELECTRONIC DEVICE AND METHOD FOR PERFORMING PEER TO PEER SERVICE IN ELECTRONIC DEVICE

    公开(公告)号:US20220377553A1

    公开(公告)日:2022-11-24

    申请号:US17882212

    申请日:2022-08-05

    摘要: An electronic device and a method for performing a peer to peer (P2P) service in the electronic device are provided. The electronic device includes a communication module, a processor, a memory, and a security module, wherein the memory may be configured to store instructions that, when executed, enable the processor to receive a public key from an external electronic device as a P2P service is requested, transmit, to the external electronic device, an authentication certificate chain generated on the basis of the received public key via the security module, verify an authentication certificate chain received from the external electronic device by using a root authentication certificate stored in the security module, receive encrypted information of the external electronic device from the external electronic device, decrypt the encrypted information of the external electronic device by using a shared key generated according to a result of the verifying of the received authentication certificate chain, and perform the P2P service with the external electronic device via the communication module, on the basis of the decoded information of the external electronic device.

    ELECTRONIC DEVICE SHARING PERIPHERAL DEVICE WITH EXTERNAL ELECTRONIC DEVICE AND METHOD THEREOF

    公开(公告)号:US20230132947A1

    公开(公告)日:2023-05-04

    申请号:US18091508

    申请日:2022-12-30

    摘要: An electronic device includes a short-range wireless communication circuit configured to perform first short-range wireless communication based on a first protocol and second short-range wireless communication based on a second protocol; and a processor operatively connected with the short-range wireless communication circuit. The processor connects the first short-range wireless communication with a peripheral device through the short-range wireless communication circuit, forms a cluster including the electronic device and at least one external electronic device, wherein the electronic device and the at least one external electronic device are registered to a same user account, transmits information associated with the peripheral device to the at least one external device included in the cluster through the second short-range wireless communication, selects an external electronic device responding to the transmitted information, from among the at least one device included in the cluster, establishes a wireless data communication path with the selected external electronic device, receives input information from the peripheral device through the short-range wireless communication circuit, and transmits the received input information or control information corresponding to the received input information to the external electronic device through the wireless data communication path.