Method and system for processing personal information by using smart contract-based trusted execution environment
A smart contract-based trusted execution environment on a blockchain securely de-identifies and processes personal information, addressing the challenge of protecting privacy by blocking access and ensuring secure data handling and erasure, thus effectively addressing the limitations of existing methods.
Patent Information
- Application Number
- PCT/KR2024/095609
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-03-30
- Filing Date
- 2024-03-21
- Publication Date
- 2024-10-03
AI Technical Summary
Existing methods fail to effectively protect individual privacy by restoring personal information under limited conditions while ensuring secure de-identification and preventing unauthorized access during data processing, storage, and transmission.
A smart contract-based trusted execution environment is created using a blockchain, which de-identifies personal information using encryption keys and generates a trusted execution environment for data processing, ensuring secure data handling and privacy protection by blocking access to personal information and securely erasing data after processing.
This solution allows for the secure restoration of personal information in limited situations, prevents unauthorized access, and ensures the privacy of data subjects by fundamentally blocking access to personal information during data processing, storage, and transmission, while securely erasing data after processing.
Smart Images

Figure KR2024095609_03102024_PF_FP_ABST
Abstract
Description
Personal information processing method and system using a smart contract-based trusted execution environment
[0001] The present invention relates to a method and system for processing personal information using a smart contract-based trusted execution environment.
[0002] Blockchain: A blockchain is a decentralized, distributed system. Decentralization means that there is no central authority to perform its functions, but rather multiple participants work together. Blockchain networks are fundamentally P2P networks, utilizing consensus algorithms to create blocks through a common process. The use of hashes is crucial to blockchains, and the combination of hashes and the ability for multiple participants to process the same data in the same way prevents data tampering.
[0003] A smart contract is a set of programming codes that automates the execution of a contract based on a blockchain, which addresses assets and trust. The code written by the developer resides in a single block on the blockchain, and users can access the smart contract address to execute the code.
[0004] The reason it is called a smart contract is because, like general transaction contents, the code contents of a smart contract are included in the block information, so they cannot be manipulated, and since the program operates according to the coded contents, it is suitable for working on set contents such as a contract.
[0005] Smart contracts written on Ethereum utilize the Solidity language and operate on the EVM. The virtual machine specifically designed to execute Ethereum smart contracts is called the Ethereum Virtual Machine (EVM), and Ethereum smart contracts are written in languages such as Solidity and Viper, and are widely applied and used in the blockchain field. There are several monitoring web applications that provide information about smart contracts on the Ethereum network. The most representative examples include Ethereum's own Etherescan, Alvio, which provides information in a visual format, and Remix, a Solidity IDE.
[0006] Meanwhile, de-identification of personal information refers to a technology that removes or replaces some or all of personal information through methods such as data deletion, pseudonymization, categorization, and data masking, thereby rendering it unidentifiable even when combined with other information. It is utilized as a measure to minimize concerns about personal information exposure and privacy violations during data utilization. The issue of de-identification has recently gained attention in the context of the changing information and communications technology (ICT) environment, particularly Big Data, and the resulting debate over personal information protection.
[0007] When personal information is de-identified, the generated data is anonymized and no longer identifies individuals. However, in certain situations, such as tracking criminal targets or identifying home intruders, identified personal information may be needed.
[0008] Therefore, de-identification of personal information requires a technology that can restore personal information under limited conditions while hiding important data information that may pose privacy concerns.
[0009] The technical task of the present invention is to provide a method and system for processing personal information using a smart contract-based trusted execution environment that protects the privacy of an individual by anonymizing identified personal information using an encryption key, and can restore personal information using an encryption key under limited conditions.
[0010] In addition, the technical task to be achieved by the present invention is to provide a personal information processing method and system using a smart contract-based trusted execution environment that preemptively de-identifies identified personal information before a series of data processing processes such as data storage, streaming, and transmission, thereby fundamentally blocking access to personal information.
[0011] In addition, the technical task to be achieved by the present invention is to provide a personal information processing method and system using a smart contract-based trusted execution environment that can block the data processing subject from viewing personal information, prevent external leakage of personal information, and safely protect the privacy of the subject who provided the data.
[0012] A method for processing personal information using a smart contract-based trusted execution environment according to an embodiment of the present invention comprises: a step in which a data processing platform server generates a trusted execution environment including data processing code in response to a data processing request received from a data processing request terminal according to a smart contract distributed on a blockchain; a step in which the trusted execution environment decrypts first data acquired from a data generation terminal; a step in which the trusted execution environment processes the decrypted first data based on the data processing code to generate a data processing result; and a step in which the trusted execution environment provides the data processing result to the data processing request terminal according to the smart contract.
[0013] According to an embodiment, the first data may include at least one of video data and audio data that have been anonymized, metadata, and first encryption key information.
[0014] According to an embodiment, the metadata may include first terminal information of the data generation terminal that generated the first data, the generation time of at least one of the image data and the audio data before the personal information is anonymized, and the location of the data generation terminal.
[0015] According to an embodiment, the first encryption key information may include second terminal information of the encryption key supply terminal that generated the first encryption key, and a first public key used to de-identify the personal information.
[0016] According to an embodiment, the step of decrypting the first data may identify the data area corresponding to the personal information using the first private key obtained from the encryption key supply terminal.
[0017] According to an embodiment, the first encryption key is an asymmetric key consisting of a pair of a first private key and a first public key generated by an encryption key supply terminal, the first public key is generated based on the first private key, and the first encryption key can be updated by the encryption key supply terminal according to a preset schedule.
[0018] According to an embodiment, the step of generating the data processing result may include a step of analyzing the decrypted first data to determine a data processing target corresponding to the data processing request, a step of selecting target image data including the data processing target from among the decrypted first data, a step of extracting metadata corresponding to the selected target image data, and a step of generating the data processing result by processing the extracted metadata according to the data processing code.
[0019] According to an embodiment, the step of determining the data processing target may include a step of recognizing an object in image data within the decrypted first data using an object recognition model included in the data processing code, and a step of determining a matching rate between object characteristic information included in the data processing request and the recognized object, and specifying an object having a value higher than a standard matching rate as the data processing target.
[0020] According to an embodiment, the step of generating the data processing result may include a step of analyzing the decrypted first data to determine a data processing target corresponding to the data processing request, a step of selecting target audio data including the data processing target from among the decrypted first data, a step of extracting metadata corresponding to the selected target audio data, and a step of generating the data processing result by processing the extracted metadata according to the data processing code.
[0021] According to an embodiment, the step of determining the data processing target may include a step of classifying the audio data in the decoded first data using an audio signal analysis model included in the data processing code, and a step of determining a matching rate between the object characteristic information included in the data processing request and the classified audio data, and specifying audio data having a value higher than a standard matching rate as the data processing target.
[0022] According to an embodiment, after the step of providing the data processing request terminal, the trusted execution environment may further include a step of destroying the smart contract.
[0023] According to an embodiment, a computer-readable storage medium storing one or more programs, wherein the one or more programs are configured to be executed by one or more processors of an electronic device, and the one or more programs may be a computer-readable recording medium including commands for performing a personal information processing method using the smart contract-based trusted execution environment.
[0024] A personal information processing system using a smart contract-based trusted execution environment according to another embodiment of the present invention includes a plurality of data generation terminals that generate temporary data by shooting or collecting sound in different areas, recognize personal information in the temporary data, and generate first data by de-identifying the personal information based on a first encryption key, and a data processing platform server that generates a trusted execution environment that provides a data processing result generated based on the first data to the data processing request terminal in response to a data processing request received from the data processing request terminal according to a smart contract distributed on a blockchain.
[0025] According to an embodiment, the first data may include at least one of video data and audio data that have been anonymized, metadata, and first encryption key information.
[0026] According to an embodiment, the trusted execution environment can decrypt first data obtained through the blockchain from each of the data generation terminals, and process the decrypted first data according to a data processing code to generate a data processing result.
[0027] According to an embodiment, the trusted execution environment can determine the first public key used for anonymization processing based on the first encryption key information, and decrypt the first data by processing the personal information for identification using the first private key corresponding to the first public key.
[0028] According to an embodiment, the trusted execution environment may analyze the decrypted first data to determine a data processing target corresponding to the data processing request, select target image data including the data processing target from among the decrypted first data, and process metadata corresponding to the selected target image data according to a data processing code to generate the data processing result.
[0029] According to an embodiment, the trusted execution environment can recognize an object in image data within the decrypted first data using an object recognition model included in the data processing code, determine a matching rate between object characteristic information included in the data processing request and the recognized object, and specify an object having a value higher than a standard matching rate as a target of the data processing.
[0030] According to an embodiment, the trusted execution environment may analyze the decrypted first data to determine a data processing target corresponding to the data processing request, select target audio data including the data processing target from among the decrypted first data, and process metadata corresponding to the selected target audio data according to a data processing code to generate the data processing result.
[0031] According to an embodiment, the trusted execution environment may classify audio data in the decrypted first data using an audio signal analysis model included in the data processing code, determine a matching rate between object characteristic information included in the data processing request and the classified audio data, and specify audio data having a value higher than a standard matching rate as a target of the data processing.
[0032] According to an embodiment, a personal information processing system using a smart contract-based trusted execution environment may further include an encryption key supply terminal that generates the first encryption key according to a preset schedule and provides it to each of the data generation terminals.
[0033] According to an embodiment, each of the data generating terminals may receive a second encryption key having a different value.
[0034] According to a method and system for processing personal information using a smart contract-based trusted execution environment according to an embodiment of the present invention, even if personal information is anonymized, it can be restored and used to identify the personal information in limited circumstances, and after deriving the data processing results, the personal information can be safely deleted, thereby protecting the privacy of the individual.
[0035] In addition, according to the personal information processing method and system using a smart contract-based trusted execution environment according to an embodiment of the present invention, access to personal information can be fundamentally blocked through hardware by preemptively anonymizing identified personal information before a series of data processing processes such as data storage, streaming, and transmission.
[0036] In addition, according to the personal information processing method and system using a smart contract-based trusted execution environment according to an embodiment of the present invention, when a smart contract is terminated, the trusted execution environment is destroyed and stored data is also deleted, thereby preventing collected data from being leaked to the outside and fundamentally blocking data access by the operating entity of the data processing platform server, thereby protecting the privacy of the data subject.
[0037] In addition, according to the personal information processing method and system using a smart contract-based trusted execution environment according to an embodiment of the present invention, personal information generated by data generating terminals such as cameras, CCTVs, and home cams is encrypted at the source, is not disclosed to the data subject, and is used only in a limited manner under specific analysis conditions, thereby protecting the privacy of the individual.
[0038] In addition, according to the personal information processing method and system using a smart contract-based trusted execution environment according to an embodiment of the present invention, multiple smart contracts can be executed simultaneously using a trusted execution environment in which each smart contract is independently executed.
[0039] In addition, according to the personal information processing method and system using a smart contract-based trusted execution environment according to an embodiment of the present invention, by recording a flag of a destruction command on a blockchain, it is possible to ensure that the trusted execution environment that received the data is stably removed and that the data is safely erased without being leaked to the outside.
[0040] In addition, according to the personal information processing method and system using a smart contract-based trusted execution environment according to an embodiment of the present invention, the data processing request terminal can obtain the desired data processing result without directly collecting or processing the data required for data processing, and since the data required for data processing is not exposed to the data processing request terminal, the privacy of the subject who provided the data can be safely protected.
[0041] FIG. 1 is a schematic block diagram of a personal information processing system using a smart contract-based trusted execution environment according to an embodiment of the present invention.
[0042] FIG. 2 is a block diagram illustrating a first data generation process of a plurality of data generation terminals according to an embodiment of the present invention.
[0043] FIG. 3 is a block diagram illustrating a method for generating a data processing process of a trusted execution environment according to an embodiment of the present invention.
[0044] FIG. 4 is a block diagram illustrating a method for generating data processing results of a trusted execution environment according to an embodiment of the present invention.
[0045] FIGS. 5A to 5C are diagrams for explaining a personal information processing method using a smart contract-based trusted execution environment according to an embodiment of the present invention.
[0046] FIG. 6 is a diagram for explaining a method for anonymizing personal information of a data generation terminal according to another embodiment of the present invention.
[0047] FIG. 7 is a diagram for explaining a method for processing personal information identification in a trusted execution environment according to an embodiment of the present invention.
[0048] FIG. 8 is a diagram for explaining a smart contract according to an embodiment of the present invention.
[0049] Figure 9 is a flowchart illustrating a personal information processing method using a smart contract-based trusted execution environment according to an embodiment of the present invention.
[0050] Figure 10 is a flowchart illustrating a personal information processing method using a smart contract-based trusted execution environment according to another embodiment of the present invention.
[0051] The advantages and features of the present invention, and the methods for achieving them, will become clearer with reference to the embodiments described in detail below together with the accompanying drawings. However, the present invention is not limited to the embodiments disclosed below and may be implemented in various different forms. These embodiments are provided solely to ensure that the disclosure of the present invention is complete and to fully inform those skilled in the art of the scope of the present invention, and the present invention is defined solely by the scope of the claims.
[0052] The terminology used herein is for the purpose of describing embodiments only and is not intended to limit the present invention. In this specification, the singular also includes the plural unless specifically stated otherwise. As used herein, the terms "comprises" and / or "comprising" do not exclude the presence or addition of one or more other components in addition to the mentioned components. Like reference numerals refer to like components throughout the specification, and "and / or" includes each and any combination of one or more of the mentioned components. Although "first", "second", etc. are used to describe various components, these components are not limited by these terms. These terms are only used to distinguish one component from another. Therefore, it should be understood that a first component mentioned below may also be a second component within the technical spirit of the present invention.
[0053] Unless otherwise defined, all terms (including technical and scientific terms) used herein may be used in their common sense to those skilled in the art to which the present invention pertains. Furthermore, terms defined in commonly used dictionaries are not to be interpreted ideally or excessively unless explicitly and specifically defined otherwise.
[0054] FIG. 1 is a schematic block diagram of a personal information de-identification processing system using a smart contract-based trusted execution environment according to an embodiment of the present invention.
[0055] Referring to FIG. 1, a personal information de-identification processing system (10) using a smart contract-based trusted execution environment includes a data processing platform server (100), a data generation terminal (200), an encryption key supply terminal (300), and a data processing request terminal (400).
[0056] The data processing platform server (100) can host an online network and, as a network addressable device, can provide a data processing platform in which data is shared online to a data generation terminal (200), an encryption key supply terminal (300), and a data processing request terminal (400). The data processing platform server (100) can perform a series of processes, such as creation, distribution, execution, and termination of a smart contract on a blockchain, through the data processing platform.
[0057] The data processing platform server (100) can create a smart contract for data processing and distribute it to the blockchain. A smart contract for data processing is an electronic contract that is automatically concluded when pre-defined conditions are met on the blockchain. The data processing platform server (100) can create a smart contract containing a series of contractual details necessary for data processing, such as data collection, analysis, and result derivation, and distribute it to the blockchain.
[0058] Smart contracts are recorded on blockchain blocks, allowing them to be executed on the blockchain. For example, blockchains are implemented on the Ethereum blockchain, and smart contracts written in Solidity, Viper, etc. can be deployed to the blockchain via the Ethereum Virtual Machine (EVM). Furthermore, all transactions within the blockchain are hashed using SHA-256 and stored as hash values. These hash values can be stored in blockchain blocks to protect individual privacy and prevent overload.
[0059] A smart contract distributed by a data processing platform server (100) can be automatically concluded when a data processing request that conforms to a preset rule is received from a data processing request terminal (400), and the contract can be terminated when a data processing result is returned in response to the data processing request.
[0060] Here, the data processing request is a data processing request that can be processed by the data processing platform server (100), and the data processing code required for data processing may be provided from the data processing request terminal (400) or may be generated by the data processing platform server (100).
[0061] For example, when a smart contract is concluded between a data processing platform server (100) and a data processing request terminal (400), the data processing platform server (100) can obtain the data processing code provided from the data processing request terminal (400) and use it for data processing.
[0062] For example, when a smart contract is concluded between a data processing platform server (100) and a data processing request terminal (400), the data processing platform server (100) can independently determine a processing model required for the data processing request and then use the determined processing model for data processing.
[0063] When a smart contract is concluded, the data processing platform operating on the data processing platform server (100) creates a Trusted Execution Environment (TEE) for data processing. That is, when the data processing platform server (100) receives a data processing request from a data processing request terminal (400), it creates a Trusted Execution Environment containing data processing code and an encryption key in response to the data processing request.
[0064] Specifically, the data processing platform server (100) can create a primitive trusted execution environment that serves as a source for the creation of a trusted execution environment. The primitive trusted execution environment refers to a virtual execution environment in which no arbitrary data processing code or encryption key is created.
[0065] A native TEE is a secure execution environment provided by an independent secure area (SEA). It can be created as an image file to implement a virtual execution environment. However, this is not limited to this, and a native TEE can be implemented as either a hardware-based solution or a hardware / software-based solution.
[0066] According to an embodiment, when a raw TEE implemented as a raw image file is created, the data processing platform server (100) may generate a hash value for the raw image file, create a transaction including the hash value, and distribute it to the blockchain. Accordingly, the data processing platform server (100) may externally disclose that a raw TEE has been created for the purpose of creating a TEE.
[0067] The data processing platform server (100) can create a trusted execution environment (TEE) that includes data processing code and a second encryption key in response to a data processing request based on the original TEE. Like the original TEE, the TEE is a secure execution environment provided by an independent secure area, and can be created as a first image file for implementing a virtual execution environment.
[0068] According to an embodiment, the data processing platform server (100) can determine the originality of a raw image file that serves as the basis for creating a raw trusted execution environment before creating or executing a trusted execution environment. The data processing platform server (100) can generate a hash value of the raw image file and compare it with the hash value of the raw image file distributed on the blockchain to see if they match, and if they do, the originality of the raw image file can be guaranteed. In addition, the data processing platform server (100) can create a trusted execution environment including a data processing code corresponding to a data processing request and a second encryption key based on the raw trusted execution environment whose originality is guaranteed.
[0069] The second encryption key of the TEE includes the TEE's account address, and a public-private key pair-based mechanism can be used to generate the second encryption key to ensure the uniqueness of blockchain participants. The second encryption key includes a second public key, which is the account address, and a second private key that controls the second public key. For example, if the TEE operates on the Ethereum blockchain, the public key may be an Eternally Owned Address (EOA).
[0070] The trusted execution environment generates a 256-bit random number when creating an account address and sets it as a second private key. It can then extract a unique second public key by applying it to the second private key through an elliptic cryptography algorithm.
[0071] For example, the TEE can generate random 256-bit data, encode the generated 256-bit data into a 64-digit Hex string to generate a second private key, and generate a second public key using an elliptic curve cryptography algorithm based on the second private key. In addition, the TEE can convert the public key into a Kecak256 hash value to generate 256-bit binary data, remove the first 96 bits of data from the binary data, and encode the remaining 160 bits of binary data into a Hex string value to generate an account address, which is the second public key.
[0072] However, the encryption algorithm that generates the public key based on the private key may be other encryption algorithms such as the RSA (Rivest, Shamir and Adleman) encryption algorithm, ElGamal encryption algorithm, as well as the elliptic curve cryptography algorithm.
[0073] The second public key of the trusted execution environment generated through this process is disclosed externally through the blockchain, and data encrypted with the second public key can be restored only with the second private key of the trusted execution environment.
[0074] According to an embodiment, when a trusted execution environment implemented as a first image file is created, the data processing platform server (100) can generate a hash value for the first image file, create a transaction including the hash value, and record it on the blockchain. Accordingly, the data processing platform server (100) can externally disclose that the trusted execution environment corresponding to the smart contract has been safely executed without being tampered with or forged.
[0075] The TEE may request data collection from the data generation terminal (200) to perform data processing corresponding to the data processing code. To this end, the TEE may create a first transaction requesting the first data from the data generation terminal (200) and record it on the blockchain. At this time, the TEE may deploy a separate smart contract for data collection on the blockchain, or it may create and record only a transaction notifying the data collection on the blockchain.
[0076] According to an embodiment, when a data collection target is designated from a data processing request terminal (400) upon execution of a smart contract, the trusted execution environment may request data transmission from the data collection target. That is, the trusted execution environment may designate an account for a specific data generation terminal and record a transaction requesting data transmission for the designated data generation terminal on the blockchain.
[0077] In another embodiment, the trusted execution environment can request data transmission from any data generation terminal (200) by recording a transaction including the type and content of data required for data processing on the blockchain. In other words, the trusted execution environment can collect data from all data generation terminals (200) that have data that satisfies the data collection conditions by disclosing the data collection conditions without specifying the data collection entity.
[0078] Meanwhile, the first data represents a data area corresponding to personal information that has been de-identified using a first encryption key. Therefore, for data processing, the data area must be de-identified. Therefore, the trusted execution environment can generate a second transaction requesting the first encryption key from the encryption key supply terminal (300) to perform data processing corresponding to the data processing code, and record this transaction on the blockchain.
[0079] The trusted execution environment can perform data processing based on data collected from a data generation terminal (200). Since the trusted execution environment has inbound and outbound rules set, it only receives data in a format corresponding to the data processing code, and the data processing results are returned to the outside in a specific format.
[0080] The trusted execution environment can perform data processing if the first data collected from the data generation terminal (200) meets the criteria required for data processing. However, since some data areas corresponding to personal information among the first data collected from the data generation terminal (200) have been anonymized using the first encryption key of the encryption key supply terminal, the trusted execution environment can perform data processing according to the data processing code after identifying the data using the first encryption key.
[0081] Here, the first encryption key is an asymmetric key consisting of a pair of the first private key and the first public key of the encryption key supply terminal (300), and means an encryption key generated according to a schedule set by the encryption key supply terminal (300).
[0082] Meanwhile, since personal information of the first data may be disclosed and privacy may be violated if the first private key among the first encryption keys is leaked to the outside, the trusted execution environment can obtain the first private key encrypted with the second public key from the encryption key supply terminal (300). Then, the trusted execution environment can decrypt the encrypted second private key using the first private key and decrypt the first data based on the first private key.
[0083] The TEE can perform data processing if the decrypted first data meets the criteria required for data processing. Specifically, the TEE can synthesize data processing for the first data received from each of multiple data generation terminals (200) to generate data processing results.
[0084] Specifically, the trusted execution environment can process the decrypted first data using various artificial intelligence models included in the data processing code. Here, the artificial intelligence model can utilize at least one of the multilayered perceptron (MLP), a type of artificial neural network (ANN), and a recurrent neural network (RNN) as an AI algorithm.
[0085] An artificial neural network model can include an input layer, a hidden layer, and an output layer composed of multiple nodes, each of which can expand or contract to reflect changes over time. An artificial neural network can be composed of a convolutional neural network (CNN), but is not limited thereto. Other AI algorithms, such as multilayer perceptrons (MLPs) and recurrent neural networks (RNNs), can also be utilized.
[0086] Meanwhile, the trusted execution environment receives an AI model that has completed training when generating data processing code, but can also perform training on the AI model directly to generate data processing results.
[0087] The trusted execution environment can recognize objects in image data within the decrypted first data using an object recognition model. In particular, the object recognition model may be any one of a face detection algorithm using feature points (landmarks), a deep learning-based YOLO (You Look Only Once) model, MobileNet, R-CNN (Recursive Convolutional Neural Network), Faster-RCNN, and SSD (Single Shot Multibox Detector), but is not limited thereto, and any known algorithm model for object recognition may also be used.
[0088] The trusted execution environment can identify the data processing target by recognizing an object through an object recognition model and then determining the matching rate between the object characteristic information included in the data processing request and the recognized object.
[0089] Here, the object characteristic information included in the data processing request may include information that can recognize a specific object, such as object feature point information, image information, etc., and the trusted execution environment may determine the matching rate between the object characteristic information and the recognized object through the data processing target identification model. If the trusted execution environment determines that the matching rate between the object characteristic information and the recognized object is greater than the standard matching rate through the data processing target identification model, the trusted execution environment may specify the recognized object as the data processing target.
[0090] If the matching rate between the object characteristic information and the recognized object is less than the standard matching rate, the trusted execution environment may determine that the object is not related to the data processing request and may not use the image data containing the object for data processing.
[0091] The TEE can classify image data containing processing targets and select the classified data as target image data. In other words, image data that does not contain processing targets does not contain the information necessary for processing, so the TEE can select only the target image data for processing.
[0092] The trusted execution environment can generate data processing results based on selected target image data and metadata through the data processing result generation model.
[0093] According to an embodiment, the trusted execution environment can extract metadata from target image data and process it according to data processing code.
[0094] For example, if a data processing request terminal requests the location and movement path of a specific person X to a trusted execution environment, the trusted execution environment can extract metadata from video data containing the specific person X and, using the video shooting time and video shooting location included in the metadata, generate the location of the specific person X by time zone as a result of data processing.
[0095] When a data processing request terminal requests video data containing a specific person X from a trusted execution environment, the trusted execution environment can generate a video frame and metadata containing the specific person X as a result of data processing.
[0096] Additionally, the TEE can classify the audio data within the decrypted first data using an audio signal analysis model. The TEE can utilize, but is not limited to, the Mel-Frequency Cepstral Coefficient (MFCC) as the audio signal analysis model, and any known algorithm model for audio signal analysis may also be used.
[0097] The trusted execution environment can classify acoustic data through an acoustic signal analysis model, and then determine the target of data processing by determining the consistency between the object characteristic information included in the data processing request and the classified acoustic data.
[0098] Here, the object characteristic information included in the data processing request is information that can recognize a specific acoustic signal, and the trusted execution environment can determine the match rate between the object characteristic information and the classified acoustic data through the data processing target identification model. If the trusted execution environment determines that the match rate between the object characteristic information and the classified acoustic data is greater than the standard match rate, the trusted execution environment can specify the classified acoustic data as the data processing target.
[0099] The trusted execution environment can select audio data that contains the subject of data processing as target audio data and generate data processing results based on the selected target audio data and metadata.
[0100] In this way, the trusted execution environment can comprehensively analyze first data generated from different data generation terminals and generate data processing results corresponding to data processing requests.
[0101] Once data processing is complete, the trusted execution environment can return the data processing results to the data processing request terminal (400). The trusted execution environment can obtain the third public key provided by the data processing request terminal (400) when concluding a smart contract, and can encrypt the data processing results using the third public key of the data processing request terminal (400) and return them to the blockchain.
[0102] A smart contract between a data processing platform server (100) and a data processing request terminal (400) is automatically concluded when a data processing request that meets preset conditions is entered, and the contract can be terminated when the data processing result corresponding to the data processing request is returned. Therefore, when the TEE encrypts the data processing result, creates a transaction including the encrypted data processing result, and records it in a blockchain block, this signifies the completion of the smart contract execution.
[0103] Meanwhile, the Trusted Execution Environment (TEE) has a temporary status that remains valid only for the duration of the smart contract. In other words, the TEE is created only when a smart contract deployed on the blockchain is established and a data processing request is received from a data processing request terminal (400). The TEE is destroyed when data processing consistent with the smart contract is completed or the smart contract is terminated for other reasons.
[0104] The destruction of a trusted execution environment means that the environment that constitutes the trusted execution environment is initialized, which means that a series of data related to the trusted execution environment is erased. Accordingly, not only the first data received from the data generation terminal (200) for data processing by the trusted execution environment, but also the data processing code received from the data processing request terminal (400) are erased together with the destruction of the trusted execution environment.
[0105] If the data processing platform server (100) stores data even after data processing is completed, there is a risk that the data may be leaked due to an external malicious attack, and may be viewed by the operator of the data processing platform server (100).
[0106] However, the data processing platform server (100) according to an embodiment of the present invention stores data received from the data generation terminal (200) only for the period during which the smart contract is maintained, and when the smart contract is terminated, the trusted execution environment is destroyed and the stored data is also deleted. Accordingly, the data processing platform server (100) can prevent data from being leaked to the outside and fundamentally block the operating entity of the data processing platform server (100) from viewing the data, thereby protecting the privacy of the entity that provided the data.
[0107] In some embodiments, the TEE may record a flag on the blockchain indicating that a destroy command has been executed. When the destroy command is executed, a flag that cannot be tampered with is generated. When the destroy command is executed, the TEE may create a transaction containing the flag, record it on the blockchain, and then initiate the destruction process.
[0108] The Trusted Execution Environment (TEE) created for data processing is a virtual execution environment. At least one TEE is created for the execution of smart contracts on the data processing platform server (100). It can be independently created, destroyed, and initialized based on the contract's establishment and execution. In this way, the data processing platform server (100) can simultaneously execute multiple smart contracts using a TEE that is independently executed for each smart contract.
[0109] The data generation terminal (200) is a communication device that can be connected to a data processing platform, stores data required for data processing, and can execute a user data management application required for managing the stored data.
[0110] In particular, the data generation terminal (200) is a data generation terminal containing personal information, such as a home cam, CCTV, or vision camera, and can generate temporary data containing images captured from a specific area or audio signals collected from a specific area. In this case, the data generation terminal (200) can detect personal information within the temporary data and perform anonymization processing on the personal information prior to data storage, streaming, or transmission.
[0111] That is, the data generation terminal (200) can preemptively de-identify personal information within temporary data generated in a specific area, and then perform storage, streaming, or transmission operations on the first data generated based on the temporary data. This hardware-based access to personal information is blocked, and the original data stored, streamed, or transmitted by the data generation terminal (200) is the first data with the personal information de-identified.
[0112] Here, de-identification processing is a processing technology such as de-identification, masking, and face synthesis conversion of personal information such as faces, body parts, license plates, and resident registration numbers within a video frame. The de-identification processing standard may be presented through the HIPAA Privacy Rule linked to the Health Insurance Portability and Accountability Act (HIPAA), but is not limited thereto and may be variously changed by the designer of the data generation terminal (200).
[0113] In addition, de-identification processing is a technology that modulates the sound component corresponding to a specific sound signal, and well-known sound modulation programs such as PowerDirector, VoiceMod, AV Voice Changer, and Audacity can be used. Here, de-identification processing of sound components means converting a specific sound component into a preset compound sound, single sound, white noise, etc., and the de-identification processing method for the sound component may vary depending on the administrator's settings.
[0114] The first data includes at least one of video data and audio data that has been anonymized from personal information included in the temporary data, and may include metadata related thereto and first encryption key information.
[0115] Metadata may include information about the first terminal of the data generation terminal that generated the first data, the creation time of the temporary data, and the location of a specific area. That is, metadata may include information about the first terminal of the data generation terminal that generated the first data, the creation time of at least one of the image data and audio data before personal information is anonymized, and the location of the data generation terminal.
[0116] Depending on the embodiment, metadata may include the results of judgments such as whether an object contained in the image data exists or whether it has been anonymized.
[0117] For example, when a data generation terminal (200) recognizes an object within an image frame and performs anonymization processing on personal information when generating image data, the metadata may include information indicating that anonymization processing has been performed on the image data.
[0118] For example, if the data generation terminal (200) analyzes and classifies the type of object in the video frame when generating video data, the metadata may include the type of object included in the video data and the classification result.
[0119] The first encryption key information may include the second terminal information of the encryption key supply terminal (300) that generated the first encryption key, and the first public key used for anonymization processing of personal information.
[0120] For example, if the first private key is generated by encoding 256-bit data into a 64-digit Hex string, and the first public key is generated using an elliptic curve cryptography algorithm based on the first private key, the first encryption key information may only include information about the first public key.
[0121] The data generation terminal (200) identifies personal information each time temporary data is generated and performs de-identification processing using a first encryption key. The data generation terminal (200) can perform de-identification processing on all temporary data using the same first encryption key. However, to enhance security, the data generation terminal (200) can perform de-identification processing using a new first encryption key at preset intervals.
[0122] Since the entity that decrypts the first data is the trusted execution environment, not the terminal that generated the first encryption key, the trusted execution environment must be able to recognize the first public key used for de-identification processing and obtain the corresponding first private key from the encryption key supply terminal (300). Accordingly, the data generation terminal (200) can include information about the first public key used for de-identification processing of personal information as first encryption key information in the first data when generating temporary data.
[0123] Additionally, since the data generation terminal (200) receives only the first public key among the first encryption keys from the encryption key supply terminal (300), it cannot arbitrarily decrypt the first data to identify personal information. This is to fundamentally prevent sensitive personal information from being leaked to the outside.
[0124] When the data processing platform server (100) requests first data for data processing, the data generation terminal (200) can provide the first data to the data processing platform server (100) through a user data management application.
[0125] The data generation terminal (200) runs an application that scans the blockchain and can verify data requests from the trusted execution environment by verifying transactions recorded on the blockchain. For example, the data generation terminal (200) can verify data requests from the trusted execution environment recorded on the blockchain using applications such as Etherescan and Remix.
[0126] The data generation terminal (200) can provide the first data to a trusted execution environment running on the data processing platform server (100). The data generation terminal (200) can transmit encrypted data to the trusted execution environment via the data processing platform, but to ensure reliability, it can also create a transaction containing a hash value of the first data and record it on the blockchain.
[0127] The data generation terminal (200) can obtain blockchain coins as a reward for providing data to the data processing platform server (100), and the number of coins that can be obtained can be set by the trusted execution environment.
[0128] Since the owner of the data generation terminal (200) provides personally identifiable information, such as face and body parts included in the first data, to the data processing platform server (100), he or she may feel anxious about personal information exposure.
[0129] To address this issue, the data generation terminal (200) can scan the blockchain via an application to verify the flag for a destruction command recorded on the blockchain. When the data generation terminal (200) scans the flag for a destruction command for the TEE, it can be guaranteed that the TEE and data have been safely erased.
[0130] The encryption key supply terminal (300) is a terminal that generates a first encryption key according to a preset schedule and provides it to the data generation terminal (200). It may be an administrator terminal of the data generation terminal (200) or a terminal that separately generates only an encryption key.
[0131] The encryption key supply terminal (300) can generate different first encryption keys according to a preset schedule and sequentially supply the generated first public keys to the data generation terminal (200).
[0132] Accordingly, the data generation terminal (200) can perform anonymization processing on personal information using one first public key per unit time. Since the data generation terminal (200) stores the first public key information used for anonymization processing together with the first data when storing the first data, the trusted execution environment can subsequently perform decryption using the first private key corresponding to the first public key information included in the first data.
[0133] The data processing request terminal (400) is a terminal that creates a data processing request that conforms to a smart contract and provides a transaction including the data processing request to a blockchain to conclude a smart contract with the data processing platform server (100). For example, the data processing request terminal (400) may be at least one of a personal computer (PC), a smart phone, a tablet PC, a mobile internet device (MID), an internet tablet, an internet of things (IoT) device, an internet of everything (IoE) device, a desktop computer, a laptop computer, a workstation computer, a Wibro (Wireless Broadband Internet) terminal, and a PDA (Personal Digital Assistant).
[0134] The data processing request terminal (400) obtains identified personal information or data processing results generated using personal information, and thus may be a terminal of a subject that has obtained the right to view personal information from the data generation terminal (200) or has been delegated the right to view personal information from a government agency.
[0135] The data processing request terminal (400) can provide the data processing code required for data processing as a transaction together with the data processing request when concluding a smart contract, and can also provide the account of a specific data generation terminal (200) as a transaction to designate the data collection subject.
[0136] In order to receive encrypted data processing results, the data processing request terminal (400) may provide the public key of the data processing request terminal (400) as a transaction together with the data processing request when concluding a smart contract.
[0137] The data processing request terminal (400) can obtain data processing results from the blockchain as the smart contract is executed. If the data processing results are encrypted, the data processing request terminal (400) can decrypt them using its private key to obtain data processing results that meet the data processing request.
[0138] In this way, the data processing request terminal (400) can achieve the desired results without directly collecting or processing the data required for data processing. Furthermore, since no personal information or security-sensitive information other than the data required for data processing is exposed to the subject of the data processing request terminal (400), the privacy of the subject providing the data can be safely protected.
[0139] FIG. 2 is a block diagram illustrating a first data generation process of a plurality of data generation terminals according to an embodiment of the present invention.
[0140] In Fig. 2, only the first to third data generation terminals are illustrated for convenience in order to explain the process of an encryption key supply terminal providing a first encryption key to multiple data generation terminals, but the number of data generation terminals that can receive the first encryption key by the encryption key supply terminal is not limited thereto.
[0141] Referring to FIG. 2, the encryption key supply terminal (300) can generate the first to third encryption keys (KEY1a to KEY1c) according to a preset schedule and provide them to the first to third data generation terminals (200A to 200C).
[0142] Each of the first to third data generation terminals (200A to 200C) may receive the first to first c encryption keys (KEY1a to KEY1c) from the encryption key supply terminal (300) at the same time, but is not limited thereto, and may be provided at a time individually set for each terminal.
[0143] Additionally, the first to first c encryption keys (KEY1a to KEY1c) may be first public keys having the same value, but may be designed to have different values by the encryption key supply terminal (300).
[0144] Accordingly, the first to third data generation terminals (200A to 200C) can perform anonymization processing on personal information using the first to first c encryption keys (KEY1a to KEY1c), respectively, and generate the first to first c data (DAT1a to DAT1c) and provide them to the data processing platform server (100).
[0145] Here, the first data includes information on the first public key used for personal information anonymization processing as first encryption key information, and the 1a data (DAT1a) may include information on the 1a encryption key (KEY1a), the 1b data (DAT1b) may include information on the 1b encryption key (KEY1b), and the 1c data (DAT1c) may include information on the 1c encryption key (KEY1c).
[0146] The first to third data generation terminals (200A to 200C) may transmit encrypted data to the trusted execution environment via the data processing platform, but at least some of them may generate a transaction including a hash value of the first data and record it on the blockchain to ensure reliability.
[0147] FIG. 3 is a diagram for explaining a method for creating a data processing process of a trusted execution environment according to an embodiment of the present invention.
[0148] Referring to Figure 3, the TEE can decrypt the first data based on the first private key and identify the area corresponding to the personal information in the temporary data. Since the first data includes the first public key information, the TEE can perform decryption using the first private key corresponding to the first public key information included in the first data.
[0149] If data 1a to 1c (DAT1a to DAT1c) are received, the trusted execution environment can determine information about the first public key used for anonymization processing of personal information using the first encryption key information included in each of data 1a to 1c (DAT1a to DAT1c).
[0150] Since the trusted execution environment can obtain the first private key corresponding to the first public key from the encryption key supply terminal, it can perform decryption on the 1a data (DAT1a) using the 1a private key (P_KEY1a), on the 1b data (DAT1b) using the 1b private key (P_KEY1b), and on the 1c data (DAT1c) using the 1c private key (P_KEY1c).
[0151] And, the trusted execution environment can process the decrypted 1a to 1c data (DAT1a' to DAT1c') according to the data processing code to generate a data processing result.
[0152] FIG. 4 is a diagram for explaining a method for generating data processing results of a trusted execution environment according to an embodiment of the present invention.
[0153] Referring to FIG. 4, the trusted execution environment can process the decrypted first data (DAT1') using various artificial intelligence models included in the data processing code.
[0154] The data processing code is an artificial intelligence processing model generated by determining a processing model required for a data processing request by the data processing platform server (400), and may include an object recognition model, a data processing target identification model, and a data processing result generation model.
[0155] The object recognition model can recognize an object from image data included in the decrypted first data (DAT1'). In particular, the object recognition model may be any one of a face detection algorithm using feature points (landmarks), a deep learning-based YOLO (You Look Only Once) model, MobileNet, R-CNN (Recursive Convolutional Neural Network), Faster-RCNN, and SSD (Single Shot multibox Detector), but is not limited thereto, and a known algorithm model for object recognition may also be used.
[0156] The object recognition model provides information about the recognized object (OB) for each image data as input to the data processing target identification model, and the data processing target identification model can determine whether the recognized object (OB) in the image data is an object required for data processing.
[0157] In some embodiments, when the trusted execution environment performs decryption of acoustic data, an acoustic signal analysis model, rather than an object recognition model, may be used. The acoustic signal model may classify the acoustic data contained in the decrypted first data (DAT1'). The acoustic signal analysis model may utilize, but is not limited to, MFCC (Mel-Frequency Cepstral Coefficient), and any known algorithm model for acoustic signal analysis may also be used.
[0158] The acoustic signal analysis model provides information about classified acoustic data as input to the data processing target identification model, and the data processing target identification model can determine whether the acoustic components in the acoustic data require data processing.
[0159] The data processing target identification model can identify the data processing target based on information about the recognized object (OB). To this end, the data processing target identification model can identify the data processing target (TA) by determining the correspondence rate between the object characteristic information included in the data processing request and the recognized object.
[0160] Here, the object characteristic information included in the data processing request may include, for example, object feature point information, image information, etc., which can recognize a specific object, and the trusted execution environment may determine the matching rate between the object characteristic information and the recognized object through the data processing target identification model. If the trusted execution environment determines that the matching rate between the object characteristic information and the recognized object is greater than or equal to a standard matching rate through the data processing target identification model, the trusted execution environment may specify the recognized object as a data processing target (TA).
[0161] In an embodiment, when a trusted execution environment performs decryption of audio data, the data processing target model can identify the data processing target based on the classified audio data. To this end, the data processing target identification model can identify the data processing target (TA) by determining the correspondence rate between the object characteristic information included in the data processing request and the classified audio data.
[0162] The data processing result generation model can generate a data processing result (RES) based on target image data and metadata that include the data processing target (TA), but it can also extract only metadata from the target image data and process it according to the data processing code, or generate a data processing result (RES) from the image frame and metadata.
[0163] According to an embodiment, a data processing result generation model can generate a data processing result (RES) based on target acoustic data and metadata including a data processing target (TA).
[0164] In this way, the trusted execution environment can comprehensively analyze first data generated from different data generation terminals and generate a data processing result (RES) corresponding to a data processing request.
[0165] FIGS. 5A and 5B are diagrams for explaining a method for anonymizing personal information using a smart contract-based trusted execution environment according to an embodiment of the present invention.
[0166] Referring to FIG. 5a, the encryption key supply terminal (300) can generate a first encryption key and provide it to the data generation terminal (200).
[0167] The first encryption key (KEY1) generated by the encryption key supply terminal (300) is an asymmetric key composed of a pair of a first private key and a first public key, and only the first public key is provided to the data generation terminal (200). This is to prevent the first data (DAT1) that has been anonymized by the data generation terminal (200) from being arbitrarily decrypted and to prevent the first private key from being leaked to the outside due to malicious attacks such as hacking.
[0168] The encryption key supply terminal (300) can generate different first encryption keys (KEY1) according to a preset schedule and sequentially supply the first public key to the data generation terminal (200). When there are multiple data generation terminals (200) that receive the first encryption key (KEY1) from the encryption key supply terminal (300), the encryption key supply terminal (300) can provide the same first encryption key (KEY1) to the data generation terminals (200) or provide different first encryption keys (KEY1) to each data generation terminal (200) according to the user's design.
[0169] The encryption key supply terminal (300) can provide the first encryption key (KEY1) to the data generation terminal (200) through the blockchain (BC).
[0170] However, the first encryption key (KEY1) provided to the data generation terminal (200) contains only the first public key, and even if the first public key is leaked to an arbitrary third party, no personal information damage occurs. Therefore, the encryption key supply terminal (300) may directly provide the first public key to the data generation terminal (200) via a network communication network, or may provide it via a data processing platform.
[0171] The data generation terminal (200) can capture a specific area, preemptively de-identify personal information contained in the image frame (IM), and then perform storage, streaming, or transmission operations on the data.
[0172] The data generation terminal (200) can identify an object containing personal information in an image frame (IM) and perform anonymization processing on the object using a first public key. Anonymization processing is a processing technology for anonymizing, masking, face synthesis conversion, etc., personal information such as a face, body part, license plate number, and resident registration number in an image frame. The anonymization processing standard may be presented through the HIPAA Privacy Rule linked to the Health Insurance Portability and Accountability Act (HIPAA), but is not limited thereto and may be variously changed by the designer of the data generation terminal (200).
[0173] The data generation terminal (200) can perform anonymization processing on personal information using one first public key per unit time, but is not limited thereto, and may perform anonymization processing on all personal information based on one first public key. The first data (DAT1) generated by the data generation terminal (200) has a data area corresponding to personal information anonymized based on the first public key, and if it is not related to personal information, no separate anonymization processing is performed.
[0174] According to an embodiment, the data generation terminal (200) may recognize objects within a video frame, and then perform de-identification processing on only personal information for preset objects among the recognized objects. Accordingly, in the first data (DAT1), only the data area corresponding to the personal information of the preset object is de-identified, and the rest is not de-identified.
[0175] According to an embodiment, if the data size of the video frame is greater than or equal to a reference size, the data generation terminal (200) may perform primary anonymization processing on the data area corresponding to personal information using a third encryption key by a symmetric key algorithm such as the Advanced Encryption Standard (AES), and may encrypt the third encryption key based on the first encryption key (KEY1). In this case, the third encryption key may be stored together with the first public key information in the first data (DAT1).
[0176] Referring to FIG. 5b, the data processing platform server (100) can create a smart contract (SC) for data processing and distribute it to a blockchain (BC), and the smart contract (SC) can be recorded in a block of the blockchain (BC) so that the smart contract (SC) can be executed on the blockchain (BC).
[0177] A smart contract (SC) is automatically established when a transaction including a data processing request (QUE1) that conforms to a preset rule is provided to the blockchain (BC) from a data processing request terminal (400), and is terminated when a data processing result that conforms to the data processing request (QUE1) is returned.
[0178] The data processing request terminal (400) can provide a data processing request (QUE1) that conforms to a smart contract (SC) to the blockchain (BC) to obtain a data processing result.
[0179] When a smart contract (SC) between a data processing platform server (100) and a data processing request terminal (400) is established, the data processing platform server (100) responds to the data processing request (QUE1) by generating a trusted execution environment (VM) including data processing code and a second encryption key. Here, the data processing code may refer to a data processing model provided to the blockchain by the data processing request terminal (400).
[0180] A trusted execution environment (VM) can generate a transaction including a data request (QUE2) to a data generation terminal (200) and record it in a blockchain (BC) to perform data processing corresponding to data processing code.
[0181] Referring to FIG. 5c, the data generation terminal (200) may obtain a data request (QUE2) of a trusted execution environment (VM) from a blockchain (BC), record the stored first data (DAT1) in the blockchain, or generate a transaction including a hash value of the first data (DAT1) and record it in the blockchain (BC) to provide data encrypted with a hash value to the trusted execution environment (VM).
[0182] The data processing request terminal (400) can obtain a second encryption key (KEY2) recorded together with the data request (QUE2) of the trusted execution environment (VM) from the blockchain (BC). The second encryption key (KEY2) obtained by the data processing request terminal (400) refers to the second public key of the trusted execution environment (VM).
[0183] Meanwhile, since the first private key among the first encryption keys (KEY1) is required for decryption of the first data (DAT1), the data processing request terminal (400) must encrypt the first private key and provide it safely to the trusted execution environment (VM).
[0184] Accordingly, the data processing request terminal (400) can encrypt the first encryption key based on the second encryption key (KEY2) and provide the encrypted first encryption key (KEY1) to the trusted execution environment. That is, the first private key can be encrypted based on the second public key of the trusted execution environment (VM), and a transaction for the second private key encrypted with a hash value can be created and recorded on the blockchain (BC).
[0185] A trusted execution environment (VM) can perform data processing when data collected from a data generation terminal (200) meets the criteria required for data processing.
[0186] Since the first data (DAT1) obtained from the blockchain (BC) is anonymized using the first public key among the first encryption keys (KEY1), the trusted execution environment (VM) must first obtain the first private key. The trusted execution environment (VM) can decrypt the first private key encrypted with the second public key using the second private key to obtain the first private key.
[0187] The Trusted Execution Environment (VM) can decrypt the first data based on the first private key, thereby identifying and processing the data area corresponding to the personal information. Since the first data also contains the first public key information, the Trusted Execution Environment (VM) can perform decryption using the first private key corresponding to the first public key information contained in the first data.
[0188] In addition, the trusted execution environment (VM) can perform data processing according to the data processing code. Upon completion of data processing, the trusted execution environment (VM) can provide the data processing result (RES) to the data processing request terminal (400).
[0189] The trusted execution environment (VM) can record the data processing result (RES) on the blockchain without separate encryption, but in order to prevent the data processing result (RES) from being exposed to the outside, the data processing result can be encrypted using the third public key of the data processing request terminal (400) and returned to the blockchain (BC).
[0190] A smart contract (SC) terminates when a data processing result (RES) matching the data processing request (QUE1) is returned. The trusted execution environment (VM) can verify that the data processing result (RES) has been recorded on the blockchain (BC) to confirm the completion of the smart contract (SC) execution.
[0191] When the data processing result (RES) is returned and the smart contract (SC) is terminated, the trusted execution environment (VM) running on the data processing platform server (100) enters a destruction mode. As the trusted execution environment (VM) is destroyed, data received from the data generation terminal (200) for data processing is also deleted from the data processing platform server (100).
[0192] The data processing request terminal (400) can obtain an encrypted data processing result (RES) recorded in the blockchain (BC) and decrypt the encrypted data processing result (RES) with a third private key to obtain a data processing result that corresponds to the data processing request.
[0193] FIG. 6 is a diagram for explaining a method for anonymizing personal information of a data generation terminal according to another embodiment of the present invention.
[0194] Referring to FIG. 6, the data generation terminal (200) is a terminal that generates data containing personal information, such as a home cam, CCTV, or camera, and can generate first data including a video frame by photographing a specific area.
[0195] The data generation terminal (200) can preemptively de-identify personal information contained within the image frame by photographing a specific area in order to hardware-based block access to personal information, and then perform storage, streaming, or transmission operations on the data.
[0196] Anonymization processing can be performed on areas set by the user, such as information related to people, text, and objects included in the video frame.
[0197] Depending on the embodiment, de-identification processing may be performed only for registered objects according to the user's settings, and de-identification processing may not be performed for unregistered objects.
[0198] For example, if the data generation terminal (200) is a home cam installed in a home, the user can set anonymization processing only for residents of the home, and in this case, outsiders who do not reside in the home can remain identified in the video frame.
[0199] Additionally, de-identification processing can be performed only on certain areas of an object, and the de-identification processing method can be changed in various ways depending on the user's settings, such as masking and face synthesis conversion.
[0200] Specifically, the data generation terminal (200) may be a home CCTV that records the interior of a home in real time, and a first image frame (IM1) may be generated by the data generation terminal (200). The data generation terminal (200) may recognize an object included in the first image frame (IM1) through an artificial intelligence object recognition algorithm, and may distinguish between the first user (HM1) and the object (OB).
[0201] If the first user (HM1) is set as a target for de-identification processing, the data generation terminal (200) can de-identify the data area corresponding to the first user (HM1) based on the first encryption key (KEY1). At this time, the data generation terminal (200) can perform different de-identification processing methods according to the administrator's settings, such as mosaicking a part of the body of the first user (HM1), converting the face into a composite image, or inserting a character into the body.
[0202] In the de-identified first image frame (IM1'), all or part of the body of the first user (HM1') is de-identified (BR), and the other objects (OB) remain identified. In addition, the data generation terminal (200) can store, stream, or transmit the first data including the de-identified first image frame (IM1') only after generating the de-identified first image frame (IM1').
[0203] Accordingly, even if a random third party obtains the first data, the personal information has been anonymized and the individual can no longer be identified.
[0204] FIG. 7 is a diagram for explaining a method for processing personal information identification in a trusted execution environment according to an embodiment of the present invention.
[0205] Referring to FIG. 7, the trusted execution environment (VM) can identify and process some data areas corresponding to personal information among the first data collected from the data generation terminal (200) for data processing according to the data processing code.
[0206] Since the first data is anonymized by the first public key among the first encryption keys, the trusted execution environment (VM) can perform identification processing using the first private key among the first encryption keys obtained from the encryption key supply terminal (300).
[0207] Meanwhile, since the first public key information used for anonymization processing is stored together with the first data, the trusted execution environment (VM) can perform decryption using the first private key corresponding to the first public key information included in the first data.
[0208] For example, the first data may include a second image frame (IM2), and the second image frame (IM2) may include a de-identified second user (HM2). The trusted execution environment (VM) may perform an identification processing task on the de-identified second user (HM2) to perform data processing. At this time, the trusted execution environment (VM) may selectively identify all or part of the de-identified second user (HM2), and this may vary depending on the data processing code.
[0209] The Trusted Execution Environment (VM) can perform data processing using the decrypted first data, i.e., the first data including the identified second image frame (IM2'). When the data processing results are returned according to the smart contract, the Trusted Execution Environment is destroyed, and thus, all personal information associated with the Trusted Execution Environment is also deleted, protecting individual privacy.
[0210] Ultimately, according to the method for processing personal information identification in a trusted execution environment (VM) according to an embodiment of the present invention, even if personal information is anonymized, it can be restored and used to identify the personal information in limited circumstances, and after deriving the data processing results, the personal information can be safely deleted, thereby protecting the privacy of the individual.
[0211] FIG. 8 is a diagram for explaining a smart contract according to an embodiment of the present invention.
[0212] Referring to FIG. 8, the data processing platform server (100) can create a smart contract for data processing and distribute it to a blockchain, and when the smart contract is concluded with a data processing request terminal (400), a trusted execution environment for data processing can be created.
[0213] The data processing platform server (100) can create multiple smart contracts and distribute them to the blockchain. If multiple different data processing is requested for one smart contract, multiple different trusted execution environments may be created.
[0214] The trusted execution environment created for data processing is a virtual execution environment, and at least one can be created on the data processing platform server (100) for the execution of smart contracts. That is, even if 10 smart contracts are deployed on the blockchain, if only two smart contracts are executed, the data processing platform server (100) can execute two trusted execution environments to execute the contracts.
[0215] Additionally, since each smart contract can have different settings for whether execution is completed normally, the execution period, and the execution method, each smart contract is created and destroyed independently according to the contract's establishment and execution status.
[0216] For example, the data processing platform server (100) can conclude a first smart contract (SC1) with a first data processing request terminal (400A) and conclude a second smart contract (SC2) with a second data processing request terminal (400B). The data processing platform server (100) can create a first trusted execution environment (VM1) corresponding to the conclusion of the first smart contract (SC1) and create a second trusted execution environment (VM2) corresponding to the conclusion of the second smart contract (SC2). Even if there are smart contracts distributed on the blockchain (BC) other than the first and second smart contracts (SC1 and SC2), the data processing platform server (100) executes the trusted execution environment only for the concluded smart contract.
[0217] The first Trusted Execution Environment (VM1) and the second Trusted Execution Environment (VM2) are virtual machines created based on different contractual terms and execute independently, making it impossible for one Trusted Execution Environment to influence the other. Therefore, even if the first Trusted Execution Environment (VM1) is terminated upon contract execution, the second Trusted Execution Environment (VM2) remains unaffected and can continue processing data according to the second smart contract (SC2).
[0218] In this way, the data processing platform server (100) can execute multiple smart contracts simultaneously by using a trusted execution environment in which each smart contract is independently executed, and can prevent the risk of data being leaked or mixed by using an independent data processing space that cannot be intruded upon.
[0219] FIG. 9 is a flowchart illustrating a method for anonymizing personally identifiable information using a smart contract-based trusted execution environment according to an embodiment of the present invention.
[0220] Referring to FIG. 9, a trusted execution environment running on a data processing platform server (100) can be created in response to a data processing request received from a data processing request terminal (300) according to a smart contract deployed on a blockchain (BC), and can include a data processing code (S100).
[0221] And, the trusted execution environment can obtain first data from data generation terminals (200) and decrypt the first data using the first private key among the first encryption keys (S110).
[0222] And, the trusted execution environment can process the decrypted first data based on the data processing code to generate a data processing result (S120).
[0223] In addition, the trusted execution environment can provide the data processing result to the data processing request terminal (400) according to the smart contract (S130).
[0224] Furthermore, the trusted execution environment can be destroyed by executing a destruction command upon completion of smart contract execution (S160). As the trusted execution environment is destroyed, the environment comprising the trusted execution environment is initialized, and a series of data, including the first data and data processing code received from the data generation terminal (200), are erased.
[0225] Figure 10 is a flowchart illustrating a personal information processing method using a smart contract-based trusted execution environment according to another embodiment of the present invention.
[0226] Referring to FIG. 10, the trusted execution environment can recognize an object in image data within the decrypted first data using an object recognition model (S200).
[0227] The trusted execution environment can determine the matching rate between the object characteristic information included in the data processing request and the object recognized by the object recognition model, and specify the object as the data processing target if the matching rate is determined to be higher than the standard matching rate (S210).
[0228] The trusted execution environment can select the image data that includes the data processing target among the image data included in the first data as target image data (S220).
[0229] The trusted execution environment can extract metadata corresponding to selected target image data (S230) and process the extracted metadata according to data processing code to generate data processing results (S240).
[0230] The steps of the user data management method or algorithm using data processing of a smart contract-based trusted execution environment described in connection with the embodiments of the present invention may be implemented directly in hardware, implemented as a software module executed by hardware, or implemented by a combination thereof. The software module may reside in a random access memory (RAM), a read only memory (ROM), an erasable programmable ROM (EPROM), an electrically erasable programmable ROM (EEPROM), a flash memory, a hard disk, a removable disk, a CD-ROM, or any other form of computer-readable recording medium well known in the art to which the present invention pertains.
[0231] Although the embodiments of the present invention have been described above, it is understood that those skilled in the art will be able to make various modifications and implementations without departing from the scope of the claims of the present invention.
[0232] According to the present invention, even if personal information is anonymized, it can be restored and used to identify the personal information in limited circumstances, and after the data processing results are derived, the information can be safely deleted, thereby protecting the privacy of the individual.
[0233] In addition, according to the present invention, access to personal information can be fundamentally blocked through hardware by preemptively anonymizing identified personal information prior to a series of data processing processes such as data storage, streaming, and transmission.
[0234] In addition, according to the present invention, when a smart contract is terminated, the trusted execution environment is destroyed and stored data is also deleted, thereby preventing the collected data from being leaked to the outside and fundamentally blocking the data from being viewed by the operating entity of the data processing platform server, thereby protecting the privacy of the data subject.
[0235] In addition, according to the present invention, personal information generated by data generating terminals such as cameras, CCTVs, and home cams is encrypted at the source, is not disclosed to the data subject, and is used only in a limited manner under specific analysis conditions, thereby protecting the privacy of the individual.
[0236] In addition, according to the present invention, multiple smart contracts can be executed simultaneously using a trusted execution environment in which each smart contract is executed independently.
[0237] In addition, according to the present invention, by recording the flag of the destruction command in the blockchain, it is possible to ensure that the trusted execution environment that received the data is stably removed and that the data is safely erased without being leaked to the outside.
[0238] In addition, according to the present invention, the data processing request terminal can obtain the desired data processing result without directly collecting or processing the data required for data processing, and since the data required for data processing is not exposed to the data processing request terminal, the privacy of the subject who provided the data can be safely protected.
Claims
1. A step in which a data processing platform server creates a trusted execution environment including data processing code in response to a data processing request received from a data processing request terminal according to a smart contract deployed on a blockchain; A step in which the above trusted execution environment decrypts first data obtained from a data generation terminal; A step in which the above trusted execution environment processes the first data decrypted based on the data processing code to generate a data processing result; and A method for processing personal information using a smart contract-based trusted execution environment, including a step of providing the data processing result to the data processing request terminal according to the smart contract.
2. In paragraph 1, A method for processing personal information using a smart contract-based trusted execution environment, wherein the first data includes at least one of video data and audio data that have been anonymized, metadata, and first encryption key information.
3. In paragraph 2, A method for processing personal information using a smart contract-based trusted execution environment, wherein the metadata includes first terminal information of the data generation terminal that generated the first data, the generation time of at least one of the video data and the audio data before the personal information is anonymized, and the location of the data generation terminal.
4. In paragraph 2, A method for processing personal information using a smart contract-based trusted execution environment, wherein the first encryption key information includes second terminal information of the encryption key supply terminal that generated the first encryption key, and a first public key used to de-identify the personal information.
5. In the fourth paragraph, the step of decrypting the first data is: A personal information processing method using a smart contract-based trusted execution environment, characterized in that the data area corresponding to the personal information is identified and processed using a first private key obtained from the encryption key supply terminal.
6. In paragraph 2, The first encryption key is an asymmetric key consisting of a pair of a first private key and a first public key generated by an encryption key supply terminal, the first public key is generated based on the first private key, and the first encryption key is updated by the encryption key supply terminal according to a preset schedule. A method for processing personal information using a smart contract-based trusted execution environment.
7. In the first paragraph, the step of generating the data processing result is, A step of analyzing the decrypted first data to determine a data processing target corresponding to the data processing request; A step of selecting target image data including the data processing target from among the decrypted first data; A step of extracting metadata corresponding to the selected target image data; and A method for processing personal information using a smart contract-based trusted execution environment, comprising a step of processing extracted metadata according to the data processing code to generate the data processing result.
8. In paragraph 7, the step of determining the data processing target is: A step of recognizing an object in image data within the decrypted first data using an object recognition model included in the data processing code; and A personal information processing method using a smart contract-based trusted execution environment, comprising a step of determining a matching rate between object characteristic information included in the above data processing request and a recognized object, and specifying an object having a matching rate higher than a standard matching rate as a target of the data processing.
9. In the first paragraph, the step of generating the data processing result is, A step of analyzing the decrypted first data to determine a data processing target corresponding to the data processing request; A step of selecting target audio data including the data processing target from among the decrypted first data; A step of extracting metadata corresponding to the selected target target acoustic data; and A method for processing personal information using a smart contract-based trusted execution environment, comprising a step of processing extracted metadata according to the data processing code to generate the data processing result.
10. In paragraph 9, the step of determining the data processing target is: A step of classifying the acoustic data in the decoded first data using the acoustic signal analysis model included in the data processing code; and A personal information processing method using a smart contract-based trusted execution environment, comprising a step of determining a matching rate between object characteristic information included in the above data processing request and classified sound data, and specifying sound data having a matching rate higher than a standard matching rate as a target of the data processing.
11. In paragraph 1, after the step of providing the data processing request terminal, A method for processing personal information using a smart contract-based trusted execution environment, further comprising a step of destroying the trusted execution environment according to the smart contract.
12. A computer-readable storage medium storing one or more programs, wherein the one or more programs are configured to be executed by one or more processors of an electronic device, and the one or more programs are a computer-readable recording medium including instructions for performing any one of the methods of claims 1 to 11.
13. Multiple data generation terminals that generate temporary data by shooting or collecting sound in different areas, recognize personal information in the temporary data, and generate first data by de-identifying the personal information based on the first encryption key; and A personal information processing system using a smart contract-based trusted execution environment, including a data processing platform server that generates a trusted execution environment that provides a data processing result generated based on the first data to the data processing request terminal in response to a data processing request received from the data processing request terminal according to a smart contract deployed on a blockchain.
14. In paragraph 13, A personal information processing system using a smart contract-based trusted execution environment, wherein the first data includes at least one of video data and audio data that have been anonymized, metadata, and first encryption key information.
15. In paragraph 14, the trusted execution environment is: A personal information processing system using a smart contract-based trusted execution environment that decrypts first data obtained through the blockchain from each of the above data generation terminals, processes the decrypted first data according to a data processing code, and generates a data processing result.
16. In paragraph 14, the trusted execution environment is: A personal information processing system using a smart contract-based trusted execution environment, characterized in that the first public key used for anonymization processing is determined based on the first encryption key information, the personal information is identified using the first private key corresponding to the first public key, and the first data is decrypted.
17. In paragraph 14, the trusted execution environment is: A personal information processing system using a smart contract-based trusted execution environment that analyzes the decrypted first data to determine a data processing target corresponding to the data processing request, selects target image data including the data processing target from among the decrypted first data, and processes metadata corresponding to the selected target image data according to a data processing code to generate the data processing result.
18. In paragraph 17, the trusted execution environment is: A personal information processing system using a smart contract-based trusted execution environment that recognizes an object in image data within the decrypted first data using an object recognition model included in the data processing code, determines a matching rate between the object characteristic information included in the data processing request and the recognized object, and specifies an object having a matching rate higher than a standard matching rate as a target of the data processing.
19. In paragraph 14, the trusted execution environment is: A personal information processing system using a smart contract-based trusted execution environment that analyzes the decrypted first data to determine a data processing target corresponding to the data processing request, selects target audio data including the data processing target from among the decrypted first data, and processes metadata corresponding to the selected target audio data according to a data processing code to generate the data processing result.
20. In paragraph 19, the trusted execution environment is: A personal information processing system using a smart contract-based trusted execution environment that classifies audio data in the decrypted first data using an audio signal analysis model included in the data processing code, determines the matching rate between the object characteristic information included in the data processing request and the classified audio data, and specifies audio data having a value higher than a standard matching rate as the data processing target.
21. In paragraph 13, A personal information processing system using a smart contract-based trusted execution environment, further comprising an encryption key supply terminal that generates the first encryption key according to a preset schedule and provides it to each of the data generation terminals.
22. In paragraph 21, A personal information processing system using a smart contract-based trusted execution environment, characterized in that each of the above data generating terminals receives a second encryption key having a different value.
Citation Information
Patent Citations
System for authentic internet identification serviceand management method for the same
KR1020060003601A
Gate release garbage
KR1020220114207A
Blockchain system for personal information management
KR102204428B1
Pin type wire for slip ring
KR102358089B1
Cloud-side collaborative multi-mode private data circulation method based on smart contract
US20230041862A1
Cited By
Method for issuing credential of trusted execution environment using smart contract
WO2025075459A1
