KR102444932B1 - Electronic device and Method for controlling the electronic device - Google Patents

Electronic device and Method for controlling the electronic device Download PDF

Info

Publication number
KR102444932B1
KR102444932B1 KR1020170142106A KR20170142106A KR102444932B1 KR 102444932 B1 KR102444932 B1 KR 102444932B1 KR 1020170142106 A KR1020170142106 A KR 1020170142106A KR 20170142106 A KR20170142106 A KR 20170142106A KR 102444932 B1 KR102444932 B1 KR 102444932B1
Authority
KR
South Korea
Prior art keywords
image
electronic device
feature value
user
user key
Prior art date
Application number
KR1020170142106A
Other languages
Korean (ko)
Other versions
KR20190011180A (en
Inventor
강성민
한흥우
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to PCT/KR2018/008355 priority Critical patent/WO2019022472A1/en
Priority to CN201880049170.5A priority patent/CN110945505B/en
Priority to EP22178575.1A priority patent/EP4080393A1/en
Priority to US16/043,930 priority patent/US10587776B2/en
Priority to EP18838530.6A priority patent/EP3635605B1/en
Publication of KR20190011180A publication Critical patent/KR20190011180A/en
Priority to US16/782,484 priority patent/US10992839B2/en
Priority to KR1020220115847A priority patent/KR102615597B1/en
Application granted granted Critical
Publication of KR102444932B1 publication Critical patent/KR102444932B1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/44Secrecy systems
    • H04N1/4406Restricting access, e.g. according to user identity
    • H04N1/444Restricting access, e.g. according to user identity to a particular document or image or part thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • G06F21/46Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T7/00Image analysis
    • G06T7/0002Inspection of images, e.g. flaw detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T9/00Image coding
    • G06T9/002Image coding using neural networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/44Secrecy systems
    • H04N1/4406Restricting access, e.g. according to user identity
    • H04N1/4413Restricting access, e.g. according to user identity involving the use of passwords, ID codes or the like, e.g. PIN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2347Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving video stream encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4405Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving video stream decryption
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20081Training; Learning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2207/00Indexing scheme for image analysis or image enhancement
    • G06T2207/20Special algorithmic details
    • G06T2207/20084Artificial neural networks [ANN]

Abstract

본 개시는 딥러닝 등의 기계 학습 알고리즘을 활용하는 인공지능(AI) 시스템 및 그 응용에 관련된 것이다. 특히,인공지능 학습 모델을 이용하여 이미지를 암호화하여 외부 서버에 업로드하기 위한 전자 장치의 제어 방법은, 이미지를 획득하고, 획득된 이미지를 외부 서버에 업로드하기 위한 사용자 명령을 입력받으며, 사용자 명령에 응답하여 이미지 및 사용자 키를 입력 데이터로 이용하여 특징값을 획득하도록 학습된 암호화 모델에 획득된 이미지와 전자 장치의 사용자 키를 입력하여 획득된 이미지에 대응되는 특징값을 획득하고, 획득된 이미지의 식별 정보와 특징값을 외부 서버에 전송할 수 있다.The present disclosure relates to an artificial intelligence (AI) system using a machine learning algorithm such as deep learning and its application. In particular, the control method of an electronic device for encrypting an image using an artificial intelligence learning model and uploading it to an external server is to acquire an image, receive a user command for uploading the acquired image to an external server, and respond to the user command. In response, an image obtained by inputting an image obtained to an encryption model learned to obtain a feature value by using an image and a user key as input data and a user key of the electronic device to obtain a feature value corresponding to the image obtained, Identification information and feature values may be transmitted to an external server.

Description

이미지를 암호화하여 외부 서버에 업로드하기 위한 전자 장치 및 이의 제어 방법{Electronic device and Method for controlling the electronic device}Electronic device and method for controlling the electronic device for encrypting an image and uploading it to an external server

본 개시는 전자 장치 및 이의 제어 방법에 관한 것으로, 더욱 상세하게는 사용자 키를 이용하여 이미지를 암호화하고, 암호화된 이미지를 외부 서버에 업로드하기 위한 전자 장치 및 이의 제어 방법에 관한 것이다.The present disclosure relates to an electronic device and a control method thereof, and more particularly, to an electronic device for encrypting an image using a user key and uploading the encrypted image to an external server, and a control method thereof.

또한, 본 개시는 기계 학습 알고리즘을 활용하여 인간 두뇌의 인지, 판단 등의 기능을 모사하는 인공 지능(Artificial Intelligence, AI) 시스템 및 그 응용에 관한 것이다.In addition, the present disclosure relates to an artificial intelligence (AI) system for simulating functions such as cognition and judgment of a human brain by using a machine learning algorithm and an application thereof.

근래에는 인간 수준의 지능을 구현하는 인공 지능 시스템이 다양한 분야에서 이용되고 있다. 인공 지능 시스템은 기존의 룰(rule) 기반 스마트 시스템과 달리 기계가 스스로 학습하고 판단하며 똑똑해지는 시스템이다. 인공 지능 시스템은 사용할수록 인식률이 향상되고 사용자 취향을 보다 정확하게 이해할 수 있게 되어, 기존 룰 기반 스마트 시스템은 점차 딥러닝 기반 인공 지능 시스템으로 대체되고 있다.Recently, artificial intelligence systems that implement human-level intelligence have been used in various fields. Unlike the existing rule-based smart system, an artificial intelligence system is a system in which a machine learns, judges, and becomes smarter by itself. The more the artificial intelligence system is used, the better the recognition rate and the more accurate understanding of user preferences, and the existing rule-based smart systems are gradually being replaced by deep learning-based artificial intelligence systems.

인공 지능 기술은 기계학습(예로, 딥러닝) 및 기계학습을 활용한 요소 기술들로 구성된다.Artificial intelligence technology consists of machine learning (eg, deep learning) and elemental technologies using machine learning.

기계학습은 입력 데이터들의 특징을 스스로 분류/학습하는 알고리즘 기술이며, 요소기술은 딥러닝 등의 기계학습 알고리즘을 활용하여 인간 두뇌의 인지, 판단 등의 기능을 모사하는 기술로서, 언어적 이해, 시각적 이해, 추론/예측, 지식 표현, 동작 제어 등의 기술 분야로 구성된다.Machine learning is an algorithm technology that categorizes/learns the characteristics of input data by itself, and element technology uses machine learning algorithms such as deep learning to simulate functions such as cognition and judgment of the human brain. It consists of technical fields such as understanding, reasoning/prediction, knowledge expression, and motion control.

인공 지능 기술이 응용되는 다양한 분야는 다음과 같다. 언어적 이해는 인간의 언어/문자를 인식하고 응용/처리하는 기술로서, 자연어 처리, 기계 번역, 대화시스템, 질의 응답, 음성 인식/합성 등을 포함한다. 시각적 이해는 사물을 인간의 시각처럼 인식하여 처리하는 기술로서, 객체 인식, 객체 추적, 영상 검색, 사람 인식, 장면 이해, 공간 이해, 영상 개선 등을 포함한다. 추론 예측은 정보를 판단하여 논리적으로 추론하고 예측하는 기술로서, 지식/확률 기반 추론, 최적화 예측, 선호 기반 계획, 추천 등을 포함한다. 지식 표현은 인간의 경험정보를 지식데이터로 자동화 처리하는 기술로서, 지식 구축(데이터 생성/분류), 지식 관리(데이터 활용) 등을 포함한다. 동작 제어는 차량의 자율 주행, 로봇의 움직임을 제어하는 기술로서, 움직임 제어(항법, 충돌, 주행), 조작 제어(행동 제어) 등을 포함한다.Various fields where artificial intelligence technology is applied are as follows. Linguistic understanding is a technology for recognizing and applying/processing human language/text, and includes natural language processing, machine translation, dialogue system, question and answer, and speech recognition/synthesis. Visual understanding is a technology for recognizing and processing objects like human vision, and includes object recognition, object tracking, image search, human recognition, scene understanding, spatial understanding, image improvement, and the like. Inferential prediction is a technology for logically reasoning and predicting by judging information, and includes knowledge/probability-based reasoning, optimization prediction, preference-based planning, and recommendation. Knowledge expression is a technology that automatically processes human experience information into knowledge data, and includes knowledge construction (data generation/classification) and knowledge management (data utilization). Motion control is a technology for controlling autonomous driving of a vehicle and movement of a robot, and includes motion control (navigation, collision, driving), manipulation control (action control), and the like.

한편, 근래에는 통신 기술이 발달하고 고화질 이미지의 용량이 점점 커짐에 따라 전자 장치에 의해 촬영된 이미지를 단순히 전자 장치 내부에 저장할 뿐만 아니라 클라우드 서버와 같은 외부 장치에 저장할 수 있다.Meanwhile, in recent years, as communication technology develops and the capacity of a high-definition image gradually increases, an image captured by the electronic device may be stored in an external device such as a cloud server as well as simply stored inside the electronic device.

이 경우, 클라우드 서버와 같은 외부 장치로 이미지를 전송할 때, 해킹으로 인한 프라이버시 문제가 발생할 뿐만 아니라, 고화질의 이미지 자체를 외부 장치로 전송할 때 시간과 비용이 많이 드는 문제가 발생할 수 있다.In this case, when transmitting an image to an external device such as a cloud server, privacy problems due to hacking may occur, and time and costly problems may occur when transmitting a high-quality image itself to an external device.

따라서, 외부 장치에 이미지를 업로드하는 과정 혹은 다운로드 하는 과정에서 개인 정보 유출을 막고, 작은 용량으로 이미지를 업로드할 수 있는 방안의 요색이 요청된다. Accordingly, there is a demand for a method for preventing personal information leakage in the process of uploading or downloading an image to an external device and uploading an image with a small capacity.

본 개시의 목적은 이미지를 외부 서버로 업로드 및 다운로드할 때, 사용자 키를 이용하여 이미지를 암호화 및 압축화함으로써, 개인 정보의 유출을 막고 작은 용량의 압축된 이미지를 업로드 및 다운로드할 수 있는 전자 장치 및 이의 제어 방법을 제공함에 있다. An object of the present disclosure is to prevent leakage of personal information by encrypting and compressing an image using a user key when uploading and downloading an image to an external server, and to upload and download a compressed image of a small capacity. And to provide a control method thereof.

본 개시의 일 실시예에 따른, 인공지능 학습 모델을 이용하여 이미지를 암호화하여 외부 서버에 업로드하기 위한 전자 장치의 제어 방법은, 이미지를 획득하는 단계; 상기 획득된 이미지를 상기 외부 서버에 업로드하기 위한 사용자 명령을 입력받는 단계; 상기 사용자 명령에 응답하여, 이미지 및 사용자 키를 입력 데이터로 이용하여 특징값을 획득하도록 학습된 암호화 모델에 상기 획득된 이미지와 상기 전자 장치의 사용자 키를 입력하여 상기 획득된 이미지에 대응되는 특징값을 획득하는 단계; 및 상기 획득된 이미지의 식별 정보와 상기 특징값을 상기 외부 서버에 전송하는 단계;를 포함할 수 있다.According to an embodiment of the present disclosure, a control method of an electronic device for encrypting an image using an artificial intelligence learning model and uploading it to an external server includes: acquiring an image; receiving a user command for uploading the acquired image to the external server; In response to the user command, by inputting the acquired image and the user key of the electronic device into an encryption model trained to acquire a feature value using an image and a user key as input data, a feature value corresponding to the acquired image obtaining a; and transmitting the identification information of the acquired image and the feature value to the external server.

또한, 상기 전자 장치의 사용자 키는, 상기 전자 장치의 사용자에 의해 입력된 비밀번호 및 상기 전자 장치의 식별 정보 중 하나이거나, 이것들로부터 생성된 새로운 값일 수 있다.In addition, the user key of the electronic device may be one of a password input by the user of the electronic device and identification information of the electronic device, or a new value generated therefrom.

그리고, 상기 전송하는 단계는, 상기 전자 장치의 사용자 키가 복수 개 존재하는 경우, 상기 복수 개의 사용자 키 중 상기 획득된 이미지에 대응되는 사용자 키의 버전 정보를 상기 획득된 이미지의 식별 정보 및 상기 특징값과 함께 상기 외부 서버에 전송할 수 있다.In addition, the transmitting includes, when there are a plurality of user keys of the electronic device, version information of a user key corresponding to the obtained image among the plurality of user keys, identification information of the obtained image and the feature It can be transmitted to the external server together with the value.

또한, 상기 사용자 명령에 응답하여, 상기 획득된 이미지에 대응되는 썸네일 이미지를 획득하는 단계; 상기 획득된 썸네일 이미지 및 상기 획득된 이미지의 식별 정보를 매칭하여 저장하는 단계; 및 상기 획득된 이미지를 삭제하는 단계;를 포함할 수 있다.In addition, in response to the user command, obtaining a thumbnail image corresponding to the obtained image; matching and storing the obtained thumbnail image and identification information of the obtained image; and deleting the acquired image.

그리고, 사용자로부터 상기 획득된 이미지를 디스플레이하기 위한 사용자 명령이 수신되면, 상기 획득된 썸네일 이미지를 제공하는 단계;를 포함할 수 있다.And, when a user command for displaying the acquired image is received from the user, providing the acquired thumbnail image; may include.

또한, 상기 외부 서버는, 상기 획득된 이미지의 식별 정보와 상기 특징값을 매칭하여 저장하고, 상기 특징값을 바탕으로 상기 획득된 이미지와 다른 이미지의 유사도를 비교하며, 상기 유사도 비교를 바탕으로 상기 획득된 이미지를 분류할 수 있다.In addition, the external server matches and stores the identification information of the acquired image with the characteristic value, compares the similarity between the acquired image and another image based on the characteristic value, and based on the similarity comparison, the The acquired images can be classified.

그리고, 키워드를 입력받는 단계; 상기 키워드와 관련된 이미지를 검색하기 위한 사용자 명령을 입력받는 단계; 상기 키워드와 관련된 검색을 요청하는 신호를 상기 외부 서버로 전송하는 단계; 및 상기 신호에 응답하여 상기 유사도 비교를 바탕으로 분류된 이미지들 중 상기 키워드와 관련된 적어도 하나의 검색 이미지에 대응되는 특징값을 상기 외부 서버로부터 수신하는 단계;를 포함할 수 있다.And, receiving a keyword input; receiving a user command for searching for an image related to the keyword; transmitting a signal for requesting a search related to the keyword to the external server; and receiving, from the external server, a feature value corresponding to at least one search image related to the keyword among images classified based on the similarity comparison in response to the signal.

또한, 특징값과 사용자 키를 입력 데이터로 이용하여 이미지를 복원하도록 학습된 복호화 모델에 상기 적어도 하나의 검색 이미지에 대응되는 특징값 및 상기 전자 장치의 사용자 키를 입력하여 상기 적어도 하나의 검색 이미지를 복원하는 단계;를 포함할 수 있다.In addition, the at least one search image is obtained by inputting a feature value corresponding to the at least one search image and a user key of the electronic device into a decoding model that has been trained to restore an image using a feature value and a user key as input data. Restoring; may include.

그리고, 상기 획득된 이미지에 대응되는 특징값을 수신하기 위한 사용자의 다운로드 명령이 입력되면, 상기 외부 서버로 상기 획득된 이미지에 대응되는 특징값을 요청하는 신호를 전송하는 단계; 상기 신호에 응답하여, 상기 외부 서버로부터 상기 획득된 이미지에 대응되는 특징값을 수신하는 단계; 및 상기 특징값과 사용자 키를 입력 데이터로 이용하여 이미지를 복원하도록 학습된 복호화 모델에 상기 획득된 이미지에 대응되는 특징값 및 상기 전자 장치의 사용자 키를 입력하여 상기 획득된 이미지를 복원하는 단계;를 포함할 수 있다.And, when a user's download command for receiving a feature value corresponding to the acquired image is input, transmitting a signal requesting a feature value corresponding to the acquired image to the external server; receiving a feature value corresponding to the acquired image from the external server in response to the signal; and inputting a feature value corresponding to the acquired image and a user key of the electronic device into a decoding model trained to restore an image by using the feature value and the user key as input data to restore the acquired image. may include.

또한, 상기 수신하는 단계는, 상기 외부 서버로부터 상기 획득된 이미지에 대응되는 특징값과 함께 상기 획득된 이미지를 암호화하기 위해 이용된 상기 전자 장치의 사용자 키의 버전 정보를 함께 수신하며, 상기 복원하는 단계는, 상기 복호화 모델에 상기 획득된 이미지에 대응되는 특징값 및 상기 버전 정보에 대응되는 상기 전자 장치의 사용자 키를 입력하여 상기 획득된 이미지를 복원할 수 있다.In addition, the receiving includes receiving version information of a user key of the electronic device used to encrypt the acquired image together with a feature value corresponding to the acquired image from the external server, and restoring the The step may include inputting a feature value corresponding to the acquired image and a user key of the electronic device corresponding to the version information to the decoding model to restore the acquired image.

한편, 본 개시의 일 실시예에 따른, 전자 장치는, 통신부; 디스플레이; 이미지 및 사용자 키를 입력 데이터로 이용하여 특징값을 획득하도록 학습된 암호화 모델 및 상기 전자 장치의 동작을 수행하기 위한 프로그램을 저장하는 메모리; 및 상기 통신부, 상기 디스플레이 및 상기 메모리와 전기적으로 연결되어 상기 전자 장치를 제어하는 프로세서;를 포함하며, 상기 프로세서는, 획득된 이미지를 상기 외부 서버에 업로드하기 위한 사용자 명령에 따른 입력 신호를 획득하고, 상기 입력 신호에 응답하여, 상기 암호화 모델에 상기 획득된 이미지와 상기 전자 장치의 사용자 키를 입력하여 상기 획득된 이미지에 대응되는 특징값을 획득하고, 상기 획득된 이미지의 식별 정보와 상기 특징값을 상기 외부 서버에 전송하도록 상기 통신부를 제어할 수 있다.Meanwhile, according to an embodiment of the present disclosure, an electronic device includes: a communication unit; display; a memory for storing an encryption model learned to obtain a feature value using an image and a user key as input data and a program for performing an operation of the electronic device; and a processor electrically connected to the communication unit, the display, and the memory to control the electronic device, wherein the processor obtains an input signal according to a user command for uploading the acquired image to the external server, , in response to the input signal, input the acquired image and the user key of the electronic device to the encryption model to acquire a feature value corresponding to the acquired image, identification information of the acquired image and the feature value may control the communication unit to transmit to the external server.

또한, 상기 전자 장치의 사용자 키는, 상기 전자 장치의 사용자에 의해 입력된 비밀번호 및 상기 전자 장치의 식별 정보 중 하나이거나, 이것들로부터 생성된 새로운 값일 수 있다.In addition, the user key of the electronic device may be one of a password input by the user of the electronic device and identification information of the electronic device, or a new value generated therefrom.

그리고, 상기 프로세서는, 상기 전자 장치의 사용자 키가 복수 개 존재하는 경우, 상기 복수 개의 사용자 키 중 상기 획득된 이미지에 대응되는 사용자 키의 버전 정보를 상기 획득된 이미지의 식별 정보 및 상기 특징값과 함께 상기 외부 서버에 전송하도록 상기 통신부를 제어할 수 있다.In addition, when there are a plurality of user keys of the electronic device, the processor is configured to combine version information of a user key corresponding to the obtained image among the plurality of user keys with identification information of the obtained image and the feature value. The communication unit may be controlled to transmit to the external server together.

또한, 상기 프로세서는, 상기 사용자 명령에 응답하여, 상기 획득된 이미지에 대응되는 썸네일 이미지를 획득하고, 상기 획득된 썸네일 이미지 및 상기 획득된 이미지의 식별 정보를 매칭하여 상기 메모리에 저장하며, 상기 획득된 이미지를 상기 메모리에서 삭제할 수 있다.In addition, in response to the user command, the processor acquires a thumbnail image corresponding to the acquired image, matches the acquired thumbnail image with identification information of the acquired image, and stores it in the memory, and the acquisition images can be deleted from the memory.

그리고, 상기 프로세서는, 사용자로부터 상기 획득된 이미지를 디스플레이하기 위한 사용자 명령이 수신되면, 상기 획득된 썸네일 이미지를 제공하도록 상기 디스플레이를 제어할 수 있다.And, when a user command for displaying the acquired image is received from the user, the processor may control the display to provide the acquired thumbnail image.

또한, 상기 획득된 이미지의 식별 정보와 상기 특징값이 매칭되어 상기 외부 서버에 저장되며, 상기 외부 서버는, 상기 특징값을 바탕으로 상기 획득된 이미지와 다른 이미지의 유사도를 비교하며, 상기 유사도 비교를 바탕으로 상기 획득된 이미지를 분류할 수 있다.In addition, the identification information of the acquired image and the characteristic value are matched and stored in the external server, and the external server compares the similarity between the acquired image and another image based on the characteristic value, and compares the similarity Based on , the acquired image may be classified.

그리고, 상기 프로세서는, 입력된 키워드와 관련된 이미지를 검색하기 위한 사용자 명령에 따른 입력 신호를 획득하고, 상기 키워드와 관련된 검색을 요청하는 신호를 상기 외부 서버로 전송하도록 상기 통신부를 제어하며, 상기 통신부를 통해 상기 유사도 비교를 바탕으로 분류된 이미지들 중 상기 키워드와 관련된 적어도 하나의 검색 이미지에 대응되는 특징값을 상기 외부 서버로부터 수신할 수 있다.The processor controls the communication unit to obtain an input signal according to a user command for searching for an image related to the input keyword, and to transmit a signal for requesting a search related to the keyword to the external server, the communication unit Through , a feature value corresponding to at least one search image related to the keyword among images classified based on the similarity comparison may be received from the external server.

또한, 상기 메모리는, 특징값과 사용자 키를 입력 데이터로 이용하여 이미지를 복원하도록 학습된 복호화 모델을 저장하며, 상기 프로세서는, 상기 복호화 모델에 상기 적어도 하나의 검색 이미지에 대응되는 특징값 및 상기 전자 장치의 사용자 키를 입력하여 상기 적어도 하나의 검색 이미지를 복원할 수 있다.In addition, the memory stores a decoded model trained to restore an image by using a feature value and a user key as input data, and the processor includes: a feature value corresponding to the at least one search image in the decryption model; The at least one search image may be restored by inputting a user key of the electronic device.

그리고, 상기 메모리는, 특징값과 사용자 키를 입력 데이터로 이용하여 이미지를 복원하도록 학습된 복호화 모델을 저장하며, 상기 프로세서는,And, the memory stores a decryption model learned to restore an image by using the feature value and the user key as input data, the processor,

상기 획득된 이미지에 대응되는 특징값을 수신하기 위한 사용자의 다운로드 명령이 입력되면, 상기 외부 서버로 상기 획득된 이미지에 대응되는 특징값을 요청하는 신호를 전송하도록 상기 통신부를 제어하며, 상기 통신부를 통해 상기 외부 서버로부터 상기 획득된 이미지에 대응되는 특징값을 수신하며, 상기 복호화 모델에 상기 획득된 이미지에 대응되는 특징값 및 상기 전자 장치의 사용자 키를 입력하여 상기 획득된 이미지를 복원할 수 있다.When a user's download command for receiving a feature value corresponding to the acquired image is input, the communication unit is controlled to transmit a signal requesting a characteristic value corresponding to the acquired image to the external server, and the communication unit receive a feature value corresponding to the obtained image from the external server through .

그리고, 상기 외부 서버로부터 상기 획득된 이미지에 대응되는 특징값과 함께 상기 획득된 이미지를 암호화하기 위해 이용된 상기 전자 장치의 사용자 키의 버전 정보가 함께 수신되며, 상기 프로세서는, 상기 복호화 모델에 상기 획득된 이미지에 대응되는 특징값 및 상기 버전 정보에 대응되는 상기 전자 장치의 사용자 키를 입력하여 상기 획득된 이미지를 복원할 수 있다.In addition, version information of a user key of the electronic device used to encrypt the acquired image is received together with a feature value corresponding to the acquired image from the external server, and the processor is configured to include the The acquired image may be restored by inputting a feature value corresponding to the acquired image and a user key of the electronic device corresponding to the version information.

상술한 바와 같은 본 개시의 다양한 실시예에 의해, 사용자는 전자 장치에 의해 획득된 이미지를 외부 서버에 업로드 또는 다운로드할 때 개인 정보의 유출을 막을 수 있을 뿐만 아니라, 작은 용량으로 이미지를 외부 장치에 저장할 수 있다.According to various embodiments of the present disclosure as described above, when a user uploads or downloads an image acquired by an electronic device to an external server, it is possible to prevent leakage of personal information as well as to transmit an image to an external device with a small capacity. can be saved

도 1은 본 개시의 일 실시예에 따른, 사용자 키를 이용하여 이미지를 압축 및 암호화하여 외부 서버에 저장할 수 있는 시스템을 설명하기 위한 도면,
도 2는 본 개시의 일 실시예에 따른, 전자 장치의 구성을 간략히 도시한 블록도,
도 3은 본 개시의 일 실시예에 따른, 전자 장치의 구성을 상세히 도시한 블록도,
도 4는 본 개시의 일 실시예에 따른, 이미지를 암호화하는 모듈 및 복호화하는 모듈을 포함하는 블록도,
도 5a 및 5b는 본 개시의 일 실시예에 따른, 학습된 암호화 모델 및 복호화 모델을 설명하기 위한 도면,
도 6a 및 도 6b는 본 개시의 일 실시예에 따른, 암호화 모델에 입력되는 입력 데이터를 생성하는 방법을 설명하기 위한 도면,
도 7은 본 개시의 일 실시예에 따른, 외부 서버의 구성을 간략히 도시한 블록도,
도 8a 및 도 8b는 본 개시의 일 실시예에 따른, 암호화 모델을 이용하여 이미지를 암호화하여 업로드하는 방법을 설명하기 위한 도면들,
도 9a 및 도 9b는 본 개시의 일 실시예에 따른, 복호화 모델을 이용하여 이미지를 다운로드하여 복호화하는 방법을 설명하기 위한 도면들,
도 10a 및 도 10b는 본 개시의 일 실시예에 따른, 복호화 모델을 이용하여 이미지를 검색하여 복호화하는 방법을 설명하기 위한 도면들,
도 11은 본 개시의 일 실시예에 따른, 암호화 모델을 이용하여 이미지를 암호화하여 외부 서버에 업로드하기 위한 방법을 설명하기 위한 흐름도,
도 12는 본 개시의 일 실시예에 따른, 암호화 모델 및 복호화 모델을 학습하고 이용하기 위한 전자 장치의 구성을 나타내는 블록도,
도 13a 내지 도 13c는 본 개시의 일 실시예에 따른, 학습부 및 암호화부/복호화부의 구체적인 구성을 나타내는 블록도,
도 14 및 도 15는 본 개시의 다양한 실시예에 따른, 암호화 모델 또는 복호화 모델을 이용하는 네트워크 시스템의 흐름도이다.
1 is a view for explaining a system capable of compressing and encrypting an image using a user key and storing it in an external server according to an embodiment of the present disclosure;
2 is a block diagram schematically illustrating a configuration of an electronic device according to an embodiment of the present disclosure;
3 is a block diagram illustrating the configuration of an electronic device in detail according to an embodiment of the present disclosure;
4 is a block diagram including a module for encrypting an image and a module for decrypting an image, according to an embodiment of the present disclosure;
5A and 5B are diagrams for explaining a learned encryption model and a decryption model according to an embodiment of the present disclosure;
6A and 6B are diagrams for explaining a method of generating input data input to an encryption model according to an embodiment of the present disclosure;
7 is a block diagram schematically illustrating the configuration of an external server according to an embodiment of the present disclosure;
8A and 8B are diagrams for explaining a method of encrypting and uploading an image using an encryption model, according to an embodiment of the present disclosure;
9A and 9B are diagrams for explaining a method of downloading and decoding an image using a decoding model, according to an embodiment of the present disclosure;
10A and 10B are diagrams for explaining a method of searching for and decoding an image using a decoding model, according to an embodiment of the present disclosure;
11 is a flowchart illustrating a method for encrypting an image using an encryption model and uploading it to an external server according to an embodiment of the present disclosure;
12 is a block diagram illustrating a configuration of an electronic device for learning and using an encryption model and a decryption model according to an embodiment of the present disclosure;
13A to 13C are block diagrams showing specific configurations of a learning unit and an encryption unit/decryption unit according to an embodiment of the present disclosure;
14 and 15 are flowcharts of a network system using an encryption model or a decryption model, according to various embodiments of the present disclosure.

이하, 본 개시의 다양한 실시 예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 개시에 기재된 기술을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 개시의 실시 예의 다양한 변경(modifications), 균등물(equivalents), 및/또는 대체물(alternatives)을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다.Hereinafter, various embodiments of the present disclosure will be described with reference to the accompanying drawings. However, this is not intended to limit the technology described in the present disclosure to specific embodiments, and it should be understood that various modifications, equivalents, and/or alternatives of the embodiments of the present disclosure are included. . In connection with the description of the drawings, like reference numerals may be used for like components.

본 개시에서, "가진다," "가질 수 있다," "포함한다," 또는 "포함할 수 있다" 등의 표현은 해당 특징(예: 수치, 기능, 동작, 또는 부품 등의 구성요소)의 존재를 가리키며, 추가적인 특징의 존재를 배제하지 않는다.In the present disclosure, expressions such as “have,” “may have,” “include,” or “may include” indicate the presence of a corresponding characteristic (eg, a numerical value, function, operation, or component such as a part). and does not exclude the presence of additional features.

본 개시에서, "A 또는 B," "A 또는/및 B 중 적어도 하나," 또는 "A 또는/및 B 중 하나 또는 그 이상"등의 표현은 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다. 예를 들면, "A 또는 B," "A 및 B 중 적어도 하나," 또는 "A 또는 B 중 적어도 하나"는, (1) 적어도 하나의 A를 포함, (2) 적어도 하나의 B를 포함, 또는 (3) 적어도 하나의 A 및 적어도 하나의 B 모두를 포함하는 경우를 모두 지칭할 수 있다.In this disclosure, expressions such as “A or B,” “at least one of A and/and B,” or “one or more of A or/and B” may include all possible combinations of the items listed together. . For example, "A or B," "at least one of A and B," or "at least one of A or B" means (1) includes at least one A, (2) includes at least one B; Or (3) it may refer to all cases including both at least one A and at least one B.

본 개시에서 사용된 "제1," "제2," "첫째," 또는 "둘째,"등의 표현들은 다양한 구성요소들을, 순서 및/또는 중요도에 상관없이 수식할 수 있고, 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 뿐 해당 구성요소들을 한정하지 않는다. As used in the present disclosure, expressions such as “first,” “second,” “first,” or “second,” may modify various elements, regardless of order and/or importance, and refer to one element. It is used only to distinguish it from other components, and does not limit the components.

어떤 구성요소(예: 제1 구성요소)가 다른 구성요소(예: 제2 구성요소)에 "(기능적으로 또는 통신적으로) 연결되어((operatively or communicatively) coupled with/to)" 있다거나 "접속되어(connected to)" 있다고 언급된 때에는, 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로 연결되거나, 다른 구성요소(예: 제3 구성요소)를 통하여 연결될 수 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소(예: 제1 구성요소)가 다른 구성요소(예: 제2 구성요소)에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소와 상기 다른 구성요소 사이에 다른 구성요소(예: 제 3 구성요소)가 존재하지 않는 것으로 이해될 수 있다.A component (eg, a first component) is "coupled with/to (operatively or communicatively)" to another component (eg, a second component) When referring to "connected to", it should be understood that the certain element may be directly connected to the other element or may be connected through another element (eg, a third element). On the other hand, when it is said that a component (eg, a first component) is "directly connected" or "directly connected" to another component (eg, a second component), the component and the It may be understood that other components (eg, a third component) do not exist between other components.

본 개시에서 사용된 표현 "~하도록 구성된(또는 설정된)(configured to)"은 상황에 따라, 예를 들면, "~에 적합한(suitable for)," "~하는 능력을 가지는(having the capacity to)," "~하도록 설계된(designed to)," "~하도록 변경된(adapted to)," "~하도록 만들어진(made to)," 또는 "~를 할 수 있는(capable of)"과 바꾸어 사용될 수 있다. 용어 "~하도록 구성된(또는 설정된)"은 하드웨어적으로 "특별히 설계된(specifically designed to)" 것만을 반드시 의미하지 않을 수 있다. 대신, 어떤 상황에서는, "~하도록 구성된 장치"라는 표현은, 그 장치가 다른 장치 또는 부품들과 함께 "~할 수 있는" 것을 의미할 수 있다. 예를 들면, 문구 "A, B, 및 C를 수행하도록 구성된(또는 설정된) 부프로세서"는 해당 동작을 수행하기 위한 전용 프로세서(예: 임베디드 프로세서), 또는 메모리 장치에 저장된 하나 이상의 소프트웨어 프로그램들을 실행함으로써, 해당 동작들을 수행할 수 있는 범용 프로세서(generic-purpose processor)(예: CPU 또는 application processor)를 의미할 수 있다. The expression "configured to (or configured to)" as used in this disclosure depends on the context, for example, "suitable for," "having the capacity to" ," "designed to," "adapted to," "made to," or "capable of." The term “configured (or configured to)” may not necessarily mean only “specifically designed to” in hardware. Instead, in some circumstances, the expression “a device configured to” may mean that the device is “capable of” with other devices or parts. For example, the phrase “a coprocessor configured (or configured to perform) A, B, and C” may refer to a dedicated processor (eg, an embedded processor), or one or more software programs stored in a memory device, to perform the corresponding operations. By doing so, it may mean a generic-purpose processor (eg, a CPU or an application processor) capable of performing corresponding operations.

본 개시의 다양한 실시예들에 따른 전자 장치는, 예를 들면, 스마트폰, 태블릿 PC, 이동 전화기, 영상 전화기, 전자책 리더기, 데스크탑 PC, 랩탑 PC, 넷북 컴퓨터, 워크스테이션, 서버, PDA, PMP(portable multimedia player), MP3 플레이어, 의료기기, 카메라, 또는 웨어러블 장치 중 적어도 하나를 포함할 수 있다. 웨어러블 장치는 액세서리형(예: 시계, 반지, 팔찌, 발찌, 목걸이, 안경, 콘택트 렌즈, 또는 머리 착용형 장치(head-mounted-device(HMD)), 직물 또는 의류 일체형(예: 전자 의복), 신체 부착형(예: 스킨 패드 또는 문신), 또는 생체 이식형 회로 중 적어도 하나를 포함할 수 있다. 어떤 실시예들에서, 전자 장치는, 예를 들면, 텔레비전, DVD(digital video disk) 플레이어, 오디오, 냉장고, 에어컨, 청소기, 오븐, 전자레인지, 세탁기, 공기 청정기, 셋톱 박스, 홈 오토매이션 컨트롤 패널, 보안 컨트롤 패널, 미디어 박스(예: 삼성 HomeSyncTM, 애플TVTM, 또는 구글 TVTM), 게임 콘솔(예: XboxTM, PlayStationTM), 전자 사전, 전자 키, 캠코더, 또는 전자 액자 중 적어도 하나를 포함할 수 있다.An electronic device according to various embodiments of the present disclosure may be, for example, a smartphone, a tablet PC, a mobile phone, a video phone, an e-book reader, a desktop PC, a laptop PC, a netbook computer, a workstation, a server, a PDA, a PMP. It may include at least one of a portable multimedia player, an MP3 player, a medical device, a camera, and a wearable device. A wearable device may be an accessory (e.g., watch, ring, bracelet, anklet, necklace, eyewear, contact lens, or head-mounted-device (HMD)), a textile or clothing integral (e.g. electronic garment); It may include at least one of a body-worn (eg, skin pad or tattoo) or bioimplantable circuit In some embodiments, the electronic device may include, for example, a television, a digital video disk (DVD) player, Audio, refrigerator, air conditioner, vacuum cleaner, oven, microwave oven, washing machine, air purifier, set-top box, home automation control panel, security control panel, media box (e.g. Samsung HomeSyncTM, Apple TVTM, or Google TVTM), game console (eg, Xbox™, PlayStation™), an electronic dictionary, an electronic key, a camcorder, or an electronic picture frame.

다른 실시예에서, 전자 장치는, 각종 의료기기(예: 각종 휴대용 의료측정기기(혈당 측정기, 심박 측정기, 혈압 측정기, 또는 체온 측정기 등), MRA(magnetic resonance angiography), MRI(magnetic resonance imaging), CT(computed tomography), 촬영기, 또는 초음파기 등), 네비게이션 장치, 위성 항법 시스템(GNSS(global navigation satellite system)), EDR(event data recorder), FDR(flight data recorder), 자동차 인포테인먼트 장치, 선박용 전자 장비(예: 선박용 항법 장치, 자이로 콤파스 등), 항공 전자기기(avionics), 보안 기기, 차량용 헤드 유닛(head unit), 산업용 또는 가정용 로봇, 드론(drone), 금융 기관의 ATM, 상점의 POS(point of sales), 또는 사물 인터넷 장치 (예: 전구, 각종 센서, 스프링클러 장치, 화재 경보기, 온도조절기, 가로등, 토스터, 운동기구, 온수탱크, 히터, 보일러 등) 중 적어도 하나를 포함할 수 있다. In another embodiment, the electronic device may include various medical devices (eg, various portable medical measuring devices (eg, a blood glucose meter, a heart rate monitor, a blood pressure monitor, or a body temperature monitor), magnetic resonance angiography (MRA), magnetic resonance imaging (MRI), Computed tomography (CT), imagers, or ultrasound machines, etc.), navigation devices, global navigation satellite systems (GNSS), event data recorders (EDRs), flight data recorders (FDRs), automotive infotainment devices, marine electronic equipment (e.g. navigation devices for ships, gyro compasses, etc.), avionics, security devices, head units for vehicles, industrial or household robots, drones, ATMs in financial institutions, point of sale (POS) in stores of sales) or IoT devices (eg, light bulbs, various sensors, sprinkler devices, fire alarms, thermostats, street lights, toasters, exercise equipment, hot water tanks, heaters, boilers, etc.).

본 개시의 일 실시예에 따른, 외부 서버는 이미지를 저장하기 위한 클라우드 서버뿐만 아니라 개인 클라우드 장치, 외부 저장 장치, 상술한 바와 같은 전자 장치 등과 같은 다양한 장치로 구현될 수 있다.According to an embodiment of the present disclosure, the external server may be implemented as a cloud server for storing images, as well as various devices such as a personal cloud device, an external storage device, and an electronic device as described above.

본 개시에서, 사용자라는 용어는 전자 장치를 사용하는 사람 또는 전자 장치를 사용하는 장치(예: 인공지능 전자 장치)를 지칭할 수 있다.In the present disclosure, the term user may refer to a person who uses an electronic device or a device (eg, an artificial intelligence electronic device) using the electronic device.

도 1은 본 개시의 일 실시예에 따른, 사용자 키를 이용하여 이미지를 압축 및 암호화하여 외부 서버에 저장할 수 있는 시스템을 설명하기 위한 도면이다. 시스템은 제1 전자 장치(100-1), 제2 전자 장치(100-2) 및 서버(200)를 포함할 수 있다. 이때, 제1 전자 장치(100-1) 및 제2 전자 장치(100-2)는 동일한 사용자가 사용하는 전자 장치일 수 있으나, 이는 일 실시예에 불과할 뿐, 동일한 전자 장치로 구현될 수 있다. 즉, 하나의 전자 장치가 이미지를 업로드하고 다운로드 받을 수 있다.1 is a diagram for explaining a system capable of compressing and encrypting an image using a user key and storing it in an external server according to an embodiment of the present disclosure. The system may include a first electronic device 100 - 1 , a second electronic device 100 - 2 , and a server 200 . In this case, the first electronic device 100 - 1 and the second electronic device 100 - 2 may be electronic devices used by the same user, but this is only an example and may be implemented as the same electronic device. That is, one electronic device may upload and download an image.

제1 전자 장치(100-1)는 이미지를 획득할 수 있다. 이때, 이미지는 제1 전자 장치(100-1)에 의해 촬영된 이미지일 수 있으나, 이는 일 실시예에 불과할 뿐, 다른 전자 장치로부터 수신한 이미지, 웹으로부터 다운로드한 이미지 등과 같은 다양한 이미지일 수 있다.The first electronic device 100 - 1 may acquire an image. In this case, the image may be an image captured by the first electronic device 100 - 1 , but this is only an example, and may be various images such as an image received from another electronic device or an image downloaded from the web. .

제1 전자 장치(100-1)는 이미지를 서버(200)로 업로드하기 위한 사용자 명령을 입력받을 수 있다. 이때, 제1 전자 장치(100-1)는 메뉴를 통해 이미지를 업로드하기 위한 사용자 명령을 입력받을 수 있으나, 이는 일 실시예에 불과할 뿐, 다양한 사용자 입력을 통해 이미지를 서버(200)로 업로드하기 위한 사용자 명령을 입력받을 수 있다.The first electronic device 100 - 1 may receive a user command for uploading an image to the server 200 . In this case, the first electronic device 100 - 1 may receive a user command for uploading an image through a menu, but this is only an example, and uploading an image to the server 200 through various user inputs You can receive user commands for

제1 전자 장치(100-1)는 이미지를 암호화하고 압축화하기 위한 제1 전자 장치(100-1)의 사용자 키를 획득할 수 있다. 이때, 사용자 키는 전자 장치의 식별 정보(예를 들어, 전자 장치의 시리얼 넘버, IMEI 정보 등)일 수 있으나, 이는 일 실시예에 불과할 뿐, 사용자에 의해 입력된 비밀 번호일 수 있다. 또한, 사용자 키는 전자 장치의 식별 정보 및 사용자에 의해 입력된 비밀 번호의 조합으로 생성될 수 있다. 사용자에 의해 입력된 비밀 번호는 최초 입력된 비밀 번호일 수 있으나, 이는 일 실시예에 불과할 뿐, 이미지를 전송할 때마다 혹은 기설정된 주기로 변경될 수 있다.The first electronic device 100-1 may obtain a user key of the first electronic device 100-1 for encrypting and compressing an image. In this case, the user key may be identification information of the electronic device (eg, serial number of the electronic device, IMEI information, etc.), but this is only an example and may be a password input by the user. In addition, the user key may be generated by a combination of identification information of the electronic device and a password input by the user. The password input by the user may be an initially input password, but this is only an example and may be changed every time an image is transmitted or at a preset period.

제1 전자 장치(100-1)는 이미지를 업로드하기 위한 사용자 명령에 응답하여 이미지 및 사용자 키를 이용하여 서버(200)에 업로드하기 위한 특징값을 획득할 수 있다. 특히, 제1 전자 장치(100-1)는 이미지 및 사용자 키를 입력 데이터로 특징값을 획득하도록 학습된 암호화 모델에 획득된 이미지 및 제1 전자 장치(100-1)의 사용자 키를 입력하여 획득된 이미지에 대한 특징값을 획득할 수 있다. 이때, 암호화 모델은 심층 신경망(Deep Neural Network) 모델일 수 있으나, 이에 한정되는 것은 아니다. 또한, 암호화 모델은 이미지 및 사용자 키를 이용하여 이미지를 암호화하는 효과를 가질 수 있으나, 이와 동시에 이미지를 압축하는 효과를 가질 수 있으므로, 압축 모델로도 불릴 수 있다.The first electronic device 100 - 1 may acquire a feature value for uploading to the server 200 using the image and the user key in response to a user command for uploading the image. In particular, the first electronic device 100-1 obtains an image and a user key of the first electronic device 100-1 by inputting an image and a user key of the first electronic device 100-1 into an encryption model trained to obtain a feature value using the image and the user key as input data. It is possible to obtain a feature value for the image. In this case, the encryption model may be a deep neural network model, but is not limited thereto. In addition, the encryption model may have the effect of encrypting the image using the image and the user key, but at the same time may have the effect of compressing the image, and thus may be referred to as a compression model.

또한, 특징값은 이미지와 사용자키를 입력으로 학습된 신경망(Neural network)에 통과시켜 추출된 이미지 Representation 값으로, 속성값, 특징 벡터, 특징  정보 등과 같은 다양한 용어로 쓰일 수 있다. 특히, 특징값은 심층 신경망 모델의 Representation Learning을 통해 획득될 수 있다.In addition, the feature value is an image representation value extracted by passing an image and a user key through a learned neural network as input, and can be used in various terms such as attribute values, feature vectors, and feature information. In particular, the feature value can be obtained through representation learning of a deep neural network model.

특히, 이미지 및 사용자 키를 암호화 모델에 입력하여 획득된 특징값은 이를 다시 이미지로 복호화할 때, 특징값뿐만 아니라 암호화시 사용된 사용자 키를 반드시 이용해야만 정상적인 이미지로 복호화할 수 있다. 이미지 및 사용자 키를 암호화 모델에 입력하여 획득된 특징값은 이를 다시 이미지로 복호화할 때, 특징값만이 복호화 모델에 입력된 경우, 정상적인 이미지를 복원할 수 없게 된다. 따라서, 암호화 모델과 복호화 모델은 쌍으로 학습될 수 있다. 이때, 복호화 모델은 압축된 이미지를 복원하는 효과를 가질 수 있으므로, 복원 모델이라고도 불릴 수 있다.In particular, a feature value obtained by inputting an image and a user key into the encryption model can be decrypted into a normal image only when not only the feature value but also the user key used for encryption must be used when decrypting the image again into an image. When a feature value obtained by inputting an image and a user key into the encryption model is decrypted back into an image, if only the feature value is input to the decryption model, a normal image cannot be restored. Accordingly, the encryption model and the decryption model can be trained in pairs. In this case, since the decoding model may have an effect of restoring the compressed image, it may also be referred to as a restoration model.

제1 전자 장치(100-1)는 획득된 특징값을 서버(200)로 업로드할 수 있다. 이때, 제1 전자 장치(100-1)는 획득된 특징값뿐만 아니라 획득된 이미지의 식별 정보(예를 들어, 이미지명, 이미지 생성 일자, 이미지 생성 위치 등)를 서버(200)에 함께 전송할 수 있다. 또한, 제1 전자 장치(100-1)는 획득된 특징값 및 획득된 이미지의 식별 정보를 서버(200)로 전송한 후, 이미지에 대응되는 썸네일을 생성할 수 있다. 이때, 원본 이미지는 삭제될 수 있다.The first electronic device 100 - 1 may upload the acquired feature value to the server 200 . In this case, the first electronic device 100-1 may transmit not only the acquired feature value but also the acquired image identification information (eg, image name, image creation date, image creation location, etc.) to the server 200 together. have. Also, the first electronic device 100 - 1 may transmit the acquired feature value and the acquired image identification information to the server 200 , and then generate a thumbnail corresponding to the image. In this case, the original image may be deleted.

서버(200)는 전송된 특징값을 저장 및 관리할 수 있다. 구체적으로, 서버(200)는 제1 전자 장치(100-1)로부터 획득된 특징값 및 이미지의 식별 정보를 매칭하여 저장할 수 있다. 또한, 서버(200)는 특징값을 바탕으로 획득된 이미지와 다른 이미지의 유사도를 비교하며, 유사도 비교를 바탕으로 획득된 이미지를 분류할 수 있다. 이때, 서버(200)는 획득된 이미지에 대응되는 특징값을 벡터 형태로 분류할 수 있다. 이에 의해, 서버(200)는 제1 전자 장치(100-1) 혹은 제2 전자 장치(100-2)의 키워드 또는 이미지 검색 요청에 따라 획득된 이미지를 사용자에게 제공할 수 있다.The server 200 may store and manage the transmitted feature value. Specifically, the server 200 may match and store the feature value obtained from the first electronic device 100 - 1 and the identification information of the image. Also, the server 200 may compare the obtained image based on the feature value with the similarity of other images, and classify the obtained image based on the similarity comparison. In this case, the server 200 may classify the feature values corresponding to the acquired images in a vector form. Accordingly, the server 200 may provide the user with an image obtained in response to a keyword or image search request of the first electronic device 100 - 1 or the second electronic device 100 - 2 .

제2 전자 장치(100-2)는 사용자로부터 획득된 이미지에 대한 다운로드 명령을 입력받을 수 있다. 이때, 제2 전자 장치(100-2)는 메뉴를 통해 이미지를 다운로드하기 위한 사용자 명령을 입력받을 수 있으나, 이는 일 실시예에 불과할 뿐, 다양한 사용자 입력을 통해 이미지를 서버(200)로부터 다운로드하기 위한 사용자 명령을 입력받을 수 있다.The second electronic device 100 - 2 may receive a download command for the acquired image from the user. In this case, the second electronic device 100 - 2 may receive a user command for downloading an image through a menu, but this is only an exemplary embodiment. You can receive user commands for

제2 전자 장치(100-2)는 다운로드 명령에 응답하여 서버(200)로 획득된 이미지에 대한 다운로드 요청을 전송할 수 있다. 이때, 다운로드 요청에는 획득된 이미지의 식별 정보가 포함될 수 있다.The second electronic device 100 - 2 may transmit a download request for the acquired image to the server 200 in response to the download command. In this case, the download request may include identification information of the acquired image.

서버(200)는 획득된 이미지의 식별 정보를 바탕으로 획득된 이미지에 대응된 특징값을 검색하고 검색된 특징값을 제2 전자 장치(100-2)에 전송할 수 있다. The server 200 may search for a feature value corresponding to the acquired image based on identification information of the acquired image and transmit the found feature value to the second electronic device 100 - 2 .

제2 전자 장치(100-2)는 서버(200)로부터 수신된 특징값 및 제2 전자 장치(100-2)의 사용자 키를 이용하여 획득된 이미지를 복원할 수 있다. 구체적으로, 제2 전자장치(100-2)는 특징값 및 사용자 키를 입력 데이터로 이미지를 획득하도록 학습된 복호화 모델에 서버(200)로부터 수신된 특징값 및 제2 전자 장치(100-2)의 사용자 키를 이용하여 획득된 이미지를 복원할 수 있다. 이때, 제1 전자 장치(100-1)의 사용자 키와 제2 전자 장치(100-2)의 사용자 키가 동일한 경우에만 이미지를 정상적으로 복원할 수 있다.The second electronic device 100 - 2 may restore the acquired image using the feature value received from the server 200 and the user key of the second electronic device 100 - 2 . Specifically, the second electronic device 100 - 2 includes the feature value received from the server 200 and the second electronic device 100 - 2 in a decoding model trained to obtain an image using the feature value and the user key as input data. The acquired image can be restored using the user key of . In this case, the image may be restored normally only when the user key of the first electronic device 100 - 1 and the user key of the second electronic device 100 - 2 are the same.

본 개시에서 학습된 암호화 모델 및 복호화 모델은 모델의 적용 분야 또는 장치의 컴퓨터 성능 등을 고려하여 구축될 수 있다. 예로, 학습된 암호화 모델은 사용자 키 및 이미지를 입력 데이터로 사용하여 특징값을 획득하도록 설정될 수 있으며, 학습된 복호화 모델은 사용자 키 및 특징값을 입력 데이터로 사용하여 이미지를 복원하도록 설정될 수 있다. 이때, 암호화 모델을 학습하는데 이용한 사용자 키와 복호화 모델을 학습하는데 이용한 사용자 키는 동일한 사용자 키일 수 있다. 사용자 키를 이용하여 이미지에 대응되는 특징값을 생성하고, 생성된 특징값을 이용하여 이미지를 복원하기 위해, 학습된 암호화 모델 및 복호화 모델은, 예로, 신경망(Neural Network)을 기반으로 하는 모델일 수 있다. 암호화 모델 및 복호화 모델은 인간의 뇌 구조를 컴퓨터 상에서 모의하도록 설계될 수 있으며 인간의 신경망의 뉴런(neuron)을 모의하는, 가중치를 가지는 복수의 네트워크 노드들을 포함할 수 있다. 복수의 네트워크 노드들은 뉴런이 시냅스(synapse)를 통하여 신호를 주고 받는 뉴런의 시냅틱(synaptic) 활동을 모의하도록 각각 연결 관계를 형성할 수 있다. 또한, 암호화 모델 및 복호화 모델 모델은, 일 예로, 신경망 모델, 또는 신경망 모델에서 발전한 딥 러닝 모델을 포함할 수 있다. 딥 러닝 모델에서 복수의 네트워크 노드들은 서로 다른 깊이(또는, 레이어)에 위치하면서 컨볼루션(convolution) 연결 관계에 따라 데이터를 주고 받을 수 있다. 암호화 모델 및 복호화 모델의 예에는 DNN(Deep Neural Network), RNN(Recurrent Neural Network), BRDNN(Bidirectional Recurrent Deep Neural Network) 등이 있을 수 있으나 이에 한정되지 않는다.The encryption model and the decryption model learned in the present disclosure may be constructed in consideration of the field of application of the model or the computer performance of the device. For example, the learned encryption model may be set to acquire feature values using a user key and an image as input data, and the learned decryption model may be set to restore an image using the user key and feature values as input data have. In this case, the user key used to learn the encryption model and the user key used to learn the decryption model may be the same user key. In order to generate a feature value corresponding to the image by using the user key, and to restore the image using the generated feature value, the learned encryption model and decryption model are, for example, a model based on a neural network. can The encryption model and the decryption model may be designed to simulate a human brain structure on a computer and may include a plurality of network nodes having weights that simulate neurons of a human neural network. The plurality of network nodes may each form a connection relationship so that the neuron simulates a synaptic activity of a neuron that transmits and receives a signal through a synapse. In addition, the encryption model and the decryption model model may include, for example, a neural network model or a deep learning model developed from a neural network model. In a deep learning model, a plurality of network nodes may exchange data according to a convolutional connection relationship while being located at different depths (or layers). Examples of the encryption model and the decryption model may include, but are not limited to, a Deep Neural Network (DNN), a Recurrent Neural Network (RNN), and a Bidirectional Recurrent Deep Neural Network (BRDNN).

또한, 제1 전자 장치(100-1) 및 제2 전자 장치(100-2)는 상술한 바와 같은 사용자에 의해 선택된 이미지를 특징값으로 암호화하여 서버(200)에 업로드하고, 서버(200)로부터 특징값을 다운로드하여 복원하기 위하여 인공지능 에이전트(Artificial intelligence agent)를 이용할 수 있다. 이때, 인공지능 에이전트는 AI(Artificial Intelligence) 기반의 서비스(예를 들어, 음성 인식 서비스, 비서 서비스, 번역 서비스, 검색 서비스 등)를 제공하기 위한 전용 프로그램으로서, 기존의 범용 프로세서(예를 들어, CPU) 또는 별도의 AI 전용 프로세서(예를 들어, GPU 등)에 의해 실행될 수 있다. 특히, 인공지능 에이전트는 후술할 다양한 모듈을 제어할 수 있다.In addition, the first electronic device 100-1 and the second electronic device 100-2 encrypt the image selected by the user as a feature value as described above, upload it to the server 200, and An artificial intelligence agent may be used to download and restore the feature value. In this case, the artificial intelligence agent is a dedicated program for providing AI (Artificial Intelligence)-based services (eg, voice recognition service, secretarial service, translation service, search service, etc.), and an existing general-purpose processor (eg, CPU) or a separate AI-only processor (eg, GPU, etc.). In particular, the AI agent can control various modules to be described later.

구체적으로, 이미지를 업로드하기 위한 사용자 입력 혹은 이미지를 다운로드하기 위한 사용자 입력이 수신된 경우, 인공지능 에이전트가 동작할 수 있다. 그리고, 인공지능 에이전트는 사용자 입력을 바탕으로 이미지를 특징값으로 암호화하여 외부 서버(200)에 업로드하거나 외부 서버(200)에 저장된 특징값을 다운로드하여 이미지로 복원할 수 있다.Specifically, when a user input for uploading an image or a user input for downloading an image is received, the artificial intelligence agent may operate. Then, the artificial intelligence agent may encrypt the image into a feature value based on the user input and upload it to the external server 200 or download the feature value stored in the external server 200 and restore it as an image.

물론, 이미지를 업로드하기 위한 사용자 입력 혹은 이미지를 다운로드하기 위한 사용자 입력이 수신되면, 인공지능 에이전트가 동작할 수도 있다. 또는, 인공지능 에이전트는 이미지를 업로드하기 위한 사용자 입력 혹은 이미지를 다운로드하기 위한 사용자 입력이 수신되기 이전에 기 실행된 상태일 수 있다. 이 경우, 이미지를 업로드하기 위한 사용자 입력 혹은 이미지를 다운로드하기 위한 사용자 입력이 수신된 이후에 인공지능 에이전트가 이미지를 특징값으로 암호화하여 업로드하거나 특징값을 다운로드하여 이미지로 복원할 수 있다. 또한, 인공지능 에이전트는 이미지를 업로드하기 위한 사용자 입력 혹은 이미지를 다운로드하기 위한 사용자 입력이 수신하기 이전에 대기 상태일 수 있다. 여기서, 대기 상태란, 인공지능 에이전트의 동작 시작을 제어하기 위해 미리 정의된 사용자 입력이 수신되는 것을 감지하는 상태이다. 인공지능 에이전트가 대기 상태인 동안 이미지를 업로드하기 위한 사용자 입력 혹은 이미지를 다운로드하기 위한 사용자 입력이 수신되면, 제1 전자 장치(100-1) 혹은 제2 전자 장치(100-2)는 인공지능 에이전트를 동작시키고, 이미지를 특징값으로 암호화하여 업로드하거나 특징값을 다운로드하여 이미지로 복원할 수 있다. 한편, 인공지능 에이전트는 후술할 다양한 모듈을 제어할 수 있다. 이에 대해서는 추후 상세히 설명하기로 한다.Of course, when a user input for uploading an image or a user input for downloading an image is received, the artificial intelligence agent may operate. Alternatively, the artificial intelligence agent may be in a pre-executed state before a user input for uploading an image or a user input for downloading an image is received. In this case, after a user input for uploading an image or a user input for downloading an image is received, the artificial intelligence agent may encrypt the image into a feature value and upload it or download the feature value and restore it as an image. Also, the artificial intelligence agent may be in a standby state before receiving a user input for uploading an image or a user input for downloading an image. Here, the standby state is a state in which a predefined user input is detected to control the start of the operation of the artificial intelligence agent. When a user input for uploading an image or a user input for downloading an image is received while the artificial intelligence agent is in the standby state, the first electronic device 100-1 or the second electronic device 100-2 is the artificial intelligence agent , and uploading the image by encrypting the feature value or downloading the feature value to restore the image. On the other hand, the artificial intelligence agent can control various modules to be described later. This will be described in detail later.

또한, 전자 장치(100)가 학습된 암호화 모델 또는 복호화 모델을 이용하여 이미지를 업로드하거나 다운로드하는 구체적인 예들은 이하 다양한 실시예들을 통하여 후술된다.In addition, specific examples in which the electronic device 100 uploads or downloads an image using the learned encryption model or decryption model will be described below through various embodiments.

도 2는 본 개시의 일 실시예에 따른, 전자 장치의 구성을 간략히 도시한 블록도이다. 전자 장치(100)는 도 2에 도시된 바와 같이, 통신부(110), 디스플레이(120), 메모리(130) 및 프로세서(140)를 포함한다. 도 2에 도시된 구성들은 본 개시의 실시 예들을 구현하기 위한 예시도이며, 당업자에게 자명한 수준의 적절한 하드웨어/소프트웨어 구성들이 전자 장치(100)에 추가로 포함될 수 있다.2 is a block diagram schematically illustrating a configuration of an electronic device according to an embodiment of the present disclosure. As shown in FIG. 2 , the electronic device 100 includes a communication unit 110 , a display 120 , a memory 130 , and a processor 140 . The configurations shown in FIG. 2 are exemplary diagrams for implementing embodiments of the present disclosure, and appropriate hardware/software configurations at a level obvious to those skilled in the art may be additionally included in the electronic device 100 .

통신부(110)는 다양한 통신방식에 따라 외부 장치 또는 외부 서버와 통신을 수행할 수 있다. 특히, 통신부(110)는 사용자의 이미지 업로드 요청에 응답하여 이미지에 대응되는 특징값을 외부의 서버로 전송할 수 있고, 사용자의 이미지 다운로드 요청에 응답하여 이미지에 대응되는 특징값을 외부의 서버로부터 수신할 수 있다.The communication unit 110 may communicate with an external device or an external server according to various communication methods. In particular, the communication unit 110 may transmit a feature value corresponding to the image to an external server in response to the user's image upload request, and receives the feature value corresponding to the image from the external server in response to the user's image download request can do.

디스플레이(120)는 다양한 화면을 제공할 수 있다. 특히, 디스플레이(110)는 적어도 하나의 이미지(예를 들어, 사진)를 포함하는 화면을 표시할 수 있다. 또한, 디스플레이(110)는 이미지 업로드 명령, 이미지 다운로드 명령, 이미지 검색 명령 등과 같은 다양한 사용자 명령을 수신하기 위한 UI를 표시할 수 있다.The display 120 may provide various screens. In particular, the display 110 may display a screen including at least one image (eg, a photo). Also, the display 110 may display a UI for receiving various user commands, such as an image upload command, an image download command, an image search command, and the like.

메모리(130)는 전자 장치(100)의 동작을 수행하기 위한 다양한 프로그램 및 데이터를 저장할 수 있다. 특히, 메미로(130)는 이미지 및 사용자 키를 입력 데이터로 이용하여 이미지에 대한 특징값을 획득하도록 학습된 암호화 모델 및 특징값 및 사용자 키를 입력 데이터 이용하여 이미지를 복원하도록 학습된 복호화 모델 중 적어도 하나를 저장할 수 있다. 또한, 메모리(130)는 도 4에 도시된 바와 같은 암호화 모듈(410) 및 복호화 모듈(420)을 포함할 수 있다. 이에 대해서는 추후에 도 4를 참조하여 상세히 설명하도록 한다.The memory 130 may store various programs and data for performing an operation of the electronic device 100 . In particular, the MEMIRO 130 is an encryption model learned to obtain feature values for an image by using an image and a user key as input data, and a decryption model trained to restore an image by using the feature value and the user key as input data. At least one can be stored. In addition, the memory 130 may include an encryption module 410 and a decryption module 420 as shown in FIG. 4 . This will be described in detail later with reference to FIG. 4 .

프로세서(140)는 통신부(110), 디스플레이(120) 및 메모리(130)와 전기적으로 연결되어 전자 장치(100)의 전반적인 동작 및 기능을 제어할 수 있다. 특히, 프로세서(140)는 암호화 모듈(410)을  통해 이미지를 특징값으로 암호화하여 외부 서버에 업로드할 수 있다. 구체적으로, 획득된 이미지를 외부 서버(200)에 업로드하기 위한 사용자 명령에 따른 입력 신호가 수신되면, 프로세서(140)는 입력 신호에 응답하여, 암호화 모델(413)에 획득된 이미지와 전자 장치(100)의 사용자 키를 입력하여 획득된 이미지에 대응되는 특징값을 획득하고, 획득된 이미지의 식별 정보와 특징값을 외부 서버(200)에 전송하도록 통신부(110)를 제어할 수 있다. The processor 140 may be electrically connected to the communication unit 110 , the display 120 , and the memory 130 to control overall operations and functions of the electronic device 100 . In particular, the processor 140 may encrypt the image as a feature value through the encryption module 410 and upload it to an external server. Specifically, when an input signal according to a user command for uploading the acquired image to the external server 200 is received, the processor 140 responds to the input signal, and the image acquired in the encryption model 413 and the electronic device ( 100 ) to obtain a feature value corresponding to the acquired image, and control the communication unit 110 to transmit identification information and feature value of the acquired image to the external server 200 .

또한, 프로세서(140)는 복호화 모듈(420)을 통해 외부 서버로부터 다운로드된 특징값을 이미지로 복호화할 수 있다.  구체적으로, 외부 서버(200)에 업로드된 이미지에 대응되는 특징값을 다운로드하기 위한 사용자 명령에 따른 입력 신호가 수신되면, 프로세서(140)는 입력 신호에 응답하여 외부 서버(200)로부터 특징값을 요청하고, 통신부(110)를 통해 특징값을 수신하며, 수신된 특징값 및 사용자 키를 복호화 모델(422)에 입력하여 특징값에 대응되는 이미지를 복원할 수 있다.Also, the processor 140 may decode a feature value downloaded from an external server into an image through the decoding module 420 . Specifically, when an input signal according to a user command for downloading a feature value corresponding to an image uploaded to the external server 200 is received, the processor 140 receives the feature value from the external server 200 in response to the input signal. It is possible to make a request, receive a feature value through the communication unit 110 , and input the received feature value and user key into the decryption model 422 to restore an image corresponding to the feature value.

도 3은 본 개시의 다른 실시예에 따른, 전자 장치(100)의 구성을 상세히 도시한 블록도이다. 도 3에 도시된 바와 같이, 전자 장치(100)는 통신부(110), 디스플레이(120), 메모리(130), 프로세서(140), 사용자 입력부(150), 오디오 출력부(160) 및 카메라(170)를 포함할 수 있다. 3 is a detailed block diagram illustrating the configuration of the electronic device 100 according to another embodiment of the present disclosure. 3 , the electronic device 100 includes a communication unit 110 , a display 120 , a memory 130 , a processor 140 , a user input unit 150 , an audio output unit 160 , and a camera 170 . ) may be included.

통신부(110)는 다양한 유형의 통신방식에 따라 다양한 유형의 외부 기기와 통신을 수행할 수 있다. 통신부(110)는 와이파이칩(111), 블루투스 칩(112), 무선 통신 칩(113), NFC 칩(114) 중 적어도 하나를 포함할 수 있다. 프로세서(140)는 통신부(110)를 이용하여 외부 서버 또는 각종 외부 기기와 통신을 수행할 수 있다. 특히, 통신부(110)는 외부의 클라우드 서버와 통신을 수행할 수 있다.The communication unit 110 may communicate with various types of external devices according to various types of communication methods. The communication unit 110 may include at least one of a Wi-Fi chip 111 , a Bluetooth chip 112 , a wireless communication chip 113 , and an NFC chip 114 . The processor 140 may communicate with an external server or various external devices using the communication unit 110 . In particular, the communication unit 110 may communicate with an external cloud server.

디스플레이(120)는 영상 처리부(미도시)에서 처리한 영상 데이터를 디스플레이 영역(또는, 디스플레이)에 디스플레이할 수 있다. 디스플레이 영역은 전자 장치(100)의 하우징의 일면에 노출된 디스플레이(120)의 적어도 일부를 의미할 수 있다.The display 120 may display image data processed by an image processing unit (not shown) on a display area (or a display). The display area may refer to at least a portion of the display 120 exposed on one surface of the housing of the electronic device 100 .

디스플레이(120)의 적어도 일부는 플렉서블 디스플레이(flexible display)의 형태로 전자 장치(100)의 전면 영역 및, 측면 영역 및 후면 영역 중 적어도 하나에 위치할 수도 있다. 플렉서블 디스플레이는 종이처럼 얇고 유연한 기판을 통해 손상 없이 휘거나 구부리거나 말 수 있는 것을 특징으로 할 수 있다. At least a portion of the display 120 may be located in at least one of a front area, a side area, and a rear area of the electronic device 100 in the form of a flexible display. The flexible display may be characterized by being able to bend, bend, or roll without damage through a thin and flexible substrate like paper.

디스플레이부(120)는 터치 패널과 결합하여 레이어 구조의 터치 스크린으로 구현될 수 있다. 터치 스크린은 디스플레이 기능뿐만 아니라 터치 입력 위치, 터치된 면적뿐만 아니라 터치 입력 압력까지도 검출하는 기능을 가질 수 있고, 또한 실질적인 터치(real-touch)뿐만 아니라 근접 터치(proximity touch)도 검출하는 기능을 가질 수 있다.The display unit 120 may be implemented as a touch screen having a layer structure in combination with a touch panel. The touch screen may have a function of detecting not only a display function but also a touch input position, a touched area, and even a touch input pressure, and also has a function of detecting a proximity touch as well as a real-touch. can

메모리(130)는 전자 장치(100)의 적어도 하나의 다른 구성요소에 관계된 명령 또는 데이터를 저장할 수 있다. 특히, 메모리(130)는 비휘발성 메모리, 휘발성 메모리, 플래시메모리(flash-memory), 하드디스크 드라이브(HDD) 또는 솔리드 스테이트 드라이브(SSD) 등으로 구현될 수 있다. 메모리(130)는 프로세서(140)에 의해 액세스되며, 프로세서(140)에 의한 데이터의 독취/기록/수정/삭제/갱신 등이 수행될 수 있다. 본 개시에서 메모리라는 용어는 메모리(130), 프로세서(140) 내 롬(미도시), 램(미도시) 또는 전자 장치(100)에 장착되는 메모리 카드(미도시)(예를 들어, micro SD 카드, 메모리 스틱)를 포함할 수 있다. 또한, 메모리(130)에는 디스플레이부(110)의 디스플레이 영역에 표시될 각종 화면을 구성하기 위한 프로그램 및 데이터 등이 저장될 수 있다. The memory 130 may store commands or data related to at least one other component of the electronic device 100 . In particular, the memory 130 may be implemented as a non-volatile memory, a volatile memory, a flash-memory, a hard disk drive (HDD), or a solid state drive (SSD). The memory 130 is accessed by the processor 140 , and reading/writing/modification/deletion/update of data by the processor 140 may be performed. In the present disclosure, the term "memory" refers to a memory 130, a ROM (not shown) in the processor 140, a RAM (not shown), or a memory card (not shown) mounted in the electronic device 100 (eg, micro SD). card, memory stick). In addition, programs and data for configuring various screens to be displayed on the display area of the display unit 110 may be stored in the memory 130 .

사용자 입력부(150)는 다양한 사용자 입력을 수신하여 프로세서(140)로 전달할 수 있다. 특히, 사용자 입력부(150)는 터치 센서, (디지털) 펜 센서, 압력 센서, 또는 키를 포함할 수 있다. 터치 센서는, 예를 들면, 정전식, 감압식, 적외선 방식, 또는 초음파 방식 중 적어도 하나의 방식을 사용할 수 있다. (디지털) 펜 센서는, 예를 들면, 터치 패널의 일부이거나, 별도의 인식용 쉬트를 포함할 수 있다. 키는, 예를 들면, 물리적인 버튼, 광학식 키, 또는 키패드를 포함할 수 있다.The user input unit 150 may receive various user inputs and transmit them to the processor 140 . In particular, the user input unit 150 may include a touch sensor, a (digital) pen sensor, a pressure sensor, or a key. The touch sensor may use, for example, at least one of a capacitive type, a pressure sensitive type, an infrared type, and an ultrasonic type. The (digital) pen sensor may be, for example, a part of a touch panel or may include a separate recognition sheet. The key may include, for example, a physical button, an optical key, or a keypad.

특히, 사용자 입력부(150)는 이미지를 업로드하기 위한 사용자 입력 또는 이미지를 다운로드하기 위한 사용자 입력에 따른 입력 신호를 획득할 수 있다. 그리고, 사용자 입력부(150)는 입력 신호를 프로세서(140)로 전송할 수 있다.In particular, the user input unit 150 may obtain an input signal according to a user input for uploading an image or a user input for downloading an image. In addition, the user input unit 150 may transmit an input signal to the processor 140 .

오디오 출력부(160)는 오디오 처리부(미도시)에 의해 디코딩이나 증폭, 노이즈 필터링과 같은 다양한 처리 작업이 수행된 각종 오디오 데이터뿐만 아니라 각종 알림 음이나 음성 메시지를 출력하는 구성이다. 특히, 오디오 출력부(160)는 스피커로 구현될 수 있으나, 이는 일 실시 예에 불과할 뿐, 오디오 데이터를 출력할 수 있는 출력 단자로 구현될 수 있다.The audio output unit 160 is configured to output not only various audio data on which various processing operations such as decoding, amplification, and noise filtering have been performed by the audio processing unit (not shown) but also various notification sounds or voice messages. In particular, the audio output unit 160 may be implemented as a speaker, but this is only an exemplary embodiment and may be implemented as an output terminal capable of outputting audio data.

카메라(170)는 렌즈를 통해 이미지를 촬영할 수 있다. 이때, 카메라(170)는 전자 장치(100)의 전방 및 후방 중 적어도 하나에 구비될 수 있다. 한편, 카메라(170)는 전자 장치(100) 내부에 구비될 수 있으나, 이는 일 실시예에 불과할 뿐, 전자 장치(100) 외부에 존재하며, 전자 장치(100)와 유무선으로 연결될 수 있다.The camera 170 may capture an image through a lens. In this case, the camera 170 may be provided on at least one of a front and a rear side of the electronic device 100 . Meanwhile, the camera 170 may be provided inside the electronic device 100 , but this is only an exemplary embodiment, and it exists outside the electronic device 100 and may be connected to the electronic device 100 by wire or wireless.

프로세서(140)(또는, 제어부)는 메모리(130)에 저장된 각종 프로그램을 이용하여 전자 장치(100)의 전반적인 동작을 제어할 수 있다.The processor 140 (or the controller) may control the overall operation of the electronic device 100 using various programs stored in the memory 130 .

프로세서(140)는 RAM(141), ROM(142), 그래픽 처리부(143), 메인 CPU(144), 제1 내지 n 인터페이스(145-1~145-n), 버스(146)로 구성될 수 있다. 이때, RAM(141), ROM(142), 그래픽 처리부(143), 메인 CPU(144), 제1 내지 n 인터페이스(145-1~145-n) 등은 버스(146)를 통해 서로 연결될 수 있다.The processor 140 may include a RAM 141 , a ROM 142 , a graphics processing unit 143 , a main CPU 144 , first to n interfaces 145-1 to 145-n, and a bus 146 . have. In this case, the RAM 141 , the ROM 142 , the graphic processing unit 143 , the main CPU 144 , the first to n-th interfaces 145-1 to 145-n, etc. may be connected to each other through the bus 146 . .

도 4는 본 개시의 일 실시예에 따른, 이미지를 암호화하는 암호화 모듈 및 이미지를 복호화하는 복호화 모듈을 포함하는 블록도이다. 우선, 전자 장치(100)는 도 4에 도시된 바와 같이, 암호화 모듈(410) 및 복호화 모듈(420)을 모두 포함할 수 있으나, 이는 일 실시예에 불과할 뿐, 암호화 모듈(410) 및 복호화 모듈(420) 중 하나만을 포함할 수 있다.4 is a block diagram including an encryption module for encrypting an image and a decryption module for decrypting an image according to an embodiment of the present disclosure. First, as shown in FIG. 4 , the electronic device 100 may include both the encryption module 410 and the decryption module 420 , but this is only an embodiment, and the encryption module 410 and the decryption module It may contain only one of (420).

암호화 모듈(410)은 이미지 획득 모듈(411), 이미지 암호화 모듈(412), 암호화 모델(413), 사용자 키 관리 모듈(414), 썸네일 이미지 생성 모듈(415)을 포함할 수 있다. The encryption module 410 may include an image acquisition module 411 , an image encryption module 412 , an encryption model 413 , a user key management module 414 , and a thumbnail image generation module 415 .

이미지 획득 모듈(411)은 전자 장치(100)로부터 외부 서버(200)에 업로드하기 위한 이미지를 획득할 수 있다. 이미지 획득 모듈(411)은 카메라(170)에 의해 촬영된 이미지를 획득할 수 있으며, 외부 전자 장치로부터 전송된 이미지를 획득할 수 있으며, 웹 사이트로부터 다운로드된 이미지를 획득할 수 있다.The image acquisition module 411 may acquire an image for uploading from the electronic device 100 to the external server 200 . The image acquisition module 411 may acquire an image captured by the camera 170 , acquire an image transmitted from an external electronic device, and acquire an image downloaded from a website.

이미지 암호화 모듈(412)은 암호화 모델(413)을 이용하여 이미지를 암호화할 수 있다. 이때, 암호화 모델(413)은 도 5a에 도시된 바와 같이, 이미지(510) 및 사용자 키(520)를 입력 데이터로 사용하여 특징값(530)을 획득하도록 학습된 모델일 수 잇다. 이때, 암호화 모델(413)은 CNN(Convolution Neural Network)일 수 있으나, 이는 일 실시예에 불과할 뿐, GAN (Generative Adversarial Network), DNN(Deep Neural Network), RNN(Recurrent Neural Network), BRDNN(Bidirectional Recurrent Deep Neural Network)등과 같은 다양한 신경망을 이용할 수 있다.The image encryption module 412 may encrypt an image using the encryption model 413 . In this case, the encryption model 413 may be a model trained to obtain the feature value 530 using the image 510 and the user key 520 as input data, as shown in FIG. 5A . At this time, the encryption model 413 may be a Convolution Neural Network (CNN), but this is only an embodiment, and a Generative Adversarial Network (GAN), Various neural networks such as Deep Neural Network (DNN), Recurrent Neural Network (RNN), Bidirectional Recurrent Deep Neural Network (BRDNN), etc. may be used.

구체적으로, 이미지 암호화 모듈(412)은 이미지 및 사용자 키를 이용하여 입력 데이터를 생성할 수 있다. 이미지 암호화 모듈(412)은 다양한 방법으로 이미지 및 사용자 키를 이용하여 입력 데이터를 생성할 수 있다. Specifically, the image encryption module 412 may generate input data using an image and a user key. The image encryption module 412 may generate input data using an image and a user key in various ways.

일 예로, 이미지 암호화 모듈(412)은 도 6a에 도시된 바와 같이, 이미지(610)를 가로(width)와 세로(heigt)를 가지는 3개 채널(RGB)로 구성할 수 있으며, 사용자 키(620) 역시 가로(width)와 세로(heigt)를 가지는 N개 채널로 구성할 수 있다. 그리고, 이미지 암호화 모듈(412)은 3개 채널의 이미지(610)와 N개 채널의 사용자 키(620)를 합하여(Concatenate) (N+3)개 채널을 가지는 입력 데이터(630)를 생성할 수 있다. 즉, 이미지 암호화 모듈(412)은 이미지(610)의 채널과 사용자 키(620)의 채널을 합하여 입력 데이터(630)를 생성할 수 있다.As an example, the image encryption module 412 may configure the image 610 as three channels (RGB) having a width and a height, as shown in FIG. 6A , and a user key 620 ) can also be composed of N channels having a width and a height. In addition, the image encryption module 412 may generate input data 630 having (N+3) channels by concatenating the image 610 of 3 channels and the user key 620 of N channels. have. That is, the image encryption module 412 may generate the input data 630 by summing the channel of the image 610 and the channel of the user key 620 .

또 다른 예로, 이미지 암호화 모듈(412)은 도 6b에 도시된 바와 같이, 이미지(610)를 가로(width)와 세로(heigt)를 가지는 3개 채널(RGB)로 구성할 수 있으며, 사용자 키(640) 역시 가로(width)와 세로(heigt)를 가지는 1개 채널로 구성할 수 있다. 그리고, 이미지 암호화 모듈(412)은 3개 채널의 이미지(610) 각각의 픽셀을 1개 채널의 사용자 키(640)의 픽셀과 합하여(Sum) 3개 채널을 가지는 입력 데이터(650)를 생성할 수 있다. 즉, 이미지 암호화 모듈(412)은 이미지(610)의 필셀값와 사용자 키(640)의 픽셀값을 합하여 입력 데이터(650)를 생성할 수 있다.As another example, the image encryption module 412 may configure the image 610 as three channels (RGB) having a width and a height, as shown in FIG. 6b, and a user key ( 640) can also be configured as one channel having a width and a height. Then, the image encryption module 412 generates input data 650 having three channels by summing each pixel of the image 610 of three channels with the pixels of the user key 640 of one channel. can That is, the image encryption module 412 may generate the input data 650 by summing the pixel value of the image 610 and the pixel value of the user key 640 .

한편, 도 6a 및 도 6b에서 각각 설명한 실시예에 따라 신경망의 구조 및 설정값이 변경될 수 있다. 즉, 입력 데이터의 유형에 따라 신경망의 입력 데이터 사이즈, 신경망을 구성하는 레이어 수, 각 레이어의 커널 사이즈 및 채널 수, 풀링 레이어(pooling layer)의 수, 풀링 사이즈, 스킵 커넥션(skip connection) 적용 여부, Intermedate Feature 및 Top-down Feature 적용 여부 등이 변경될 수 있다.Meanwhile, the structure and setting values of the neural network may be changed according to the embodiments described with reference to FIGS. 6A and 6B , respectively. That is, depending on the type of input data, the input data size of the neural network, the number of layers constituting the neural network, the kernel size and number of channels in each layer, the number of pooling layers, the pooling size, and whether skip connection is applied , whether Intermediate Feature and Top-down Feature are applied may be changed.

이미지 암호화 모듈(412)은 생성된 입력 데이터를 복수의 레이어를 포함하는 암호화 모델(413)에 입력할 수 있다. 이때, 입력 데이터는 복수의 레이어를 연산되어 점점 작은 사이즈의 특징값으로 추출될 수 있다. 즉, 입력 데이터는 제1 레이어를 통과함으로써 제1 특징값으로 연산되고, 제1 특징값이 제2 레이어를 통과함으로써 제2 특징값으로 연산되며, 제2 특징값이 풀링 레이어를 통과함으로써, 사이즈가 작아진 제3 특징값으로 연산될 수 있다. 이러한 방식으로 N개의 레이어를 통과하면 사이즈가 작아진 최종 특징값으로 연산될 수 있다. The image encryption module 412 may input the generated input data to the encryption model 413 including a plurality of layers. In this case, the input data may be extracted as feature values of gradually smaller sizes by calculating a plurality of layers. That is, the input data is calculated as a first feature value by passing the first layer, the first feature value is computed as a second feature value by passing the second layer, and the second feature value passes through the pooling layer, so that the size may be calculated with the reduced third feature value. If N layers are passed through in this way, it can be calculated as a final feature value with a reduced size.

즉, 이미지 암호화 모듈(412)은 입력 데이터(630 또는 650)를 복수의 레이어에 통과시켜 최종적으로 연산된 특징값(530)을 획득할 수 있다. 이때, 획득된 특징값(530)은 복수의 레이어를 통해 암호화되었다. 즉, 획득된 특징값(530)은 사용자 키 없이는 원 이미지로 복원할 수 없게 된다. 또한, 획득된 특징값(530)은 풀링 레이어를 통해 사이즈가 작아져 기존의 이미지에 비해 압축된 효과를 가질 수 있다.That is, the image encryption module 412 may pass the input data 630 or 650 through a plurality of layers to obtain the finally calculated feature value 530 . In this case, the acquired feature value 530 is encrypted through a plurality of layers. That is, the acquired feature value 530 cannot be restored to the original image without a user key. In addition, the size of the acquired feature value 530 may be reduced through the pooling layer, so that it may have a compressed effect compared to the existing image.

사용자 키 관리 모듈(414)은 사용자 키를 관리할 수 있다. 구체적으로, 사용자 키가 전자 장치(100)의 식별 정보(예를 들어, 시리얼 넘버, IMEI 정보) 같은 경우, 사용자 키가 변경되지 않을 수 있다. 그러나, 사용자 키가 사용자가 직접 입력한 비밀번호인 경우, 사용자 키는 주기적 또는 비 주기적으로 변경될 수 있다. 따라서, 사용자 키 관리 모듈(414)은 사용자에 의해 변경된 사용자 키에 대한 버전 정보를 관리할 수 있다. 즉, 사용자 키 관리 모듈(414)은 변경된 사용자 키의 히스토리를 관리하여 추후 특징값을 이미지로 복호화할 때 변경된 사용자 키를 이용할 수 있다.The user key management module 414 may manage user keys. Specifically, when the user key is the same as identification information (eg, serial number, IMEI information) of the electronic device 100 , the user key may not be changed. However, when the user key is a password directly input by the user, the user key may be changed periodically or non-periodically. Accordingly, the user key management module 414 may manage version information about the user key changed by the user. That is, the user key management module 414 may manage the history of the changed user key and use the changed user key when decrypting the feature value into an image later.

또 다른 실시예에 의하면, 사용자 키가 변경된 경우, 이미지 암호화 모듈(413)은 이전에 이미 암호화한 이미지들에 대해 변경된 사용자 키를 이용하여 다시 암호화하여 외부 서버로 전송할 수 있다.According to another embodiment, when the user key is changed, the image encryption module 413 may re-encrypt previously encrypted images using the changed user key and transmit the encrypted images to an external server.

썸네일 이미지 생성 모듈(415)은 암호화된 이미지에 대응되는 썸네일 이미지를 생성할 수 있다. 즉, 암호화된 이미지는 압축된 상태로 서버(200)에 업로드되었으므로, 전자 장치(100)는 고용량의 이미지를 그대로 저장할 필요가 없다. 따라서, 썸네일 이미지 생성 모듈(415)은 암호화된 이미지에 대응되는 저용량의 썸네일 이미지를 생성하고, 생성된 썸네일 이미지와 이미지의 식별 정보를 전자 장치(100)에 매칭하여 저장할 수 있다. 이때, 썸네일 이미지 생성 모듈(415)은 이미지를 구성하는 복수의 픽셀을 그룹으로 나누고, 그룹에 포함된 픽셀의 대표값(예를 들어, 평균값, 중간값, 최빈값 등)을 바탕으로 썸네일 이미지를 생성할 수 있다. 일 예로, 암호화된 이미지가 서버(200)로 전송되고, 썸네일 이미지 생성 모듈(415)이 썸네일 이미지를 생성한 경우, 원본 이미지는 삭제될 수 있다.The thumbnail image generating module 415 may generate a thumbnail image corresponding to the encrypted image. That is, since the encrypted image is uploaded to the server 200 in a compressed state, the electronic device 100 does not need to store the high-capacity image as it is. Accordingly, the thumbnail image generating module 415 may generate a low-capacity thumbnail image corresponding to the encrypted image, and match the generated thumbnail image and identification information of the image to the electronic device 100 and store it. In this case, the thumbnail image generating module 415 divides the plurality of pixels constituting the image into groups, and generates a thumbnail image based on the representative values (eg, average, median, mode, etc.) of the pixels included in the group. can do. For example, when an encrypted image is transmitted to the server 200 and the thumbnail image generating module 415 generates a thumbnail image, the original image may be deleted.

즉, 사용자에 의해 저해상도 이미지를 디스플레이하기 위한 요청이 수신된 경우, 전자 장치(100)는 썸네일 이미지 생성 모듈(415)에 의해 생성된 썸네일 이미지를 검색하여 사용자에게 제공할 수 있으며, 사용자에 의해 고해상도 이미지를 디스플레이하기 위한 요청이 수신된 경우, 전자 장치(100)는 외부 서버(200)에 저장된 특징값을 다운로드하고, 다운로드된 특징값을 복호화 모델에 입력하여 이미지로 복원한 후 사용자에게 제공할 수 있다.That is, when a request for displaying a low-resolution image is received by the user, the electronic device 100 may search for the thumbnail image generated by the thumbnail image generating module 415 and provide it to the user, and a high-resolution image may be provided to the user by the user. When a request for displaying an image is received, the electronic device 100 downloads a feature value stored in the external server 200, inputs the downloaded feature value into a decoding model, restores it as an image, and then provides it to the user. have.

복호화 모듈(420)은 도 4에 도시된 바와 같이, 이미지 복호화 모듈(421), 복호화 모델(422), 이미지 제공 모듈(423)을 포함할 수 있다.As shown in FIG. 4 , the decoding module 420 may include an image decoding module 421 , a decoding model 422 , and an image providing module 423 .

이미지 복호화 모듈(421)은 복호화 모델(422)을 이용하여 외부 서버(200)로부터 수신된 특징값을 원본 이미지로 복원할 수 있다. 이때, 복호화 모델(422)은 특징값 및 사용자 키를 입력 데이터로 사용하여 이미지를 복원하도록 학습된 모델일 수 있다. The image decoding module 421 may restore the feature value received from the external server 200 to the original image by using the decoding model 422 . In this case, the decryption model 422 may be a model trained to restore an image by using the feature value and the user key as input data.

구체적으로, 복호화 모델(422)은 도 5b에 도시된 바와 같이, 특징값(530) 및 사용자 키(520)를 입력 데이터로 사용하여 이미지(510)를 획득하도록 학습된 모델일 수 있다. 이때, 복호화 모델(422)은 Deconvolution Neural Network로 구현될 수 있다. Deconvolution Neural Network는 암호화 모델(413)로 이용된 convolution Neural Network와 미러된 신경망으로서, 풀링 레이어 대신 언풀링 레이어(unpooling layer)를 사용할 수 잇다. 이때, Deconvolution Neural Network는 픽셀 위치값을 일일이 저장하고 있다가, 저장된 픽셀 위치값을 이용하여 언풀링 동작을 수행할 수 있다. 한편, 본 발명에 개시된 복호화 모델(422)로 이용되는 Deconvolution Neural Network는 암호화 모델(413)로 이용되는 Convolution Neural Network와 항상 쌍으로 학습될 수 있다.Specifically, as shown in FIG. 5B , the decryption model 422 may be a model trained to acquire the image 510 using the feature value 530 and the user key 520 as input data. In this case, the decoding model 422 may be implemented as a deconvolution neural network. The deconvolution neural network is a neural network mirrored with the convolution neural network used as the encryption model 413 , and an unpooling layer may be used instead of a pooling layer. In this case, the deconvolution neural network may store pixel position values one by one, and perform an unpooling operation using the stored pixel position values. On the other hand, the deconvolution neural network used as the decryption model 422 disclosed in the present invention may always be trained in pairs with the convolution neural network used as the encryption model 413 .

한편, 복호화 모델(422)은 Deconvolution Neural Network을 이용할 수 있으나, 이는 일 실시예에 불과할 뿐, GAN (Generative Adversarial Network)과 같은 다른 신경망을 이용할 수 있다. 특히, 이미지 복원시 GAN을 이용할 경우, 전자 장치(100)는 원본 이미지 보다 높은 해상도의 이미지를 복원할 수 있다.Meanwhile, the decoding model 422 may use a deconvolution neural network, but this is only an example, and other neural networks such as a generative adversarial network (GAN) may be used. In particular, when GAN is used for image restoration, the electronic device 100 may restore an image having a higher resolution than the original image.

이미지 복호화 모듈(421)은 서버(200)로부터 다운로드된 특징값(530)과 사용자 키(520)를 입력 데이터로 학습된 복호화 모델(422)에 입력하여 이미지(510)를 복원할 수 있다.The image decryption module 421 may restore the image 510 by inputting the feature value 530 and the user key 520 downloaded from the server 200 into the decryption model 422 learned as input data.

이미지 제공 모듈(423)은 복원된 이미지를 사용자에게 제공할 수 있다. 이때, 이미지 제공 모듈(423)은 전체 화면으로 복원된 이미지를 제공할 수 있으나, 이는 일 실시예에 불과할 뿐, PIP 화면과 같은 다양한 화면으로 복원된 이미지를 제공할 수 있다. 또한, 이미지 제공 모듈(423)은 복원된 이미지를 전자 장치(100)의 메모리(130)에 저장할 수 있다.The image providing module 423 may provide a restored image to the user. In this case, the image providing module 423 may provide the image restored to the full screen, but this is only an example and may provide the image restored to various screens such as a PIP screen. Also, the image providing module 423 may store the restored image in the memory 130 of the electronic device 100 .

도 7은 본 개시의 일 실시예에 따른, 서버의 구성을 간략히 도시한 블록도이다. 서버(200)는 도 7에 도시된 바와 같이, 통신부(210), 메모리(220), 프로세서(230)를 포함한다.7 is a block diagram schematically illustrating a configuration of a server according to an embodiment of the present disclosure. As shown in FIG. 7 , the server 200 includes a communication unit 210 , a memory 220 , and a processor 230 .

통신부(210)는 외부의 전자 장치들과 통신을 수행할 수 있다. 이때, 통신부(210)는 외부의 전자 장치(100)들로부터 이미지의 식별 정보 및 이미지의 특징값을 수신할 수 있다. 또한, 통신부(210)는 검색 요청 또는 다운로드 요청에 응답하여 외부의 전자 장치(100)들에게 특징값을 전송할 수 있다.The communication unit 210 may communicate with external electronic devices. In this case, the communication unit 210 may receive identification information of the image and a feature value of the image from the external electronic devices 100 . Also, the communication unit 210 may transmit a feature value to the external electronic devices 100 in response to a search request or a download request.

메모리(220)는 외부의 전자 장치(100)들로부터 전송된 이미지의 식별 정보 및 이미지의 특징값을 매칭하여 저장할 수 있다. 이때, 메모리(220)는 이미지의 유사도에 대한 정보 역시 이미지의 식별 정보 및 이미지의 특징값과 함께 저장할 수 있다.The memory 220 may match and store identification information of an image transmitted from the external electronic devices 100 and a feature value of the image. In this case, the memory 220 may also store the information on the similarity of the image together with the identification information of the image and the feature value of the image.

프로세서(230)는 서버(200)의 전반적인 동작을 제어할 수 있다. 특히, 전자 장치(100)로부터 이미지의 식별 정보 및 이미지의 특징값이 수신되면, 프로세서(230)는 이미지의 식별 정보 및 이미지의 특징값을 매칭하여 메모리(220)에 저장할 수 있다. 이때, 전자 장치(100)로부터 복수의 사용자 키 중 획득된 이미지에 대응되는 사용자 키의 버전 정보가 더 수신되면, 프로세서(230)는 사용자 키에 대한 버전 정보 역시 함께 저장할 수 있다.The processor 230 may control the overall operation of the server 200 . In particular, when the identification information of the image and the characteristic value of the image are received from the electronic device 100 , the processor 230 may match the identification information of the image and the characteristic value of the image and store the matching information in the memory 220 . In this case, when version information of a user key corresponding to the acquired image among the plurality of user keys is further received from the electronic device 100 , the processor 230 may also store version information on the user key together.

이때, 프로세서(230)는 특징값을 바탕으로 획득된 이미지와 다른 이미지의 유사도를 비교하며, 유사도 비교를 바탕으로 획득된 이미지를 분류할 수 있다. 즉, 프로세서(230)는 이미지의 유사도 별로 특징값을 저장할 수 있다.In this case, the processor 230 may compare the obtained image based on the feature value with the similarity of other images, and classify the obtained image based on the similarity comparison. That is, the processor 230 may store a feature value for each image similarity.

이미지의 식별 정보를 포함하는 이미지 다운로드 요청이 전자 장치(100)로부터 수신되면, 프로세서(230)는 이미지의 식별 정보를 기초로 다운로드하고자 하는 이미지의 특징값을 검색할 수 있다. 그리고, 프로세서(230)는 검색된 이미지의 특징값을 전자 장치(100)로 전송하도록 통신부(210)를 제어할 수 있다. When an image download request including identification information of an image is received from the electronic device 100 , the processor 230 may search for a feature value of an image to be downloaded based on identification information of the image. In addition, the processor 230 may control the communication unit 210 to transmit a feature value of the searched image to the electronic device 100 .

한편,, 프로세서(230)는 검색 이미지의 특징값만을 전자 장치(100)로 전송할 수 있으나, 이는 일 실시예에 불과할 뿐, 검색 이미지의 특징값과 함께 사용자 키의 버전 정보를 함께 전송하도록 통신부(210)를 제어할 수 있다.Meanwhile, the processor 230 may transmit only the feature value of the search image to the electronic device 100, but this is only an exemplary embodiment, and the communication unit ( 210) can be controlled.

이미지의 특징값 또는 키워드를 포함하는 이미지 검색 요청이 전자 장치(100)로부터 수신되면, 프로세서(230)는 이미지의 유사도를 바탕으로 수신된 이미지의 특징값 또는 키워드와 관련된 검색 이미지를 검색할 수 있다. When an image search request including a feature value or keyword of an image is received from the electronic device 100, the processor 230 may search for a search image related to the feature value or keyword of the received image based on the similarity of the image. .

도 8a 및 도 8b는 본 개시의 일 실시예에 따른, 암호화 모델을 이용하여 이미지를 암호화하여 업로드하는 방법을 설명하기 위한 도면들이다.8A and 8B are diagrams for explaining a method of encrypting and uploading an image using an encryption model, according to an embodiment of the present disclosure.

우선, 전자 장치(100)는 이미지에 대한 업로드 명령을 입력받을 수 있다(S810). 구체적으로, 전자 장치(100)는 도 8b의 (a)에 도시된 바와 같이, 복수의 이미지를 포함하는 어플리케이션 화면을 표시할 수 있다. 이때, 복수의 이미지는 카메라(170)에 의해 촬영된 이미지일 수 있으나, 이는 일 실시예에 불과할 뿐, 외부 장치로부터 수신된 이미지, 웹으로부터 다운로드받은 이미지, 전자 장치(100)의 화면을 캡쳐한 이미지 등과 같은 다양한 이미지일 수 있다. 복수의 이미지 중 하나를 선택하는 사용자 명령이 입력되면, 전자 장치(100)는 도 8b의 (b)에 도시된 바와 같이, 선택된 이미지 주위에 메뉴(880)를 표시할 수 있다. 메뉴(880)에 포함된 아이템 중 "클라우드 저장"이라는 아이템이 선택되면, 전자 장치(100)는 선택된 이미지를 외부 클라우드 서버(200)로 저장하기 위한 이미지 업로드 명령을 입력받을 수 있다. 한편, 상술한 바와 같이, 메뉴(880)를 이용하여 이미지에 대한 업로드 명령을 입력받을 수 있으나, 이는 일 실시예에 불과할 뿐, 다양한 방법으로 이미지에 대한 업로드 명령을 입력받을 수 있다. 일 예로, 전자 장치(100)에 포함된 기설정된 버튼(예를 들어, 인공지능 프로그램을 실행하기 위한 버튼)이 선택된 후, 이미지를 업로드하기 위한 명령이 입력된 경우, 전자 장치(100)는 이미지에 대한 업로드 명령을 입력받을 수 있다.First, the electronic device 100 may receive an upload command for an image (S810). Specifically, as shown in (a) of FIG. 8B , the electronic device 100 may display an application screen including a plurality of images. In this case, the plurality of images may be images captured by the camera 170 , but this is only an example, and images received from an external device, images downloaded from the web, and screens of the electronic device 100 are captured. It may be various images such as images. When a user command for selecting one of a plurality of images is input, the electronic device 100 may display a menu 880 around the selected image as shown in (b) of FIG. 8B . When an item called “cloud storage” is selected from among the items included in the menu 880 , the electronic device 100 may receive an image upload command for saving the selected image to the external cloud server 200 . Meanwhile, as described above, an upload command for an image may be input using the menu 880, but this is only an exemplary embodiment, and an upload command for an image may be inputted in various ways. For example, when a preset button (eg, a button for executing an artificial intelligence program) included in the electronic device 100 is selected and a command for uploading an image is input, the electronic device 100 displays the image You can receive an upload command for .

전자 장치(100)는 이미지에 대한 업로드 명령에 응답하여 사용자 키를 획득할 수 있다(S820). 이때, 전자 장치(100)는 전자 장치(100)의 식별 정보를 사용자 키로 획득할 수 있으며, 사용자가 설정한 비밀 번호를 사용자 키로 획득할 수 있다. 이때, 사용자가 설정한 비밀 번호는 이미지를 업로드하기 위한 어플리케이션에 대한 비밀번호일 수 있으며, 선택된 이미지에 대한 비밀번호일 수 있다. 또한, 전자 장치(100)는 전자 장치(100)의 식별 정보 및 사용자가 설정한 비밀 번호를 바탕으로 새로운 값을 생성할 수 있다.The electronic device 100 may obtain a user key in response to an image upload command (S820). In this case, the electronic device 100 may obtain identification information of the electronic device 100 as the user key, and may obtain a password set by the user as the user key. In this case, the password set by the user may be a password for an application for uploading an image, or may be a password for a selected image. Also, the electronic device 100 may generate a new value based on the identification information of the electronic device 100 and the password set by the user.

전자 장치(100)는 이미지 및 사용자 키를 암호화 모델에 입력하여 특징값을 획득할 수 있다(S830). 구체적으로, 전자 장치(100)는 이미지 및 사용자 키를 이용하여 입력 데이터를 생성하고, 생성된 입력 데이터를 암호화 모델에 입력하여 이미지에 대응되는 특징값을 획득할 수 있다.The electronic device 100 may obtain a feature value by inputting an image and a user key into the encryption model (S830). Specifically, the electronic device 100 may generate input data using an image and a user key, and may obtain a feature value corresponding to the image by inputting the generated input data into an encryption model.

전자 장치(100)는 이미지의 식별 정보 및 특징값을 서버(200)로 전송할 수 있다(S840). 이때, 이미지 식별 정보는, 이미지 명, 이미지 생성일자, 이미지 생성위치 등과 같은 다양한 정보일 수 있다. 또한, 전자 장치(100)는 이미지의 식별 정보 및 특징값만을 전송할 수 있으나, 이는 일 실시예에 불과할 뿐, 식별 정보 및 특징값과 함께 사용자 키의 버전 정보를 함께 전송할 수 있다.The electronic device 100 may transmit identification information and feature values of the image to the server 200 (S840). In this case, the image identification information may be various information such as an image name, an image creation date, an image creation location, and the like. In addition, the electronic device 100 may transmit only the identification information and the feature value of the image, but this is only an exemplary embodiment and may transmit version information of the user key together with the identification information and the feature value.

전자 장치(100)는 이미지의 식별 정보 및 특징값을 외부의 서버(200)로 전송할 후, 썸네일 이미지를 생성할 수 있다(S850). 즉, 전자 장치(100)는 고화질의 이미지를 외부의 서버(200)에 압축하여 저장하고, 저화질의 썸네일 이미지를 생성하여 저장할 수 있다. 이때, 전자 장치(100)는 저화질의 썸네일 이미지를 이미지의 식별 정보와 매칭하여 저장할 수 있다.After transmitting the identification information and feature value of the image to the external server 200, the electronic device 100 may generate a thumbnail image (S850). That is, the electronic device 100 may compress and store a high-quality image in the external server 200, and may generate and store a low-quality thumbnail image. In this case, the electronic device 100 may match the low-quality thumbnail image with identification information of the image and store it.

서버(200)는 전자 장치(100)로부터 수신된 이미지 식별 정보 및 특징값을 매칭하여 저장할 수 있다(S860). 또한, 서버(200)는 이미지 식별 정보 및 특징값과 함께 사용자 키의 버전 정보를 함께 저장할 수 있다.The server 200 may match and store the image identification information and the feature value received from the electronic device 100 (S860). In addition, the server 200 may store the version information of the user key together with the image identification information and the feature value.

서버(200)는 특징값의 유사도 비교를 통해 이미지를 분류할 수 있다(S870). 구체적으로, 서버(200)는 벡터로 표현되는 특징값을 바탕으로 유사도 비교를 수행하고, 특징 공간(feature space) 내에서 분류기를 통해 이미지들을 분류하여 관리할 수 있다. 이미지를 분류하여 관리함으로써, 추후 이미지를 검색할 때, 특징값을 바탕으로 이미지 검색이 가능해 질 수 있게 된다.The server 200 may classify the image by comparing the similarity of the feature values (S870). Specifically, the server 200 may perform similarity comparison based on a feature value expressed as a vector, and classify and manage images through a classifier in a feature space. By classifying and managing images, it becomes possible to search for images based on feature values when searching for images later.

도 9a 및 도 9b는 본 개시의 일 실시예에 따른, 복호화 모델을 이용하여 이미지를 다운로드하여 복호화하는 방법을 설명하기 위한 도면들이다.9A and 9B are diagrams for explaining a method of downloading and decoding an image using a decoding model, according to an embodiment of the present disclosure.

전자 장치(100)는 이미지 다운로드 명령을 입력받을 수 있다(S910). 구체적으로, 전자 장치(100)는 도 9b의 (a)에 도시된 바와 같이, 서버(200)에 저장된 복수의 이미지에 대응되는 썸네일 이미지를 표시할 수 있다. 이때, 썸네일 이미지는 도 8a의 S850 단계에서 생성된 썸네일 이미지일 수 있다. 복수의 썸네일 이미지 중 하나가 선택되면, 전자 장치(100)는 도 9b의 (b)에 도시된 바와 같이, 선택된 썸네일 이미지에 주위에 메뉴(970)를 표시할 수 있다. 메뉴(970)에 표시된 아이템 중 "다운로드" 아이템이 선택되면, 전자 장치(100)는 이미지 다운로드 명령을 입력받을 수 있다. 그러나, 상술한 바와 같이, 메뉴(970)를 이용하여 이미지 다운로드 명령을 입력받은 것은 일 실시예에 불과할 뿐, 다른 방법을 이용하여 이미지 다운로드 명령을 입력받을 수 있다. The electronic device 100 may receive an image download command (S910). Specifically, as shown in (a) of FIG. 9B , the electronic device 100 may display thumbnail images corresponding to a plurality of images stored in the server 200 . In this case, the thumbnail image may be a thumbnail image generated in step S850 of FIG. 8A . When one of the plurality of thumbnail images is selected, the electronic device 100 may display a menu 970 around the selected thumbnail image as shown in (b) of FIG. 9B . When a “download” item is selected among the items displayed on the menu 970 , the electronic device 100 may receive an image download command. However, as described above, receiving an image download command using the menu 970 is only an exemplary embodiment, and the image download command may be inputted using another method.

전자 장치(100)는 선택된 썸네일 이미지에 대응되는 이미지에 대한 다운로드 요청 신호를 서버(200)로 전송할 수 있다(S920). 이때, 다운로드 요청 신호에는 선택된 썸네일 이미지에 대응되는 이미지의 식별 정보를 포함할 수 있다.The electronic device 100 may transmit a download request signal for an image corresponding to the selected thumbnail image to the server 200 (S920). In this case, the download request signal may include identification information of an image corresponding to the selected thumbnail image.

서버(200)는 이미지의 식별 정보에 매칭되는 저장된 특징값을 검색할 수 있다(S930). 구체적으로, 서버(200)는 메모리(220)에 저장된 특징값들 중 수신된 이미지의 식별 정보와 매칭되는 특징값을 검색할 수 있다. The server 200 may search for a stored feature value matching the identification information of the image (S930). Specifically, the server 200 may search for a feature value matching the identification information of the received image among the feature values stored in the memory 220 .

서버(200)는 검색된 특징값을 전자 장치(100)로 전송할 수 있다(S940). 이때, 서버(200)는 검색된 특징값만을 전자 장치(100)로 전송할 수 있으나, 이는 일 실시예에 불과할 뿐, 특징값과 함께 사용자 키의 버전 정보를 함께 전자 장치(100)로 전송할 수 있다.The server 200 may transmit the searched feature value to the electronic device 100 (S940). In this case, the server 200 may transmit only the searched feature value to the electronic device 100 , but this is only an exemplary embodiment and may transmit version information of the user key together with the feature value to the electronic device 100 .

전자 장치(100)는 사용자 키 및 특징값을 복호화 모델에 입력하여 이미지를 복원할 수 있다(S950). 구체적으로, 전자 장치(100)는 사용자 키 및 특징값을 입력 데이터로 사용하여 복호화 모델에 입력하여 특징값에 대응되는 이미지를 복원할 수 있다. 이때, 사용자 키가 이미지의 암호화에 이용된 사용자 키(또는 사용자 키 버전)와 상이한 경우, 전자 장치(100)는 특징값에 대응되는 이미지를 복원할 수 없으나, 사용자 키가 이미지의 암호화에 이용된 사용자 키와 동일한 경우, 전자 장치(100)는 복호화 모델을 이용하여 특징값에 대응되는 이미지를 복원할 수 있다. 이때, 복호화 모델은 암호화 모델과 쌍으로 학습될 수 있다. 이때, 전자 장치(100)는 원본 이미지로 복원할 수 있으나, 이는 일 실시예에 불과할 뿐, GAN을 이용하여 원본 이미지보다 고화질의 이미지로 복원할 수 있다.The electronic device 100 may restore the image by inputting the user key and the feature value into the decryption model ( S950 ). Specifically, the electronic device 100 may restore an image corresponding to the feature value by using the user key and the feature value as input data and inputting it into the decoding model. In this case, if the user key is different from the user key (or user key version) used for image encryption, the electronic device 100 cannot restore the image corresponding to the feature value, but the user key is used for image encryption. When the same as the user key, the electronic device 100 may restore an image corresponding to the feature value using the decryption model. In this case, the decryption model may be trained in pairs with the encryption model. In this case, the electronic device 100 may restore the original image, but this is only an exemplary embodiment, and may be restored to an image of higher quality than the original image by using the GAN.

전자 장치(100)는 복원된 이미지를 제공할 수 있다(S960). 구체적으로, 전자 장치(100)는 복원된 이미지를 도 9b의 (b)에 도시된 화면 상에 표시할 수 있다. 또한, 전자 장치(100)는 복원된 이미지를 전자 장치(100)의 메모리(110)에 저장할 수 있다.The electronic device 100 may provide a restored image (S960). Specifically, the electronic device 100 may display the restored image on the screen shown in (b) of FIG. 9B . Also, the electronic device 100 may store the restored image in the memory 110 of the electronic device 100 .

도 10a 및 도 10b는 본 개시의 일 실시예에 따른, 복호화 모델을 이용하여 이미지를 검색하여 복호화하는 방법을 설명하기 위한 도면들이다,.10A and 10B are diagrams for explaining a method of searching for and decoding an image using a decoding model, according to an embodiment of the present disclosure.

전자 장치(100)는 검색 대상 이미지 또는 키워드를 입력받을 수 있다(S1010). 일 예로, 전자 장치(100)는 도 10b의 (a)에 도시된 바와 같이, 검색창(1070)에 키워드를 입력받을 수 있다. 또 다른 예로, 전자 장치(100)는 도 10b의(b)에 도시된 바와 같이, 메뉴(1080)를 통해 유사 이미지를 검색하기 위한 검색 대상 이미지를 입력받을 수 있다. 검색 대상 이미지가 선택된 경우, 전자 장치(100)는 선택된 검색 대상 이미지를 사용자 키와 함께 암호화 모델에 입력하여 검색 대상 이미지에 대응되는 특징값을 획득할 수 있다.The electronic device 100 may receive a search target image or keyword ( S1010 ). For example, as shown in (a) of FIG. 10B , the electronic device 100 may receive a keyword input into the search window 1070 . As another example, as shown in (b) of FIG. 10B , the electronic device 100 may receive a search target image for searching for a similar image through the menu 1080 . When the search target image is selected, the electronic device 100 may obtain a feature value corresponding to the search target image by inputting the selected search target image together with the user key into the encryption model.

전자 장치(100)는 검색 대상 이미지에 대응되는 특징값 또는 키워드를 서버(200)로 전송할 수 있다(S1020). The electronic device 100 may transmit a feature value or a keyword corresponding to the search target image to the server 200 (S1020).

서버(200)는 검색 대상 이미지에 대응되는 특징값 또는 키워드를 바탕으로 검색하고자 하는 검색 이미지에 대응되는 특징값을 검색할 수 있다(S1030). 구체적으로, 서버(200)는 특징값들을 유사도에 따라 분류하여 저장할 수 있다. 서버(200)는 수신된 검색 대상 이미지에 대응되는 특징값과 유사하게 분류된 특징값을 검색할 수 있다. 또는, 서버(200)는 특징값들을 유사도에 따라 분류할 때, 이미지에 포함된 오브젝트에 따라 이미지를 분류할 수 있다. 이미지에 포함된 오브젝트에 따라 이미지를 분류한 경우, 서버(200)는 수신된 키워드에 대응되는 오브젝트를 가지는 이미지에 대응되는 특징값을 검색할 수 있다.The server 200 may search for a feature value corresponding to the search image to be searched based on the feature value or keyword corresponding to the search target image (S1030). Specifically, the server 200 may classify and store the feature values according to the degree of similarity. The server 200 may search for a feature value classified similarly to a feature value corresponding to the received search target image. Alternatively, when classifying the feature values according to the degree of similarity, the server 200 may classify the image according to an object included in the image. When an image is classified according to an object included in the image, the server 200 may search for a feature value corresponding to an image having an object corresponding to the received keyword.

서버(200)는 검색된 특징값을 전자 장치(100)로 전송할 수 있다(S1040). 이때, 서버(200)는 검색된 특징값과 함께 특징값을 암호화할 때 이용된 사용자 키 버전 정보를 함께 전송할 수 있다.The server 200 may transmit the searched feature value to the electronic device 100 (S1040). In this case, the server 200 may transmit the user key version information used when encrypting the feature value together with the searched feature value.

전자 장치(100)는 검색된 특징값 및 사용자 키를 복호화 모델에 입력하여 검색 이미지를 복원할 수 있다(S1050). 구체적으로, 전자 장치(100)는 사용자 키 및 특징값을 입력 데이터로 사용하여 복호화 모델에 입력하여 검색된 특징값에 대응되는 검색 이미지를 복원할 수 있다.The electronic device 100 may restore the search image by inputting the searched feature value and the user key into the decryption model ( S1050 ). Specifically, the electronic device 100 may restore a search image corresponding to the searched feature value by inputting the user key and the feature value as input data into the decryption model.

전자 장치(100)는 검색 이미지를 제공할 수 있다(S1060).The electronic device 100 may provide a search image (S1060).

즉, 상술한 바와 같이, 유사도를 바탕으로 분류된 특징값을 이용함으로써, 사용자는 서버(200)에 저장된 암호화된 이미지 중 사용자가 원하는 이미지를 검색할 수 있게 된다.That is, as described above, by using the feature values classified based on the similarity, the user can search for an image desired by the user from among the encrypted images stored in the server 200 .

도 11은 본 개시의 일 실시예에 따른, 암호화 모델을 이용하여 이미지를 암호화하여 외부 서버에 업로드하기 위한 방법을 설명하기 위한 흐름도이다.11 is a flowchart illustrating a method for encrypting an image using an encryption model and uploading it to an external server, according to an embodiment of the present disclosure.

전자 장치(100)는 이미지를 획득할 수 있다(S1110). 이때, 이미지는 카메라(170)에 의해 촬영된 이미지일 수 있으나, 이는 일 실시예에 불과할 뿐, 외부 장치로부터 수신된 이미지, 웹으로부터 다운로드받은 이미지, 전자 장치(100)의 화면을 캡쳐한 이미지 등과 같은 다양한 이미지일 수 있다.The electronic device 100 may acquire an image (S1110). In this case, the image may be an image captured by the camera 170 , but this is only an example, and an image received from an external device, an image downloaded from the web, an image captured by the screen of the electronic device 100 , etc. It may be various images such as

전자 장치(100)는 획득된 이미지를 업로드하기 위한 사용자 명령을 입력받을 수 있다(S1120). 이때, 전자 장치(100)는 도 8b의 (b)에 도시된 메뉴(880)를 통해 이미지를 업로드하기 위한 사용자 명령을 입력받을 수 있으나, 이는 일 실시예에 불과할 뿐, 다양한 방법으로 이미지를 업로드하기 위한 사용자 명령을 입력받을 수 있다.The electronic device 100 may receive a user command for uploading the acquired image (S1120). In this case, the electronic device 100 may receive a user command for uploading an image through the menu 880 shown in (b) of FIG. You can receive a user command to do so.

전자 장치(100)는 암호화 모델에 이미지와 사용자 키를 입력하여 특징값을 획득할 수 있다(S1130). 구체적으로, 전자 장치(100)는 이미지와 사용자 키를 이용하여 입력 데이터를 생성할 수 있다. 그리고, 전자 장치(100)는 생성된 입력 데이터를 학습된 암호화 모델에 입력하여 작은 용량의 특징값을 획득할 수 있다.The electronic device 100 may obtain a feature value by inputting an image and a user key into the encryption model (S1130). Specifically, the electronic device 100 may generate input data using an image and a user key. Then, the electronic device 100 may obtain a feature value of a small capacity by inputting the generated input data to the learned encryption model.

전자 장치(100)는 획득된 이미지의 식별 정보와 특징값을 서버(200)에 전송할 수 있다(S1140). 전자 장치(100)는 특징값을 생성할 때 이용된 사용자 키에 대한 버전 정보를 함께 서버(200)로 전송할 수 있다. 전자 장치(100)은 획득된 이미지의 식별 정보와 특징값을 서버(200)로 전송한 후에도, 사용자에게 해당 이미지를 표시하기 위하여 저화질의 썸네일 이미지를 생성하여 저장할 수 있다.The electronic device 100 may transmit identification information and feature values of the acquired image to the server 200 (S1140). The electronic device 100 may also transmit version information on the user key used when generating the feature value to the server 200 . Even after transmitting identification information and feature values of the acquired image to the server 200 , the electronic device 100 may generate and store a low-quality thumbnail image to display the image to the user.

상술한 바와 같이, 이미지 및 사용자 키를 이용하여 특징값을 생성하고, 생성된 특징값을 서버(200)에 전송함으로써, 전자 장치(100)는 이미지를 암호화하고 압축한 특징값을 서버(200)에 업로드할 수 있게 된다. 이에 의해, 이미지를 외부 서버(200)에 업로드할 때, 개인 정보가 보호될 뿐만 아니라, 작은 용량의 특징값을 외부에 업로드할 수 있게 된다.As described above, by generating a feature value using an image and a user key and transmitting the generated feature value to the server 200 , the electronic device 100 encrypts the image and transmits the compressed feature value to the server 200 . can be uploaded to Accordingly, when uploading an image to the external server 200, not only personal information is protected, but also it is possible to upload a feature value of a small capacity to the outside.

도 12는 본 개시의 일 실시예에 따른, 암호화 모델 및 복호화 모델을 학습하고 이용하기 위한 전자 장치(특히, 프로세서)의 구성을 나타내는 블록도이다.12 is a block diagram illustrating a configuration of an electronic device (particularly, a processor) for learning and using an encryption model and a decryption model according to an embodiment of the present disclosure.

도 12를 참조하면, 프로세서(1200)는 학습부(1210), 암호화부(1220), 복호화(1230) 중 적어도 하나를 포함할 수 있다. 도 12의 프로세서(1200)는 도 2 및 도 2의 전자 장치(100)의 프로세서(140) 또는 데이터 학습 서버(미도시)의 프로세서에 대응될 수 있다.Referring to FIG. 12 , the processor 1200 may include at least one of a learning unit 1210 , an encryption unit 1220 , and a decryption unit 1230 . The processor 1200 of FIG. 12 may correspond to the processor 140 of the electronic device 100 of FIGS. 2 and 2 or the processor of the data learning server (not shown).

학습부(1210)는 이미지 및 사용자 키를 입력하여 특징값을 획득하기 위한 암호화 모델 및 특징값 및 사용자 키를 입력하여 이미지를 복원하기 위한 복호화 모델을 생성 또는 학습시킬 수 있다. 일 예로, 학습부(1210)는 이미지 및 사용자 키를 학습 데이터로서 이용하여 이미지에 대응되는 특징값을 획득하기 위한 암호화 모델을 생성, 학습 또는 갱신시킬 수 있다. 또 다른 예로, 학습부(1210)는 특징값 및 사용자 키를 학습 데이터로서 이용하여 이미지에 복원하기 위한 복호화 모델을 생성, 학습 또는 갱신시킬 수 있다. 이때, 학습부(1210)는 암호화 모델 및 복호화 모델을 쌍으로 학습시킬 수 있다. 즉, 사용자 키와 이미지를 입력 데이터로 암호화 모델에 입력하여 획득된 특징값이 사용자 키와 함께 복호화 모델로 입력된 경우, 암호화 모델에 입력된 이미지로 복원될 수 있도록 암호화 모델과 복호화 모델을 쌍으로 학습시킬 수 있다.The learning unit 1210 may generate or train an encryption model for obtaining a feature value by inputting an image and a user key, and a decryption model for restoring an image by inputting the feature value and the user key. As an example, the learning unit 1210 may generate, learn, or update an encryption model for obtaining a feature value corresponding to the image by using the image and the user key as training data. As another example, the learning unit 1210 may generate, learn, or update a decoding model for restoring an image by using the feature value and the user key as training data. In this case, the learning unit 1210 may train the encryption model and the decryption model in pairs. That is, when the feature value obtained by inputting the user key and image into the encryption model as input data is input to the decryption model together with the user key, the encryption model and the decryption model are paired so that they can be restored to the image input to the encryption model. can learn

또한, 학습부(1210)는 이미 일반적인 이미지와 랜덤 사용자 키로 학습된 암호화 모델 및 복호화 모델을 전자 장치(100)에 저장된 이미지 및 사용자 키를 이용하여 다시 학습을 수행할 수 있다. 즉, 학습부(1210)는 사용자 데이터의 보안을 유지하면서 사용자에게 최적화된 암호화 모델 및 복호화 모델을 학습시킬 수 있다.Also, the learning unit 1210 may re-learn the encryption model and the decryption model already learned using the general image and the random user key using the image and the user key stored in the electronic device 100 . That is, the learning unit 1210 may learn an encryption model and a decryption model optimized for the user while maintaining the security of user data.

암호화부(1220)는 이미지 및 사용자 키를 학습된 암호화 모델의 입력 데이터로 사용하여, 이미지에 대응되는 특징값을 획득할 수 있다. 또한, 복호화부(1230)는 특징값 및 사용자 키를 학습된 복호화 모델의 입력 데이터로 사용하여, 특징값에 대응되는 이미지를 복원할 수 있다.The encryption unit 1220 may obtain a feature value corresponding to the image by using the image and the user key as input data of the learned encryption model. Also, the decoder 1230 may restore an image corresponding to the feature value by using the feature value and the user key as input data of the learned decryption model.

학습부(1210)의 적어도 일부 및 암호화부(1220)/복호화부(1230)의 적어도 일부는, 소프트웨어 모듈로 구현되거나 적어도 하나의 하드웨어 칩 형태로 제작되어 전자 장치에 탑재될 수 있다. 예를 들어, 학습부(1210) 및 암호화부(1220)/복호화부(1230) 중 적어도 하나는 인공 지능(AI; artificial intelligence)을 위한 전용 하드웨어 칩 형태로 제작될 수도 있고, 또는 기존의 범용 프로세서(예: CPU 또는 application processor) 또는 그래픽 전용 프로세서(예: GPU)의 일부로 제작되어 전술한 각종 전자 장치 또는 암호화/복호화 장치에 탑재될 수도 있다. 이때, 인공 지능을 위한 전용 하드웨어 칩은 확률 연산에 특화된 전용 프로세서로서, 기존의 범용 프로세서보다 병렬처리 성능이 높아 기계 학습과 같은 인공 지능 분야의 연산 작업을 빠르게 처리할 수 있다. 학습부(1210) 및 암호화부(1220)/복호화부(1230)가 소프트웨어 모듈(또는, 인스트럭션(instruction) 포함하는 프로그램 모듈)로 구현되는 경우, 소프트웨어 모듈은 컴퓨터로 읽을 수 있는 판독 가능한 비일시적 판독 가능 기록매체(non-transitory computer readable media)에 저장될 수 있다. 이 경우, 소프트웨어 모듈은 OS(Operating System)에 의해 제공되거나, 소정의 애플리케이션에 의해 제공될 수 있다. 또는, 소프트웨어 모듈 중 일부는 OS(Operating System)에 의해 제공되고, 나머지 일부는 소정의 애플리케이션에 의해 제공될 수 있다.At least a portion of the learning unit 1210 and at least a portion of the encryption unit 1220/decryption unit 1230 may be implemented as a software module or manufactured in the form of at least one hardware chip and mounted in an electronic device. For example, at least one of the learning unit 1210 and the encryption unit 1220/decryption unit 1230 may be manufactured in the form of a dedicated hardware chip for artificial intelligence (AI), or a conventional general-purpose processor It may be manufactured as a part of (eg, CPU or application processor) or a graphics-only processor (eg, GPU) and mounted in the aforementioned various electronic devices or encryption/decryption devices. In this case, the dedicated hardware chip for artificial intelligence is a dedicated processor specialized in probability calculation, and has higher parallel processing performance than the existing general-purpose processor, so that it can quickly process computational tasks in the field of artificial intelligence, such as machine learning. When the learning unit 1210 and the encryption unit 1220/decryption unit 1230 are implemented as a software module (or a program module including instructions), the software module is a computer-readable non-transitory reading It may be stored in a non-transitory computer readable media. In this case, the software module may be provided by an operating system (OS) or may be provided by a predetermined application. Alternatively, a part of the software module may be provided by an operating system (OS), and the other part may be provided by a predetermined application.

이 경우, 학습부(1210) 및 암호화부(1220)/복호화부(1230)는 하나의 전자 장치에 탑재될 수도 있으며, 또는 별개의 전자 장치들에 각각 탑재될 수도 있다. 예를 들어, 학습부(1210) 및 암호화부(1220)/복호화부(1230) 중 하나는 전자 장치(100)에 포함되고, 나머지 하나는 외부의 서버에 포함될 수 있다. 또 다른 예로, 암호화부(1220) 및 복호화부(1230) 중 하나는 제1 전자 장치(100-1)에 포함될 수 있고, 다른 하나는 제2 전자 자치(100-2)에 포함될 수 있다.  또한, 학습부(1210) 및 암호화부(1220)/복호화부(1230)는 유선 또는 무선으로 통하여, 학습부(1210)가 구축한 모델 정보를 암호화부(1220)/복호화부(1230)로 제공할 수도 있고, 학습부(1210)로 입력된 데이터가 추가 학습 데이터로서 학습부(1210)로 제공될 수도 있다.In this case, the learning unit 1210 and the encryption unit 1220/decryption unit 1230 may be mounted on one electronic device or may be mounted on separate electronic devices, respectively. For example, one of the learning unit 1210 and the encryption unit 1220/decrypting unit 1230 may be included in the electronic device 100 , and the other may be included in an external server. As another example, one of the encryption unit 1220 and the decryption unit 1230 may be included in the first electronic device 100-1, and the other may be included in the second electronic device 100-2. In addition, the learning unit 1210 and the encryption unit 1220 / decryption unit 1230 provide the model information built by the learning unit 1210 to the encryption unit 1220 / decryption unit 1230 through a wired or wireless connection. Alternatively, data input to the learning unit 1210 may be provided to the learning unit 1210 as additional learning data.

도 13a는, 다양한 실시예에 따른 학습부(1210), 암호화부(1220) 및 복호화부(1230)의 블록도이다.13A is a block diagram of a learning unit 1210 , an encryption unit 1220 , and a decryption unit 1230 according to various embodiments of the present disclosure.

도 13a의 (a)를 참조하면, 일부 실시예에 따른 학습부(1210)는 학습 데이터 획득부(1210-1) 및 모델 학습부(1210-4)를 포함할 수 있다. 또한, 학습부(1210)는 학습 데이터 전처리부(1210-2), 학습 데이터 선택부(1210-3) 및 모델 평가부(1210-5) 중 적어도 하나를 선택적으로 더 포함할 수 있다.Referring to (a) of FIG. 13A , the learning unit 1210 according to some embodiments may include a training data acquiring unit 1210 - 1 and a model learning unit 1210 - 4 . In addition, the learning unit 1210 may further selectively include at least one of the training data preprocessor 1210 - 2 , the training data selector 1210 - 3 , and the model evaluator 1210 - 5 .

학습 데이터 획득부(1210-1)는 암호화 모델 및 복호화 모델에 필요한 학습 데이터를 획득할 수 있다. 본 개시의 실시예로, 학습 데이터 획득부(1210-1)는 일반적인 이미지 및 랜덤 사용자 키를 학습 데이터로서 획득할 수 있다. 또 다른 예로, 학습 데이터 획득부(1210-1)는 사용자 최적화를 위하여, 전자 장치(100)에 저장된 이미지 및 전자 장치(100)의 사용자 키를 학습 데이터로서 획득할 수 있다.The training data acquisition unit 1210-1 may acquire training data required for the encryption model and the decryption model. In an embodiment of the present disclosure, the training data acquisition unit 1210-1 may acquire a general image and a random user key as training data. As another example, the learning data acquisition unit 1210-1 may acquire an image stored in the electronic device 100 and a user key of the electronic device 100 as training data for user optimization.

모델 학습부(1210-4)는 학습 데이터를 이용하여, 암호화 모델이 사용자 키를 이용하여 이미지에 대응되는 특징값을 획득하고, 복호화 모델이 사용자 키를 이용하여 특징값에 대응되는 이미지를 복원시키는 것을 학습시킬 수 있다. 일 예로, 모델 학습부(1210-4)는 사용자 키 및 이미지를 암호화 모델에 입력하여 특징값을 획득하고, 획득된 특징값과 사용자 키를 다시 복호화 모델에 입력하여 이미지를 복원할 수 있도록 암호화 모델 및 복호화 모델을 학습시킬 수 있다.The model learning unit 1210-4 uses the training data to obtain a feature value corresponding to the image by the encryption model using the user key, and the decryption model to restore the image corresponding to the feature value using the user key. can be learned As an example, the model learning unit 1210-4 inputs a user key and an image to the encryption model to obtain a feature value, and inputs the acquired feature value and the user key back to the decryption model to restore the image. and training a decryption model.

또한, 모델 학습부(1210-4)는 입력 데이터의 유형에 따라 암호화 모델을 구성하는 레이어 수, 각 레이어의 커널 사이즈 및 채널 수, 풀링 레이어(pooling layer)의 수, 풀링 사이즈, 스킵 커넥션(skip connection) 적용 여부, Intermedate Feature 및 Top-down Feature 적용 여부 등을 변경하여 암호화 모델을 학습시킬 수 있다. 또한, 모델 학습부(1210-4)는 학습된 암호화 모델과 쌍으로 복호화 모델을 학습시킬 수 있다. 암호화 모델과 복호화 모델은 쌍으로 학습되므로, 이하에서는 암호화 모델을 기준으로 학습부(1210)에 대해 설명하기로 한다.In addition, the model learning unit 1210-4 includes the number of layers constituting the encryption model according to the type of input data, the kernel size and number of channels of each layer, the number of pooling layers, the pooling size, and the skip connection (skip). connection), the encryption model can be trained by changing whether the Intermediate Feature and Top-down Feature are applied. Also, the model learning unit 1210 - 4 may train the decryption model in pairs with the learned encryption model. Since the encryption model and the decryption model are trained in pairs, the learning unit 1210 will be described below based on the encryption model.

특히, 모델 학습부(1210-4)는 학습 데이터 중 적어도 일부를 판단 기준으로 이용하는 지도 학습(supervised learning)을 통하여, 암호화 모델을 학습시킬 수 있다. 또는, 모델 학습부(1210-4)는, 예를 들어, 별다른 지도 없이 학습 데이터를 이용하여 스스로 학습함으로써, 특징값 획득을 위한 판단 기준을 발견하는 비지도 학습(unsupervised learning)을 통하여, 암호화 모델을 학습시킬 수 있다. 또한, 모델 학습부(1210-4)는, 예를 들어, 학습에 따른 상황 판단의 결과가 올바른 지에 대한 피드백을 이용하는 강화 학습(reinforcement learning)을 통하여, 암호화 모델을 학습시킬 수 있다. 또한, 모델 학습부(1210-4)는, 예를 들어, 오류 역전파법(error back-propagation) 또는 경사 하강법(gradient descent)을 포함하는 학습 알고리즘 등을 이용하여 암호화 모델을 학습시킬 수 있다In particular, the model learning unit 1210 - 4 may learn the encryption model through supervised learning using at least a portion of the training data as a criterion for determination. Alternatively, the model learning unit 1210-4 is, for example, through unsupervised learning of discovering a criterion for obtaining a feature value by self-learning using training data without any guidance, for example, an encryption model. can be learned Also, the model learning unit 1210 - 4 may train the encryption model through, for example, reinforcement learning using feedback on whether the result of the situation determination according to the learning is correct. Also, the model learning unit 1210 - 4 may train the encryption model using, for example, a learning algorithm including error back-propagation or gradient descent.

또한, 모델 학습부(1210-4)는 입력 데이터를 이용하여 특징값을 획득하기 위하여 어떤 학습 데이터를 이용해야 하는지에 대한 선별 기준을 학습할 수도 있다. Also, the model learning unit 1210 - 4 may learn a selection criterion for which training data to use in order to obtain a feature value by using the input data.

모델 학습부(1210-4)는 미리 구축된 암호화 모델이 복수 개가 존재하는 경우, 입력된 학습 데이터와 기본 학습 데이터의 관련성이 큰 암호화 모델을 학습할 암호화 모델로 결정할 수 있다. 이 경우, 기본 학습 데이터는 데이터의 타입별로 기 분류되어 있을 수 있으며, 암호화 모델은 데이터의 타입별로 미리 구축되어 있을 수 있다. 예를 들어, 기본 학습 데이터는 학습 데이터가 생성된 지역, 학습 데이터가 생성된 시간, 학습 데이터의 크기, 학습 데이터의 장르, 학습 데이터의 생성자, 학습 데이터 내의 오브젝트의 종류 등과 같은 다양한 기준으로 기 분류되어 있을 수 있다. When a plurality of pre-built encryption models exist, the model learning unit 1210 - 4 may determine an encryption model having a high correlation between the input training data and the basic training data as the encryption model to be learned. In this case, the basic learning data may be pre-classified for each type of data, and the encryption model may be previously built for each type of data. For example, the basic training data is pre-classified by various criteria such as the region where the training data is generated, the time when the training data is generated, the size of the training data, the genre of the training data, the creator of the training data, the type of object in the training data, etc. may have been

암호화 모델이 학습되면, 모델 학습부(1210-4)는 학습된 암호화 모델을 저장할 수 있다. 이 경우, 모델 학습부(1210-4)는 학습된 암호화 모델을 전자 장치(100)의 메모리(130)에 저장할 수 있다. 또는, 모델 학습부(1210-4)는 학습된 암호화 모델을 전자 장치(100)와 유선 또는 무선 네트워크로 연결되는 서버의 메모리에 저장할 수도 있다.When the encryption model is learned, the model learning unit 1210 - 4 may store the learned encryption model. In this case, the model learning unit 1210 - 4 may store the learned encryption model in the memory 130 of the electronic device 100 . Alternatively, the model learning unit 1210 - 4 may store the learned encryption model in a memory of a server connected to the electronic device 100 through a wired or wireless network.

학습부(1210)는 암호화 모델의 처리 결과를 향상시키거나, 암호화 모델의 생성에 필요한 자원 또는 시간을 절약하기 위하여, 학습 데이터 전처리부(1210-2) 및 학습 데이터 선택부(1210-3)를 더 포함할 수도 있다.The learning unit 1210 includes a training data preprocessing unit 1210-2 and a training data selection unit 1210-3 in order to improve the processing result of the encryption model or to save resources or time required for generating the encryption model. It may include more.

학습 데이터 전처리부(1210-2)는 특징값 획득을 위한 학습에 획득된 데이터가 이용될 수 있도록, 획득된 데이터를 전처리할 수 있다. 학습 데이터 전처리부(1210-2)는 모델 학습부(1210-4)가 특징값 획득을 위한 학습을 위하여 획득된 데이터를 이용할 수 있도록, 획득된 데이터를 기 설정된 포맷으로 가공할 수 있다. 일 예로, 학습 데이터 전처리부(1210-2)는 도 6a 및 도 6b에 도시된 바와 같이, 사용자 키 및 이미지를 입력 데이터로 처리할 수 있다.The learning data preprocessor 1210 - 2 may preprocess the acquired data so that the acquired data can be used for learning for acquiring a feature value. The training data preprocessor 1210 - 2 may process the acquired data into a preset format so that the model learner 1210 - 4 can use the acquired data for learning to acquire a feature value. As an example, the training data preprocessor 1210 - 2 may process a user key and an image as input data as shown in FIGS. 6A and 6B .

학습 데이터 선택부(1210-3)는 학습 데이터 획득부(1210-1)에서 획득된 데이터 또는 학습 데이터 전처리부(1210-2)에서 전처리된 데이터 중에서 학습에 필요한 데이터를 선택할 수 있다. 선택된 학습 데이터는 모델 학습부(1210-4)에 제공될 수 있다. 학습 데이터 선택부(1210-3)는 기 설정된 선별 기준에 따라, 획득되거나 전처리된 데이터 중에서 학습에 필요한 학습 데이터를 선택할 수 있다. 또한, 학습 데이터 선택부(1210-3)는 모델 학습부(1210-4)에 의한 학습에 의해 기 설정된 선별 기준에 따라 학습 데이터를 선택할 수도 있다.The training data selection unit 1210-3 may select data required for learning from the data acquired by the training data acquisition unit 1210 - 1 or data preprocessed by the training data preprocessor 1210 - 2 . The selected training data may be provided to the model learning unit 1210 - 4 . The learning data selector 1210 - 3 may select learning data necessary for learning from among the acquired or pre-processed data according to a preset selection criterion. Also, the training data selection unit 1210 - 3 may select training data according to a preset selection criterion by learning by the model learning unit 1210 - 4 .

학습부(1210)는 암호화 모델의 처리 결과를 향상시키기 위하여, 모델 평가부(1210-5)를 더 포함할 수도 있다.The learning unit 1210 may further include a model evaluation unit 1210 - 5 in order to improve the processing result of the encryption model.

모델 평가부(1210-5)는 암호화 모델에 평가 데이터를 입력하고, 평가 데이터로부터 출력되는 처리 결과가 소정 기준을 만족하지 못하는 경우, 모델 학습부(1210-4)로 하여금 다시 학습하도록 할 수 있다. 이 경우, 평가 데이터는 암호화 모델을 평가하기 위한 기 정의된 데이터일 수 있다. The model evaluation unit 1210-5 inputs evaluation data to the encryption model, and when a processing result output from the evaluation data does not satisfy a predetermined criterion, the model learning unit 1210-4 may re-learn it. . In this case, the evaluation data may be predefined data for evaluating the encryption model.

예를 들어, 모델 평가부(1210-5)는 평가 데이터에 대한 학습된 암호화 모델의 처리 결과 중에서, 처리 결과가 정확하지 않은 평가 데이터의 개수 또는 비율이 미리 설정된 임계치를 초과하는 경우 소정 기준을 만족하지 못한 것으로 평가할 수 있다. For example, the model evaluation unit 1210 - 5 satisfies a predetermined criterion when, among the processing results of the learned encryption model for the evaluation data, the number or ratio of evaluation data for which the processing result is not accurate exceeds a preset threshold. It can be evaluated as not being done.

한편, 학습된 암호화 모델이 복수 개가 존재하는 경우, 모델 평가부(1210-5)는 각각의 학습된 암호화 모델에 대하여 소정 기준을 만족하는지를 평가하고, 소정 기준을 만족하는 모델을 최종 암호화 모델로서 결정할 수 있다. 이 경우, 소정 기준을 만족하는 모델이 복수 개인 경우, 모델 평가부(1210-5)는 평가 점수가 높은 순으로 미리 설정된 어느 하나 또는 소정 개수의 모델을 최종 암호화 모델로서 결정할 수 있다.On the other hand, when there are a plurality of learned encryption models, the model evaluation unit 1210-5 evaluates whether a predetermined criterion is satisfied for each learned encryption model, and determines a model that satisfies the predetermined criterion as the final encryption model. can In this case, when there are a plurality of models satisfying the predetermined criteria, the model evaluation unit 1210 - 5 may determine one or a predetermined number of models preset in the order of the highest evaluation score as the final encryption model.

또한, 상술한 바와 같이, 암호화 모델이 학습된 경우, 학습부(1210)는 암호화 모델에 미러링될 수 있도록 복호화 모델을 학습할 수 있다.Also, as described above, when the encryption model is learned, the learning unit 1210 may learn the decryption model to be mirrored in the encryption model.

도 13a의 (b)를 참조하면, 일부 실시예에 따른 암호화부(1220)는 입력 데이터 획득부(1220-1) 및 특징값 제공부(1220-4)를 포함할 수 있다. 또한, 암호화부(1220)는 입력 데이터 전처리부(1220-2), 입력 데이터 선택부(1220-3) 및 모델 갱신부(1220-5) 중 적어도 하나를 선택적으로 더 포함할 수 있다.Referring to (b) of FIG. 13A , the encryption unit 1220 according to some exemplary embodiments may include an input data acquisition unit 1220-1 and a feature value providing unit 1220-4. Also, the encryption unit 1220 may selectively further include at least one of an input data preprocessor 1220 - 2 , an input data selector 1220 - 3 , and a model updater 1220 - 5 .

입력 데이터 획득부(1220-1)는 특징값 획득을 위해 필요한 데이터를 획득할 수 있다. 구체적으로, 입력 데이터 획득부(1220-1)는 이미지 및 전자 장치(100)의 사용자 키를 입력 데이터로 획득할 수 있다.The input data acquisition unit 1220-1 may acquire data necessary for acquiring a feature value. Specifically, the input data acquisition unit 1220-1 may acquire an image and a user key of the electronic device 100 as input data.

특징값 제공부(1220-4)는 입력 데이터 획득부(1220-1)에서 획득된 데이터를 입력 값으로 학습된 암호화 모델에 적용하여 이미지에 대응되는 특징값을 획득할 수 있다. 특징값 제공부(1220-4)는 이미지 및 사용자 키에 대응되는 특징값을 제공할 수 있다. 특징값 제공부(1220-4)는 후술할 입력 데이터 전처리부(1220-2) 또는 입력 데이터 선택부(1220-3)에 의해 선택된 데이터를 입력 값으로 암호화 모델에 적용하여 특징값을 획득할 수 있다. The feature value providing unit 1220 - 4 may obtain a feature value corresponding to the image by applying the data obtained by the input data obtaining unit 1220-1 to an encryption model learned as an input value. The feature value providing unit 1220 - 4 may provide feature values corresponding to the image and the user key. The feature value providing unit 1220-4 may obtain a feature value by applying the data selected by the input data preprocessing unit 1220-2 or the input data selecting unit 1220-3 to the encryption model as an input value, which will be described later. have.

암호화부(1220)는 암호화 모델의 처리 결과를 향상시키거나, 처리 결과의 제공을 위한 자원 또는 시간을 절약하기 위하여, 입력 데이터 전처리부(1220-2) 및 입력 데이터 선택부(1220-3)를 더 포함할 수도 있다.The encryption unit 1220 includes the input data preprocessor 1220-2 and the input data selection unit 1220-3 to improve the processing result of the encryption model or to save resources or time for providing the processing result. It may include more.

입력 데이터 전처리부(1220-2)는 특징값 획득을 위해 획득된 데이터가 이용될 수 있도록, 획득된 데이터를 전처리할 수 있다. 입력 데이터 전처리부(1220-2)는 특징값 제공부(1220-4)가 특징값 획득을 위하여 입력 데이터를 이용할 수 있도록, 입력 데이터를 기 정의된 포맷으로 가공할 수 있다. 예를 들어, 입력 데이터 전처리부(1220-2)는 도 6a 및 도 6b에 도시된 바와 같이, 입력 데이터를 처리할 수 있다.The input data preprocessor 1220 - 2 may preprocess the acquired data so that the acquired data can be used to acquire a feature value. The input data preprocessor 1220 - 2 may process the input data into a predefined format so that the feature value providing unit 1220 - 4 can use the input data to obtain the feature value. For example, the input data preprocessor 1220 - 2 may process the input data as shown in FIGS. 6A and 6B .

입력 데이터 선택부(1220-3)는 입력 데이터 획득부(1220-1)에서 획득된 데이터 또는 입력 데이터 전처리부(1220-2)에서 전처리된 데이터 중에서 특징값 획득에 필요한 데이터를 선택할 수 있다. 선택된 데이터는 특징값 제공부(1220-4)에게 제공될 수 있다. 입력 데이터 선택부(1220-3)는 특징값 획득을 위한 기 설정된 선별 기준에 따라, 획득되거나 전처리된 데이터 중에서 일부 또는 전부를 선택할 수 있다. 또한, 입력 데이터 선택부(1220-3)는 모델 학습부(1210-4)에 의한 학습에 의해 기 설정된 선별 기준에 따라 데이터를 선택할 수도 있다.The input data selection unit 1220 - 3 may select data required for acquiring a feature value from the data acquired by the input data acquiring part 1220-1 or the data preprocessed by the input data preprocessing part 1220 - 2 . The selected data may be provided to the feature value providing unit 1220 - 4 . The input data selection unit 1220 - 3 may select some or all of the acquired or pre-processed data according to a preset selection criterion for acquiring a feature value. Also, the input data selection unit 1220 - 3 may select data according to a predetermined selection criterion by learning by the model learning unit 1210 - 4 .

모델 갱신부(1220-5)는 특징값 제공부(1220-4)에 의해 제공되는 특징값에 대한 평가에 기초하여, 암호화 모델이 갱신되도록 제어할 수 있다. 예를 들어, 모델 갱신부(1220-5)는 특징값 제공부(1220-4)에 의해 제공되는 특징값을 모델 학습부(1210-4)에게 제공함으로써, 모델 학습부(1210-4)가 암호화 모델을 추가 학습 또는 갱신하도록 요청할 수 있다.The model updater 1220 - 5 may control the encryption model to be updated based on the evaluation of the feature value provided by the feature value provider 1220 - 4 . For example, the model updating unit 1220-5 provides the feature value provided by the feature value providing unit 1220-4 to the model learning unit 1210-4, so that the model learning unit 1210-4 is You can request that the cryptographic model be further trained or updated.

도 13a의 (c)를 참조하면, 일부 실시예에 따른 복호화부(1230)는 입력 데이터 획득부(1230-1) 및 이미지 제공부(1230-4)를 포함할 수 있다. 또한, 복호화부(1230)는 입력 데이터 전처리부(1230-2), 입력 데이터 선택부(1230-3) 및 모델 갱신부(1230-5) 중 적어도 하나를 선택적으로 더 포함할 수 있다.Referring to (c) of FIG. 13A , the decoding unit 1230 according to some embodiments may include an input data obtaining unit 1230-1 and an image providing unit 1230-4. Also, the decoder 1230 may further selectively include at least one of an input data preprocessor 1230 - 2 , an input data selector 1230 - 3 , and a model updater 1230 - 5 .

입력 데이터 획득부(1230-1)는 이미지 복원을 위해 필요한 데이터를 획득할 수 있다. 예로, 입력 데이터 획득부(1230-1)는 사용자 키 및 서버(200)로부터 획득된 특징값을 입력 데이터로서 획득할 수 있다. 이미지 제공부(1230-4)는 입력 데이터 획득부(1230-1)에서 획득된 데이터를 입력 값으로 학습된 복호화 모델에 적용하여 특징값에 대응되는 이미지를 제공할 수 있다. 이미지 제공부(1230-4)는 특징값 및 사용자 키에 대응되는 이미지를 복원할 수 있다. 이미지 제공부(1230-4)는 후술할 입력 데이터 전처리부(1230-2) 또는 입력 데이터 선택부(1230-3)에 의해 선택된 데이터를 입력 값으로 복호화 모델에 적용하여 이미지를 복원할 수 있다. The input data acquisition unit 1230-1 may acquire data necessary for image restoration. For example, the input data obtaining unit 1230-1 may obtain a user key and a feature value obtained from the server 200 as input data. The image providing unit 1230-4 may provide an image corresponding to a feature value by applying the data acquired by the input data acquiring unit 1230-1 to a decoding model learned as an input value. The image providing unit 1230 - 4 may restore an image corresponding to the feature value and the user key. The image providing unit 1230 - 4 may restore an image by applying the data selected by the input data preprocessor 1230 - 2 or the input data selector 1230 - 3 to the decoding model as an input value, which will be described later.

복호화부(1230)는 복호화 모델의 처리 결과를 향상시키거나, 처리 결과의 제공을 위한 자원 또는 시간을 절약하기 위하여, 입력 데이터 전처리부(1230-2) 및 입력 데이터 선택부(1230-3)를 더 포함할 수도 있다.The decoding unit 1230 includes an input data preprocessor 1230-2 and an input data selection unit 1230-3 to improve the processing result of the decoding model or to save resources or time for providing the processing result. It may include more.

입력 데이터 전처리부(1230-2)는 이미지 복원을 위해 획득된 데이터가 이용될 수 있도록, 획득된 데이터를 전처리할 수 있다. 입력 데이터 전처리부(1230-2)는 이미지 제공부(1230-4)가 이미지 복원을 위하여 입력 데이터를 이용할 수 있도록, 입력 데이터를 기 정의된 포맷으로 가공할 수 있다. The input data preprocessor 1230 - 2 may preprocess the acquired data so that the acquired data can be used for image restoration. The input data preprocessor 1230 - 2 may process the input data into a predefined format so that the image providing unit 1230 - 4 can use the input data for image restoration.

입력 데이터 선택부(1230-3)는 입력 데이터 획득부(1230-1)에서 획득된 데이터 또는 입력 데이터 전처리부(1230-2)에서 전처리된 데이터 중에서 이미지 복원에 필요한 데이터를 선택할 수 있다. 선택된 데이터는 이미지 제공부(1230-4)에게 제공될 수 있다. 입력 데이터 선택부(1230-3)는 이미지 복원을 위한 기 설정된 선별 기준에 따라, 획득되거나 전처리된 데이터 중에서 일부 또는 전부를 선택할 수 있다. The input data selection unit 1230 - 3 may select data required for image restoration from among the data acquired by the input data acquiring unit 1230-1 or the data preprocessed by the input data preprocessing unit 1230 - 2 . The selected data may be provided to the image providing unit 1230 - 4 . The input data selection unit 1230 - 3 may select some or all of the acquired or pre-processed data according to a preset selection criterion for image restoration.

모델 갱신부(1230-5)는 이미지 제공부(1230-4)에 의해 제공되는 이미지에 대한 평가에 기초하여, 복호화 모델이 갱신되도록 제어할 수 있다. 예를 들어, 모델 갱신부(1230-5)는 이미지 제공부(1230-4)에 의해 제공되는 이미지를 모델 학습부(1210-4)에게 제공함으로써, 모델 학습부(1210-4)가 복호화 모델을 추가 학습 또는 갱신하도록 요청할 수 있다.The model updating unit 1230 - 5 may control the decoding model to be updated based on the evaluation of the image provided by the image providing unit 1230 - 4 . For example, the model update unit 1230 - 5 provides the image provided by the image providing unit 1230 - 4 to the model learner 1210 - 4 , so that the model learner 1210 - 4 performs the decoding model. may request further learning or renewal.

도 13b는, 일 실시예에 따른 전자 장치(100) 및 외부의 서버(S)가 서로 연동함으로써 암호화 모델을 학습하고 특징값을 획득하는 예시를 나타내는 도면이다.13B is a diagram illustrating an example in which the electronic device 100 and an external server S work together to learn an encryption model and obtain a feature value according to an embodiment.

도 13b를 참조하면, 외부의 서버(S)는 암호화 모델이 특징값을 획득하기 위한 기준을 학습할 수 있으며, 전자 장치(100)는 서버(S)에 의한 학습 결과에 기초하여 생성된 암호화 모델을 이용하여 특징값을 획득할 수 있다.Referring to FIG. 13B , the external server S may learn a criterion for obtaining the feature value of the encryption model, and the electronic device 100 provides an encryption model generated based on the learning result by the server S. can be used to obtain feature values.

이 경우, 서버(S)의 모델 학습부(1210-4)는 도 12에 도시된 학습부(1210)의 기능을 수행할 수 있다. 또한, 전자 장치(100)의 특징값 제공부(1220-4)는 입력 데이터 선택부(1220-3)에 의해 선택된 데이터를 서버(S)에 의해 생성된 암호화 모델에 적용하여 이미지에 대응되는 특징값을 획득할 수 있다. In this case, the model learning unit 1210 - 4 of the server S may perform the function of the learning unit 1210 illustrated in FIG. 12 . In addition, the feature value providing unit 1220 - 4 of the electronic device 100 applies the data selected by the input data selection unit 1220 - 3 to the encryption model generated by the server S to provide a feature corresponding to the image. value can be obtained.

또는, 전자 장치(100)의 특징값 제공부(1220-4)는 서버(S)에 의해 생성된 암호화 모델을 서버(S)로부터 수신하고, 수신된 암호화 모델을 이용하여 이미지에 대응되는 특징값을 획득할 수 있다. 이 경우, 전자 장치(100)의 특징값 제공부(1220-4)는 입력 데이터 선택부(1220-3)에 의해 선택된 입력 데이터를 서버(S)로부터 수신된 암호화 모델에 적용하여, 이미지에 대응되는 특징값을 획득할 수 있다. Alternatively, the feature value providing unit 1220 - 4 of the electronic device 100 receives the encryption model generated by the server S from the server S, and uses the received encryption model to provide a feature value corresponding to the image. can be obtained. In this case, the feature value providing unit 1220 - 4 of the electronic device 100 applies the input data selected by the input data selection unit 1220 - 3 to the encryption model received from the server S to correspond to the image. feature values can be obtained.

도 13c는, 일 실시예에 따른 전자 장치(100) 및 외부의 서버(S)가 서로 연동함으로써 복호화 모델을 학습하고 이미지를 복원하는 예시를 나타내는 도면이다.13C is a diagram illustrating an example in which the electronic device 100 and an external server S work together to learn a decoding model and restore an image, according to an embodiment.

도 13c를 참조하면, 외부의 서버(S)는 복호화 모델이 이미지를 복원하기 위한 기준을 학습할 수 있으며, 전자 장치(100)는 서버(S)에 의한 학습 결과에 기초하여 생성된 복호화 모델을 이용하여 이미지를 복원할 수 있다.Referring to FIG. 13C , the external server S may learn a criterion for the decoding model to reconstruct an image, and the electronic device 100 uses the decoding model generated based on the learning result by the server S. can be used to restore the image.

이 경우, 서버(S)의 모델 학습부(1210-4)는 도 12에 도시된 학습부(1210)의 기능을 수행할 수 있다. 또한, 전자 장치(100)의 이미지 제공부(1230-4)는 입력 데이터 선택부(1230-3)에 의해 선택된 데이터를 서버(S)에 의해 생성된 복호화 모델에 적용하여 특징값에 대응되는 이미지를 획득할 수 있다. In this case, the model learning unit 1210 - 4 of the server S may perform the function of the learning unit 1210 illustrated in FIG. 12 . In addition, the image providing unit 1230 - 4 of the electronic device 100 applies the data selected by the input data selection unit 1230 - 3 to the decoding model generated by the server S to obtain an image corresponding to the feature value. can be obtained.

또는, 전자 장치(100)의 이미지 제공부(1230-4)는 서버(S)에 의해 생성된 복호화 모델을 서버(S)로부터 수신하고, 수신된 복호화 모델을 이용하여 특징값에 대응되는 이미지를 복원할 수 있다. 이 경우, 전자 장치(100)의 이미지 제공부(1230-4)는 입력 데이터 선택부(1230-3)에 의해 선택된 입력 데이터를 서버(S)로부터 수신된 복호화 모델에 적용하여, 이미지에 대응되는 특징값을 복원할 수 있다. Alternatively, the image providing unit 1230 - 4 of the electronic device 100 receives the decryption model generated by the server S from the server S, and uses the received decryption model to generate an image corresponding to the feature value. can be restored In this case, the image providing unit 1230 - 4 of the electronic device 100 applies the input data selected by the input data selection unit 1230 - 3 to the decoding model received from the server S, The feature value can be restored.

도 14 내지 도 15는 본 개시의 다양한 실시예에 따른, 암호화 모델 또는 복호화 모델을 이용하는 네트워크 시스템의 흐름도이다. 도 14 및 도 15에서, 암호화 모델 또는 복호화 모델을 이용하는 네트워크 시스템은 제1 구성 요소(1401,1501) 및 제2 구성 요소(1402,1502)를 포함할 수 있다.14 to 15 are flowcharts of a network system using an encryption model or a decryption model, according to various embodiments of the present disclosure. 14 and 15 , a network system using an encryption model or a decryption model may include first components 1401 and 1501 and second components 1402 and 1502 .

여기서, 제1 구성 요소(1401,1401)는 전자 장치(100)이고, 제2 구성 요소(1402,1502)는 암호화 모델 또는 복호화 모델이 저장된 서버(S)가 될 수 있다. 또는, 제1 구성 요소(1401,1501)는 범용 프로세서이고, 제2 구성 요소(1402,1502)는 인공 지능 전용 프로세서가 될 수 있다. 또는, 제1 구성 요소(1401,1501)는 적어도 하나의 어플리케이션이 될 수 있고, 제2 구성 요소(1402,1502)는 운영 체제(operating system, OS)가 될 수 있다. 즉, 제2 구성 요소(1402,1502)는 제1 구성 요소(1401,1501)보다 더 집적화되거나, 전용화되거나, 딜레이(delay)가 작거나, 성능이 우세하거나 또는 많은 리소스를 가진 구성 요소로서 암호화 모델 또는 복호화 모델의 생성, 갱신 또는 적용 시에 요구되는 많은 연산을 제1 구성 요소(1401,1501)보다 신속하고 효과적으로 처리 가능한 구성 요소가 될 수 있다.Here, the first components 1401 and 1401 may be the electronic device 100 , and the second components 1402 and 1502 may be the server S in which an encryption model or a decryption model is stored. Alternatively, the first components 1401 and 1501 may be general-purpose processors, and the second components 1402 and 1502 may be artificial intelligence-only processors. Alternatively, the first components 1401 and 1501 may be at least one application, and the second components 1402 and 1502 may be an operating system (OS). That is, the second components 1402 and 1502 are more integrated than the first components 1401 and 1501, have a smaller delay, have superior performance, or have more resources than the first components 1401 and 1501. It may be a component capable of processing many operations required when generating, updating, or applying an encryption model or a decryption model more quickly and effectively than the first components 1401 and 1501 .

이 경우, 제1 구성 요소(1401,1501) 및 제2 구성 요소(1402,1502) 간에 데이터를 송/수신하기 위한 인터페이스가 정의될 수 있다. In this case, an interface for transmitting/receiving data between the first components 1401 and 1501 and the second components 1402 and 1502 may be defined.

예로, 암호화 모델 또는 복호화 모델에 적용할 학습 데이터를 인자 값(또는, 매개 값 또는 전달 값)으로 갖는 API(application program interface)가 정의될 수 있다. API는 어느 하나의 프로토콜(예로, 전자 장치(100)에서 정의된 프로토콜)에서 다른 프로토콜(예로, 서버(S)에서 정의된 프로토콜)의 어떤 처리를 위해 호출할 수 있는 서브 루틴 또는 함수의 집합으로 정의될 수 있다. 즉, API를 통하여 어느 하나의 프로토콜에서 다른 프로토콜의 동작이 수행될 수 있는 환경을 제공될 수 있다.For example, an API (application program interface) having training data to be applied to an encryption model or a decryption model as a factor value (or a parameter value or a transfer value) may be defined. An API is a set of subroutines or functions that can be called for any processing of any one protocol (eg, the protocol defined in the electronic device 100) to another protocol (eg, the protocol defined in the server S). can be defined. That is, an environment in which an operation of another protocol can be performed in one protocol can be provided through the API.

제3 구성 요소(1403,1503)는 이미지에 대응되는 특징값과 이미지의 식별 정보를 매칭하여 저장할 수 있는 외부 서버 또는 클라우드 장치로 구현될 수 있다.The third components 1403 and 1503 may be implemented as an external server or a cloud device that can match and store a feature value corresponding to an image and identification information of the image.

도 14에서, 제1 구성 요소(1401)는 이미지에 대한 업로드 명령을 입력받을 수 있다(S1410). 이때, 이미지에 대한 업로드 명령은 이미지에 대한 메뉴를 통해 획득될 수 있으나, 이는 일 실시예에 불과할 뿐, 다른 방법으로도 획득될 수 있다.In FIG. 14 , the first component 1401 may receive an upload command for an image ( S1410 ). In this case, the upload command for the image may be obtained through the menu for the image, but this is only an example and may be obtained by other methods.

제1 구성 요소(1401)는 사용자 키를 획득할 수 있다(S1420). 이때, 사용자 키는 전자 장치(100)의 식별 정보 또는 사용자에 의해 입력된 비밀번호일 수 있다.The first component 1401 may obtain a user key (S1420). In this case, the user key may be identification information of the electronic device 100 or a password input by the user.

제1 구성 요소(1401)는 제2 구성 요소(1402)로 이미지 및 사용자 키를 전송할 수 있다(S1430). 이때, 복수 개의 사용자 키가 존재하는 경우, 제1 구성 요소(1401)는 복수의 개의 사용자 키 중 이미지에 대응되는 사용자 키에 대한 버전 정보를 함께 전송할 수 있다.The first component 1401 may transmit the image and the user key to the second component 1402 (S1430). In this case, when a plurality of user keys exist, the first component 1401 may transmit version information on a user key corresponding to an image among the plurality of user keys together.

제2 구성 요소(1402)는 암호화 모델에 이미지 및 사용자 키를 입력하여 특징값을 획득할 수 있다(S1440). 이때, 암호화 모델은 이미지 및 사용자 키를 입력 데이터로 사용하여 이미지에 대응되는 특징값을 획득하도록 학습된 모델일 수 있다.The second component 1402 may obtain a feature value by inputting an image and a user key into the encryption model (S1440). In this case, the encryption model may be a model trained to obtain a feature value corresponding to the image by using the image and the user key as input data.

제2 구성 요소(1402)는 이미지에 대응되는 특징값을 제1 구성 요소(1401)로 전송할 수 있다(S1450).The second component 1402 may transmit a feature value corresponding to the image to the first component 1401 (S1450).

제1 구성 요소(1401)는 이미지의 식별 정보 및 이미지에 대응되는 특징값을 제3 구성 요소(1403)로 전송할 수 있다(S1460). 이때, 제1 구성 요소(1401)는 사용자 키에 대한 버전 정보를 함께 제3 구성 요소(1403)로 전송할 수 있다.The first component 1401 may transmit identification information of the image and a feature value corresponding to the image to the third component 1403 (S1460). In this case, the first component 1401 may transmit version information on the user key together to the third component 1403 .

제3 구성 요소(1403)는 제1 구성 요소(1401)로부터 전송된 이미지의 식별 정보와 이미지에 대응되는 특징값을 매칭하여 저장할 수 있다(S1470). 이때, 제3 구성 요소(1403)는 사용자 키에 대한 버전 정보를 함께 저장할 수 있다.The third component 1403 may match and store the identification information of the image transmitted from the first component 1401 with a feature value corresponding to the image (S1470). In this case, the third component 1403 may store version information about the user key together.

또한, 제1 구성 요소(1401)는 이미지에 대응되는 썸네일 이미지를 생성할 수 있다(S1480). 이미지를 디스플레이하기 위한 사용자 명령이 입력되면, 제1 구성 요소(1401)는 생성된 썸네일 이미지를 표시할 수 있다.Also, the first component 1401 may generate a thumbnail image corresponding to the image (S1480). When a user command for displaying an image is input, the first component 1401 may display the generated thumbnail image.

도 15에서, 제3 구성 요소(1503)는 식별 정보와 특징값을 매칭하여 저장할 수 있다(S1510).In FIG. 15 , the third component 1503 may match and store identification information and feature values ( S1510 ).

제1 구성 요소(1501)는 이미지에 대한 다운로드 명령을 입력받을 수 있다(S1520). 이때, 다운로드 명령은 이미지에 대한 메뉴를 통해 입력될 수 있으나, 이는 일 실시예에 불과할 뿐, 다른 방법으로도 입력받을 수 있다.The first component 1501 may receive a download command for the image (S1520). In this case, the download command may be input through a menu for an image, but this is only an exemplary embodiment and may be inputted by other methods.

제1 구성 요소(1501)는 제3 구성 요소(1503)로 다운로드 요청 신호를 전송할 수 있다(S1530). 이때, 다운로드 요청 신호에는 다운로드하고자 하는 이미지의 식별 정보를 포함할 수 있다.The first component 1501 may transmit a download request signal to the third component 1503 (S1530). In this case, the download request signal may include identification information of an image to be downloaded.

제3 구성 요소(1503)는 이미지의 식별 정보에 대응되는 특징값을 검색할 수 있다(S1540). 구체적으로, 제3 구성 요소(1503)에 저장된 복수의 특징값 중 이미지의 식별 정보와 매칭되는 특징값을 검색할 수 있다.The third component 1503 may search for a feature value corresponding to the identification information of the image (S1540). Specifically, it is possible to search for a feature value matching the identification information of the image among a plurality of feature values stored in the third component 1503 .

제3 구성 요소(1503)는 검색된 특징값을 제1 구성 요소(1501)로 전송할 수 있다(S1550). 이때, 제3 구성 요소(1503)는 제1 구성 요소(1501)로 검색된 특징값을 전송할 수 있으나, 이는 일 실시예에 불과할 뿐, 제2 구성 요소(1502)로 바로 검색된 특징값을 전송할 수 있다.The third component 1503 may transmit the searched feature value to the first component 1501 (S1550). In this case, the third component 1503 may transmit the retrieved feature value to the first component 1501 , but this is only an example, and the searched feature value may be directly transmitted to the second component 1502 . .

제1 구성 요소(1501)는 사용자 키 및 특징값을 제2 구성 요소(1502)로 전송할 수 있다(S1560).The first component 1501 may transmit the user key and the feature value to the second component 1502 (S1560).

제2 구성 요소(1502)는 사용자 키 및 특징값을 복호화 모델에 입력하여 이미지를 복원할 수 있다(S1570). 이때, 복호화 모델은 사용자 키 및 특징값을 입력 데이터로 사용하여 이미지를 복원하도록 학습된 모델로서, 암호화 모델과 함께 쌍으로 학습될 수 있다.The second component 1502 may restore the image by inputting the user key and the feature value into the decryption model (S1570). In this case, the decryption model is a model trained to restore an image using a user key and a feature value as input data, and may be learned in pairs with the encryption model.

제2 구성 요소(1502)는 제1 구성 요소(1501)로 복원된 이미지를 전송할 수 있다(S1580).The second component 1502 may transmit the restored image to the first component 1501 (S1580).

제1 구성 요소(1501)는 복원된 이미지를 제공할 수 있다(S1590). 또는, 제1 구성 요소(1501)는 복원된 이미지를 저장할 수 있다.The first component 1501 may provide a restored image (S1590). Alternatively, the first component 1501 may store the restored image.

본 개시의 다양한 실시예들은 기기(machine)(예: 컴퓨터)로 읽을 수 있는 저장 매체(machine-readable storage media에 저장된 명령어를 포함하는 소프트웨어로 구현될 수 있다. 기기는, 저장 매체로부터 저장된 명령어를 호출하고, 호출된 명령어에 따라 동작이 가능한 장치로서, 개시된 실시예들에 따른 전자 장치(예: 전자 장치(100))를 포함할 수 있다. 상기 명령이 프로세서에 의해 실행될 경우, 프로세서가 직접, 또는 상기 프로세서의 제어하에 다른 구성요소들을 이용하여 상기 명령에 해당하는 기능을 수행할 수 있다. 명령은 컴파일러 또는 인터프리터에 의해 생성 또는 실행되는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장매체는, 비일시적(non-transitory) 저장매체의 형태로 제공될 수 있다. 여기서, '비일시적'은 저장매체가 신호(signal)를 포함하지 않으며 실재(tangible)한다는 것을 의미할 뿐 데이터가 저장매체에 반영구적 또는 임시적으로 저장됨을 구분하지 않는다.Various embodiments of the present disclosure may be implemented as software including instructions stored in a machine-readable storage media readable by a machine (eg, a computer). As a device capable of calling and operating according to the called command, it may include an electronic device (eg, the electronic device 100) according to the disclosed embodiments. When the command is executed by the processor, the processor directly Alternatively, a function corresponding to the instruction may be performed using other components under the control of the processor. The instruction may include code generated or executed by a compiler or an interpreter. , may be provided in the form of a non-transitory storage medium, where 'non-transitory' means that the storage medium does not include a signal and is tangible, but data is stored on the storage medium It does not distinguish between semi-permanent or temporary storage.

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

다양한 실시예들에 따른 구성 요소(예: 모듈 또는 프로그램) 각각은 단수 또는 복수의 개체로 구성될 수 있으며, 전술한 해당 서브 구성 요소들 중 일부 서브 구성 요소가 생략되거나, 또는 다른 서브 구성 요소가 다양한 실시예에 더 포함될 수 있다. 대체적으로 또는 추가적으로, 일부 구성 요소들(예: 모듈 또는 프로그램)은 하나의 개체로 통합되어, 통합되기 이전의 각각의 해당 구성 요소에 의해 수행되는 기능을 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따른, 모듈, 프로그램 또는 다른 구성 요소에 의해 수행되는 동작들은 순차적, 병렬적, 반복적 또는 휴리스틱하게 실행되거나, 적어도 일부 동작이 다른 순서로 실행되거나, 생략되거나, 또는 다른 동작이 추가될 수 있다.Each of the components (eg, a module or a program) according to various embodiments may be composed of a singular or a plurality of entities, and some sub-components of the aforementioned sub-components may be omitted, or other sub-components may be It may be further included in various embodiments. Alternatively or additionally, some components (eg, a module or a program) may be integrated into a single entity to perform the same or similar functions performed by each corresponding component prior to integration. According to various embodiments, operations performed by a module, program, or other component are executed sequentially, parallel, iteratively, or heuristically, or at least some operations are executed in a different order, are omitted, or other operations are added. can be

110: 통신부 120: 디스플레이
130: 메모리 140: 프로세서
150: 사용자 입력부 160: 오디오 출력부
170: 카메라
110: communication unit 120: display
130: memory 140: processor
150: user input unit 160: audio output unit
170: camera

Claims (20)

인공지능 신경망(Neural Network) 모델을 이용하여 이미지를 암호화하여 외부 서버에 업로드하기 위한 전자 장치의 제어 방법에 있어
이미지를 획득하는 단계;
상기 획득된 이미지를 상기 외부 서버에 업로드하기 위한 사용자 명령을 입력받는 단계;
상기 사용자 명령에 응답하여, 이미지 및 사용자 키를 입력 데이터로 이용하여 특징값을 획득하도록 학습된 신경망 모델에 상기 획득된 이미지와 상기 전자 장치의 사용자 키를 입력하여 상기 획득된 이미지에 대응되는 특징값을 획득하는 단계; 및
상기 획득된 이미지의 식별 정보와 상기 특징값을 상기 외부 서버에 전송하는 단계;를 포함하는 제어 방법.
In a control method of an electronic device for encrypting an image using an artificial intelligence neural network model and uploading it to an external server
acquiring an image;
receiving a user command for uploading the acquired image to the external server;
In response to the user command, a feature value corresponding to the acquired image by inputting the acquired image and the user key of the electronic device into a neural network model trained to acquire a feature value by using an image and a user key as input data obtaining a; and
and transmitting the identification information of the acquired image and the feature value to the external server.
제1항에 있어서,
상기 전자 장치의 사용자 키는,
상기 전자 장치의 사용자에 의해 입력된 비밀번호 및 상기 전자 장치의 식별 정보 중 하나인 것을 특징으로 하는 제어 방법.
According to claim 1,
The user key of the electronic device,
The control method according to claim 1, wherein the password is one of a password input by a user of the electronic device and identification information of the electronic device.
제1항에 있어서,
상기 전송하는 단계는,
상기 전자 장치의 사용자 키가 복수 개 존재하는 경우, 상기 복수 개의 사용자 키 중 상기 획득된 이미지에 대응되는 사용자 키의 버전 정보를 상기 획득된 이미지의 식별 정보 및 상기 특징값과 함께 상기 외부 서버에 전송하는 것을 특징으로 하는 제어 방법.
According to claim 1,
The transmitting step is
When there are a plurality of user keys of the electronic device, version information of a user key corresponding to the obtained image among the plurality of user keys is transmitted to the external server together with identification information and the characteristic value of the obtained image A control method, characterized in that.
제1항에 있어서,
상기 사용자 명령에 응답하여, 상기 획득된 이미지에 대응되는 썸네일 이미지를 획득하는 단계;
상기 획득된 썸네일 이미지 및 상기 획득된 이미지의 식별 정보를 매칭하여 저장하는 단계; 및
상기 획득된 이미지를 삭제하는 단계;를 포함하는 제어 방법.
According to claim 1,
obtaining a thumbnail image corresponding to the obtained image in response to the user command;
matching and storing the obtained thumbnail image and identification information of the obtained image; and
A control method comprising a; deleting the acquired image.
제4항에 있어서,
사용자로부터 상기 획득된 이미지를 디스플레이하기 위한 사용자 명령이 수신되면, 상기 획득된 썸네일 이미지를 제공하는 단계;를 포함하는 제어 방법.
5. The method of claim 4,
and providing the obtained thumbnail image when a user command for displaying the obtained image is received from a user.
제1항에 있어서,
상기 외부 서버는,
상기 획득된 이미지의 식별 정보와 상기 특징값을 매칭하여 저장하고, 상기 특징값을 바탕으로 상기 획득된 이미지와 다른 이미지의 유사도를 비교하며, 상기 유사도 비교를 바탕으로 상기 획득된 이미지를 분류하는 것을 특징으로 하는 제어 방법.
According to claim 1,
The external server,
matching and storing the identification information of the acquired image with the feature value, comparing the similarity between the acquired image and another image based on the feature value, and classifying the acquired image based on the similarity comparison Characterized control method.
제6항에 있어서,
키워드를 입력받는 단계;
상기 키워드와 관련된 이미지를 검색하기 위한 사용자 명령을 입력받는 단계;
상기 키워드와 관련된 검색을 요청하는 신호를 상기 외부 서버로 전송하는 단계; 및
상기 신호에 응답하여 상기 유사도 비교를 바탕으로 분류된 이미지들 중 상기 키워드와 관련된 적어도 하나의 검색 이미지에 대응되는 특징값을 상기 외부 서버로부터 수신하는 단계;를 포함하는 제어 방법.
7. The method of claim 6,
receiving keywords;
receiving a user command for searching for an image related to the keyword;
transmitting a signal for requesting a search related to the keyword to the external server; and
and receiving, from the external server, a feature value corresponding to at least one search image related to the keyword among images classified based on the similarity comparison in response to the signal.
제7항에 있어서,
특징값과 사용자 키를 입력 데이터로 이용하여 이미지를 복원하도록 학습된 복호화 모델에 상기 적어도 하나의 검색 이미지에 대응되는 특징값 및 상기 전자 장치의 사용자 키를 입력하여 상기 적어도 하나의 검색 이미지를 복원하는 단계;를 포함하는 제어 방법.
8. The method of claim 7,
Restoring the at least one search image by inputting a feature value corresponding to the at least one search image and a user key of the electronic device into a decoding model that is trained to restore an image by using a feature value and a user key as input data Control method comprising;
제1항에 있어서,
상기 획득된 이미지에 대응되는 특징값을 수신하기 위한 사용자의 다운로드 명령이 입력되면, 상기 외부 서버로 상기 획득된 이미지에 대응되는 특징값을 요청하는 신호를 전송하는 단계;
상기 신호에 응답하여, 상기 외부 서버로부터 상기 획득된 이미지에 대응되는 특징값을 수신하는 단계; 및
상기 특징값과 사용자 키를 입력 데이터로 이용하여 이미지를 복원하도록 학습된 복호화 모델에 상기 획득된 이미지에 대응되는 특징값 및 상기 전자 장치의 사용자 키를 입력하여 상기 획득된 이미지를 복원하는 단계;를 포함하는 제어 방법.
According to claim 1,
transmitting a signal requesting a feature value corresponding to the acquired image to the external server when a user's download command for receiving a feature value corresponding to the acquired image is input;
receiving a feature value corresponding to the acquired image from the external server in response to the signal; and
Restoring the acquired image by inputting a feature value corresponding to the acquired image and a user key of the electronic device into a decoding model trained to restore an image by using the feature value and the user key as input data; control method including.
제9항에 있어서,
상기 수신하는 단계는,
상기 외부 서버로부터 상기 획득된 이미지에 대응되는 특징값과 함께 상기 획득된 이미지를 암호화하기 위해 이용된 상기 전자 장치의 사용자 키의 버전 정보를 함께 수신하며,
상기 복원하는 단계는,
상기 복호화 모델에 상기 획득된 이미지에 대응되는 특징값 및 상기 버전 정보에 대응되는 상기 전자 장치의 사용자 키를 입력하여 상기 획득된 이미지를 복원하는 제어 방법.
10. The method of claim 9,
The receiving step is
Receives version information of a user key of the electronic device used to encrypt the acquired image together with a feature value corresponding to the acquired image from the external server,
The restoration step is
A control method for restoring the acquired image by inputting a feature value corresponding to the acquired image and a user key of the electronic device corresponding to the version information to the decoding model.
전자 장치에 있어서,
통신부;
디스플레이;
이미지 및 사용자 키를 입력 데이터로 이용하여 특징값을 획득하도록 학습된 신경망 모델 및 상기 전자 장치의 동작을 수행하기 위한 프로그램을 저장하는 메모리;
상기 통신부, 상기 디스플레이 및 상기 메모리와 전기적으로 연결되어 상기 전자 장치를 제어하는 프로세서;를 포함하며,
상기 프로세서는,
획득된 이미지를 외부 서버에 업로드하기 위한 사용자 명령에 따른 입력 신호를 획득하고,
상기 입력 신호에 응답하여, 상기 신경망 모델에 상기 획득된 이미지와 상기 전자 장치의 사용자 키를 입력하여 상기 획득된 이미지에 대응되는 특징값을 획득하고,
상기 획득된 이미지의 식별 정보와 상기 특징값을 상기 외부 서버에 전송하도록 상기 통신부를 제어하는 전자 장치.
In an electronic device,
communication department;
display;
a memory for storing a neural network model trained to obtain a feature value by using an image and a user key as input data and a program for performing an operation of the electronic device;
a processor electrically connected to the communication unit, the display, and the memory to control the electronic device; and
The processor is
Obtaining an input signal according to a user command for uploading the acquired image to an external server,
In response to the input signal, input the acquired image and the user key of the electronic device to the neural network model to obtain a feature value corresponding to the acquired image,
The electronic device for controlling the communication unit to transmit the identification information of the acquired image and the feature value to the external server.
제11항에 있어서,
상기 전자 장치의 사용자 키는,
상기 전자 장치의 사용자에 의해 입력된 비밀번호 및 상기 전자 장치의 식별 정보 중 하나인 것을 특징으로 하는 전자 장치.
12. The method of claim 11,
The user key of the electronic device,
The electronic device of claim 1, wherein the password is one of a password input by a user of the electronic device and identification information of the electronic device.
제11항에 있어서,
상기 프로세서는,
상기 전자 장치의 사용자 키가 복수 개 존재하는 경우, 상기 복수 개의 사용자 키 중 상기 획득된 이미지에 대응되는 사용자 키의 버전 정보를 상기 획득된 이미지의 식별 정보 및 상기 특징값과 함께 상기 외부 서버에 전송하도록 상기 통신부를 제어하는 것을 특징으로 하는 전자 장치.
12. The method of claim 11,
The processor is
When there are a plurality of user keys of the electronic device, version information of a user key corresponding to the obtained image among the plurality of user keys is transmitted to the external server together with identification information and the characteristic value of the obtained image An electronic device, characterized in that for controlling the communication unit to do so.
제11항에 있어서,
상기 프로세서는,
상기 사용자 명령에 응답하여, 상기 획득된 이미지에 대응되는 썸네일 이미지를 획득하고,
상기 획득된 썸네일 이미지 및 상기 획득된 이미지의 식별 정보를 매칭하여 상기 메모리에 저장하며,
상기 획득된 이미지를 상기 메모리에서 삭제하는 것을 특징으로 하는 전자 장치.
12. The method of claim 11,
The processor is
In response to the user command, obtain a thumbnail image corresponding to the obtained image,
Matching the obtained thumbnail image and identification information of the obtained image and storing it in the memory,
and deleting the acquired image from the memory.
제14항에 있어서,
상기 프로세서는,
사용자로부터 상기 획득된 이미지를 디스플레이하기 위한 사용자 명령이 수신되면, 상기 획득된 썸네일 이미지를 제공하도록 상기 디스플레이를 제어하는 것을 특징으로 하는 전자 장치.
15. The method of claim 14,
The processor is
The electronic device of claim 1, wherein when a user command for displaying the acquired image is received from a user, the display is controlled to provide the acquired thumbnail image.
제11항에 있어서,
상기 획득된 이미지의 식별 정보와 상기 특징값이 매칭되어 상기 외부 서버에 저장되며,
상기 외부 서버는,
상기 특징값을 바탕으로 상기 획득된 이미지와 다른 이미지의 유사도를 비교하며, 상기 유사도 비교를 바탕으로 상기 획득된 이미지를 분류하는 것을 특징으로 하는 전자 장치.
12. The method of claim 11,
The identification information of the acquired image and the characteristic value are matched and stored in the external server,
The external server,
and comparing the similarity between the acquired image and another image based on the feature value, and classifying the acquired image based on the similarity comparison.
제16항에 있어서,
상기 프로세서는,
입력된 키워드와 관련된 이미지를 검색하기 위한 사용자 명령에 따른 입력 신호를 획득하고,
상기 키워드와 관련된 검색을 요청하는 신호를 상기 외부 서버로 전송하도록 상기 통신부를 제어하며,
상기 통신부를 통해 상기 유사도 비교를 바탕으로 분류된 이미지들 중 상기 키워드와 관련된 적어도 하나의 검색 이미지에 대응되는 특징값을 상기 외부 서버로부터 수신하는 것을 특징으로 하는 전자 장치.
17. The method of claim 16,
The processor is
Obtaining an input signal according to a user command for searching for an image related to the input keyword,
controlling the communication unit to transmit a signal requesting a search related to the keyword to the external server,
and receiving, from the external server, a feature value corresponding to at least one search image related to the keyword among images classified based on the similarity comparison through the communication unit.
제17항에 있어서,
상기 메모리는,
특징값과 사용자 키를 입력 데이터로 이용하여 이미지를 복원하도록 학습된 복호화 모델을 저장하며,
상기 프로세서는,
상기 복호화 모델에 상기 적어도 하나의 검색 이미지에 대응되는 특징값 및 상기 전자 장치의 사용자 키를 입력하여 상기 적어도 하나의 검색 이미지를 복원하는 것을 특징으로 하는 전자 장치.
18. The method of claim 17,
The memory is
Stores the decryption model trained to restore the image using the feature value and the user key as input data,
The processor is
and restoring the at least one search image by inputting a feature value corresponding to the at least one search image and a user key of the electronic device into the decryption model.
제11항에 있어서,
상기 메모리는,
특징값과 사용자 키를 입력 데이터로 이용하여 이미지를 복원하도록 학습된 복호화 모델을 저장하며,
상기 프로세서는,
상기 획득된 이미지에 대응되는 특징값을 수신하기 위한 사용자의 다운로드 명령이 입력되면, 상기 외부 서버로 상기 획득된 이미지에 대응되는 특징값을 요청하는 신호를 전송하도록 상기 통신부를 제어하며,
상기 통신부를 통해 상기 외부 서버로부터 상기 획득된 이미지에 대응되는 특징값을 수신하며,
상기 복호화 모델에 상기 획득된 이미지에 대응되는 특징값 및 상기 전자 장치의 사용자 키를 입력하여 상기 획득된 이미지를 복원하는 것을 특징으로 하는 전자 장치.
12. The method of claim 11,
The memory is
Stores the decryption model trained to restore the image using the feature value and the user key as input data,
The processor is
When a user's download command for receiving a feature value corresponding to the acquired image is input, the communication unit is controlled to transmit a signal requesting a feature value corresponding to the acquired image to the external server,
Receives a feature value corresponding to the acquired image from the external server through the communication unit,
and reconstructing the acquired image by inputting a feature value corresponding to the acquired image and a user key of the electronic device to the decoding model.
제19항에 있어서,
상기 외부 서버로부터 상기 획득된 이미지에 대응되는 특징값과 함께 상기 획득된 이미지를 암호화하기 위해 이용된 상기 전자 장치의 사용자 키의 버전 정보가 함께 수신되며,
상기 프로세서는,
상기 복호화 모델에 상기 획득된 이미지에 대응되는 특징값 및 상기 버전 정보에 대응되는 상기 전자 장치의 사용자 키를 입력하여 상기 획득된 이미지를 복원하는 전자 장치.
20. The method of claim 19,
Version information of the user key of the electronic device used to encrypt the acquired image is received together with a feature value corresponding to the acquired image from the external server,
The processor is
The electronic device restores the acquired image by inputting a feature value corresponding to the acquired image and a user key of the electronic device corresponding to the version information in the decryption model.
KR1020170142106A 2017-07-24 2017-10-30 Electronic device and Method for controlling the electronic device KR102444932B1 (en)

Priority Applications (7)

Application Number Priority Date Filing Date Title
PCT/KR2018/008355 WO2019022472A1 (en) 2017-07-24 2018-07-24 Electronic device and method for controlling the electronic device
CN201880049170.5A CN110945505B (en) 2017-07-24 2018-07-24 Electronic apparatus and method of controlling the same
EP22178575.1A EP4080393A1 (en) 2017-07-24 2018-07-24 Electronic device and method for controlling the electronic device
US16/043,930 US10587776B2 (en) 2017-07-24 2018-07-24 Electronic device and method for controlling the electronic device
EP18838530.6A EP3635605B1 (en) 2017-07-24 2018-07-24 Electronic device and method for controlling the electronic device
US16/782,484 US10992839B2 (en) 2017-07-24 2020-02-05 Electronic device and method for controlling the electronic device
KR1020220115847A KR102615597B1 (en) 2017-07-24 2022-09-14 Electronic device and Method for controlling the electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US201762536042P 2017-07-24 2017-07-24
US62/536,042 2017-07-24

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020220115847A Division KR102615597B1 (en) 2017-07-24 2022-09-14 Electronic device and Method for controlling the electronic device

Publications (2)

Publication Number Publication Date
KR20190011180A KR20190011180A (en) 2019-02-01
KR102444932B1 true KR102444932B1 (en) 2022-09-20

Family

ID=65367951

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170142106A KR102444932B1 (en) 2017-07-24 2017-10-30 Electronic device and Method for controlling the electronic device

Country Status (2)

Country Link
KR (1) KR102444932B1 (en)
CN (1) CN110945505B (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019151776A1 (en) 2018-02-02 2019-08-08 주식회사 엘지화학 Preparation method of graft copolymer, graft copolymer, and thermoplastic resin molded article
KR102103731B1 (en) * 2018-04-02 2020-05-29 서울과학기술대학교 산학협력단 System for machine learning of encyrpted data using non-interactive communication
KR20210018985A (en) 2019-08-11 2021-02-19 권형석 How to code business card images in AI based And system
KR102529272B1 (en) * 2019-12-20 2023-05-08 한국전자통신연구원 Secure communication method and device performing the same
CN111476866B (en) * 2020-04-09 2024-03-12 咪咕文化科技有限公司 Video optimization and playing method, system, electronic equipment and storage medium
KR20210133471A (en) * 2020-04-29 2021-11-08 삼성전자주식회사 Electronic device and control method thereof
CN111654368B (en) * 2020-06-03 2021-10-08 电子科技大学 Key generation method for generating countermeasure network based on deep learning
CN112115811A (en) * 2020-08-31 2020-12-22 支付宝(杭州)信息技术有限公司 Image processing method and device based on privacy protection and electronic equipment
CN114189598A (en) * 2022-01-11 2022-03-15 深圳市怡化时代科技有限公司 Data encryption processing method and device, computer equipment and storage medium
WO2023136386A1 (en) * 2022-01-17 2023-07-20 엘지전자 주식회사 Electronic device that encrypts image
CN116055651B (en) * 2023-01-06 2023-11-10 广东电网有限责任公司 Shared access method, device, equipment and medium for multi-center energy economic data

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150248765A1 (en) 2014-02-28 2015-09-03 Microsoft Corporation Depth sensing using an rgb camera
US20170097948A1 (en) 2015-10-02 2017-04-06 Adobe Systems Incorporated Searching using specific attributes found in images

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2346397C1 (en) * 2007-06-26 2009-02-10 Александр Иванович Иванов Method of protecting personal biometrical identification and authentification data
JPWO2009110055A1 (en) * 2008-03-03 2011-07-14 株式会社Pfu Image processing system, method and program
US8463025B2 (en) * 2011-04-26 2013-06-11 Nec Laboratories America, Inc. Distributed artificial intelligence services on a cell phone
CN103577764A (en) * 2012-07-27 2014-02-12 国基电子(上海)有限公司 Document encryption and decryption method and electronic device with document encryption and decryption function
JP6116059B2 (en) * 2013-12-16 2017-04-19 満男 江口 Image compression / decompression method and apparatus for encryption communication, program, and storage medium
US9619488B2 (en) * 2014-01-24 2017-04-11 Microsoft Technology Licensing, Llc Adaptable image search with computer vision assistance
CN104239815A (en) * 2014-09-19 2014-12-24 西安凯虹电子科技有限公司 Electronic document encryption and decryption method and method based on iris identification
US10318575B2 (en) * 2014-11-14 2019-06-11 Zorroa Corporation Systems and methods of building and using an image catalog
CN105631296B (en) * 2015-12-30 2018-07-31 北京工业大学 A kind of safe face authentication system design method based on CNN feature extractors
CN106599703A (en) * 2016-12-12 2017-04-26 中国矿业大学 Mixed primitive and chaos-based multi-image encryption method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150248765A1 (en) 2014-02-28 2015-09-03 Microsoft Corporation Depth sensing using an rgb camera
US20170097948A1 (en) 2015-10-02 2017-04-06 Adobe Systems Incorporated Searching using specific attributes found in images

Also Published As

Publication number Publication date
CN110945505A (en) 2020-03-31
KR20190011180A (en) 2019-02-01
CN110945505B (en) 2023-09-05

Similar Documents

Publication Publication Date Title
KR102615597B1 (en) Electronic device and Method for controlling the electronic device
KR102444932B1 (en) Electronic device and Method for controlling the electronic device
US11470385B2 (en) Method and apparatus for filtering video
US11042728B2 (en) Electronic apparatus for recognition of a user and operation method thereof
KR102359391B1 (en) method and device for adjusting an image
KR102473447B1 (en) Electronic device and Method for controlling the electronic device thereof
KR20240006713A (en) Electronic device and Method for changing Chatbot
KR20220020296A (en) method and device for adjusting an image
US20190042574A1 (en) Electronic device and method for controlling the electronic device
KR20180055708A (en) Device and method for image processing
KR102617387B1 (en) Electronic device and method for controlling the electronic device thereof
US20210217409A1 (en) Electronic device and control method therefor
US11481551B2 (en) Device and method for providing recommended words for character input
US20190228294A1 (en) Method and system for processing neural network model using plurality of electronic devices
US11327320B2 (en) Electronic device and method of controlling the same
KR102469717B1 (en) Electronic device and method for controlling the electronic device thereof
EP3545685B1 (en) Method and apparatus for filtering video
KR102396794B1 (en) Electronic device and Method for controlling the electronic device thereof

Legal Events

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