KR102804046B1 - Electronic device and method for controlling thereof - Google Patents
Electronic device and method for controlling thereof Download PDFInfo
- Publication number
- KR102804046B1 KR102804046B1 KR1020160107179A KR20160107179A KR102804046B1 KR 102804046 B1 KR102804046 B1 KR 102804046B1 KR 1020160107179 A KR1020160107179 A KR 1020160107179A KR 20160107179 A KR20160107179 A KR 20160107179A KR 102804046 B1 KR102804046 B1 KR 102804046B1
- Authority
- KR
- South Korea
- Prior art keywords
- electronic device
- keyword
- text messages
- server
- information
- Prior art date
- Legal status (The legal status 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 status listed.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/3331—Query processing
- G06F16/334—Query execution
- G06F16/3344—Query execution using natural language analysis
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/3331—Query processing
- G06F16/3332—Query translation
- G06F16/3334—Selection or weighting of terms from queries, including natural language queries
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/004—Artificial life, i.e. computing arrangements simulating life
- G06N3/006—Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/30—Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
- G06F16/33—Querying
- G06F16/332—Query formulation
- G06F16/3329—Natural language query formulation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/9032—Query formulation
- G06F16/90332—Natural language query formulation or dialogue systems
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/40—Processing or translation of natural language
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N20/00—Machine learning
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Mathematical Physics (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Computational Linguistics (AREA)
- Software Systems (AREA)
- Computing Systems (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Computer Vision & Pattern Recognition (AREA)
- General Health & Medical Sciences (AREA)
- Health & Medical Sciences (AREA)
- Human Computer Interaction (AREA)
- Life Sciences & Earth Sciences (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Molecular Biology (AREA)
- User Interface Of Digital Computer (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Telephone Function (AREA)
Abstract
본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법은, 복수 개의 텍스트 메시지를 획득하는 동작, 상기 복수 개의 텍스트 메시지 각각을 분석하여, 상기 복수 개의 텍스트 메시지에 대응하는 키워드를 획득하는 동작, 상기 키워드를 포함한 쿼리를 송신하는 동작 및 상기 키워드 분석 결과를 수신하여, 상기 수신된 키워드 분석 결과에 대응하는 동작을 수행하는 동작을 포함할 수 있다.A method for controlling an electronic device according to various embodiments of the present invention may include an operation of obtaining a plurality of text messages, an operation of analyzing each of the plurality of text messages to obtain keywords corresponding to the plurality of text messages, an operation of transmitting a query including the keywords, and an operation of receiving a result of the keyword analysis and performing an operation corresponding to the received result of the keyword analysis.
Description
본 발명은 전자 장치 및 그 제어 방법에 관한 것으로, 더욱 상세하게는 획득된 텍스트를 처리하는 전자 장치 및 그 제어 방법에 관한 것이다.The present invention relates to an electronic device and a method for controlling the same, and more particularly, to an electronic device for processing acquired text and a method for controlling the same.
근자에 들어서, 사용자가 발화하는 음성 또는 사용자가 입력하는 텍스트를 분석하여, 사용자의 의도를 파악할 수 있는 프로그램 또는 알고리즘이 활발하게 개발되고 있다. 예를 들어, 종래의 프로그램 또는 알고리즘은 입력된 사용자의 음성을 텍스트로 변환할 수 있으며, 텍스트에 자연어 처리(Natural language process)를 수행할 수 있다. 자연어 처리는, 사람 언어의 이해, 생성 및 분석을 다루는 인공 지능 기술일 수 있으며, 텍스트의 구성 요소별 역할 등을 파악할 수 있다. 아울러, 별도의 사용자 의도 분석 알고리즘은 자연어 처리 결과를 분석함에 따라서, 텍스트에 포함된 자연어 분석을 수행할 수 있다. 종래의 전자 장치는, 예를 들어 하나의 문장으로 구분된 텍스트를 분석하여, 사용자의 의도를 파악하고, 파악된 사용자 의도에 대응되는 동작을 수행할 수 있다. 다만, 종래의 전자 장치는, 하나의 문장으로 구분된 텍스트 내의 명확한 지시 대상을 포함한 경우에만, 사용자 의도를 분석할 수 있으며, 이에 따라 사용자의 정확한 의도를 파악하는 것이 어려운 문제점이 존재한다.Recently, programs or algorithms that can analyze the user's speech or input text to determine the user's intention have been actively developed. For example, conventional programs or algorithms can convert the user's input speech into text and perform natural language processing on the text. Natural language processing can be an artificial intelligence technology that deals with understanding, generating, and analyzing human language, and can determine the roles of each component of the text. In addition, a separate user intention analysis algorithm can perform natural language analysis included in the text by analyzing the result of natural language processing. Conventional electronic devices can analyze text divided into one sentence, for example, to determine the user's intention and perform an action corresponding to the determined user intention. However, conventional electronic devices can analyze the user's intention only when a clear referential target is included in the text divided into one sentence, and thus there is a problem that it is difficult to determine the user's exact intention.
본 발명은 상술한 문제점 또는 다른 문제점을 해결하기 위하여 안출된 것으로, 본 발명의 다양한 실시예는 복수 개의 텍스트를 분석하여 사용자 의도를 보다 명확히 파악하여, 이에 대응하는 동작을 수행할 수 있는 전자 장치 및 그 제어 방법을 제공할 수 있다.The present invention has been made to solve the above-described problems or other problems, and various embodiments of the present invention can provide an electronic device and a control method thereof capable of analyzing a plurality of texts to more clearly understand a user's intention and performing an operation corresponding thereto.
본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법은, 복수 개의 텍스트 메시지를 획득하는 동작; 상기 복수 개의 텍스트 메시지 각각을 분석하여, 상기 복수 개의 텍스트 메시지에 대응하는 키워드를 획득하는 동작; 상기 키워드를 포함한 쿼리를 송신하는 동작; 및 상기 키워드 분석 결과를 수신하여, 상기 수신된 키워드 분석 결과에 대응하는 동작을 수행하는 동작을 포함할 수 있다.A method for controlling an electronic device according to various embodiments of the present invention may include: an operation of obtaining a plurality of text messages; an operation of analyzing each of the plurality of text messages to obtain keywords corresponding to the plurality of text messages; an operation of transmitting a query including the keywords; and an operation of receiving a result of the keyword analysis and performing an operation corresponding to the received result of the keyword analysis.
본 발명의 다양한 실시예에 따른 전자 장치는, 통신 모듈; 상기 통신 모듈에 전기적으로 연결되는 프로세서; 및 상기 프로세서에 전기적으로 연결되는 메모리를 포함하고, 상기 메모리는, 실행시에 상기 프로세서가, 복수 개의 텍스트 메시지를 획득하고, 상기 복수 개의 텍스트 메시지 각각을 분석하여, 상기 복수 개의 텍스트 메시지에 대응하는 키워드를 획득하고, 상기 키워드를 포함한 쿼리를 상기 통신 모듈을 이용하여 송신하고, 상기 키워드 분석 결과를 수신하여, 상기 수신된 키워드 분석 결과에 대응하는 동작을 수행하는 인스트럭션을 저장할 수 있다.An electronic device according to various embodiments of the present invention includes: a communication module; a processor electrically connected to the communication module; and a memory electrically connected to the processor, wherein the memory may store instructions that, when executed, cause the processor to obtain a plurality of text messages, analyze each of the plurality of text messages to obtain keywords corresponding to the plurality of text messages, transmit a query including the keywords using the communication module, receive a result of the keyword analysis, and perform an operation corresponding to the received result of the keyword analysis.
본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법은, 상기 전자 장치에서 실행되는 채팅 어플리케이션의 실행 화면을 상기 디스플레이부에 표시하는 동작; 통신부를 통해 다른 전자 장치로부터 수신되는 복수 개의 텍스트 메시지 및 상기 전자 장치의 입력부를 통해 입력되는 복수 개의 텍스트 메시지를 상기 실행 화면에 표시하는 동작; 상기 화면에 표시되는 복수 개의 텍스트 메시지중 적어도 하나에 기초하여 정보를 제공 할 수 있는 외부 장치를 결정하는 동작; 상기 결정된 외부 장치로부터 정보를 수신하는 동작; 및 상기 수신된 정보를 상기 디스플레이부에 표시하는 동작;을 포함할 수 있다. 상기 실행 화면에 표시되는 복수 개의 텍스트 메시지 및 상기 수신된 정보는 시간 순으로 정렬되어 상기 실행 화면에 표시될 수 있다. 상기 실행 화면에는, 사용자 입력을 수신할 수 있는 UI 엘리먼트가 표시될 수 있다.A method for controlling an electronic device according to various embodiments of the present invention may include: displaying an execution screen of a chat application executed in the electronic device on the display unit; displaying a plurality of text messages received from another electronic device through a communication unit and a plurality of text messages input through an input unit of the electronic device on the execution screen; determining an external device capable of providing information based on at least one of the plurality of text messages displayed on the screen; receiving information from the determined external device; and displaying the received information on the display unit. The plurality of text messages displayed on the execution screen and the received information may be arranged in chronological order and displayed on the execution screen. A UI element capable of receiving a user input may be displayed on the execution screen.
본 발명의 다양한 실시예에 따라서, 복수 개의 텍스트를 분석하여 사용자 또는 복수 사용자의 의도를 보다 명확히 파악하여, 이에 대응하는 동작을 수행할 수 있는 전자 장치 및 그 제어 방법이 제공될 수 있다. 이에 따라, 복수 사용자 간의 대화 등의 복수 개의 텍스트가 발생하는 상황에서, 복수 사용자의 의도가 보다 명확히 파악될 수 있다. 또한, 한 명의 사용자가 시간의 간격을 가지고 복수 개의 텍스트를 발화 또는 입력한 경우에도, 사용자의 의도가 명확히 파악될 수 있다.According to various embodiments of the present invention, an electronic device and a control method thereof can be provided that analyzes multiple texts to more clearly identify the intention of a user or multiple users and perform an action corresponding thereto. Accordingly, in a situation where multiple texts occur, such as a conversation between multiple users, the intention of the multiple users can be more clearly identified. In addition, even when one user speaks or inputs multiple texts at intervals of time, the user's intention can be clearly identified.
도 1은 본 발명의 다양한 실시예에 따른 전자 장치 및 네트워크의 블록도를 도시한다.
도 2는 다양한 실시예에 따른 전자 장치의 블록도이다.
도 3은 다양한 실시예에 따른 프로그램 모듈의 블록도이다.
도 4는 본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도를 도시한다.
도 5a 및 5b는 본 발명의 다양한 실시예에 따른 전자 장치의 개념도를 도시한다.
도 6은 본 발명의 다양한 실시예에 따른 텍스트 메시지 획득을 설명하기 위한 개념도를 도시한다.
도 7a 및 7b는 본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도들을 도시한다.
도 8a는 본 발명의 다양한 실시예에 따른 전자 장치의 자연어 분석을 설명하기 위한 개념도를 도시한다.
도 8b는 본 발명의 다양한 실시예에 따른 템플릿을 설명하기 위한 개념도를 도시한다.
도 8c는 본 발명의 다양한 실시예에 따른 사용자 의도별 패턴에 대하여 머신 러닝 또는 딥 러닝 알고리즘을 적용한 결과를 도시한다.
도 9는 본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도를 도시한다.
도 10a는 본 발명의 다양한 실시예에 의한 전자 장치의 개념도를 도시한다.
도 10b는 본 발명의 다양한 실시예에 의한 키워드 생성을 설명하기 위한 개념도를 도시한다.
도 10c는 본 발명의 다양한 실시예에 의한 전자 장치의 개념도를 도시한다.
도 10d는 본 발명의 다양한 실시예에 의한 키워드 생성 과정을 설명하기 위한 개념도를 도시한다.
도 11은 본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도를 도시한다.
도 12a 및 12b는 본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도를 도시한다.
도 13은 본 발명의 다양한 실시예에 따른 전자 장치의 개념도를 도시한다.
도 14는 본 발명의 다양한 실시예에 따른 수신자 서버를 설명하기 위한 개념도를 도시한다.
도 15는 본 발명의 다양한 실시예에 의한 전자 장치의 제어 방법을 설명하기 위한 흐름도를 도시한다.
도 16a 내지 16c는 본 발명의 다양한 실시예에 따른 추가 정보를 더 이용한 키워드 생성을 설명하기 위한 흐름도를 도시한다.
도 17a 내지 17d는 본 발명의 다양한 실시예에 따른 추가 정보를 더 이용한 키워드 생성을 설명하기 위한 개념도를 도시한다.
도 18은 본 발명의 다양한 실시예에 따른 IoT(internet of things) 환경에서의 전자 장치의 동작을 설명하기 위한 개념도를 도시한다.
도 19는 본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도를 도시한다.
도 20은 본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도를 도시한다.
도 21a 및 21b는 본 발명의 다양한 실시예에 따른 단일 사용자로부터의 사용자 음성을 처리하는 과정을 설명하기 위한 개념도를 도시한다.
도 22는 본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법을 설명하는 흐름도를 도시한다.
도 23은 본 발명의 다양한 실시예에 따른 전자 장치의 동작을 설명하기 위한 개념도를 도시한다.
도 24는 본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법을 설명하는 흐름도를 도시한다.
도 25a 내지 도 25c 본 발명의 다양한 실시예에 따른 전자장치에서 댁내 IoT 디바이스를 호출하여 통신하는 예를 도시한다. FIG. 1 illustrates a block diagram of an electronic device and a network according to various embodiments of the present invention.
FIG. 2 is a block diagram of an electronic device according to various embodiments.
FIG. 3 is a block diagram of a program module according to various embodiments.
FIG. 4 illustrates a flowchart for explaining a method of controlling an electronic device according to various embodiments of the present invention.
FIGS. 5a and 5b illustrate conceptual diagrams of electronic devices according to various embodiments of the present invention.
FIG. 6 illustrates a conceptual diagram for explaining text message acquisition according to various embodiments of the present invention.
FIGS. 7A and 7B illustrate flowcharts for explaining a method of controlling an electronic device according to various embodiments of the present invention.
FIG. 8a illustrates a conceptual diagram for explaining natural language analysis of an electronic device according to various embodiments of the present invention.
FIG. 8b illustrates a conceptual diagram for explaining a template according to various embodiments of the present invention.
FIG. 8c illustrates the results of applying a machine learning or deep learning algorithm to patterns based on user intent according to various embodiments of the present invention.
FIG. 9 illustrates a flowchart for explaining a method of controlling an electronic device according to various embodiments of the present invention.
FIG. 10a illustrates a conceptual diagram of an electronic device according to various embodiments of the present invention.
FIG. 10b illustrates a conceptual diagram for explaining keyword generation according to various embodiments of the present invention.
FIG. 10c illustrates a conceptual diagram of an electronic device according to various embodiments of the present invention.
FIG. 10d illustrates a conceptual diagram for explaining a keyword generation process according to various embodiments of the present invention.
FIG. 11 illustrates a flowchart for explaining a method of controlling an electronic device according to various embodiments of the present invention.
FIGS. 12a and 12b illustrate flowcharts for explaining a method of controlling an electronic device according to various embodiments of the present invention.
FIG. 13 illustrates a conceptual diagram of an electronic device according to various embodiments of the present invention.
FIG. 14 illustrates a conceptual diagram for explaining a receiver server according to various embodiments of the present invention.
FIG. 15 illustrates a flowchart for explaining a method of controlling an electronic device according to various embodiments of the present invention.
FIGS. 16A to 16C illustrate flowcharts for explaining keyword generation using additional information according to various embodiments of the present invention.
FIGS. 17A to 17D illustrate conceptual diagrams for explaining keyword generation using additional information according to various embodiments of the present invention.
FIG. 18 illustrates a conceptual diagram for explaining the operation of an electronic device in an IoT (internet of things) environment according to various embodiments of the present invention.
FIG. 19 illustrates a flowchart for explaining a method of controlling an electronic device according to various embodiments of the present invention.
FIG. 20 illustrates a flowchart for explaining a method of controlling an electronic device according to various embodiments of the present invention.
FIGS. 21A and 21B illustrate conceptual diagrams for explaining a process of processing user voice from a single user according to various embodiments of the present invention.
FIG. 22 illustrates a flowchart describing a method of controlling an electronic device according to various embodiments of the present invention.
FIG. 23 illustrates a conceptual diagram for explaining the operation of an electronic device according to various embodiments of the present invention.
FIG. 24 illustrates a flowchart describing a method of controlling an electronic device according to various embodiments of the present invention.
FIGS. 25A to 25C illustrate examples of calling and communicating with an in-home IoT device in an electronic device according to various embodiments of the present invention.
이하, 본 문서의 다양한 실시예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 문서에 기재된 기술을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 문서의 실시예의 다양한 변경(modifications), 균등물(equivalents), 및/또는 대체물(alternatives)을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다.Hereinafter, various embodiments of the present document will be described with reference to the attached drawings. However, it should be understood that the technology described in this document is not limited to specific embodiments, but includes various modifications, equivalents, and/or alternatives of the embodiments of the present document. In connection with the description of the drawings, similar reference numerals may be used for similar components.
본 문서에서, "가진다," "가질 수 있다," "포함한다," 또는 "포함할 수 있다" 등의 표현은 해당 특징(예: 수치, 기능, 동작, 또는 부품 등의 구성요소)의 존재를 가리키며, 추가적인 특징의 존재를 배제하지 않는다.In this document, the expressions "have," "can have," "include," or "may include" indicate the presence of a given feature (e.g., a numerical value, function, operation, or component such as a part), but do 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 document, the expressions "A or B," "at least one of A and/or B," or "one or more of A or/and B" can include all possible combinations of the listed items. For example, "A or B," "at least one of A and B," or "at least one of A or B" can all refer to (1) including at least one A, (2) including at least one B, or (3) including both at least one A and at least one B.
본 문서에서 사용된 "제 1," "제 2," "첫째," 또는 "둘째,"등의 표현들은 다양한 구성요소들을, 순서 및/또는 중요도에 상관없이 수식할 수 있고, 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 뿐 해당 구성요소들을 한정하지 않는다. 예를 들면, 제 1 사용자 기기와 제 2 사용자 기기는, 순서 또는 중요도와 무관하게, 서로 다른 사용자 기기를 나타낼 수 있다. 예를 들면, 본 문서에 기재된 권리 범위를 벗어나지 않으면서 제 1 구성요소는 제 2 구성요소로 명명될 수 있고, 유사하게 제 2 구성요소도 제 1 구성요소로 바꾸어 명명될 수 있다.The expressions "first," "second," "first," or "second," etc., used in this document can describe various components, regardless of order and/or importance, and are only used to distinguish one component from another, but do not limit the components. For example, a first user device and a second user device can represent different user devices, regardless of order or importance. For example, without departing from the scope of the rights set forth in this document, a first component can be referred to as a second component, and similarly, a second component can also be referred to as a first component.
어떤 구성요소(예: 제 1 구성요소)가 다른 구성요소(예: 제 2 구성요소)에 "(기능적으로 또는 통신적으로) 연결되어((operatively or communicatively) coupled with/to)" 있다거나 "접속되어(connected to)" 있다고 언급된 때에는, 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로 연결되거나, 다른 구성요소(예: 제 3 구성요소)를 통하여 연결될 수 있다고 이해되어야 할 것이다. 반면에, 어떤 구성요소(예: 제 1 구성요소)가 다른 구성요소(예: 제 2 구성요소)에 "직접 연결되어" 있다거나 "직접 접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소와 상기 다른 구성요소 사이에 다른 구성요소(예: 제 3 구성요소)가 존재하지 않는 것으로 이해될 수 있다.When it is stated that a component (e.g., a first component) is "(operatively or communicatively) coupled with/to" or "connected to" another component (e.g., a second component), it should be understood that the component can be directly coupled to the other component, or can be connected via another component (e.g., a third component). On the other hand, when it is stated that a component (e.g., a first component) is "directly coupled to" or "directly connected" to another component (e.g., a second component), it should be understood that no other component (e.g., a third component) exists between the component and the other component.
본 문서에서 사용된 표현 "~하도록 구성된(또는 설정된)(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", as used herein, can be used interchangeably with, for example, "suitable for," "having the capacity to," "designed to," "adapted to," "made to," or "capable of." The term "configured to" does not necessarily mean something is "specifically designed to" in terms of hardware. Instead, in some contexts, the expression "a device configured to" can mean that the device is "capable of" doing something in conjunction with other devices or components. For example, the phrase "a processor configured to perform A, B, and C" can mean a dedicated processor (e.g., an embedded processor) for performing the operations, or a generic-purpose processor (e.g., a CPU or application processor) that can perform the operations by executing one or more software programs stored in a memory device.
본 문서에서 사용된 용어들은 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 다른 실시예의 범위를 한정하려는 의도가 아닐 수 있다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함할 수 있다. 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 용어들은 본 문서에 기재된 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가질 수 있다. 본 문서에 사용된 용어들 중 일반적인 사전에 정의된 용어들은, 관련 기술의 문맥상 가지는 의미와 동일 또는 유사한 의미로 해석될 수 있으며, 본 문서에서 명백하게 정의되지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다. 경우에 따라서, 본 문서에서 정의된 용어일지라도 본 문서의 실시예들을 배제하도록 해석될 수 없다.The terms used in this document are only used to describe specific embodiments and may not be intended to limit the scope of other embodiments. The singular expression may include the plural expression unless the context clearly indicates otherwise. The terms used herein, including technical or scientific terms, may have the same meaning as commonly understood by a person of ordinary skill in the art described in this document. Among the terms used in this document, terms defined in general dictionaries may be interpreted as having the same or similar meaning in the context of the related technology, and shall not be interpreted in an ideal or excessively formal meaning unless explicitly defined in this document. In some cases, even if a term is defined in this document, it cannot be interpreted to exclude the embodiments of this document.
본 문서의 다양한 실시예들에 따른 전자 장치는, 예를 들면, 스마트폰(smartphone), 태블릿 PC(tablet personal computer), 이동 전화기(mobile phone), 영상 전화기, 전자책 리더기(e-book reader), 데스크탑 PC(desktop personal computer), 랩탑 PC(laptop personal computer), 넷북 컴퓨터(netbook computer), 워크스테이션(workstation), 서버, PDA(personal digital assistant), PMP(portable multimedia player), MP3 플레이어, 모바일 의료기기, 카메라(camera), 또는 웨어러블 장치(wearable device) 중 적어도 하나를 포함할 수 있다. 다양한 실시예에 따르면, 웨어러블 장치는 액세서리형(예: 시계, 반지, 팔찌, 발찌, 목걸이, 안경, 콘택트 렌즈, 또는 머리 착용형 장치(head-mounted-device(HMD)), 직물 또는 의류 일체형(예: 전자 의복), 신체 부착형(예: 스킨 패드(skin pad) 또는 문신), 또는 생체 이식형(예: implantable circuit) 중 적어도 하나를 포함할 수 있다. 한편, 전자 장치는 무선으로 무선 전력 송신기로부터 전력을 수신할 수도 있으며, 이에 따라 전자 장치는 무선 전력 수신기로 명명될 수 있다.An electronic device according to various embodiments of the present document may include, for example, at least one of a smartphone, a tablet personal computer, a mobile phone, a video phone, an e-book reader, a desktop personal computer, a laptop personal computer, a netbook computer, a workstation, a server, a personal digital assistant (PDA), a portable multimedia player (PMP), an MP3 player, a mobile medical device, a camera, or a wearable device. According to various embodiments, the wearable device may include at least one of an accessory type (e.g., a watch, a ring, a bracelet, an anklet, a necklace, glasses, a contact lens, or a head-mounted device (HMD)), a fabric or clothing-integrated type (e.g., an electronic garment), a body-attached type (e.g., a skin pad or a tattoo), or a bio-implantable type (e.g., an implantable circuit). Meanwhile, the electronic device may also receive power wirelessly from a wireless power transmitter, and thus, the electronic device may be referred to as a wireless power receiver.
어떤 실시예들에서, 전자 장치는 가전 제품(home appliance)일 수 있다. 가전 제품은, 예를 들면, 텔레비전, DVD(digital video disk) 플레이어, 오디오, 냉장고, 에어컨, 청소기, 오븐, 전자레인지, 세탁기, 공기 청정기, 셋톱 박스(set-top box), 홈 오토매이션 컨트롤 패널(home automation control panel), 보안 컨트롤 패널(security control panel), TV 박스(예: 삼성 HomeSyncTM, 애플TVTM, 또는 구글 TVTM), 게임 콘솔(예: XboxTM, PlayStationTM), 전자 사전, 전자 키, 캠코더(camcorder), 또는 전자 액자 중 적어도 하나를 포함할 수 있다.In some embodiments, the electronic device may be a home appliance. The home appliance may include at least one of, for example, a television, a digital video disk (DVD) player, an audio, a refrigerator, an air conditioner, a vacuum cleaner, an oven, a microwave oven, a washing machine, an air purifier, a set-top box, a home automation control panel, a security control panel, a TV box (e.g., Samsung HomeSync TM , Apple TV TM , or Google TV TM ), a game console (e.g., Xbox TM , PlayStation TM ), an electronic dictionary, an electronic key, a camcorder, or an electronic picture frame.
다른 실시예에서, 전자 장치는, 각종 의료기기(예: 각종 휴대용 의료측정기기(혈당 측정기, 심박 측정기, 혈압 측정기, 또는 체온 측정기 등), MRA(magnetic resonance angiography), MRI(magnetic resonance imaging), CT(computed tomography), 촬영기, 또는 초음파기 등), 네비게이션(navigation) 장치, 위성 항법 시스템(GNSS(global navigation satellite system)), EDR(event data recorder), FDR(flight data recorder), 자동차 인포테인먼트(infotainment) 장치, 선박용 전자 장비(예: 선박용 항법 장치, 자이로 콤파스 등), 항공 전자기기(avionics), 보안 기기, 차량용 헤드 유닛(head unit), 산업용 또는 가정용 로봇, 금융 기관의 ATM(automatic teller's machine), 상점의 POS(point of sales), 또는 사물 인터넷 장치(internet of things)(예: 전구, 각종 센서, 전기 또는 가스 미터기, 스프링클러 장치, 화재경보기, 온도조절기(thermostat), 가로등, 토스터(toaster), 운동기구, 온수탱크, 히터, 보일러 등) 중 적어도 하나를 포함할 수 있다.In another embodiment, the electronic device may be any of various medical devices (e.g., various portable medical measuring devices (e.g., blood glucose meters, heart rate monitors, blood pressure monitors, or body temperature monitors), magnetic resonance angiography (MRA), magnetic resonance imaging (MRI), computed tomography (CT), a camera, or an ultrasound device), a navigation device, a global navigation satellite system (GNSS), an event data recorder (EDR), a flight data recorder (FDR), an automobile infotainment device, electronic equipment for ships (e.g., a navigation device for ships, a gyrocompass, etc.), avionics, a security device, a head unit for a vehicle, an industrial or household robot, an automatic teller's machine (ATM) of a financial institution, a point of sales (POS) of a store, or an internet of things device (e.g., a light bulb, various sensors, an electric or gas meter, a sprinkler device, a fire alarm, a thermostat, It may include at least one of the following: streetlight, toaster, exercise equipment, hot water tank, heater, boiler, etc.
어떤 실시예에 따르면, 전자 장치는 가구(furniture) 또는 건물/구조물의 일부, 전자 보드(electronic board), 전자 사인 수신 장치(electronic signature receiving device), 프로젝터(projector), 또는 각종 계측 기기(예: 수도, 전기, 가스, 또는 전파 계측 기기 등) 중 적어도 하나를 포함할 수 있다. 다양한 실시예에서, 전자 장치는 전술한 다양한 장치들 중 하나 또는 그 이상의 조합일 수 있다. 어떤 실시예에 따른 전자 장치는 플렉서블 전자 장치일 수 있다. 또한, 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않으며, 기술 발전에 따른 새로운 전자 장치를 포함할 수 있다.According to some embodiments, the electronic device may include at least one of a piece of furniture or a part of a building/structure, an electronic board, an electronic signature receiving device, a projector, or various measuring devices (e.g., a water, electricity, gas, or radio wave measuring device, etc.). In various embodiments, the electronic device may be a combination of one or more of the various devices described above. The electronic device according to some embodiments may be a flexible electronic device. In addition, the electronic device according to the embodiments of the present document is not limited to the devices described above, and may include new electronic devices according to technological advancement.
이하, 첨부 도면을 참조하여, 다양한 실시예에 따른 전자 장치가 설명된다. 본 문서에서, 사용자라는 용어는 전자 장치를 사용하는 사람 또는 전자 장치를 사용하는 장치(예: 인공지능 전자 장치)를 지칭할 수 있다. Hereinafter, electronic devices according to various embodiments are described with reference to the attached drawings. In this document, the term user may refer to a person using an electronic device or a device using an electronic device (e.g., an artificial intelligence electronic device).
도 1을 참조하여, 다양한 실시예에서의, 네트워크 환경(100) 내의 전자 장치(101)가 기재된다. 전자 장치(101)는 버스(110), 프로세서(120), 메모리(130), 입출력 인터페이스(150), 디스플레이(160), 및 통신 모듈(170)을 포함할 수 있다. 어떤 실시예에서는, 전자 장치(101)는, 구성요소들 중 적어도 하나를 생략하거나 다른 구성요소를 추가적으로 구비할 수 있다. Referring to FIG. 1, an electronic device (101) within a network environment (100) in various embodiments is described. The electronic device (101) may include a bus (110), a processor (120), a memory (130), an input/output interface (150), a display (160), and a communication module (170). In some embodiments, the electronic device (101) may omit at least one of the components or additionally include other components.
버스(110)는, 예를 들면, 구성요소들(110-170)을 서로 연결하고, 구성요소들 간의 통신(예: 제어 메시지 및/또는 데이터)을 전달하는 회로를 포함할 수 있다.The bus (110) may include, for example, circuitry that connects components (110-170) to each other and transmits communications (e.g., control messages and/or data) between the components.
프로세서(120)는, 중앙처리장치(central processing unit(CPU)), 어플리케이션 프로세서(application processor(AP)), 또는 커뮤니케이션 프로세서(communication processor(CP)) 중 하나 또는 그 이상을 포함할 수 있다. 프로세서(120)는, 예를 들면, 전자 장치(101)의 적어도 하나의 다른 구성요소들의 제어 및/또는 통신에 관한 연산이나 데이터 처리를 실행할 수 있다. The processor (120) may include one or more of a central processing unit (CPU), an application processor (AP), or a communication processor (CP). The processor (120) may, for example, perform calculations or data processing related to control and/or communication of at least one other component of the electronic device (101).
메모리(130)는, 휘발성 및/또는 비휘발성 메모리를 포함할 수 있다. 메모리(130)는, 예를 들면, 전자 장치(101)의 적어도 하나의 다른 구성요소에 관계된 명령 또는 데이터를 저장할 수 있다. 한 실시예에 따르면, 메모리(130)는 소프트웨어 및/또는 프로그램(140)을 저장할 수 있다. 프로그램(140)은, 예를 들면, 커널(141), 미들웨어(143), 어플리케이션 프로그래밍 인터페이스(application programming interface(API))(145), 및/또는 어플리케이션 프로그램(또는 "어플리케이션")(147) 등을 포함할 수 있다. 커널(141), 미들웨어(143), 또는 API(145)의 적어도 일부는, 운영 시스템(operating system(OS))으로 지칭될 수 있다.The memory (130) may include volatile and/or nonvolatile memory. The memory (130) may store, for example, instructions or data related to at least one other component of the electronic device (101). According to one embodiment, the memory (130) may store software and/or programs (140). The programs (140) may include, for example, a kernel (141), middleware (143), an application programming interface (API) (145), and/or an application program (or “application”) (147). At least a portion of the kernel (141), the middleware (143), or the API (145) may be referred to as an operating system (OS).
커널(141)은, 예를 들면, 다른 프로그램들(예: 미들웨어(143), API(145), 또는 어플리케이션 프로그램(147))에 구현된 동작 또는 기능을 실행하는 데 사용되는 시스템 리소스들(예: 버스(110), 프로세서(120), 또는 메모리(130) 등)을 제어 또는 관리할 수 있다. 또한, 커널(141)은 미들웨어(143), API(145), 또는 어플리케이션 프로그램(147)에서 전자 장치(101)의 개별 구성요소에 접근함으로써, 시스템 리소스들을 제어 또는 관리할 수 있는 인터페이스를 제공할 수 있다. The kernel (141) may control or manage system resources (e.g., a bus (110), a processor (120), or a memory (130)) used to execute operations or functions implemented in other programs (e.g., a middleware (143), an API (145), or an application program (147)). In addition, the kernel (141) may provide an interface that allows the middleware (143), the API (145), or the application program (147) to control or manage system resources by accessing individual components of the electronic device (101).
미들웨어(143)는, 예를 들면, API(145) 또는 어플리케이션 프로그램(147)이 커널(141)과 통신하여 데이터를 주고받을 수 있도록 중개 역할을 수행할 수 있다. Middleware (143) may act as an intermediary to enable, for example, an API (145) or an application program (147) to communicate with the kernel (141) and exchange data.
또한, 미들웨어(143)는 어플리케이션 프로그램(147)으로부터 수신된 하나 이상의 작업 요청들을 우선 순위에 따라 처리할 수 있다. 예를 들면, 미들웨어(143)는 어플리케이션 프로그램(147) 중 적어도 하나에 전자 장치(101)의 시스템 리소스(예: 버스(110), 프로세서(120), 또는 메모리(130) 등)를 사용할 수 있는 우선 순위를 부여할 수 있다. 예컨대, 미들웨어(143)는 상기 적어도 하나에 부여된 우선 순위에 따라 상기 하나 이상의 작업 요청들을 처리함으로써, 상기 하나 이상의 작업 요청들에 대한 스케쥴링 또는 로드 밸런싱 등을 수행할 수 있다.In addition, the middleware (143) can process one or more work requests received from the application program (147) according to priority. For example, the middleware (143) can assign a priority for using system resources (e.g., bus (110), processor (120), memory (130), etc.) of the electronic device (101) to at least one of the application programs (147). For example, the middleware (143) can perform scheduling or load balancing, etc. for the one or more work requests by processing the one or more work requests according to the priority assigned to the at least one of the work requests.
API(145)는, 예를 들면, 어플리케이션(147)이 커널(141) 또는 미들웨어(143)에서 제공되는 기능을 제어하기 위한 인터페이스로, 예를 들면, 파일 제어, 창 제어, 영상 처리, 또는 문자 제어 등을 위한 적어도 하나의 인터페이스 또는 함수(예: 명령어)를 포함할 수 있다. API (145) is, for example, an interface for an application (147) to control a function provided by the kernel (141) or middleware (143), and may include at least one interface or function (e.g., command) for, for example, file control, window control, image processing, or character control.
입출력 인터페이스(150)는, 예를 들면, 사용자 또는 다른 외부 기기로부터 입력된 명령 또는 데이터를 전자 장치(101)의 다른 구성요소(들)에 전달할 수 있는 인터페이스의 역할을 할 수 있다. 또한, 입출력 인터페이스(150)는 전자 장치(101)의 다른 구성요소(들)로부터 수신된 명령 또는 데이터를 사용자 또는 다른 외부 기기로 출력할 수 있다. The input/output interface (150) may serve as an interface that can transmit, for example, a command or data input from a user or another external device to other component(s) of the electronic device (101). In addition, the input/output interface (150) may output a command or data received from other component(s) of the electronic device (101) to the user or another external device.
디스플레이(160)는, 예를 들면, 액정 디스플레이(liquid crystal display(LCD)), 발광 다이오드(light-emitting diode(LED)) 디스플레이, 유기 발광 다이오드(organic light-emitting diode(OLED)) 디스플레이, 또는 마이크로 전자기계 시스템(microelectromechanical systems(MEMS)) 디스플레이, 또는 전자종이(electronic paper) 디스플레이를 포함할 수 있다. 디스플레이(160)는, 예를 들면, 사용자에게 각종 콘텐츠(예: 텍스트, 이미지, 비디오, 아이콘, 또는 심볼 등)을 표시할 수 있다. 디스플레이(160)는, 터치 스크린을 포함할 수 있으며, 예를 들면, 전자 펜 또는 사용자의 신체의 일부를 이용한 터치, 제스쳐, 근접, 또는 호버링 입력을 수신할 수 있다.The display (160) may include, for example, a liquid crystal display (LCD), a light-emitting diode (LED) display, an organic light-emitting diode (OLED) display, a microelectromechanical systems (MEMS) display, or an electronic paper display. The display (160) may, for example, display various contents (e.g., text, images, videos, icons, or symbols) to the user. The display (160) may include a touch screen and may receive, for example, a touch, gesture, proximity, or hovering input using an electronic pen or a part of the user's body.
통신 모듈(170)은, 예를 들면, 전자 장치(101)와 외부 장치(예: 제 1 외부 전자 장치(102), 제 2 외부 전자 장치(104), 또는 서버(106)) 간의 통신을 설정할 수 있다. 예를 들면, 통신 모듈(170)은 무선 통신 또는 유선 통신을 통해서 네트워크(162)에 연결되어 외부 장치(예: 제 2 외부 전자 장치(104) 또는 서버(106))와 통신할 수 있다.The communication module (170) can establish communication between, for example, the electronic device (101) and an external device (e.g., a first external electronic device (102), a second external electronic device (104), or a server (106)). For example, the communication module (170) can be connected to a network (162) via wireless communication or wired communication to communicate with an external device (e.g., a second external electronic device (104) or a server (106)).
무선 통신은, 예를 들면, 셀룰러 통신 프로토콜로서, 예를 들면, LTE(long-term evolution), LTE-A(LTE Advance), CDMA(code division multiple access), WCDMA(wideband CDMA), UMTS(universal mobile telecommunications system), WiBro(Wireless Broadband), 또는 GSM(Global System for Mobile Communications) 등 중 적어도 하나를 사용할 수 있다. 또한, 무선 통신은, 예를 들면, 근거리 통신(164)을 포함할 수 있다. 근거리 통신(164)은, 예를 들면, WiFi(wireless fidelity), 블루투스(Bluetooth), NFC(near field communication), 또는 GNSS(global navigation satellite system) 등 중 적어도 하나를 포함할 수 있다. GNSS는 사용 지역 또는 대역폭 등에 따라, 예를 들면, GPS(Global Positioning System), Glonass(Global Navigation Satellite System), Beidou Navigation Satellite System(이하 "Beidou") 또는 Galileo, the European global satellite-based navigation system 중 적어도 하나를 포함할 수 있다. 이하, 본 문서에서는, "GPS"는 "GNSS"와 혼용되어 사용(interchangeably used)될 수 있다. 유선 통신은, 예를 들면, USB(universal serial bus), HDMI(high definition multimedia interface), RS-232(recommended standard232), 또는 POTS(plain old telephone service) 등 중 적어도 하나를 포함할 수 있다. 네트워크(162)는 통신 네트워크(telecommunications network), 예를 들면, 컴퓨터 네트워크(computer network)(예: LAN 또는 WAN), 인터넷, 또는 전화 망(telephone network) 중 적어도 하나를 포함할 수 있다.The wireless communication may use, for example, a cellular communication protocol, such as at least one of LTE (long-term evolution), LTE-A (LTE Advance), CDMA (code division multiple access), WCDMA (wideband CDMA), UMTS (universal mobile telecommunications system), WiBro (Wireless Broadband), or GSM (Global System for Mobile Communications). In addition, the wireless communication may include, for example, short-range communication (164). The short-range communication (164) may include, for example, at least one of WiFi (wireless fidelity), Bluetooth, NFC (near field communication), or GNSS (global navigation satellite system). Depending on the usage area or bandwidth, the GNSS may include, for example, at least one of GPS (Global Positioning System), Glonass (Global Navigation Satellite System), Beidou Navigation Satellite System (hereinafter "Beidou"), or Galileo, the European global satellite-based navigation system. Hereinafter, in this document, "GPS" may be used interchangeably with "GNSS". The wired communication may include at least one of, for example, a universal serial bus (USB), a high definition multimedia interface (HDMI), a recommended standard232 (RS-232), or a plain old telephone service (POTS). The network (162) may include at least one of a telecommunications network, for example, a computer network (e.g., a LAN or WAN), the Internet, or a telephone network.
제 1 및 제 2 외부 전자 장치(102, 104) 각각은 전자 장치(101)와 동일한 또는 다른 종류의 장치일 수 있다. 한 실시예에 따르면, 서버(106)는 하나 또는 그 이상의 서버들의 그룹을 포함할 수 있다. 다양한 실시예에 따르면, 전자 장치(101)에서 실행되는 동작들의 전부 또는 일부는 다른 하나 또는 복수의 전자 장치(예: 전자 장치(102,104), 또는 서버(106)에서 실행될 수 있다. 한 실시예에 따르면, 전자 장치(101)가 어떤 기능이나 서비스를 자동으로 또는 요청에 의하여 수행해야 할 경우에, 전자 장치(101)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 그와 연관된 적어도 일부 기능을 다른 장치(예: 전자 장치(102, 104), 또는 서버(106))에게 요청할 수 있다. 다른 전자 장치(예: 전자 장치(102, 104), 또는 서버(106))는 요청된 기능 또는 추가 기능을 실행하고, 그 결과를 전자 장치(101)로 전달할 수 있다. 전자 장치(101)는 수신된 결과를 그대로 또는 추가적으로 처리하여 요청된 기능이나 서비스를 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.Each of the first and second external electronic devices (102, 104) may be the same or a different type of device as the electronic device (101). According to one embodiment, the server (106) may include a group of one or more servers. According to various embodiments, all or part of the operations executed in the electronic device (101) may be executed in another one or more electronic devices (e.g., the electronic device (102, 104), or the server (106). According to one embodiment, when the electronic device (101) is to perform a certain function or service automatically or upon request, the electronic device (101) may request at least some functions related thereto from another device (e.g., the electronic device (102, 104), or the server (106)) instead of executing the function or service by itself or in addition. The other electronic device (e.g., the electronic device (102, 104), or the server (106)) may execute the requested function or additional function and transmit the result to the electronic device (101). The electronic device (101) may process the received result as is or additionally to provide the requested function or service. For this purpose, for example, cloud computing, distributed computing, or client-server computing technology may be used.
본 발명의 다양한 실시예에서, 상기 메모리(130)는, 실행시에 상기 프로세서(120)가, 복수 개의 텍스트 메시지를 획득하고, 상기 복수 개의 텍스트 메시지 각각을 분석하여, 상기 복수 개의 텍스트 메시지에 대응하는 키워드를 획득하고, 상기 키워드를 포함한 쿼리를 상기 통신 모듈(170)을 이용하여 송신하고, 상기 키워드 분석 결과를 수신하여, 상기 수신된 키워드 분석 결과에 대응하는 동작을 수행하는 인스트럭션을 저장할 수 있다.In various embodiments of the present invention, the memory (130) may store instructions that, when executed, cause the processor (120) to obtain a plurality of text messages, analyze each of the plurality of text messages, obtain keywords corresponding to the plurality of text messages, transmit a query including the keywords using the communication module (170), receive the keyword analysis results, and perform an operation corresponding to the received keyword analysis results.
본 발명의 다양한 실시예에서, 상기 메모리(130)는, 실행시에 상기 프로세서(120)가, 키워드 분석을 수행하는 수신자와 관련된 수신자 정보를 획득하고, 상기 쿼리를 송신하는 동작은, 상기 키워드 및 상기 수신자 정보를 포함한 상기 쿼리를 상기 통신 모듈을 이용하여 송신하는 인스트럭션을 저장할 수 있고, 상기 키워드 분석 결과는, 상기 수신자 정보에 대응하는 전자 장치에 의하여 수행될 수 있다.In various embodiments of the present invention, the memory (130) may store instructions that, when executed, cause the processor (120) to obtain recipient information related to a recipient performing keyword analysis, and transmit the query including the keyword and the recipient information using the communication module, and the keyword analysis result may be performed by an electronic device corresponding to the recipient information.
본 발명의 다양한 실시예에서, 상기 메모리(130)는, 실행시에 상기 프로세서(120)가, 상기 복수 개의 텍스트 메시지 각각을 자연어 처리하고, 상기 복수 개의 텍스트 메시지 각각에 대한 자연어 처리 결과를 이용하여, 상기 키워드를 생성하는 인스트럭션을 저장할 수 있다.In various embodiments of the present invention, the memory (130) may store instructions that, when executed, cause the processor (120) to perform natural language processing on each of the plurality of text messages and generate the keywords using the natural language processing results for each of the plurality of text messages.
본 발명의 다양한 실시예에서, 상기 메모리(130)는, 실행시에 상기 프로세서(120)가, 기설정된 템플릿과, 상기 자연어 처리 결과를 비교하고, 상기 비교 결과에 기초하여, 상기 키워드를 생성하는 인스트럭션을 저장할 수 있다.In various embodiments of the present invention, the memory (130) may store instructions that, when executed, cause the processor (120) to compare a preset template with the natural language processing result and generate the keyword based on the comparison result.
본 발명의 다양한 실시예에서, 상기 메모리(130)는, 실행시에 상기 프로세서(120)가, 상기 자연어 처리 결과에 대하여 머신 러닝(machine learning) 또는 딥 러닝(deep learning) 알고리즘을 적용하고, 상기 적용 결과에 기초하여, 상기 복수 개의 텍스트 메시지 각각의 의도를 판단하고, 상기 복수 개의 텍스트 메시지 각각의 의도에 기초하여, 상기 키워드를 생성하는 인스트럭션을 저장할 수 있다.In various embodiments of the present invention, the memory (130) may store instructions that, when executed, cause the processor (120) to apply a machine learning or deep learning algorithm to the natural language processing result, determine the intent of each of the plurality of text messages based on the application result, and generate the keyword based on the intent of each of the plurality of text messages.
본 발명의 다양한 실시예에서, 상기 메모리(130)는, 실행시에 상기 프로세서(120)가, 제 1 기간 동안에 복수 개의 제 1 텍스트 메시지를 획득하고, 제 2 기간 동안에 복수 개의 제 2 텍스트 메시지를 획득하는 인스트럭션을 저장할 수 있다.In various embodiments of the present invention, the memory (130) may store instructions that, when executed, cause the processor (120) to obtain a plurality of first text messages during a first period and to obtain a plurality of second text messages during a second period.
본 발명의 다양한 실시예에서, 상기 메모리(130)는, 실행시에 상기 프로세서(120)가, 상기 복수 개의 제 1 텍스트 메시지에 대응하는 제 1 키워드를 생성하고, 상기 복수 개의 제 2 텍스트 메시지에 대응하는 제 2 키워드를 생성하는 인스트럭션을 저장할 수 있다.In various embodiments of the present invention, the memory (130) may store instructions that, when executed, cause the processor (120) to generate a first keyword corresponding to the plurality of first text messages and to generate a second keyword corresponding to the plurality of second text messages.
본 발명의 다양한 실시예에서, 상기 메모리(130)는, 실행시에 상기 프로세서(120)가, 상기 복수 개의 제 2 텍스트 메시지의 분석 결과와, 상기 제 1 키워드 및 상기 복수 개의 제 1 텍스트 메시지 중 적어도 하나를 이용하여, 상기 제 2 키워드를 생성하는 인스트럭션을 저장할 수 있다.In various embodiments of the present invention, the memory (130) may store instructions that, when executed, cause the processor (120) to generate the second keyword using the analysis results of the plurality of second text messages and at least one of the first keyword and the plurality of first text messages.
본 발명의 다양한 실시예에서, 상기 메모리(130)는, 실행시에 상기 프로세서(120)가, 추가 정보를 획득하고, 상기 복수 개의 텍스트 메시지의 분석 결과 및 상기 추가 정보를 이용하여, 상기 키워드를 생성하는 인스트럭션을 저장할 수 있다.In various embodiments of the present invention, the memory (130) may store instructions that, when executed, cause the processor (120) to obtain additional information and generate the keywords using the analysis results of the plurality of text messages and the additional information.
본 발명의 다양한 실시예에서, 상기 메모리(130)는, 실행시에 상기 프로세서(120)가, 상기 복수 개의 텍스트 메시지의 분석 결과와 연관된 추가 정보를 획득하거나 또는 상기 복수 개의 텍스트 메시지로부터 독립적인 추가 정보를 획득하는 인스트럭션을 저장할 수 있다.In various embodiments of the present invention, the memory (130) may store instructions that, when executed, cause the processor (120) to obtain additional information associated with the analysis results of the plurality of text messages or to obtain additional information independent from the plurality of text messages.
본 발명의 다양한 실시예에서, 전자 장치(101)는 복수 개의 사용자 음성을 획득하는 마이크(미도시)를 더 포함할 수 있으며, 상기 메모리(130)는, 실행시에 상기 프로세서(120)가, 상기 마이크에서 획득된 상기 복수 개의 사용자 음성 각각을 변환하여, 상기 복수 개의 텍스트 메시지를 획득하는 인스트럭션을 저장할 수 있다.In various embodiments of the present invention, the electronic device (101) may further include a microphone (not shown) for acquiring a plurality of user voices, and the memory (130) may store instructions that, when executed, cause the processor (120) to convert each of the plurality of user voices acquired from the microphone to acquire the plurality of text messages.
본 발명의 다양한 실시예에서, 디스플레이(160)는 상기 전자 장치에서 실행되는 채팅 어플리케이션의 실행 화면을 표시할 수 있다. 상기 메모리(130)는, 실행시에 상기 프로세서(120)가, 상기 전자 장치(101)로 입력되거나 또는 다른 전자 장치로부터 수신되는 복수 개의 텍스트 메시지를 상기 채팅 어플리케이션의 실행 화면에 표시하도록 제어하고, 상기 복수 개의 텍스트 메시지에 대한 분석 요청을 수신하고, 상기 분석 요청이 수신되면, 상기 복수 개의 텍스트 메시지에 대응하는 키워드를, 상기 통신 모듈(170)을 이용하여 송신하도록 제어하고, 상기 키워드에 대한 분석 결과를 수신하여, 상기 채팅 어플리케이션 창에 상기 수신된 키워드에 대한 분석 결과를 표시하도록 제어하는 인스트럭션을 저장할 수 있다.In various embodiments of the present invention, the display (160) may display an execution screen of a chat application running on the electronic device. The memory (130) may store instructions for controlling the processor (120) to display, when running, a plurality of text messages input to the electronic device (101) or received from another electronic device, on the execution screen of the chat application, receiving an analysis request for the plurality of text messages, controlling the communication module (170) to transmit keywords corresponding to the plurality of text messages when the analysis request is received, receiving an analysis result for the keywords, and controlling the display of the analysis result for the received keywords on the chat application window.
본 발명의 다양한 실시예에서, 상기 메모리(130)는, 실행시에 상기 프로세서(120)가, 복수 개의 텍스트 메시지를 획득하고, 상기 복수 개의 텍스트 메시지 각각을 분석하여, 상기 복수 개의 텍스트 메시지에 대응하는 키워드를 획득하고, 상기 키워드에 대응하는 동작을 수행하는 인스트럭션을 저장할 수 있다.In various embodiments of the present invention, the memory (130) may store instructions that, when executed, cause the processor (120) to obtain a plurality of text messages, analyze each of the plurality of text messages, obtain keywords corresponding to the plurality of text messages, and perform operations corresponding to the keywords.
도 2는 다양한 실시예에 따른 전자 장치(201)의 블록도이다. 전자 장치(201)는, 예를 들면, 도 1에 도시된 전자 장치(101)의 전체 또는 일부를 포함할 수 있다. 전자 장치(201)는 하나 이상의 프로세서(예: AP(application processor))(210), 통신 모듈(220), 가입자 식별 모듈(224), 메모리(230), 센서 모듈(240), 입력 장치(250), 디스플레이(260), 인터페이스(270), 오디오 모듈(280), 카메라 모듈(291), 전력 관리 모듈(295), 배터리(296), 인디케이터(297), 및 모터(298) 를 포함할 수 있다.FIG. 2 is a block diagram of an electronic device (201) according to various embodiments. The electronic device (201) may include, for example, all or part of the electronic device (101) illustrated in FIG. 1. The electronic device (201) may include one or more processors (e.g., an application processor (AP)) (210), a communication module (220), a subscriber identification module (224), a memory (230), a sensor module (240), an input device (250), a display (260), an interface (270), an audio module (280), a camera module (291), a power management module (295), a battery (296), an indicator (297), and a motor (298).
프로세서(210)는, 예를 들면, 운영 체제 또는 응용 프로그램을 구동하여 프로세서(210)에 연결된 다수의 하드웨어 또는 소프트웨어 구성요소들을 제어할 수 있고, 각종 데이터 처리 및 연산을 수행할 수 있다. 프로세서(210)는, 예를 들면, SoC(system on chip) 로 구현될 수 있다. 한 실시예에 따르면, 프로세서(210)는 GPU(graphic processing unit) 및/또는 이미지 신호 프로세서(image signal processor)를 더 포함할 수 있다. 프로세서(210)는 도 2에 도시된 구성요소들 중 적어도 일부(예: 셀룰러 모듈(221))를 포함할 수도 있다. 프로세서(210) 는 다른 구성요소들(예: 비휘발성 메모리) 중 적어도 하나로부터 수신된 명령 또는 데이터를 휘발성 메모리에 로드(load)하여 처리하고, 다양한 데이터를 비휘발성 메모리에 저장(store)할 수 있다.The processor (210) may control a plurality of hardware or software components connected to the processor (210) by, for example, driving an operating system or an application program, and may perform various data processing and calculations. The processor (210) may be implemented as, for example, a system on chip (SoC). According to one embodiment, the processor (210) may further include a GPU (graphic processing unit) and/or an image signal processor. The processor (210) may also include at least some of the components illustrated in FIG. 2 (e.g., a cellular module (221)). The processor (210) may load and process commands or data received from at least one of the other components (e.g., a nonvolatile memory) into the volatile memory, and store various data in the nonvolatile memory.
통신 모듈(220)은, 도 1의 통신 모듈(170)과 동일 또는 유사한 구성을 가질 수 있다. 통신 모듈(220)은, 예를 들면, 셀룰러 모듈(221), WiFi 모듈(223), 블루투스 모듈(225), GNSS 모듈(227)(예: GPS 모듈, Glonass 모듈, Beidou 모듈, 또는 Galileo 모듈), NFC 모듈(228) 및 RF(radio frequency) 모듈(229)를 포함할 수 있다.The communication module (220) may have the same or similar configuration as the communication module (170) of FIG. 1. The communication module (220) may include, for example, a cellular module (221), a WiFi module (223), a Bluetooth module (225), a GNSS module (227) (e.g., a GPS module, a Glonass module, a Beidou module, or a Galileo module), an NFC module (228), and an RF (radio frequency) module (229).
셀룰러 모듈(221)은, 예를 들면, 통신망을 통해서 음성 통화, 영상 통화, 문자 서비스, 또는 인터넷 서비스 등을 제공할 수 있다. 한 실시예에 따르면, 셀룰러 모듈(221)은 가입자 식별 모듈(예: SIM 카드)(224)을 이용하여 통신 네트워크 내에서 전자 장치(201)의 구별 및 인증을 수행할 수 있다. 한 실시예에 따르면, 셀룰러 모듈(221)은 프로세서(210)가 제공할 수 있는 기능 중 적어도 일부 기능을 수행할 수 있다. 한 실시예에 따르면, 셀룰러 모듈(221)은 커뮤니케이션 프로세서(CP: communication processor)를 포함할 수 있다.The cellular module (221) may provide, for example, voice calls, video calls, text services, or Internet services through a communication network. According to one embodiment, the cellular module (221) may perform differentiation and authentication of the electronic device (201) within the communication network using a subscriber identification module (e.g., SIM card) (224). According to one embodiment, the cellular module (221) may perform at least some of the functions that the processor (210) may provide. According to one embodiment, the cellular module (221) may include a communication processor (CP).
WiFi 모듈(223), 블루투스 모듈(225), GNSS 모듈(227) 또는 NFC 모듈(228) 각각은, 예를 들면, 해당하는 모듈을 통해서 송수신되는 데이터를 처리하기 위한 프로세서를 포함할 수 있다. 어떤 실시예에 따르면, 셀룰러 모듈(221), WiFi 모듈(223), 블루투스 모듈(225), GNSS 모듈(227) 또는 NFC 모듈(228) 중 적어도 일부(예: 두 개 이상)는 하나의 integrated circuit(IC) 또는 IC 패키지 내에 포함될 수 있다. Each of the WiFi module (223), the Bluetooth module (225), the GNSS module (227), or the NFC module (228) may include, for example, a processor for processing data transmitted and received through the corresponding module. According to some embodiments, at least some (e.g., two or more) of the cellular module (221), the WiFi module (223), the Bluetooth module (225), the GNSS module (227), or the NFC module (228) may be included in one integrated circuit (IC) or IC package.
RF 모듈(229)은, 예를 들면, 통신 신호(예: RF 신호)를 송수신할 수 있다. RF 모듈(229)은, 예를 들면, 트랜시버(transceiver), PAM(power amp module), 주파수 필터(frequency filter), LNA(low noise amplifier), 또는 안테나 등을 포함할 수 있다. 다른 실시예에 따르면, 셀룰러 모듈(221), WiFi 모듈(223), 블루투스 모듈(225), GNSS 모듈(227) 또는 NFC 모듈(228) 중 적어도 하나는 별개의 RF 모듈을 통하여 RF 신호를 송수신할 수 있다. The RF module (229) can, for example, transmit and receive a communication signal (e.g., an RF signal). The RF module (229) can include, for example, a transceiver, a power amp module (PAM), a frequency filter, a low noise amplifier (LNA), or an antenna. According to another embodiment, at least one of the cellular module (221), the WiFi module (223), the Bluetooth module (225), the GNSS module (227), or the NFC module (228) can transmit and receive an RF signal through a separate RF module.
가입자 식별 모듈(224)은, 예를 들면, 가입자 식별 모듈을 포함하는 카드 및/또는 내장 SIM(embedded SIM)을 포함할 수 있으며, 고유한 식별 정보(예: ICCID(integrated circuit card identifier)) 또는 가입자 정보(예: IMSI(international mobile subscriber identity))를 포함할 수 있다. The subscriber identification module (224) may include, for example, a card including a subscriber identification module and/or an embedded SIM, and may include unique identification information (e.g., an integrated circuit card identifier (ICCID)) or subscriber information (e.g., an international mobile subscriber identity (IMSI)).
메모리(230)(예: 메모리(130))는, 예를 들면, 내장 메모리(232) 또는 외장 메모리(234)를 포함할 수 있다. 내장 메모리(232)는, 예를 들면, 휘발성 메모리(예: DRAM(dynamic RAM), SRAM(static RAM), 또는 SDRAM(synchronous dynamic RAM) 등), 비휘발성 메모리(non-volatile Memory)(예: OTPROM(one time programmable ROM), PROM(programmable ROM), EPROM(erasable and programmable ROM), EEPROM(electrically erasable and programmable ROM), mask ROM, flash ROM, 플래시 메모리(예: NAND flash 또는 NOR flash 등), 하드 드라이브, 또는 솔리드 스테이트 드라이브(solid state drive(SSD)) 중 적어도 하나를 포함할 수 있다. The memory (230) (e.g., the memory (130)) may include, for example, built-in memory (232) or external memory (234). The built-in memory (232) may include, for example, at least one of a volatile memory (e.g., dynamic RAM (DRAM), static RAM (SRAM), or synchronous dynamic RAM (SDRAM)), a non-volatile memory (e.g., one time programmable ROM (OTPROM), a programmable ROM (PROM), an erasable and programmable ROM (EPROM), an electrically erasable and programmable ROM (EEPROM), a mask ROM, a flash ROM, a flash memory (e.g., NAND flash or NOR flash), a hard drive, or a solid state drive (SSD)).
외장 메모리(234)는 플래시 드라이브(flash drive), 예를 들면, CF(compact flash), SD(secure digital), Micro-SD(micro secure digital), Mini-SD(mini secure digital), xD(extreme digital), MMC(multi-media card) 또는 메모리 스틱(memory stick) 등을 더 포함할 수 있다. 외장 메모리(234)는 다양한 인터페이스를 통하여 전자 장치(201)와 기능적으로 및/또는 물리적으로 연결될 수 있다.The external memory (234) may further include a flash drive, for example, a compact flash (CF), a secure digital (SD), a micro secure digital (Micro-SD), a mini secure digital (Mini-SD), an extreme digital (xD), a multi-media card (MMC), or a memory stick. The external memory (234) may be functionally and/or physically connected to the electronic device (201) through various interfaces.
센서 모듈(240)은, 예를 들면, 물리량을 계측하거나 전자 장치(201)의 작동 상태를 감지하여, 계측 또는 감지된 정보를 전기 신호로 변환할 수 있다. 센서 모듈(240)은, 예를 들면, 제스처 센서(240A), 자이로 센서(240B), 기압 센서(240C), 마그네틱 센서(240D), 가속도 센서(240E), 그립 센서(240F), 근접 센서(240G), 컬러(color) 센서(240H)(예: RGB(red, green, blue) 센서), 생체 센서(240I), 온/습도 센서(240J), 조도 센서(240K), 또는 UV(ultra violet) 센서(240M) 중의 적어도 하나를 포함할 수 있다. 추가적으로 또는 대체적으로(additionally or alternatively), 센서 모듈(240)은, 예를 들면, 후각 센서(E-nose sensor), EMG 센서(electromyography sensor), EEG 센서(electroencephalogram sensor), ECG 센서(electrocardiogram sensor), IR(infrared) 센서, 홍채 센서 및/또는 지문 센서를 포함할 수 있다. 센서 모듈(240)은 그 안에 속한 적어도 하나 이상의 센서들을 제어하기 위한 제어 회로를 더 포함할 수 있다. 어떤 실시예에서는, 전자 장치(201)는 프로세서(210)의 일부로서 또는 별도로, 센서 모듈(240)을 제어하도록 구성된 프로세서를 더 포함하여, 프로세서(210)가 슬립(sleep) 상태에 있는 동안, 센서 모듈(240)을 제어할 수 있다.The sensor module (240) may, for example, measure a physical quantity or detect an operating state of an electronic device (201) and convert the measured or detected information into an electrical signal. The sensor module (240) may include, for example, at least one of a gesture sensor (240A), a gyro sensor (240B), a pressure sensor (240C), a magnetic sensor (240D), an acceleration sensor (240E), a grip sensor (240F), a proximity sensor (240G), a color sensor (240H) (e.g., an RGB (red, green, blue) sensor), a biometric sensor (240I), a temperature/humidity sensor (240J), an illuminance sensor (240K), or a UV (ultra violet) sensor (240M). Additionally or alternatively, the sensor module (240) may include, for example, an E-nose sensor, an electromyography sensor, an electroencephalogram sensor, an ECG sensor, an infrared (IR) sensor, an iris sensor, and/or a fingerprint sensor. The sensor module (240) may further include a control circuit for controlling at least one sensor included therein. In some embodiments, the electronic device (201) further includes a processor configured to control the sensor module (240), either as part of or separately from the processor (210), such that the sensor module (240) may be controlled while the processor (210) is in a sleep state.
입력 장치(250)는, 예를 들면, 터치 패널(touch panel)(252),(디지털) 펜 센서(pen sensor)(254), 키(key)(256), 또는 초음파(ultrasonic) 입력 장치(258)를 포함할 수 있다. 터치 패널(252)은, 예를 들면, 정전식, 감압식, 적외선 방식, 또는 초음파 방식 중 적어도 하나의 방식을 사용할 수 있다. 또한, 터치 패널(252)은 제어 회로를 더 포함할 수도 있다. 터치 패널(252)은 택타일 레이어(tactile layer)를 더 포함하여, 사용자에게 촉각 반응을 제공할 수 있다. The input device (250) may include, for example, a touch panel (252), a (digital) pen sensor (254), a key (256), or an ultrasonic input device (258). The touch panel (252) may use, for example, at least one of a capacitive method, a pressure-sensitive method, an infrared method, or an ultrasonic method. In addition, the touch panel (252) may further include a control circuit. The touch panel (252) may further include a tactile layer to provide a tactile response to a user.
(디지털) 펜 센서(254)는, 예를 들면, 터치 패널의 일부이거나, 별도의 인식용 쉬트(sheet)를 포함할 수 있다. 키(256)는, 예를 들면, 물리적인 버튼, 광학식 키, 또는 키패드를 포함할 수 있다. 초음파 입력 장치(258)는 마이크(예: 마이크(288))를 통해, 입력 도구에서 발생된 초음파를 감지하여, 상기 감지된 초음파에 대응하는 데이터를 확인할 수 있다.The (digital) pen sensor (254) may be, for example, part of a touch panel or may include a separate recognition sheet. The key (256) may include, for example, a physical button, an optical key, or a keypad. The ultrasonic input device (258) may detect ultrasonic waves generated from an input tool through a microphone (e.g., microphone (288)) and confirm data corresponding to the detected ultrasonic waves.
디스플레이(260)(예: 디스플레이(160))는 패널(262), 홀로그램 장치(264), 또는 프로젝터(266)를 포함할 수 있다. 패널(262)은, 도 1의 디스플레이(160)와 동일 또는 유사한 구성을 포함할 수 있다. 패널(262)은, 예를 들면, 유연하게(flexible), 투명하게(transparent), 또는 착용할 수 있게(wearable) 구현될 수 있다. 패널(262)은 터치 패널(252)과 하나의 모듈로 구성될 수도 있다. 홀로그램 장치(264)는 빛의 간섭을 이용하여 입체 영상을 허공에 보여줄 수 있다. 프로젝터(266)는 스크린에 빛을 투사하여 영상을 표시할 수 있다. 스크린은, 예를 들면, 전자 장치(201)의 내부 또는 외부에 위치할 수 있다. 한 실시예에 따르면, 디스플레이(260)는 패널(262), 홀로그램 장치(264), 또는 프로젝터(266)를 제어하기 위한 제어 회로를 더 포함할 수 있다. The display (260) (e.g., the display (160)) may include a panel (262), a holographic device (264), or a projector (266). The panel (262) may include a configuration identical to or similar to the display (160) of FIG. 1. The panel (262) may be implemented to be, for example, flexible, transparent, or wearable. The panel (262) may also be configured as a single module with the touch panel (252). The holographic device (264) may use interference of light to display a three-dimensional image in the air. The projector (266) may project light onto a screen to display an image. The screen may be located, for example, inside or outside the electronic device (201). According to one embodiment, the display (260) may further include a control circuit for controlling the panel (262), the holographic device (264), or the projector (266).
인터페이스(270)는, 예를 들면, HDMI(high-definition multimedia interface)(272), USB(universal serial bus)(274), 광 인터페이스(optical interface)(276), 또는 D-sub(D-subminiature)(278)를 포함할 수 있다. 인터페이스(270)는, 예를 들면, 도 1에 도시된 통신 모듈(170)에 포함될 수 있다. 추가적으로 또는 대체적으로(additionally and alternatively), 인터페이스(270)는, 예를 들면, MHL(mobile high-definition link) 인터페이스, SD(secure digital) 카드/MMC(multi-media card) 인터페이스, 또는 IrDA(infrared data association) 규격 인터페이스를 포함할 수 있다. The interface (270) may include, for example, a high-definition multimedia interface (HDMI) (272), a universal serial bus (USB) (274), an optical interface (276), or a D-sub (D-subminiature) (278). The interface (270) may be included, for example, in the communication module (170) illustrated in FIG. 1. Additionally and alternatively, the interface (270) may include, for example, a mobile high-definition link (MHL) interface, a secure digital (SD) card/multi-media card (MMC) interface, or an infrared data association (IrDA) standard interface.
오디오 모듈(280)은, 예를 들면, 소리(sound)와 전기 신호를 쌍방향으로 변환시킬 수 있다. 오디오 모듈(280)의 적어도 일부 구성요소는, 예를 들면, 도 1 에 도시된 입출력 인터페이스(150)에 포함될 수 있다. 오디오 모듈(280)은, 예를 들면, 스피커(282), 리시버(284), 이어폰(286), 또는 마이크(288) 등을 통해 입력 또는 출력되는 소리 정보를 처리할 수 있다. The audio module (280) can, for example, convert sound and electrical signals bidirectionally. At least some components of the audio module (280) can be included in the input/output interface (150) illustrated in FIG. 1, for example. The audio module (280) can process sound information input or output through, for example, a speaker (282), a receiver (284), an earphone (286), or a microphone (288).
카메라 모듈(291)은, 예를 들면, 정지 영상 및 동영상을 촬영할 수 있는 장치로서, 한 실시예에 따르면, 하나 이상의 이미지 센서(예: 전면 센서 또는 후면 센서), 렌즈, ISP(image signal processor), 또는 플래시(flash)(예: LED 또는 xenon lamp 등)를 포함할 수 있다.The camera module (291) is, for example, a device capable of capturing still images and moving images, and according to one embodiment, may include one or more image sensors (e.g., a front sensor or a rear sensor), a lens, an image signal processor (ISP), or a flash (e.g., an LED or xenon lamp, etc.).
전력 관리 모듈(295)은, 예를 들면, 전자 장치(201)의 전력을 관리할 수 있다. 한 실시예에 따르면, 전력 관리 모듈(295)은 전력 관리 집적회로(power management integrated circuit), 충전 IC(charger integrated circuit), 또는 배터리 또는 연료 게이지(battery or fuel gauge)를 포함할 수 있다. 전력 관리 집적회로는, 유선 및/또는 무선 충전 방식을 가질 수 있다. 무선 충전 방식은, 예를 들면, 자기공명 방식, 자기유도 방식 또는 전자기파 방식 등을 포함하며, 무선 충전을 위한 부가적인 회로, 예를 들면, 코일 루프, 공진 회로, 또는 정류기 등을 더 포함할 수 있다. 배터리 게이지는, 예를 들면, 배터리(296)의 잔량, 충전 중 전압, 전류, 또는 온도를 측정할 수 있다. 배터리(296)는, 예를 들면, 충전식 전지(rechargeable battery) 및/또는 태양 전지(solar battery)를 포함할 수 있다. The power management module (295) can manage power of the electronic device (201), for example. According to one embodiment, the power management module (295) can include a power management integrated circuit, a charger integrated circuit, or a battery or fuel gauge. The power management integrated circuit can have a wired and/or wireless charging method. The wireless charging method includes, for example, a magnetic resonance method, a magnetic induction method, or an electromagnetic wave method, and can further include an additional circuit for wireless charging, for example, a coil loop, a resonant circuit, or a rectifier. The battery gauge can measure, for example, the remaining capacity of the battery (296), voltage, current, or temperature during charging. The battery (296) can include, for example, a rechargeable battery and/or a solar battery.
인디케이터(297)는 전자 장치(201) 또는 그 일부(예: 프로세서(210))의 특정 상태, 예를 들면, 부팅 상태, 메시지 상태 또는 충전 상태 등을 표시할 수 있다. 모터(298)는 전기적 신호를 기계적 진동으로 변환할 수 있고, 진동(vibration), 또는 햅틱(haptic) 효과 등을 발생시킬 수 있다. 도시되지는 않았으나, 전자 장치(201)는 모바일 TV 지원을 위한 처리 장치(예: GPU)를 포함할 수 있다. 모바일 TV 지원을 위한 처리 장치는, 예를 들면, DMB(digital multimedia broadcasting), DVB(digital video broadcasting), 또는 미디어플로(mediaFloTM) 등의 규격에 따른 미디어 데이터를 처리할 수 있다. The indicator (297) may indicate a specific state of the electronic device (201) or a part thereof (e.g., the processor (210)), for example, a booting state, a message state, or a charging state. The motor (298) may convert an electrical signal into a mechanical vibration and may generate vibration, a haptic effect, or the like. Although not shown, the electronic device (201) may include a processing unit (e.g., a GPU) for supporting mobile TV. The processing unit for supporting mobile TV may process media data according to standards such as, for example, DMB (digital multimedia broadcasting), DVB (digital video broadcasting), or mediaFloTM.
도 3은 다양한 실시예에 따른 프로그램 모듈의 블록도이다. 한 실시예에 따르면, 프로그램 모듈(310)(예: 프로그램(140))은 전자 장치(예: 전자 장치(101))에 관련된 자원을 제어하는 운영 체제(operating system(OS)) 및/또는 운영 체제 상에서 구동되는 다양한 어플리케이션(예: 어플리케이션 프로그램(147))을 포함할 수 있다. 운영 체제는, 예를 들면, 안드로이드(android), iOS, 윈도우즈(windows), 심비안(symbian), 타이젠(tizen), 또는 바다(bada) 등이 될 수 있다.FIG. 3 is a block diagram of a program module according to various embodiments. According to one embodiment, a program module (310) (e.g., a program (140)) may include an operating system (OS) that controls resources related to an electronic device (e.g., an electronic device (101)) and/or various applications (e.g., application programs (147)) that run on the operating system. The operating system may be, for example, Android, iOS, Windows, Symbian, Tizen, or Bada.
프로그램 모듈(310)은 커널(320), 미들웨어(330), 어플리케이션 프로그래밍 인터페이스(application programming interface (API))(360), 및/또는 어플리케이션(370)을 포함할 수 있다. 프로그램 모듈(310)의 적어도 일부는 전자 장치 상에 프리로드(preload) 되거나, 외부 전자 장치(예: 전자 장치(102, 104), 서버(106) 등)로부터 다운로드(download) 가능하다.The program module (310) may include a kernel (320), middleware (330), an application programming interface (API) (360), and/or an application (370). At least a portion of the program module (310) may be preloaded on the electronic device or may be downloaded from an external electronic device (e.g., an electronic device (102, 104), a server (106), etc.).
커널(320)(예: 커널(141))은, 예를 들면, 시스템 리소스 매니저(321) 및/또는 디바이스 드라이버(323)를 포함할 수 있다. 시스템 리소스 매니저(321)는 시스템 리소스의 제어, 할당, 또는 회수 등을 수행할 수 있다. 한 실시예에 따르면, 시스템 리소스 매니저(321)는 프로세스 관리부, 메모리 관리부, 또는 파일 시스템 관리부 등을 포함할 수 있다. 디바이스 드라이버(323)는, 예를 들면, 디스플레이 드라이버, 카메라 드라이버, 블루투스 드라이버, 공유 메모리 드라이버, USB 드라이버, 키패드 드라이버, WiFi 드라이버, 오디오 드라이버, 또는 IPC(inter-process communication) 드라이버를 포함할 수 있다. The kernel (320) (e.g., kernel (141)) may include, for example, a system resource manager (321) and/or a device driver (323). The system resource manager (321) may perform control, allocation, or recovery of system resources. According to one embodiment, the system resource manager (321) may include a process management unit, a memory management unit, or a file system management unit. The device driver (323) may include, for example, a display driver, a camera driver, a Bluetooth driver, a shared memory driver, a USB driver, a keypad driver, a WiFi driver, an audio driver, or an IPC (inter-process communication) driver.
미들웨어(330)는, 예를 들면, 어플리케이션(370)이 공통적으로 필요로 하는 기능을 제공하거나, 어플리케이션(370)이 전자 장치 내부의 제한된 시스템 자원을 효율적으로 사용할 수 있도록 API(360)를 통해 다양한 기능들을 어플리케이션(370)으로 제공할 수 있다. 한 실시예에 따르면, 미들웨어(330)(예: 미들웨어(143))는 런타임 라이브러리(335), 어플리케이션 매니저(application manager)(341), 윈도우 매니저(window manager)(342), 멀티미디어 매니저(multimedia manager)(343), 리소스 매니저(resource manager)(344), 파워 매니저(power manager)(345), 데이터베이스 매니저(database manager)(346), 패키지 매니저(package manager)(347), 연결 매니저(connectivity manager)(348), 통지 매니저(notification manager)(349), 위치 매니저(location manager)(350), 그래픽 매니저(graphic manager)(351), 또는 보안 매니저(security manager)(352) 중 적어도 하나를 포함할 수 있다.Middleware (330) may, for example, provide functions commonly required by applications (370) or provide various functions to applications (370) through APIs (360) so that applications (370) can efficiently use limited system resources within an electronic device. According to one embodiment, the middleware (330) (e.g., middleware (143)) may include at least one of a runtime library (335), an application manager (341), a window manager (342), a multimedia manager (343), a resource manager (344), a power manager (345), a database manager (346), a package manager (347), a connectivity manager (348), a notification manager (349), a location manager (350), a graphics manager (351), or a security manager (352).
런타임 라이브러리(335)는, 예를 들면, 어플리케이션(370)이 실행되는 동안에 프로그래밍 언어를 통해 새로운 기능을 추가하기 위해 컴파일러가 사용하는 라이브러리 모듈을 포함할 수 있다. 런타임 라이브러리(335)는 입출력 관리, 메모리 관리, 또는 산술 함수에 대한 기능 등을 수행할 수 있다. The runtime library (335) may include, for example, library modules used by a compiler to add new functionality through a programming language while the application (370) is running. The runtime library (335) may perform functions such as input/output management, memory management, or arithmetic functions.
어플리케이션 매니저(341)는, 예를 들면, 어플리케이션(370) 중 적어도 하나의 어플리케이션의 생명 주기(life cycle)를 관리할 수 있다. 윈도우 매니저(342)는 화면에서 사용하는 GUI 자원을 관리할 수 있다. 멀티미디어 매니저(343)는 다양한 미디어 파일들의 재생에 필요한 포맷을 파악하고, 해당 포맷에 맞는 코덱(codec)을 이용하여 미디어 파일의 인코딩(encoding) 또는 디코딩(decoding)을 수행할 수 있다. 리소스 매니저(344)는 어플리케이션(370) 중 적어도 어느 하나의 어플리케이션의 소스 코드, 메모리 또는 저장 공간 등의 자원을 관리할 수 있다. The application manager (341) can manage, for example, the life cycle of at least one of the applications (370). The window manager (342) can manage GUI resources used on the screen. The multimedia manager (343) can identify formats required for playing various media files and perform encoding or decoding of the media files using a codec suitable for the format. The resource manager (344) can manage resources such as source code, memory, or storage space of at least one of the applications (370).
파워 매니저(345)는, 예를 들면, 바이오스(BIOS: basic input/output system) 등과 함께 동작하여 배터리(battery) 또는 전원을 관리하고, 전자 장치의 동작에 필요한 전력 정보 등을 제공할 수 있다. 데이터베이스 매니저(346)는 어플리케이션(370) 중 적어도 하나의 어플리케이션에서 사용할 데이터베이스를 생성, 검색, 또는 변경할 수 있다. 패키지 매니저(347)는 패키지 파일의 형태로 배포되는 어플리케이션의 설치 또는 업데이트를 관리할 수 있다. The power manager (345) may operate, for example, with a basic input/output system (BIOS), etc., to manage a battery or power, and provide power information necessary for the operation of the electronic device. The database manager (346) may create, search, or change a database to be used by at least one of the applications (370). The package manager (347) may manage the installation or update of an application distributed in the form of a package file.
연결 매니저(348)는, 예를 들면, WiFi 또는 블루투스 등의 무선 연결을 관리할 수 있다. 통지 매니저(349)는 도착 메시지, 약속, 근접성 알림 등의 사건(event)을 사용자에게 방해되지 않는 방식으로 표시 또는 통지할 수 있다. 위치 매니저(350)는 전자 장치의 위치 정보를 관리할 수 있다. 그래픽 매니저(351)는 사용자에게 제공될 그래픽 효과 또는 이와 관련된 사용자 인터페이스를 관리할 수 있다. 보안 매니저(352)는 시스템 보안 또는 사용자 인증 등에 필요한 제반 보안 기능을 제공할 수 있다. 한 실시예에 따르면, 전자 장치(예: 전자 장치(101))가 전화 기능을 포함한 경우, 미들웨어(330)는 전자 장치의 음성 또는 영상 통화 기능을 관리하기 위한 통화 매니저(telephony manager)를 더 포함할 수 있다. The connection manager (348) can manage wireless connections such as, for example, WiFi or Bluetooth. The notification manager (349) can display or notify events such as arrival messages, appointments, and proximity notifications in a non-intrusive manner for the user. The location manager (350) can manage location information of the electronic device. The graphics manager (351) can manage graphic effects to be provided to the user or a user interface related thereto. The security manager (352) can provide various security functions required for system security or user authentication. According to one embodiment, when the electronic device (e.g., the electronic device (101)) includes a telephone function, the middleware (330) can further include a telephony manager for managing a voice or video call function of the electronic device.
미들웨어(330)는 전술한 구성요소들의 다양한 기능의 조합을 형성하는 미들웨어 모듈을 포함할 수 있다. 미들웨어(330)는 차별화된 기능을 제공하기 위해 운영 체제의 종류 별로 특화된 모듈을 제공할 수 있다. 또한, 미들웨어(330)는 동적으로 기존의 구성요소를 일부 삭제하거나 새로운 구성요소들을 추가할 수 있다.The middleware (330) may include a middleware module that forms a combination of various functions of the aforementioned components. The middleware (330) may provide modules specialized for each type of operating system to provide differentiated functions. In addition, the middleware (330) may dynamically delete some of the existing components or add new components.
API(360)(예: API(145))는, 예를 들면, API 프로그래밍 함수들의 집합으로, 운영 체제에 따라 다른 구성으로 제공될 수 있다. 예를 들면, 안드로이드 또는 iOS의 경우, 플랫폼 별로 하나의 API 셋을 제공할 수 있으며, 타이젠(tizen)의 경우, 플랫폼 별로 두 개 이상의 API 셋을 제공할 수 있다.API (360) (e.g., API (145)) is, for example, a set of API programming functions, and may be provided in different configurations depending on the operating system. For example, in the case of Android or iOS, one set of APIs may be provided per platform, and in the case of Tizen, two or more sets of APIs may be provided per platform.
어플리케이션(370)(예: 어플리케이션 프로그램(147))은, 예를 들면, 홈(371), 다이얼러(372), SMS/MMS(373), IM(instant message)(374), 브라우저(375), 카메라(376), 알람(377), 컨택트(378), 음성 다이얼(379), 이메일(380), 달력(381), 미디어 플레이어(382), 앨범(383), 또는 시계(384), 건강 관리(health care)(예: 운동량 또는 혈당 등을 측정), 또는 환경 정보 제공(예: 기압, 습도, 또는 온도 정보 등을 제공) 등의 기능을 수행할 수 있는 하나 이상의 어플리케이션을 포함할 수 있다.An application (370) (e.g., an application program (147)) may include one or more applications that may perform functions such as, for example, a home (371), a dialer (372), an SMS/MMS (373), an instant message (IM) (374), a browser (375), a camera (376), an alarm (377), a contact (378), a voice dialer (379), an email (380), a calendar (381), a media player (382), an album (383), or a clock (384), health care (e.g., measuring the amount of exercise or blood sugar, etc.), or providing environmental information (e.g., providing information on barometric pressure, humidity, or temperature, etc.).
한 실시예에 따르면, 어플리케이션(370)은 전자 장치(예: 전자 장치(101))와 외부 전자 장치(예: 전자 장치(102, 104)) 사이의 정보 교환을 지원하는 어플리케이션(이하, 설명의 편의 상, "정보 교환 어플리케이션")을 포함할 수 있다. 정보 교환 어플리케이션은, 예를 들면, 외부 전자 장치에 특정 정보를 전달하기 위한 알림 전달(notification relay) 어플리케이션, 또는 외부 전자 장치를 관리하기 위한 장치 관리(device management) 어플리케이션을 포함할 수 있다. According to one embodiment, the application (370) may include an application (hereinafter, for convenience of description, an “information exchange application”) that supports information exchange between an electronic device (e.g., electronic device (101)) and an external electronic device (e.g., electronic devices (102, 104)). The information exchange application may include, for example, a notification relay application for transmitting specific information to an external electronic device, or a device management application for managing an external electronic device.
예를 들면, 알림 전달 어플리케이션은 전자 장치의 다른 어플리케이션(예: SMS/MMS 어플리케이션, 이메일 어플리케이션, 건강 관리 어플리케이션, 또는 환경 정보 어플리케이션 등)에서 발생된 알림 정보를 외부 전자 장치(예: 전자 장치(102, 104))로 전달하는 기능을 포함할 수 있다. 또한, 알림 전달 어플리케이션은, 예를 들면, 외부 전자 장치로부터 알림 정보를 수신하여 사용자에게 제공할 수 있다. For example, the notification delivery application may include a function for delivering notification information generated from another application of the electronic device (e.g., an SMS/MMS application, an email application, a health management application, or an environmental information application, etc.) to an external electronic device (e.g., the electronic device (102, 104)). In addition, the notification delivery application may receive notification information from the external electronic device and provide it to the user, for example.
장치 관리 어플리케이션은, 예를 들면, 전자 장치와 통신하는 외부 전자 장치(예: 전자 장치(102, 104))의 적어도 하나의 기능(예: 외부 전자 장치 자체(또는, 일부 구성 부품)의 턴-온/턴-오프 또는 디스플레이의 밝기(또는, 해상도) 조절), 외부 전자 장치에서 동작하는 어플리케이션 또는 외부 전자 장치에서 제공되는 서비스(예: 통화 서비스 또는 메시지 서비스 등)를 관리(예: 설치, 삭제, 또는 업데이트)할 수 있다. A device management application may, for example, manage (e.g., install, delete, or update) at least one function (e.g., turning on/off the external electronic device itself (or some components thereof) or adjusting the brightness (or resolution) of a display) of an external electronic device (e.g., an electronic device (102, 104)) that communicates with the electronic device, an application running on the external electronic device, or a service provided by the external electronic device (e.g., a calling service or a messaging service).
한 실시예에 따르면, 어플리케이션(370)은 외부 전자 장치(예: 전자 장치(102, 104))의 속성(에 따라 지정된 어플리케이션(예: 모바일 의료 기기의 건강 관리 어플리케이션 등)을 포함할 수 있다. 한 실시예에 따르면, 어플리케이션(370)은 외부 전자 장치(예: 서버(106) 또는 전자 장치(102, 104))로부터 수신된 어플리케이션을 포함할 수 있다. 한 실시예에 따르면, 어플리케이션(370)은 프리로드 어플리케이션(preloaded application) 또는 서버로부터 다운로드 가능한 제3자 어플리케이션(third party application)을 포함할 수 있다. 도시된 실시예에 따른 프로그램 모듈(310)의 구성요소들의 명칭은 운영 체제의 종류에 따라서 달라질 수 있다. According to one embodiment, the application (370) may include an application (e.g., a healthcare application of a mobile medical device, etc.) specified according to an attribute (e.g., an electronic device (102, 104)) of an external electronic device. According to one embodiment, the application (370) may include an application received from an external electronic device (e.g., a server (106) or an electronic device (102, 104)). According to one embodiment, the application (370) may include a preloaded application or a third party application downloadable from a server. The names of the components of the program module (310) according to the illustrated embodiment may vary depending on the type of operating system.
다양한 실시예에 따르면, 프로그램 모듈(310)의 적어도 일부는 소프트웨어, 펌웨어, 하드웨어, 또는 이들 중 적어도 둘 이상의 조합으로 구현될 수 있다. 프로그램 모듈(310)의 적어도 일부는, 예를 들면, 프로세서(예: 프로세서(210))에 의해 구현(implement)(예: 실행)될 수 있다. 프로그램 모듈(310)의 적어도 일부는 하나 이상의 기능을 수행하기 위한, 예를 들면, 모듈, 프로그램, 루틴, 명령어 세트(sets of instructions) 또는 프로세스 등을 포함할 수 있다.According to various embodiments, at least a portion of the program module (310) may be implemented as software, firmware, hardware, or a combination of at least two or more of these. At least a portion of the program module (310) may be implemented (e.g., executed) by, for example, a processor (e.g., processor (210)). At least a portion of the program module (310) may include, for example, a module, a program, a routine, a set of instructions, or a process for performing one or more functions.
도 4는 본 발명의 다양한 실시 예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도를 도시한다. 도 4의 실시예는 도 5a 및 5b를 참조하여 더욱 상세하게 설명하도록 한다. 도 5a 및 5b는 본 발명의 다양한 실시예에 따른 전자 장치의 개념도를 도시한다.FIG. 4 is a flowchart illustrating a method for controlling an electronic device according to various embodiments of the present invention. The embodiment of FIG. 4 will be described in more detail with reference to FIGS. 5a and 5b. FIGS. 5a and 5b illustrate conceptual diagrams of an electronic device according to various embodiments of the present invention.
410 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지를 획득할 수 있다. 여기에서, 텍스트 메시지는, 문자, 숫자 및 기호 중 적어도 하나를 포함하는 텍스트를 의미할 수 있다. 하나의 실시예에서, 텍스트 메시지는 데이터 포맷에 의하여 구분될 수 있다. 예를 들어, 채팅 어플리케이션을 이용하여, A 사용자 및 B 사용자는 서로 텍스트 메시지를 송수신할 수 있다. A 사용자는 송신하고자 하는 텍스트를 채팅창에 입력할 수 있으며, 채팅창에 충분히 텍스트를 입력한 경우에, 기설정된 송신 명령을 입력할 수 있다. 채팅 어플리케이션은 송신 명령에 대응하여 입력된 텍스트를 포함하는 텍스트 메시지를 다른 전자 장치로 송신할 수도 있으며, 다른 전자 장치로부터 수신된 텍스트 메시지를 표시할 수도 있다. 또 다른 실시예에서, 텍스트 메시지는 자연어 처리 결과에 기초하여 구분될 수도 있다. 예를 들어, 텍스트 분석 결과에 기초하여, 전자 장치(101)는 문장의 종결에 해당하는 문구를 확인할 수 있으며, 문장의 종결에 해당하는 문구를 이용하여 텍스트 메시지를 구분할 수 있다. 이 경우에는, 한 문장으로 구분되는 텍스트 집합이 하나의 텍스트 메시지로 구분될 수 있다. 또 다른 실시예에서, 텍스트 메시지는 시간별로 구분될 수도 있다. 예를 들어, 전자 장치(101)는 포우즈(pause) 없이 연속하여 입력되는 텍스트들의 집합을 하나의 텍스트 메시지로 구분할 수도 있다. 이 경우, 텍스트가 연속하여 입력되다가 기설정된 포우즈를 초과하는 경우에는, 전자 장치(101)는 포우즈 초과 이전까지 입력된 텍스트의 집합들을 하나의 텍스트 메시지로 획득할 수 있다. 이에 따라, 텍스트 메시지는 하나 또는 이상의 문장을 포함할 수도 있다. 상술한 바와 같이, 텍스트 메시지의 구분 기준은 다양하게 구현될 수 있다.In operation 410, the electronic device (101) may obtain a plurality of text messages. Here, the text message may mean a text including at least one of letters, numbers, and symbols. In one embodiment, the text messages may be distinguished by a data format. For example, using a chat application, user A and user B may exchange text messages with each other. User A may input a text to be transmitted into a chat window, and when the text is sufficiently input into the chat window, may input a preset transmission command. The chat application may transmit a text message including the input text in response to the transmission command to another electronic device, and may display a text message received from the other electronic device. In another embodiment, the text messages may be distinguished based on the results of natural language processing. For example, based on the results of text analysis, the electronic device (101) may identify a phrase corresponding to the end of a sentence, and may distinguish text messages using the phrase corresponding to the end of the sentence. In this case, a set of texts distinguished as one sentence may be distinguished as one text message. In another embodiment, text messages may be divided by time. For example, the electronic device (101) may divide a set of texts that are continuously input without a pause into one text message. In this case, when texts are continuously input and exceed a preset pause, the electronic device (101) may obtain a set of texts that were input before the pause exceeds one text message. Accordingly, the text message may include one or more sentences. As described above, the criteria for distinguishing text messages may be implemented in various ways.
본 발명의 다양한 실시예에서, 전자 장치(101)는 입력되거나 다른 전자 장치로부터 수신된 복수 개의 텍스트를 획득할 수 있다. 전자 장치(101)는, 예를 들어 채팅 어플리케이션 등의 어플리케이션에서 처리되는 복수 개의 텍스트를 획득할 수도 있다. 또는, 전자 장치(101)는 외부로부터 마이크 등을 통하여 획득된 복수 개의 사용자 음성을 TTS(text-to-speech) 처리하여, 복수 개의 텍스트를 획득할 수도 있다.In various embodiments of the present invention, the electronic device (101) may obtain a plurality of texts that are input or received from another electronic device. The electronic device (101) may obtain a plurality of texts that are processed in an application such as a chat application, for example. Alternatively, the electronic device (101) may obtain a plurality of texts by performing TTS (text-to-speech) processing on a plurality of user voices obtained from the outside through a microphone, etc.
예를 들어, 도 5a에서와 같이, 전자 장치(101)는 채팅 어플리케이션 실행 화면(510)을 디스플레이(160)에 표시할 수 있다. 전자 장치(101)는 채팅 어플리케이션을 실행시킬 수 있으며, 이에 대응하여 채팅 어플리케이션 실행 화면(510)을 표시할 수 있다. 전자 장치(101)는 다른 전자 장치(미도시)로부터 수신된 텍스트 메시지(511,513,515)를 표시할 수 있으며, 사용자로부터 입력된 텍스트 메시지(512,514)를 표시할 수 있다. 채팅 어플리케이션은, 양 전자 장치 사이에서 텍스트 메시지를 송수신할 수 있는 어플리케이션이라면 제한이 없음을 당업자는 용이하게 이해할 수 있을 것이다. 전자 장치(101)는, 채팅 참여자 별로 송수신된 텍스트 메시지의 히스토리를 구분하는 그래픽 사용자 인터페이스를 도 5a와 같이 표시할 수 있다. 도 5a에서와 같이, 전자 장치(101)는 사용자로부터의 텍스트 메시지 및 다른 전자 장치로부터 수신된 텍스트 메시지를 포함하는 복수 개의 텍스트 메시지를 획득할 수 있다.For example, as in FIG. 5A, the electronic device (101) can display a chat application execution screen (510) on the display (160). The electronic device (101) can execute the chat application and display the chat application execution screen (510) in response thereto. The electronic device (101) can display text messages (511, 513, 515) received from another electronic device (not shown) and can display text messages (512, 514) input from the user. Those skilled in the art will readily understand that there is no limitation on the chat application as long as it is an application that can send and receive text messages between the two electronic devices. The electronic device (101) can display a graphical user interface that distinguishes the history of text messages sent and received by each chat participant, as in FIG. 5A. As in FIG. 5A, the electronic device (101) can obtain a plurality of text messages including a text message from the user and a text message received from another electronic device.
420 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지 분석 결과를 이용한 키워드를 획득할 수 있다. 전자 장치(101)는 텍스트 메시지 각각을 분석할 수 있으며, 텍스트 메시지 각각의 분석 결과를 이용하여 키워드를 획득할 수 있다. 본 발명의 다양한 실시예에서, 전자 장치(101)는 복수 개의 텍스트 메시지 각각의 분석 결과를 템플릿에 매칭시킴으로써 키워드를 생성할 수 있다. 또는, 전자 장치(101)는 복수 개의 텍스트 메시지 각각의 분석 결과로부터 사용자 의도를 분석하는 머신 러닝(machine learning) 또는 딥 러닝(deep learning) 알고리즘을 적용함으로써 키워드를 생성할 수도 있다. 다양한 실시예에 따른 키워드 생성 과정은 도 8a 내지 8c를 참조하여 더욱 상세하게 설명하도록 한다. 도 5a의 실시예에서는, 전자 장치(101)는, "이번주 일요일, 영화"의 키워드를 생성할 수 있다. 예를 들어, 전자 장치(101)는 "이번주 일요일에 뭐해"라는 텍스트 메시지(511)의 자연어 분석 결과에 기초하여, "이번주 일요일"이라는 시간에 대응하는 텍스트를 획득할 수 있다. 더욱 상세하게, 전자 장치(101)는 텍스트 메시지(511)의 "이번주 일요일"이 시간에 대응하는 텍스트라는 것을 자연어 분석 결과에 기초하여 식별할 수 있으며, "뭐해?"가 동사에 대응하는 텍스트라는 것을 자연어 분석 결과에 기초하여 식별할 수 있다. 자연어 분석은 텍스트 메시지를 구성하는 구성 요소 각각의 문장 내에서의 역할을 판단할 수 있으며, 전자 장치(101)는 자연어 분석 결과에 기초하여 복수 개의 텍스트 메시지 각각의 구성 요소를 분석할 수 있다.In
아울러, "그럼 영화 볼래?"라는 텍스트 메시지(513)의 자연어 분석 결과에 기초하여, "영화"라는 목적어에 대응하는 텍스트를 획득할 수 있다. 전자 장치(101)는 텍스트 메시지(511,513)의 분석 결과를 이용하여, "이번주 일요일, 영화"라는 키워드를 획득할 수 있다. 전자 장치(101)는, 시간에 대응하는 텍스트와 목적어에 대응하는 텍스트를 키워드로 분류하라는 알고리즘을 미리 저장할 수도 있으며, 알고리즘 적용 결과에 기초하여 키워드를 획득할 수 있다. 전자 장치(101)는, 다른 텍스트 메시지(512,514,515) 등으로부터 "약속", "보고 싶은거" 등의 목적어를 획득할 수도 있으며, 해당 목적어를 키워드에 포함시킬 수도 있거나 또는 필터링하여 제외시킬 수도 있다. 전자 장치(101)는 다소 의미가 불분명한 목적어에 대한 데이터베이스를 미리 저장하여, 이를 키워드 생성 과정에서 배제시킬 수도 있다. 또는, 전자 장치(101)는 텍스트 메시지(511 내지 515)를 머신 러닝 또는 딥 러닝 알고리즘을 분석하여 획득된 사용자 의도를 키워드로 생성할 수도 있다. 전자 장치(101)는 텍스트 메시지(512)를 분석하여, 사용자의 의도를 "약속"으로 분석할 수 있으며, 텍스트 메시지(511,513)을 분석하여, 사용자의 의도를 "이번주 일요일에 영화 관람"으로 분석할 수 있다. 전자 장치(101)는 예를 들어, 텍스트 메시지(511)를 분석하여, 이번주 일요일에 상대방의 스케줄을 문의하는 사용자 의도를 분석하고, 이러한 문의 이후에 재문의하는 텍스트 메시지(513)는 해당 시간에 수행하고자 하는 업무를 나타낸다는 것을 머신 러닝 또는 딥 러닝 알고리즘을 통하여 분석할 수도 있다. 상술한 바와 같이, 전자 장치(101)는 다양한 방식으로 키워드를 분석할 수 있으며, 복수 개의 텍스트 메시지를 이용하여 키워드를 분석할 수 있는 방법이라면 그 종류에는 제한이 없음을 당업자는 용이하게 이해할 수 있을 것이다.In addition, based on the natural language analysis result of the text message (513) "Then do you want to watch a movie?", a text corresponding to the object "movie" can be obtained. The electronic device (101) can obtain the keyword "this Sunday, movie" using the analysis result of the text messages (511, 513). The electronic device (101) can also store in advance an algorithm to classify a text corresponding to a time and a text corresponding to an object into keywords, and can obtain a keyword based on the result of applying the algorithm. The electronic device (101) can also obtain objects such as "appointment" and "things I want to see" from other text messages (512, 514, 515), and can include the objects in the keywords or filter them out. The electronic device (101) can also store in advance a database of objects whose meanings are somewhat unclear and exclude them from the keyword generation process. Alternatively, the electronic device (101) may analyze text messages (511 to 515) using a machine learning or deep learning algorithm to generate keywords based on the acquired user intent. The electronic device (101) may analyze the text message (512) to analyze the user intent as “appointment” and may analyze the text messages (511, 513) to analyze the user intent as “going to the movies this Sunday.” For example, the electronic device (101) may analyze the text message (511) to analyze the user intent to inquire about the other party’s schedule this Sunday, and may analyze the text message (513) that inquires again after such an inquiry to indicate a task to be performed at that time using a machine learning or deep learning algorithm. As described above, the electronic device (101) may analyze keywords in various ways, and those skilled in the art will readily understand that there is no limitation to the type of method as long as it can analyze keywords using a plurality of text messages.
430 동작에서, 전자 장치(101)는 획득된 키워드를 포함한 쿼리를 송신할 수 있다. 예를 들어, 도 5a에서와 같이, 전자 장치(101)는 키워드 분석 결과를 요청할 수 있는 그래픽 사용자 인터페이스(516)를 표시할 수 있으며, 해당 그래픽 사용자 인터페이스(516)의 지정에 대응하여 키워드를 포함한 쿼리를 서버(106)로 송신할 수 있다.In
440 동작에서, 서버(106)는 쿼리에 포함된 키워드를 분석할 수 있다. 서버(106)는 키워드를 분석할 수 있는 알고리즘 또는 프로그램을 저장한 전자 장치라면 제한이 없을 수 있다. 본 발명의 다양한 실시예에서, 서버(106)는 키워드를 다른 전자 장치로 포워딩(forwarding)할 수도 있으며, 이에 대하여서는 더욱 상세하게 설명하도록 한다. 예를 들어, 서버(106)는 전자 장치(101)로부터 획득된 "이번주 일요일, 영화"의 키워드를 분석하여, 이번주 일요일에 대응하는 영화 스케줄을 획득할 수 있다.In operation 440, the server (106) can analyze keywords included in the query. The server (106) may be any electronic device that stores an algorithm or program capable of analyzing keywords. In various embodiments of the present invention, the server (106) may forward keywords to other electronic devices, which will be described in more detail below. For example, the server (106) may analyze the keyword "this Sunday, movies" obtained from the electronic device (101) to obtain a movie schedule corresponding to this Sunday.
450 동작에서, 서버(106)는 키워드 분석 결과를 포함한 응답을 전자 장치(101)로 송신할 수 있다. 460 동작에서, 전자 장치(101)는 키워드 분석 결과를 이용하여 동작할 수 있다. 예를 들어, 도 5b에서와 같이, 전자 장치(101)는 서버(106)로부터 수시된 이번주 일요일에 대응하는 영화 스케줄의 키워드 분석 결과를 포함한 그래픽 사용자 인터페이스(520)를 표시할 수 있다.In
예를 들어, 종래의 전자 장치는 하나의 텍스트 메시지에 대한 분석 결과만을 제공하기 때문에, 텍스트 메시지(511)에 대한 "이번주 일요일"에 대한 분석 결과를 제공하기 때문에, 부정확한 정보가 제공된다. 아울러, 종래의 전자 장치는 하나의 텍스트 메시지(513)에 대한 "영화"에 대한 분석 결과를 제공하기 때문에, 부정확한 정보가 제공된다. 이와는 대조적으로, 본 발명의 다양한 실시예에 따른 전자 장치(101)는 복수 개의 텍스트 메시지에 기초한 키워드 분석 결과에 따라 동작할 수 있어, 보다 사용자 의도에 부합하는 정보를 제공할 수 있다. For example, since a conventional electronic device provides only an analysis result for one text message, it provides an analysis result for “this Sunday” for the text message (511), which results in inaccurate information. In addition, since a conventional electronic device provides an analysis result for “movie” for one text message (513), which results in inaccurate information. In contrast, an electronic device (101) according to various embodiments of the present invention can operate according to keyword analysis results based on a plurality of text messages, which results in providing information that is more in line with the user’s intention.
본 발명의 다양한 실시예에서, 서버(106)는 복수 개의 텍스트 메시지의 분석 결과 획득된 키워드가 아닌, 복수 개의 텍스트 메시지를 수신할 수도 있다. 서버(106)는 수신된 복수 개의 텍스트 메시지를 분석하여 키워드를 생성할 수도 있으며, 생성된 키워드 분석 결과를 전자 장치(101)로 송신할 수 있다. 서버(106)에서 키워드를 생성하는 과정은 전자 장치(101)에서 키워드를 생성하는 과정과 동일할 수도 있다.In various embodiments of the present invention, the server (106) may receive multiple text messages, rather than keywords obtained as a result of analyzing multiple text messages. The server (106) may analyze the received multiple text messages to generate keywords, and may transmit the generated keyword analysis results to the electronic device (101). The process of generating keywords in the server (106) may be the same as the process of generating keywords in the electronic device (101).
본 발명의 다양한 실시예에서, 전자 장치(101)는 키워드의 분석을 다른 전자 장치로 요청하지 않고, 스스로 키워드의 분석을 수행할 수도 있다. 또 다른 실시예에서, 전자 장치(101)는 키워드에 대응하는 명령을 바로 실행할 수도 있다.In various embodiments of the present invention, the electronic device (101) may perform keyword analysis on its own without requesting keyword analysis from another electronic device. In another embodiment, the electronic device (101) may directly execute a command corresponding to a keyword.
도 6은 본 발명의 다양한 실시예에 따른 텍스트 메시지 획득을 설명하기 위한 개념도를 도시한다.FIG. 6 illustrates a conceptual diagram for explaining text message acquisition according to various embodiments of the present invention.
도 6에 도시된 바와 같이, 전자 장치(101)는 복수의 사용자(601,602)로부터 발화되는 복수 개의 사용자 음성(611,612)을 획득할 수도 있다. 전자 장치(101)는, 예를 들어 마이크를 포함할 수 있으며, 마이크를 통하여 사용자 음성(611,612)을 전기적인 신호로 변환할 수 있다. 전자 장치(101)는 사용자 음성(611,612)을 TTS 처리함으로써, 사용자 음성(611,612)에 대응하는 복수 개의 텍스트 메시지를 획득할 수 있다. 전자 장치(101)는 기설정된 포우즈(pause)을 가지지 않고 연속적으로 획득된 사용자 음성을 변환한 결과를 하나의 텍스트 메시지로 처리할 수 있다. 아울러, 전자 장치(101)는 음성 지문(voiceprint)을 이용하여 사용자별로 사용자 음성을 처리할 수 있다. 예를 들어, 두 사용자(601,602)가 동시에 사용자 음성을 발화한 경우에도, 전자 장치(101)는 음성 지문을 이용하여 사용자(601,602)가 각각 발화한 사용자 음성(611,612)을 분리하여 처리할 수 있다. 예를 들어, 사용자(601,602)는 도 5a에서와 같은 "이번주 일요일에 뭐해?", "나 별 약속 없는데", "그럼 영화 볼래?", "응. 뭐 보고 싶은 거 있어?", "글쎄, 요즘 뭐하지?" 등의 내용을 가지는 사용자 음성(611,612)을 발화할 수 있다. 전자 장치(101)는 사용자 음성(611,612)을 TTS 처리함으로써, 도 5a에서와 같은 텍스트 메시지를 획득할 수 있다. 전자 장치(101)는 키워드 분석 결과 요청이 검출되면, 복수 개의 텍스트 메시지의 분석 결과를 이용한 키워드를 포함한 쿼리를 송신할 수 있으며, 쿼리에 대한 응답으로 키워드 분석 결과를 획득할 수 있다. 이에 따라, 도 6의 전자 장치(101)는, 예를 들어 도 5b에서와 같은 키워드 분석 결과를 포함하는 그래픽 사용자 인터페이스(520)를 표시할 수 있다.As illustrated in FIG. 6, the electronic device (101) may obtain multiple user voices (611, 612) spoken by multiple users (601, 602). The electronic device (101) may include, for example, a microphone, and may convert the user voices (611, 612) into electrical signals through the microphone. The electronic device (101) may obtain multiple text messages corresponding to the user voices (611, 612) by performing TTS processing on the user voices (611, 612). The electronic device (101) may process the result of converting the continuously acquired user voices without a preset pause into one text message. In addition, the electronic device (101) may process the user voices for each user by using a voiceprint. For example, even when two users (601, 602) utter user voices simultaneously, the electronic device (101) can separate and process the user voices (611, 612) uttered by the users (601, 602) respectively using voice fingerprints. For example, the users (601, 602) can utter user voices (611, 612) having contents such as “What are you doing this Sunday?”, “I don’t have any plans”, “Then do you want to watch a movie?”, “Yeah. What do you want to see?”, “Well, what are you doing these days?” as in FIG. 5a. The electronic device (101) can obtain text messages such as in FIG. 5a by performing TTS processing on the user voices (611, 612). When a request for a keyword analysis result is detected, the electronic device (101) can transmit a query including a keyword using the analysis results of a plurality of text messages, and can obtain a keyword analysis result as a response to the query. Accordingly, the electronic device (101) of FIG. 6 may display a graphical user interface (520) including keyword analysis results, such as those in FIG. 5b, for example.
상술한 바와 같이, 본 발명의 다양한 실시예에 따른 전자 장치(101)는 다양한 방식으로 복수 개의 텍스트 메시지를 획득할 수 있다.As described above, the electronic device (101) according to various embodiments of the present invention can obtain multiple text messages in various ways.
도 7a 및 7b는 본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도들을 도시한다.FIGS. 7A and 7B illustrate flowcharts for explaining a method of controlling an electronic device according to various embodiments of the present invention.
우선, 도 7a를 참조하면, 710 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지를 획득할 수 있다. 상술한 바와 같이, 전자 장치(101)는 텍스트를 포함하는 텍스트 메시지를 획득할 수 있거나 또는 사용자 음성을 TTS 처리하여 텍스트를 획득할 수 있다.First, referring to FIG. 7a, in
720 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지 각각을 자연어 분석할 수 있다. 도 8a는 본 발명의 다양한 실시예에 따른 전자 장치의 자연어 분석을 설명하기 위한 개념도를 도시한다. 전자 장치(101)는 복수 개의 텍스트 메시지(810,820,830,840,850)를 획득할 수 있다. 전자 장치(101)는 텍스트 메시지(810)를 자연어 분석하여, 텍스트 메시지(810) 내의 "이번주"(811)가 시간에 대응되는 텍스트이며, "일요일"(812)이 시간에 대응되는 텍스트이며, "에"(813)가 조사에 대응되는 텍스트이며, "뭐해"(814)가 동사에 대응되는 텍스트인 것을 판단할 수 있다. 전자 장치(101)는 다른 텍스트 메시지(820,830,840,850)에 대하여서도 자연어 분석을 수행하여, 포함된 구성 요소들(821,822,823,824,831,832,833,841,842,843,844,845,851,852,853)의 속성을 판단할 수 있다.In
730 동작에서, 전자 장치(101)는 자연어 분석 결과 및 템플릿을 이용하여 키워드를 생성할 수 있다. 본 발명의 다양한 실시예에서, 전자 장치(101)는 도 8b와 같은 템플릿(860)을 저장할 수 있다. 템플릿(860)은 적어도 하나의 항목(861)을 포함할 수 있으며, 적어도 하나의 항목(861)별로 정보(862)가 매핑될 수 있다. 예를 들어, 전자 장치(101)는 시간 항목(863), 날짜 항목(864), 장소 항목(866), 관심 대상 항목(867)을 포함하는 템플릿(860)을 저장할 수 있다. 전자 장치(101)는 자연어 분석 결과 중 템플릿(860)의 항목에 대응되는 구성 요소를 정보(862)로서 저장함으로써 키워드를 생성할 수 있다. 예를 들어, 전자 장치(101)는 시간 항목(863) 또는 날짜 항목(864)에 대응하여, 시간에 대응하는 구성 요소(811,812)를 정보(865)로써 매핑시켜 저장할 수 있다. 전자 장치(101)는 관심 대상 항목(867)에 대응하여, 목적어에 대응하는 구성 요소(832)를 정보(868)로서 매핑시켜 저장할 수 있다. 전자 장치(101)는 템플릿의 항목(861)에 매핑된 정보(862)를 이용하여 키워드를 생성할 수 있으며, 예를 들어 도 8b의 실시예에서는, "11.15. 영화"라는 키워드를 생성할 수 있다. 전자 장치(101)는, 예를 들어 "이번주 일요일"이라는 텍스트를 11.15.등의 텍스트로 치환하여 저장할 수도 있다.In
상술한 바와 같이, 본 발명의 다양한 실시예에 의한 전자 장치(101)는 템플릿(860)과의 비교 기반으로 키워드를 생성할 수 있다.As described above, the electronic device (101) according to various embodiments of the present invention can generate a keyword based on comparison with a template (860).
도 7b는 본 발명의 다양한 실시예에 따른 러닝(learning) 기반의 키워드 생성 과정을 설명하기 위한 흐름도를 도시한다. 710 동작 및 720 동작에 대하여서는 상술하였으므로, 여기에서는 설명은 생략하도록 한다. 731 동작에서, 전자 장치(101)는 자연어 분석 결과에 머신 러닝 또는 딥 러닝 알고리즘을 적용하여 키워드를 생성할 수 있다. 예를 들어, 도 8c에서와 같이, 전자 장치(101)는 미리 분석된 사용자 의도별 패턴에 대하여 머신 러닝 또는 딥 러닝 알고리즘을 적용할 수 있으며, 획득된 복수 개의 텍스트 메시지에 대하여서도 머신 러닝 또는 딥 러닝 알고리즘을 적용할 수 있다. 이에 따라, 전자 장치(101)는 대화 주제별(871) 정보(872)를 매핑시킬 수 있다. 전자 장치(101)는 사용자 의도를 추상화 레벨별로(873,874) 파악하여 정보로서 저장할 수 있다. 여기에서, 추상화 레벨이 높을수록 사용자의 의도가 명확한 것을 상정하도록 한다. 예를 들어, 전자 장치(101)는 사용자 의도가 영화 결정(875)에 있다는 것을, 텍스트 메시지(840)의 분석을 통하여 판단할 수 있다. 더욱 상세하게, 전자 장치(101)는 텍스트 메시지(810,820,830,840,850)별로 사용자 의도를 판단할 수 있다. 전자 장치(101)는 텍스트 메시지별로 파악된 사용자 의도 중 더욱 구체적으로 판단된 사용자 의도를 이용하여 키워드를 생성할 수 있다. 예를 들어, 전자 장치(101)는 텍스트 메시지(810)에서는 "이번주 일요일"이 구체적인 사용자 의도라고 판단할 수 있으며, 텍스트 메시지(830)에서는 "영화 관람"이 구체적인 사용자 의도라고 판단할 수 있다. 전자 장치(101)는 보다 구체적인 사용자 의도에 대응하는 텍스트의 판단을 머신 러닝 또는 딥 러닝을 통하여 수행할 수 있다. 전자 장치(101)는 복수 개의 텍스트에 대한 머신 러닝 또는 딥 러닝을 적용한 결과를 이용하여 키워드로 "이번주 일요일 , 영화 관람"의 키워드를 생성할 수 있다.FIG. 7b illustrates a flowchart for explaining a keyword generation process based on learning according to various embodiments of the present invention. Since
도 9는 본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도를 도시한다. 도 9의 실시예는 도 10a 내지 10d를 참조하여 더욱 상세하게 설명하도록 한다.FIG. 9 is a flowchart illustrating a method for controlling an electronic device according to various embodiments of the present invention. The embodiment of FIG. 9 will be described in more detail with reference to FIGS. 10a to 10d.
910 동작에서, 전자 장치(101)는 제 1 기간 동안 복수 개의 텍스트 메시지를 획득할 수 있다. 915 동작에서, 전자 장치(101)는 제 1 기간 동안의 복수 개의 텍스트 메시지 분석 결과를 이용한 제 1 키워드를 획득할 수 있다. 920 동작에서, 전자 장치(101)는 제 1 키워드를 포함한 쿼리를 송신할 수 있다. 925 동작에서, 전자 장치(101)는 제 1 키워드의 분석 결과를 수신하고, 제 1 키워드의 분석 결과를 이용하여 동작할 수 있다. 도 10a는 본 발명의 다양한 실시예에 의한 전자 장치(101)의 개념도를 도시하며, 예를 들어, 도 5a 이후의 그래픽 사용자 인터페이스를 표시하는 것을 상정하도록 한다. 전자 장치(101)는 제 1 키워드인 "이번주 일요일, 영화"의 분석 결과로, 현재 인기 영화 순위를 포함하는 그래픽 사용자 인터페이스(1011)를 표시할 수 있다. 더욱 상세하게, 전자 장치(101)는 제 1 키워드인 "이번주 일요일, 영화"를 포함한 쿼리를 송신할 수 있으며, 쿼리에 대한 응답으로 현재 인기 영화 순위에 대한 정보를 수신하여, 표시할 수 있다.In
930 동작에서, 전자 장치(101)는 제 2 기간 동안 복수 개의 텍스트 메시지를 획득할 수 있다. 여기에서, 제 1 기간 및 제 2 기간은 키워드 분석 요청 또는 키워드 분석 결과에 기초하여 동작을 기점으로 구분될 수 있다. 예를 들어, 도 10a에서와 같이, 전자 장치(101)는 키워드 분석 결과에 대응하는 그래픽 사용자 인터페이스(1011) 표시 이후에, 복수 개의 텍스트 메시지(1012,1013)를 획득할 수 있다. 전자 장치(101)는 복수 개의 텍스트 메시지(1012,1013)를 채팅 어플리케이션 실행 화면(1010)에 표시할 수 있다.In
935 동작에서, 전자 장치(101)는 제 2 기간 동안의 복수 개의 텍스트 메시지 분석 결과를 이용한 제 2 키워드를 획득할 수 있다. 예를 들어, 전자 장치(101)는 템플릿 기반으로 제 2 키워드를 획득할 수 있다. 전자 장치(101)는 제 2 키워드를 제 2 기간 동안의 복수 개의 텍스트 메시지로부터 독립적으로 획득할 수도 있으나, 본 발명의 다양한 실시예에 의한 전자 장치(101)는 제 1 기간 동안의 복수 개의 텍스트 메시지 및 제 2 기간 동안의 복수 개의 텍스트 메시지에 기초하여 제 2 키워드를 획득할 수도 있다. 또는, 전자 장치(101)는 제 1 키워드와 제 2 기간 동안의 복수 개의 텍스트 메시지에 기초하여 제 2 키워드를 획득할 수도 있다. 도 10b는 본 발명의 다양한 실시예에 의한 키워드 생성을 설명하기 위한 개념도를 도시한다. 전자 장치(101)는 템플릿(1060)의 항목(1061)별 정보(1062)를 기초로 제 2 키워드를 생성할 수 있다. 예를 들어, 전자 장치(101)는 제 1 기간 동안의 텍스트 메시지에 기초하여, 날짜 항목(1065)의 11월 15일의 정보(1066)와, 관심 대상 항목(1069)의 영화의 정보(1070)를 획득할 수 있다. 한편, 전자 장치(101)는 제 2 기간 동안의 텍스트 메시지에 기초하여 시간 항목(1063)의 오전의 정보(1064)와 장소 항목(1067)의 강남의 정보(1068) 그리고 관심 대상 항목(1069)의 전화벨, 예약의 정보(1070)를 획득할 수 있다. 전자 장치(101)가 제 2 기간 동안의 텍스트 메시지에 기초하여 정보를 획득하는 방법은, 제 1 기간 동안의 정보 획득 방법과 동일할 수 있으며, 이에 대하여서는 상술하였기 때문에 여기에서의 설명은 생략하도록 한다. 도 10b의 실시예에서, 전자 장치(101)는, "11월 15일, 오전, 강남, 영화, 전화벨, 예약"이라는 제 2 키워드를 생성할 수 있다. 또 다른 실시예에서는, 전자 장치(101)는 제 2 기간 동안의 텍스트 메시지 분석 결과에 기초하여, "오전, 강남, 전화벨, 예약"이라는 키워드를 생성한 이후에, 제 1 기간의 제 1 키워드인 "11.15., 영화"와 결합함으로써, "11월 15일, 오전, 강남, 영화, 전화벨, 예약"이라는 제 2 키워드를 생성할 수도 있다.In
940 동작에서, 전자 장치(101)는 제 2 키워드를 포함한 쿼리를 송신할 수 있다. 945 동작에서, 전자 장치(101)는 제 2 키워드의 분석 결과를 수신하고, 제 2 키워드의 분석 결과를 이용하여 동작할 수 있다. 전자 장치(101)는, 예를 들어 "11월 15일, 오전, 강남, 영화, 전화벨, 예약"이라는 제 2 키워드를 포함하는 쿼리를 송신하고, 이에 대응한 분석 결과를 수신할 수 있다. 전자 장치(101)는 수신된 분석 결과를 포함하는 그래픽 사용자 인터페이스(1071)를, 예를 들어 도 10c와 같이 표시할 수 있다. 예를 들어, 그래픽 사용자 인터페이스(1071)는 영화 예매 사이트의 예약 화면(1072)으로의 하이퍼링크를 포함할 수도 있다.In
전자 장치(101)는 제 2 기간 이후에, 제 3 기간 동안에 복수 개의 텍스트 메시지(1072,1073)를 더 획득할 수도 있으며, 획득된 복수 개의 텍스트 메시지(1072,1073)를 표시할 수도 있다. 전자 장치(101)는 제 3 기간 동안의 텍스트 메시지(1072,1073)를 분석하여, 제 3 키워드를 생성할 수 있다. 예를 들어, 전자 장치(101)는 제 3 키워드 분석 결과로, 도 10d와 같은 키워드를 생성할 수 있다. 도 10d를 참조하면, 제 3 기간 동안의 텍스트 메시지(1072,1073)와, 제 1 및 제 2 기간 동안의 텍스트 메시지를 이용하여, 관심 대상 항목(1069)의 "11월 15일, 오전, 강남, 영화, 전화벨, B1, B2, 예약"이라는 제 3 키워드를 생성할 수도 있다. 전자 장치(101)는 제 3 키워드의 분석 요청에 대응하는 그래픽 사용자 인터페이스(1074)의 지정이 검출되면, 제 3 키워드를 포함한 쿼리를 송신할 수 있다. 서버(미도시)는 제 3 키워드를 처리하여, 11월 15일 오전에, 강남점 영화 전화벨 B1, B2의 예약을 수행할 수 있으며, 수행 결과를 응답으로서 전자 장치(101)로 송신할 수 있다. 전자 장치(101)는 수신된 응답, 즉 예약이 완료되었다는 취지의 메시지(1075)를 표시할 수 있다.The electronic device (101) may obtain a plurality of text messages (1072, 1073) during a third period after the second period, and may display the obtained plurality of text messages (1072, 1073). The electronic device (101) may analyze the text messages (1072, 1073) during the third period to generate a third keyword. For example, the electronic device (101) may generate a keyword as shown in FIG. 10d as a result of the third keyword analysis. Referring to FIG. 10d, the text messages (1072, 1073) during the third period and the text messages during the first and second periods may be used to generate a third keyword of "November 15, morning, Gangnam, movie, phone ring, B1, B2, reservation" of the target item of interest (1069). When the electronic device (101) detects the designation of the graphical user interface (1074) corresponding to the request for analysis of the third keyword, the electronic device (101) can transmit a query including the third keyword. The server (not shown) can process the third keyword, perform reservation of the Gangnam branch movie phone bell B1, B2 on the morning of November 15, and transmit the result of the reservation as a response to the electronic device (101). The electronic device (101) can display the received response, i.e., a message (1075) indicating that the reservation is complete.
상술한 바와 같이, 본 발명의 다양한 실시예에 의한 전자 장치(101)는 하나의 기간이 아닌 복수의 기간 각각 동안에서 획득된 복수 개의 텍스트 메시지를 분석함으로써, 복수의 기간 각각에 대응하는 복수의 키워드를 생성할 수 있다. 전자 장치(101)는 하나의 기간에 대응하는 키워드를 생성하는 경우, 해당 기간이 아닌 다른 기간에 대응하는 텍스트 메시지 또는 키워드를 참조할 수도 있다.As described above, the electronic device (101) according to various embodiments of the present invention can generate multiple keywords corresponding to each of the multiple periods by analyzing multiple text messages acquired during each of multiple periods rather than a single period. When the electronic device (101) generates a keyword corresponding to one period, it can also refer to text messages or keywords corresponding to other periods rather than the corresponding period.
도 11은 본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도를 도시한다.FIG. 11 illustrates a flowchart for explaining a method of controlling an electronic device according to various embodiments of the present invention.
1110 동작에서, 전자 장치(101)는 채팅 어플리케이션 실행 화면을 표시할 수 있다. 1120 동작에서, 전자 장치(101)는 채팅 어플리케이션에 할당되는 복수 개의 텍스트를 표시할 수 있다. 예를 들어, 채팅 어플리케이션 실행 화면은, 전자 장치(101)에 입력된 텍스트 메시지와 다른 전자 장치로부터 수신된 텍스트 메시지를 하나의 화면에 표시하도록 구성될 수 있다. 채팅 어플리케이션은, 전자 장치(101)에 입력된 텍스트 메시지를 어느 하나의 측에 배치하고, 다른 전자 장치로부터 수신된 텍스트 메시지를 다른 측에 배치하도록 구성하여, 사용자로 하여금 자신이 입력한 텍스트 메시지와 상대방이 입력한 텍스트 메시지의 구분을 용이하도록 할 수 있다.In
1130 동작에서, 전자 장치(101)는 복수 개의 텍스트에 대한 분석 요청 아이콘을 표시할 수 있다. 1140 동작에서, 전자 장치(101)는 복수 개의 텍스트에 대한 분석 요청 아이콘의 지정을 검출할 수 있다. 전자 장치(101)는 텍스트에 대한 분석 요청 아이콘을 표시한 후, 해당 아이콘이 지정되면 텍스트에 대한 분석 요청을 수행할 수 있다. 또 다른 실시예에서, 전자 장치(101)는 텍스트에 대한 분석을 요청하는 텍스트가 입력되면, 입력된 텍스트를 표시하면서, 텍스트에 대한 분석 요청을 수행할 수 있다.In operation 1130, the electronic device (101) may display an analysis request icon for a plurality of texts. In
1150 동작에서, 전자 장치(101)는 복수 개의 텍스트에 대한 분석을 수행하여 키워드를 생성할 수 있다. 1160 동작에서, 전자 장치(101)는 키워드를 송신할 수 있다. 1170 동작에서, 전자 장치(101)는 키워드 분석 결과를 수신할 수 있다. 1180 동작에서, 전자 장치(101)는 키워드 분석 결과를 채팅 어플리케이션 실행 화면 상에 표시할 수 있다.In
도 12a 및 12b는 본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도를 도시한다.FIGS. 12a and 12b illustrate flowcharts for explaining a method of controlling an electronic device according to various embodiments of the present invention.
1210 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지를 획득할 수 있다. 1215 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지 분석 결과를 이용한 키워드를 획득할 수 있다. 1210 동작 및 1215 동작에 대하여서는, 상세하게 설명하였기 때문에, 여기에서의 더 이상의 설명은 생략하도록 한다.In operation 1210, the electronic device (101) can obtain a plurality of text messages. In
1220 동작에서, 전자 장치(101)는 획득된 키워드 및 수신자 정보를 포함한 쿼리를 송신할 수 있다. 도 13은 본 발명의 다양한 실시예에 따른 전자 장치의 개념도를 도시한다. 도 13에 도시된 바와 같이, 전자 장치(101)는 복수 개의 텍스트메시지(1311 내지 1315)에 대한 분석을 수행하기 위한 수신자에 대한 정보를 입력받아, 입력된 정보(1316)를 표시할 수 있다. 예를 들어, 사용자는 복수 개의 텍스트 메시지(1311 내지 1315)에 대한 분석의 수행을 "A극장"으로 하여금 수행하기를 원할 수 있으며, 이에 따라 수신자 정보를 포함한 텍스트 메시지를 정보(1316)로서 입력할 수 있다. 전자 장치(101)는 사용자의 확인을 위하여 입력된 정보(1316)를 채팅 어플리케이션 화면(1310) 상에 표시할 수 있다.In
1225 동작에서, 서버(106)는 수신자 정보를 확인할 수 있다. 1230 동작에서, 서버(106)는 수신자 정보에 대응되는 수신자 서버(1200)로 키워드를 포함한 쿼리를 송신할 수 있다. 본 발명의 다양한 실시예에 의한 서버(106)는 수신자 정보에 대한 데이터베이스를 미리 저장할 수 있으며, 데이터베이스를 이용하여 키워드를 포함한 쿼리를 포워딩할 수 있다. 서버(106)는 전자 장치(101)로부터 시맨틱 형태의 수신자 정보와, 수신자의 식별자를 매핑한 데이터베이스를 저장할 수 있으며, 이에 따라 다양한 형태의 수신자 정보를 특정한 수신자 서버와 매핑할 수 있다. 예를 들어, 사용자가 입력한 수신자 정보가, "A극장"이 아닌, "A", "A영화관" 등 다양한 형태로 입력되어 수신된 경우에도, 서버(106)는 수신자 정보를 "A 극장"으로 결정하여, "A 극장"의 수신자 서버(1200)로 쿼리를 포워딩할 수 있다.In
1235 동작에서, 수신자 서버(1200)는 쿼리에 포함된 키워드를 분석할 수 있다. 1240 동작에서, 수신자 서버(1200)는 키워드 분석 결과를 포함한 응답을 서버(106)로 송신할 수 있다. 본 발명의 다양한 실시예에서, 서버(106)는 쿼리와 전자 장치(101)의 식별 정보를 함께 수신자 서버(1200)로 송신할 수도 있으며, 이 경우에는 수신자 서버(1200)는 키워드 분석 결과를 서버(106)의 중계없이 곧바로 전자 장치(101)로 송신할 수도 있다.In
1245 동작에서, 서버(106)는 키워드 분석 결과에 대응하는 UI를 생성할 수 있다. 1250 동작에서, 서버(106)는 UI를 포함하는 응답을 전자 장치(101)로 송신할 수 있다. 본 발명의 다양한 실시예에서, 서버(106)는 키워드 분석 결과를 곧바로 전자 장치(101)로 송신할 수도 있다.In
1255 동작에서, 전자 장치(101)는 응답에 포함된 UI를 표시할 수 있다. 1260 동작에서, 전자 장치(101)는 UI를 통하여 사용자 입력을 획득할 수 있다. 1265 동작에서, 전자 장치(101)는 사용자 입력에 대응하는 명령을 서버(106)의 중계를 통하거나 또는 곧바로 수신자 서버(1200)로 송신할 수 있다. 1270 동작에서, 수신자 서버(1200)는 수신된 명령에 대응하여 동작할 수 있다.In operation 1255, the electronic device (101) can display a UI included in the response. In operation 1260, the electronic device (101) can obtain a user input through the UI. In
도 14는 본 발명의 다양한 실시예에 따른 수신자 서버를 설명하기 위한 개념도를 도시한다.FIG. 14 illustrates a conceptual diagram for explaining a receiver server according to various embodiments of the present invention.
하나의 실시예에서, 전자 장치(101)는 수신자 정보 및 키워드(1401)를 서버(106)로 송신할 수 있다. 서버(106)는 수신자 정보 데이터베이스의 예시인 상점 리스트 데이터베이스(1410)를 저장할 수 있다. 상점 리스트 데이터베이스(1410)는 수신자 정보, 예를 들어 수신자에 대응하는 텍스트와 상점의 식별자를 매핑하여 저장할 수 있다. 예를 들어, 서버(106)는 표 1과 같은 상점 리스트 데이터베이스를 저장할 수 있다.In one embodiment, the electronic device (101) may transmit recipient information and keywords (1401) to the server (106). The server (106) may store a store list database (1410), which is an example of a recipient information database. The store list database (1410) may store recipient information, for example, a text corresponding to the recipient, by mapping it to an identifier of a store. For example, the server (106) may store a store list database such as Table 1.
표 1과 같이, 서버(106)는 시맨틱과 같은 텍스트와 식별자를 매핑하여 저장할 수 있다. 이에 따라, 전자 장치(101)로부터 예를 들어 "A 영화"의 수신자 정보가 키워드와 함께 수신되면, 서버(106)는 A 극장의 수신자 서버로 키워드를 포함한 쿼리를 송신할 수 있다. 한편, 소상공인들은 개별 서버를 운영하는데 어려움을 가질 수도 있으며, 이에 따라 소상공인들의 연합한 소상공인 통합 서버를 운영할 수도 있다.As shown in Table 1, the server (106) can store text and identifiers such as semantics by mapping them. Accordingly, when the recipient information of, for example, “Movie A” is received from the electronic device (101) along with a keyword, the server (106) can transmit a query including the keyword to the recipient server of Theater A. Meanwhile, small business owners may have difficulty in operating individual servers, and thus, a small business owner integrated server may be operated by a union of small business owners.
본 발명의 다양한 실시예에서, 소상공인 통합 서버(1420)는 예약 관리 서버(1421), 고객 계정 서버(1422), 상점 계정 서버(1423) 및 상점별 정보 데이터베이스(1424)를 포함할 수 있다. 예약 관리 서버(1421)는 쿼리에 예약 정보가 포함된 경우에, 예약을 수행할 수 있다. 고객 계정 서버(1422)는, 고객별 계정을 관리할 수 있다. 상점 계정 서버(1423)는 상점 관리자별 계정을 관리할 수 있다. 상점별 정보 데이터베이스(1424)는 가입된 상점의 개별 정보를 저장할 수 있다.In various embodiments of the present invention, the small business integration server (1420) may include a reservation management server (1421), a customer account server (1422), a store account server (1423), and a store-specific information database (1424). The reservation management server (1421) may perform a reservation when reservation information is included in a query. The customer account server (1422) may manage customer-specific accounts. The store account server (1423) may manage store manager-specific accounts. The store-specific information database (1424) may store individual information of registered stores.
본 발명의 다양한 실시예에서, 회사별 서버(1430)는 개별 수신자 서버로 구현될 수 있다. 회사별 서버(1430)는 예약 관리 서버(1431), 고객 계정 서버(1432) 및 상점 정보 데이터베이스(1433)를 포함할 수 있다.In various embodiments of the present invention, the company server (1430) may be implemented as an individual recipient server. The company server (1430) may include a reservation management server (1431), a customer account server (1432), and a store information database (1433).
소상공인 통합 서버(1420) 또는 회사별 서버(1430)는 쿼리에 포함된 키워드를 분석 또는 처리할 수 있다. 또는, 소상공인 통합 서버(1420) 또는 회사별 서버(1430)는 분석 결과 또는 처리 결과를 전자 장치(101)로 송신할 수도 있다.The small business integrated server (1420) or the company server (1430) can analyze or process keywords included in the query. Alternatively, the small business integrated server (1420) or the company server (1430) can transmit the analysis result or the processing result to the electronic device (101).
도 15는 본 발명의 다양한 실시예에 의한 전자 장치의 제어 방법을 설명하기 위한 흐름도를 도시한다.FIG. 15 illustrates a flowchart for explaining a method of controlling an electronic device according to various embodiments of the present invention.
1510 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지를 획득할 수 있다. 1520 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지 각각을 자연어 분석할 수 있다. 1530 동작에서, 전자 장치(101)는 추가 정보를 획득할 수 있다. 여기에서, 추가 정보는, 텍스트 메시지의 획득 경로 이외의 다른 경로를 통하여 획득될 수 있는 모든 정보를 지칭할 수 있다. 예를 들어, 전자 장치(101)는 텍스트 메시지를 획득하는 어플리케이션과 다른 어플리케이션으로부터의 정보를 포함할 수 있다.In
1540 동작에서, 전자 장치(101)는 자연어 분석 결과, 추가 정보 및 템플릿을 이용하여 키워드를 생성할 수 있다. 1550 동작에서, 전자 장치(101)는 획득된 키워드를 포함한 쿼리를 송신할 수 있다. 1560 동작에서, 전자 장치(101)는 키워드 분석 결과를 수신할 수 있다. 1570 동작에서, 전자 장치(101)는 키워드 분석 결과를 이용하여 동작할 수 있다.In
이하에서는, 다양한 추가 정보를 이용한 키워드 생성에 대하여, 도 16a 내지 16c를 참조하여 더욱 상세하게 설명하도록 한다.Below, keyword generation using various additional information will be described in more detail with reference to FIGS. 16a to 16c.
도 16a 내지 16c는 본 발명의 다양한 실시예에 따른 추가 정보를 더 이용한 키워드 생성을 설명하기 위한 흐름도를 도시한다. 도 16a 내지 16c는 도 17a 내지 17d를 참조하여 더욱 상세하게 설명하도록 한다. 도 17a 내지 17d는 본 발명의 다양한 실시예에 따른 추가 정보를 더 이용한 키워드 생성을 설명하기 위한 개념도를 도시한다.FIGS. 16A to 16C illustrate flowcharts for explaining keyword generation using additional information according to various embodiments of the present invention. FIGS. 16A to 16C will be described in more detail with reference to FIGS. 17A to 17D. FIGS. 17A to 17D illustrate conceptual diagrams for explaining keyword generation using additional information according to various embodiments of the present invention.
도 16a를 참조하면, 1610 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지를 획득할 수 있다. 1620 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지 각각을 자연어 분석할 수 있다. 예를 들어, 도 17a에서와 같이, 전자 장치(101)는 채팅 어플리케이션을 실행하여, 채팅 어플리케이션 실행 화면(1710)을 디스플레이(160)에 표시할 수 있다. 전자 장치(101)는 획득된 복수의 텍스트 메시지(1711 내지 1714)를 표시할 수 있다. 본 발명의 다양한 실시예에서, 텍스트 메시지 분석 요청은, 텍스트 메시지(1714)로서 입력될 수도 있다. 텍스트 메시지(1714)의 "@"의 텍스트는 수신자 정보를 나타내는 것으로 기설정될 수 있다.Referring to FIG. 16A, in
1630 동작에서, 전자 장치(101)는 추가 정보로서 사용자 일정 정보를 획득할 수 있다. 예를 들어, 전자 장치(101)는 일정 관리 어플리케이션으로부터 사용자 일정 정보를 획득할 수 있다. 전자 장치(101)는 일정 관리 어플리케이션으로부터 수신된 사용자 일정 정보를 이용하여, 사용자가 일정을 가지지 않은 일자 및 시간을 확인할 수 있다. 예를 들어, 전자 장치(101)는 사용자가 일정을 가지지 않은 일자 및 시간이 11.20, 11.21., 11.22.의 오전 10:00~11:00라는 정보를 획득할 수 있다. In
또는, 도 16b에서와 같이, 1631 동작에서, 전자 장치(101)는 추가정보로서 사용자 위치 정보를 획득할 수 있다. 예를 들어, 전자 장치(101)는 GPS 관리 어플리케이션으로부터 사용자 위치 정보를 획득할 수 있다. 예를 들어, 전자 장치(101)는 사용자 위치가 서울시 강남구인 것을 확인할 수 있다. 또는, 전자 장치(101)는 사용자 위치 히스토리를 획득하여, 사용자가 일정을 가지지 않은 일자의 요일에 사용자의 위치가 서울시 강남구인 것을 확인할 수도 있다.Alternatively, as in FIG. 16b, in
1640 동작에서, 전자 장치(101)는 자연어 분석 결과, 사용자 일정 정보 및 템플릿을 이용하여 키워드를 생성할 수 있다. 또는, 도 16b에서의 1641 동작에서, 전자 장치(101)는 자연어 분석 결과, 사용자 위치 정보 및 템플릿을 이용하여 키워드를 생성할 수 있다. 예를 들어, 도 17b에서와 같이, 전자 장치(101)는 텍스트 메시지 분석 결과로 템플릿(1720) 내의 항목(1721)의 관심 대상 항목에서, "여드름 제거, 여드름 치료"를 획득할 수 있다. 전자 장치(101)는 추가 정보를 이용하여, 항목(1721)의 시간, 날짜, 장소에 대한 정보(1722)를 획득할 수 있다.In
1650 동작에서, 전자 장치(101)는 획득된 키워드를 포함한 쿼리를 송신할 수 있다. 1660 동작에서, 전자 장치(101)는 키워드 분석 결과를 수신할 수 있다. 1670 동작에서, 전자 장치(101)는 키워드 분석 결과를 이용하여 동작할 수 있다. 예를 들어, 전자 장치(101)는 도 17c에서와 같이, B 피부과에 대한 예약 가능 스케줄을 포함한 키워드 분석 결과(1715)를 수신하여 표시할 수 있다. 키워드 분석 결과(1715)는, 예를 들어 예약을 위한 하이퍼링크(1716)를 포함할 수도 있다.In
도 16c를 참조하면, 1610 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지를 획득할 수 있다. 1620 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지 각각을 자연어 분석할 수 있다.Referring to FIG. 16c, in
1632 동작에서, 전자 장치(101)는 자연어 분석 결과와 연관된 히스토리를 획득할 수 있다. 예를 들어, 전자 장치(101)는 자연어 분석 결과로, 도 8b에서와 같이, "11.15, 영화"라는 키워드를 획득할 것을 상정하도록 한다. 전자 장치(101)는 "11.15"라는 키워드와 연관된 히스토리로서, 일요일에 사용자가 오전 11시 내지 오후 3시에 여유 시간을 가지며, 서울시 강남구에 주로 있다는 히스토리를 획득할 수 있다. 아울러, "영화"라는 키워드와 연관된 히스토리로서, 사용자가 주로 액션 영화를 관람하였다는, 영화 예매 히스토리를 획득할 수 있다.In
1642 동작에서, 전자 장치(101)는 자연어 분석 결과, 획득된 히스토리 및 템플릿을 이용하여 키워드를 생성할 수 있다. 예를 들어, 도 17d에서와 같이, 전자 장치(101)는 시간 항목(863), 날짜 항목(864), 장소 항목(866), 관심 대상 항목(867) 각각에 대하여, 히스토리인 오전 11시~오후 3시의 정보(1761), 서울시 강남구의 정보(1762) 및 액션 영화(1763)의 정보(1763)를 획득할 수 있다. 이에 따라, 전자 장치(101)는 "11.15. 오전 11시~오후 3시, 서울시 강남구, 영화, 액션 영화"라는 키워드를 생성할 수 있다. 1650 동작에서, 전자 장치(101)는 획득된 키워드를 포함한 쿼리를 송신할 수 있다. 1660 동작에서, 전자 장치(101)는 키워드 분석 결과를 수신할 수 있다. 1670 동작에서, 전자 장치(101)는 키워드 분석 결과를 이용하여 동작할 수 있다.In
상술한 바와 같이, 본 발명의 다양한 실시예에 의한 전자 장치(101)는 텍스트 분석 결과뿐만 아니라, 사용자의 일정 정보, 사용자 위치 정보 또는 텍스트 분석 결과와 연관된 히스토리 등의 다양한 추가 정보를 더 이용하여 키워드를 생성할 수도 있다.As described above, the electronic device (101) according to various embodiments of the present invention may generate keywords by using not only text analysis results, but also various additional information such as user schedule information, user location information, or history associated with the text analysis results.
도 18은 본 발명의 다양한 실시예에 따른 IoT(internet of things) 환경에서의 전자 장치의 동작을 설명하기 위한 개념도를 도시한다. FIG. 18 illustrates a conceptual diagram for explaining the operation of an electronic device in an IoT (internet of things) environment according to various embodiments of the present invention.
도 18에 도시된 바와 같이, 전자 장치(101)는 다른 전자 장치(1820)와 통신을 수행할 수 있다. IoT 환경에서, 전자 장치(101) 및 다른 전자 장치(1820) 각각은 Ipv4 또는 Ipv6 등 다양한 형식에 따른 IP 주소를 부여받을 수 있으며, 다양한 형태의 근거리 통신(예를 들어, 블루투스(bluetooth), 블루투스-저에너지(bluetooth low energy), 지그비(Zig-bee), NFC(near field communication), 적외선 통신)과 부여된 IP 주소를 이용하여 데이터를 송수신할 수 있다. 또는, 전자 장치(101)는 IP 주소를 이용하지 않고, 다양한 통신 방식에 근거하여 다른 전자 장치(1820)와 데이터를 송수신할 수도 있다.As illustrated in FIG. 18, the electronic device (101) can communicate with another electronic device (1820). In an IoT environment, each of the electronic device (101) and the other electronic device (1820) can be assigned an IP address according to various formats such as IPv4 or IPv6, and can transmit and receive data using various forms of short-range communication (e.g., Bluetooth, Bluetooth low energy, Zig-bee, NFC (near field communication), infrared communication) and the assigned IP address. Alternatively, the electronic device (101) can transmit and receive data with the other electronic device (1820) based on various communication methods without using an IP address.
본 발명의 다양한 실시예에서, 전자 장치(101)는 외부 음성을 획득할 수 있는 마이크, 다른 전자 장치(1820)와 근거리 통신을 수행할 수 있는 근거리 통신 모듈 및 셀룰러 모듈을 포함할 수 있다. 전자 장치(101)는 인물(1801,1802)들로부터 발화된 사용자 음성(1811,1812)을 마이크 등을 통하여 획득할 수 있다.In various embodiments of the present invention, the electronic device (101) may include a microphone capable of acquiring external voices, a short-range communication module capable of performing short-range communication with another electronic device (1820), and a cellular module. The electronic device (101) may acquire user voices (1811, 1812) spoken by persons (1801, 1802) through a microphone, etc.
전자 장치(101)는 사용자 음성(1811,1812)을 TTS 처리함으로써, 사용자 음성(1811,1812)에 대응하는 복수 개의 텍스트 메시지를 획득할 수 있다. 전자 장치(101)는 기설정된 중단 시간(pause)을 가지지 않고 연속적으로 획득된 사용자 음성을 변환한 결과를 하나의 텍스트 메시지로 처리할 수 있다. 아울러, 전자 장치(101)는 음성 지문을 이용하여 사용자별로 사용자 음성을 처리할 수 있다. 예를 들어, 두 사용자(1801,1802)가 동시에 사용자 음성을 발화한 경우에도, 전자 장치(101)는 음성 지문을 이용하여 사용자(1801,1802)가 각각 발화한 사용자 음성(611,612)을 분리하여 처리할 수 있다. 예를 들어, 사용자(1801,1802)는 도 5a에서와 같은 "이번주 일요일에 뭐해?", "나 별 약속 없는데", "그럼 영화 볼래?", "응. 뭐 보고 싶은 거 있어?", "글쎄, 요즘 뭐하지?" 등의 내용을 가지는 사용자 음성(1811,1812)을 발화할 수 있다. 전자 장치(101)는 사용자 음성(1811,1812)을 TTS 처리함으로써, 도 5a에서와 같은 텍스트 메시지를 획득할 수 있다. 전자 장치(101)는 키워드 분석 결과 요청이 검출되면, 복수 개의 텍스트 메시지의 분석 결과를 이용한 키워드를 포함한 쿼리를 셀룰러 모듈을 통하여 송신할 수 있으며, 쿼리에 대한 응답으로 키워드 분석 결과를 획득할 수 있다.The electronic device (101) can obtain multiple text messages corresponding to the user voices (1811, 1812) by TTS processing the user voices (1811, 1812). The electronic device (101) can process the result of converting the continuously obtained user voices without a preset pause as a single text message. In addition, the electronic device (101) can process the user voices for each user by using voice fingerprints. For example, even when two users (1801, 1802) utter user voices simultaneously, the electronic device (101) can separate and process the user voices (611, 612) uttered by the users (1801, 1802) respectively by using voice fingerprints. For example, users (1801, 1802) can utter user voices (1811, 1812) having contents such as "What are you doing this Sunday?", "I don't have any plans", "Then do you want to see a movie?", "Yeah. What do you want to see?", "Well, what are you doing these days?" as in FIG. 5a. The electronic device (101) can obtain text messages such as in FIG. 5a by TTS processing the user voices (1811, 1812). When a request for keyword analysis results is detected, the electronic device (101) can transmit a query including keywords using analysis results of multiple text messages through the cellular module, and can obtain keyword analysis results as a response to the query.
전자 장치(101)는 키워드 분석 결과를 다른 전자 장치(1820)로 근거리 통신 모듈을 통하여 송신(1825)할 수 있다. 다른 전자 장치(1820)는 전자 장치(101)로부터 수신한 키워드 분석 결과(1830)를 표시할 수 있다.The electronic device (101) can transmit (1825) the keyword analysis result to another electronic device (1820) via a short-range communication module. The other electronic device (1820) can display the keyword analysis result (1830) received from the electronic device (101).
또 다른 실시예에서, 전자 장치(101)는 키워드의 분석을 직접 수행할 수도 있으며, 직접 수행한 키워드 분석 결과를 다른 전자 장치(1820)로 송신(1825)할 수도 있다.In another embodiment, the electronic device (101) may directly perform keyword analysis and transmit (1825) the directly performed keyword analysis results to another electronic device (1820).
상술한 바와 같이, 전자 장치(101)는 수신된 키워드 분석 결과를 다른 전자 장치(1820)로 송신하는 것과 같이 동작할 수도 있다.As described above, the electronic device (101) may also operate as if transmitting the received keyword analysis results to another electronic device (1820).
도 19는 본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도를 도시한다.FIG. 19 illustrates a flowchart for explaining a method of controlling an electronic device according to various embodiments of the present invention.
1910 동작에서, 전자 장치(101)는 제 1 기간 동안 복수 개의 음성을 획득할 수 있다. 1920 동작에서, 전자 장치(101)는 획득된 복수 개의 음성을 변환하여 복수 개의 텍스트 메시지를 획득할 수 있다. 1930 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지 분석 결과를 이용한 키워드를 획득할 수 있다.In
1940 동작에서, 전자 장치(101)는 키워드를 포함한 쿼리를 송신할 수 있다. 1950 동작에서, 전자 장치(101)는 쿼리의 분석 결과를 획득할 수 있다. 1960 동작에서, 전자 장치(101)는 분석 결과를 출력하거나 또는 출력 가능한 다른 전자 장치로 송신할 수 있다.In
도 20은 본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도를 도시한다. 도 20의 실시예는 도 21a 및 21b를 참조하여 더욱 상세하게 설명하도록 한다. 도 21a 및 21b는 본 발명의 다양한 실시예에 따른 단일 사용자로부터의 사용자 음성을 처리하는 과정을 설명하기 위한 개념도를 도시한다.FIG. 20 is a flowchart illustrating a method of controlling an electronic device according to various embodiments of the present invention. The embodiment of FIG. 20 will be described in more detail with reference to FIGS. 21a and 21b. FIGS. 21a and 21b illustrate conceptual diagrams illustrating a process of processing a user voice from a single user according to various embodiments of the present invention.
2010 동작에서, 전자 장치(101)는 제 1 기간 동안 복수 개의 사용자의 음성을 획득할 수 있다. 예를 들어, 전자 장치(101)는 도 21에서와 같이, 제 1 기간 내의 제 1 시점(t1), 제 2 시점(t2) 및 제 3 시점(t3) 각각에서 사용자 음성(2101,2102,2103)을 획득할 수 있다. 사용자 음성(2101,2102,2103)은 단일 사용자(2100)로부터 발화될 수 있다. 한편, 도 21에서 전자 장치(101)는 손목시계형 웨어러블 장치로 구현될 수 있다.In operation 2010, the electronic device (101) can acquire voices of multiple users during a first period. For example, the electronic device (101) can acquire user voices (2101, 2102, 2103) at each of a first time point (t1), a second time point (t2), and a third time point (t3) within the first period, as shown in FIG. 21. The user voices (2101, 2102, 2103) can be uttered by a single user (2100). Meanwhile, the electronic device (101) in FIG. 21 can be implemented as a wristwatch-type wearable device.
2020 동작에서, 전자 장치(101)는 획득된 복수 개의 음성 각각을 변환하여 복수 개의 텍스트 메시지를 획득할 수 있다. 전자 장치(101)는 복수 개의 텍스트 메시지 중, 기설정된 텍스트(예를 들어, @)가 포함된 경우, 해당 텍스트 메시지를 텍스트 메시지 분석 요청으로 판단할 수 있다. 텍스트 메시지 분석 요청이 검출되면, 2030 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지 분석 결과를 이용한 키워드를 획득할 수 있다. 2040 동작에서, 전자 장치(101)는 키워드를 포함한 쿼리를 송신할 수 있으며, 키워드 분석 결과를 수신하여 표시할 수 있다. 예를 들어, 도 21b에서와 같이, 전자 장치(101)는 키워드 분석 결과(2110)를 디스플레이(160) 상에 표시할 수 있다. 한편, 손목시계형 웨어러블 장치로 구현된 경우, 전자 장치(101)는 셀룰러 모듈을 통하여 바로 서버(미도시)와 쿼리 송신 및 분석 결과 수신을 수행할 수도 있거나 또는, 근거리 통신을 통하여 다른 전자 장치(예를 들어, 스마트폰)의 중계를 통하여 쿼리 송신 및 분석 결과 수신을 수행할 수도 있다.In operation 2020, the electronic device (101) may convert each of the acquired plurality of voices to acquire a plurality of text messages. If a preset text (for example, @) is included among the plurality of text messages, the electronic device (101) may determine the corresponding text message as a text message analysis request. If the text message analysis request is detected, in operation 2030, the electronic device (101) may acquire a keyword using the analysis results of the plurality of text messages. In operation 2040, the electronic device (101) may transmit a query including a keyword, and may receive and display the keyword analysis result. For example, as in FIG. 21b, the electronic device (101) may display the keyword analysis result (2110) on the display (160). Meanwhile, when implemented as a wristwatch-type wearable device, the electronic device (101) may perform query transmission and analysis result reception directly with a server (not shown) through a cellular module, or may perform query transmission and analysis result reception through a relay of another electronic device (e.g., a smartphone) through short-range communication.
도 22는 본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법을 설명하는 흐름도를 도시한다.FIG. 22 illustrates a flowchart describing a method of controlling an electronic device according to various embodiments of the present invention.
2210 동작에서, 전자 장치(101)는 적어도 하나의 사용자 음성을 획득할 수 있다. 2220 동작에서, 전자 장치(101)는 상기 적어도 하나의 사용자 음성을 분석할 수 있다. 2230 동작에서, 전자 장치(101)는 사용자 음성의 분석 결과를 이용하여 음성을 출력할 수 있다. 예를 들어, 전자 장치(101)는 대화 알고리즘을 미리 저장할 수 있으며, 사용자 음성의 텍스트 메시지에 대응하는 텍스트를 음성 또는 시각적으로 출력할 수 있다.In
예를 들어, 도 23에서와 같이, 사용자(2300)가 제 1 시점(t1)에 발화한 사용자 음성(2301)을 TTS 처리하여, "일요일에 뭐할까?"라는 텍스트를 획득할 수 있다. 전자 장치(101)는, 예를 들어 로봇과 같은 형태로 구현될 수 있다. 전자 장치(101)는 마이크와 스피커를 포함할 수 있다. 전자 장치(101)는 사용자가 입력한 텍스트에 대한 적절한 응답을 출력할 수 있는 대화 알고리즘을 미리 저장할 수 있으며, "일요일에 뭐할까?"라는 텍스트에 대화 알고리즘을 적용한 결과로, "오전에 시간 있어"라는 응답을 획득할 수 있다. 전자 장치(101)는 "오전에 시간 있어"라는 응답을 TTS 처리하여 음성(2302)으로 출력하거나 또는 디스플레이(미도시)를 통하여 시각적인 형태로 출력할 수도 있다. 전자 장치(101)는 예를 들어, 사용자의 일정 정보를 참고하여, 음성(2302)을 출력할 수 있다.For example, as in FIG. 23, a user's voice (2301) uttered by a user (2300) at a first time point (t1) may be processed by TTS to obtain the text "What should I do on Sunday?" The electronic device (101) may be implemented in a form such as a robot, for example. The electronic device (101) may include a microphone and a speaker. The electronic device (101) may store in advance a conversation algorithm that may output an appropriate response to a text input by the user, and as a result of applying the conversation algorithm to the text "What should I do on Sunday?", the response "I have time in the morning" may be obtained. The electronic device (101) may TTS process the response "I have time in the morning" and output it as a voice (2302) or may output it in a visual form through a display (not shown). The electronic device (101) may output the voice (2302) by referring to the user's schedule information, for example.
전자 장치(101)는 제 2 시점(t2)에서 검출된 사용자 음성(2303)에 대하여서도 대화 알고리즘을 적용함으로써, 응답(2304)을 출력할 수도 있다. 전자 장치(101)는 제 1 시점(t1) 및 제 2 시점(t2) 각각에서 복수 개의 텍스트 메시지를 획득할 수 있다. 한편, 전자 장치(101)는 제 3 시점(t3)에서, 사용자로부터 텍스트 메시지 분석 요청과 수신자 정보를 포함하는 음성(2305)을 획득할 수 있다.The electronic device (101) may also output a response (2304) by applying a conversation algorithm to the user voice (2303) detected at the second time point (t2). The electronic device (101) may obtain a plurality of text messages at each of the first time point (t1) and the second time point (t2). Meanwhile, the electronic device (101) may obtain a voice (2305) including a text message analysis request and recipient information from the user at the third time point (t3).
2240 동작에서, 전자 장치(101)는 사용자 음성 및 출력한 음성을 텍스트로 변환할 수 있다. 전자 장치(101)는 사용자로부터 수신된 텍스트 메시지뿐만 아니라, 자신이 출력한 텍스트 메시지도 획득할 수 있다. 2250 동작에서, 전자 장치(101)는 변환된 복수 개의 텍스트를 이용하여 키워드를 획득할 수 있다. 전자 장치(101)는 사용자로부터 수신된 텍스트 메시지뿐만 아니라, 자신이 출력한 텍스트 메시지를 함께 이용하여, 키워드를 생성할 수 있다. 전자 장치(101)가 스스로 출력한 텍스트 메시지(2302)를 이용함에 따라서, 전자 장치(101)는 "일요일, 영화"의 키워드가 아닌, "일요일, 오전, 영화"의 키워드를 획득할 수 있다.In
2260 동작에서, 전자 장치(101)는 키워드를 포함한 쿼리를 송신할 수 있다. 2270 동작에서, 전자 장치(101)는 쿼리 분석 결과를 수신할 수 있다. 2280 동작에서, 전자 장치(101)는 쿼리 분석 결과를 이용하여 동작할 수 있다. 예를 들어, 도 23에서와 같이, 전자 장치(101)는 쿼리 분석 결과를 포함하는 음성(2306)을 출력할 수 있다.In
도 24는 본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도를 도시한다.FIG. 24 illustrates a flowchart for explaining a method of controlling an electronic device according to various embodiments of the present invention.
2410 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지를 획득할 수 있다. 2420 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지 각각을 분석하여, 복수 개의 텍스트 메시지에 대응하는 키워드를 획득할 수 있다. 전자 장치(101)가 복수 개의 텍스트 메시지에 대응하는 키워드를 획득하는 과정에 대하여서는 상세하게 설명하였기 때문에, 여기에서의 더 이상의 설명은 생략하도록 한다.In
2430 동작에서, 전자 장치(101)는 키워드에 대응하는 동작을 수행할 수 있다. 예를 들어, 전자 장치(101)는 키워드에 대응하여, 키워드를 포함하는 쿼리를 송신할 수 있다. 또는, 전자 장치(101)는 키워드를 웹브라우징 어플리케이션에 입력하고, 웹브라우징 어플리케이션으로부터의 키워드 처리 결과를 표시하는 것을 기설정된 동작으로 설정할 수도 있다. 전자 장치(101)는 키워드에 대응하는 명령을 미리 저장할 수도 있으며, 명령을 수행하거나 또는 다른 전자 장치로 명령을 송신할 수도 있다. 즉, 본 발명의 다양한 실시예에 따른 전자 장치(101)는 복수 개의 텍스트 메시지에 대응하는 키워드에 대한 분석 결과를 수신하는 것 이외에도, 키워드에 대응하는 동작을 직접 수행할 수도 있다.In
도 25a 내지 도 25c 본 발명의 다양한 실시예에 따른 전자장치에서 댁내 IoT 디바이스를 호출하여 통신하는 예를 도시한다. 설명의 편의상 IoT 디바이스는 냉장고를 예로 설명하나 이에 한정되지 않는다.FIGS. 25A to 25C illustrate examples of calling and communicating with an in-home IoT device in an electronic device according to various embodiments of the present invention. For convenience of explanation, the IoT device is described as an example of a refrigerator, but is not limited thereto.
도 25a를 참조하면 전자 장치(101), IoT 디바이스(2525), 제 1 서버(2521) 및 제 2 서버(2523)가 도시되어 있다.Referring to FIG. 25a, an electronic device (101), an IoT device (2525), a first server (2521), and a second server (2523) are illustrated.
IoT 디바이스(2525)는 예컨대 댁내에 설치된 냉장고일 수 있다. 제 1 서버(2521)는 예컨대 쇼핑몰 서버일 수 있으나 이에 한정되지 않는다. 제 2 서버(2523)는 예컨대 댁내 IoT 디바이스를 관리하는 서버일 수 있으나 이에 한정되지 않는다.The IoT device (2525) may be, for example, a refrigerator installed in a home. The first server (2521) may be, for example, a shopping mall server, but is not limited thereto. The second server (2523) may be, for example, a server that manages IoT devices in a home, but is not limited thereto.
전자 장치(101)는 전자 장치에서 실행되는 채팅 어플리케이션의 실행 화면을 디스플레이부에 표시할 수 있다. 전자 장치(101)는 통신부를 통해 다른 전자 장치로부터 수신되는 복수 개의 텍스트 메시지 및 전자 장치의 입력부를 통해 입력되는 복수 개의 텍스트 메시지를 실행 화면에 표시할 수 있다. 예를 들면 A 사용자가 전자 장치(101)에서 채팅 어플리케이션을 실행시키면 화면(2503)에는 A 사용자와 B 사용자가 주고 받은 메시지(2505, 2506, 2507)가 표시될 수 있다. A 사용자는 전자 장치의 입력부를 통해 텍스트 메시지(2505, 2507)를 입력할 수 있다. B 사용자는 다른 전자 장치를 통해 텍스트 메시지(2506)를 입력하고 다른 전자 장치는 입력된 텍스트 메시지를 전자 장치로 전송할 수 있다. 전자 장치(101)는 수신된 텍스트 메시지(2506)를 화면(2503)에 표시할 수 있다.The electronic device (101) can display an execution screen of a chat application running on the electronic device on the display unit. The electronic device (101) can display a plurality of text messages received from another electronic device through the communication unit and a plurality of text messages input through the input unit of the electronic device on the execution screen. For example, when user A runs a chat application on the electronic device (101), messages (2505, 2506, 2507) exchanged between user A and user B can be displayed on the screen (2503). User A can input text messages (2505, 2507) through the input unit of the electronic device. User B can input text messages (2506) through another electronic device, and the other electronic device can transmit the input text messages to the electronic device. The electronic device (101) can display the received text messages (2506) on the screen (2503).
전자 장치(101)는 화면에 표시되는 복수 개의 메시지에 기초하여 A 사용자에게 정보를 제공할 수 있는 외부 장치를 결정할 수 있다.The electronic device (101) can determine an external device that can provide information to user A based on a plurality of messages displayed on the screen.
전자 장치(101)는 채팅 어플리케이션을 통해 복수의 텍스트 메시지(2505, 2506, 2507)를 획득할 수 있다. 전자 장치(101)는 복수의 텍스트 메시지(2505, 2506, 2507)로부터 키워드를 추출하고, 추출된 키워드에 기초하여 외부 장치로부터 정보를 제공 받을 수 있다. 전자 장치(101)는 외부 장치로부터 정보를 제공받기 위해 외부 장치로 데이터를 송수신할 수 있다. 전자 장치(101)가 텍스트 메시지로부터 키워드를 추출하는 방법 및 텍스트 메시지를 화면에 배치하여 표시하는 방법은 도 4 내지 도 10에서 설명하였으므로 자세한 설명은 생략한다. The electronic device (101) can obtain a plurality of text messages (2505, 2506, 2507) through a chat application. The electronic device (101) can extract keywords from the plurality of text messages (2505, 2506, 2507) and receive information from an external device based on the extracted keywords. The electronic device (101) can transmit and receive data to and from the external device to receive information from the external device. The method by which the electronic device (101) extracts keywords from text messages and the method of arranging and displaying text messages on a screen have been described with reference to FIGS. 4 to 10, so a detailed description thereof will be omitted.
외부 장치는 제 1 서버(2521), 제 2 서버(2523) 또는 냉장고(2525) 일 수 있다.The external device may be a first server (2521), a second server (2523), or a refrigerator (2525).
예를 들면 A 사용자가 B 사용자에게 "저녁에 뭐 먹을래"(2505) 라고 묻고 B 사용자가 "피자요"(2506)라고 답하면, 전자 장치(101)는 "저녁", "먹을래", "피자" 라는 단어로부터 두 사람이 음식과 관련된 대화를 하는 것으로 판단하고, 댁내 설치된 IoT 디바이스 중 음식과 관련된 디바이스를 검색할 수 있다. For example, if user A asks user B, “What do you want to eat for dinner?” (2505) and user B responds, “Pizza” (2506), the electronic device (101) can determine that the two people are having a conversation related to food from the words “dinner,” “what do you want to eat,” and “pizza,” and can search for a food-related device among the IoT devices installed in the home.
전자 장치는 결정된 외부 장치로부터 정보를 수신할 수 있다. 음식과 관련된 디바이스는 예컨대 '냉장고' 또는 '전자레인지(MWO:Miciro Wave Oven)'가 될 수 있다. A 사용자가 "냉장고에 재료 있나?" 라는 메시지를 입력하면 전자 장치(101)는 메시지로부터 '냉장고'및 '재료' 라는 키워드를 추출하고 냉장고에 보관되어 있는 음식 재료의 현황을 파악할 수 있다. 즉 전자 장치(101)는 복수의 메시지(2505, 2506, 2507)로부터 추출된 단어(키워드)에 기초하여 데이터를 송수신할 외부장치를 검색하고, 검색된 외부장치로 데이터를 송신하거나 또는 수신할 수 있다. 여기서 데이터는 외부장치를 제어하기 위한 명령어 이거나 또는 외부장치에게 제공될 데이터일 수 있다.The electronic device can receive information from a determined external device. The food-related device can be, for example, a 'refrigerator' or a 'microwave oven (MWO: Micro Wave Oven)'. When a user inputs a message saying, "Are there any ingredients in the refrigerator?", the electronic device (101) can extract keywords such as 'refrigerator' and 'ingredients' from the message and determine the status of food ingredients stored in the refrigerator. That is, the electronic device (101) can search for an external device to transmit and receive data based on words (keywords) extracted from a plurality of messages (2505, 2506, 2507), and transmit or receive data to the searched external device. Here, the data can be a command for controlling the external device or data to be provided to the external device.
전자 장치(101)는 문자 메시지(2507)에 기초하여 냉장고(2525)에게 재료 현황을 요청하고, 이와 관련된 메시지(2508)를 화면에 표시할 수 있다. 전자 장치(101)는 냉장고(2525)로부터 '음식 재료 현황'을 수신하고 수신된 음식 재료 현황을 어플리케이션이 실행되는 화면(2503)에 표시할 수 있다. 이 때 복수의 텍스트 메시지(2505, 2506, 2507) 및 냉장고로부터 수신된 정보(2508)는 시간 순으로 정렬되어 실행 화면에 표시될 수 있다.The electronic device (101) may request the status of ingredients from the refrigerator (2525) based on the text message (2507) and display a message (2508) related thereto on the screen. The electronic device (101) may receive the 'status of food ingredients' from the refrigerator (2525) and display the received status of food ingredients on the screen (2503) where the application is executed. At this time, a plurality of text messages (2505, 2506, 2507) and information (2508) received from the refrigerator may be arranged in chronological order and displayed on the execution screen.
전자 장치(101)는 냉장고(2525)의 음식 재료 현황에 대한 정보를 제공하기 위해 문자 메시지(2508) 내부에 UI 엘리먼트(2509)를 표시할 수 있다. UI 엘리먼트(2509)는 버튼일 수 있다. UI 엘리먼트는 사용자 입력을 수신할 수 있다.The electronic device (101) can display a UI element (2509) within a text message (2508) to provide information on the status of food ingredients in the refrigerator (2525). The UI element (2509) can be a button. The UI element can receive user input.
A 사용자가 버튼(2509)를 선택하면 화면에 냉장고의 음식 재료 현황이 표시될 수 있다. 음식 재료 현황은 문자 메시지(2508) 내부에 표시되거나 또는 별도의 팝업(pop up) 창에 표시될 수 있으나 이에 한정되지 않는다. 예컨대 음식 재료 현황은 음성 안내로 제공될 수도 있다.When a user selects a button (2509), the status of food ingredients in the refrigerator may be displayed on the screen. The status of food ingredients may be displayed within a text message (2508) or in a separate pop-up window, but is not limited thereto. For example, the status of food ingredients may be provided through voice guidance.
실시 형태에 따라 전자 장치(101)는 제 2 서버(2523)를 통해 냉장고(2525)의 음식 재료 현황을 수신할 수 있다. 제 2 서버(2523)는 댁내 IoT 디바이스를 관리하는 서버일 수 있으며, 댁내 IoT 디바이스의 상태 및 현황에 대한 데이터를 데이터 베이스 형태로 관리하며 댁내 IoT 디바이스에 대한 데이터를 전자 장치(101)를 포함한 다른 장치로 전송할 수 있다.According to an embodiment, the electronic device (101) can receive the status of food ingredients in the refrigerator (2525) through the second server (2523). The second server (2523) can be a server that manages IoT devices in the home, manages data on the status and current status of IoT devices in the form of a database, and can transmit data on IoT devices in the home to other devices including the electronic device (101).
도 25b를 참조하면 전자 장치(101)는 도 25a에 도시한 버튼(2509)을 선택하는 사용자 입력에 따라 화면에 음식 재료 현황(2531)을 표시할 수 있다. 음식 재료 현황(2531) 화면에는 음식 재료 이미지(2532, 2534, 2536, 2538) 및 음식 재료의 이름 및 유효기간이 표시될 수 있다.Referring to FIG. 25b, the electronic device (101) can display food ingredient status (2531) on the screen according to a user input of selecting a button (2509) illustrated in FIG. 25a. The food ingredient status (2531) screen can display food ingredient images (2532, 2534, 2536, 2538) and the names and expiration dates of the food ingredients.
음식 재료 이미지(2532, 2534, 2536, 2538)는 냉장고에 장착된 카메라를 통해 획득되거나 또는 제 1 서버(쇼핑몰 서버)(2521)를 통해 획득될 수 있다. 음식 재료의 이름 및 유효기간은 제 1 서버(2521)를 통해 획득될 수 있다.Food ingredient images (2532, 2534, 2536, 2538) can be acquired through a camera mounted on a refrigerator or through a first server (shopping mall server) (2521). The names and expiration dates of the food ingredients can be acquired through the first server (2521).
전자 장치(101)는 문자 메시지에 기초하여 추가로 구입해야 될 재료의 현황을 파악하고 사용자에게 제공할 수 있다.The electronic device (101) can determine the status of additional materials to be purchased based on text messages and provide the information to the user.
도 25c를 참조하면 전자 장치는 신규로 구입해야 되는 재료의 현황(2551)을 화면에 표시할 수 있다. 전자 장치(101)는 문자 메시지(도 25a의 2506)로부터 '피자'라는 키워드를 추출하고 '피자'의 레시피를 제 1 서버를 통해 검색할 수 있다. 전자 장치(101)는 검색 결과로부터 '피자'를 만들기 위해 필요한 음식 재료와 냉장고에 있는 음식 재료 현황을 비교하여, 신규 구입 재료(2551) 현황을 생성할 수 있다.Referring to FIG. 25c, the electronic device can display the status of ingredients (2551) that need to be newly purchased on the screen. The electronic device (101) can extract the keyword 'pizza' from a text message (2506 of FIG. 25a) and search for a recipe for 'pizza' through the first server. The electronic device (101) can compare the food ingredients required to make 'pizza' from the search result with the status of food ingredients in the refrigerator, and generate a status of newly purchased ingredients (2551).
신규 구입 재료 현황(2551)에는 음식 재료 이미지(2552, 2554, 2556) 및 음식 재료 이름 및 가격이 포함될 수 있다. 전자 장치(101)는 사용자의 확인을 통해 신규 구입 재료(2551)에 포함된 음식 재료에 대한 정보를 제 1 서버(쇼핑몰 서버)(2521)로 전송할 수 있다. 즉, 전자 장치(101)는 사용자의 확인을 통해 신규 구입 재료에 대한 주문을 진행할 수 있다.The status of newly purchased ingredients (2551) may include food ingredient images (2552, 2554, 2556) and the names and prices of the food ingredients. The electronic device (101) may transmit information about the food ingredients included in the newly purchased ingredients (2551) to the first server (shopping mall server) (2521) through the user's confirmation. That is, the electronic device (101) may proceed with an order for the newly purchased ingredients through the user's confirmation.
실시 형태에 따라 전자 장치(101)는 사용자의 확인 과정 없이 신규 구입 재료 현황(2551)을 참조하여 자동으로 음식 재료를 주문할 수도 있다. Depending on the embodiment, the electronic device (101) may automatically order food ingredients by referring to the status of newly purchased ingredients (2551) without a user confirmation process.
본 발명의 다양한 실시예에서, 전자 장치의 제어 방법은, 복수 개의 텍스트 메시지를 획득하는 동작; 상기 복수 개의 텍스트 메시지 각각을 분석하여, 상기 복수 개의 텍스트 메시지에 대응하는 키워드를 획득하는 동작; 상기 키워드를 포함한 쿼리를 송신하는 동작; 및 상기 키워드 분석 결과를 수신하여, 상기 수신된 키워드 분석 결과에 대응하는 동작을 수행하는 동작을 포함할 수 있다.In various embodiments of the present invention, a method for controlling an electronic device may include: obtaining a plurality of text messages; analyzing each of the plurality of text messages to obtain a keyword corresponding to the plurality of text messages; transmitting a query including the keyword; and receiving a result of the keyword analysis to perform an operation corresponding to the received result of the keyword analysis.
본 발명의 다양한 실시예에서, 전자 장치의 제어 방법은, 키워드 분석을 수행하는 수신자와 관련된 수신자 정보를 획득하는 동작을 더 포함하며, 상기 쿼리를 송신하는 동작은, 상기 키워드 및 상기 수신자 정보를 포함한 상기 쿼리를 송신하며, 상기 키워드 분석 결과는, 상기 수신자 정보에 대응하는 전자 장치에 의하여 수행될 수 있다.In various embodiments of the present invention, a method for controlling an electronic device further includes an operation of obtaining recipient information related to a recipient performing keyword analysis, wherein the operation of transmitting the query transmits the query including the keyword and the recipient information, and the keyword analysis result can be performed by an electronic device corresponding to the recipient information.
본 발명의 다양한 실시예에서, 상기 키워드를 획득하는 동작은, 상기 복수 개의 텍스트 메시지 각각을 자연어 처리하는 동작; 및 상기 복수 개의 텍스트 메시지 각각에 대한 자연어 처리 결과를 이용하여, 상기 키워드를 생성하는 동작을 포함할 수 있다.In various embodiments of the present invention, the operation of obtaining the keyword may include the operation of performing natural language processing on each of the plurality of text messages; and the operation of generating the keyword using the natural language processing result for each of the plurality of text messages.
본 발명의 다양한 실시예에서, 상기 복수 개의 텍스트 메시지 각각에 대한 자연어 처리 결과를 이용하여, 상기 키워드를 생성하는 동작은, 기설정된 템플릿과, 상기 자연어 처리 결과를 비교하는 동작; 및 상기 비교 결과에 기초하여, 상기 키워드를 생성하는 동작을 포함할 수 있다.In various embodiments of the present invention, the operation of generating the keyword using the natural language processing result for each of the plurality of text messages may include the operation of comparing the natural language processing result with a preset template; and the operation of generating the keyword based on the comparison result.
본 발명의 다양한 실시예에서, 상기 복수 개의 텍스트 메시지 각각에 대한 자연어 처리 결과를 이용하여, 상기 키워드를 생성하는 동작은, 상기 자연어 처리 결과에 대하여 머신 러닝(machine learning) 또는 딥 러닝(deep learning) 알고리즘을 적용하는 동작; 상기 적용 결과에 기초하여, 상기 복수 개의 텍스트 메시지 각각의 의도를 판단하는 동작; 및 상기 복수 개의 텍스트 메시지 각각의 의도에 기초하여, 상기 키워드를 생성하는 동작을 포함할 수 있다.In various embodiments of the present invention, the operation of generating the keyword using the natural language processing result for each of the plurality of text messages may include the operation of applying a machine learning or deep learning algorithm to the natural language processing result; the operation of determining the intent of each of the plurality of text messages based on the application result; and the operation of generating the keyword based on the intent of each of the plurality of text messages.
본 발명의 다양한 실시예에서, 상기 복수 개의 텍스트 메시지를 획득하는 동작은, 제 1 기간 동안에 복수 개의 제 1 텍스트 메시지를 획득하는 동작; 및 제 2 기간 동안에 복수 개의 제 2 텍스트 메시지를 획득하는 동작을 포함할 수 있다.In various embodiments of the present invention, the act of obtaining the plurality of text messages may include the act of obtaining the plurality of first text messages during a first period; and the act of obtaining the plurality of second text messages during a second period.
본 발명의 다양한 실시예에서, 상기 키워드를 획득하는 동작은, 상기 복수 개의 제 1 텍스트 메시지에 대응하는 제 1 키워드를 생성하는 동작; 및 상기 복수 개의 제 2 텍스트 메시지에 대응하는 제 2 키워드를 생성하는 동작을 포함할 수 있다.In various embodiments of the present invention, the operation of obtaining the keyword may include the operation of generating a first keyword corresponding to the plurality of first text messages; and the operation of generating a second keyword corresponding to the plurality of second text messages.
본 발명의 다양한 실시예에서, 상기 제 2 키워드를 생성하는 동작은, 상기 복수 개의 제 2 텍스트 메시지의 분석 결과와, 상기 제 1 키워드 및 상기 복수 개의 제 1 텍스트 메시지 중 적어도 하나를 이용하여, 상기 제 2 키워드를 생성할 수 있다.In various embodiments of the present invention, the operation of generating the second keyword may generate the second keyword by using the analysis results of the plurality of second text messages and at least one of the first keyword and the plurality of first text messages.
본 발명의 다양한 실시예에서, 전자 장치의 제어 방법은, 추가 정보를 획득하는 동작을 더 포함하고, 상기 키워드를 생성하는 동작은, 상기 복수 개의 텍스트 메시지의 분석 결과 및 상기 추가 정보를 이용하여, 상기 키워드를 생성할 수 있다.In various embodiments of the present invention, a method for controlling an electronic device further includes an operation of obtaining additional information, and the operation of generating the keyword can generate the keyword by using analysis results of the plurality of text messages and the additional information.
본 발명의 다양한 실시예에서, 상기 추가 정보를 획득하는 동작은, 상기 복수 개의 텍스트 메시지의 분석 결과와 연관된 추가 정보를 획득하거나 또는 상기 복수 개의 텍스트 메시지로부터 독립적인 추가 정보를 획득할 수 있다.In various embodiments of the present invention, the act of obtaining the additional information may obtain additional information associated with the analysis results of the plurality of text messages or obtain additional information independent from the plurality of text messages.
본 발명의 다양한 실시예에서, 상기 복수 개의 텍스트 메시지를 획득하는 동작은, 복수 개의 사용자 음성을 획득하는 동작; 및 상기 복수 개의 사용자 음성 각각을 변환하여, 상기 복수 개의 텍스트 메시지를 획득하는 동작을 포함할 수 있다.In various embodiments of the present invention, the operation of obtaining the plurality of text messages may include the operation of obtaining the plurality of user voices; and the operation of converting each of the plurality of user voices to obtain the plurality of text messages.
본 발명의 다양한 실시예에서, 전자 장치의 제어 방법은, 상기 전자 장치에서 실행되는 채팅 어플리케이션의 실행 화면을 표시하는 동작; 상기 전자 장치로 입력되거나 또는 다른 전자 장치로부터 수신되는 복수 개의 텍스트 메시지를 상기 채팅 어플리케이션의 실행 화면에 표시하는 동작; 상기 복수 개의 텍스트 메시지에 대한 분석 요청을 수신하는 동작; 상기 분석 요청이 수신되면, 상기 복수 개의 텍스트 메시지에 대응하는 키워드를 송신하는 동작; 및 상기 키워드에 대한 분석 결과를 수신하여, 상기 채팅 어플리케이션 창에 상기 수신된 키워드에 대한 분석 결과를 표시하는 동작을 포함할 수 있다.In various embodiments of the present invention, a method for controlling an electronic device may include: an operation of displaying an execution screen of a chat application running on the electronic device; an operation of displaying a plurality of text messages input to the electronic device or received from another electronic device on the execution screen of the chat application; an operation of receiving an analysis request for the plurality of text messages; an operation of transmitting keywords corresponding to the plurality of text messages when the analysis request is received; and an operation of receiving an analysis result for the keywords and displaying the analysis result for the received keywords on a window of the chat application.
본 발명의 다양한 실시예에서, 전자 장치의 제어 방법은, 복수 개의 텍스트 메시지를 획득하는 동작; 상기 복수 개의 텍스트 메시지 각각을 분석하여, 상기 복수 개의 텍스트 메시지에 대응하는 키워드를 획득하는 동작; 및 상기 키워드에 대응하는 동작을 수행하는 동작을 포함할 수 있다.In various embodiments of the present invention, a method for controlling an electronic device may include: obtaining a plurality of text messages; analyzing each of the plurality of text messages to obtain a keyword corresponding to the plurality of text messages; and performing an operation corresponding to the keyword.
상기 전자 장치의 전술한 구성요소들 각각은 하나 또는 그 이상의 부품(component)으로 구성될 수 있으며, 해당 구성 요소의 명칭은 전자 장치의 종류에 따라서 달라질 수 있다. 다양한 실시예에서, 전자 장치는 전술한 구성요소 중 적어도 하나를 포함하여 구성될 수 있으며, 일부 구성요소가 생략되거나 또는 추가적인 다른 구성요소를 더 포함할 수 있다. 또한, 다양한 실시예에 따른 전자 장치의 구성 요소들 중 일부가 결합되어 하나의 개체(entity)로 구성됨으로써, 결합되기 이전의 해당 구성 요소들의 기능을 동일하게 수행할 수 있다.Each of the above-described components of the electronic device may be composed of one or more parts (components), and the names of the corresponding components may vary depending on the type of the electronic device. In various embodiments, the electronic device may be composed of at least one of the above-described components, and some of the components may be omitted or may further include other additional components. In addition, some of the components of the electronic device according to various embodiments may be combined to form a single entity, thereby performing the same functions of the corresponding components prior to being combined.
본 문서에서 사용된 용어 “모듈”은, 예를 들면, 하드웨어, 소프트웨어 또는 펌웨어(firmware) 중 하나 또는 둘 이상의 조합을 포함하는 단위(unit)를 의미할 수 있다. “모듈”은, 예를 들면, 유닛(unit), 로직(logic), 논리 블록(logical block), 부품(component), 또는 회로(circuit) 등의 용어와 바꾸어 사용(interchangeably use)될 수 있다. “모듈”은, 일체로 구성된 부품의 최소 단위 또는 그 일부가 될 수 있다. “모듈”은 하나 또는 그 이상의 기능을 수행하는 최소 단위 또는 그 일부가 될 수도 있다. “모듈”은 기계적으로 또는 전자적으로 구현될 수 있다. 예를 들면,“모듈”은, 알려졌거나 앞으로 개발될, 어떤 동작들을 수행하는 ASIC(application-specific integrated circuit) 칩, FPGAs(field-programmable gate arrays) 또는 프로그램 가능 논리 장치(programmable-logic device) 중 적어도 하나를 포함할 수 있다. The term “module” as used herein may mean a unit comprising one or more combinations of, for example, hardware, software, or firmware. The term “module” may be used interchangeably with, for example, terms such as unit, logic, logical block, component, or circuit. A “module” may be the smallest unit of a component or a part thereof that is integrally formed. A “module” may also be the smallest unit or a part thereof that performs one or more functions. A “module” may be implemented mechanically or electronically. For example, a “module” may include at least one of an application-specific integrated circuit (ASIC) chip, field-programmable gate arrays (FPGAs), or a programmable-logic device that performs certain operations, known or to be developed in the future.
다양한 실시예에 따른 장치(예: 모듈들 또는 그 기능들) 또는 방법(예: 동작들)의 적어도 일부는, 예컨대, 프로그램 모듈의 형태로 컴퓨터로 읽을 수 있는 저장매체(computer-readable storage media)에 저장된 명령어로 구현될 수 있다. 상기 명령어는, 프로세서(예: 프로세서(120))에 의해 실행될 경우, 상기 하나 이상의 프로세서가 상기 명령어에 해당하는 기능을 수행할 수 있다. 컴퓨터로 읽을 수 있는 저장매체는, 예를 들면, 상기 메모리(130)가 될 수 있다. At least a part of the device (e.g., modules or functions thereof) or the method (e.g., operations) according to various embodiments may be implemented as instructions stored in a computer-readable storage medium, for example, in the form of a program module. When the instructions are executed by a processor (e.g., processor (120)), the one or more processors may perform a function corresponding to the instructions. The computer-readable storage medium may be, for example, the memory (130).
상기 컴퓨터로 판독 가능한 기록 매체는, 하드디스크, 플로피디스크, 마그네틱 매체(magnetic media)(예: 자기테이프), 광기록 매체(optical media)(예: CD-ROM(compact disc read only memory), DVD(digital versatile disc), 자기-광 매체(magneto-optical media)(예: 플롭티컬 디스크(floptical disk)), 하드웨어 장치(예: ROM(read only memory), RAM(random access memory), 또는 플래시 메모리 등) 등을 포함할 수 있다. 또한, 프로그램 명령에는 컴파일러에 의해 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용해서 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드를 포함할 수 있다. 상술한 하드웨어 장치는 다양한 실시예의 동작을 수행하기 위해 하나 이상의 소프트웨어 모듈로서 작동하도록 구성될 수 있으며, 그 역도 마찬가지다.The computer-readable recording medium may include a hard disk, a floppy disk, a magnetic media (e.g., a magnetic tape), an optical media (e.g., a compact disc read only memory (CD-ROM), a digital versatile disc (DVD), a magneto-optical media (e.g., a floptical disk)), a hardware device (e.g., a read only memory (ROM), a random access memory (RAM), or a flash memory), etc. In addition, the program instructions may include not only machine language codes generated by a compiler, but also high-level language codes that can be executed by a computer using an interpreter, etc. The above-described hardware devices may be configured to operate as one or more software modules to perform operations of various embodiments, and vice versa.
다양한 실시예에 따른 모듈 또는 프로그램 모듈은 전술한 구성요소들 중 적어도 하나 이상을 포함하거나, 일부가 생략되거나, 또는 추가적인 다른 구성요소를 더 포함할 수 있다. 다양한 실시예에 따른 모듈, 프로그램 모듈 또는 다른 구성요소에 의해 수행되는 동작들은 순차적, 병렬적, 반복적 또는 휴리스틱(heuristic)한 방법으로 실행될 수 있다. 또한, 일부 동작은 다른 순서로 실행되거나, 생략되거나, 또는 다른 동작이 추가될 수 있다.Modules or program modules according to various embodiments may include at least one or more of the above-described components, some of which may be omitted, or may further include other additional components. Operations performed by modules, program modules, or other components according to various embodiments may be executed sequentially, in parallel, iteratively, or in a heuristic manner. In addition, some operations may be executed in a different order, omitted, or other operations may be added.
본 발명의 다양한 실시예에 따르면, 명령들을 저장하고 있는 저장 매체에 있어서, 상기 명령들은 적어도 하나의 프로세서에 의하여 실행될 때에 상기 적어도 하나의 프로세서로 하여금 적어도 하나의 동작을 수행하도록 설정된 것으로서, 상기 적어도 하나의 동작은, 복수 개의 텍스트 메시지를 획득하는 동작; 상기 복수 개의 텍스트 메시지 각각을 분석하여, 상기 복수 개의 텍스트 메시지에 대응하는 키워드를 획득하는 동작; 상기 키워드를 포함한 쿼리를 송신하는 동작; 및 상기 키워드 분석 결과를 수신하여, 상기 수신된 키워드 분석 결과에 대응하는 동작을 수행하는 동작을 포함할 수 있다. According to various embodiments of the present invention, a storage medium storing commands may be provided, wherein the commands, when executed by at least one processor, are configured to cause the at least one processor to perform at least one operation, wherein the at least one operation may include: obtaining a plurality of text messages; analyzing each of the plurality of text messages to obtain a keyword corresponding to the plurality of text messages; transmitting a query including the keyword; and receiving a result of the keyword analysis and performing an operation corresponding to the received result of the keyword analysis.
그리고 본 문서에 개시된 실시예는 개시된, 기술 내용의 설명 및 이해를 위해 제시된 것이며, 본 개시의 범위를 한정하는 것은 아니다. 따라서, 본 개시의 범위는, 본 개시의 기술적 사상에 근거한 모든 변경 또는 다양한 다른 실시예를 포함하는 것으로 해석되어야 한다.And the embodiments disclosed in this document are presented for the purpose of explanation and understanding of the disclosed technical contents, and do not limit the scope of the present disclosure. Therefore, the scope of the present disclosure should be interpreted to include all modifications or various other embodiments based on the technical idea of the present disclosure.
Claims (29)
복수 개의 텍스트 메시지를 획득하는 동작;
상기 복수 개의 텍스트 메시지 각각을 분석하여, 상기 복수 개의 텍스트 메시지에 대응하는 제1 키워드 및 제2 키워드를 획득하는 동작;
복수의 댁내 장치들 중에서 상기 제1 키워드와 관련된 댁내 장치를 식별하는 동작;상기 댁내 장치에 저장된 재료를 검색하기 위한 쿼리를 제1 서버로 송신하는 동작;
상기 쿼리에 응답하여, 상기 제1 서버로부터 상기 댁내 장치에 저장된 재료에 대한 정보를 수신하는 동작;
상기 제2 키워드에 대해 필요한 재료와 상기 댁내 장치에 저장된 재료를 비교함으로써, 구입해야 할 재료에 대한 정보를 식별하는 동작; 및
상기 구입해야 할 재료에 대한 정보를 제2 서버로 송신하는 동작을 포함하는 전자 장치의 제어 방법.In a method for controlling an electronic device,
An action to obtain multiple text messages;
An operation of analyzing each of the plurality of text messages to obtain a first keyword and a second keyword corresponding to the plurality of text messages;
An action of identifying an in-home device related to the first keyword among a plurality of in-home devices; An action of transmitting a query for searching for materials stored in the in-home device to a first server;
In response to the above query, an action of receiving information about materials stored in the in-house device from the first server;
An operation of identifying information about materials to be purchased by comparing the materials required for the second keyword with materials stored in the home device; and
A method of controlling an electronic device, comprising the action of transmitting information about materials to be purchased to a second server.
상기 제1 키워드 및 제2 키워드를 획득하는 동작은,
상기 복수 개의 텍스트 메시지 각각을 자연어 처리하는 동작; 및
상기 복수 개의 텍스트 메시지 각각에 대한 자연어 처리 결과를 이용하여, 상기 제1 키워드 및 제2 키워드를 생성하는 동작
을 포함하는 전자 장치의 제어 방법.In paragraph 1,
The operation of obtaining the first and second keywords is as follows:
An operation of natural language processing each of the above multiple text messages; and
An operation of generating the first keyword and the second keyword by using the natural language processing results for each of the plurality of text messages.
A method for controlling an electronic device including:
상기 복수 개의 텍스트 메시지 각각에 대한 자연어 처리 결과를 이용하여, 상기 제1 키워드 및 제2 키워드를 생성하는 동작은,
기설정된 템플릿과, 상기 자연어 처리 결과를 비교하는 동작; 및
상기 비교 결과에 기초하여, 상기 제1 키워드 및 제2 키워드를 생성하는 동작
을 포함하는 전자 장치의 제어 방법.In the third paragraph,
The operation of generating the first keyword and the second keyword by using the natural language processing results for each of the plurality of text messages is as follows:
An operation of comparing the preset template with the natural language processing result; and
An operation of generating the first keyword and the second keyword based on the above comparison results.
A method for controlling an electronic device including:
상기 복수 개의 텍스트 메시지 각각에 대한 자연어 처리 결과를 이용하여, 상기 제1 키워드 및 제2 키워드를 생성하는 동작은,
상기 자연어 처리 결과에 대하여 머신 러닝(machine learning) 또는 딥 러닝(deep learning) 알고리즘을 적용하는 동작;
상기 적용 결과에 기초하여, 상기 복수 개의 텍스트 메시지 각각의 의도를 판단하는 동작; 및
상기 복수 개의 텍스트 메시지 각각의 의도에 기초하여, 상기 제1 키워드 및 제2 키워드를 생성하는 동작
을 포함하는 전자 장치의 제어 방법.In the third paragraph,
The operation of generating the first keyword and the second keyword by using the natural language processing results for each of the plurality of text messages is as follows:
An action of applying a machine learning or deep learning algorithm to the above natural language processing results;
An operation of determining the intent of each of the plurality of text messages based on the above application results; and
An operation of generating the first keyword and the second keyword based on the intent of each of the plurality of text messages.
A method for controlling an electronic device including:
상기 복수 개의 텍스트 메시지를 획득하는 동작은,
제 1 기간 동안에 복수 개의 제 1 텍스트 메시지를 획득하는 동작; 및
제 2 기간 동안에 복수 개의 제 2 텍스트 메시지를 획득하는 동작
을 포함하는 전자 장치의 제어 방법.In paragraph 1,
The action of obtaining the above multiple text messages is:
An action of obtaining a plurality of first text messages during a first period; and
The act of obtaining multiple second text messages during a second period.
A method for controlling an electronic device including:
상기 제1 키워드 및 제2 키워드를 획득하는 동작은,
상기 복수 개의 제 1 텍스트 메시지에 대응하는 상기 제 1 키워드를 생성하는 동작; 및
상기 복수 개의 제 2 텍스트 메시지에 대응하는 상기 제 2 키워드를 생성하는 동작
을 포함하는 전자 장치의 제어 방법.In paragraph 6,
The operation of obtaining the first and second keywords is as follows:
An operation of generating a first keyword corresponding to said plurality of first text messages; and
An action of generating a second keyword corresponding to said plurality of second text messages.
A method for controlling an electronic device including:
상기 제 2 키워드를 생성하는 동작은,
상기 복수 개의 제 2 텍스트 메시지의 분석 결과와, 상기 제 1 키워드 및 상기 복수 개의 제 1 텍스트 메시지 중 적어도 하나를 이용하여, 상기 제 2 키워드를 생성하는 전자 장치의 제어 방법.In paragraph 7,
The action of generating the above second keyword is:
A control method of an electronic device for generating the second keyword by using the analysis results of the plurality of second text messages and at least one of the first keyword and the plurality of first text messages.
상기 복수 개의 텍스트 메시지를 획득하는 동작은,
복수 개의 사용자 음성을 획득하는 동작; 및
상기 복수 개의 사용자 음성 각각을 변환하여, 상기 복수 개의 텍스트 메시지를 획득하는 동작
을 포함하는 전자 장치의 제어 방법.In paragraph 1,
The action of obtaining the above multiple text messages is:
An operation for acquiring multiple user voices; and
An operation of converting each of the plurality of user voices to obtain the plurality of text messages.
A method for controlling an electronic device including:
통신 회로;
상기 통신 회로에 전기적으로 연결되는 프로세서; 및
상기 프로세서에 전기적으로 연결되는 메모리
를 포함하고,
상기 메모리는, 상기 프로세서에 의한 실행시에 상기 전자 장치가,
복수 개의 텍스트 메시지를 획득하고,
상기 복수 개의 텍스트 메시지 각각을 분석하여, 상기 복수 개의 텍스트 메시지에 대응하는 제1 키워드 및 제2 키워드를 획득하고,
복수의 댁내 장치들 중에서 상기 제1 키워드와 관련된 댁내 장치를 식별하고,
상기 댁내 장치에 저장된 재료를 검색하기 위한 쿼리를 상기 통신 회로를 이용하여 제1 서버로 송신하고,
상기 쿼리에 응답하여, 상기 제1 서버로부터 상기 댁내 장치에 저장된 재료에 대한 정보를 수신하고,
상기 제2 키워드에 대해 필요한 재료와 상기 댁내 장치에 저장된 재료를 비교함으로써, 구입해야 할 재료에 대한 정보를 식별하고,
상기 구입해야 할 재료에 대한 정보를 상기 통신 회로를 이용하여 제2 서버로 송신하도록 하는 인스트럭션을 저장하는 전자 장치.In electronic devices,
communication circuit;
a processor electrically connected to said communication circuit; and
Memory electrically connected to the above processor
Including,
The above memory, when executed by the processor, causes the electronic device to:
Obtain multiple text messages,
By analyzing each of the plurality of text messages, a first keyword and a second keyword corresponding to the plurality of text messages are obtained,
Identifying an in-home device related to the first keyword among multiple in-home devices,
A query for searching for materials stored in the above home device is transmitted to the first server using the above communication circuit,
In response to the above query, information about materials stored in the in-house device is received from the first server,
By comparing the materials required for the above second keyword with the materials stored in the home device, information on materials to be purchased is identified,
An electronic device storing instructions to transmit information about the materials to be purchased to a second server using the communication circuit.
상기 메모리는, 실행시에 상기 프로세서가,
상기 복수 개의 텍스트 메시지 각각을 자연어 처리하고,
상기 복수 개의 텍스트 메시지 각각에 대한 자연어 처리 결과를 이용하여, 상기 제1 키워드 및 제2 키워드를 생성하는 인스트럭션을 저장하는 전자 장치.In Article 12,
The above memory, when executed, the processor,
Natural language processing of each of the above multiple text messages,
An electronic device storing instructions for generating the first keyword and the second keyword by using the natural language processing results for each of the plurality of text messages.
상기 메모리는, 실행시에 상기 프로세서가,
기설정된 템플릿과, 상기 자연어 처리 결과를 비교하고,
상기 비교 결과에 기초하여, 상기 제1 키워드 및 제2 키워드를 생성하는 인스트럭션을 저장하는 전자 장치.In Article 14,
The above memory, when executed, the processor,
Compare the preset template with the above natural language processing results,
An electronic device storing instructions for generating the first keyword and the second keyword based on the results of the comparison.
상기 메모리는, 실행시에 상기 프로세서가,
상기 자연어 처리 결과에 대하여 머신 러닝(machine learning) 또는 딥 러닝(deep learning) 알고리즘을 적용하고,
상기 적용 결과에 기초하여, 상기 복수 개의 텍스트 메시지 각각의 의도를 판단하고,
상기 복수 개의 텍스트 메시지 각각의 의도에 기초하여, 상기 제1 키워드 및 제2 키워드를 생성하는 인스트럭션을 저장하는 전자 장치.In Article 14,
The above memory, when executed, the processor,
Applying machine learning or deep learning algorithms to the above natural language processing results,
Based on the above application results, the intent of each of the plurality of text messages is determined,
An electronic device storing instructions for generating the first keyword and the second keyword based on the intent of each of the plurality of text messages.
상기 메모리는, 실행시에 상기 프로세서가,
제 1 기간 동안에 복수 개의 제 1 텍스트 메시지를 획득하고,
제 2 기간 동안에 복수 개의 제 2 텍스트 메시지를 획득하는 인스트럭션을 저장하는 전자 장치.In Article 12,
The above memory, when executed, the processor,
Obtain multiple first text messages during the first period,
An electronic device storing instructions for obtaining a plurality of second text messages during a second period.
복수 개의 텍스트 메시지를 획득하는 동작;
상기 복수 개의 텍스트 메시지 각각을 분석하여, 상기 복수 개의 텍스트 메시지에 대응하는 제1 키워드 및 제2 키워드를 획득하는 동작;
복수의 댁내 장치들 중에서 상기 제1 키워드와 관련된 댁내 장치를 식별하는 동작;상기 댁내 장치에 저장된 재료를 검색하기 위한 쿼리를 제1 서버로 송신하는 동작;
상기 쿼리에 응답하여, 상기 제1 서버로부터 상기 댁내 장치에 저장된 재료에 대한 정보를 수신하는 동작;
상기 제2 키워드에 대해 필요한 재료와 상기 댁내 장치에 저장된 재료를 비교함으로써, 구입해야 할 재료에 대한 정보를 식별하는 동작; 및
상기 구입해야 할 재료에 대한 정보를 제2 서버로 송신하는 동작을 포함하는 컴퓨터로 판독 가능한 저장 매체.A computer-readable storage medium storing instructions, wherein the instructions, when executed by at least one processor, cause an electronic device to perform at least one operation, wherein the at least one operation comprises:
An action to obtain multiple text messages;
An operation of analyzing each of the plurality of text messages to obtain a first keyword and a second keyword corresponding to the plurality of text messages;
An action of identifying an in-home device related to the first keyword among a plurality of in-home devices; An action of transmitting a query for searching for materials stored in the in-home device to a first server;
In response to the above query, an action of receiving information about materials stored in the in-house device from the first server;
An operation of identifying information about materials to be purchased by comparing the materials required for the second keyword with materials stored in the home device; and
A computer-readable storage medium comprising an action for transmitting information about materials to be purchased to a second server.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201680064363.9A CN108351890B (en) | 2015-11-24 | 2016-11-22 | Electronic device and method of operating the same |
PCT/KR2016/013471 WO2017090954A1 (en) | 2015-11-24 | 2016-11-22 | Electronic device and operating method thereof |
EP16868850.5A EP3338204A4 (en) | 2015-11-24 | 2016-11-22 | Electronic device and operating method thereof |
US15/360,102 US20170147919A1 (en) | 2015-11-24 | 2016-11-23 | Electronic device and operating method thereof |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020150165070 | 2015-11-24 | ||
KR20150165070 | 2015-11-24 |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20170060567A KR20170060567A (en) | 2017-06-01 |
KR102804046B1 true KR102804046B1 (en) | 2025-05-12 |
Family
ID=59221764
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020160107179A Active KR102804046B1 (en) | 2015-11-24 | 2016-08-23 | Electronic device and method for controlling thereof |
Country Status (2)
Country | Link |
---|---|
EP (1) | EP3338204A4 (en) |
KR (1) | KR102804046B1 (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR102594838B1 (en) * | 2018-08-07 | 2023-10-30 | 삼성전자주식회사 | Electronic device for performing task including call in response to user utterance and method for operation thereof |
KR20200094845A (en) | 2019-01-23 | 2020-08-10 | 삼성전자주식회사 | Server, electronic device and method for managing home appliance |
KR102706150B1 (en) | 2019-04-16 | 2024-09-13 | 삼성전자주식회사 | Server and method for controlling the server |
KR102476383B1 (en) * | 2020-05-12 | 2022-12-09 | 인하대학교 산학협력단 | A method for extracting keywords from texts based on deep learning |
KR20230050807A (en) | 2021-10-08 | 2023-04-17 | 삼성전자주식회사 | An electronic device and Method for controlling the electronic device thereof |
WO2025089589A1 (en) * | 2023-10-24 | 2025-05-01 | 삼성전자주식회사 | Electronic device and user speech processing method therefor |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070050191A1 (en) | 2005-08-29 | 2007-03-01 | Voicebox Technologies, Inc. | Mobile systems and methods of supporting natural language human-machine interactions |
US20130185081A1 (en) * | 2010-01-18 | 2013-07-18 | Apple Inc. | Maintaining Context Information Between User Interactions with a Voice Assistant |
US20150019217A1 (en) * | 2005-08-05 | 2015-01-15 | Voicebox Technologies Corporation | Systems and methods for responding to natural language speech utterance |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110320273A1 (en) * | 2010-06-24 | 2011-12-29 | Microsoft Corporation | Serving content based on conversations |
US9760566B2 (en) * | 2011-03-31 | 2017-09-12 | Microsoft Technology Licensing, Llc | Augmented conversational understanding agent to identify conversation context between two humans and taking an agent action thereof |
JP6259911B2 (en) * | 2013-06-09 | 2018-01-10 | アップル インコーポレイテッド | Apparatus, method, and graphical user interface for enabling conversation persistence across two or more instances of a digital assistant |
-
2016
- 2016-08-23 KR KR1020160107179A patent/KR102804046B1/en active Active
- 2016-11-22 EP EP16868850.5A patent/EP3338204A4/en not_active Ceased
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20150019217A1 (en) * | 2005-08-05 | 2015-01-15 | Voicebox Technologies Corporation | Systems and methods for responding to natural language speech utterance |
US20070050191A1 (en) | 2005-08-29 | 2007-03-01 | Voicebox Technologies, Inc. | Mobile systems and methods of supporting natural language human-machine interactions |
US20130185081A1 (en) * | 2010-01-18 | 2013-07-18 | Apple Inc. | Maintaining Context Information Between User Interactions with a Voice Assistant |
Also Published As
Publication number | Publication date |
---|---|
EP3338204A1 (en) | 2018-06-27 |
KR20170060567A (en) | 2017-06-01 |
EP3338204A4 (en) | 2018-06-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108351890B (en) | Electronic device and method of operating the same | |
US11636861B2 (en) | Electronic device and method of operation thereof | |
EP3567584B1 (en) | Electronic apparatus and method for operating same | |
CN107637025B (en) | Electronic device for outputting message and control method thereof | |
KR102584184B1 (en) | Electronic device and method for controlling thereof | |
KR102847032B1 (en) | Method for sensing utterance completion and electronic device for the same | |
KR102495523B1 (en) | Method for processing voice instructions and electronic device supporting the same | |
KR102481687B1 (en) | Job information processing method and electronic device supporting the same | |
KR102733030B1 (en) | A method for processing various input, an electronic device and a server thereof | |
KR102804046B1 (en) | Electronic device and method for controlling thereof | |
KR20160071732A (en) | Method and apparatus for processing voice input | |
KR102761645B1 (en) | Electronic apparatus for providing a voice recognition control and method thereof | |
KR102447907B1 (en) | Electronic device and method for providing a recommendation object | |
KR102568374B1 (en) | Electronic device and method for updating point of interest thereof | |
US10034151B2 (en) | Method for providing point of interest and electronic device thereof | |
KR20170038378A (en) | Electronic device for processing image and method for controlling thereof | |
KR20190018886A (en) | Method for performing voice recognition and electronic device using the same | |
KR102707426B1 (en) | Electronic device, system and method for providing welcome message | |
KR102465092B1 (en) | Electronic device and method for controlling thereof | |
US20190012219A1 (en) | Method for providing content to user according to user's preference and electronic device therefor | |
KR102323797B1 (en) | Electronic device and method for sharing information of the same | |
KR20160071923A (en) | Generating Template in an Electronic Device | |
KR102354729B1 (en) | Method for contacts management of electronic device and electronic device thereof | |
KR102262259B1 (en) | Server for providing service for matching room mate and method for operation thereof | |
KR102680409B1 (en) | Electronic device and method for providing delivery information using the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PA0109 | Patent application |
Patent event code: PA01091R01D Comment text: Patent Application Patent event date: 20160823 |
|
PG1501 | Laying open of application | ||
A201 | Request for examination | ||
PA0201 | Request for examination |
Patent event code: PA02012R01D Patent event date: 20210823 Comment text: Request for Examination of Application Patent event code: PA02011R01I Patent event date: 20160823 Comment text: Patent Application |
|
E902 | Notification of reason for refusal | ||
PE0902 | Notice of grounds for rejection |
Comment text: Notification of reason for refusal Patent event date: 20240710 Patent event code: PE09021S01D |
|
E701 | Decision to grant or registration of patent right | ||
PE0701 | Decision of registration |
Patent event code: PE07011S01D Comment text: Decision to Grant Registration Patent event date: 20250327 |
|
PG1601 | Publication of registration |