KR20240045032A - Apparatus and method for transmitting data by block-chain - Google Patents

Apparatus and method for transmitting data by block-chain Download PDF

Info

Publication number
KR20240045032A
KR20240045032A KR1020220140164A KR20220140164A KR20240045032A KR 20240045032 A KR20240045032 A KR 20240045032A KR 1020220140164 A KR1020220140164 A KR 1020220140164A KR 20220140164 A KR20220140164 A KR 20220140164A KR 20240045032 A KR20240045032 A KR 20240045032A
Authority
KR
South Korea
Prior art keywords
transaction
electronic device
node
shared data
blockchain network
Prior art date
Application number
KR1020220140164A
Other languages
Korean (ko)
Inventor
김용준
류영환
원성욱
장근석
한용길
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to PCT/KR2023/008911 priority Critical patent/WO2024071582A1/en
Priority to US18/452,228 priority patent/US20240112193A1/en
Publication of KR20240045032A publication Critical patent/KR20240045032A/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2463/00Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00
    • H04L2463/102Additional details relating to network architectures or network communication protocols for network security covered by H04L63/00 applying security measure for e-commerce

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

전자 장치는 통신 회로, 블록체인(block chain) 네트워크에 대한 전체 원장 중 일부를 포함하는 부분 원장 또는 전체 원장을 저장하는 메모리 및 프로세서를 포함하고, 원장은 전자 장치가 합의에 참여한 적어도 하나의 트랜잭션 각각에 상응하는 적어도 하나의 블록을 포함할 수 있다. 프로세서는 전자 장치의 공유 데이터 및 공유 데이터를 제공 받을 외부 사용자에 관한 정보를 포함하는 스마트 계약(smart contract)을 이용하여 제 1 트랜잭션(transaction)을 생성하고, 제 1 트랜잭션을 블록체인 네트워크에 전송하도록 요청하고, 전자 장치가 합의에 참여한 적어도 하나의 트랜잭션 각각에 상응하는 적어도 하나의 블록을 생성하는 노드를 이용하여 제 1 트랜잭션을 검증하고, 제 1 트랜잭션의 신뢰성을 확인함에 기반하여 블록체인 네트워크 상으로 제 1 트랜잭션을 전송하고, 제 1 트랜잭션에 대응하는 제 1 블록을 생성하며, 블록체인 네트워크로부터 공유 데이터의 제공 요청을 포함하는 제 2 트랜잭션을 수신함에 기반하여 제 2 트랜잭션을 검증하고, 제 2 트랜잭션의 신뢰성을 확인함에 기반하여 스마트 계약을 실행하고, 제 2 트랜잭션에 대응하는 제 2 블록을 생성할 수 있다.The electronic device includes communication circuitry, a memory and a processor to store a partial or full ledger including a portion of the entire ledger for a blockchain network, wherein each of at least one transaction on which the electronic device participates in consensus It may contain at least one block corresponding to . The processor creates a first transaction using a smart contract containing information about the shared data of the electronic device and the external user who will receive the shared data, and transmits the first transaction to the blockchain network. request, verify the first transaction using a node that generates at least one block corresponding to each of at least one transaction in which the electronic device participated in the agreement, and confirm the reliability of the first transaction on the blockchain network. Send a first transaction, create a first block corresponding to the first transaction, verify the second transaction based on receiving a second transaction comprising a request to provide shared data from the blockchain network, and Based on confirming the reliability of , the smart contract can be executed and a second block corresponding to the second transaction can be created.

Description

블록체인 기반 데이터 전송 방법 및 장치{APPARATUS AND METHOD FOR TRANSMITTING DATA BY BLOCK-CHAIN}Blockchain-based data transmission method and device {APPARATUS AND METHOD FOR TRANSMITTING DATA BY BLOCK-CHAIN}

본 문서의 다양한 실시예들은 블록체인을 기반으로 데이터를 전송하는 전자 장치 및 데이터 전송 방법을 포함할 수 있다.Various embodiments of this document may include electronic devices and data transmission methods that transmit data based on blockchain.

블록체인은, 정보를 블록에 저장하여 기존 블록에 연속적으로 연결하여 체인 형태를 구성하는 자료 구조로서, 하나의 컴퓨터에서 동작하는 데이터 베이스와 같은 자료 저장 구조가 아닌 노드 대 노드(peer to peer, P2P) 네트워크 시스템을 이용한 분산형 자료 구조를 의미할 수 있다. 블록체인은 보안성을 위해 모든 노드들이 동일한 데이터 블록을 저장할 수 있다.Blockchain is a data structure that stores information in blocks and continuously connects them to existing blocks to form a chain. It is not a data storage structure like a database running on a single computer, but a node-to-node (peer-to-peer, P2P) structure. ) It can refer to a distributed data structure using a network system. Blockchain allows all nodes to store the same data block for security purposes.

전자 장치는 블록체인 네트워크에 대한 분산 원장 중에서 노드와 관련된 블록들과, 블록과 관련된 원장을 부분적(예: 부분 원장)으로 저장하거나 , 블록체인 네트워크에 대한 분산 원장의 전체(또는 전체 원장)을 저장할 수 있다. 예를 들어, 분산 원장은 블록체인 네트워크에서의 적어도 하나의 트랜잭션을 각각 포함하는 적어도 하나의 블록 및 스테이트 데이터 베이스(state data base)를 포함할 수 있다. 분산 원장 각각에 포함된 적어도 하나의 블록은 각각 해시 필드를 이용해 연결될 수 있다. 따라서, 해시 필드를 통한 연결이 끊어지거나, 상이한 분산 원장이 발견된 경우, 블록체인 노드들은 해당 블록에 대한 신뢰성 및 유효성을 의심할 수 있다.Electronic devices may store blocks related to nodes and ledgers related to blocks partially (e.g., a partial ledger) among the distributed ledgers for the blockchain network, or store the entire distributed ledger for the blockchain network (or the entire ledger). You can. For example, a distributed ledger may include at least one block and state database, each containing at least one transaction in the blockchain network. At least one block included in each distributed ledger can be linked using a hash field. Therefore, if the connection through the hash field is lost or a different distributed ledger is discovered, blockchain nodes may question the reliability and validity of the block.

디바이스 간 또는 서버 간에 데이터를 주고 받을 시 서로 자격 조건(specification)을 정의하여 진행해야 하므로 많은 시간 및 노력이 소요될 수 있다. 그리고 어플리케이션이나 원하는 데이터의 변경 시, 어플리케이션이나 서버의 업데이트가 필요할 수 있다. 또한, 연동하는 디바이스가 달라지는 경우, 디바이스의 업데이트가 필요할 수 있다.When exchanging data between devices or servers, specifications must be defined for each other, which can take a lot of time and effort. And when the application or desired data changes, an update of the application or server may be required. Additionally, if the connected device changes, the device may need to be updated.

또한, 디바이스 간 또는 서버 간에 데이터를 주고 받더라도, 해당 데이터가 신뢰할 만한 것인지 입증하기 어려울 수 있다. 제 3 자에 해당하는 디바이스 또는 서버는 데이터의 전송 이력을 확인하기 어려울 수 있다.Additionally, even if data is exchanged between devices or servers, it may be difficult to prove whether the data is trustworthy. It may be difficult for third-party devices or servers to check the data transmission history.

일 실시예에서, 전자 장치는 통신 회로, 블록체인(block chain) 네트워크에 대한 전체 원장 중 일부를 포함하는 부분 원장 또는 전체 원장을 저장하는 메모리 및 프로세서를 포함하고, 원장은 전자 장치가 합의에 참여한 적어도 하나의 트랜잭션 각각에 상응하는 적어도 하나의 블록을 포함할 수 있다. 프로세서는 전자 장치의 공유 데이터 및 공유 데이터를 제공 받을 외부 사용자에 관한 정보를 포함하는 스마트 계약(smart contract)을 이용하여 제 1 트랜잭션(transaction)을 생성하고, 제 1 트랜잭션을 블록체인 네트워크에 전송하도록 요청하고, 전자 장치가 합의에 참여한 적어도 하나의 트랜잭션 각각에 상응하는 적어도 하나의 블록을 생성하는 노드를 이용하여 제 1 트랜잭션을 검증하고, 제 1 트랜잭션의 신뢰성을 확인함에 기반하여 블록체인 네트워크 상으로 제 1 트랜잭션을 전송하고, 제 1 트랜잭션에 대응하는 제 1 블록을 생성하며, 블록체인 네트워크로부터 공유 데이터의 제공 요청을 포함하는 제 2 트랜잭션을 수신함에 기반하여 제 2 트랜잭션을 검증하고, 제 2 트랜잭션의 신뢰성을 확인함에 기반하여 스마트 계약을 실행하고, 제 2 트랜잭션에 대응하는 제 2 블록을 생성할 수 있다.In one embodiment, the electronic device includes communication circuitry, a memory and a processor to store a partial ledger or full ledger including a portion of the entire ledger for a blockchain network, the ledger being the part of the electronic device participating in the consensus. It may include at least one block corresponding to each of at least one transaction. The processor creates a first transaction using a smart contract containing information about the shared data of the electronic device and the external user who will receive the shared data, and transmits the first transaction to the blockchain network. request, verify the first transaction using a node that generates at least one block corresponding to each of at least one transaction in which the electronic device participated in the agreement, and confirm the reliability of the first transaction on the blockchain network. Send a first transaction, create a first block corresponding to the first transaction, verify the second transaction based on receiving a second transaction comprising a request to provide shared data from the blockchain network, and Based on confirming the reliability of , the smart contract can be executed and a second block corresponding to the second transaction can be created.

서버는 통신 회로, 전체 원장 중 일부를 포함하는 부분 원장 또는 전체 원장을 저장하는 메모리 및 프로세서를 포함할 수 있다. 프로세서는 제 1 외부 장치의 제 1 노드로부터 공유 데이터 및 공유 데이터를 제공 받을 외부 사용자에 관한 정보와 관련된 스마트 계약(smart contract)을 포함하는 제 1 트랜잭션을 수신하고, 제 2 외부 장치의 제 2 노드로부터 공유 데이터에 대한 제공 요청을 포함하는 제 2 트랜잭션을 수신함에 기반하여 스마트 계약 상에서 공유 데이터를 제공 받을 외부 사용자에 관한 정보와 제 2 외부 장치에 관한 정보가 일치하는지 제 1 노드에 검증을 요청하고, 스마트 계약 상에서 제 2 외부 장치와 공유 데이터를 제공 받을 외부 사용자에 관한 정보가 일치함에 기반하여 제 2 외부 장치로 공유 데이터를 전송할 수 있다.The server may include communication circuitry, memory and a processor to store the full ledger or a partial ledger containing a portion of the full ledger. The processor receives a first transaction containing a smart contract related to shared data and information about an external user to be provided with the shared data from a first node of a first external device, and a second node of a second external device Based on receiving a second transaction including a request for provision of shared data from , Shared data can be transmitted to a second external device based on the match between the information about the second external device and the external user who will receive the shared data on the smart contract.

전자 장치의 데이터 전송 관리 방법은 전자 장치의 공유 데이터 및 공유 데이터를 제공 받을 외부 사용자에 관한 정보를 포함하는 스마트 계약(smart contract) 을 이용하여 제 1 트랜잭션(transaction)을 생성하는 동작, 제 1 트랜잭션을 블록체인(block chain) 네트워크에 전송하도록 요청하는 동작, 제 1 트랜잭션을 검증하고, 제 1 트랜잭션의 신뢰성을 확인함에 기반하여 블록체인 네트워크 상으로 제 1 트랜잭션을 전송하는 동작, 제 1 트랜잭션에 대응하는 제 1 블록을 생성하는 동작, 블록체인 네트워크로부터 공유 데이터의 제공 요청을 포함하는 제 2 트랜잭션을 수신함에 기반하여 제 2 트랜잭션을 검증하는 동작 및 제 2 트랜잭션의 신뢰성을 확인함에 기반하여 스마트 계약을 실행하고, 제 2 트랜잭션에 대응하는 제 2 블록을 생성하는 동작을 포함할 수 있다.A method for managing data transmission of an electronic device includes the operation of creating a first transaction using a smart contract containing information about the shared data of the electronic device and an external user who will receive the shared data, the first transaction An operation to request transmission to a blockchain network, an operation to verify the first transaction and transmit the first transaction to the blockchain network based on confirming the reliability of the first transaction, and to respond to the first transaction. creating a first block, verifying the second transaction based on receiving a second transaction containing a request for provision of shared data from the blockchain network, and creating a smart contract based on verifying the authenticity of the second transaction. It may include the operation of executing and generating a second block corresponding to the second transaction.

일 실시예에 따르면, 전자 장치는 어플리케이션 간 필요한 데이터를 전달함에 있어, 별도의 업데이트 없이 원장에 기록함으로써, 필요한 데이터를 안전하게 주고 받을 수 있다. According to one embodiment, when transmitting necessary data between applications, an electronic device can safely exchange necessary data by recording it in the ledger without a separate update.

일 실시예에 따르면, 전자 장치는 어플리케이션 간 필요한 데이터를 주고 받음에 있어 원장에 내용을 기록함으로써, 데이터 전송 내역을 쉽게 추적하고 관리할 수 있다.According to one embodiment, electronic devices can easily track and manage data transmission details by recording contents in a ledger when exchanging necessary data between applications.

도 1은 다양한 실시예들에 따른, 네트워크 환경 내의 전자 장치의 블록도이다.
도 2는 일 실시예에 따른, 전자 장치의 하드웨어 블록도이다.
도 3a는 일 실시 예에 따른 모바일 블록체인 시스템을 설명하기 위한 도면이다. 도 3b는 일 실시 예에 따른 블록체인 네트워크의 구성을 설명하기 위한 도면이다.
도 4는 일 실시예에 따른, 전자 장치, 블록체인 및 외부 장치 간의 관계를 도시한 동작 흐름도이다.
도 5a는 일 실시예에 따른 전자 장치의 블록체인을 통한 데이터 전송 상황을 도시한 것이다.
도 5b는 일 실시예에 따른 전자 장치가 허용되지 않는 어플리케이션의 데이터 전송 요청을 거절하는 상황을 도시한 것이다.
도 6은 일 실시예에 따른 전자 장치의 데이터 관리 방법을 순서도로 나타낸 것이다.
1 is a block diagram of an electronic device in a network environment, according to various embodiments.
Figure 2 is a hardware block diagram of an electronic device, according to one embodiment.
Figure 3a is a diagram for explaining a mobile blockchain system according to an embodiment. Figure 3b is a diagram for explaining the configuration of a blockchain network according to an embodiment.
FIG. 4 is an operational flowchart showing the relationship between an electronic device, a blockchain, and an external device, according to an embodiment.
FIG. 5A illustrates a data transmission situation through a blockchain of an electronic device according to an embodiment.
FIG. 5B illustrates a situation in which an electronic device rejects a data transmission request from an unauthorized application, according to one embodiment.
Figure 6 is a flowchart showing a data management method of an electronic device according to an embodiment.

도 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), 연결 단자(178), 햅틱 모듈(179), 카메라 모듈(180), 전력 관리 모듈(188), 배터리(189), 통신 모듈(190), 가입자 식별 모듈(196), 또는 안테나 모듈(197)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(178))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 실시예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(176), 카메라 모듈(180), 또는 안테나 모듈(197))은 하나의 구성요소(예: 디스플레이 모듈(160))로 통합될 수 있다.1 is a block diagram of an electronic device 101 in a network environment 100, according to various embodiments. Referring to FIG. 1, in the network environment 100, the electronic device 101 communicates with the electronic device 102 through a first network 198 (e.g., a short-range wireless communication network) or a second network 199. It is possible to communicate with at least one of the electronic device 104 or the server 108 through (e.g., a long-distance wireless communication network). According to one embodiment, the electronic device 101 may communicate with the electronic device 104 through the server 108. According to one embodiment, the electronic device 101 includes a processor 120, a memory 130, an input module 150, an audio output module 155, a display module 160, an audio module 170, and a sensor module ( 176), interface 177, connection terminal 178, haptic module 179, camera module 180, power management module 188, battery 189, communication module 190, subscriber identification module 196 , or may include an antenna module 197. In some embodiments, at least one of these components (eg, the connection terminal 178) may be omitted or one or more other components may be added to the electronic device 101. In some embodiments, some of these components (e.g., sensor module 176, camera module 180, or antenna module 197) are integrated into one component (e.g., display module 160). It can be.

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

보조 프로세서(123)는, 예를 들면, 메인 프로세서(121)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(121)를 대신하여, 또는 메인 프로세서(121)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(121)와 함께, 전자 장치(101)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(160), 센서 모듈(176), 또는 통신 모듈(190))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(180) 또는 통신 모듈(190))의 일부로서 구현될 수 있다. 일실시예에 따르면, 보조 프로세서(123)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(101) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(108))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다. The auxiliary processor 123 may, for example, act on behalf of the main processor 121 while the main processor 121 is in an inactive (e.g., sleep) state, or while the main processor 121 is in an active (e.g., application execution) state. ), together with the main processor 121, at least one of the components of the electronic device 101 (e.g., the display module 160, the sensor module 176, or the communication module 190) At least some of the functions or states related to can be controlled. According to one embodiment, co-processor 123 (e.g., image signal processor or communication processor) may be implemented as part of another functionally related component (e.g., camera module 180 or communication module 190). there is. According to one embodiment, the auxiliary processor 123 (eg, neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. Artificial intelligence models can be created through machine learning. For example, such learning may be performed in the electronic device 101 itself on which the artificial intelligence model is performed, or may be performed through a separate server (e.g., server 108). Learning algorithms may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but It is not limited. An artificial intelligence model may include multiple artificial neural network layers. Artificial neural networks include deep neural network (DNN), convolutional neural network (CNN), recurrent neural network (RNN), restricted boltzmann machine (RBM), belief deep network (DBN), bidirectional recurrent deep neural network (BRDNN), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the examples described above. In addition to hardware structures, artificial intelligence models may additionally or alternatively include software structures.

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

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

입력 모듈(150)은, 전자 장치(101)의 구성요소(예: 프로세서(120))에 사용될 명령 또는 데이터를 전자 장치(101)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(150)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다.The input module 150 may receive commands or data to be used in a component of the electronic device 101 (e.g., the processor 120) from outside the electronic device 101 (e.g., a user). The input module 150 may include, for example, a microphone, mouse, keyboard, keys (eg, buttons), or digital pen (eg, stylus pen).

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

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

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

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

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

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

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

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

전력 관리 모듈(188)은 전자 장치(101)에 공급되는 전력을 관리할 수 있다. 일실시예에 따르면, 전력 관리 모듈(188)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 188 can manage power supplied to the electronic device 101. According to one 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 battery 189 may supply power to at least one component of the electronic device 101. According to one embodiment, the battery 189 may include, for example, a non-rechargeable primary battery, a rechargeable secondary battery, or a fuel cell.

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

무선 통신 모듈(192)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(192)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(192)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(192)은 전자 장치(101), 외부 전자 장치(예: 전자 장치(104)) 또는 네트워크 시스템(예: 제 2 네트워크(199))에 규정되는 다양한 요구사항을 지원할 수 있다. 일실시예에 따르면, 무선 통신 모듈(192)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 192 may support 5G networks after 4G networks and next-generation communication technologies, for example, NR access technology (new radio access technology). NR access technology provides high-speed transmission of high-capacity data (eMBB (enhanced mobile broadband)), minimization of terminal power and access to multiple terminals (mMTC (massive machine type communications)), or high reliability and low latency (URLLC (ultra-reliable and low latency). -latency communications)) can be supported. The wireless communication module 192 may support high frequency bands (eg, mmWave bands), for example, to achieve high data rates. The wireless communication module 192 uses various technologies to secure performance in high frequency bands, for example, beamforming, massive array multiple-input and multiple-output (MIMO), and full-dimensional multiplexing. It can support technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module 192 may support various requirements specified in the electronic device 101, an external electronic device (e.g., electronic device 104), or a network system (e.g., second network 199). According to one embodiment, the wireless communication module 192 supports Peak data rate (e.g., 20 Gbps or more) for realizing eMBB, loss coverage (e.g., 164 dB or less) for realizing mmTC, or U-plane latency (e.g., 164 dB or less) for realizing URLLC. Example: Downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) can be supported.

안테나 모듈(197)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일실시예에 따르면, 안테나 모듈(197)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(198) 또는 제 2 네트워크(199)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(190)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(190)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 실시예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(197)의 일부로 형성될 수 있다.The antenna module 197 may transmit or receive signals or power to or from the outside (eg, an external electronic device). According to one embodiment, the antenna module 197 may include an antenna including a radiator made of a conductor or a conductive pattern formed on a substrate (eg, PCB). According to one embodiment, the antenna module 197 may include a plurality of antennas (eg, an array antenna). 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 second network 199 is connected to the plurality of antennas by, for example, the communication module 190. can be selected. Signals or power may be transmitted or received between the communication module 190 and an external electronic device through the at least one selected antenna. According to some embodiments, in addition to the radiator, other components (eg, radio frequency integrated circuit (RFIC)) may be additionally formed as part of the antenna module 197.

일 실시예에 따르면, 안테나 모듈(197)은 mmWave 안테나 모듈을 형성할 수 있다. 일실시예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to one embodiment, the antenna module 197 may form a mmWave antenna module. According to one embodiment, a mmWave antenna module includes: a printed circuit board, an RFIC disposed on or adjacent to a first side (e.g., bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., mmWave band); And a plurality of antennas (e.g., array antennas) disposed on or adjacent to the second side (e.g., top or side) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band. can do.

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

일실시예에 따르면, 명령 또는 데이터는 제 2 네트워크(199)에 연결된 서버(108)를 통해서 전자 장치(101)와 외부의 전자 장치(104)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(102, 또는 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 일실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(102, 104, 또는 108) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(101)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 실시예에 있어서, 외부의 전자 장치(104)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(108)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일실시예에 따르면, 외부의 전자 장치(104) 또는 서버(108)는 제 2 네트워크(199) 내에 포함될 수 있다. 전자 장치(101)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다. According to one embodiment, commands or data may be transmitted or received between the electronic device 101 and the external electronic device 104 through the server 108 connected to the second network 199. Each of the external electronic devices 102 or 104 may be of the same or different type as the electronic device 101. According to one embodiment, all or part of the operations performed in the electronic device 101 may be executed in one or more of the external electronic devices 102, 104, or 108. For example, when the electronic device 101 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 101 may perform the function or service instead of executing the function or service on its own. Alternatively, or additionally, one or more external electronic devices may be requested to perform at least part of the function or service. One or more external electronic devices that have received the request may execute at least part of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device 101. The electronic device 101 may process the result as is or additionally and provide it as at least part of a response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology can be used. The electronic device 101 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another embodiment, the external electronic device 104 may include an Internet of Things (IoT) device. Server 108 may be an intelligent server using machine learning and/or neural networks. According to one embodiment, the external electronic device 104 or server 108 may be included in the second network 199. The electronic device 101 may be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be of various types. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to embodiments of this document are 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 구성요소를 통하여 연결될 수 있다는 것을 의미한다.The various embodiments of this document and the terms used herein are not intended to limit the technical features described in this document to specific embodiments, and should be understood to include various changes, equivalents, or replacements of the embodiments. In connection with the description of the drawings, similar reference numbers may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the above items, unless the relevant context clearly indicates otherwise. As used herein, “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 phrase, or any possible combination thereof. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish one component from another, and to refer to that component in other respects (e.g., importance or order) is not limited. One (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.” When mentioned, it means that any of the components can be connected to the other components directly (e.g. wired), wirelessly, or through a third component.

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

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

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

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

도 2는 일 실시예에 따른, 전자 장치의 하드웨어 블록도이다. Figure 2 is a hardware block diagram of an electronic device, according to one embodiment.

도 2를 참조하면, 일 실시예에 따른 전자 장치(101)(예: 도 1의 전자 장치(101))는 디스플레이(210)(예: 도 1의 표시 장치(160)), 통신 회로(220)(예: 도 1의 통신 모듈 (190)), 메모리(230)(예: 도 1의 메모리(130) 및 프로세서(240)(예: 도 1의 프로세서(120))를 포함할 수 있으며, 도 1의 구성요소 일부가 추가될 수 있다. Referring to FIG. 2, the electronic device 101 (e.g., the electronic device 101 of FIG. 1) according to an embodiment includes a display 210 (e.g., the display device 160 of FIG. 1) and a communication circuit 220. ) (e.g., the communication module 190 of FIG. 1), a memory 230 (e.g., the memory 130 of FIG. 1, and a processor 240 (e.g., the processor 120 of FIG. 1), Some of the components of Figure 1 may be added.

일 실시예에 따르면, 전자 장치(101)는 블록 체인 관리 모듈(245)을 더 포함할 수 있다. 블록 체인 관리 모듈(245)은 블록 체인 관리 소프트웨어(SW; software)(예: 블록 체인 키스토어)에 의해 구동될 수 있다. According to one embodiment, the electronic device 101 may further include a blockchain management module 245. The blockchain management module 245 may be driven by blockchain management software (SW) (e.g., blockchain keystore).

디스플레이(210)는 프로세서(240)의 제어 하에, 블록 체인 네트워크와 관련된 정보를 출력할 수 있다. 디스플레이(210)는 프로세서(240)의 제어 하에, 일반 OS에서 처리하는 데이터 및 보안 OS에서 처리하는 데이터를 출력할 수 있다. The display 210 may output information related to the blockchain network under the control of the processor 240. The display 210 may output data processed by a general OS and data processed by a secure OS under the control of the processor 240.

통신 회로(220)는 블록 체인 네트워크에 기반한 데이터를 송수신할 수 있다. 일 예를 들어, 블록 체인 네트워크는 이더리움 네트워크 일 수 있으나, 이에 한정하는 것은 아니다. The communication circuit 220 can transmit and receive data based on a blockchain network. For example, the blockchain network may be, but is not limited to, the Ethereum network.

일 실시예에 따르면, 통신 회로(220)는 프로세서(240)의 제어 하에, 스마트 계약을 블록 체인 네트워크에 전송할 수 있다. 블록 체인에 전송된 스마트 계약은 블록 체인 내의 모든 노드들과 동기화되어, 블록 체인 내의 모든 노드에 스마트 계약의 내용이 공개될 수 있다. 스마트 계약은 블록 체인에 기반한 자동화 계약 기술로서, 계약 조건을 실행하는 컴퓨터 트랜잭션 프로토콜을 의미할 수 있다. 예를 들어, 스마트 계약은 블록 체인 기술을 기반으로 계약 조건을 코딩하고, 조건에 부합하면 계약 내용이 이행되는 디지털 계약 방식을 의미할 수 있다. According to one embodiment, the communication circuit 220 may transmit a smart contract to a blockchain network under the control of the processor 240. The smart contract sent to the blockchain is synchronized with all nodes in the blockchain, so the contents of the smart contract can be made public to all nodes in the blockchain. Smart contract is an automated contract technology based on blockchain and can refer to a computer transaction protocol that executes the terms of a contract. For example, a smart contract can refer to a digital contract method in which contract terms are coded based on blockchain technology and the contract is implemented when the conditions are met.

일 실시예에 따르면, 통신 회로(220)는 블록 체인 네트워크 접속 시 블록 체인 데이터(예: 메시지)를 수신하거나, 전자 장치(101)에 저장된 개인 키로 서명한 데이터(예: 전자 서명된 메시지)를 블록 체인 네트워크로 전송할 수 있다. According to one embodiment, the communication circuit 220 receives blockchain data (e.g., a message) when connecting to a blockchain network, or data signed with a private key stored in the electronic device 101 (e.g., an electronically signed message). It can be transmitted to the blockchain network.

메모리(230)는 블록 체인과 관련된 정보를 저장할 수 있다. 예를 들어, 메모리(230)는 블록 체인 네트워크로 접근할 수 있는 분산형 어플리케이션, 암호 화폐 지갑 어플리케이션, 블록 체인 보안 어플리케이션 및 보안 유저 인터페이스 어플리케이션 중 적어도 하나를 저장할 수 있다. 일 예를 들어, 분산형 어플리케이션 및 암호 화폐 지갑 어플리케이션은 REE(rich execution environment)에서 동작되는 반면에 블록 체인 보안 어플리케이션 및 보안 유저 인터페이스 어플리케이션은 TEE(trunsted execution environment)에서 동작될 수 있다. 보안 OS에 운용 시 저장된 데이터는 암호화된 상태로 저장될 수 있다. 전자 장치(101)는 메모리(230)에 블록 체인 관리를 위한 별도의 보안 저장 영역 (예:eSE(embedded secure element), eSIM(embedded subscriber identity module))을 포함할 수 있다.Memory 230 may store information related to the blockchain. For example, the memory 230 may store at least one of a decentralized application accessible through a blockchain network, a cryptocurrency wallet application, a blockchain security application, and a secure user interface application. For example, decentralized applications and cryptocurrency wallet applications may operate in a rich execution environment (REE), while blockchain security applications and secure user interface applications may operate in a trunsted execution environment (TEE). When operating in a secure OS, data stored may be stored in an encrypted state. The electronic device 101 may include a separate secure storage area (e.g., embedded secure element (eSE), embedded subscriber identity module (eSIM)) for blockchain management in the memory 230.

일 실시예에 따르면 메모리(230)는 블록 체인 관리 소프트웨어(SW; software)를 저장할 수 있다. 블록 체인 관리 소프트웨어는 스마트폰과 같은 휴대 장치에 적용되는 소프트웨어(예: APK(android package kit) 파일)일 수 있다. 블록 체인 관리 소프트웨어는 전자 장치(101)에 내장되거나 설치될 수 있다. 또는 블록 체인 관리 소프트웨어는 앱스토어를 통해 서버로부터 다운로드 받아 전자 장치에 설치될 수 있다. According to one embodiment, the memory 230 may store blockchain management software (SW). Blockchain management software may be software (e.g., an android package kit (APK) file) applied to mobile devices such as smartphones. Blockchain management software may be built into or installed on the electronic device 101. Alternatively, blockchain management software can be downloaded from a server through the App Store and installed on an electronic device.

프로세서(240)는 전자 장치(101)의 각 구성요소들의 제어 및/또는 통신에 관한 연산이나 데이터 처리를 수행할 수 있다. 프로세서(240)는 도 1의 프로세서(120)의 구성 및/또는 기능 중 적어도 일부를 포함할 수 있다. 프로세서(240)는 블록 체인 관리 소프트웨어를 기반으로 블록 체인 관리 모듈(245)의 동작을 제어할 수 있다. The processor 240 may perform operations or data processing related to control and/or communication of each component of the electronic device 101. The processor 240 may include at least some of the components and/or functions of the processor 120 of FIG. 1 . The processor 240 may control the operation of the blockchain management module 245 based on blockchain management software.

일 실시예에 따르면, 프로세서(240)는 일반 OS와 보안 OS로 분리하여 운용할 수 있다. 프로세서(240)가 일반OS로 구동 시 운용되는 리소스 영역을 일반 영역으로 이해할 수 있으며, 프로세서(240)가 보안 OS로 구동 시 운용되는 리소스 영역을 보안 영역으로 이해할 수 있다. According to one embodiment, the processor 240 may be operated separately into a general OS and a security OS. The resource area operated when the processor 240 runs in a general OS can be understood as a general area, and the resource area operated when the processor 240 runs in a secure OS can be understood as a security area.

일 실시예에 따르면, 프로세서(240)는 블록 체인 관리 소프트웨어, 암호 화폐 어플리케이션 및 분산형 어플리케이션 중 적어도 하나를 제어하여 블록 체인 네트워크의 접속, 승인 및 거래 동작을 수행할 수 있다. According to one embodiment, the processor 240 may control at least one of blockchain management software, cryptocurrency application, and decentralized application to perform access, approval, and transaction operations of the blockchain network.

일 실시예에 따르면, 블록 체인 관리 모듈(245)은 프로세서(240)의 제어 하에, 블록 체인 관리 소프트웨어에 의해 동작할 수 있다. 블록 체인 관리 모듈(245)은, 블록 체인 네트워크 관련 어플리케이션과 연동하여 보안 OS에서 동작하는 블록 체인 보안 어플리케이션 및 보안 유저 인터페이스 어플리케이션의 데이터를 처리할 수 있다. 블록 체인 관리 모듈(245)은 블록 체인 관리 소프트웨어와 동일한 의미로 이해될 수 있다. According to one embodiment, the blockchain management module 245 may operate by blockchain management software under the control of the processor 240. The blockchain management module 245 can process data of blockchain security applications and security user interface applications running on a security OS in conjunction with blockchain network-related applications. The blockchain management module 245 can be understood to have the same meaning as blockchain management software.

일 실시예에 따르면, 블록 체인 관리 모듈(245)은, 암호 화폐 지갑 어플리케이션을 통해 지갑 계정 시 블록 체인 메시지를 기반으로 암호화 알고리즘을 적용하여 블록 체인 네트워크에서 사용되는 공개 키(public key) 및 개인 키(private key)를 생성할 수 있다. According to one embodiment, the blockchain management module 245 applies an encryption algorithm based on the blockchain message at the time of the wallet account through the cryptocurrency wallet application to generate the public key and private key used in the blockchain network. (private key) can be created.

다른 실시예에 따르면, 블록 체인 관리 모듈(245)은 지갑 계정 생성 시 전자 장치(101)에 설정된 사용자 개인 정보 및 블록 체인 메시지를 기반으로 암호화 알고리즘을 적용하여 블록 체인 네트워크에서 사용되는 공개 키(public key) 및 개인 키(private key)를 생성할 수 있다. According to another embodiment, the blockchain management module 245 applies an encryption algorithm based on the user personal information and blockchain message set in the electronic device 101 when creating a wallet account to use a public key (public key) used in the blockchain network. key) and private key can be generated.

일 실시예에 따르면, 블록 체인 관리 모듈(245)은 공개 키와 개인 키를 한 쌍을 이루도록 생성할 수 있다. 블록 체인 관리 모듈(245)에 의해 생성된 개인 키는 블록 체인 관리 소프트웨어에 저장 또는 기록될 수 있다. 공개 키는 암호 화폐 지갑 어플리케이션 및 분산형 어플리케이션을 통해 블록 체인 네트워크로 전달될 수 있다. According to one embodiment, the blockchain management module 245 may generate a public key and a private key as a pair. The private key generated by the blockchain management module 245 may be stored or recorded in blockchain management software. Public keys can be transferred to blockchain networks through cryptocurrency wallet applications and decentralized applications.

일 실시예에 따르면, 블록 체인 관리 모듈(245)은 암호 화폐 지갑 어플리케이션을 통해 전달된 메시지를 보안 영역 내에서 암호화 알고리즘을 기반으로 저장된 개인 키를 이용하여 전자 서명을 수행할 수 있다. According to one embodiment, the blockchain management module 245 may perform an electronic signature on a message delivered through a cryptocurrency wallet application using a private key stored based on an encryption algorithm within a secure area.

일 실시예에 따르면, 블록 체인 관리 모듈(245)은 보안 영역으로 전달된 서명 인증 요청 메시지에 기반하여 사용자에게 서명 인증을 확인 받기 위한 사용자 인증 요청 화면을 구성할 수 있다. 프로세서(240)는 인증 요청 화면을 디스플레이(210)에 출력하도록 제어할 수 있다. 블록 체인 관리 모듈(245)은 사용자 인증 입력을 수신할 수 있다. 블록 체인 관리 모듈(245)은 사용자 인증 입력 정보에 응답하여 메모리(230)의 보안 영역에 저장된 개인 키를 이용하여 서명 인증 요청 메시지에 전자 서명을 수행할 수 있다. According to one embodiment, the blockchain management module 245 may configure a user authentication request screen to confirm signature authentication from the user based on the signature authentication request message delivered to the security area. The processor 240 may control the authentication request screen to be output on the display 210 . Blockchain management module 245 may receive user authentication input. The blockchain management module 245 may perform an electronic signature on the signature authentication request message using the private key stored in the secure area of the memory 230 in response to user authentication input information.

일 실시예에 따르면, 블록 체인 관리 모듈(245)은 사용자 인증 입력 정보에 사용자 개인 정보가 포함되어 있는 경우, 사용자 개인 정보와 설정된 사용자 개인 정보가 일치하는 조건 하에 전자 서명을 수행할 수 있다. According to one embodiment, when the user authentication input information includes user personal information, the blockchain management module 245 may perform an electronic signature under the condition that the user personal information and the set user personal information match.

블록 체인 관리 모듈(245)은 사용자 개인 정보와 일치하지 않는 경우, 전자 서명을 수행하지 않거나, 공개 키와 대응하는 개인 키와는 상이한 정보로 전자 서명을 수행할 수도 있다. 전자 서명이 잘못된 경우, 블록 체인은, 잘못 서명된 메시지에 의해 전자 장치(101)의 사용자 계정이 정당한 참여자가 아님을 인지할 수 있다. If it does not match the user's personal information, the blockchain management module 245 may not perform an electronic signature or may perform an electronic signature with information that is different from the public key and the corresponding private key. If the electronic signature is incorrect, the blockchain can recognize that the user account of the electronic device 101 is not a legitimate participant due to the incorrectly signed message.

일 실시예에 따르면, 블록 체인 관리 모듈(245)은 상기 전자 서명된 메시지를 메모리의 일반 영역에서 동작하는 암호 화폐 지갑 어플리케이션으로 전달할 수 있다. According to one embodiment, the blockchain management module 245 may deliver the electronically signed message to a cryptocurrency wallet application operating in a general area of memory.

일 실시예에 따르면, 프로세서(240)는 암호 화폐 지갑 어플리케이션으로 전달된 전자 서명된 메시지를 분산형 어플리케이션을 통해 블록 체인 네트워크로 전달할 수 있다. 전자 장치(101)는 블록 체인 네트워크에 대한 참여자 검증이 완료되면 블록 체인 네트워크 서비스를 이용할 수 있다.According to one embodiment, the processor 240 may transmit the electronically signed message delivered to the cryptocurrency wallet application to the blockchain network through the decentralized application. The electronic device 101 can use the blockchain network service when verification of participants in the blockchain network is completed.

도 3a는 일 실시 예에 따른 모바일 블록체인 시스템을 설명하기 위한 도면이다.Figure 3a is a diagram for explaining a mobile blockchain system according to an embodiment.

도 3a를 참조하면, 일 실시 예에 따르면, 모바일 블록체인 네트워크 내 전자 장치(예: 도 1의 전자 장치(101))는 통신 모듈(예: 도 1의 통신 모듈(190)을 통해 적어도 하나의 외부 전자 장치와 블록체인 네트워크를 형성할 수 있다. 전자 장치(101)는 블록체인 네트워크에 포함된 적어도 하나의 외부 전자 장치들과 데이터를 송수신하고, 블록체인 네트워크에서의 트랜잭션 합의에 참여할 수 있다. Referring to FIG. 3A, according to one embodiment, an electronic device (e.g., electronic device 101 of FIG. 1) in a mobile blockchain network communicates with at least one device through a communication module (e.g., communication module 190 of FIG. 1). A blockchain network can be formed with external electronic devices.The electronic device 101 can transmit and receive data with at least one external electronic device included in the blockchain network and participate in transaction agreement in the blockchain network.

일 실시예에 따르면, 모바일 블록체인 네트워크는 복수의 전자 장치들(301,302,303,304)로 구성될 수 있다.According to one embodiment, a mobile blockchain network may be composed of a plurality of electronic devices (301, 302, 303, and 304).

복수의 전자 장치들(301,302,303,304)은 블록체인 서비스에 참여하는 복수의 모바일 노드(또는 참여 노드)(예: 301,302,303)와 각 모바일 노드를 연결하는 중계 노드(또는 서버 노드)(예:304)를 포함할 수 있다. 모바일 노드(예: 301,302,303)는 휴대 가능한 전자 장치(예: 휴대폰, 태블릿 PC, 또는 노트북)일 수 있다. 중계 노드(예: 304)는 서버 장치일 수 있다. The plurality of electronic devices 301, 302, 303, and 304 include a plurality of mobile nodes (or participating nodes) (e.g., 301, 302, 303) participating in the blockchain service and a relay node (or server node) (e.g., 304) connecting each mobile node. can do. A mobile node (e.g., 301, 302, or 303) may be a portable electronic device (e.g., a cell phone, tablet PC, or laptop). The relay node (e.g. 304) may be a server device.

일 실시 예에 따르면, 블록체인 네트워크에 포함된 모바일 노드들(301,302,303) 및 중계 노드(304)는 전체 원장 또는 부분 원장을 각각 저장(또는 소유)할 수 있다.According to one embodiment, the mobile nodes 301, 302, and 303 and the relay node 304 included in the blockchain network may store (or own) the entire ledger or partial ledger, respectively.

일 실시 예에 따르면, 중계 노드(304)(또는 중계 역할을 하는 전자 장치)는 모든 트랜잭션의 실행에 참여하도록 구성될 수 있다. 중계 노드(304)는 블록체인 네트워크의 모든 트랜잭션에 대한 합의 및 모든 블록을 기록할 수 있다. 중계 노드(304)는 모든 트랜잭션에 대한 합의에 참여하고, 블록체인 네트워크의 모든 트랜잭션의 블록 및 스테이트 데이터(state data)를 저장할 수 있다. 중계 노드(304)는 블록체인 네트워크의 분산 원장인 전체 원장을 저장할 수 있다. According to one embodiment, the relay node 304 (or an electronic device serving as a relay) may be configured to participate in the execution of all transactions. The relay node 304 can record all blocks and consensus on all transactions in the blockchain network. The relay node 304 participates in consensus on all transactions and can store blocks and state data of all transactions in the blockchain network. The relay node 304 can store the entire ledger, which is a distributed ledger of the blockchain network.

일 실시 예에 따르면, 중계 노드(304)는 비활성 상태(예: idle/sleep state)인 모바일 노드(예: 301,302 or 303)로 웨이크업 신호(예: wake up signal, push message)를 전달할 수 있다. 모바일 노드(예: 301,302 or 303)는 중계 노드(304)로부터 웨이크업 신호를 수신함에 대응하여 활성 상태(예: running state)로 전환하고, 블록체인 네트워크에 연결하여 블록체인 네트워크 서비스에 참여할 수 있다. 모바일 노드(예: 301,302 or 303)는 웨이크업 신호를 수신하고, 중계 노드(304)로 웨이크업 신호에 대한 응답 신호(response signal)를 전송할 수 있다. 중계 노드(304)는 트랜잭션에 참여하는 모바일 노드(예: 301,302 or 303)로부터 응답 신호를 수신하면, 노드 간 트랜잭션 생성 및 합의 동작을 수행하도록 중계할 수 있다. According to one embodiment, the relay node 304 may transmit a wake-up signal (e.g., wake up signal, push message) to a mobile node (e.g., 301, 302 or 303) that is in an inactive state (e.g., idle/sleep state). . The mobile node (e.g., 301, 302 or 303) switches to an active state (e.g., running state) in response to receiving a wake-up signal from the relay node 304 and can participate in blockchain network services by connecting to the blockchain network. . The mobile node (eg, 301, 302 or 303) may receive a wake-up signal and transmit a response signal to the wake-up signal to the relay node 304. When the relay node 304 receives a response signal from a mobile node (e.g., 301, 302 or 303) participating in the transaction, it can relay it to create a transaction and perform a consensus operation between nodes.

일 실시 예에 따르면, 모바일 노드(또는 모바일 노드로 이용되는 전자 장치들) (예: 301,302 or 303)는 각 전자 장치와 관련된 트랜잭션의 생성 및 블록을 기록할 수 있다. According to one embodiment, a mobile node (or electronic devices used as a mobile node) (eg, 301, 302 or 303) may record the creation and block of transactions related to each electronic device.

일 실시 예에 따르면, 모바일 노드(예: 301,302 or 303)는 각 전자 장치와 관련된 트랜잭션의 실행에만 참여하도록 구성될 수 있다. 예를 들어, 모바일 노드(예: 301,302 or 303)는 블록체인 네트워크의 전체 원장 중에서 사용자(또는 사용자 장치)와 관련된 트랜잭션 합의에 참여하고, 트랜잭션의 블록 및 스테이트 데이터(예: 부분 원장)만을 저장할 수 있다. 모바일 노드(예: 301,302 or 303)는 블록체인 네트워크의 분산 원장 중에서 각 전자 장치와 관련된 부분 원장을 저장할 수 있다. According to one embodiment, mobile nodes (e.g., 301, 302 or 303) may be configured to only participate in the execution of transactions related to each electronic device. For example, a mobile node (e.g., 301,302 or 303) may participate in transaction consensus related to a user (or user device) and store only the block and state data of the transaction (e.g., a partial ledger) of the entire ledger of the blockchain network. there is. Mobile nodes (e.g., 301, 302 or 303) can store partial ledgers related to each electronic device among the distributed ledgers of the blockchain network.

일 실시 예에 따르면, 모바일 노드(예: 301,302 or 303)는 스테이트 데이터에 기초하여 스마트 컨트랙트를 실행하고, 다른 모바일 노드들과 서로 간에 수행되는 합의 프로세스의 결과에 기초하여 트랜잭션을 실행할지 여부를 결정할 수 있다. 예를 들어, 모바일 노드(예: 301,302 or 303)는 스마트 컨트랙트를 실행하여 생성된 결과 값이 일치하는 경우 합의에 성공하는 것으로 판단할 수 있다. According to one embodiment, a mobile node (e.g., 301, 302 or 303) executes a smart contract based on state data and determines whether to execute a transaction based on the results of a consensus process performed between other mobile nodes and each other. You can. For example, a mobile node (e.g., 301, 302 or 303) may determine that the agreement is successful if the resulting values generated by executing the smart contract match.

일 실시 예에 따르면, 블록체인 네트워크에 참여하는 모바일 노드 중 일부 (예: 301 or 302)는 블록체인 네트워크의 분산 원장의 부분 원장을 저장(또는 소유)할 수 있다. 부분 원장을 저장하는 모바일 노드(예: 301 or 302)는 블록체인 네트워크에서 트랜잭션 생성을 요청하는 노드가 될 수 있고, 트랜잭션 생성 요청에 따라 트랜잭션에 대한 합의 동작을 수행하는 노드가 될 수 있다.According to one embodiment, some of the mobile nodes participating in the blockchain network (e.g., 301 or 302) may store (or own) a partial ledger of the distributed ledger of the blockchain network. The mobile node (e.g. 301 or 302) that stores the partial ledger can be a node that requests transaction creation in the blockchain network, and can be a node that performs a consensus operation for the transaction according to the transaction creation request.

도 3b는 일 실시 예에 따른 블록체인 네트워크의 구성을 설명하기 위한 도면이다.Figure 3b is a diagram for explaining the configuration of a blockchain network according to an embodiment.

일 실시 예에 따르면, 블록체인 플랫폼(300)은 도 1의 메모리(130)에 저장된 블록체인 관련 동작을 수행하는 블록체인 어플리케이션 또는 도 1의 프로세서(120)에 포함된 블록체인 관련 동작을 수행하는 블록체인 모듈에 대응될 수 있다.According to one embodiment, the blockchain platform 300 is a blockchain application that performs a blockchain-related operation stored in the memory 130 of FIG. 1 or a blockchain application that performs a blockchain-related operation included in the processor 120 of FIG. 1. It can correspond to a blockchain module.

도 3b 를 참조하면, 블록체인 플랫폼(300)은 스마트 컨트랙트(smart contract)(310), 분산 원장(320) 및/또는 블록체인 프로세서(330)를 포함할 수 있다. 블록체인 플랫폼(300)은 블록체인과 관련된 동작을 수행하기 위해 다양한 구성을 더 포함하거나 일부 구성이 생략될 수 있다.Referring to FIG. 3B, the blockchain platform 300 may include a smart contract 310, a distributed ledger 320, and/or a blockchain processor 330. The blockchain platform 300 may further include various components or some components may be omitted to perform operations related to the blockchain.

일 실시 예에서, 분산 원장(320)은 블록체인 네트워크에서 전자 장치(101)와 관련된 트랜잭션에 대한 데이터를 저장할 수 있다. In one embodiment, distributed ledger 320 may store data about transactions related to electronic device 101 in a blockchain network.

일 실시 예에 따르면, 분산 원장(320)은 블록체인 네트워크의 전체 원장이 아닌 전체 원장의 적어도 일부를 포함하는 부분 원장일 수 있다. 예를 들어, 분산 원장(320)은 블록체인 네트워크에서의 모든 트랜잭션과 관련된 블록 및 데이터를 저장하는 전체 원장 중에서 전자 장치(101)와 관련된 트랜잭션에 대한 블록 및 데이터를 포함하는 부분 원장을 포함할 수 있다. According to one embodiment, the distributed ledger 320 may be a partial ledger that includes at least a portion of the entire ledger rather than the entire ledger of the blockchain network. For example, distributed ledger 320 may include a partial ledger containing blocks and data for transactions involving electronic device 101 among the overall ledger that stores blocks and data associated with all transactions in the blockchain network. there is.

다른 실시 예에 따르면, 분산 원장(320)은 블록체인 네트워크에서의 모든 트랜잭션과 관련된 블록 및 데이터를 저장하는 전체 원장을 포함할 수 있다. According to another embodiment, distributed ledger 320 may include an overall ledger that stores blocks and data related to all transactions in a blockchain network.

일 실시 예에 따르면, 분산 원장(320)은 블록체인 네트워크를 통해 생성된 적어도 하나의 블록(321)과 스테이트 데이터 베이스(state DB(data base))(322)를 포함할 수 있다. 블록(321)은 스마트 컨트랙트(310)를 수행하기 위한 정보를 담은 트랜잭션들로 이루어 질 수 있다. 일 실시 예에서, 분산 원장(320)의 블록들은 블록체인 형태로 이루어지며, 블록 데이터를 포함할 수 있다. 예를 들어, 블록(321)은 해시 필드와 블록 데이터를 포함할 수 있다. 해시 필드는 블록체인 네트워크의 전체 원장에서의 이전 블록 정보 및 블록체인 네트워크의 부분 원장에서의 이전 블록 정보를 포함할 수 있다. According to one embodiment, the distributed ledger 320 may include at least one block 321 and a state database (data base) 322 generated through a blockchain network. Block 321 may be composed of transactions containing information for performing the smart contract 310. In one embodiment, blocks of the distributed ledger 320 are in the form of a blockchain and may include block data. For example, block 321 may include a hash field and block data. The hash field may include previous block information in the entire ledger of the blockchain network and previous block information in the partial ledger of the blockchain network.

일 실시 예에 따르면, 블록체인을 구성하는 적어도 하나의 블록(321)은 해시 필드에 포함된 이전 블록 정보에 기초하여 연결되는 것으로 표현될 수 있다. 예를 들어, 블록체인을 구성하는 적어도 하나의 블록(321)은 유향 비순환 그래프(directed acyclic graph, DAG) 구조로 연결될 수 있다. 일 실시 예에 따르면, 블록체인 네트워크의 전체 원장에 포함된 적어도 하나의 블록이 DAG 구조로 연결된 경우, 블록체인 네트워크의 부분 원장은 전체 원장의 서브 그래프 구조로 연결될 수 있다.According to one embodiment, at least one block 321 constituting the blockchain may be expressed as being connected based on previous block information included in the hash field. For example, at least one block 321 constituting a blockchain may be connected in a directed acyclic graph (DAG) structure. According to one embodiment, when at least one block included in the entire ledger of the blockchain network is connected in a DAG structure, the partial ledger of the blockchain network may be connected in a subgraph structure of the entire ledger.

스테이트 데이터 베이스(322)는 블록체인 네트워크에서의 트랜잭션 실행으로 인해 변경된 값들을 키 값(key-value) 형태로 저장할 수 있다. 일 실시 예에서, 스테이트 데이터 베이스(322)에 저장된 데이터는 스테이트 데이터(state data)로 표현될 수 있다. 스테이트 데이터는, 예를 들어, 하이퍼레저 패브릭(hyperledger fabric)에서 사용되는 데이터 베이스인 월드 스테이트(world state)에 저장된 데이터를 의미할 수 있다. 다만, 이에 한정되지 아니한다.The state database 322 can store values changed due to transaction execution in the blockchain network in key-value form. In one embodiment, data stored in the state database 322 may be expressed as state data. State data may refer, for example, to data stored in world state, a database used in Hyperledger Fabric. However, it is not limited to this.

스테이트 데이터 베이스(322)는 하이퍼레저 패브릭에서 사용되는 일종의 데이터 베이스로, 트랜잭션을 실행하여 변경된 최종의 값들을 키 값 형태로 저장할 수 있다. 따라서, 전자 장치(101)는 블록체인 네트워크 내의 트랜잭션 실행에 의한 최종의 값들을 확인하기 위해서 스테이트 데이터 베이스(322)를 확인할 수 있다. 스테이트 데이터 베이스(322)에 저장된 스테이트 데이터는 블록체인 네트워크 내에서 전역 변수와 같은 특징을 가질 수 있다.The state database 322 is a type of database used in Hyperledger Fabric, and can store final values changed by executing a transaction in the form of key values. Accordingly, the electronic device 101 can check the state database 322 to confirm final values resulting from transaction execution within the blockchain network. State data stored in the state database 322 may have characteristics such as global variables within the blockchain network.

일 실시 예에 따르면, 스테이트 데이터 베이스(322)는 전자 장치(101)의 사용자가 관여한 트랜잭션에 대한 데이터를 저장할 수 있다. 예를 들어, 블록체인 네트워크에서 전자 장치(101)와 관련된 트랜잭션 실행으로 인해 변경된 값들을 저장할 수 있다.According to one embodiment, the state database 322 may store data about transactions in which the user of the electronic device 101 participates. For example, in a blockchain network, values changed due to execution of a transaction related to the electronic device 101 may be stored.

일 실시 예에 따르면, 블록체인 프로세서(330)는 블록체인 플랫폼(300)에 포함된 구성들의 동작을 제어할 수 있다. 예를 들어, 블록체인 프로세서(330)는 블록체인 네트워크 상에서 원장 동기화, 트랜잭션 서명 및/또는 트랜잭션 기록 수행을 포함하는 트랜잭션의 실행을 수행할 수 있다.According to one embodiment, the blockchain processor 330 can control the operation of components included in the blockchain platform 300. For example, blockchain processor 330 may perform execution of transactions, including synchronizing ledgers, signing transactions, and/or performing transaction records on a blockchain network.

일 실시 예에 따르면, 블록체인 프로세서(330)는 전자 장치(101)가 노드(예: 모바일 노드)로 참여한 블록체인 네트워크와 관련된 동작을 수행할 수 있다. 일 실시 예에 따르면, 블록체인 프로세서(330)는 블록체인 네트워크를 형성하고, 블록체인 네트워크에 포함된 다른 노드들(외부 전자 장치들)과 관련된 동작을 수행할 수 있다.According to one embodiment, the blockchain processor 330 may perform operations related to a blockchain network in which the electronic device 101 participates as a node (eg, a mobile node). According to one embodiment, the blockchain processor 330 can form a blockchain network and perform operations related to other nodes (external electronic devices) included in the blockchain network.

도 4는 일 실시예에 따른, 전자 장치, 블록체인 및 외부 장치 간의 관계를 도시한 동작 흐름도이다. FIG. 4 is an operational flowchart showing the relationship between an electronic device, a blockchain, and an external device, according to an embodiment.

동작 흐름도(400)를 참조하면, 전자 장치(410)(예: 도 1의 전자 장치(101))은 블록체인(420)에 공유 데이터의 전송에 대한 스마트 계약을 전송할 수 있고, 외부 장치(430) (예: 서비스를 제공하는 기업의 서버)는 블록체인(420)(또는 블록체인 네트워크)에 개인 정보 제공을 요청을 하고, 스마트 계약에 기초하여 공유 데이터를 블록체인(420)으로부터 전송 받을 수 있다.Referring to the operation flow chart 400, the electronic device 410 (e.g., the electronic device 101 in FIG. 1) may transmit a smart contract for transmission of shared data to the blockchain 420, and the external device 430 ) (e.g., a server of a company providing a service) can request the provision of personal information to the blockchain 420 (or blockchain network) and receive shared data from the blockchain 420 based on a smart contract. there is.

일 실시예에 따르면, 전자 장치(410)는 동작 401에서, 스마트 계약을 생성할 수 있다. 스마트 계약은, 예를 들어, 전자 장치(410)의 사용자와 외부 장치(430)와의 개인 정보 거래에 대한 계약일 수 있다. 외부 사용자는 외부 장치의 사용자를 의미한다. 외부 장치는 외부 사용자에 관한 정보를 포함할 수 있고, 외부 장치가 수행하는 동작은 외부 사용자가 수행하는 동작으로 인식할 수 있다. 스마트 계약은 전자 장치의 공유 데이터 및 공유 데이터를 제공 받을 외부 사용자에 관한 정보를 포함할 수 있다.According to one embodiment, the electronic device 410 may create a smart contract in operation 401. The smart contract may be, for example, a contract for personal information transaction between the user of the electronic device 410 and the external device 430. External user refers to a user of an external device. The external device may include information about the external user, and an operation performed by the external device may be recognized as an operation performed by the external user. A smart contract may include information about shared data on the electronic device and external users who will receive the shared data.

일 실시예에 따르면, 전자 장치(410)의 프로세서(예: 도 2의 프로세서(240))는 공유 데이터의 전송에 관한 스마트 계약을 생성할 수 있다. 공유 데이터의 전송에 관한 스마트 계약은, 예를 들어, 외부 사용자에 제공할 데이터에 관한 정보, 개인 정보를 제공할 외부 사용자에 관한 정보를 포함할 수 있다. 스마트 계약에 포함된 내용은 전자 장치(410)의 사용자가 설정할 수 있다. 프로세서(240)는, 외부 사용자에 제공할 공유 데이터 및 공유 데이터를 제공받을 외부 사용자를 설정할 수 있는 설정 화면을 디스플레이(230)가 출력하도록 제어할 수 있다.According to one embodiment, the processor of the electronic device 410 (e.g., the processor 240 of FIG. 2) may create a smart contract regarding the transmission of shared data. A smart contract regarding the transmission of shared data may include, for example, information about data to be provided to external users and information about external users to provide personal information. Contents included in the smart contract can be set by the user of the electronic device 410. The processor 240 may control the display 230 to output a settings screen for setting shared data to be provided to external users and external users who will receive the shared data.

동작 403에서, 전자 장치(410)는 스마트 계약을 블록체인(420)에 전송할 수 있다. In operation 403, the electronic device 410 may transmit the smart contract to the blockchain 420.

동작 405에서, 전송된 스마트 계약은 블록체인(420) 상에서 동기화 될 수 있다. 블록체인(420)에 동기화된 스마트 계약은 블록체인(420) 내 모든 사용자(예: 복수의 노드)에게 공개되며 분산 저장된다. 블록체인(420)에 기반한 스마트 계약을 통해 거래하는 경우, 거래의 투명성이 높아질 수 있고, 위/변조에 대한 안정성이 높아질 수 있다. At operation 405, the transmitted smart contract may be synchronized on blockchain 420. Smart contracts synchronized to the blockchain 420 are disclosed to all users (e.g., multiple nodes) within the blockchain 420 and are distributed and stored. When transacting through a smart contract based on the blockchain 420, transparency of transactions can be increased and stability against forgery/tampering can be increased.

동작 407에서 외부 장치(430)는, 블록체인(420)에 데이터 제공을 요청할 수 있다. 외부 장치(430)는, 예를 들어, 원하는 데이터를 쿼리(query)로 요청할 수 있다. 쿼리(query)는 데이터베이스에게 특정한 데이터를 보여달라는 특정 주체(예: 외부 장치(430))의 요청을 의미할 수 있다. 동작 409에서, 블록체인(420)은 외부 장치(430)의 데이터 제공 요청에 기반하여 스마트 계약을 실행할 수 있다. 블록체인(420)이 외부 장치(430)로부터 개인 정보를 쿼리로 요청 받는 경우, 블록체인(420)에 동기화된 스마트 계약이 실행될 수 있다. 블록체인(420)에 동기화된 스마트 계약이 실행되는 경우, 스마트 계약이 실행된 것에 따른 응답으로 블록체인(420)은 전자 장치(410)로 데이터 제공 요청을 전달할 수 있다.동작 411에서 블록체인(420)은, 스마트 계약의 실행에 따른 데이터 제공 요청을 전자 장치(410)로 전송할 수 있다. 일 실시예에 따른 블록체인(420)은, 외부 장치(430)가 요청한 데이터가 스마트 계약 상의 데이터 제공 조건에 부합하는지 확인할 수 있다. 외부 장치(430)가 요청한 개인 정보가 스마트 계약 상의 정보 제공 조건에 부합하는 경우, 블록체인(420)은 스마트 계약의 당사자인 전자 장치(410)로 데이터 제공 요청을 전송할 수 있다. 외부 장치(430)가 요청한 개인 정보가 스마트 계약 상의 데이터 제공 조건에 부합하지 않는 경우, 블록체인(420)은 스마트 계약을 실행시키지 않을 수 있다. 스마트 계약이 실행되지 않는 경우, 블록체인(420)은 데이터 제공 요청을 전자 장치(410)로 전송하지 않을 수 있다.In operation 407, the external device 430 may request the blockchain 420 to provide data. For example, the external device 430 may request desired data through a query. A query may refer to a request from a specific subject (e.g., external device 430) to show specific data to the database. In operation 409, the blockchain 420 may execute a smart contract based on a data provision request from the external device 430. When the blockchain 420 receives a query request for personal information from the external device 430, a smart contract synchronized to the blockchain 420 may be executed. When a smart contract synchronized to the blockchain 420 is executed, the blockchain 420 may transmit a data provision request to the electronic device 410 in response to the execution of the smart contract. In operation 411, the blockchain ( 420) may transmit a request to provide data according to execution of a smart contract to the electronic device 410. The blockchain 420 according to one embodiment can check whether the data requested by the external device 430 meets the data provision conditions in the smart contract. If the personal information requested by the external device 430 meets the information provision conditions in the smart contract, the blockchain 420 may transmit a data provision request to the electronic device 410 that is a party to the smart contract. If the personal information requested by the external device 430 does not meet the data provision conditions in the smart contract, the blockchain 420 may not execute the smart contract. If the smart contract is not executed, the blockchain 420 may not transmit a data provision request to the electronic device 410.

동작 413에서, 전자 장치(410)는 외부 장치(430)의 데이터 제공 요청이 스마트 계약에 포함된 데이터 제공 조건에 부합하는 지 확인할 수 있다. 예를 들어, 전자 장치(410)는, 데이터를 요청한 외부 장치(430)의 외부 사용자가 스마트 계약에 포함된 데이터를 제공 받을 외부 사용자에 해당하는 지 여부 및 외부 장치(430)가 요청한 데이터가 스마트 계약에 포함된 외부 사용자에 제공 가능한 정보 카테고리에 포함되는 지 여부를 확인할 수 있다. In operation 413, the electronic device 410 may check whether the data provision request from the external device 430 meets the data provision conditions included in the smart contract. For example, the electronic device 410 determines whether the external user of the external device 430 that requested data corresponds to an external user to be provided with data included in a smart contract and whether the data requested by the external device 430 is a smart contract. You can check whether it is included in the information category that can be provided to external users included in the contract.

일 실시예에서, 외부 장치(430)가 요청한 데이터가 스마트 계약 상의 데이터 제공 조건에 부합하는 경우 전자 장치(410)는 정보를 스마트 계약 상의 정보 비식별화 수준에 맞도록 처리할 수 있다. 데이터를 처리하는 방법은, 예를 들어, 가명처리(pseudonymization), 총계처리(aggregation), 데이터 삭제(data reduction), 데이터 범주화(data suppression), 데이터 마스킹(data masking) 또는 차분 프라이버시(differential privacy) 중 적어도 하나의 방법을 이용하여 데이터를 비식별화(de-identification)하는 방법일 수 있다. In one embodiment, if the data requested by the external device 430 meets the data provision conditions in the smart contract, the electronic device 410 may process the information to match the information de-identification level in the smart contract. Methods of processing data include, for example, pseudonymization, aggregation, data reduction, data suppression, data masking or differential privacy. It may be a method of de-identifying data using at least one of the following methods.

동작 417에서 전자 장치(410)는, 처리한 정보를 블록체인(420)으로 전송할 수 있다. 블록체인(420)에 전송하는 방법은, 예를 들어, 전자 장치(410)가 트랜잭션(transaction)을 수행하는 방법일 수 있다. 전자 장치(410)가 수행한 트랜잭션을 통해 블록체인(420)에 전송된 스마트 계약을 실행할 수 있다.In operation 417, the electronic device 410 may transmit the processed information to the blockchain 420. The method of transmitting to the blockchain 420 may be, for example, a method by which the electronic device 410 performs a transaction. A smart contract transmitted to the blockchain 420 can be executed through a transaction performed by the electronic device 410.

동작 419에서 블록체인(420)은, 전자 장치(410)로부터 처리된 정보를 전송 받은 것에 대한 응답으로 스마트 계약을 실행할 수 있다. 전자 장치(410)가 수행한 트랜잭션은 블록체인(420) 상의 스마트 계약을 실행시킬 수 있다.In operation 419, the blockchain 420 may execute a smart contract in response to receiving processed information from the electronic device 410. Transactions performed by the electronic device 410 may execute a smart contract on the blockchain 420.

동작 421에서 블록체인(420)은, 스마트 계약이 실행된 것에 따른 응답으로 처리한 데이터를 외부 장치(430)에게 전달할 수 있다.In operation 421, the blockchain 420 may transmit processed data in response to execution of the smart contract to the external device 430.

도 5a는 일 실시예에 따른 전자 장치의 블록체인을 통한 데이터 전송 상황을 도시한 것이다.FIG. 5A illustrates a data transmission situation through a blockchain of an electronic device according to an embodiment.

일 실시예에서, 전자 장치(101)는 제 1 어플리케이션(510) 및 제 1 노드(515)를 포함할 수 있다. 제 1 노드(515)는 예를 들면, 전자 장치(101) 상에서 실행 중인 특정 어플리케이션을 의미할 수 있다. 특정 어플리케이션은 블록체인의 노드 역할을 수행하는 것과 관련된 기능들을 제공할 수 있다. 제 1 노드(515)는 원장 관리를 수행할 수 있다. 원장에는 데이터를 전달하고자 하는 주체자의 정보, 전달하고자 하는 데이터, 제한된 수신자인지에 대한 권한 등이 기록될 수 있다. 제 1 노드(515)는 블록체인의 노드 역할을 수행할 수 있다. In one embodiment, the electronic device 101 may include a first application 510 and a first node 515. The first node 515 may refer to a specific application running on the electronic device 101, for example. Certain applications may provide functions related to performing the role of a blockchain node. The first node 515 can perform ledger management. The ledger can record the information of the subject wishing to transmit data, the data to be transmitted, and the authority to determine whether the recipient is a restricted recipient. The first node 515 can perform the role of a blockchain node.

일 실시예에서, 제 1 어플리케이션(510)은 제 1 노드(515)를 사용할 수 있다. 제 1 어플리케이션(510)은 스마트 계약을 컴파일하지 않은 상태로 보관할 수 있다. 제 1 어플리케이션(510)은 블록체인 원장에 기록하고자 하는 데이터에 대해 제 1 노드(515) 상으로 트랜잭션(transaction) 생성 요청을 할 수 있다. 트랜잭션(transaction)은 데이터베이스의 상태를 변화시키기 해서 수행하는 작업의 단위를 의미할 수 있다.In one embodiment, the first application 510 may use the first node 515. The first application 510 may store the smart contract in an uncompiled state. The first application 510 may request to create a transaction on the first node 515 for data to be recorded in the blockchain ledger. A transaction can refer to a unit of work performed by changing the state of the database.

동작 501에서, 제 1 어플리케이션(510)은 제 1 노드(515) 상으로 제 1 트랜잭션(512)에 대한 생성 요청을 할 수 있다. 제 1 트랜잭션(512)은 공유하고 싶은 데이터(예: key1 / data1) 및 공유를 허락할 대상에 대한 정보를 포함할 수 있다. 제 1 어플리케이션(510)은 제한된 어플리케이션(예: 제 2 어플리케이션(520))만 공유를 허락할 수도 있고, 제한 없이 모든 어플리케이션(또는 사용자 단말)에 공유를 허락할 수도 있다. 공유를 허락할 대상은 이것으로 한정된 것은 아니며, 제 1 어플리케이션(510) 상의 설정에 따라 달라질 수 있다.In operation 501, the first application 510 may request the first node 515 to create a first transaction 512. The first transaction 512 may include information about data to be shared (e.g., key1/data1) and a target to allow sharing. The first application 510 may allow sharing only to limited applications (eg, the second application 520), or may allow sharing to all applications (or user terminals) without limitation. The subjects for which sharing is permitted are not limited to this and may vary depending on the settings on the first application 510.

동작 502에서, 제 1 노드(515)는 제 1 트랜잭션(512)에 대한 검증을 수행할 수 있다. 제 1 노드(515)는 트랜잭션의 서명자가 누구인지 검증할 수 있다. 제 1 노드(515)는 스마트 계약의 인자값이 올바른지 검증할 수 있다. 제 1 노드(515)는 정상적으로 실행 가능한 스마트 계약인지 확인할 수 있다.At operation 502, the first node 515 may perform verification of the first transaction 512. The first node 515 can verify who the signer of the transaction is. The first node 515 can verify whether the parameter values of the smart contract are correct. The first node 515 can check whether the smart contract can be executed normally.

동작 503에서, 제 1 노드(515)는 합의 노드(consensus node)(미도시)에 블록 생성을 요청할 수 있다. 제 1 노드(515)는 블록이 생성되면 블록체인 네트워크(530) 를 구성하는 노드로 블록 생성 사실을 알릴 수 있다. 합의 노드는 트랜잭션 제출 요청에 기반하여 블록을 생성할 수 있다. 합의 노드는 원장의 원본 데이터를 가질 수 있다. 합의 노드는 블록체인 네트워크(530)의 구성에 따라서 원본 데이터가 아닌, 해시(hash)값과 원본데이터를 가지고 있는 주소를 가질 수도 있다. 블록체인 네트워크(530)는 생성된 블록들(예: 제 1 블록(531) 및 제 2 블록(532))을 연결하여 저장할 수 있다. 제 1 블록(531) 및 제 2 블록(532)은 합의 노드의 트랜잭션 제출 요청에 기반하여 생성될 수 있다. 제 2 블록(532)은 제 1 블록(531)이 생성되고 난 후에 생성될 수 있으며, 제 1 블록(531)과 연결될 수 있다.In operation 503, the first node 515 may request block generation from a consensus node (not shown). When a block is created, the first node 515 can notify the nodes constituting the blockchain network 530 of the block creation. Consensus nodes can create blocks based on transaction submission requests. Consensus nodes can have original data from the ledger. Depending on the configuration of the blockchain network 530, the consensus node may have an address containing a hash value and original data, rather than the original data. The blockchain network 530 can connect and store the created blocks (e.g., the first block 531 and the second block 532). The first block 531 and the second block 532 may be generated based on a transaction submission request from the consensus node. The second block 532 may be created after the first block 531 is created and may be connected to the first block 531.

동작 504에서, 제 1 노드(515)는 제 1 어플리케이션(510) 상으로 검증한 트랜잭션 및 블록 생성 사실을 알릴 수 있다.In operation 504, the first node 515 may notify the first application 510 of the verified transaction and block creation.

일 실시예에서, 외부 장치(103)는 제 2 어플리케이션(520) 및 제 2 노드(525)를 포함할 수 있다. 제 2 노드(525)는 원장 관리를 수행할 수 있다. 원장에는 데이터를 전달하고자 하는 주체자의 정보, 전달하고자 하는 데이터, 제한된 수신자인지에 대한 권한 등이 기록될 수 있다. 제 2 노드(525)는 블록체인의 노드 역할을 수행할 수 있다. 제 2 어플리케이션(520)은 제 1 노드(525)를 사용할 수 있다. 제 2 어플리케이션(520)은 스마트 계약을 컴파일하지 않은 상태로 보관할 수 있다. 제 2 어플리케이션(520)은 블록체인 원장에 기록하고자 하는 데이터에 대해 제 2 노드(525) 상으로 트랜잭션(transaction) 생성 요청을 할 수 있다.In one embodiment, the external device 103 may include a second application 520 and a second node 525. The second node 525 may perform ledger management. The ledger can record the information of the subject wishing to transmit data, the data to be transmitted, and the authority to determine whether the recipient is a restricted recipient. The second node 525 can perform the role of a blockchain node. The second application 520 may use the first node 525. The second application 520 may store the smart contract in an uncompiled state. The second application 520 may request the creation of a transaction on the second node 525 for data to be recorded in the blockchain ledger.

동작 505에서, 제 2 어플리케이션(520)은 제 2 노드(525) 상으로 제 2 트랜잭션(522)에 대한 생성 요청을 할 수 있다. 제 2 트랜잭션(522)은 전송 받을 데이터에 대한 정보를 포함할 수 있다. 전송 받을 데이터에 대한 정보는 예를 들어, app1data 중 key1에 해당하는 data1값에 대한 정보를 포함할 수 있다.In operation 505, the second application 520 may request the creation of a second transaction 522 on the second node 525. The second transaction 522 may include information about data to be transmitted. Information about the data to be transmitted may include, for example, information about the data1 value corresponding to key1 among app1data.

동작 506에서, 제 2 노드(525)는 제 2 트랜잭션(522)에 대한 검증을 수행할 수 있다. 제 2 노드(525)는 트랜잭션의 서명자가 누구인지 검증할 수 있다. 제 2 노드(525)는 스마트 계약의 인자값이 올바른지 검증할 수 있다. 제 2 노드(525)는 정상적으로 실행 가능한 스마트 계약인지 확인할 수 있다. 제 2 노드(525)는 스마트 계약 상에서 공유를 허락할 대상에 대한 정보를 획득할 수 있다. 제 2 노드(525)는 제 2 어플리케이션(520)이 공유를 허락할 대상에 포함되는지 확인할 수 있다. At operation 506, the second node 525 may perform verification of the second transaction 522. The second node 525 can verify who the signer of the transaction is. The second node 525 can verify whether the parameter values of the smart contract are correct. The second node 525 can check whether the smart contract can be executed normally. The second node 525 can obtain information about the object to be shared on the smart contract. The second node 525 may check whether the second application 520 is included in the list of subjects for which sharing is permitted.

동작 507에서, 제 2 노드(525)는 제 2 어플리케이션(520)이 공유를 허락할 대상에 포함되는 것을 확인함에 기반하여 합의 노드(consensus node)(미도시)에 블록 생성을 요청할 수 있다. 제 2 노드(525)는 블록이 생성되면 블록체인 네트워크(530) 를 구성하는 노드로 블록 생성 사실을 알릴 수 있다. 블록체인 네트워크(530) 를 구성하는 노드는 해당 블록(예: 제 3 블록(533))을 기존 블록들(예: 제 1 블록(531) 및 제 2 블록(532))에 연결할 수 있다. 제 3 블록(533)은 시간적으로 제 1 블록(531) 및 제 2 블록(532)의 생성 이후에 생성될 수 있다.In operation 507, the second node 525 may request a consensus node (not shown) to generate a block based on confirmation that the second application 520 is included in the list of subjects for which sharing is permitted. When a block is created, the second node 525 can notify the nodes constituting the blockchain network 530 of the block creation. Nodes constituting the blockchain network 530 may connect the corresponding block (e.g., the third block 533) to existing blocks (e.g., the first block 531 and the second block 532). The third block 533 may be generated temporally after the first block 531 and the second block 532 are created.

동작 508에서, 제 2 노드(525)는 제 2 어플리케이션(520) 상으로 검증한 트랜잭션 및 블록 생성 사실을 알릴 수 있다. 제 2 노드(525)는 제 2 어플리케이션(520) 상에서 요청한 데이터를 제 2 어플리케이션(520) 상으로 전달할 수 있다.In operation 508, the second node 525 may notify the second application 520 of the verified transaction and block creation. The second node 525 may transmit the data requested by the second application 520 to the second application 520 .

도 5b는 일 실시예에 따른 전자 장치가 허용되지 않는 어플리케이션의 데이터 전송 요청을 거절하는 상황을 도시한 것이다.FIG. 5B illustrates a situation in which an electronic device rejects a data transmission request from an unauthorized application, according to one embodiment.

일 실시예에서, 전자 장치(101)는 제 1 어플리케이션(510) 및 제 1 노드(515)를 포함할 수 있다. 제 1 노드(515)는 원장 관리를 수행할 수 있다. 원장에는 데이터를 전달하고자 하는 주체자의 정보, 전달하고자 하는 데이터, 제한된 수신자인지에 대한 권한 등이 기록될 수 있다. 제 1 노드(515)는 블록체인의 노드 역할을 수행할 수 있다. 제 1 어플리케이션(510)은 제 1 노드(515)를 사용할 수 있다. 제 1 어플리케이션(510)은 스마트 계약을 컴파일하지 않은 상태로 보관할 수 있다. 제 1 어플리케이션(510)은 블록체인 원장에 기록하고자 하는 데이터에 대해 제 1 노드(515) 상으로 트랜잭션(transaction) 생성 요청을 할 수 있다. In one embodiment, the electronic device 101 may include a first application 510 and a first node 515. The first node 515 can perform ledger management. The ledger can record the information of the subject wishing to transmit data, the data to be transmitted, and the authority to determine whether the recipient is a restricted recipient. The first node 515 can perform the role of a blockchain node. The first application 510 may use the first node 515. The first application 510 may store the smart contract in an uncompiled state. The first application 510 may request to create a transaction on the first node 515 for data to be recorded in the blockchain ledger.

동작 501에서, 제 1 어플리케이션(510)은 제 1 노드(515) 상으로 제 1 트랜잭션(512)에 대한 생성 요청을 할 수 있다. 제 1 트랜잭션(512)은 공유하고 싶은 데이터(예: key1 / data1) 및 공유를 허락할 대상에 대한 정보(예: 제 2 어플리케이션(520) 또는 제 2 사용자)를 포함할 수 있다.In operation 501, the first application 510 may request the first node 515 to create a first transaction 512. The first transaction 512 may include data to be shared (e.g., key1/data1) and information about a target to allow sharing (e.g., a second application 520 or a second user).

동작 502에서, 제 1 노드(515)는 제 1 트랜잭션(512)에 대한 검증을 수행할 수 있다. 제 1 노드(515)는 트랜잭션의 서명자가 누구인지 검증할 수 있다. 제 1 노드(515)는 스마트 계약의 인자값이 올바른지 검증할 수 있다. 제 1 노드(515)는 정상적으로 실행 가능한 스마트 계약인지 확인할 수 있다.At operation 502, the first node 515 may perform verification of the first transaction 512. The first node 515 can verify who the signer of the transaction is. The first node 515 can verify whether the parameter values of the smart contract are correct. The first node 515 can check whether the smart contract can be executed normally.

동작 503에서, 제 1 노드(515)는 합의 노드(consensus node)(미도시)에 블록 생성을 요청할 수 있다. 제 1 노드(515)는 블록이 생성되면 블록체인 네트워크(530) 를 구성하는 노드로 블록 생성 사실을 알릴 수 있다.In operation 503, the first node 515 may request block generation from a consensus node (not shown). When a block is created, the first node 515 can notify the nodes constituting the blockchain network 530 of the block creation.

동작 504에서, 제 1 노드(515)는 제 1 어플리케이션(510) 상으로 검증한 트랜잭션 및 블록 생성 사실을 알릴 수 있다.In operation 504, the first node 515 may notify the first application 510 of the verified transaction and block creation.

일 실시예에서, 외부 장치(103)는 제 2 어플리케이션(520) 및 제 2 노드(525)를 포함할 수 있다. 제 2 노드(525)는 원장 관리를 수행할 수 있다. 원장에는 데이터를 전달하고자 하는 주체자의 정보, 전달하고자 하는 데이터, 제한된 수신자인지에 대한 권한 등이 기록될 수 있다. 제 2 노드(525)는 블록체인의 노드 역할을 수행할 수 있다. 제 2 어플리케이션(520)은 제 1 노드(525)를 사용할 수 있다. 제 2 어플리케이션(520)은 스마트 계약을 컴파일하지 않은 상태로 보관할 수 있다. 제 2 어플리케이션(520)은 블록체인 원장에 기록하고자 하는 데이터에 대해 제 2 노드(525) 상으로 트랜잭션(transaction) 생성 요청을 할 수 있다.In one embodiment, the external device 103 may include a second application 520 and a second node 525. The second node 525 may perform ledger management. The ledger can record the information of the subject wishing to transmit data, the data to be transmitted, and the authority to determine whether the recipient is a restricted recipient. The second node 525 can perform the role of a blockchain node. The second application 520 may use the first node 525. The second application 520 may store the smart contract in an uncompiled state. The second application 520 may request the creation of a transaction on the second node 525 for data to be recorded in the blockchain ledger.

동작 505에서, 제 2 어플리케이션(520)은 제 2 노드(525) 상으로 제 2 트랜잭션(522)에 대한 생성 요청을 할 수 있다. 제 2 트랜잭션(522)은 전송 받을 데이터에 대한 정보를 포함할 수 있다. 전송 받을 데이터에 대한 정보는 예를 들어, app1data 중 key1에 해당하는 data1값에 대한 정보를 포함할 수 있다.In operation 505, the second application 520 may request the creation of a second transaction 522 on the second node 525. The second transaction 522 may include information about data to be transmitted. Information about the data to be transmitted may include, for example, information about the data1 value corresponding to key1 among app1data.

동작 506에서, 제 2 노드(525)는 제 2 트랜잭션(522)에 대한 검증을 수행할 수 있다. 제 2 노드(525)는 트랜잭션의 서명자가 누구인지 검증할 수 있다. 제 2 노드(525)는 스마트 계약의 인자값이 올바른지 검증할 수 있다. 제 2 노드(525)는 정상적으로 실행 가능한 스마트 계약인지 확인할 수 있다. 제 2 노드(525)는 스마트 계약 상에서 공유를 허락할 대상에 대한 정보를 획득할 수 있다. 제 2 노드(525)는 제 2 어플리케이션(520)이 공유를 허락할 대상에 포함되는지 확인할 수 있다. 제 2 노드(525)는 제 2 어플리케이션(520)이 공유를 허락할 대상에 포함되지 않는 것을 확인함에 기반하여 제 2 트랜잭션(522)을 블록체인 네트워크(530) 상으로 보내지 않을 수 있다. At operation 506, the second node 525 may perform verification of the second transaction 522. The second node 525 can verify who the signer of the transaction is. The second node 525 can verify whether the parameter values of the smart contract are correct. The second node 525 can check whether the smart contract can be executed normally. The second node 525 can obtain information about the object to be shared on the smart contract. The second node 525 may check whether the second application 520 is included in the list of subjects for which sharing is permitted. The second node 525 may not send the second transaction 522 to the blockchain network 530 based on confirmation that the second application 520 is not included in the list of subjects for which sharing is permitted.

동작 508에서, 제 2 노드(525)는 제 2 어플리케이션(520) 상으로 요청한 데이터를 보낼 수 없음을 의미하는 신호(예: fail 표시)를 전송할 수 있다.In operation 508, the second node 525 may transmit a signal (eg, a fail indication) indicating that the requested data cannot be sent to the second application 520.

도 6은 일 실시예에 따른 전자 장치의 데이터 관리 방법을 순서도로 나타낸 것이다.Figure 6 is a flowchart showing a data management method of an electronic device according to an embodiment.

도 6을 통하여 설명되는 동작들은 컴퓨터 기록 매체 또는 메모리(예: 도 1의 메모리(130))에 저장될 수 있는 인스트럭션들 을 기반으로 구현될 수 있다. 도시된 방법(600)은 앞서 도 1 내지 도 5를 통해 설명한 전자 장치(예: 도 2의 전자 장치(101))에 의해 실행될 수 있으며, 앞서 설명한 바 있는 기술적 특징은 이하에서 생략하기로 한다. 도 6의 각 동작의 순서가 변경될 수 있으며, 일부 동작이 생략될 수도 있고, 일부 동작들이 동시에 수행될 수도 있다.Operations described with reference to FIG. 6 may be implemented based on instructions that can be stored in a computer recording medium or memory (eg, memory 130 in FIG. 1). The illustrated method 600 can be executed by the electronic device previously described with reference to FIGS. 1 to 5 (e.g., the electronic device 101 of FIG. 2), and technical features described above will be omitted below. The order of each operation in FIG. 6 may be changed, some operations may be omitted, and some operations may be performed simultaneously.

동작 610에서, 프로세서(예: 도 2의 프로세서(240))는 전자 장치(101)의 공유 데이터 및 공유 데이터를 제공 받을 외부 사용자에 관한 정보를 포함하는 스마트 계약(smart contract) 을 이용하여 제 1 트랜잭션(transaction)을 생성할 수 있다. 트랜잭션(transaction)은 데이터베이스의 상태를 변화시키기 해서 수행하는 작업의 단위를 의미할 수 있다. In operation 610, the processor (e.g., processor 240 in FIG. 2) uses a smart contract that includes shared data of the electronic device 101 and information about external users who will receive the shared data. You can create a transaction. A transaction can refer to a unit of work performed by changing the state of the database.

동작 620에서, 프로세서(240)는 제 1 트랜잭션을 블록체인(block chain) 네트워크(예: 도 5a의 블록체인 네트워크(530))에 전송하도록 요청할 수 있다.In operation 620, the processor 240 may request to transmit the first transaction to a blockchain network (eg, blockchain network 530 in FIG. 5A).

동작 630에서, 프로세서(240)는 제 1 노드(예: 도 5a의 제 1 노드(515)) 상으로 제 1 트랜잭션에 대응하는 제 1 블록(예: 도 5a의 제 1 블록(531))을 생성할 것을 요청할 수 있다. 제 1 노드(515)는 제 1 트랜잭션을 검증할 수 있다. 제 1 노드(515)는 원장 관리를 수행할 수 있다. 원장에는 데이터를 전달하고자 하는 주체자의 정보, 전달하고자 하는 데이터, 제한된 수신자인지에 대한 권한 등이 기록될 수 있다. 제 1 노드(515)는 블록체인의 노드 역할을 수행할 수 있다. 제 1 노드(515)는 제 1 트랜잭션의 신뢰성을 확인함에 기반하여 블록체인 네트워크 상으로 제 1 트랜잭션을 전송하고, 제 1 트랜잭션에 대응하는 제 1 블록(531)을 생성시킬 수 있다. 전자 장치(101)는 블록을 생성하는 제 1 노드(515)를 포함할 수 있다. 전자 장치(101)는 제 1 노드(515)를 이용하여 블록 생성을 요청하는 데이터에 대한 신뢰성을 검증할 수 있다. 예를 들어, 전자 장치(101)는 검증된 어플리케이션에서 생성된 파일을 메모리(예: 도 2의 메모리(230)) 상에 저장하면서 동시에 NFT(non-fungible token)생성을 요청할 수 있다. 전자 장치(101)는 어플리케이션이 이미 검증되었기 때문에 NFT(non-fungible token)생성이 요청된 파일이 특정 사용자에 의해서 생성된 것임을 확인할 수 있다. 제 1 노드(515)는 어플리케이션의 형태를 가질 수도 있고, 서버의 형태를 가질 수도 있다. 제 1 노드(515)는 키(key)와 밸류(value) 외에 소유자(owner)에 해당하는 값을 더 포함할 수 있다. 프로세서(240)는 소유자(owner)에 해당하는 값을 이용하여 키(key)와 밸류(value)의 값을 바꿀 수 있는 권한을 가진 사용자를 검증할 수 있다.At operation 630, the processor 240 sends a first block (e.g., first block 531 in FIG. 5A) corresponding to the first transaction onto a first node (e.g., first node 515 in FIG. 5A). You can request to create it. The first node 515 may verify the first transaction. The first node 515 can perform ledger management. The ledger can record the information of the subject wishing to transmit data, the data to be transmitted, and the authority to determine whether the recipient is a restricted recipient. The first node 515 can perform the role of a blockchain node. The first node 515 may transmit the first transaction on the blockchain network based on confirming the reliability of the first transaction and generate the first block 531 corresponding to the first transaction. The electronic device 101 may include a first node 515 that generates a block. The electronic device 101 can use the first node 515 to verify the reliability of data requesting block creation. For example, the electronic device 101 may store a file created in a verified application on a memory (e.g., memory 230 of FIG. 2) and simultaneously request the creation of a non-fungible token (NFT). The electronic device 101 can confirm that the file for which NFT (non-fungible token) creation is requested was created by a specific user because the application has already been verified. The first node 515 may have the form of an application or a server. The first node 515 may further include a value corresponding to the owner in addition to the key and value. The processor 240 can use the value corresponding to the owner to verify the user who has the authority to change the key and value.

동작 640에서, 프로세서(240)는 블록체인 네트워크(530)로부터 공유 데이터의 제공 요청을 포함하는 제 2 트랜잭션을 수신할 수 있다. 프로세서(240)는 제 1 노드(515) 상으로 제 2 트랜잭션의 검증을 요청할 수 있다.In operation 640, the processor 240 may receive a second transaction including a request to provide shared data from the blockchain network 530. Processor 240 may request verification of the second transaction on first node 515.

동작 650에서, 제 1 노드(515)는 제 2 트랜잭션의 신뢰성을 확인함에 기반하여 스마트 계약을 실행시킬 수 있다. 제 1 노드(515)는 제 2 트랜잭션에 대응하는 블록을 생성할 수 있다.At operation 650, the first node 515 may execute the smart contract based on verifying the authenticity of the second transaction. The first node 515 may generate a block corresponding to the second transaction.

일 실시예에서, 제 1 노드(515)는 합의 노드(consensus node)(미도시)에 블록 생성을 요청할 수 있다. 제 1 노드(515)는 블록이 생성되면 블록체인 네트워크(530) 를 구성하는 노드로 블록 생성 사실을 알릴 수 있다. 합의 노드는 트랜잭션 제출 요청에 기반하여 블록을 생성할 수 있다. 합의 노드는 원장의 원본 데이터를 가질 수 있다. 합의 노드는 블록체인 네트워크(530)의 구성에 따라서 원본 데이터가 아닌, 해시(hash)값과 원본데이터를 가지고 있는 주소를 가질 수도 있다.In one embodiment, the first node 515 may request block generation from a consensus node (not shown). When a block is created, the first node 515 can notify the nodes constituting the blockchain network 530 of the block creation. Consensus nodes can create blocks based on transaction submission requests. Consensus nodes can have original data from the ledger. Depending on the configuration of the blockchain network 530, the consensus node may have an address containing a hash value and original data, rather than the original data.

일 실시예에서, 제 1 노드(515)는 제 2 트랜잭션의 신뢰성을 확인하지 못한 경우 제 2 노드(예: 도 5a의 제 2 노드(525)) 상으로 제 2 트랜잭션을 되돌려보낼 수 있다. 제 1 노드(515)는 제 2 트랜잭션의 실행을 요청한 제 2 노드(525)에 대한 정보가 공유 데이터를 제공 받을 외부 사용자에 관한 정보와 일치하지 않는 경우 제 2 노드(525) 상으로 제 2 트랜잭션을 되돌려보낼 수 있다. 제 1 노드(515)는 제 2 트랜잭션에 대응하는 블록의 생성을 거부할 수 있다.In one embodiment, the first node 515 may send the second transaction back onto the second node (e.g., the second node 525 in FIG. 5A) if it fails to confirm the authenticity of the second transaction. The first node 515 executes the second transaction on the second node 525 when the information about the second node 525 that requested execution of the second transaction does not match the information about the external user who will receive the shared data. can be sent back. The first node 515 may refuse to create a block corresponding to the second transaction.

일 실시예에서, 전자 장치(예: 도 1의 전자 장치(101))는 통신 회로(예: 도 2의 통신 회로(220)), 블록체인(block chain) 네트워크에 대한 전체 원장 중 일부를 포함하는 부분 원장 또는 전체 원장을 저장하는 메모리(예: 도 2의 메모리(230)) 및 프로세서(예: 도 2의 프로세서(240))를 포함하고, 원장은 전자 장치(101)가 합의에 참여한 적어도 하나의 트랜잭션 각각에 상응하는 적어도 하나의 블록을 포함할 수 있다. 프로세서(240)는 전자 장치의 공유 데이터 및 공유 데이터를 제공 받을 외부 사용자에 관한 정보를 포함하는 스마트 계약(smart contract)을 이용하여 제 1 트랜잭션(transaction)을 생성하고, 제 1 트랜잭션을 블록체인 네트워크에 전송하도록 요청하고, 전자 장치가 합의에 참여한 적어도 하나의 트랜잭션 각각에 상응하는 적어도 하나의 블록을 생성하는 노드를 이용하여 제 1 트랜잭션을 검증하고, 제 1 트랜잭션의 신뢰성을 확인함에 기반하여 블록체인 네트워크 상으로 제 1 트랜잭션을 전송하고, 제 1 트랜잭션에 대응하는 제 1 블록을 생성하며, 블록체인 네트워크로부터 공유 데이터의 제공 요청을 포함하는 제 2 트랜잭션을 수신함에 기반하여 제 2 트랜잭션을 검증하고, 제 2 트랜잭션의 신뢰성을 확인함에 기반하여 스마트 계약을 실행하고, 제 2 트랜잭션에 대응하는 제 2 블록을 생성할 수 있다.In one embodiment, an electronic device (e.g., electronic device 101 of FIG. 1) includes a communication circuit (e.g., communication circuit 220 of FIG. 2), a portion of the overall ledger for a blockchain network. It includes a memory (e.g., memory 230 in FIG. 2) and a processor (e.g., processor 240 in FIG. 2) that stores a partial ledger or an entire ledger, and the ledger is at least one in which the electronic device 101 participates in the agreement. It may contain at least one block corresponding to each transaction. The processor 240 creates a first transaction using a smart contract containing information about the shared data of the electronic device and the external user who will receive the shared data, and sends the first transaction to the blockchain network. requesting transmission to the blockchain, verifying the first transaction using a node that generates at least one block corresponding to each of at least one transaction in which the electronic device participated in the agreement, and confirming the reliability of the first transaction. sending a first transaction onto the network, creating a first block corresponding to the first transaction, and verifying the second transaction based on receiving a second transaction from the blockchain network including a request to provide shared data; Based on confirming the reliability of the second transaction, the smart contract can be executed and a second block corresponding to the second transaction can be created.

일 실시예에 따르면, 노드는 제 2 블록을 검증하고, 제 2 블록이 검증됨에 기반하여 블록체인(block chain) 네트워크 상에 기록할 수 있다.According to one embodiment, the node may verify the second block and record it on the blockchain network based on the second block being verified.

일 실시예에 따르면, 프로세서(240)는 외부 장치와 블록체인 네트워크 간의 트랜잭션 합의가 완료된 것에 기반하여 통신 회로를 이용하여 블록체인 네트워크에 참여한 각 노드들의 원장을 업데이트하도록 요청 할 수 있다.According to one embodiment, the processor 240 may request to update the ledger of each node participating in the blockchain network using a communication circuit based on the completion of a transaction agreement between the external device and the blockchain network.

일 실시예에 따르면, 프로세서(240)는 블록체인 네트워크 상의 원장을 이용하여 스마트 계약의 실행 여부를 확인하고, 전자 장치의 공유 데이터의 공유 여부를 확인 할 수 있다.According to one embodiment, the processor 240 can use the ledger on the blockchain network to check whether a smart contract is executed and whether shared data of the electronic device is shared.

일 실시예에 따르면, 전자 장치 및 외부 장치는 모바일 노드이고, 프로세서는 블록체인 네크워크 내 중계 노드를 통해 외부 장치와 통신할 수 있다.According to one embodiment, the electronic device and the external device are mobile nodes, and the processor can communicate with the external device through a relay node in the blockchain network.

일 실시예에 따르면, 프로세서(240)는 전자 장치의 공유 데이터 및 공유 데이터를 제공 받을 외부 사용자에 관한 정보를 설정할 수 있는 설정 화면을 출력하도록 디스플레이를 제어할 수 있다.According to one embodiment, the processor 240 may control the display to output a settings screen on which information about the shared data of the electronic device and the external user who will receive the shared data can be set.

일 실시예에 따르면, 노드는 제 2 트랜잭션 상의 공유 데이터를 제공 받을 외부 사용자에 관한 정보 및 스마트 계약 상에 기록된 공유 데이터를 제공 받을 외부 사용자에 관한 정보가 일치함에 기반하여 제 2 트랜잭션을 실행시키고, 공유 데이터를 외부 장치로 전송하였음을 지시하는 정보를 포함하는 블록을 생성할 수 있다.According to one embodiment, the node executes the second transaction based on the match between the information about the external user who will be provided with the shared data in the second transaction and the information about the external user who will be provided with the shared data recorded on the smart contract. , a block containing information indicating that shared data has been transmitted to an external device can be created.

일 실시예에 따르면, 노드는 제 2 트랜잭션을 검증하고, 제 2 트랜잭션의 신뢰성이 검증됨에 기반하여 제 2 트랜잭션을 실행시킬 수 있다.According to one embodiment, the node may verify the second transaction and execute the second transaction based on the reliability of the second transaction being verified.

서버는 통신 회로(220), 전체 원장 중 일부를 포함하는 부분 원장 또는 전체 원장을 저장하는 메모리(230) 및 프로세서(240)를 포함할 수 있다. 프로세서는 제 1 외부 장치의 제 1 노드로부터 공유 데이터 및 공유 데이터를 제공 받을 외부 사용자에 관한 정보와 관련된 스마트 계약(smart contract)을 포함하는 제 1 트랜잭션을 수신하고, 제 2 외부 장치의 제 2 노드로부터 공유 데이터에 대한 제공 요청을 포함하는 제 2 트랜잭션을 수신함에 기반하여 스마트 계약 상에서 공유 데이터를 제공 받을 외부 사용자에 관한 정보와 제 2 외부 장치에 관한 정보가 일치하는지 제 1 노드에 검증을 요청하고, 스마트 계약 상에서 제 2 외부 장치와 공유 데이터를 제공 받을 외부 사용자에 관한 정보가 일치함에 기반하여 제 2 외부 장치로 공유 데이터를 전송할 수 있다.The server may include a communication circuit 220, a memory 230 that stores the entire ledger or a partial ledger including a portion of the entire ledger, and a processor 240. The processor receives a first transaction containing a smart contract related to shared data and information about an external user to be provided with the shared data from a first node of a first external device, and a second node of a second external device Based on receiving a second transaction including a request for provision of shared data from , Shared data can be transmitted to a second external device based on the match between the information about the second external device and the external user who will receive the shared data on the smart contract.

일 실시예에 따르면, 프로세서는 제 1 노드로부터 제 1 트랜잭션에 대한 검증이 완료됨에 기반하여 제 1 트랜잭션에 대응하는 제 1 블록을 블록체인 네트워크 상에 기록할 수 있다.According to one embodiment, the processor may record the first block corresponding to the first transaction on the blockchain network based on completion of verification of the first transaction from the first node.

일 실시예에 따르면, 프로세서는 제 1 노드로부터 제 2 트랜잭션에 대한 검증이 완료됨에 기반하여 제 2 트랜잭션에 대응하는 제 2 블록을 블록체인 네트워크 상에 기록할 수 있다.According to one embodiment, the processor may record a second block corresponding to the second transaction on the blockchain network based on completion of verification of the second transaction from the first node.

일 실시예에 따르면, 프로세서는 제 1 노드로부터 제 2 트랜잭션에 대한 검증이 완료됨에 기반하여 제 2 외부 장치로 공유 데이터를 전송하고, 제 2 외부 장치가 공유 데이터를 전송 받았음을 지시하는 정보를 제 1 노드 상으로 전송할 수 있다.According to one embodiment, the processor transmits shared data to a second external device based on completion of verification of the second transaction from the first node, and provides information indicating that the second external device has received the shared data. Can be transmitted on 1 node.

전자 장치(101)의 데이터 전송 관리 방법은 전자 장치(101)의 공유 데이터 및 공유 데이터를 제공 받을 외부 사용자에 관한 정보를 포함하는 스마트 계약(smart contract) 을 이용하여 제 1 트랜잭션(transaction)을 생성하는 동작, 제 1 트랜잭션을 블록체인(block chain) 네트워크에 전송하도록 요청하는 동작, 제 1 트랜잭션을 검증하고, 제 1 트랜잭션의 신뢰성을 확인함에 기반하여 블록체인 네트워크 상으로 제 1 트랜잭션을 전송하는 동작, 제 1 트랜잭션에 대응하는 제 1 블록을 생성하는 동작, 블록체인 네트워크로부터 공유 데이터의 제공 요청을 포함하는 제 2 트랜잭션을 수신함에 기반하여 제 2 트랜잭션을 검증하는 동작 및 제 2 트랜잭션의 신뢰성을 확인함에 기반하여 스마트 계약을 실행하고, 제 2 트랜잭션에 대응하는 제 2 블록을 생성하는 동작을 포함할 수 있다.The data transmission management method of the electronic device 101 creates a first transaction using a smart contract containing information about the shared data of the electronic device 101 and an external user who will receive the shared data. An operation to request transmission of the first transaction to the blockchain network, an operation to verify the first transaction and transmit the first transaction to the blockchain network based on confirming the reliability of the first transaction. , generating a first block corresponding to the first transaction, verifying the second transaction based on receiving a second transaction including a request for provision of shared data from the blockchain network, and verifying the reliability of the second transaction. Based on this, the smart contract may be executed and a second block corresponding to the second transaction may be generated.

Claims (20)

전자 장치에 있어서,
통신 회로;
블록체인(block chain) 네트워크에 대한 전체 원장 중 일부를 포함하는 부분 원장 또는 전체 원장을 저장하는 메모리;및
상기 통신 회로, 상기 메모리와 전기적으로 연결되는 프로세서를 포함하고,
상기 원장은 상기 전자 장치가 합의에 참여한 적어도 하나의 트랜잭션 각각에 상응하는 적어도 하나의 블록을 포함하고,
상기 프로세서는
상기 전자 장치의 공유 데이터 및 상기 공유 데이터를 제공 받을 외부 사용자에 관한 정보를 포함하는 스마트 계약(smart contract)을 이용하여 제 1 트랜잭션(transaction)을 생성하고,
상기 제 1 트랜잭션을 상기 블록체인 네트워크에 전송하도록 요청하고,
상기 전자 장치가 합의에 참여한 적어도 하나의 트랜잭션 각각에 상응하는 적어도 하나의 블록을 생성하는 노드를 이용하여 상기 제 1 트랜잭션을 검증하고,
상기 제 1 트랜잭션의 신뢰성을 확인함에 기반하여 상기 블록체인 네트워크 상으로 상기 제 1 트랜잭션을 전송하고, 상기 제 1 트랜잭션에 대응하는 제 1 블록을 생성하며,
상기 블록체인 네트워크로부터 상기 공유 데이터의 제공 요청을 포함하는 제 2 트랜잭션을 수신함에 기반하여 상기 제 2 트랜잭션을 검증하고,
상기 제 2 트랜잭션의 신뢰성을 확인함에 기반하여 상기 스마트 계약을 실행하고, 상기 제 2 트랜잭션에 대응하는 제 2 블록을 생성하는 전자 장치.
In electronic devices,
communication circuit;
Memory that stores a partial ledger or full ledger, including a portion of the full ledger for a blockchain network; and
Includes a processor electrically connected to the communication circuit and the memory,
The ledger includes at least one block corresponding to each of at least one transaction in which the electronic device participated in an agreement,
The processor is
Creating a first transaction using a smart contract containing shared data of the electronic device and information about an external user who will receive the shared data,
requesting to transmit the first transaction to the blockchain network,
The electronic device verifies the first transaction using a node that generates at least one block corresponding to each of at least one transaction in which the electronic device participated in the agreement,
Based on confirming the reliability of the first transaction, transmitting the first transaction on the blockchain network and generating a first block corresponding to the first transaction,
Verifying the second transaction based on receiving a second transaction including a request to provide the shared data from the blockchain network,
An electronic device that executes the smart contract based on verifying the reliability of the second transaction and generates a second block corresponding to the second transaction.
제 1항에 있어서,
상기 노드는
상기 제 2 블록을 검증하고, 상기 제 2 블록이 검증됨에 기반하여 상기 블록체인(block chain) 네트워크 상에 기록하는 전자 장치.
According to clause 1,
The node is
An electronic device that verifies the second block and records it on the blockchain network based on the second block being verified.
제 1항에 있어서,
상기 프로세서는
외부 장치와 상기 블록체인 네트워크 간의 트랜잭션 합의가 완료된 것에 기반하여
상기 통신 회로를 이용하여 상기 블록체인 네트워크에 참여한 각 노드들의 원장을 업데이트하도록 요청하는 전자 장치.
According to clause 1,
The processor is
Based on the transaction agreement between the external device and the blockchain network being completed
An electronic device that requests to update the ledger of each node participating in the blockchain network using the communication circuit.
제 1항에 있어서,
상기 프로세서는
상기 블록체인 네트워크 상의 상기 원장을 이용하여 상기 스마트 계약의 실행 여부를 확인하고, 상기 전자 장치의 공유 데이터의 공유 여부를 확인하는 전자 장치.
According to clause 1,
The processor is
An electronic device that uses the ledger on the blockchain network to check whether the smart contract is executed and whether shared data of the electronic device is shared.
제 1항에 있어서,
상기 전자 장치 및 외부 장치는 모바일 노드이고,
상기 프로세서는
상기 블록체인 네크워크 내 중계 노드를 통해 상기 외부 장치와 통신하도록 설정된 전자 장치.
According to clause 1,
The electronic device and external device are mobile nodes,
The processor is
An electronic device configured to communicate with the external device through a relay node in the blockchain network.
제 1항에 있어서,
상기 프로세서는
상기 전자 장치의 공유 데이터 및 상기 공유 데이터를 제공 받을 외부 사용자에 관한 정보를 설정할 수 있는 설정 화면을 출력하도록 디스플레이를 제어하는 전자 장치.
According to clause 1,
The processor is
An electronic device that controls a display to output a settings screen for setting shared data of the electronic device and information about external users who will receive the shared data.
제 1항에 있어서,
상기 노드는
상기 제 2 트랜잭션 상의 상기 공유 데이터를 제공 받을 외부 사용자에 관한 정보 및 상기 스마트 계약 상에 기록된 상기 공유 데이터를 제공 받을 외부 사용자에 관한 정보가 일치함에 기반하여
상기 제 2 트랜잭션을 실행시키고, 상기 공유 데이터를 외부 장치로 전송하였음을 지시하는 정보를 포함하는 블록을 생성하는 전자 장치.
According to clause 1,
The node is
Based on the fact that the information about the external user who will be provided with the shared data in the second transaction matches the information about the external user who will be provided with the shared data recorded on the smart contract
An electronic device that executes the second transaction and generates a block containing information indicating that the shared data has been transmitted to an external device.
제 1항에 있어서,
상기 노드는
상기 제 2 트랜잭션을 검증하고,
상기 제 2 트랜잭션의 신뢰성이 검증됨에 기반하여 상기 제 2 트랜잭션을 실행시키는 전자 장치.
According to clause 1,
The node is
Verify the second transaction,
An electronic device that executes the second transaction based on verification of reliability of the second transaction.
서버에 있어서,
통신 회로;
전체 원장 중 일부를 포함하는 부분 원장 또는 전체 원장을 저장하는 메모리;
프로세서를 포함하고,
상기 프로세서는
제 1 외부 장치의 제 1 노드로부터 공유 데이터 및 상기 공유 데이터를 제공 받을 외부 사용자에 관한 정보와 관련된 스마트 계약(smart contract)을 포함하는 제 1 트랜잭션을 수신하고,
제 2 외부 장치의 제 2 노드로부터 상기 공유 데이터에 대한 제공 요청을 포함하는 제 2 트랜잭션을 수신함에 기반하여 상기 스마트 계약 상에서 상기 공유 데이터를 제공 받을 외부 사용자에 관한 정보와 상기 제 2 외부 장치에 관한 정보가 일치하는지 상기 제 1 노드에 검증을 요청하고,
상기 스마트 계약 상에서 상기 제 2 외부 장치와 상기 공유 데이터를 제공 받을 외부 사용자에 관한 정보가 일치함에 기반하여 상기 제 2 외부 장치로 상기 공유 데이터를 전송하는 서버.
On the server,
communication circuit;
Memory that stores a partial ledger or full ledger containing a portion of the full ledger;
Includes a processor,
The processor is
Receiving a first transaction including a smart contract related to shared data and information about an external user who will receive the shared data from a first node of a first external device,
Information about an external user to be provided with the shared data on the smart contract based on receiving a second transaction including a request for provision of the shared data from a second node of a second external device and information about the second external device Request verification from the first node whether the information matches,
A server that transmits the shared data to the second external device based on matching information about the second external device and the external user who will receive the shared data on the smart contract.
제 9항에 있어서,
상기 프로세서는
상기 제 1 노드로부터 상기 제 1 트랜잭션에 대한 검증이 완료됨에 기반하여 상기 제 1 트랜잭션에 대응하는 제 1 블록을 블록체인 네트워크 상에 기록하는 서버.
According to clause 9,
The processor is
A server that records a first block corresponding to the first transaction on a blockchain network based on completion of verification of the first transaction from the first node.
제 9항에 있어서,
상기 프로세서는
상기 제 1 노드로부터 상기 제 2 트랜잭션에 대한 검증이 완료됨에 기반하여 상기 제 2 트랜잭션에 대응하는 제 2 블록을 블록체인 네트워크 상에 기록하는 서버.
According to clause 9,
The processor is
A server that records a second block corresponding to the second transaction on a blockchain network based on completion of verification of the second transaction from the first node.
제 9항에 있어서,
상기 프로세서는
상기 제 1 노드로부터 상기 제 2 트랜잭션에 대한 검증이 완료됨에 기반하여 상기 제 2 외부 장치로 상기 공유 데이터를 전송하고,
상기 제 2 외부 장치가 상기 공유 데이터를 전송 받았음을 지시하는 정보를 상기 제 1 노드 상으로 전송하는 서버.
According to clause 9,
The processor is
Transmitting the shared data from the first node to the second external device based on completion of verification of the second transaction,
A server transmitting information indicating that the second external device has received the shared data to the first node.
전자 장치의 데이터 전송 관리 방법에 있어서,
상기 전자 장치의 공유 데이터 및 상기 공유 데이터를 제공 받을 외부 사용자에 관한 정보를 포함하는 스마트 계약(smart contract) 을 이용하여 제 1 트랜잭션(transaction)을 생성하는 동작;
상기 제 1 트랜잭션을 블록체인(block chain) 네트워크에 전송하도록 요청하는 동작;
상기 제 1 트랜잭션을 검증하고, 상기 제 1 트랜잭션의 신뢰성을 확인함에 기반하여 상기 블록체인 네트워크 상으로 상기 제 1 트랜잭션을 전송하는 동작;
상기 제 1 트랜잭션에 대응하는 제 1 블록을 생성하는 동작;
상기 블록체인 네트워크로부터 상기 공유 데이터의 제공 요청을 포함하는 제 2 트랜잭션을 수신함에 기반하여 상기 제 2 트랜잭션을 검증하는 동작;및
상기 제 2 트랜잭션의 신뢰성을 확인함에 기반하여 상기 스마트 계약을 실행하고, 상기 제 2 트랜잭션에 대응하는 제 2 블록을 생성하는 동작을 포함하는 방법.
In a method for managing data transmission of an electronic device,
Generating a first transaction using a smart contract including shared data of the electronic device and information about an external user who will receive the shared data;
Requesting to transmit the first transaction to a blockchain network;
Verifying the first transaction and transmitting the first transaction onto the blockchain network based on confirming reliability of the first transaction;
generating a first block corresponding to the first transaction;
Verifying the second transaction based on receiving a second transaction including a request to provide the shared data from the blockchain network; And
Executing the smart contract based on verifying the reliability of the second transaction and generating a second block corresponding to the second transaction.
제 13항에 있어서,
상기 전자 장치는 노드를 포함하고,
상기 노드는
상기 제 2 블록을 검증하고, 상기 제 2 블록이 검증됨에 기반하여 상기 블록체인 네트워크 상에 기록하는 방법.
According to clause 13,
The electronic device includes a node,
The node is
A method of verifying the second block and recording it on the blockchain network based on the second block being verified.
제 13항에 있어서,
외부 장치와 상기 블록체인 네트워크 간의 트랜잭션 합의가 완료된 것에 기반하여
통신 회로를 이용하여 상기 블록체인 네트워크에 참여한 각 노드들의 원장을 업데이트하도록 요청하는 동작을 더 포함하는 방법.
According to clause 13,
Based on the transaction agreement between the external device and the blockchain network being completed
A method further comprising requesting to update the ledger of each node participating in the blockchain network using a communication circuit.
제 13항에 있어서,
상기 블록체인 네트워크 상의 원장을 이용하여 상기 스마트 계약의 실행 여부를 확인하고, 상기 전자 장치의 공유 데이터의 공유 여부를 확인하는 동작을 더 포함하는 방법.
According to clause 13,
The method further includes confirming whether the smart contract is executed using a ledger on the blockchain network and confirming whether shared data of the electronic device is shared.
제 13항에 있어서,
상기 전자 장치 및 외부 장치는 모바일 노드이고,
상기 블록체인 네크워크 내 중계 노드를 통해 상기 외부 장치와 통신하도록 설정하는 동작을 더 포함하는 방법.
According to clause 13,
The electronic device and external device are mobile nodes,
A method further comprising setting up to communicate with the external device through a relay node in the blockchain network.
제 13항에 있어서,
상기 전자 장치의 공유 데이터 및 상기 공유 데이터를 제공 받을 외부 사용자에 관한 정보를 설정할 수 있는 설정 화면을 출력하도록 디스플레이를 제어하는 동작을 더 포함하는 방법.
According to clause 13,
The method further includes controlling the display to output a settings screen for setting shared data of the electronic device and information about an external user who will receive the shared data.
제 13항에 있어서,
상기 전자 장치는 노드를 더 포함하고,
상기 노드는
상기 제 2 트랜잭션 상의 상기 공유 데이터를 제공 받을 외부 사용자에 관한 정보 및 상기 스마트 계약 상에 기록된 상기 공유 데이터를 제공 받을 외부 사용자에 관한 정보가 일치함에 기반하여
상기 제 2 트랜잭션을 실행시키고, 상기 공유 데이터를 외부 장치로 전송하였음을 지시하는 정보를 포함하는 블록을 생성하는 방법.
According to clause 13,
The electronic device further includes a node,
The node is
Based on the fact that the information about the external user who will be provided with the shared data in the second transaction matches the information about the external user who will be provided with the shared data recorded on the smart contract
A method of executing the second transaction and generating a block containing information indicating that the shared data has been transmitted to an external device.
제 13항에 있어서,
상기 전자 장치는 노드를 더 포함하고,
상기 노드는
상기 제 2 트랜잭션을 검증하고,
상기 제 2 트랜잭션의 신뢰성이 검증됨에 기반하여 상기 제 2 트랜잭션을 실행시키는 방법.
According to clause 13,
The electronic device further includes a node,
The node is
Verify the second transaction,
A method of executing the second transaction based on verification of the reliability of the second transaction.
KR1020220140164A 2022-09-29 2022-10-27 Apparatus and method for transmitting data by block-chain KR20240045032A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/KR2023/008911 WO2024071582A1 (en) 2022-09-29 2023-06-27 Blockchain-based data transmission method and device
US18/452,228 US20240112193A1 (en) 2022-09-29 2023-08-18 Method and device for transmitting data based on blockchain

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020220124192 2022-09-29
KR20220124192 2022-09-29

Publications (1)

Publication Number Publication Date
KR20240045032A true KR20240045032A (en) 2024-04-05

Family

ID=90714481

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220140164A KR20240045032A (en) 2022-09-29 2022-10-27 Apparatus and method for transmitting data by block-chain

Country Status (1)

Country Link
KR (1) KR20240045032A (en)

Similar Documents

Publication Publication Date Title
US20200265418A1 (en) Electronic device and method for providing digital signature service of block chain using the same
US11496900B2 (en) Electronic device and method for storing user identification information
US20230261886A1 (en) Electronic device and method for sharing data using blockchain network
US20230155990A1 (en) Message encryption method and electronic device
US20230396604A1 (en) Method for performing user authentication and device for performing same
US20230252461A1 (en) Electronic device for providing transaction in blockchain network and operating method thereof
US20230345237A1 (en) Electronic device performing wireless communication with accessory device, and operating method thereof
EP4184403A1 (en) Electronic device for generating transaction including internal data, and operating method thereof
KR20240045032A (en) Apparatus and method for transmitting data by block-chain
KR20230068005A (en) Electronic device and method for controlling vehicle based on driver authentication
KR20230037954A (en) Electronic device performing an encryption operation about transaction data and method in blockchain network
US20240112193A1 (en) Method and device for transmitting data based on blockchain
US20230261887A1 (en) Electronic device having partial ledger in blockchain network and operating method thereof
EP4307645A1 (en) Electronic device having partial ledger in blockchain network, and operating method therefor
US20230252191A1 (en) Electronic device for recovering block data in blockchain network and operation method thereof
US20230289786A1 (en) Electronic device for transmitting transaction by using external device and operation method thereof
WO2024071582A1 (en) Blockchain-based data transmission method and device
US20240152636A1 (en) Electronic device and method for verifying data in electronic device
US20230163982A1 (en) Electronic device including partial ledger and method in blockchain network
US20230147516A1 (en) Electronic device and method for controlling vehicle based on driver authentication
US20240015216A1 (en) Electronic device for providing blockchain-based service, and operation method thereof
US20240179013A1 (en) Method for mutually attesting security levels of electronic devices in multi device environment
US20230396671A1 (en) Method for managing persistent group information of electronic device
US20230042496A1 (en) Electronic device for performing different login process according to authentication type and control method thereof
US20230093667A1 (en) Method of providing login information and electronic device performing thereof