Movatterモバイル変換


[0]ホーム

URL:


KR20170060567A - Electronic device and method for controlling thereof - Google Patents

Electronic device and method for controlling thereof
Download PDF

Info

Publication number
KR20170060567A
KR20170060567AKR1020160107179AKR20160107179AKR20170060567AKR 20170060567 AKR20170060567 AKR 20170060567AKR 1020160107179 AKR1020160107179 AKR 1020160107179AKR 20160107179 AKR20160107179 AKR 20160107179AKR 20170060567 AKR20170060567 AKR 20170060567A
Authority
KR
South Korea
Prior art keywords
electronic device
keyword
text messages
text
analysis result
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.)
Granted
Application number
KR1020160107179A
Other languages
Korean (ko)
Other versions
KR102804046B1 (en
Inventor
이해준
노지현
김덕호
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사filedCritical삼성전자주식회사
Priority to PCT/KR2016/013471priorityCriticalpatent/WO2017090954A1/en
Priority to EP16868850.5Aprioritypatent/EP3338204A4/en
Priority to CN201680064363.9Aprioritypatent/CN108351890B/en
Priority to US15/360,102prioritypatent/US20170147919A1/en
Publication of KR20170060567ApublicationCriticalpatent/KR20170060567A/en
Application grantedgrantedCritical
Publication of KR102804046B1publicationCriticalpatent/KR102804046B1/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromKorean

본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법은, 복수 개의 텍스트 메시지를 획득하는 동작, 상기 복수 개의 텍스트 메시지 각각을 분석하여, 상기 복수 개의 텍스트 메시지에 대응하는 키워드를 획득하는 동작, 상기 키워드를 포함한 쿼리를 송신하는 동작 및 상기 키워드 분석 결과를 수신하여, 상기 수신된 키워드 분석 결과에 대응하는 동작을 수행하는 동작을 포함할 수 있다.A method of controlling an electronic device according to various embodiments of the present invention includes: 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 an operation of receiving the keyword analysis result and performing an operation corresponding to the received keyword analysis result.

Description

Translated fromKorean
전자 장치 및 그 제어 방법{ELECTRONIC DEVICE AND METHOD FOR CONTROLLING THEREOF}[0001] ELECTRONIC DEVICE AND CONTROLLING THEREOF [0002]

본 발명은 전자 장치 및 그 제어 방법에 관한 것으로, 더욱 상세하게는 획득된 텍스트를 처리하는 전자 장치 및 그 제어 방법에 관한 것이다.BACKGROUND OF THEINVENTION 1. Field of the Invention The present invention relates to an electronic apparatus and a control method thereof, and more particularly to an electronic apparatus for processing acquired text and a control method thereof.

근자에 들어서, 사용자가 발화하는 음성 또는 사용자가 입력하는 텍스트를 분석하여, 사용자의 의도를 파악할 수 있는 프로그램 또는 알고리즘이 활발하게 개발되고 있다. 예를 들어, 종래의 프로그램 또는 알고리즘은 입력된 사용자의 음성을 텍스트로 변환할 수 있으며, 텍스트에 자연어 처리(Natural language process)를 수행할 수 있다. 자연어 처리는, 사람 언어의 이해, 생성 및 분석을 다루는 인공 지능 기술일 수 있으며, 텍스트의 구성 요소별 역할 등을 파악할 수 있다. 아울러, 별도의 사용자 의도 분석 알고리즘은 자연어 처리 결과를 분석함에 따라서, 텍스트에 포함된 자연어 분석을 수행할 수 있다. 종래의 전자 장치는, 예를 들어 하나의 문장으로 구분된 텍스트를 분석하여, 사용자의 의도를 파악하고, 파악된 사용자 의도에 대응되는 동작을 수행할 수 있다. 다만, 종래의 전자 장치는, 하나의 문장으로 구분된 텍스트 내의 명확한 지시 대상을 포함한 경우에만, 사용자 의도를 분석할 수 있으며, 이에 따라 사용자의 정확한 의도를 파악하는 것이 어려운 문제점이 존재한다.Recently, programs or algorithms have been actively developed for analyzing the speech uttered by the user or the text inputted by the user and grasping the intention of the user. For example, a conventional program or algorithm can convert the voice of an input user into text, and can perform a natural language process on the text. Natural language processing can be an artificial intelligence technology that deals with the understanding, generation, and analysis of human language, and can understand the role of each component of text. In addition, a separate user's intention analysis algorithm can perform natural language analysis included in the text by analyzing the natural language processing result. The conventional electronic device can analyze the text divided into one sentence, for example, to grasp the intention of the user and perform an operation corresponding to the user's intention. However, the conventional electronic device has a problem that it is difficult to grasp the intention of the user by analyzing the intention of the user only when it includes a clear indication object in the text divided into one sentence.

본 발명은 상술한 문제점 또는 다른 문제점을 해결하기 위하여 안출된 것으로, 본 발명의 다양한 실시예는 복수 개의 텍스트를 분석하여 사용자 의도를 보다 명확히 파악하여, 이에 대응하는 동작을 수행할 수 있는 전자 장치 및 그 제어 방법을 제공할 수 있다.The present invention has been made in order to solve the above-mentioned problems or other problems, and it is an object of the present invention to provide an electronic device capable of analyzing a plurality of texts to more clearly understand a user's intention, The control method can be provided.

본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법은, 복수 개의 텍스트 메시지를 획득하는 동작; 상기 복수 개의 텍스트 메시지 각각을 분석하여, 상기 복수 개의 텍스트 메시지에 대응하는 키워드를 획득하는 동작; 상기 키워드를 포함한 쿼리를 송신하는 동작; 및 상기 키워드 분석 결과를 수신하여, 상기 수신된 키워드 분석 결과에 대응하는 동작을 수행하는 동작을 포함할 수 있다.A method of controlling an electronic device according to various embodiments of the present invention includes: 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 an operation of receiving the keyword analysis result and performing an operation corresponding to the received keyword analysis result.

본 발명의 다양한 실시예에 따른 전자 장치는, 통신 모듈; 상기 통신 모듈에 전기적으로 연결되는 프로세서; 및 상기 프로세서에 전기적으로 연결되는 메모리를 포함하고, 상기 메모리는, 실행시에 상기 프로세서가, 복수 개의 텍스트 메시지를 획득하고, 상기 복수 개의 텍스트 메시지 각각을 분석하여, 상기 복수 개의 텍스트 메시지에 대응하는 키워드를 획득하고, 상기 키워드를 포함한 쿼리를 상기 통신 모듈을 이용하여 송신하고, 상기 키워드 분석 결과를 수신하여, 상기 수신된 키워드 분석 결과에 대응하는 동작을 수행하는 인스트럭션을 저장할 수 있다.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 coupled to the processor, wherein the processor, upon execution, causes the processor to acquire a plurality of text messages, analyze each of the plurality of text messages, And may store an instruction to acquire a keyword, transmit a query including the keyword using the communication module, receive the keyword analysis result, and perform an operation corresponding to the received keyword analysis result.

본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법은, 상기 전자 장치에서 실행되는 채팅 어플리케이션의 실행 화면을 상기 디스플레이부에 표시하는 동작; 통신부를 통해 다른 전자 장치로부터 수신되는 복수 개의 텍스트 메시지 및 상기 전자 장치의 입력부를 통해 입력되는 복수 개의 텍스트 메시지를 상기 실행 화면에 표시하는 동작; 상기 화면에 표시되는 복수 개의 텍스트 메시지중 적어도 하나에 기초하여 정보를 제공 할 수 있는 외부 장치를 결정하는 동작; 상기 결정된 외부 장치로부터 정보를 수신하는 동작; 및 상기 수신된 정보를 상기 디스플레이부에 표시하는 동작;을 포함할 수 있다. 상기 실행 화면에 표시되는 복수 개의 텍스트 메시지 및 상기 수신된 정보는 시간 순으로 정렬되어 상기 실행 화면에 표시될 수 있다. 상기 실행 화면에는, 사용자 입력을 수신할 수 있는 UI 엘리먼트가 표시될 수 있다.The method of controlling an electronic device according to various embodiments of the present invention includes: 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 a 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 and the received information displayed on the execution screen may be displayed in chronological order and displayed on the execution screen. A UI element capable of receiving 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 capable of analyzing a plurality of texts to more clearly grasp the intention of a user or a plurality of users and to perform a corresponding operation can be provided. Thus, the intention of a plurality of users can be grasped more clearly in a situation where a plurality of texts such as a dialog between a plurality of users are generated. Further, even when a single user utters or inputs a plurality of texts at intervals of time, the user's intention can be clearly grasped.

도 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 디바이스를 호출하여 통신하는 예를 도시한다.
Figure 1 shows a block diagram of an electronic device and network according to various embodiments of the present invention.
2 is a block diagram of an electronic device according to various embodiments.
3 is a block diagram of a program module according to various embodiments.
4 shows a flowchart for explaining a control method of an electronic device according to various embodiments of the present invention.
5A and 5B show a conceptual diagram of an electronic device according to various embodiments of the present invention.
6 illustrates a conceptual diagram for explaining text message acquisition according to various embodiments of the present invention.
7A and 7B show flowcharts for illustrating a method of controlling an electronic device according to various embodiments of the present invention.
8A shows a conceptual diagram for explaining natural language analysis of an electronic device according to various embodiments of the present invention.
8B shows a conceptual diagram for explaining a template according to various embodiments of the present invention.
FIG. 8C shows the results of applying a machine learning or deep learning algorithm to a pattern of user intent according to various embodiments of the present invention.
9 shows a flow chart for explaining a control method of an electronic device according to various embodiments of the present invention.
10A shows a conceptual diagram of an electronic device according to various embodiments of the present invention.
FIG. 10B shows a conceptual diagram for explaining keyword generation according to various embodiments of the present invention.
10C shows a conceptual diagram of an electronic device according to various embodiments of the present invention.
FIG. 10D is a conceptual diagram illustrating a keyword generation process according to various embodiments of the present invention.
11 shows a flowchart for explaining a control method of an electronic device according to various embodiments of the present invention.
12A and 12B show a flow chart for explaining a control method of an electronic device according to various embodiments of the present invention.
13 shows a conceptual diagram of an electronic device according to various embodiments of the present invention.
Figure 14 illustrates a conceptual diagram for describing a receiver server in accordance with various embodiments of the present invention.
15 shows a flowchart for explaining a control method of an electronic device according to various embodiments of the present invention.
16A to 16C show a flow chart for explaining keyword generation using additional information according to various embodiments of the present invention.
17A to 17D show a conceptual diagram for explaining keyword generation using additional information according to various embodiments of the present invention.
18 shows a conceptual diagram for explaining the operation of an electronic device in an internet of things (IoT) environment according to various embodiments of the present invention.
19 shows a flowchart for explaining a control method of an electronic device according to various embodiments of the present invention.
20 shows a flowchart for explaining a control method of an electronic device according to various embodiments of the present invention.
21A and 21B illustrate a conceptual diagram for explaining a process of processing user voice from a single user according to various embodiments of the present invention.
22 shows a flow diagram illustrating a method of controlling an electronic device according to various embodiments of the present invention.
23 shows a conceptual diagram for explaining the operation of an electronic device according to various embodiments of the present invention.
24 shows a flow diagram illustrating a method of controlling an electronic device according to various embodiments of the present invention.
25A to 25C show an example of communication by calling an in-house 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 accompanying drawings. It should be understood, however, that this invention is not intended to be limited to the particular embodiments described herein but includes various modifications, equivalents, and / or alternatives of the embodiments of this document . In connection with the description of the drawings, like reference numerals may be used for similar components.

본 문서에서, "가진다," "가질 수 있다," "포함한다," 또는 "포함할 수 있다" 등의 표현은 해당 특징(예: 수치, 기능, 동작, 또는 부품 등의 구성요소)의 존재를 가리키며, 추가적인 특징의 존재를 배제하지 않는다.In this document, the expressions "having," " having, "" comprising," or &Quot;, and does not exclude the presence of additional features.

본 문서에서, "A 또는 B," "A 또는/및 B 중 적어도 하나," 또는 "A 또는/및 B 중 하나 또는 그 이상"등의 표현은 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다. 예를 들면, "A 또는 B," "A 및 B 중 적어도 하나," 또는 "A 또는 B 중 적어도 하나"는, (1) 적어도 하나의 A를 포함, (2) 적어도 하나의 B를 포함, 또는 (3) 적어도 하나의 A 및 적어도 하나의 B 모두를 포함하는 경우를 모두 지칭할 수 있다.In this document, the expressions "A or B," "at least one of A or / and B," or "one or more of A and / or B," etc. may 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" includes (1) at least one A, (2) Or (3) at least one A and at least one B all together.

본 문서에서 사용된 "제 1," "제 2," "첫째," 또는 "둘째,"등의 표현들은 다양한 구성요소들을, 순서 및/또는 중요도에 상관없이 수식할 수 있고, 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 뿐 해당 구성요소들을 한정하지 않는다. 예를 들면, 제 1 사용자 기기와 제 2 사용자 기기는, 순서 또는 중요도와 무관하게, 서로 다른 사용자 기기를 나타낼 수 있다. 예를 들면, 본 문서에 기재된 권리 범위를 벗어나지 않으면서 제 1 구성요소는 제 2 구성요소로 명명될 수 있고, 유사하게 제 2 구성요소도 제 1 구성요소로 바꾸어 명명될 수 있다.As used herein, the terms "first," "second," "first," or "second," and the like may denote various components, regardless of their order and / or importance, But is used to distinguish it from other components and does not limit the components. For example, the first user equipment and the second user equipment may represent different user equipment, regardless of order or importance. For example, without departing from the scope of the rights described in this document, the first component can be named as the second component, and similarly the second component can also be named as the first component.

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

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

본 문서에서 사용된 용어들은 단지 특정한 실시예를 설명하기 위해 사용된 것으로, 다른 실시예의 범위를 한정하려는 의도가 아닐 수 있다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함할 수 있다. 기술적이거나 과학적인 용어를 포함해서 여기서 사용되는 용어들은 본 문서에 기재된 기술 분야에서 통상의 지식을 가진 자에 의해 일반적으로 이해되는 것과 동일한 의미를 가질 수 있다. 본 문서에 사용된 용어들 중 일반적인 사전에 정의된 용어들은, 관련 기술의 문맥상 가지는 의미와 동일 또는 유사한 의미로 해석될 수 있으며, 본 문서에서 명백하게 정의되지 않는 한, 이상적이거나 과도하게 형식적인 의미로 해석되지 않는다. 경우에 따라서, 본 문서에서 정의된 용어일지라도 본 문서의 실시예들을 배제하도록 해석될 수 없다.The terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of the other embodiments. The singular expressions may include plural expressions unless the context clearly dictates otherwise. Terms used herein, including technical or scientific terms, may have the same meaning as commonly understood by one of ordinary skill in the art. The general predefined terms used in this document may be interpreted in the same or similar sense as the contextual meanings of the related art and, unless expressly defined in this document, include ideally or excessively formal meanings . In some cases, even the terms defined in this document can not be construed as excluding 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 be, for example, 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) A medical device, a camera, or a wearable device. According to various embodiments, the wearable device may be of the accessory type (e.g., a watch, a ring, a bracelet, a bracelet, a necklace, a pair of glasses, a contact lens or a head-mounted-device (HMD) For example, an electronic garment), a body attachment type (e.g., a skin pad or a tattoo), or a bio-implantable It may receive power from the transmitter, and thus the electronic device may be termed 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. Home appliances include, for example, televisions, digital video disc (DVD) players, audio, refrigerators, air conditioners, vacuum cleaners, ovens, microwaves, washing machines, air cleaners, set- Such as a home automation control panel, a security control panel, a TV box such as Samsung HomeSyncTM , Apple TVTM or Google TVTM , a game console such as XboxTM and PlayStationTM , , An electronic key, a camcorder, or an electronic 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 an alternative embodiment, the electronic device may be any of a variety of medical devices (e.g., various portable medical measurement devices such as a blood glucose meter, a heart rate meter, a blood pressure meter, or a body temperature meter), magnetic resonance angiography (MRA) Navigation systems, global navigation satellite systems (GNSS), event data recorders (EDRs), flight data recorders (FDRs), infotainment (infotainment) systems, ) Automotive electronic equipment (eg marine navigation systems, gyro compass, etc.), avionics, security devices, head units for vehicles, industrial or home robots, automatic teller's machines (ATMs) Point of sale, or internet of things (eg, light bulbs, various sensors, electrical or gas meters, sprinkler devices, fire alarms, thermostats, street lights, Of the emitter (toaster), exercise equipment, hot water tank, a heater, boiler, etc.) may include at least one.

어떤 실시예에 따르면, 전자 장치는 가구(furniture) 또는 건물/구조물의 일부, 전자 보드(electronic board), 전자 사인 수신 장치(electronic signature receiving device), 프로젝터(projector), 또는 각종 계측 기기(예: 수도, 전기, 가스, 또는 전파 계측 기기 등) 중 적어도 하나를 포함할 수 있다. 다양한 실시예에서, 전자 장치는 전술한 다양한 장치들 중 하나 또는 그 이상의 조합일 수 있다. 어떤 실시예에 따른 전자 장치는 플렉서블 전자 장치일 수 있다. 또한, 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않으며, 기술 발전에 따른 새로운 전자 장치를 포함할 수 있다.According to some embodiments, the electronic device is a piece of furniture or a part of a building / structure, an electronic board, an electronic signature receiving device, a projector, Water, electricity, gas, or radio wave measuring instruments, etc.). In various embodiments, the electronic device may be a combination of one or more of the various devices described above. An electronic device according to some embodiments may be a flexible electronic device. Further, the electronic device according to the embodiment of the present document is not limited to the above-described devices, and may include a new electronic device according to technological advancement.

이하, 첨부 도면을 참조하여, 다양한 실시예에 따른 전자 장치가 설명된다. 본 문서에서, 사용자라는 용어는 전자 장치를 사용하는 사람 또는 전자 장치를 사용하는 장치(예: 인공지능 전자 장치)를 지칭할 수 있다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An electronic apparatus according to various embodiments will now be described with reference to the accompanying 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 Figure 1, in various embodiments, anelectronic device 101 in anetwork environment 100 is described. Theelectronic device 101 may include abus 110, aprocessor 120, amemory 130, an input /output interface 150, adisplay 160, and acommunication module 170. In some embodiments, theelectronic device 101 may omit at least one of the components or additionally include other components.

버스(110)는, 예를 들면, 구성요소들(110-170)을 서로 연결하고, 구성요소들 간의 통신(예: 제어 메시지 및/또는 데이터)을 전달하는 회로를 포함할 수 있다.Thebus 110 may include circuitry, for example, to connect the components 110-170 to one another and to communicate communications (e.g., control messages and / or data) between the components.

프로세서(120)는, 중앙처리장치(central processing unit(CPU)), 어플리케이션 프로세서(application processor(AP)), 또는 커뮤니케이션 프로세서(communication processor(CP)) 중 하나 또는 그 이상을 포함할 수 있다. 프로세서(120)는, 예를 들면, 전자 장치(101)의 적어도 하나의 다른 구성요소들의 제어 및/또는 통신에 관한 연산이나 데이터 처리를 실행할 수 있다.Theprocessor 120 may include one or more of a central processing unit (CPU), an application processor (AP), or a communication processor (CP). Theprocessor 120 may perform computations or data processing related to, for example, control and / or communication of at least one other component of theelectronic device 101.

메모리(130)는, 휘발성 및/또는 비휘발성 메모리를 포함할 수 있다. 메모리(130)는, 예를 들면, 전자 장치(101)의 적어도 하나의 다른 구성요소에 관계된 명령 또는 데이터를 저장할 수 있다. 한 실시예에 따르면, 메모리(130)는 소프트웨어 및/또는 프로그램(140)을 저장할 수 있다. 프로그램(140)은, 예를 들면, 커널(141), 미들웨어(143), 어플리케이션 프로그래밍 인터페이스(application programming interface(API))(145), 및/또는 어플리케이션 프로그램(또는 "어플리케이션")(147) 등을 포함할 수 있다. 커널(141), 미들웨어(143), 또는 API(145)의 적어도 일부는, 운영 시스템(operating system(OS))으로 지칭될 수 있다.Memory 130 may include volatile and / or non-volatile memory.Memory 130 may store instructions or data related to at least one other component ofelectronic device 101, for example. According to one embodiment, thememory 130 may store software and / orprograms 140. Theprogram 140 may include one or more of the following: akernel 141, amiddleware 143, an application programming interface (API) 145, and / or an application program . ≪ / RTI > At least a portion of thekernel 141,middleware 143, orAPI 145 may be referred to as an operating system (OS).

커널(141)은, 예를 들면, 다른 프로그램들(예: 미들웨어(143), API(145), 또는 어플리케이션 프로그램(147))에 구현된 동작 또는 기능을 실행하는 데 사용되는 시스템 리소스들(예: 버스(110), 프로세서(120), 또는 메모리(130) 등)을 제어 또는 관리할 수 있다. 또한, 커널(141)은 미들웨어(143), API(145), 또는 어플리케이션 프로그램(147)에서 전자 장치(101)의 개별 구성요소에 접근함으로써, 시스템 리소스들을 제어 또는 관리할 수 있는 인터페이스를 제공할 수 있다.Thekernel 141 may include system resources used to execute an operation or function implemented in other programs (e.g.,middleware 143,API 145, or application program 147) (E.g.,bus 110,processor 120, or memory 130). Thekernel 141 also provides an interface to control or manage system resources by accessing individual components of theelectronic device 101 in themiddleware 143,API 145, orapplication program 147 .

미들웨어(143)는, 예를 들면, API(145) 또는 어플리케이션 프로그램(147)이 커널(141)과 통신하여 데이터를 주고받을 수 있도록 중개 역할을 수행할 수 있다.Themiddleware 143 can perform an intermediary role such that theAPI 145 or theapplication program 147 can communicate with thekernel 141 to exchange data.

또한, 미들웨어(143)는 어플리케이션 프로그램(147)으로부터 수신된 하나 이상의 작업 요청들을 우선 순위에 따라 처리할 수 있다. 예를 들면, 미들웨어(143)는 어플리케이션 프로그램(147) 중 적어도 하나에 전자 장치(101)의 시스템 리소스(예: 버스(110), 프로세서(120), 또는 메모리(130) 등)를 사용할 수 있는 우선 순위를 부여할 수 있다. 예컨대, 미들웨어(143)는 상기 적어도 하나에 부여된 우선 순위에 따라 상기 하나 이상의 작업 요청들을 처리함으로써, 상기 하나 이상의 작업 요청들에 대한 스케쥴링 또는 로드 밸런싱 등을 수행할 수 있다.In addition, themiddleware 143 may process one or more task requests received from theapplication program 147 according to the priority order. For example,middleware 143 may use system resources (e.g.,bus 110,processor 120, ormemory 130, etc.) ofelectronic device 101 in at least one ofapplication programs 147 Priority can be given. For example, themiddleware 143 may perform the scheduling or load balancing of the one or more task requests by processing the one or more task requests according to the priority assigned to the at least one task.

API(145)는, 예를 들면, 어플리케이션(147)이 커널(141) 또는 미들웨어(143)에서 제공되는 기능을 제어하기 위한 인터페이스로, 예를 들면, 파일 제어, 창 제어, 영상 처리, 또는 문자 제어 등을 위한 적어도 하나의 인터페이스 또는 함수(예: 명령어)를 포함할 수 있다.TheAPI 145 is an interface for theapplication 147 to control the functions provided by thekernel 141 or themiddleware 143, Control or the like, for example, instructions.

입출력 인터페이스(150)는, 예를 들면, 사용자 또는 다른 외부 기기로부터 입력된 명령 또는 데이터를 전자 장치(101)의 다른 구성요소(들)에 전달할 수 있는 인터페이스의 역할을 할 수 있다. 또한, 입출력 인터페이스(150)는 전자 장치(101)의 다른 구성요소(들)로부터 수신된 명령 또는 데이터를 사용자 또는 다른 외부 기기로 출력할 수 있다.The input /output interface 150 may serve as an interface by which commands or data input from, for example, a user or other external device can be transferred to another component (s) of theelectronic device 101.Output interface 150 may output commands or data received from other component (s) of theelectronic device 101 to a user or other external device.

디스플레이(160)는, 예를 들면, 액정 디스플레이(liquid crystal display(LCD)), 발광 다이오드(light-emitting diode(LED)) 디스플레이, 유기 발광 다이오드(organic light-emitting diode(OLED)) 디스플레이, 또는 마이크로 전자기계 시스템(microelectromechanical systems(MEMS)) 디스플레이, 또는 전자종이(electronic paper) 디스플레이를 포함할 수 있다. 디스플레이(160)는, 예를 들면, 사용자에게 각종 콘텐츠(예: 텍스트, 이미지, 비디오, 아이콘, 또는 심볼 등)을 표시할 수 있다. 디스플레이(160)는, 터치 스크린을 포함할 수 있으며, 예를 들면, 전자 펜 또는 사용자의 신체의 일부를 이용한 터치, 제스쳐, 근접, 또는 호버링 입력을 수신할 수 있다.Display 160 may include, for example, a liquid crystal display (LCD), a light-emitting diode (LED) display, an organic light-emitting diode (OLED) A microelectromechanical systems (MEMS) display, or an electronic paper display.Display 160 may display various content (e.g., text, image, video, icon, or symbol, etc.) to a user, for example.Display 160 may include a touch screen and may receive a touch, gesture, proximity, or hovering input using, for example, an electronic pen or a portion of the user's body.

통신 모듈(170)은, 예를 들면, 전자 장치(101)와 외부 장치(예: 제 1 외부 전자 장치(102), 제 2 외부 전자 장치(104), 또는 서버(106)) 간의 통신을 설정할 수 있다. 예를 들면, 통신 모듈(170)은 무선 통신 또는 유선 통신을 통해서 네트워크(162)에 연결되어 외부 장치(예: 제 2 외부 전자 장치(104) 또는 서버(106))와 통신할 수 있다.Thecommunication module 170 is used to establish communication between theelectronic device 101 and an external device such as the first external electronic device 102, the second externalelectronic device 104, or theserver 106 . For example,communication module 170 may be connected to network 162 via wireless or wired communication to communicate with an external device (e.g., second externalelectronic device 104 or 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) 중 적어도 하나를 포함할 수 있다.Wireless communications may include, for example, cellular communication protocols such as long-term evolution (LTE), LTE Advance (LTE), code division multiple access (CDMA), wideband CDMA (WCDMA) mobile telecommunications system, WiBro (Wireless Broadband), or Global System for Mobile Communications (GSM). The wireless communication may also include, for example,local communication 164. Thelocal area communication 164 may include at least one of, for example, wireless fidelity (WiFi), Bluetooth, near field communication (NFC), or global navigation satellite system (GNSS). GNSS can be classified into two types according to the use area or bandwidth, for example, Global Positioning System (GPS), Global Navigation Satellite System (Glonass), Beidou Navigation Satellite System (Beidou) And may include at least one. Hereinafter, in this document, "GPS" can be interchangeably used 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 standard 232 (RS-232), or plain old telephone service (POTS). Thenetwork 162 may include at least one of a telecommunications network, e.g., 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 externalelectronic devices 102, 104 may be the same or a different kind of device as theelectronic device 101. According to one embodiment, theserver 106 may comprise a group of one or more servers. According to various embodiments, all or a portion of the operations performed in theelectronic device 101 may be performed in one or more other electronic devices (e.g.,electronic devices 102, 104, or server 106). According to the present invention, whenelectronic device 101 is to perform a function or service automatically or on demand,electronic device 101 may perform at least some functions associated therewith instead of, or in addition to, (E.g.,electronic device 102, 104, or server 106) may request the other device (e.g.,electronic device 102, 104, or server 106) Perform additional functions, and forward the results to theelectronic device 101. Theelectronic device 101 may process the received results as is or additionally to provide the requested functionality or services. For example, Cloud computing, distributed computing, or client-server computing techniques can be used.

본 발명의 다양한 실시예에서, 상기 메모리(130)는, 실행시에 상기 프로세서(120)가, 복수 개의 텍스트 메시지를 획득하고, 상기 복수 개의 텍스트 메시지 각각을 분석하여, 상기 복수 개의 텍스트 메시지에 대응하는 키워드를 획득하고, 상기 키워드를 포함한 쿼리를 상기 통신 모듈(170)을 이용하여 송신하고, 상기 키워드 분석 결과를 수신하여, 상기 수신된 키워드 분석 결과에 대응하는 동작을 수행하는 인스트럭션을 저장할 수 있다.In various embodiments of the present invention, thememory 130 may be configured such that upon execution, theprocessor 120 obtains a plurality of text messages, analyzes each of the plurality of text messages, And transmits the query including the keyword using thecommunication module 170. Thekeyword analyzing unit 170 may store the instruction to receive the keyword analysis result and perform an operation corresponding to the received keyword analysis result .

본 발명의 다양한 실시예에서, 상기 메모리(130)는, 실행시에 상기 프로세서(120)가, 키워드 분석을 수행하는 수신자와 관련된 수신자 정보를 획득하고, 상기 쿼리를 송신하는 동작은, 상기 키워드 및 상기 수신자 정보를 포함한 상기 쿼리를 상기 통신 모듈을 이용하여 송신하는 인스트럭션을 저장할 수 있고, 상기 키워드 분석 결과는, 상기 수신자 정보에 대응하는 전자 장치에 의하여 수행될 수 있다.In various embodiments of the present invention, thememory 130 may be configured such that upon execution, theprocessor 120 obtains recipient information associated with a recipient performing keyword analysis and transmitting the query comprises: An instruction to transmit the query including 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, thememory 130 may be configured such that upon execution, theprocessor 120 processes each of the plurality of text messages in a natural language and uses the natural language processing results for each of the plurality of text messages , And may store an instruction to generate the keyword.

본 발명의 다양한 실시예에서, 상기 메모리(130)는, 실행시에 상기 프로세서(120)가, 기설정된 템플릿과, 상기 자연어 처리 결과를 비교하고, 상기 비교 결과에 기초하여, 상기 키워드를 생성하는 인스트럭션을 저장할 수 있다.In various embodiments of the present invention, thememory 130 may be configured such that at execution time, theprocessor 120 compares the natural language processing result with a predetermined template, and generates the keyword based on the comparison result Instructions can be stored.

본 발명의 다양한 실시예에서, 상기 메모리(130)는, 실행시에 상기 프로세서(120)가, 상기 자연어 처리 결과에 대하여 머신 러닝(machine learning) 또는 딥 러닝(deep learning) 알고리즘을 적용하고, 상기 적용 결과에 기초하여, 상기 복수 개의 텍스트 메시지 각각의 의도를 판단하고, 상기 복수 개의 텍스트 메시지 각각의 의도에 기초하여, 상기 키워드를 생성하는 인스트럭션을 저장할 수 있다.In various embodiments of the present invention, thememory 130 may be configured such that upon execution, theprocessor 120 applies a machine learning or deep learning algorithm to the natural language processing results, Based on the result of the application, determine an intention of each of the plurality of text messages and store an instruction to generate the keyword based on an intention of each of the plurality of text messages.

본 발명의 다양한 실시예에서, 상기 메모리(130)는, 실행시에 상기 프로세서(120)가, 제 1 기간 동안에 복수 개의 제 1 텍스트 메시지를 획득하고, 제 2 기간 동안에 복수 개의 제 2 텍스트 메시지를 획득하는 인스트럭션을 저장할 수 있다.In various embodiments of the present invention, thememory 130 may be configured such that upon execution, theprocessor 120 obtains a plurality of first text messages during a first period and a plurality of second text messages during a second period You can store the instruction to be acquired.

본 발명의 다양한 실시예에서, 상기 메모리(130)는, 실행시에 상기 프로세서(120)가, 상기 복수 개의 제 1 텍스트 메시지에 대응하는 제 1 키워드를 생성하고, 상기 복수 개의 제 2 텍스트 메시지에 대응하는 제 2 키워드를 생성하는 인스트럭션을 저장할 수 있다.In various embodiments of the present invention, thememory 130 may be configured such that upon execution, theprocessor 120 generates a first keyword corresponding to the plurality of first text messages, And store an instruction to generate a corresponding second keyword.

본 발명의 다양한 실시예에서, 상기 메모리(130)는, 실행시에 상기 프로세서(120)가, 상기 복수 개의 제 2 텍스트 메시지의 분석 결과와, 상기 제 1 키워드 및 상기 복수 개의 제 1 텍스트 메시지 중 적어도 하나를 이용하여, 상기 제 2 키워드를 생성하는 인스트럭션을 저장할 수 있다.In various embodiments of the present invention, thememory 130 may be configured such that, at run time, theprocessor 120 is configured to compare the results of the analysis of the plurality of second text messages with those of the first keyword and the plurality of first text messages Using at least one, the instruction to generate the second keyword.

본 발명의 다양한 실시예에서, 상기 메모리(130)는, 실행시에 상기 프로세서(120)가, 추가 정보를 획득하고, 상기 복수 개의 텍스트 메시지의 분석 결과 및 상기 추가 정보를 이용하여, 상기 키워드를 생성하는 인스트럭션을 저장할 수 있다.In various embodiments of the present invention, thememory 130 may be configured such that, at run time, theprocessor 120 obtains additional information, uses the analysis results of the plurality of text messages and the additional information, You can store the instructions you create.

본 발명의 다양한 실시예에서, 상기 메모리(130)는, 실행시에 상기 프로세서(120)가, 상기 복수 개의 텍스트 메시지의 분석 결과와 연관된 추가 정보를 획득하거나 또는 상기 복수 개의 텍스트 메시지로부터 독립적인 추가 정보를 획득하는 인스트럭션을 저장할 수 있다.In various embodiments of the present invention, thememory 130 may be configured such that upon execution, theprocessor 120 obtains additional information associated with the analysis results of the plurality of text messages, And may store instructions to obtain information.

본 발명의 다양한 실시예에서, 전자 장치(101)는 복수 개의 사용자 음성을 획득하는 마이크(미도시)를 더 포함할 수 있으며, 상기 메모리(130)는, 실행시에 상기 프로세서(120)가, 상기 마이크에서 획득된 상기 복수 개의 사용자 음성 각각을 변환하여, 상기 복수 개의 텍스트 메시지를 획득하는 인스트럭션을 저장할 수 있다.In various embodiments of the present invention, theelectronic device 101 may further include a microphone (not shown) for acquiring a plurality of user voices, And convert each of the plurality of user voices acquired from the microphone to store instructions for acquiring the plurality of text messages.

본 발명의 다양한 실시예에서, 디스플레이(160)는 상기 전자 장치에서 실행되는 채팅 어플리케이션의 실행 화면을 표시할 수 있다. 상기 메모리(130)는, 실행시에 상기 프로세서(120)가, 상기 전자 장치(101)로 입력되거나 또는 다른 전자 장치로부터 수신되는 복수 개의 텍스트 메시지를 상기 채팅 어플리케이션의 실행 화면에 표시하도록 제어하고, 상기 복수 개의 텍스트 메시지에 대한 분석 요청을 수신하고, 상기 분석 요청이 수신되면, 상기 복수 개의 텍스트 메시지에 대응하는 키워드를, 상기 통신 모듈(170)을 이용하여 송신하도록 제어하고, 상기 키워드에 대한 분석 결과를 수신하여, 상기 채팅 어플리케이션 창에 상기 수신된 키워드에 대한 분석 결과를 표시하도록 제어하는 인스트럭션을 저장할 수 있다.In various embodiments of the present invention, thedisplay 160 may display an execution screen of a chat application running on the electronic device. Thememory 130 controls theprocessor 120 to display a plurality of text messages input to theelectronic device 101 or received from another electronic device on an execution screen of the chat application at the time of execution, A control module configured to receive an analysis request for the plurality of text messages and to transmit the keywords corresponding to the plurality of text messages using the communication module when the analysis request is received, And may store an instruction to control the display of the analysis result of the received keyword in the chat application window.

본 발명의 다양한 실시예에서, 상기 메모리(130)는, 실행시에 상기 프로세서(120)가, 복수 개의 텍스트 메시지를 획득하고, 상기 복수 개의 텍스트 메시지 각각을 분석하여, 상기 복수 개의 텍스트 메시지에 대응하는 키워드를 획득하고, 상기 키워드에 대응하는 동작을 수행하는 인스트럭션을 저장할 수 있다.In various embodiments of the present invention, thememory 130 may be configured such that upon execution, theprocessor 120 obtains a plurality of text messages, analyzes each of the plurality of text messages, And store the instruction to perform an operation corresponding to the keyword.

도 2는 다양한 실시예에 따른 전자 장치(201)의 블록도이다. 전자 장치(201)는, 예를 들면, 도 1에 도시된 전자 장치(101)의 전체 또는 일부를 포함할 수 있다. 전자 장치(201)는 하나 이상의 프로세서(예: AP(application processor))(210), 통신 모듈(220), 가입자 식별 모듈(224), 메모리(230), 센서 모듈(240), 입력 장치(250), 디스플레이(260), 인터페이스(270), 오디오 모듈(280), 카메라 모듈(291), 전력 관리 모듈(295), 배터리(296), 인디케이터(297), 및 모터(298) 를 포함할 수 있다.2 is a block diagram of an electronic device 201 according to various embodiments. The electronic device 201 may include all or part of theelectronic device 101 shown in Fig. 1, for example. The electronic device 201 may include one or more processors (e.g., an application processor (AP)) 210, acommunication module 220, asubscriber identification module 224, amemory 230, asensor module 240, an input device 250 Adisplay 260, aninterface 270, anaudio module 280, acamera module 291, apower management module 295, abattery 296, anindicator 297, and amotor 298 have.

프로세서(210)는, 예를 들면, 운영 체제 또는 응용 프로그램을 구동하여 프로세서(210)에 연결된 다수의 하드웨어 또는 소프트웨어 구성요소들을 제어할 수 있고, 각종 데이터 처리 및 연산을 수행할 수 있다. 프로세서(210)는, 예를 들면, SoC(system on chip) 로 구현될 수 있다. 한 실시예에 따르면, 프로세서(210)는 GPU(graphic processing unit) 및/또는 이미지 신호 프로세서(image signal processor)를 더 포함할 수 있다. 프로세서(210)는 도 2에 도시된 구성요소들 중 적어도 일부(예: 셀룰러 모듈(221))를 포함할 수도 있다. 프로세서(210) 는 다른 구성요소들(예: 비휘발성 메모리) 중 적어도 하나로부터 수신된 명령 또는 데이터를 휘발성 메모리에 로드(load)하여 처리하고, 다양한 데이터를 비휘발성 메모리에 저장(store)할 수 있다.Theprocessor 210 may control a plurality of hardware or software components connected to theprocessor 210, for example, by driving an operating system or an application program, and may perform various data processing and calculations. Theprocessor 210 may be implemented with, for example, a system on chip (SoC). According to one embodiment, theprocessor 210 may further include a graphics processing unit (GPU) and / or an image signal processor.Processor 210 may include at least some of the components shown in FIG. 2 (e.g., cellular module 221).Processor 210 may load or process instructions or data received from at least one of the other components (e.g., non-volatile memory) into volatile memory and store the various data in non-volatile memory have.

통신 모듈(220)은, 도 1의 통신 모듈(170)과 동일 또는 유사한 구성을 가질 수 있다. 통신 모듈(220)은, 예를 들면, 셀룰러 모듈(221), WiFi 모듈(223), 블루투스 모듈(225), GNSS 모듈(227)(예: GPS 모듈, Glonass 모듈, Beidou 모듈, 또는 Galileo 모듈), NFC 모듈(228) 및 RF(radio frequency) 모듈(229)를 포함할 수 있다.Thecommunication module 220 may have the same or similar configuration as thecommunication module 170 of FIG. Thecommunication module 220 includes acellular module 221, aWiFi module 223, aBluetooth module 225, a GNSS module 227 (e.g., a GPS module, a Glonass module, a Beidou module, or a Galileo module) AnNFC module 228, and a radio frequency (RF) module 229.

셀룰러 모듈(221)은, 예를 들면, 통신망을 통해서 음성 통화, 영상 통화, 문자 서비스, 또는 인터넷 서비스 등을 제공할 수 있다. 한 실시예에 따르면, 셀룰러 모듈(221)은 가입자 식별 모듈(예: SIM 카드)(224)을 이용하여 통신 네트워크 내에서 전자 장치(201)의 구별 및 인증을 수행할 수 있다. 한 실시예에 따르면, 셀룰러 모듈(221)은 프로세서(210)가 제공할 수 있는 기능 중 적어도 일부 기능을 수행할 수 있다. 한 실시예에 따르면, 셀룰러 모듈(221)은 커뮤니케이션 프로세서(CP: communication processor)를 포함할 수 있다.Thecellular module 221 can provide voice calls, video calls, text services, or Internet services, for example, over a communication network. According to one embodiment, thecellular module 221 may utilize a subscriber identity module (e.g., a SIM card) 224 to perform the identification and authentication of the electronic device 201 within the communication network. According to one embodiment, thecellular module 221 may perform at least some of the functions that theprocessor 210 may provide. According to one embodiment, thecellular 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 theWiFi module 223, theBluetooth module 225, theGNSS module 227, or theNFC module 228 may include a processor for processing data transmitted and received through the corresponding module, for example. At least some (e.g., two or more) of thecellular module 221, theWiFi module 223, theBluetooth module 225, theGNSS module 227, or theNFC module 228, according to some embodiments, (IC) or an 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, send and receive communication signals (e.g., RF signals). The RF module 229 may include, for example, a transceiver, a power amplifier module (PAM), a frequency filter, a low noise amplifier (LNA), or an antenna. According to another embodiment, at least one of thecellular module 221, theWiFi module 223, theBluetooth module 225, theGNSS module 227, or theNFC module 228 transmits / receives an RF signal through a separate RF module .

가입자 식별 모듈(224)은, 예를 들면, 가입자 식별 모듈을 포함하는 카드 및/또는 내장 SIM(embedded SIM)을 포함할 수 있으며, 고유한 식별 정보(예: ICCID(integrated circuit card identifier)) 또는 가입자 정보(예: IMSI(international mobile subscriber identity))를 포함할 수 있다.Thesubscriber identity module 224 may include, for example, a card containing a subscriber identity module and / or an embedded SIM and may include unique identification information (e.g., an integrated circuit card identifier (ICCID) Subscriber information (e.g., 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)) 중 적어도 하나를 포함할 수 있다.Memory 230 (e.g., memory 130) may include, for example,internal memory 232 orexternal memory 234. The built-inmemory 232 may be implemented as, for example, a volatile memory (e.g., dynamic RAM, SRAM, or synchronous dynamic RAM), a non-volatile memory Programmable ROM (EPROM), electrically erasable and programmable ROM (EEPROM), mask ROM, flash ROM, 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)와 기능적으로 및/또는 물리적으로 연결될 수 있다.Theexternal memory 234 may be a flash drive such as a compact flash (CF), a secure digital (SD), a micro secure digital (SD), a mini secure digital (SD) digital, a multi-media card (MMC), a memory stick, and the like. Theexternal memory 234 may be functionally and / or physically connected to the electronic device 201 via 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)을 제어할 수 있다.Thesensor module 240 may, for example, measure a physical quantity or sense the operating state of the electronic device 201 to convert the measured or sensed information into an electrical signal. Thesensor module 240 includes agesture sensor 240A, a gyro sensor 240B, an air pressure sensor 240C, a magnetic sensor 240D, anacceleration sensor 240E, agrip sensor 240F, Atemperature sensor 240G, aUV sensor 240G, acolor sensor 240H (e.g., an RGB (red, green, blue) sensor), a living body sensor 240I, And a sensor 240M. Additionally or alternatively, thesensor module 240 may include, for example, an E-nose sensor, an electromyography sensor, an electroencephalogram sensor, an electrocardiogram sensor, , An infrared (IR) sensor, an iris sensor, and / or a fingerprint sensor. Thesensor module 240 may further include a control circuit for controlling at least one or more sensors belonging to thesensor module 240. In some embodiments, the electronic device 201 further includes a processor configured to control thesensor module 240, either as part of theprocessor 210 or separately, so that while theprocessor 210 is in a sleep state, Thesensor module 240 can be controlled.

입력 장치(250)는, 예를 들면, 터치 패널(touch panel)(252),(디지털) 펜 센서(pen sensor)(254), 키(key)(256), 또는 초음파(ultrasonic) 입력 장치(258)를 포함할 수 있다. 터치 패널(252)은, 예를 들면, 정전식, 감압식, 적외선 방식, 또는 초음파 방식 중 적어도 하나의 방식을 사용할 수 있다. 또한, 터치 패널(252)은 제어 회로를 더 포함할 수도 있다. 터치 패널(252)은 택타일 레이어(tactile layer)를 더 포함하여, 사용자에게 촉각 반응을 제공할 수 있다.Theinput device 250 may include atouch panel 252, a (digital)pen sensor 254, a key 256, or an ultrasonic input device 258). As thetouch panel 252, for example, at least one of an electrostatic type, a pressure sensitive type, an infrared type, and an ultrasonic type can be used. Further, thetouch panel 252 may further include a control circuit. Thetouch panel 252 may further include a tactile layer to provide a tactile response to the user.

(디지털) 펜 센서(254)는, 예를 들면, 터치 패널의 일부이거나, 별도의 인식용 쉬트(sheet)를 포함할 수 있다. 키(256)는, 예를 들면, 물리적인 버튼, 광학식 키, 또는 키패드를 포함할 수 있다. 초음파 입력 장치(258)는 마이크(예: 마이크(288))를 통해, 입력 도구에서 발생된 초음파를 감지하여, 상기 감지된 초음파에 대응하는 데이터를 확인할 수 있다.(Digital)pen sensor 254 may be part of, for example, a touch panel or may include a separate recognition sheet.Key 256 may include, for example, a physical button, an optical key, or a keypad. Theultrasonic input device 258 can sense the ultrasonic wave generated by the input tool through the microphone (e.g., the microphone 288) and confirm the data corresponding to the ultrasonic wave detected.

디스플레이(260)(예: 디스플레이(160))는 패널(262), 홀로그램 장치(264), 또는 프로젝터(266)를 포함할 수 있다. 패널(262)은, 도 1의 디스플레이(160)와 동일 또는 유사한 구성을 포함할 수 있다. 패널(262)은, 예를 들면, 유연하게(flexible), 투명하게(transparent), 또는 착용할 수 있게(wearable) 구현될 수 있다. 패널(262)은 터치 패널(252)과 하나의 모듈로 구성될 수도 있다. 홀로그램 장치(264)는 빛의 간섭을 이용하여 입체 영상을 허공에 보여줄 수 있다. 프로젝터(266)는 스크린에 빛을 투사하여 영상을 표시할 수 있다. 스크린은, 예를 들면, 전자 장치(201)의 내부 또는 외부에 위치할 수 있다. 한 실시예에 따르면, 디스플레이(260)는 패널(262), 홀로그램 장치(264), 또는 프로젝터(266)를 제어하기 위한 제어 회로를 더 포함할 수 있다.Display 260 (e.g., display 160) may include apanel 262, ahologram device 264, or aprojector 266.Panel 262 may include the same or similar configuration asdisplay 160 of FIG. Thepanel 262 may be embodied, for example, flexible, transparent, or wearable. Thepanel 262 may be composed of one module with thetouch panel 252. [ Thehologram device 264 can display a stereoscopic image in the air using interference of light. Theprojector 266 can display an image by projecting light onto a screen. The screen may be located, for example, inside or outside the electronic device 201. According to one embodiment, thedisplay 260 may further comprise control circuitry for controlling thepanel 262, thehologram device 264, or theprojector 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) 규격 인터페이스를 포함할 수 있다.Theinterface 270 may be implemented using a variety of interfaces including, for example, a high-definition multimedia interface (HDMI) 272, a universal serial bus (USB) 274, anoptical interface 276, or a D- ) ≪ / RTI > Theinterface 270 may, for example, be included in thecommunication module 170 shown in FIG. Additionally or alternatively, theinterface 270 may be, for example, a mobile high-definition link (MHL) interface, a secure digital (SD) card / multi-media card (MMC) data association standard interface.

오디오 모듈(280)은, 예를 들면, 소리(sound)와 전기 신호를 쌍방향으로 변환시킬 수 있다. 오디오 모듈(280)의 적어도 일부 구성요소는, 예를 들면, 도 1 에 도시된 입출력 인터페이스(150)에 포함될 수 있다. 오디오 모듈(280)은, 예를 들면, 스피커(282), 리시버(284), 이어폰(286), 또는 마이크(288) 등을 통해 입력 또는 출력되는 소리 정보를 처리할 수 있다.Theaudio module 280 can, for example, convert sound and electrical signals in both directions. At least some of the components of theaudio module 280 may be included, for example, in the input /output interface 150 shown in FIG. Theaudio module 280 may process sound information input or output through, for example, aspeaker 282, areceiver 284, anearphone 286, amicrophone 288, or the like.

카메라 모듈(291)은, 예를 들면, 정지 영상 및 동영상을 촬영할 수 있는 장치로서, 한 실시예에 따르면, 하나 이상의 이미지 센서(예: 전면 센서 또는 후면 센서), 렌즈, ISP(image signal processor), 또는 플래시(flash)(예: LED 또는 xenon lamp 등)를 포함할 수 있다.Thecamera module 291 may be, for example, a device capable of capturing still images and moving images, and 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)를 포함할 수 있다.Thepower management module 295 can, for example, manage the power of the electronic device 201. [ According to one embodiment, thepower management module 295 may include a power management integrated circuit, a charger integrated circuit, or a battery or fuel gauge. The power management integrated circuit may have a wired and / or wireless charging scheme. The wireless charging scheme may include, for example, a magnetic resonance scheme, a magnetic induction scheme, or an electromagnetic wave scheme, and may further include an additional circuit for wireless charging, for example, a coil loop, a resonant circuit, have. The battery gauge can measure, for example, the remaining amount of thebattery 296, the voltage during charging, the current, or the temperature. Thebattery 296 may 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) 등의 규격에 따른 미디어 데이터를 처리할 수 있다.Theindicator 297 may indicate a particular state of the electronic device 201 or a portion thereof (e.g., processor 210), e.g., a boot state, a message state, or a state of charge. Themotor 298 can convert electrical signals to mechanical vibration and can generate vibration, haptic effects, and the like. Although not shown, the electronic device 201 may include a processing unit (e.g., a GPU) for mobile TV support. The processing device for supporting mobile TV can process media data conforming to standards such as digital multimedia broadcasting (DMB), digital video broadcasting (DVB), or media flow (TM), for example.

도 3은 다양한 실시예에 따른 프로그램 모듈의 블록도이다. 한 실시예에 따르면, 프로그램 모듈(310)(예: 프로그램(140))은 전자 장치(예: 전자 장치(101))에 관련된 자원을 제어하는 운영 체제(operating system(OS)) 및/또는 운영 체제 상에서 구동되는 다양한 어플리케이션(예: 어플리케이션 프로그램(147))을 포함할 수 있다. 운영 체제는, 예를 들면, 안드로이드(android), iOS, 윈도우즈(windows), 심비안(symbian), 타이젠(tizen), 또는 바다(bada) 등이 될 수 있다.3 is a block diagram of a program module according to various embodiments. According to one embodiment, program module 310 (e.g., program 140) includes an operating system (OS) that controls resources associated with an electronic device (e.g., electronic device 101) (E.g., application programs 147) running on the 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) 가능하다.Theprogram module 310 may include akernel 320, amiddleware 330, an application programming interface (API) 360, and / or anapplication 370. At least a portion of theprogram module 310 may be preloaded on the electronic device or may be downloaded from an external electronic device such as the electronic device 102 104 or theserver 106,

커널(320)(예: 커널(141))은, 예를 들면, 시스템 리소스 매니저(321) 및/또는 디바이스 드라이버(323)를 포함할 수 있다. 시스템 리소스 매니저(321)는 시스템 리소스의 제어, 할당, 또는 회수 등을 수행할 수 있다. 한 실시예에 따르면, 시스템 리소스 매니저(321)는 프로세스 관리부, 메모리 관리부, 또는 파일 시스템 관리부 등을 포함할 수 있다. 디바이스 드라이버(323)는, 예를 들면, 디스플레이 드라이버, 카메라 드라이버, 블루투스 드라이버, 공유 메모리 드라이버, USB 드라이버, 키패드 드라이버, WiFi 드라이버, 오디오 드라이버, 또는 IPC(inter-process communication) 드라이버를 포함할 수 있다.The kernel 320 (e.g., the kernel 141) may include, for example, asystem resource manager 321 and / or adevice driver 323. Thesystem resource manager 321 can perform control, allocation, or recovery of system resources. According to one embodiment, thesystem resource manager 321 may include a process manager, a memory manager, or a file system manager. Thedevice 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 inter-process communication .

미들웨어(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) 중 적어도 하나를 포함할 수 있다.Themiddleware 330 may provide various functions commonly required by theapplication 370 or may be provided through theAPI 360 in various ways to enable theapplication 370 to efficiently use limited system resources within the electronic device. Functions can be provided to theapplication 370. According to one embodiment, middleware 330 (e.g., middleware 143) includes aruntime library 335, anapplication manager 341, awindow manager 342, amultimedia manager 343, aresource manager 344, apower manager 345, adatabase manager 346, apackage manager 347, aconnectivity manager 346, (Not shown) 348, anotification manager 349, alocation manager 350, agraphic manager 351, or asecurity manager 352 can do.

런타임 라이브러리(335)는, 예를 들면, 어플리케이션(370)이 실행되는 동안에 프로그래밍 언어를 통해 새로운 기능을 추가하기 위해 컴파일러가 사용하는 라이브러리 모듈을 포함할 수 있다. 런타임 라이브러리(335)는 입출력 관리, 메모리 관리, 또는 산술 함수에 대한 기능 등을 수행할 수 있다.Theruntime library 335 may include, for example, a library module that the compiler uses to add new functionality via a programming language while theapplication 370 is executing. Theruntime library 335 may perform input / output management, memory management, or functions for arithmetic functions.

어플리케이션 매니저(341)는, 예를 들면, 어플리케이션(370) 중 적어도 하나의 어플리케이션의 생명 주기(life cycle)를 관리할 수 있다. 윈도우 매니저(342)는 화면에서 사용하는 GUI 자원을 관리할 수 있다. 멀티미디어 매니저(343)는 다양한 미디어 파일들의 재생에 필요한 포맷을 파악하고, 해당 포맷에 맞는 코덱(codec)을 이용하여 미디어 파일의 인코딩(encoding) 또는 디코딩(decoding)을 수행할 수 있다. 리소스 매니저(344)는 어플리케이션(370) 중 적어도 어느 하나의 어플리케이션의 소스 코드, 메모리 또는 저장 공간 등의 자원을 관리할 수 있다.Theapplication manager 341 can manage the life cycle of at least one of theapplications 370, for example. Thewindow manager 342 can manage GUI resources used in the screen. Themultimedia manager 343 can recognize the format required for reproducing various media files and can encode or decode the media file using a codec suitable for the format. Theresource manager 344 can manage resources such as source code, memory or storage space of at least one of theapplications 370.

파워 매니저(345)는, 예를 들면, 바이오스(BIOS: basic input/output system) 등과 함께 동작하여 배터리(battery) 또는 전원을 관리하고, 전자 장치의 동작에 필요한 전력 정보 등을 제공할 수 있다. 데이터베이스 매니저(346)는 어플리케이션(370) 중 적어도 하나의 어플리케이션에서 사용할 데이터베이스를 생성, 검색, 또는 변경할 수 있다. 패키지 매니저(347)는 패키지 파일의 형태로 배포되는 어플리케이션의 설치 또는 업데이트를 관리할 수 있다.Thepower manager 345 operates together with a basic input / output system (BIOS), for example, to manage a battery or a power source, and can provide power information and the like necessary for the operation of the electronic device. Thedatabase manager 346 may create, retrieve, or modify a database for use in at least one of theapplications 370. Thepackage manager 347 can manage 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)를 더 포함할 수 있다.Theconnection manager 348 may manage wireless connections, such as, for example, WiFi or Bluetooth. Thenotification manager 349 may display or notify events such as arrival messages, appointments, proximity notifications, etc. in a way that is not disturbed to the user. Thelocation manager 350 may manage the location information of the electronic device. Thegraphic manager 351 may manage the graphic effect to be provided to the user or a user interface related thereto. Thesecurity manager 352 can provide all security functions necessary for system security or user authentication. According to one embodiment, when an electronic device (e.g., electronic device 101) includes a telephone function,middleware 330 further includes a telephony manager for managing the voice or video call capabilities of the electronic device can do.

미들웨어(330)는 전술한 구성요소들의 다양한 기능의 조합을 형성하는 미들웨어 모듈을 포함할 수 있다. 미들웨어(330)는 차별화된 기능을 제공하기 위해 운영 체제의 종류 별로 특화된 모듈을 제공할 수 있다. 또한, 미들웨어(330)는 동적으로 기존의 구성요소를 일부 삭제하거나 새로운 구성요소들을 추가할 수 있다.Middleware 330 may include a middleware module that forms a combination of various functions of the above-described components. Themiddleware 330 may provide a module specialized for each type of operating system in order to provide differentiated functions. In addition, themiddleware 330 may dynamically delete some existing components or add new ones.

API(360)(예: API(145))는, 예를 들면, API 프로그래밍 함수들의 집합으로, 운영 체제에 따라 다른 구성으로 제공될 수 있다. 예를 들면, 안드로이드 또는 iOS의 경우, 플랫폼 별로 하나의 API 셋을 제공할 수 있으며, 타이젠(tizen)의 경우, 플랫폼 별로 두 개 이상의 API 셋을 제공할 수 있다.The API 360 (e.g., API 145) may be provided in a different configuration depending on the operating system, for example, as a set of API programming functions. For example, for Android or iOS, you can provide one API set per platform, and for tizen, you can provide more than two API sets 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, for example, ahome 371, adialer 372, an SMS /MMS 373, aninstant message 374, abrowser 375, Thecamera 376, thealarm 377, thecontact 378, thevoice dial 379, theemail 380, thecalendar 381, themedia player 382, thealbum 383 or theclock 384, or one or more applications capable of performing functions such as health care (e.g., measuring exercise or blood glucose), or providing environmental information (e.g., providing atmospheric pressure, humidity, or temperature information, etc.).

한 실시예에 따르면, 어플리케이션(370)은 전자 장치(예: 전자 장치(101))와 외부 전자 장치(예: 전자 장치(102, 104)) 사이의 정보 교환을 지원하는 어플리케이션(이하, 설명의 편의 상, "정보 교환 어플리케이션")을 포함할 수 있다. 정보 교환 어플리케이션은, 예를 들면, 외부 전자 장치에 특정 정보를 전달하기 위한 알림 전달(notification relay) 어플리케이션, 또는 외부 전자 장치를 관리하기 위한 장치 관리(device management) 어플리케이션을 포함할 수 있다.According to one embodiment, anapplication 370 is an application that supports the exchange of information between an electronic device (e.g., electronic device 101) and an external electronic device (e.g., electronic devices 102 and 104) For convenience, an "information exchange application"). The information exchange application may include, for example, a notification relay application for communicating 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 send notification information generated by other applications (e.g., SMS / MMS applications, email applications, health care applications, or environmental information applications) of the electronic device to external electronic devices , 104), respectively. Further, the notification delivery application can receive notification information from, for example, an external electronic device and provide it to the user.

장치 관리 어플리케이션은, 예를 들면, 전자 장치와 통신하는 외부 전자 장치(예: 전자 장치(102, 104))의 적어도 하나의 기능(예: 외부 전자 장치 자체(또는, 일부 구성 부품)의 턴-온/턴-오프 또는 디스플레이의 밝기(또는, 해상도) 조절), 외부 전자 장치에서 동작하는 어플리케이션 또는 외부 전자 장치에서 제공되는 서비스(예: 통화 서비스 또는 메시지 서비스 등)를 관리(예: 설치, 삭제, 또는 업데이트)할 수 있다.The device management application may be configured to perform at least one function (e.g., turn-on or turn-off) of an external electronic device (e.g., an electronic device 102 or 104) (E.g., on / off-off, or adjusting the brightness (or resolution) of the display), managing applications (e.g., , Or updated).

한 실시예에 따르면, 어플리케이션(370)은 외부 전자 장치(예: 전자 장치(102, 104))의 속성(에 따라 지정된 어플리케이션(예: 모바일 의료 기기의 건강 관리 어플리케이션 등)을 포함할 수 있다. 한 실시예에 따르면, 어플리케이션(370)은 외부 전자 장치(예: 서버(106) 또는 전자 장치(102, 104))로부터 수신된 어플리케이션을 포함할 수 있다. 한 실시예에 따르면, 어플리케이션(370)은 프리로드 어플리케이션(preloaded application) 또는 서버로부터 다운로드 가능한 제3자 어플리케이션(third party application)을 포함할 수 있다. 도시된 실시예에 따른 프로그램 모듈(310)의 구성요소들의 명칭은 운영 체제의 종류에 따라서 달라질 수 있다.According to one embodiment, theapplication 370 may include an application (e.g., a healthcare application of a mobile medical device, etc.) designated according to an attribute of an external electronic device (e.g., electronic device 102, 104). According to one embodiment,application 370 may include an application received from an external electronic device (e.g.,server 106 or electronic device 102, 104) May include a preloaded application or a third party application downloadable from a server. The names of the components of theprogram module 310 according to the illustrated embodiment may include the type of operating system Therefore, it can be changed.

다양한 실시예에 따르면, 프로그램 모듈(310)의 적어도 일부는 소프트웨어, 펌웨어, 하드웨어, 또는 이들 중 적어도 둘 이상의 조합으로 구현될 수 있다. 프로그램 모듈(310)의 적어도 일부는, 예를 들면, 프로세서(예: 프로세서(210))에 의해 구현(implement)(예: 실행)될 수 있다. 프로그램 모듈(310)의 적어도 일부는 하나 이상의 기능을 수행하기 위한, 예를 들면, 모듈, 프로그램, 루틴, 명령어 세트(sets of instructions) 또는 프로세스 등을 포함할 수 있다.According to various embodiments, at least some of theprogram modules 310 may be implemented in software, firmware, hardware, or a combination of at least two of them. At least some of theprogram modules 310 may be implemented (e.g., executed) by, for example, a processor (e.g., processor 210). At least some of theprogram modules 310 may include, for example, modules, programs, routines, sets of instructions or processes, etc. to perform one or more functions.

도 4는 본 발명의 다양한 실시 예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도를 도시한다. 도 4의 실시예는 도 5a 및 5b를 참조하여 더욱 상세하게 설명하도록 한다. 도 5a 및 5b는 본 발명의 다양한 실시예에 따른 전자 장치의 개념도를 도시한다.4 shows a flowchart for explaining a control method of 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. 5A and 5B show a conceptual diagram of an electronic device according to various embodiments of the present invention.

410 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지를 획득할 수 있다. 여기에서, 텍스트 메시지는, 문자, 숫자 및 기호 중 적어도 하나를 포함하는 텍스트를 의미할 수 있다. 하나의 실시예에서, 텍스트 메시지는 데이터 포맷에 의하여 구분될 수 있다. 예를 들어, 채팅 어플리케이션을 이용하여, A 사용자 및 B 사용자는 서로 텍스트 메시지를 송수신할 수 있다. A 사용자는 송신하고자 하는 텍스트를 채팅창에 입력할 수 있으며, 채팅창에 충분히 텍스트를 입력한 경우에, 기설정된 송신 명령을 입력할 수 있다. 채팅 어플리케이션은 송신 명령에 대응하여 입력된 텍스트를 포함하는 텍스트 메시지를 다른 전자 장치로 송신할 수도 있으며, 다른 전자 장치로부터 수신된 텍스트 메시지를 표시할 수도 있다. 또 다른 실시예에서, 텍스트 메시지는 자연어 처리 결과에 기초하여 구분될 수도 있다. 예를 들어, 텍스트 분석 결과에 기초하여, 전자 장치(101)는 문장의 종결에 해당하는 문구를 확인할 수 있으며, 문장의 종결에 해당하는 문구를 이용하여 텍스트 메시지를 구분할 수 있다. 이 경우에는, 한 문장으로 구분되는 텍스트 집합이 하나의 텍스트 메시지로 구분될 수 있다. 또 다른 실시예에서, 텍스트 메시지는 시간별로 구분될 수도 있다. 예를 들어, 전자 장치(101)는 포우즈(pause) 없이 연속하여 입력되는 텍스트들의 집합을 하나의 텍스트 메시지로 구분할 수도 있다. 이 경우, 텍스트가 연속하여 입력되다가 기설정된 포우즈를 초과하는 경우에는, 전자 장치(101)는 포우즈 초과 이전까지 입력된 텍스트의 집합들을 하나의 텍스트 메시지로 획득할 수 있다. 이에 따라, 텍스트 메시지는 하나 또는 이상의 문장을 포함할 수도 있다. 상술한 바와 같이, 텍스트 메시지의 구분 기준은 다양하게 구현될 수 있다.In operation 410, theelectronic device 101 may obtain a plurality of text messages. Here, the text message may mean text including at least one of letters, numbers and symbols. In one embodiment, the text message may be separated by a data format. For example, using a chat application, users A and B can send and receive text messages with each other. A user can input the text to be transmitted into the chat window, and can input a predetermined transmission command when enough text is input in the chat window. The chat application may send a text message containing text entered in response to a send command to another electronic device, or may display a text message received from another electronic device. In yet another embodiment, the text message may be distinguished based on natural language processing results. For example, based on the text analysis result, theelectronic device 101 can identify a phrase corresponding to the end of the sentence, and can distinguish the text message using the phrase corresponding to the end of the sentence. In this case, a set of texts separated by one sentence can be separated into one text message. In another embodiment, the text messages may be separated by time. For example, theelectronic device 101 may classify a set of texts continuously input without a pause into one text message. In this case, when the text is input continuously and exceeds the pre-set fuzzy, theelectronic device 101 can acquire the sets of the input text until a time point exceeding the foreground as one text message. Accordingly, the text message may include one or more sentences. As described above, the classification criteria of the text message can be variously implemented.

본 발명의 다양한 실시예에서, 전자 장치(101)는 입력되거나 다른 전자 장치로부터 수신된 복수 개의 텍스트를 획득할 수 있다. 전자 장치(101)는, 예를 들어 채팅 어플리케이션 등의 어플리케이션에서 처리되는 복수 개의 텍스트를 획득할 수도 있다. 또는, 전자 장치(101)는 외부로부터 마이크 등을 통하여 획득된 복수 개의 사용자 음성을 TTS(text-to-speech) 처리하여, 복수 개의 텍스트를 획득할 수도 있다.In various embodiments of the present invention, theelectronic device 101 may obtain a plurality of texts entered or received from other electronic devices. Theelectronic device 101 may obtain a plurality of texts to be processed in an application such as, for example, a chat application. Alternatively, theelectronic device 101 may text-to-speech (TTS) a plurality of user voices acquired from an external device via a microphone or the like to obtain a plurality of texts.

예를 들어, 도 5a에서와 같이, 전자 장치(101)는 채팅 어플리케이션 실행 화면(510)을 디스플레이(160)에 표시할 수 있다. 전자 장치(101)는 채팅 어플리케이션을 실행시킬 수 있으며, 이에 대응하여 채팅 어플리케이션 실행 화면(510)을 표시할 수 있다. 전자 장치(101)는 다른 전자 장치(미도시)로부터 수신된 텍스트 메시지(511,513,515)를 표시할 수 있으며, 사용자로부터 입력된 텍스트 메시지(512,514)를 표시할 수 있다. 채팅 어플리케이션은, 양 전자 장치 사이에서 텍스트 메시지를 송수신할 수 있는 어플리케이션이라면 제한이 없음을 당업자는 용이하게 이해할 수 있을 것이다. 전자 장치(101)는, 채팅 참여자 별로 송수신된 텍스트 메시지의 히스토리를 구분하는 그래픽 사용자 인터페이스를 도 5a와 같이 표시할 수 있다. 도 5a에서와 같이, 전자 장치(101)는 사용자로부터의 텍스트 메시지 및 다른 전자 장치로부터 수신된 텍스트 메시지를 포함하는 복수 개의 텍스트 메시지를 획득할 수 있다.For example, as in FIG. 5A, theelectronic device 101 may display the chatapplication execution screen 510 on thedisplay 160. FIG. Theelectronic device 101 can execute the chat application and correspondingly display the chatapplication execution screen 510. [Electronic device 101 may displaytext messages 511, 513, 515 received from other electronic devices (not shown), and may displaytext messages 512, 514 entered from a user. Those skilled in the art will readily understand that the chat application is not limited to applications that can send and receive text messages between both electronic devices. Theelectronic device 101 may display a graphical user interface for distinguishing the history of text messages transmitted and received for each chat participant as shown in FIG. 5A. As in FIG. 5A, theelectronic device 101 may obtain a plurality of text messages including a text message from a 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)는 자연어 분석 결과에 기초하여 복수 개의 텍스트 메시지 각각의 구성 요소를 분석할 수 있다.Inoperation 420, theelectronic device 101 may obtain a keyword using a plurality of text message analysis results. Theelectronic device 101 can analyze each of the text messages and obtain the keywords using the analysis results of each of the text messages. In various embodiments of the present invention, theelectronic device 101 may generate a keyword by matching the analysis results of each of a plurality of text messages to a template. Alternatively, theelectronic device 101 may generate a keyword by applying a machine learning or deep learning algorithm to analyze user intent from the analysis results of each of a plurality of text messages. The keyword generation process according to various embodiments will be described in detail with reference to FIGS. 8A to 8C. In the embodiment of Fig. 5A, theelectronic device 101 can generate the keyword "Movie this Sunday ". For example, theelectronic device 101 may obtain the text corresponding to the time "This Sunday" based on the natural language analysis result of the text message " What to do this Sunday " More specifically, theelectronic device 101 may identify based on the natural language analysis results that "this Sunday" of thetext message 511 is a text corresponding to the time, and "what is?" Is the text corresponding to the verb Can be identified based on natural language analysis results. The natural language analysis can determine the role of each of the components constituting the text message and theelectronic device 101 can analyze the components of each of the plurality of text messages based on the natural language analysis result.

아울러, "그럼 영화 볼래?"라는 텍스트 메시지(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 result of the natural language analysis of thetext message 513 "Would you like to watch a movie?", Text corresponding to the object "movie" can be obtained. Theelectronic device 101 can obtain the keyword "movie this Sunday ", using the analysis result of thetext messages 511 and 513. Theelectronic device 101 may previously store an algorithm for classifying the text corresponding to the time and the text corresponding to the object into a keyword and may acquire the keyword based on the result of the algorithm application. Theelectronic device 101 may acquire objects such as " appointment "and " see" fromother text messages 512, 514, 515, etc., and the object may be included in the keyword or may be filtered out. Theelectronic device 101 may preliminarily store a database of an object whose meaning is somewhat ambiguous and exclude it from the keyword generation process. Alternatively, theelectronic device 101 may generate atextual message 511 through 515 as a keyword with user intent obtained by analyzing a machine learning or deep running algorithm. Theelectronic device 101 analyzes thetext message 512 to analyze the user's intent as an "appointment" and analyzes thetext messages 511 and 513 to interpret the user's intent as " can do. Theelectronic device 101 analyzes thetext message 511, for example, to analyze the user intention to inquire the other party's schedule on Sunday this week, and after this inquiry, thetext message 513 to re- It can also be analyzed through a machine learning or deep learning algorithm to indicate the task to be performed. As described above, theelectronic device 101 can analyze keywords in various ways, and if a method capable of analyzing a keyword using a plurality of text messages, there is no limitation in the kind thereof, will be.

430 동작에서, 전자 장치(101)는 획득된 키워드를 포함한 쿼리를 송신할 수 있다. 예를 들어, 도 5a에서와 같이, 전자 장치(101)는 키워드 분석 결과를 요청할 수 있는 그래픽 사용자 인터페이스(516)를 표시할 수 있으며, 해당 그래픽 사용자 인터페이스(516)의 지정에 대응하여 키워드를 포함한 쿼리를 서버(106)로 송신할 수 있다.Inoperation 430, theelectronic device 101 may send a query containing the acquired keyword. 5A, theelectronic device 101 may display agraphical user interface 516 that may request a keyword analysis result, and may include a keyword corresponding to the designation of thegraphical user interface 516. For example, And send the query to theserver 106.

440 동작에서, 서버(106)는 쿼리에 포함된 키워드를 분석할 수 있다. 서버(106)는 키워드를 분석할 수 있는 알고리즘 또는 프로그램을 저장한 전자 장치라면 제한이 없을 수 있다. 본 발명의 다양한 실시예에서, 서버(106)는 키워드를 다른 전자 장치로 포워딩(forwarding)할 수도 있으며, 이에 대하여서는 더욱 상세하게 설명하도록 한다. 예를 들어, 서버(106)는 전자 장치(101)로부터 획득된 "이번주 일요일, 영화"의 키워드를 분석하여, 이번주 일요일에 대응하는 영화 스케줄을 획득할 수 있다.In operation 440, theserver 106 may analyze the keywords included in the query. Theserver 106 may be unlimited if it is an electronic device storing an algorithm or program capable of analyzing a keyword. In various embodiments of the invention, theserver 106 may forward the keyword to another electronic device, which will be described in more detail. For example, theserver 106 may analyze the keyword "Movie this Sunday" obtained from theelectronic device 101 to obtain a movie schedule corresponding to this Sunday.

450 동작에서, 서버(106)는 키워드 분석 결과를 포함한 응답을 전자 장치(101)로 송신할 수 있다. 460 동작에서, 전자 장치(101)는 키워드 분석 결과를 이용하여 동작할 수 있다. 예를 들어, 도 5b에서와 같이, 전자 장치(101)는 서버(106)로부터 수시된 이번주 일요일에 대응하는 영화 스케줄의 키워드 분석 결과를 포함한 그래픽 사용자 인터페이스(520)를 표시할 수 있다.Inoperation 450, theserver 106 may send a response containing the keyword analysis result to theelectronic device 101. In operation 460, theelectronic device 101 may operate using the keyword analysis results. For example, as in FIG. 5B, theelectronic device 101 may display agraphical user interface 520 containing the keyword analysis results of the movie schedule corresponding to this Sunday from theserver 106.

예를 들어, 종래의 전자 장치는 하나의 텍스트 메시지에 대한 분석 결과만을 제공하기 때문에, 텍스트 메시지(511)에 대한 "이번주 일요일"에 대한 분석 결과를 제공하기 때문에, 부정확한 정보가 제공된다. 아울러, 종래의 전자 장치는 하나의 텍스트 메시지(513)에 대한 "영화"에 대한 분석 결과를 제공하기 때문에, 부정확한 정보가 제공된다. 이와는 대조적으로, 본 발명의 다양한 실시예에 따른 전자 장치(101)는 복수 개의 텍스트 메시지에 기초한 키워드 분석 결과에 따라 동작할 수 있어, 보다 사용자 의도에 부합하는 정보를 제공할 수 있다.Incorrect information is provided, for example, because conventional electronic devices provide analysis results for "this Sunday" fortext message 511 because they provide only analysis results for one text message. In addition, since conventional electronic devices provide analysis results for "movies" for onetext message 513, incorrect information is provided. In contrast, theelectronic device 101 according to various embodiments of the present invention can operate according to the results of keyword analysis based on a plurality of text messages, thereby providing more information that matches the user's intention.

본 발명의 다양한 실시예에서, 서버(106)는 복수 개의 텍스트 메시지의 분석 결과 획득된 키워드가 아닌, 복수 개의 텍스트 메시지를 수신할 수도 있다. 서버(106)는 수신된 복수 개의 텍스트 메시지를 분석하여 키워드를 생성할 수도 있으며, 생성된 키워드 분석 결과를 전자 장치(101)로 송신할 수 있다. 서버(106)에서 키워드를 생성하는 과정은 전자 장치(101)에서 키워드를 생성하는 과정과 동일할 수도 있다.In various embodiments of the present invention, theserver 106 may receive a plurality of text messages, rather than keywords obtained as a result of analysis of the plurality of text messages. Theserver 106 may generate a keyword by analyzing a plurality of received text messages, and may transmit the generated keyword analysis result to theelectronic device 101. The process of generating the keyword in theserver 106 may be the same as the process of generating the keyword in theelectronic device 101.

본 발명의 다양한 실시예에서, 전자 장치(101)는 키워드의 분석을 다른 전자 장치로 요청하지 않고, 스스로 키워드의 분석을 수행할 수도 있다. 또 다른 실시예에서, 전자 장치(101)는 키워드에 대응하는 명령을 바로 실행할 수도 있다.In various embodiments of the present invention, theelectronic device 101 may perform the analysis of the keyword itself without requesting analysis of the keyword to other electronic devices. In yet another embodiment, theelectronic device 101 may immediately execute an instruction corresponding to a keyword.

도 6은 본 발명의 다양한 실시예에 따른 텍스트 메시지 획득을 설명하기 위한 개념도를 도시한다.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 shown in Figure 6, theelectronic device 101 may obtain a plurality of user voices 611, 612 that are emitted from a plurality ofusers 601, 602. Theelectronic device 101 may include a microphone, for example, and may convert the user'svoice 611, 612 to an electrical signal via a microphone. Theelectronic device 101 can obtain a plurality of text messages corresponding to the user'svoice 611, 612 by processing the user'svoice 611, 612 with a TTS. Theelectronic device 101 can process a result of converting the continuously obtained user's voice as a single text message without having a preset pause. In addition, theelectronic device 101 can process user voice for each user using a voiceprint. For example, even when the twousers 601 and 602 simultaneously utter the user's voice, theelectronic device 101 can separate and process the user'sutterances 611 and 612, respectively, uttered by theusers 601 and 602 using the voice fingerprint . For example, the user 601,602 may be asked to say, "What do you want to see this Sunday?", "I do not have a promise", "Would you like to watch a movie?", What are you doing these days? " And the like can be uttered. Theelectronic device 101 can acquire a text message as shown in FIG. 5A by performing TTS processing on the user'svoice 611, 612. When the request for keyword analysis result is detected, theelectronic device 101 can transmit the query including the keyword using the analysis result of the plurality of text messages, and obtain the keyword analysis result in response to the query. Accordingly, theelectronic device 101 of FIG. 6 may display agraphical user interface 520 including, for example, keyword analysis results as in FIG. 5B.

상술한 바와 같이, 본 발명의 다양한 실시예에 따른 전자 장치(101)는 다양한 방식으로 복수 개의 텍스트 메시지를 획득할 수 있다.As described above, theelectronic device 101 according to various embodiments of the present invention can acquire a plurality of text messages in various ways.

도 7a 및 7b는 본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도들을 도시한다.7A and 7B show flowcharts for illustrating 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, inoperation 710, theelectronic device 101 may obtain a plurality of text messages. As described above, theelectronic device 101 can acquire a text message containing text or can process the user's voice TTS to obtain text.

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)의 속성을 판단할 수 있다.Inoperation 720, theelectronic device 101 may analyze each of the plurality of text messages in a natural language. 8A shows a conceptual diagram for explaining natural language analysis of an electronic device according to various embodiments of the present invention. Theelectronic device 101 may obtain a plurality oftext messages 810, 820, 830, 840, 850. Theelectronic device 101 analyzes thetext message 810 in a natural language so that the text "Today" 811 in thetext message 810 is text corresponding to the time, "Sunday" 812 is the text corresponding to the time, Quot; 813 is the text corresponding to the survey, and "what to do" 814 is the text corresponding to the verb. Theelectronic device 101 may also perform natural language analysis onother text messages 820, 830, 840, 850 to determine the attributes of the includedcomponents 821, 822, 823, 844, 832, 834, 841, 842,

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.등의 텍스트로 치환하여 저장할 수도 있다.Inoperation 730, theelectronic device 101 may generate keywords using natural language analysis results and templates. In various embodiments of the present invention,electronic device 101 may storetemplate 860 as shown in FIG. 8B. Thetemplate 860 may include at least oneitem 861, andinformation 862 may be mapped by at least oneitem 861. [ For example, theelectronic device 101 may store atemplate 860 that includes atime item 863, adate item 864, aplace item 866, and an item ofinterest 867. Theelectronic device 101 can generate a keyword by storing, asinformation 862, components corresponding to items of thetemplate 860 in the natural language analysis result. For example, theelectronic device 101 may map andstore components 811 and 812 corresponding to a time asinformation 865, corresponding to atime item 863 or adate item 864. Theelectronic device 101 may map and store thecorresponding element 832 corresponding to the object asinformation 868, corresponding to theitem 867 of interest. Theelectronic device 101 can generate a keyword using theinformation 862 mapped to theitem 861 of the template. For example, in the embodiment of FIG. 8B, a keyword "11.15 Movie" have. Theelectronic device 101 may replace the text "This Sunday" with text such as 11.15.

상술한 바와 같이, 본 발명의 다양한 실시예에 의한 전자 장치(101)는 템플릿(860)과의 비교 기반으로 키워드를 생성할 수 있다.As described above, theelectronic device 101 according to various embodiments of the present invention can generate keywords based on a comparison with thetemplate 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 is a flowchart illustrating a learning-based keyword generation process according to various embodiments of the present invention. Operation of 710 and operation of 720 have been described above, and a description thereof will be omitted here. Inoperation 731, theelectronic device 101 may generate a keyword by applying a machine learning or deep-running algorithm to the natural language analysis result. For example, as shown in FIG. 8C, theelectronic device 101 may apply a machine learning or a deep learning algorithm to a user's intentional pattern that has been analyzed in advance, and may perform machine learning or dip A running algorithm can be applied. Accordingly, theelectronic device 101 can map theinformation 872 of the conversation subject 871. Theelectronic device 101 can grasp the user's intention by the abstraction level (873, 874) and store it as information. Here, it is assumed that the higher the abstraction level, the more clear the intention of the user. For example, theelectronic device 101 may determine through the analysis of the text message 840 that the user intent is in themovie decision 875. More specifically, theelectronic device 101 may determine the user intent bytext messages 810, 820, 830, 840, 850. Theelectronic device 101 can generate the keyword using the user's intention determined more specifically among the user's intentions per text message. For example, theelectronic device 101 may determine that "this Sunday" is a specific user intention in thetext message 810, and that "watching the movie" is a specific user intention in thetext message 830. Theelectronic device 101 can perform the determination of text corresponding to a more specific user's intention through machine learning or deep learning. Theelectronic device 101 can generate a keyword "Movie This Sunday, Sunday" as a keyword by using a result of applying machine learning or deep learning to a plurality of texts.

도 9는 본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도를 도시한다. 도 9의 실시예는 도 10a 내지 10d를 참조하여 더욱 상세하게 설명하도록 한다.9 shows a flow chart for explaining a control method of 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 키워드인 "이번주 일요일, 영화"를 포함한 쿼리를 송신할 수 있으며, 쿼리에 대한 응답으로 현재 인기 영화 순위에 대한 정보를 수신하여, 표시할 수 있다.Inoperation 910, theelectronic device 101 may obtain a plurality of text messages for a first period of time. Inoperation 915, theelectronic device 101 may obtain a first keyword using a plurality of text message analysis results for a first period of time. Inoperation 920, theelectronic device 101 may send a query including the first keyword. Inoperation 925, theelectronic device 101 receives the analysis result of the first keyword and can operate using the analysis result of the first keyword. FIG. 10A shows a conceptual diagram of anelectronic device 101 according to various embodiments of the present invention, for example, supposing to display the graphical user interface after FIG. 5A. Theelectronic device 101 can display thegraphical user interface 1011 including the current popular movie ranking as a result of analysis of the first keyword "Sunday ' s Movie ". More specifically, theelectronic device 101 can send a query including the first keyword "This Sunday, Movie ", and can receive and display information on the current popular movie ranking in response to the query.

930 동작에서, 전자 장치(101)는 제 2 기간 동안 복수 개의 텍스트 메시지를 획득할 수 있다. 여기에서, 제 1 기간 및 제 2 기간은 키워드 분석 요청 또는 키워드 분석 결과에 기초하여 동작을 기점으로 구분될 수 있다. 예를 들어, 도 10a에서와 같이, 전자 장치(101)는 키워드 분석 결과에 대응하는 그래픽 사용자 인터페이스(1011) 표시 이후에, 복수 개의 텍스트 메시지(1012,1013)를 획득할 수 있다. 전자 장치(101)는 복수 개의 텍스트 메시지(1012,1013)를 채팅 어플리케이션 실행 화면(1010)에 표시할 수 있다.Inoperation 930, theelectronic device 101 may obtain a plurality of text messages for a second period of time. Here, the first period and the second period may be classified based on the operation based on the keyword analysis request or the keyword analysis result. For example, as in FIG. 10A, theelectronic device 101 may obtain a plurality oftext messages 1012,1013 after thegraphical user interface 1011 display corresponding to the keyword analysis result. Theelectronic device 101 may display a plurality oftext messages 1012 and 1013 on the chatapplication execution screen 1010. [

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 키워드를 생성할 수도 있다.Inoperation 935, theelectronic device 101 may obtain a second keyword using a plurality of text message analysis results for a second time period. For example, theelectronic device 101 may obtain a second keyword based on a template. Theelectronic device 101 may obtain the second keyword independently from the plurality of text messages for the second period of time, but theelectronic device 101 according to various embodiments of the present invention may include a plurality of text messages And a second keyword based on the plurality of text messages for the second period. Alternatively, theelectronic device 101 may obtain the second keyword based on the first keyword and a plurality of text messages for the second period. FIG. 10B shows a conceptual diagram for explaining keyword generation according to various embodiments of the present invention. Theelectronic device 101 can generate the second keyword based on theinformation 1062 for eachitem 1061 of thetemplate 1060. [ For example, theelectronic device 101 may display theinformation 1066 of November 15 of thedate item 1065 and theinformation 1060 of the movie of the item ofinterest 1069 based on the text message for the first period Can be obtained. On the other hand, theelectronic device 101 receives themorning information 1064 of thetime item 1063, thestrong information 1068 of theplace item 1067, and the item ofinterest 1069, based on the text message for the second period,Information 1070 of the telephone number of the user. The method by which theelectronic device 101 acquires information based on the text message for the second period may be the same as the method for acquiring information during the first period, do. In the embodiment of FIG. 10B, theelectronic device 101 may generate a second keyword "November 15, morning, Jangnam, movies, telephone, reservation ". In another embodiment, after generating the keyword "AM, JANNAM, TELEPHONE, RESERVATION ", based on the result of the analysis of the text message for the second period, theelectronic device 101 generates the first keyword By combining with "11.15. &Quot;," movie ", a second keyword such as "November 15th, morning,

940 동작에서, 전자 장치(101)는 제 2 키워드를 포함한 쿼리를 송신할 수 있다. 945 동작에서, 전자 장치(101)는 제 2 키워드의 분석 결과를 수신하고, 제 2 키워드의 분석 결과를 이용하여 동작할 수 있다. 전자 장치(101)는, 예를 들어 "11월 15일, 오전, 강남, 영화, 전화벨, 예약"이라는 제 2 키워드를 포함하는 쿼리를 송신하고, 이에 대응한 분석 결과를 수신할 수 있다. 전자 장치(101)는 수신된 분석 결과를 포함하는 그래픽 사용자 인터페이스(1071)를, 예를 들어 도 10c와 같이 표시할 수 있다. 예를 들어, 그래픽 사용자 인터페이스(1071)는 영화 예매 사이트의 예약 화면(1072)으로의 하이퍼링크를 포함할 수도 있다.Inoperation 940, theelectronic device 101 may send a query including a second keyword. Inoperation 945, theelectronic device 101 receives the analysis result of the second keyword and can operate using the analysis result of the second keyword. Theelectronic device 101 can transmit a query including a second keyword, for example, "November 15, morning, Gangnam, movie, telephone, reservation ", and receive the analysis result corresponding thereto. Theelectronic device 101 may display thegraphical user interface 1071 including the received analysis result, for example, as shown in FIG. 10C. For example, thegraphical user interface 1071 may include a hyperlink to thereservation screen 1072 of the movie advance website.

전자 장치(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)를 표시할 수 있다.Theelectronic device 101 may obtain a plurality oftext messages 1072,1073 during the third period after the second period and may display the obtained plurality oftext messages 1072,1073. Theelectronic device 101 may analyze thetext messages 1072, 1073 for a third period of time to generate a third keyword. For example, theelectronic device 101 can generate a keyword as shown in FIG. 10D as a result of the third keyword analysis. 10D, usingtext messages 1072 and 1073 for the third period and text messages for the first and second periods, the " , Movie, telephone, B1, B2, reservation ". Theelectronic device 101 may transmit a query including the third keyword if the designation of thegraphical user interface 1074 corresponding to the analysis request of the third keyword is detected. The server (not shown) processes the third keyword and can schedule the movie phone B1 and B2 of the Gangnam store on the morning of November 15, and transmit the result of the execution to theelectronic device 101 as a response. Theelectronic device 101 may display a received response, that is, amessage 1075 indicating that the reservation has been completed.

상술한 바와 같이, 본 발명의 다양한 실시예에 의한 전자 장치(101)는 하나의 기간이 아닌 복수의 기간 각각 동안에서 획득된 복수 개의 텍스트 메시지를 분석함으로써, 복수의 기간 각각에 대응하는 복수의 키워드를 생성할 수 있다. 전자 장치(101)는 하나의 기간에 대응하는 키워드를 생성하는 경우, 해당 기간이 아닌 다른 기간에 대응하는 텍스트 메시지 또는 키워드를 참조할 수도 있다.As described above, theelectronic device 101 according to various embodiments of the present invention analyzes a plurality of text messages obtained during each of a plurality of periods rather than one period, thereby generating a plurality of keywords corresponding to each of the plurality of periods Lt; / RTI > When theelectronic device 101 generates a keyword corresponding to one period, it may refer to a text message or keyword corresponding to a period other than the period.

도 11은 본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도를 도시한다.11 shows a flowchart for explaining a control method of an electronic device according to various embodiments of the present invention.

1110 동작에서, 전자 장치(101)는 채팅 어플리케이션 실행 화면을 표시할 수 있다. 1120 동작에서, 전자 장치(101)는 채팅 어플리케이션에 할당되는 복수 개의 텍스트를 표시할 수 있다. 예를 들어, 채팅 어플리케이션 실행 화면은, 전자 장치(101)에 입력된 텍스트 메시지와 다른 전자 장치로부터 수신된 텍스트 메시지를 하나의 화면에 표시하도록 구성될 수 있다. 채팅 어플리케이션은, 전자 장치(101)에 입력된 텍스트 메시지를 어느 하나의 측에 배치하고, 다른 전자 장치로부터 수신된 텍스트 메시지를 다른 측에 배치하도록 구성하여, 사용자로 하여금 자신이 입력한 텍스트 메시지와 상대방이 입력한 텍스트 메시지의 구분을 용이하도록 할 수 있다.Inoperation 1110, theelectronic device 101 may display a chat application execution screen. Inoperation 1120, theelectronic device 101 may display a plurality of texts assigned to the chat application. For example, the chat application execution screen can be configured to display a text message input to theelectronic device 101 and a text message received from another electronic device on one screen. The chat application may be configured to arrange a text message input to theelectronic device 101 on one side and to place a text message received from another electronic device on the other side so that the user can input a text message It is possible to easily distinguish the text message inputted by the other party.

1130 동작에서, 전자 장치(101)는 복수 개의 텍스트에 대한 분석 요청 아이콘을 표시할 수 있다. 1140 동작에서, 전자 장치(101)는 복수 개의 텍스트에 대한 분석 요청 아이콘의 지정을 검출할 수 있다. 전자 장치(101)는 텍스트에 대한 분석 요청 아이콘을 표시한 후, 해당 아이콘이 지정되면 텍스트에 대한 분석 요청을 수행할 수 있다. 또 다른 실시예에서, 전자 장치(101)는 텍스트에 대한 분석을 요청하는 텍스트가 입력되면, 입력된 텍스트를 표시하면서, 텍스트에 대한 분석 요청을 수행할 수 있다.In operation 1130, theelectronic device 101 may display an analysis request icon for a plurality of texts. Inoperation 1140, theelectronic device 101 may detect a designation of an analysis request icon for a plurality of texts. Theelectronic device 101 may display an analysis request icon for the text and then request an analysis of the text if the icon is designated. In another embodiment, theelectronic device 101 may perform an analysis request on text, while displaying the input text, when text requesting analysis of the text is input.

1150 동작에서, 전자 장치(101)는 복수 개의 텍스트에 대한 분석을 수행하여 키워드를 생성할 수 있다. 1160 동작에서, 전자 장치(101)는 키워드를 송신할 수 있다. 1170 동작에서, 전자 장치(101)는 키워드 분석 결과를 수신할 수 있다. 1180 동작에서, 전자 장치(101)는 키워드 분석 결과를 채팅 어플리케이션 실행 화면 상에 표시할 수 있다.Inoperation 1150, theelectronic device 101 may perform an analysis on a plurality of texts to generate a keyword. Inoperation 1160, theelectronic device 101 may transmit a keyword. Inoperation 1170, theelectronic device 101 may receive a keyword analysis result. Inoperation 1180, theelectronic device 101 may display the keyword analysis result on the chat application execution screen.

도 12a 및 12b는 본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도를 도시한다.12A and 12B show a flow chart for explaining a control method of an electronic device according to various embodiments of the present invention.

1210 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지를 획득할 수 있다. 1215 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지 분석 결과를 이용한 키워드를 획득할 수 있다. 1210 동작 및 1215 동작에 대하여서는, 상세하게 설명하였기 때문에, 여기에서의 더 이상의 설명은 생략하도록 한다.In operation 1210, theelectronic device 101 may obtain a plurality of text messages. Inoperation 1215, theelectronic device 101 may obtain a keyword using a plurality of text message analysis results. 1210 operation and 1215 operation have been described in detail, further description here will be omitted.

1220 동작에서, 전자 장치(101)는 획득된 키워드 및 수신자 정보를 포함한 쿼리를 송신할 수 있다. 도 13은 본 발명의 다양한 실시예에 따른 전자 장치의 개념도를 도시한다. 도 13에 도시된 바와 같이, 전자 장치(101)는 복수 개의 텍스트메시지(1311 내지 1315)에 대한 분석을 수행하기 위한 수신자에 대한 정보를 입력받아, 입력된 정보(1316)를 표시할 수 있다. 예를 들어, 사용자는 복수 개의 텍스트 메시지(1311 내지 1315)에 대한 분석의 수행을 "A극장"으로 하여금 수행하기를 원할 수 있으며, 이에 따라 수신자 정보를 포함한 텍스트 메시지를 정보(1316)로서 입력할 수 있다. 전자 장치(101)는 사용자의 확인을 위하여 입력된 정보(1316)를 채팅 어플리케이션 화면(1310) 상에 표시할 수 있다.Inoperation 1220, theelectronic device 101 may send a query including the acquired keyword and recipient information. 13 shows a conceptual diagram of an electronic device according to various embodiments of the present invention. As shown in FIG. 13, theelectronic device 101 may receive information on a recipient for performing an analysis on a plurality oftext messages 1311 to 1315, and may display the receivedinformation 1316. For example, a user may want to perform an "A theater" to perform an analysis on a plurality of text messages 1311-1315, thereby entering a text message containing recipient information asinformation 1316 . Theelectronic device 101 may display the enteredinformation 1316 on thechat application screen 1310 for the user's confirmation.

1225 동작에서, 서버(106)는 수신자 정보를 확인할 수 있다. 1230 동작에서, 서버(106)는 수신자 정보에 대응되는 수신자 서버(1200)로 키워드를 포함한 쿼리를 송신할 수 있다. 본 발명의 다양한 실시예에 의한 서버(106)는 수신자 정보에 대한 데이터베이스를 미리 저장할 수 있으며, 데이터베이스를 이용하여 키워드를 포함한 쿼리를 포워딩할 수 있다. 서버(106)는 전자 장치(101)로부터 시맨틱 형태의 수신자 정보와, 수신자의 식별자를 매핑한 데이터베이스를 저장할 수 있으며, 이에 따라 다양한 형태의 수신자 정보를 특정한 수신자 서버와 매핑할 수 있다. 예를 들어, 사용자가 입력한 수신자 정보가, "A극장"이 아닌, "A", "A영화관" 등 다양한 형태로 입력되어 수신된 경우에도, 서버(106)는 수신자 정보를 "A 극장"으로 결정하여, "A 극장"의 수신자 서버(1200)로 쿼리를 포워딩할 수 있다.Inoperation 1225, theserver 106 may verify the recipient information. In operation 1230, theserver 106 may send a query including a keyword to therecipient server 1200 corresponding to the recipient information. Theserver 106 according to various embodiments of the present invention may store a database of recipient information in advance and may forward queries including keywords using the database. Theserver 106 may store a semantic type of recipient information from theelectronic device 101 and a database that maps the identifier of the recipient so that various types of recipient information can be mapped to a particular recipient server. For example, even when the recipient information inputted by the user is inputted and received in various forms such as "A" and "A movie theater" instead of "A theater", theserver 106 stores the receiver information in the " , And forward the query to thereceiver server 1200 of the "A-theater ".

1235 동작에서, 수신자 서버(1200)는 쿼리에 포함된 키워드를 분석할 수 있다. 1240 동작에서, 수신자 서버(1200)는 키워드 분석 결과를 포함한 응답을 서버(106)로 송신할 수 있다. 본 발명의 다양한 실시예에서, 서버(106)는 쿼리와 전자 장치(101)의 식별 정보를 함께 수신자 서버(1200)로 송신할 수도 있으며, 이 경우에는 수신자 서버(1200)는 키워드 분석 결과를 서버(106)의 중계없이 곧바로 전자 장치(101)로 송신할 수도 있다.Inoperation 1235, therecipient server 1200 may analyze the keywords contained in the query. Inoperation 1240, therecipient server 1200 may send a response including a keyword analysis result to theserver 106. In various embodiments of the present invention, theserver 106 may send the query and identification information of theelectronic device 101 together to therecipient server 1200, in which case therecipient server 1200 sends the keyword analysis results to the server Or directly to theelectronic device 101 without relaying theelectronic device 106.

1245 동작에서, 서버(106)는 키워드 분석 결과에 대응하는 UI를 생성할 수 있다. 1250 동작에서, 서버(106)는 UI를 포함하는 응답을 전자 장치(101)로 송신할 수 있다. 본 발명의 다양한 실시예에서, 서버(106)는 키워드 분석 결과를 곧바로 전자 장치(101)로 송신할 수도 있다.Inoperation 1245, theserver 106 may generate a UI corresponding to the keyword analysis result. Inoperation 1250, theserver 106 may send a response including the UI to theelectronic device 101. In various embodiments of the present invention, theserver 106 may send the keyword analysis results to theelectronic device 101 immediately.

1255 동작에서, 전자 장치(101)는 응답에 포함된 UI를 표시할 수 있다. 1260 동작에서, 전자 장치(101)는 UI를 통하여 사용자 입력을 획득할 수 있다. 1265 동작에서, 전자 장치(101)는 사용자 입력에 대응하는 명령을 서버(106)의 중계를 통하거나 또는 곧바로 수신자 서버(1200)로 송신할 수 있다. 1270 동작에서, 수신자 서버(1200)는 수신된 명령에 대응하여 동작할 수 있다.In operation 1255, theelectronic device 101 may display the UI included in the response. In operation 1260, theelectronic device 101 may obtain user input via the UI. Inoperation 1265, theelectronic device 101 may send a command corresponding to the user input to therecipient server 1200 via the relay of theserver 106 or immediately. In operation 1270, therecipient server 1200 may operate in response to a received command.

도 14는 본 발명의 다양한 실시예에 따른 수신자 서버를 설명하기 위한 개념도를 도시한다.Figure 14 illustrates a conceptual diagram for describing a receiver server in accordance with various embodiments of the present invention.

하나의 실시예에서, 전자 장치(101)는 수신자 정보 및 키워드(1401)를 서버(106)로 송신할 수 있다. 서버(106)는 수신자 정보 데이터베이스의 예시인 상점 리스트 데이터베이스(1410)를 저장할 수 있다. 상점 리스트 데이터베이스(1410)는 수신자 정보, 예를 들어 수신자에 대응하는 텍스트와 상점의 식별자를 매핑하여 저장할 수 있다. 예를 들어, 서버(106)는 표 1과 같은 상점 리스트 데이터베이스를 저장할 수 있다.In one embodiment, theelectronic device 101 may send recipient information andkeywords 1401 to theserver 106. Theserver 106 may store astore listing database 1410 that is an example of a recipient information database. Theshop list database 1410 may store recipient information, for example, mapping the text corresponding to the recipient and the identifier of the store. For example, theserver 106 may store a store list database as shown in Table 1.

텍스트text식별자IdentifierA, A 극장, A 영화, A 영화관A, A theater, A movie, A movie theaterA 극장A theaterB, B 병원, B 피부과, B 피부B, B hospital, B dermatology, B skinB 피부과 병원B dermatology hospitalC, C 신발, D 옷가게, D 티셔츠, E 선글라스C, C shoes, D clothes shop, D shirts, E sunglassesF 소상공인 연합F Small Business Association

표 1과 같이, 서버(106)는 시맨틱과 같은 텍스트와 식별자를 매핑하여 저장할 수 있다. 이에 따라, 전자 장치(101)로부터 예를 들어 "A 영화"의 수신자 정보가 키워드와 함께 수신되면, 서버(106)는 A 극장의 수신자 서버로 키워드를 포함한 쿼리를 송신할 수 있다. 한편, 소상공인들은 개별 서버를 운영하는데 어려움을 가질 수도 있으며, 이에 따라 소상공인들의 연합한 소상공인 통합 서버를 운영할 수도 있다.As shown in Table 1, theserver 106 can map and store text and identifiers such as semantics. Accordingly, when receiving, for example, the recipient information of the "A movie" from theelectronic device 101 together with the keyword, theserver 106 can transmit the query including the keyword to the receiver server of the A-theater. On the other hand, small business owners may have difficulty operating individual servers, and thus may operate an integrated server, a small-business association of small business owners.

본 발명의 다양한 실시예에서, 소상공인 통합 서버(1420)는 예약 관리 서버(1421), 고객 계정 서버(1422), 상점 계정 서버(1423) 및 상점별 정보 데이터베이스(1424)를 포함할 수 있다. 예약 관리 서버(1421)는 쿼리에 예약 정보가 포함된 경우에, 예약을 수행할 수 있다. 고객 계정 서버(1422)는, 고객별 계정을 관리할 수 있다. 상점 계정 서버(1423)는 상점 관리자별 계정을 관리할 수 있다. 상점별 정보 데이터베이스(1424)는 가입된 상점의 개별 정보를 저장할 수 있다.In various embodiments of the present invention, theintegration server 1420, which is a small business, may include areservation management server 1421, acustomer account server 1422, astore account server 1423 and a store-specific information database 1424. Thereservation management server 1421 can perform reservation when reservation information is included in the query. Thecustomer account server 1422 can manage an account for each customer. Thestore account server 1423 can manage a store manager-specific account. The store-specific information database 1424 can store the individual information of the affiliated store.

본 발명의 다양한 실시예에서, 회사별 서버(1430)는 개별 수신자 서버로 구현될 수 있다. 회사별 서버(1430)는 예약 관리 서버(1431), 고객 계정 서버(1432) 및 상점 정보 데이터베이스(1433)를 포함할 수 있다.In various embodiments of the invention, company-specific server 1430 may be implemented as a separate recipient server. The company-specific server 1430 may include areservation management server 1431, acustomer account server 1432, and astore information database 1433.

소상공인 통합 서버(1420) 또는 회사별 서버(1430)는 쿼리에 포함된 키워드를 분석 또는 처리할 수 있다. 또는, 소상공인 통합 서버(1420) 또는 회사별 서버(1430)는 분석 결과 또는 처리 결과를 전자 장치(101)로 송신할 수도 있다.The smallbusiness integration server 1420 or the company-specific server 1430 can analyze or process the keyword included in the query. Alternatively, theintegration server 1420 or the company-specific server 1430, which is a small business, may transmit analysis results or processing results to theelectronic device 101.

도 15는 본 발명의 다양한 실시예에 의한 전자 장치의 제어 방법을 설명하기 위한 흐름도를 도시한다.15 shows a flowchart for explaining a control method of an electronic device according to various embodiments of the present invention.

1510 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지를 획득할 수 있다. 1520 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지 각각을 자연어 분석할 수 있다. 1530 동작에서, 전자 장치(101)는 추가 정보를 획득할 수 있다. 여기에서, 추가 정보는, 텍스트 메시지의 획득 경로 이외의 다른 경로를 통하여 획득될 수 있는 모든 정보를 지칭할 수 있다. 예를 들어, 전자 장치(101)는 텍스트 메시지를 획득하는 어플리케이션과 다른 어플리케이션으로부터의 정보를 포함할 수 있다.Inoperation 1510, theelectronic device 101 may obtain a plurality of text messages. Inoperation 1520, theelectronic device 101 may analyze each of the plurality of text messages in a natural language. Inoperation 1530, theelectronic device 101 may obtain additional information. Here, the additional information may refer to all information that can be obtained through a path other than the acquisition path of the text message. For example, theelectronic device 101 may include information from applications that obtain text messages and other applications.

1540 동작에서, 전자 장치(101)는 자연어 분석 결과, 추가 정보 및 템플릿을 이용하여 키워드를 생성할 수 있다. 1550 동작에서, 전자 장치(101)는 획득된 키워드를 포함한 쿼리를 송신할 수 있다. 1560 동작에서, 전자 장치(101)는 키워드 분석 결과를 수신할 수 있다. 1570 동작에서, 전자 장치(101)는 키워드 분석 결과를 이용하여 동작할 수 있다.Inoperation 1540, theelectronic device 101 may generate keywords using natural language analysis results, additional information, and templates. In 1550 operation, theelectronic device 101 may send a query containing the acquired keyword. Inoperation 1560, theelectronic device 101 may receive a keyword analysis result. Inoperation 1570, theelectronic device 101 may operate using keyword analysis results.

이하에서는, 다양한 추가 정보를 이용한 키워드 생성에 대하여, 도 16a 내지 16c를 참조하여 더욱 상세하게 설명하도록 한다.Hereinafter, 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는 본 발명의 다양한 실시예에 따른 추가 정보를 더 이용한 키워드 생성을 설명하기 위한 개념도를 도시한다.16A to 16C show a flow chart 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. 17A to 17D show a conceptual diagram 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 1610 operation, theelectronic device 101 may obtain a plurality of text messages. Inoperation 1620, theelectronic device 101 may analyze each of the plurality of text messages in a natural language. For example, as shown in FIG. 17A, theelectronic device 101 may execute a chat application and display a chatapplication execution screen 1710 on thedisplay 160. FIG. Theelectronic device 101 may display a plurality oftext messages 1711 to 1714 obtained. In various embodiments of the present invention, the text message analysis request may be input as atext message 1714. [ The text of the "@" in thetext message 1714 may be pre-set to indicate recipient information.

1630 동작에서, 전자 장치(101)는 추가 정보로서 사용자 일정 정보를 획득할 수 있다. 예를 들어, 전자 장치(101)는 일정 관리 어플리케이션으로부터 사용자 일정 정보를 획득할 수 있다. 전자 장치(101)는 일정 관리 어플리케이션으로부터 수신된 사용자 일정 정보를 이용하여, 사용자가 일정을 가지지 않은 일자 및 시간을 확인할 수 있다. 예를 들어, 전자 장치(101)는 사용자가 일정을 가지지 않은 일자 및 시간이 11.20, 11.21., 11.22.의 오전 10:00~11:00라는 정보를 획득할 수 있다.Inoperation 1630, theelectronic device 101 may obtain user schedule information as additional information. For example, theelectronic device 101 can obtain the user schedule information from the schedule management application. Theelectronic device 101 can confirm the date and time when the user does not have the schedule by using the user schedule information received from the schedule management application. For example, theelectronic device 101 may obtain the information that the user has no schedule and the time is 11: 00-11: 00 am at 11.20, 11.21, 11.22.

또는, 도 16b에서와 같이, 1631 동작에서, 전자 장치(101)는 추가정보로서 사용자 위치 정보를 획득할 수 있다. 예를 들어, 전자 장치(101)는 GPS 관리 어플리케이션으로부터 사용자 위치 정보를 획득할 수 있다. 예를 들어, 전자 장치(101)는 사용자 위치가 서울시 강남구인 것을 확인할 수 있다. 또는, 전자 장치(101)는 사용자 위치 히스토리를 획득하여, 사용자가 일정을 가지지 않은 일자의 요일에 사용자의 위치가 서울시 강남구인 것을 확인할 수도 있다.Alternatively, as in FIG. 16B, in 1631 operation, theelectronic device 101 may obtain user location information as additional information. For example, theelectronic device 101 may obtain user location information from a GPS management application. For example, theelectronic device 101 can confirm that the user location is located in Gangnam-gu, Seoul. Alternatively, theelectronic device 101 may acquire the user location history, and confirm that the user's location is on the day of the week on which the user does not have the schedule, for example, in Gangnam-gu, Seoul.

1640 동작에서, 전자 장치(101)는 자연어 분석 결과, 사용자 일정 정보 및 템플릿을 이용하여 키워드를 생성할 수 있다. 또는, 도 16b에서의 1641 동작에서, 전자 장치(101)는 자연어 분석 결과, 사용자 위치 정보 및 템플릿을 이용하여 키워드를 생성할 수 있다. 예를 들어, 도 17b에서와 같이, 전자 장치(101)는 텍스트 메시지 분석 결과로 템플릿(1720) 내의 항목(1721)의 관심 대상 항목에서, "여드름 제거, 여드름 치료"를 획득할 수 있다. 전자 장치(101)는 추가 정보를 이용하여, 항목(1721)의 시간, 날짜, 장소에 대한 정보(1722)를 획득할 수 있다.Inoperation 1640, theelectronic device 101 may generate a keyword using the results of the natural language analysis, the user schedule information, and the template. Alternatively, in the 1641 operation in Fig. 16B, theelectronic device 101 can generate the keyword using the natural language analysis result, the user location information, and the template. For example, as in FIG. 17B, theelectronic device 101 may obtain "Acne Removal, Acne Treatment" at the item of interest of theitem 1721 in thetemplate 1720 as a result of analyzing the text message. Theelectronic device 101 may use the additional information to obtaininformation 1722 on the time, date, and location of theitem 1721.

1650 동작에서, 전자 장치(101)는 획득된 키워드를 포함한 쿼리를 송신할 수 있다. 1660 동작에서, 전자 장치(101)는 키워드 분석 결과를 수신할 수 있다. 1670 동작에서, 전자 장치(101)는 키워드 분석 결과를 이용하여 동작할 수 있다. 예를 들어, 전자 장치(101)는 도 17c에서와 같이, B 피부과에 대한 예약 가능 스케줄을 포함한 키워드 분석 결과(1715)를 수신하여 표시할 수 있다. 키워드 분석 결과(1715)는, 예를 들어 예약을 위한 하이퍼링크(1716)를 포함할 수도 있다.Inoperation 1650, theelectronic device 101 may send a query containing the acquired keyword. Inoperation 1660, theelectronic device 101 may receive a keyword analysis result. Inoperation 1670, theelectronic device 101 may operate using a keyword analysis result. For example, theelectronic device 101 may receive and display akeyword analysis result 1715, including a reservable schedule for the B dermatologist, as in FIG. 17C. Thekeyword analysis result 1715 may include, for example, ahyperlink 1716 for reservation.

도 16c를 참조하면, 1610 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지를 획득할 수 있다. 1620 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지 각각을 자연어 분석할 수 있다.Referring to FIG. 16C, in 1610 operation, theelectronic device 101 may obtain a plurality of text messages. Inoperation 1620, theelectronic device 101 may analyze each of the plurality of text messages in a natural language.

1632 동작에서, 전자 장치(101)는 자연어 분석 결과와 연관된 히스토리를 획득할 수 있다. 예를 들어, 전자 장치(101)는 자연어 분석 결과로, 도 8b에서와 같이, "11.15, 영화"라는 키워드를 획득할 것을 상정하도록 한다. 전자 장치(101)는 "11.15"라는 키워드와 연관된 히스토리로서, 일요일에 사용자가 오전 11시 내지 오후 3시에 여유 시간을 가지며, 서울시 강남구에 주로 있다는 히스토리를 획득할 수 있다. 아울러, "영화"라는 키워드와 연관된 히스토리로서, 사용자가 주로 액션 영화를 관람하였다는, 영화 예매 히스토리를 획득할 수 있다.Inoperation 1632, theelectronic device 101 may obtain a history associated with the natural language analysis results. For example, theelectronic device 101 allows, as a result of the natural language analysis, to assume that the keyword "11.15, movie" is obtained as shown in Fig. 8B.Electronic device 101 is a history associated with the keyword "11.15 ", which allows a user on Sunday to have a free time from 11 am to 3 pm and obtain a history that is primarily in Gangnam-gu, Seoul. In addition, as a history associated with the keyword "movie ", a movie booking history can be obtained that the user has mainly watched an action movie.

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)는 키워드 분석 결과를 이용하여 동작할 수 있다.Inoperation 1642, theelectronic device 101 may generate a keyword using the natural language analysis results, the acquired history, and the template. For example, as in Figure 17d, theelectronic device 101 is configured to store atime item 863, adate item 864, aplace item 866, and an item ofinterest 867, Theinformation 1761 of 3:00 pm, theinformation 1762 of Gangnam-gu, Seoul, and theinformation 1763 of theaction movie 1763 can be acquired. Accordingly, theelectronic device 101 can generate a keyword "11.15 am from 11 am to 3 pm, Seoul Gangnam-gu, a movie, an action movie ". Inoperation 1650, theelectronic device 101 may send a query containing the acquired keyword. Inoperation 1660, theelectronic device 101 may receive a keyword analysis result. Inoperation 1670, theelectronic device 101 may operate using a keyword analysis result.

상술한 바와 같이, 본 발명의 다양한 실시예에 의한 전자 장치(101)는 텍스트 분석 결과뿐만 아니라, 사용자의 일정 정보, 사용자 위치 정보 또는 텍스트 분석 결과와 연관된 히스토리 등의 다양한 추가 정보를 더 이용하여 키워드를 생성할 수도 있다.As described above, theelectronic device 101 according to various embodiments of the present invention further uses various additional information such as a user's schedule information, user location information, or a history related to a text analysis result, May be generated.

도 18은 본 발명의 다양한 실시예에 따른 IoT(internet of things) 환경에서의 전자 장치의 동작을 설명하기 위한 개념도를 도시한다.18 shows a conceptual diagram for explaining the operation of an electronic device in an internet of things (IoT) 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 shown in FIG. 18, theelectronic device 101 may communicate with anotherelectronic device 1820. In the IoT environment, each of theelectronic device 101 and the otherelectronic device 1820 may be given an IP address according to various formats such as Ipv4 or Ipv6, and various types of short-range communication (for example, bluetooth, - It can send and receive data using low energy (bluetooth low energy), Zig-bee, near field communication (NFC), infrared communication) and assigned IP address. Alternatively, theelectronic device 101 may send and receive data to and from otherelectronic devices 1820 based on various communication schemes, without using an IP address.

본 발명의 다양한 실시예에서, 전자 장치(101)는 외부 음성을 획득할 수 있는 마이크, 다른 전자 장치(1820)와 근거리 통신을 수행할 수 있는 근거리 통신 모듈 및 셀룰러 모듈을 포함할 수 있다. 전자 장치(101)는 인물(1801,1802)들로부터 발화된 사용자 음성(1811,1812)을 마이크 등을 통하여 획득할 수 있다.In various embodiments of the present invention,electronic device 101 may include a microphone capable of acquiring external voice, a short range communication module capable of performing close range communication with otherelectronic device 1820, and a cellular module. Theelectronic device 101 can acquireuser voices 1811 and 1812 from thepersons 1801 and 1802 through a microphone or the like.

전자 장치(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)는 키워드 분석 결과 요청이 검출되면, 복수 개의 텍스트 메시지의 분석 결과를 이용한 키워드를 포함한 쿼리를 셀룰러 모듈을 통하여 송신할 수 있으며, 쿼리에 대한 응답으로 키워드 분석 결과를 획득할 수 있다.Theelectronic device 101 can obtain a plurality of text messages corresponding to the user'svoice 1811, 1812 by processing the user'svoice 1811, 1812 with a TTS. Theelectronic device 101 can process the result of converting the consecutively obtained user voice as a single text message without having a predetermined pause. In addition, theelectronic device 101 can process a user voice for each user by using a voice fingerprint. For example, even when the twousers 1801 and 1802 simultaneously utter the user's voice, theelectronic device 101 separates the user'sutterances 611 and 612, respectively, uttered by theusers 1801 and 1802 using the voice fingerprint Can be processed. For example, the user (1801, 1802) may be able to find out what he or she wants to see, such as "What is happening this Sunday?", "I do not have a promise" Well, what are you doing lately? " The user'svoice 1811 or 1812 having contents such as the voice can be uttered. Theelectronic device 101 can acquire a text message as in FIG. 5A by processing the user'svoice 1811, 1812 by TTS. When a request for a keyword analysis result is detected, theelectronic device 101 can transmit a query including a keyword using analysis results of a plurality of text messages through the cellular module, and obtain a keyword analysis result in response to a query .

전자 장치(101)는 키워드 분석 결과를 다른 전자 장치(1820)로 근거리 통신 모듈을 통하여 송신(1825)할 수 있다. 다른 전자 장치(1820)는 전자 장치(101)로부터 수신한 키워드 분석 결과(1830)를 표시할 수 있다.Electronic device 101 may transmit (1825) the keyword analysis results to otherelectronic device 1820 through the local communication module. The otherelectronic device 1820 may display thekeyword analysis result 1830 received from theelectronic device 101.

또 다른 실시예에서, 전자 장치(101)는 키워드의 분석을 직접 수행할 수도 있으며, 직접 수행한 키워드 분석 결과를 다른 전자 장치(1820)로 송신(1825)할 수도 있다.In another embodiment, theelectronic device 101 may perform the analysis of the keyword directly, and may transmit (1825) the results of the directly performed keyword analysis to the otherelectronic device 1820.

상술한 바와 같이, 전자 장치(101)는 수신된 키워드 분석 결과를 다른 전자 장치(1820)로 송신하는 것과 같이 동작할 수도 있다.As described above, theelectronic device 101 may operate as transmitting the received keyword analysis results to the otherelectronic device 1820.

도 19는 본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도를 도시한다.19 shows a flowchart for explaining a control method of an electronic device according to various embodiments of the present invention.

1910 동작에서, 전자 장치(101)는 제 1 기간 동안 복수 개의 음성을 획득할 수 있다. 1920 동작에서, 전자 장치(101)는 획득된 복수 개의 음성을 변환하여 복수 개의 텍스트 메시지를 획득할 수 있다. 1930 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지 분석 결과를 이용한 키워드를 획득할 수 있다.Inoperation 1910, theelectronic device 101 may acquire a plurality of voices during the first period. Inoperation 1920, theelectronic device 101 may convert a plurality of acquired voices to obtain a plurality of text messages. Inoperation 1930, theelectronic device 101 may obtain a keyword using a plurality of text message analysis results.

1940 동작에서, 전자 장치(101)는 키워드를 포함한 쿼리를 송신할 수 있다. 1950 동작에서, 전자 장치(101)는 쿼리의 분석 결과를 획득할 수 있다. 1960 동작에서, 전자 장치(101)는 분석 결과를 출력하거나 또는 출력 가능한 다른 전자 장치로 송신할 수 있다.Inoperation 1940, theelectronic device 101 may send a query including a keyword. Inoperation 1950, theelectronic device 101 may obtain the analysis result of the query. In 1960 operation, theelectronic device 101 may output the analysis results or transmit it to another electronic device capable of outputting.

도 20은 본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도를 도시한다. 도 20의 실시예는 도 21a 및 21b를 참조하여 더욱 상세하게 설명하도록 한다. 도 21a 및 21b는 본 발명의 다양한 실시예에 따른 단일 사용자로부터의 사용자 음성을 처리하는 과정을 설명하기 위한 개념도를 도시한다.20 shows a flowchart for explaining a control method of 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. 21A and 21B illustrate a conceptual diagram for explaining a process of processing 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)는 손목시계형 웨어러블 장치로 구현될 수 있다.Inoperation 2010, theelectronic device 101 may acquire a plurality of users' voices during the first period. For example, as shown in FIG. 21, theelectronic device 101 generatesuser signals 2101, 2102 and 2103 (FIG. 21) at a first point of time t1, a second point of time t2 and a third point of time t3, Can be obtained. User voices 2101, 2102, and 2103 may be uttered from asingle user 2100. 21, theelectronic device 101 may be implemented as a wristwatch-type wearable device.

2020 동작에서, 전자 장치(101)는 획득된 복수 개의 음성 각각을 변환하여 복수 개의 텍스트 메시지를 획득할 수 있다. 전자 장치(101)는 복수 개의 텍스트 메시지 중, 기설정된 텍스트(예를 들어, @)가 포함된 경우, 해당 텍스트 메시지를 텍스트 메시지 분석 요청으로 판단할 수 있다. 텍스트 메시지 분석 요청이 검출되면, 2030 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지 분석 결과를 이용한 키워드를 획득할 수 있다. 2040 동작에서, 전자 장치(101)는 키워드를 포함한 쿼리를 송신할 수 있으며, 키워드 분석 결과를 수신하여 표시할 수 있다. 예를 들어, 도 21b에서와 같이, 전자 장치(101)는 키워드 분석 결과(2110)를 디스플레이(160) 상에 표시할 수 있다. 한편, 손목시계형 웨어러블 장치로 구현된 경우, 전자 장치(101)는 셀룰러 모듈을 통하여 바로 서버(미도시)와 쿼리 송신 및 분석 결과 수신을 수행할 수도 있거나 또는, 근거리 통신을 통하여 다른 전자 장치(예를 들어, 스마트폰)의 중계를 통하여 쿼리 송신 및 분석 결과 수신을 수행할 수도 있다.Inoperation 2020, theelectronic device 101 may convert each of the plurality of acquired voices to obtain a plurality of text messages. Theelectronic device 101 may determine that the text message is a text message analysis request when a predetermined text (e.g., @) is included among a plurality of text messages. When a text message analysis request is detected, at 2030 operation, theelectronic device 101 may obtain a keyword using a plurality of text message analysis results. Inoperation 2040, theelectronic device 101 may send a query including a keyword, and may receive and display a keyword analysis result. For example, as in FIG. 21B, theelectronic device 101 may display thekeyword analysis result 2110 on thedisplay 160. FIG. On the other hand, when implemented as a wristwatch-type wearable device, theelectronic device 101 may perform query transmission and analysis result reception directly with a server (not shown) through a cellular module, For example, a smart phone), and perform reception of the analysis result.

도 22는 본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법을 설명하는 흐름도를 도시한다.22 shows a flow diagram illustrating a method of controlling an electronic device according to various embodiments of the present invention.

2210 동작에서, 전자 장치(101)는 적어도 하나의 사용자 음성을 획득할 수 있다. 2220 동작에서, 전자 장치(101)는 상기 적어도 하나의 사용자 음성을 분석할 수 있다. 2230 동작에서, 전자 장치(101)는 사용자 음성의 분석 결과를 이용하여 음성을 출력할 수 있다. 예를 들어, 전자 장치(101)는 대화 알고리즘을 미리 저장할 수 있으며, 사용자 음성의 텍스트 메시지에 대응하는 텍스트를 음성 또는 시각적으로 출력할 수 있다.Inoperation 2210, theelectronic device 101 may obtain at least one user voice. Inoperation 2220, theelectronic device 101 may analyze the at least one user voice. Inoperation 2230, theelectronic device 101 may output the voice using the analysis result of the user voice. For example, theelectronic device 101 may store the conversation algorithm in advance, and may output the text corresponding to the text message of the user voice, speech or visual.

예를 들어, 도 23에서와 같이, 사용자(2300)가 제 1 시점(t1)에 발화한 사용자 음성(2301)을 TTS 처리하여, "일요일에 뭐할까?"라는 텍스트를 획득할 수 있다. 전자 장치(101)는, 예를 들어 로봇과 같은 형태로 구현될 수 있다. 전자 장치(101)는 마이크와 스피커를 포함할 수 있다. 전자 장치(101)는 사용자가 입력한 텍스트에 대한 적절한 응답을 출력할 수 있는 대화 알고리즘을 미리 저장할 수 있으며, "일요일에 뭐할까?"라는 텍스트에 대화 알고리즘을 적용한 결과로, "오전에 시간 있어"라는 응답을 획득할 수 있다. 전자 장치(101)는 "오전에 시간 있어"라는 응답을 TTS 처리하여 음성(2302)으로 출력하거나 또는 디스플레이(미도시)를 통하여 시각적인 형태로 출력할 수도 있다. 전자 장치(101)는 예를 들어, 사용자의 일정 정보를 참고하여, 음성(2302)을 출력할 수 있다.For example, as shown in FIG. 23, theuser 2300 can perform the TTS processing on theuser voice 2301 uttered at the first time point t1 to obtain the text "What to do on a Sunday?". Theelectronic device 101 may be implemented in the form of, for example, a robot. Theelectronic device 101 may include a microphone and a speaker. Theelectronic device 101 may pre-store an interactive algorithm that can output an appropriate response to the text entered by the user, and as a result of applying the dialogue algorithm to the text "What to do on Sunday?", "Can be obtained. Theelectronic device 101 may perform a TTS processing to output a response indicating "there is a time in the morning" and output it as avoice 2302 or in a visual form through a display (not shown). Theelectronic device 101 can output thevoice 2302, for example, referring to the schedule information of the user.

전자 장치(101)는 제 2 시점(t2)에서 검출된 사용자 음성(2303)에 대하여서도 대화 알고리즘을 적용함으로써, 응답(2304)을 출력할 수도 있다. 전자 장치(101)는 제 1 시점(t1) 및 제 2 시점(t2) 각각에서 복수 개의 텍스트 메시지를 획득할 수 있다. 한편, 전자 장치(101)는 제 3 시점(t3)에서, 사용자로부터 텍스트 메시지 분석 요청과 수신자 정보를 포함하는 음성(2305)을 획득할 수 있다.Theelectronic device 101 may also output the response 2304 by applying an interactive algorithm to theuser voice 2303 detected at the second time point t2. Theelectronic device 101 can acquire a plurality of text messages at each of the first time point t1 and the second time point t2. On the other hand, at a third time point t3, theelectronic device 101 may obtain avoice 2305 containing a text message analysis request and recipient information from the user.

2240 동작에서, 전자 장치(101)는 사용자 음성 및 출력한 음성을 텍스트로 변환할 수 있다. 전자 장치(101)는 사용자로부터 수신된 텍스트 메시지뿐만 아니라, 자신이 출력한 텍스트 메시지도 획득할 수 있다. 2250 동작에서, 전자 장치(101)는 변환된 복수 개의 텍스트를 이용하여 키워드를 획득할 수 있다. 전자 장치(101)는 사용자로부터 수신된 텍스트 메시지뿐만 아니라, 자신이 출력한 텍스트 메시지를 함께 이용하여, 키워드를 생성할 수 있다. 전자 장치(101)가 스스로 출력한 텍스트 메시지(2302)를 이용함에 따라서, 전자 장치(101)는 "일요일, 영화"의 키워드가 아닌, "일요일, 오전, 영화"의 키워드를 획득할 수 있다.Inoperation 2240, theelectronic device 101 may convert the user voice and the output voice into text. Theelectronic device 101 can obtain not only the text message received from the user but also the text message outputted by the user. Inoperation 2250, theelectronic device 101 can acquire a keyword using a plurality of converted texts. Theelectronic device 101 can generate a keyword by using a text message received from a user together with a text message output by the user. As theelectronic device 101 uses thetext message 2302 output by itself, theelectronic device 101 can acquire the keyword of "Sunday, morning, movie", not the keyword of "Sunday, movie".

2260 동작에서, 전자 장치(101)는 키워드를 포함한 쿼리를 송신할 수 있다. 2270 동작에서, 전자 장치(101)는 쿼리 분석 결과를 수신할 수 있다. 2280 동작에서, 전자 장치(101)는 쿼리 분석 결과를 이용하여 동작할 수 있다. 예를 들어, 도 23에서와 같이, 전자 장치(101)는 쿼리 분석 결과를 포함하는 음성(2306)을 출력할 수 있다.In 2260 operation, theelectronic device 101 may send a query including a keyword. Inoperation 2270, theelectronic device 101 may receive query analysis results. In 2280 operation, theelectronic device 101 may operate using query analysis results. For example, as shown in FIG. 23, theelectronic device 101 may output avoice 2306 including a query analysis result.

도 24는 본 발명의 다양한 실시예에 따른 전자 장치의 제어 방법을 설명하기 위한 흐름도를 도시한다.24 shows a flowchart for explaining a control method of an electronic device according to various embodiments of the present invention.

2410 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지를 획득할 수 있다. 2420 동작에서, 전자 장치(101)는 복수 개의 텍스트 메시지 각각을 분석하여, 복수 개의 텍스트 메시지에 대응하는 키워드를 획득할 수 있다. 전자 장치(101)가 복수 개의 텍스트 메시지에 대응하는 키워드를 획득하는 과정에 대하여서는 상세하게 설명하였기 때문에, 여기에서의 더 이상의 설명은 생략하도록 한다.Inoperation 2410, theelectronic device 101 may obtain a plurality of text messages. Inoperation 2420, theelectronic device 101 may analyze each of the plurality of text messages to obtain a keyword corresponding to the plurality of text messages. Since the process in which theelectronic device 101 acquires a keyword corresponding to a plurality of text messages has been described in detail, further description here will be omitted.

2430 동작에서, 전자 장치(101)는 키워드에 대응하는 동작을 수행할 수 있다. 예를 들어, 전자 장치(101)는 키워드에 대응하여, 키워드를 포함하는 쿼리를 송신할 수 있다. 또는, 전자 장치(101)는 키워드를 웹브라우징 어플리케이션에 입력하고, 웹브라우징 어플리케이션으로부터의 키워드 처리 결과를 표시하는 것을 기설정된 동작으로 설정할 수도 있다. 전자 장치(101)는 키워드에 대응하는 명령을 미리 저장할 수도 있으며, 명령을 수행하거나 또는 다른 전자 장치로 명령을 송신할 수도 있다. 즉, 본 발명의 다양한 실시예에 따른 전자 장치(101)는 복수 개의 텍스트 메시지에 대응하는 키워드에 대한 분석 결과를 수신하는 것 이외에도, 키워드에 대응하는 동작을 직접 수행할 수도 있다.Inoperation 2430, theelectronic device 101 may perform an operation corresponding to the keyword. For example, theelectronic device 101 may transmit a query including a keyword corresponding to the keyword. Alternatively, theelectronic device 101 may input a keyword into the web browsing application, and set a predetermined operation to display the keyword processing result from the web browsing application. Theelectronic device 101 may store the command corresponding to the keyword in advance, and may execute the command or transmit the command to another electronic device. That is, theelectronic device 101 according to various embodiments of the present invention may directly perform an operation corresponding to a keyword, in addition to receiving the analysis result on the keyword corresponding to the plurality of text messages.

도 25a 내지 도 25c 본 발명의 다양한 실시예에 따른 전자장치에서 댁내 IoT 디바이스를 호출하여 통신하는 예를 도시한다. 설명의 편의상 IoT 디바이스는 냉장고를 예로 설명하나 이에 한정되지 않는다.25A to 25C show an example of communication by calling an in-house IoT device in an electronic device according to various embodiments of the present invention. For convenience of explanation, the IoT device will be described as an example of a refrigerator, but not limited thereto.

도 25a를 참조하면 전자 장치(101), IoT 디바이스(2525), 제 1 서버(2521) 및 제 2 서버(2523)가 도시되어 있다.25A, anelectronic device 101, anIOT device 2525, afirst server 2521, and asecond server 2523 are shown.

IoT 디바이스(2525)는 예컨대 댁내에 설치된 냉장고일 수 있다. 제 1 서버(2521)는 예컨대 쇼핑몰 서버일 수 있으나 이에 한정되지 않는다. 제 2 서버(2523)는 예컨대 댁내 IoT 디바이스를 관리하는 서버일 수 있으나 이에 한정되지 않는다.TheIoT device 2525 may be, for example, a refrigerator installed in a house. Thefirst server 2521 may be, for example, a shopping mall server, but is not limited thereto. Thesecond server 2523 may be, for example, a server that manages the in-house IoT device, but is not limited thereto.

전자 장치(101)는 전자 장치에서 실행되는 채팅 어플리케이션의 실행 화면을 디스플레이부에 표시할 수 있다. 전자 장치(101)는 통신부를 통해 다른 전자 장치로부터 수신되는 복수 개의 텍스트 메시지 및 전자 장치의 입력부를 통해 입력되는 복수 개의 텍스트 메시지를 실행 화면에 표시할 수 있다. 예를 들면 A 사용자가 전자 장치(101)에서 채팅 어플리케이션을 실행시키면 화면(2503)에는 A 사용자와 B 사용자가 주고 받은 메시지(2505, 2506, 2507)가 표시될 수 있다. A 사용자는 전자 장치의 입력부를 통해 텍스트 메시지(2505, 2507)를 입력할 수 있다. B 사용자는 다른 전자 장치를 통해 텍스트 메시지(2506)를 입력하고 다른 전자 장치는 입력된 텍스트 메시지를 전자 장치로 전송할 수 있다. 전자 장치(101)는 수신된 텍스트 메시지(2506)를 화면(2503)에 표시할 수 있다.Theelectronic device 101 can display an execution screen of a chat application executed on the electronic device on the display unit. Theelectronic device 101 may display a plurality of text messages received from other electronic devices 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 the user A executes the chat application on theelectronic device 101,messages 2505, 2506, and 2507 exchanged between the user A and user B may be displayed on thescreen 2503. A user can input text messages (2505, 2507) through the input of the electronic device. B user may inputtext message 2506 via another electronic device and the other electronic device may transmit the input text message to the electronic device. Theelectronic device 101 may display the receivedtext message 2506 on thescreen 2503. [

전자 장치(101)는 화면에 표시되는 복수 개의 메시지에 기초하여 A 사용자에게 정보를 제공할 수 있는 외부 장치를 결정할 수 있다.Theelectronic device 101 can determine an external device capable of providing information to the A user based on a plurality of messages displayed on the screen.

전자 장치(101)는 채팅 어플리케이션을 통해 복수의 텍스트 메시지(2505, 2506, 2507)를 획득할 수 있다. 전자 장치(101)는 복수의 텍스트 메시지(2505, 2506, 2507)로부터 키워드를 추출하고, 추출된 키워드에 기초하여 외부 장치로부터 정보를 제공 받을 수 있다. 전자 장치(101)는 외부 장치로부터 정보를 제공받기 위해 외부 장치로 데이터를 송수신할 수 있다. 전자 장치(101)가 텍스트 메시지로부터 키워드를 추출하는 방법 및 텍스트 메시지를 화면에 배치하여 표시하는 방법은 도 4 내지 도 10에서 설명하였으므로 자세한 설명은 생략한다.Theelectronic device 101 may obtain a plurality oftext messages 2505, 2506, and 2507 through a chat application. Theelectronic device 101 may extract keywords from a plurality oftext messages 2505, 2506, and 2507, and may receive information from an external device based on the extracted keywords. Theelectronic device 101 can transmit and receive data to and from an external device in order to receive information from the external device. A method of extracting a keyword from a text message and a method of arranging a text message on a screen and displaying the text message are described in FIGS. 4 to 10, and a detailed description thereof will be omitted.

외부 장치는 제 1 서버(2521), 제 2 서버(2523) 또는 냉장고(2525) 일 수 있다.The external device may be afirst server 2521, asecond server 2523, or arefrigerator 2525.

예를 들면 A 사용자가 B 사용자에게 "저녁에 뭐 먹을래"(2505) 라고 묻고 B 사용자가 "피자요"(2506)라고 답하면, 전자 장치(101)는 "저녁", "먹을래", "피자" 라는 단어로부터 두 사람이 음식과 관련된 대화를 하는 것으로 판단하고, 댁내 설치된 IoT 디바이스 중 음식과 관련된 디바이스를 검색할 수 있다.For example, if the user A asks the user B, "What to eat in the evening" (2505), and the user B answers "pizza" (2506), then theelectronic device 101 displays " Pizza "can be used to determine that two people are having a conversation related to food, and they can search for food-related devices among home-installed IoT devices.

전자 장치는 결정된 외부 장치로부터 정보를 수신할 수 있다. 음식과 관련된 디바이스는 예컨대 '냉장고' 또는 '전자레인지(MWO:Miciro Wave Oven)'가 될 수 있다. A 사용자가 "냉장고에 재료 있나?" 라는 메시지를 입력하면 전자 장치(101)는 메시지로부터 '냉장고'및 '재료' 라는 키워드를 추출하고 냉장고에 보관되어 있는 음식 재료의 현황을 파악할 수 있다. 즉 전자 장치(101)는 복수의 메시지(2505, 2506, 2507)로부터 추출된 단어(키워드)에 기초하여 데이터를 송수신할 외부장치를 검색하고, 검색된 외부장치로 데이터를 송신하거나 또는 수신할 수 있다. 여기서 데이터는 외부장치를 제어하기 위한 명령어 이거나 또는 외부장치에게 제공될 데이터일 수 있다.The electronic device can receive information from the determined external device. The food related device may be, for example, a 'refrigerator' or a 'microwave oven (MWO)'. A The user says, "Do you have the ingredients in the refrigerator?" Theelectronic device 101 extracts the keywords 'refrigerator' and 'material' from the message and can grasp the status of the food material stored in the refrigerator. That is, theelectronic device 101 searches for an external device to transmit and receive data based on a word (keyword) extracted from the plurality ofmessages 2505, 2506, and 2507, and transmits or receives data to the searched external device . Here, the data may be an instruction to control an external device or data to be provided to an external device.

전자 장치(101)는 문자 메시지(2507)에 기초하여 냉장고(2525)에게 재료 현황을 요청하고, 이와 관련된 메시지(2508)를 화면에 표시할 수 있다. 전자 장치(101)는 냉장고(2525)로부터 '음식 재료 현황'을 수신하고 수신된 음식 재료 현황을 어플리케이션이 실행되는 화면(2503)에 표시할 수 있다. 이 때 복수의 텍스트 메시지(2505, 2506, 2507) 및 냉장고로부터 수신된 정보(2508)는 시간 순으로 정렬되어 실행 화면에 표시될 수 있다.Theelectronic device 101 can request the material status to therefrigerator 2525 based on thetext message 2507 and display themessage 2508 related thereto on the screen. Theelectronic device 101 can receive the 'food material status' from therefrigerator 2525 and display the received food material status on thescreen 2503 where the application is executed. At this time, the plurality oftext messages 2505, 2506, and 2507 and theinformation 2508 received from the refrigerator may be displayed in chronological order and displayed on the execution screen.

전자 장치(101)는 냉장고(2525)의 음식 재료 현황에 대한 정보를 제공하기 위해 문자 메시지(2508) 내부에 UI 엘리먼트(2509)를 표시할 수 있다. UI 엘리먼트(2509)는 버튼일 수 있다. UI 엘리먼트는 사용자 입력을 수신할 수 있다.Theelectronic device 101 may display theUI element 2509 inside thetext message 2508 to provide information on the food material status of therefrigerator 2525. [ TheUI element 2509 may be a button. The UI element may receive user input.

A 사용자가 버튼(2509)를 선택하면 화면에 냉장고의 음식 재료 현황이 표시될 수 있다. 음식 재료 현황은 문자 메시지(2508) 내부에 표시되거나 또는 별도의 팝업(pop up) 창에 표시될 수 있으나 이에 한정되지 않는다. 예컨대 음식 재료 현황은 음성 안내로 제공될 수도 있다.When the user A selects thebutton 2509, the food material status of the refrigerator can be displayed on the screen. The food material status can be displayed within thetext message 2508 or displayed in a separate pop-up window, but is not limited thereto. For example, the food material status may be provided by voice guidance.

실시 형태에 따라 전자 장치(101)는 제 2 서버(2523)를 통해 냉장고(2525)의 음식 재료 현황을 수신할 수 있다. 제 2 서버(2523)는 댁내 IoT 디바이스를 관리하는 서버일 수 있으며, 댁내 IoT 디바이스의 상태 및 현황에 대한 데이터를 데이터 베이스 형태로 관리하며 댁내 IoT 디바이스에 대한 데이터를 전자 장치(101)를 포함한 다른 장치로 전송할 수 있다.Theelectronic device 101 may receive the food material status of therefrigerator 2525 through thesecond server 2523 according to the embodiment. Thesecond server 2523 may be a server that manages the in-house IoT device. Thesecond server 2523 manages data on the status and current status of the IOST device in the form of a database, and stores data about the IOT device in the home, Device.

도 25b를 참조하면 전자 장치(101)는 도 25a에 도시한 버튼(2509)을 선택하는 사용자 입력에 따라 화면에 음식 재료 현황(2531)을 표시할 수 있다. 음식 재료 현황(2531) 화면에는 음식 재료 이미지(2532, 2534, 2536, 2538) 및 음식 재료의 이름 및 유효기간이 표시될 수 있다.Referring to FIG. 25B, theelectronic device 101 can display thefood material status 2531 on the screen according to a user input for selecting thebutton 2509 shown in FIG. 25A. The food material status (2531) screen may display the food material images (2532, 2534, 2536, 2538) and the name and validity period of the food material.

음식 재료 이미지(2532, 2534, 2536, 2538)는 냉장고에 장착된 카메라를 통해 획득되거나 또는 제 1 서버(쇼핑몰 서버)(2521)를 통해 획득될 수 있다. 음식 재료의 이름 및 유효기간은 제 1 서버(2521)를 통해 획득될 수 있다.Thefood ingredients images 2532, 2534, 2536, and 2538 may be acquired through a camera mounted on the refrigerator or acquired through a first server (shopping mall server) 2521. [ The name and validity period of the food material can be obtained through thefirst server 2521. [

전자 장치(101)는 문자 메시지에 기초하여 추가로 구입해야 될 재료의 현황을 파악하고 사용자에게 제공할 수 있다.Theelectronic device 101 can grasp the status of the material to be additionally purchased based on the text message and provide it to the user.

도 25c를 참조하면 전자 장치는 신규로 구입해야 되는 재료의 현황(2551)을 화면에 표시할 수 있다. 전자 장치(101)는 문자 메시지(도 25a의 2506)로부터 '피자'라는 키워드를 추출하고 '피자'의 레시피를 제 1 서버를 통해 검색할 수 있다. 전자 장치(101)는 검색 결과로부터 '피자'를 만들기 위해 필요한 음식 재료와 냉장고에 있는 음식 재료 현황을 비교하여, 신규 구입 재료(2551) 현황을 생성할 수 있다.Referring to FIG. 25C, the electronic device can display thecurrent status 2551 of materials to be purchased on the screen. Theelectronic device 101 can extract the keyword 'pizza' from the text message (2506 in FIG. 25A) and retrieve the recipe of 'pizza' through the first server. Theelectronic device 101 can generate the status of the newly purchasedmaterial 2551 by comparing the food material required for making the 'pizza' from the search result with the status of the food material in the refrigerator.

신규 구입 재료 현황(2551)에는 음식 재료 이미지(2552, 2554, 2556) 및 음식 재료 이름 및 가격이 포함될 수 있다. 전자 장치(101)는 사용자의 확인을 통해 신규 구입 재료(2551)에 포함된 음식 재료에 대한 정보를 제 1 서버(쇼핑몰 서버)(2521)로 전송할 수 있다. 즉, 전자 장치(101)는 사용자의 확인을 통해 신규 구입 재료에 대한 주문을 진행할 수 있다.The newly purchasedmaterial status 2551 may includefood material images 2552, 2554, and 2556 and food material names and prices. Theelectronic device 101 can transmit information on the food material contained in thenew purchase material 2551 to the first server (shopping mall server) 2521 through confirmation of the user. That is, theelectronic device 101 can advance the order for the newly purchased material through the confirmation of the user.

실시 형태에 따라 전자 장치(101)는 사용자의 확인 과정 없이 신규 구입 재료 현황(2551)을 참조하여 자동으로 음식 재료를 주문할 수도 있다.According to the embodiment, theelectronic device 101 may automatically order the food material with reference to the newpurchase material status 2551 without the confirmation process of the user.

본 발명의 다양한 실시예에서, 전자 장치의 제어 방법은, 복수 개의 텍스트 메시지를 획득하는 동작; 상기 복수 개의 텍스트 메시지 각각을 분석하여, 상기 복수 개의 텍스트 메시지에 대응하는 키워드를 획득하는 동작; 상기 키워드를 포함한 쿼리를 송신하는 동작; 및 상기 키워드 분석 결과를 수신하여, 상기 수신된 키워드 분석 결과에 대응하는 동작을 수행하는 동작을 포함할 수 있다.In various embodiments of the present invention, a method of controlling an electronic device includes: 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 an operation of receiving the keyword analysis result and performing an operation corresponding to the received keyword analysis result.

본 발명의 다양한 실시예에서, 전자 장치의 제어 방법은, 키워드 분석을 수행하는 수신자와 관련된 수신자 정보를 획득하는 동작을 더 포함하며, 상기 쿼리를 송신하는 동작은, 상기 키워드 및 상기 수신자 정보를 포함한 상기 쿼리를 송신하며, 상기 키워드 분석 결과는, 상기 수신자 정보에 대응하는 전자 장치에 의하여 수행될 수 있다.In various embodiments of the present invention, a method of controlling an electronic device may further comprise obtaining recipient information associated with a recipient performing a keyword analysis, wherein the act of transmitting the query includes receiving the keyword and the recipient information And transmits the query, and the keyword analysis result may be performed by an electronic device corresponding to the recipient information.

본 발명의 다양한 실시예에서, 상기 키워드를 획득하는 동작은, 상기 복수 개의 텍스트 메시지 각각을 자연어 처리하는 동작; 및 상기 복수 개의 텍스트 메시지 각각에 대한 자연어 처리 결과를 이용하여, 상기 키워드를 생성하는 동작을 포함할 수 있다.In various embodiments of the present invention, the act of obtaining the keyword comprises: processing each of the plurality of text messages in a natural language; And 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 includes: comparing the natural language processing result with a predetermined template; And 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 machine learning or deep learning for the natural language processing result, Applying an algorithm; Determining an intention of each of the plurality of text messages based on the application result; And 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 comprises: obtaining a plurality of first text messages during a first period; And obtaining a plurality of second text messages during a second period of time.

본 발명의 다양한 실시예에서, 상기 키워드를 획득하는 동작은, 상기 복수 개의 제 1 텍스트 메시지에 대응하는 제 1 키워드를 생성하는 동작; 및 상기 복수 개의 제 2 텍스트 메시지에 대응하는 제 2 키워드를 생성하는 동작을 포함할 수 있다.In various embodiments of the present invention, the act of obtaining the keyword comprises: generating a first keyword corresponding to the plurality of first text messages; And generating a second keyword corresponding to the plurality of second text messages.

본 발명의 다양한 실시예에서, 상기 제 2 키워드를 생성하는 동작은, 상기 복수 개의 제 2 텍스트 메시지의 분석 결과와, 상기 제 1 키워드 및 상기 복수 개의 제 1 텍스트 메시지 중 적어도 하나를 이용하여, 상기 제 2 키워드를 생성할 수 있다.In the various embodiments of the present invention, the operation of generating the second keyword may include: using the analysis result of the plurality of second text messages, at least one of the first keyword and the plurality of first text messages, The second keyword can be generated.

본 발명의 다양한 실시예에서, 전자 장치의 제어 방법은, 추가 정보를 획득하는 동작을 더 포함하고, 상기 키워드를 생성하는 동작은, 상기 복수 개의 텍스트 메시지의 분석 결과 및 상기 추가 정보를 이용하여, 상기 키워드를 생성할 수 있다.In various embodiments of the present invention, the method of controlling an electronic device further comprises obtaining additional information, and the operation of generating the keyword comprises: using the analysis result of the plurality of text messages and the additional information, The keyword can be generated.

본 발명의 다양한 실시예에서, 상기 추가 정보를 획득하는 동작은, 상기 복수 개의 텍스트 메시지의 분석 결과와 연관된 추가 정보를 획득하거나 또는 상기 복수 개의 텍스트 메시지로부터 독립적인 추가 정보를 획득할 수 있다.In various embodiments of the present invention, the act of obtaining the additional information may obtain additional information associated with an analysis result of the plurality of text messages, or may obtain additional information independent of the plurality of text messages.

본 발명의 다양한 실시예에서, 상기 복수 개의 텍스트 메시지를 획득하는 동작은, 복수 개의 사용자 음성을 획득하는 동작; 및 상기 복수 개의 사용자 음성 각각을 변환하여, 상기 복수 개의 텍스트 메시지를 획득하는 동작을 포함할 수 있다.In various embodiments of the present invention, the act of obtaining the plurality of text messages comprises: obtaining a plurality of user speech; And converting each of the plurality of user voices to obtain the plurality of text messages.

본 발명의 다양한 실시예에서, 전자 장치의 제어 방법은, 상기 전자 장치에서 실행되는 채팅 어플리케이션의 실행 화면을 표시하는 동작; 상기 전자 장치로 입력되거나 또는 다른 전자 장치로부터 수신되는 복수 개의 텍스트 메시지를 상기 채팅 어플리케이션의 실행 화면에 표시하는 동작; 상기 복수 개의 텍스트 메시지에 대한 분석 요청을 수신하는 동작; 상기 분석 요청이 수신되면, 상기 복수 개의 텍스트 메시지에 대응하는 키워드를 송신하는 동작; 및 상기 키워드에 대한 분석 결과를 수신하여, 상기 채팅 어플리케이션 창에 상기 수신된 키워드에 대한 분석 결과를 표시하는 동작을 포함할 수 있다.In various embodiments of the present invention, a method of controlling an electronic device includes: displaying an execution screen of a chat application executing in the electronic device; Displaying on the execution screen of the chat application a plurality of text messages input to or received from the electronic device; Receiving an analysis request for the plurality of text messages; Transmitting the keyword corresponding to the plurality of text messages when the analysis request is received; And displaying an analysis result of the received keyword in the chat application window by receiving an analysis result of the keyword.

본 발명의 다양한 실시예에서, 전자 장치의 제어 방법은, 복수 개의 텍스트 메시지를 획득하는 동작; 상기 복수 개의 텍스트 메시지 각각을 분석하여, 상기 복수 개의 텍스트 메시지에 대응하는 키워드를 획득하는 동작; 및 상기 키워드에 대응하는 동작을 수행하는 동작을 포함할 수 있다.In various embodiments of the present invention, a method of controlling an electronic device includes: 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 components, and the name of the component may be changed according to the type of the electronic device. In various embodiments, the electronic device may be configured to include at least one of the components described above, with some components omitted or further comprising additional other components. In addition, some of the components of the electronic device according to various embodiments may be combined into one entity, so that the functions of the components before being combined can be performed in the same manner.

본 문서에서 사용된 용어 “모듈”은, 예를 들면, 하드웨어, 소프트웨어 또는 펌웨어(firmware) 중 하나 또는 둘 이상의 조합을 포함하는 단위(unit)를 의미할 수 있다. “모듈”은, 예를 들면, 유닛(unit), 로직(logic), 논리 블록(logical block), 부품(component), 또는 회로(circuit) 등의 용어와 바꾸어 사용(interchangeably use)될 수 있다. “모듈”은, 일체로 구성된 부품의 최소 단위 또는 그 일부가 될 수 있다. “모듈”은 하나 또는 그 이상의 기능을 수행하는 최소 단위 또는 그 일부가 될 수도 있다. “모듈”은 기계적으로 또는 전자적으로 구현될 수 있다. 예를 들면,“모듈”은, 알려졌거나 앞으로 개발될, 어떤 동작들을 수행하는 ASIC(application-specific integrated circuit) 칩, FPGAs(field-programmable gate arrays) 또는 프로그램 가능 논리 장치(programmable-logic device) 중 적어도 하나를 포함할 수 있다.As used in this document, the term " module " may refer to a unit comprising, for example, one or a combination of two or more of hardware, software or firmware. A " module " may be interchangeably used with terms such as, for example, unit, logic, logical block, component, or circuit. A " module " may be a minimum unit or a portion of an integrally constructed component. A " module " may be a minimum unit or a portion thereof that performs one or more functions. &Quot; Modules " may be implemented either mechanically or electronically. For example, a "module" may be an application-specific integrated circuit (ASIC) chip, field-programmable gate arrays (FPGAs) or programmable-logic devices And may include at least one.

다양한 실시예에 따른 장치(예: 모듈들 또는 그 기능들) 또는 방법(예: 동작들)의 적어도 일부는, 예컨대, 프로그램 모듈의 형태로 컴퓨터로 읽을 수 있는 저장매체(computer-readable storage media)에 저장된 명령어로 구현될 수 있다. 상기 명령어는, 프로세서(예: 프로세서(120))에 의해 실행될 경우, 상기 하나 이상의 프로세서가 상기 명령어에 해당하는 기능을 수행할 수 있다. 컴퓨터로 읽을 수 있는 저장매체는, 예를 들면, 상기 메모리(130)가 될 수 있다.At least a portion of a device (e.g., modules or functions thereof) or a method (e.g., operations) according to various embodiments may include, for example, computer-readable storage media in the form of program modules, As shown in FIG. The instructions, when executed by a processor (e.g., processor 120), may cause the one or more processors to perform functions corresponding to the instructions. The computer readable storage medium may be, for example, thememory 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 be 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) but are not limited to, digital versatile discs, magneto-optical media such as floptical discs, hardware devices such as read only memory (ROM), random access memory (RAM) Etc.), etc. The program instructions may also include machine language code such as those produced by a compiler, as well as high-level language code that may be executed by a computer using an interpreter, etc. The above- May be configured to operate as one or more software modules to perform the operations of the various embodiments, and vice versa.

다양한 실시예에 따른 모듈 또는 프로그램 모듈은 전술한 구성요소들 중 적어도 하나 이상을 포함하거나, 일부가 생략되거나, 또는 추가적인 다른 구성요소를 더 포함할 수 있다. 다양한 실시예에 따른 모듈, 프로그램 모듈 또는 다른 구성요소에 의해 수행되는 동작들은 순차적, 병렬적, 반복적 또는 휴리스틱(heuristic)한 방법으로 실행될 수 있다. 또한, 일부 동작은 다른 순서로 실행되거나, 생략되거나, 또는 다른 동작이 추가될 수 있다.Modules or program modules according to various embodiments may include at least one or more of the elements described above, some of which may be omitted, or may further include additional other elements. Operations performed by modules, program modules, or other components in accordance with various embodiments may be performed in a sequential, parallel, iterative, or heuristic manner. Also, some operations may be performed in a different order, omitted, or other operations may be added.

본 발명의 다양한 실시예에 따르면, 명령들을 저장하고 있는 저장 매체에 있어서, 상기 명령들은 적어도 하나의 프로세서에 의하여 실행될 때에 상기 적어도 하나의 프로세서로 하여금 적어도 하나의 동작을 수행하도록 설정된 것으로서, 상기 적어도 하나의 동작은, 복수 개의 텍스트 메시지를 획득하는 동작; 상기 복수 개의 텍스트 메시지 각각을 분석하여, 상기 복수 개의 텍스트 메시지에 대응하는 키워드를 획득하는 동작; 상기 키워드를 포함한 쿼리를 송신하는 동작; 및 상기 키워드 분석 결과를 수신하여, 상기 수신된 키워드 분석 결과에 대응하는 동작을 수행하는 동작을 포함할 수 있다.According to various embodiments of the present invention there is provided a storage medium having stored thereon instructions for causing the at least one processor to perform at least one operation when executed by at least one processor, The operation of 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 an operation of receiving the keyword analysis result and performing an operation corresponding to the received keyword analysis result.

그리고 본 문서에 개시된 실시예는 개시된, 기술 내용의 설명 및 이해를 위해 제시된 것이며, 본 개시의 범위를 한정하는 것은 아니다. 따라서, 본 개시의 범위는, 본 개시의 기술적 사상에 근거한 모든 변경 또는 다양한 다른 실시예를 포함하는 것으로 해석되어야 한다.And the embodiments disclosed in this document are presented for the purpose of explanation and understanding of the disclosed contents, and do not limit the scope of the present disclosure. Accordingly, the scope of the present disclosure should be construed as including all modifications based on the technical idea of the present disclosure or various other embodiments.

Claims (29)

Translated fromKorean
복수 개의 텍스트 메시지를 획득하는 동작;
상기 복수 개의 텍스트 메시지 각각을 분석하여, 상기 복수 개의 텍스트 메시지에 대응하는 키워드를 획득하는 동작;
상기 키워드를 포함한 쿼리를 송신하는 동작; 및
상기 키워드 분석 결과를 수신하여, 상기 수신된 키워드 분석 결과에 대응하는 동작을 수행하는 동작을 포함하는 전자 장치의 제어 방법.
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
And receiving the keyword analysis result and performing an operation corresponding to the received keyword analysis result.
제 1 항에 있어서,
키워드 분석을 수행하는 수신자와 관련된 수신자 정보를 획득하는 동작
을 더 포함하며,
상기 쿼리를 송신하는 동작은, 상기 키워드 및 상기 수신자 정보를 포함한 상기 쿼리를 송신하며,
상기 키워드 분석 결과는, 상기 수신자 정보에 대응하는 전자 장치에 의하여 수행되는 전자 장치의 제어 방법.
The method according to claim 1,
An operation of acquiring recipient information related to a recipient performing keyword analysis
Further comprising:
Wherein the transmitting the query comprises transmitting the query including the keyword and the recipient information,
Wherein the keyword analysis result is performed by an electronic device corresponding to the recipient information.
제 1 항에 있어서,
상기 키워드를 획득하는 동작은,
상기 복수 개의 텍스트 메시지 각각을 자연어 처리하는 동작; 및
상기 복수 개의 텍스트 메시지 각각에 대한 자연어 처리 결과를 이용하여, 상기 키워드를 생성하는 동작
을 포함하는 전자 장치의 제어 방법.
The method according to claim 1,
The operation of acquiring the keyword includes:
Processing each of the plurality of text messages in a natural language; And
Generating the keyword using the natural language processing result for each of the plurality of text messages;
And controlling the electronic device.
제 3 항에 있어서,
상기 복수 개의 텍스트 메시지 각각에 대한 자연어 처리 결과를 이용하여, 상기 키워드를 생성하는 동작은,
기설정된 템플릿과, 상기 자연어 처리 결과를 비교하는 동작; 및
상기 비교 결과에 기초하여, 상기 키워드를 생성하는 동작
을 포함하는 전자 장치의 제어 방법.
The method of claim 3,
Wherein the generating of the keyword using the natural language processing result for each of the plurality of text messages comprises:
Comparing the natural language processing result with a predetermined template; And
Based on the comparison result, generating the keyword
And controlling the electronic device.
제 3 항에 있어서,
상기 복수 개의 텍스트 메시지 각각에 대한 자연어 처리 결과를 이용하여, 상기 키워드를 생성하는 동작은,
상기 자연어 처리 결과에 대하여 머신 러닝(machine learning) 또는 딥 러닝(deep learning) 알고리즘을 적용하는 동작;
상기 적용 결과에 기초하여, 상기 복수 개의 텍스트 메시지 각각의 의도를 판단하는 동작; 및
상기 복수 개의 텍스트 메시지 각각의 의도에 기초하여, 상기 키워드를 생성하는 동작
을 포함하는 전자 장치의 제어 방법.
The method of claim 3,
Wherein the generating of the keyword using the natural language processing result for each of the plurality of text messages comprises:
Applying a machine learning or deep learning algorithm to the natural language processing result;
Determining an intention of each of the plurality of text messages based on the application result; And
Generating the keyword based on the intention of each of the plurality of text messages;
And controlling the electronic device.
제 1 항에 있어서,
상기 복수 개의 텍스트 메시지를 획득하는 동작은,
제 1 기간 동안에 복수 개의 제 1 텍스트 메시지를 획득하는 동작; 및
제 2 기간 동안에 복수 개의 제 2 텍스트 메시지를 획득하는 동작
을 포함하는 전자 장치의 제어 방법.
The method according to claim 1,
Wherein the obtaining of the plurality of text messages comprises:
Obtaining a plurality of first text messages during a first period of time; And
Obtaining a plurality of second text messages during a second period of time;
And controlling the electronic device.
제 6 항에 있어서,
상기 키워드를 획득하는 동작은,
상기 복수 개의 제 1 텍스트 메시지에 대응하는 제 1 키워드를 생성하는 동작; 및
상기 복수 개의 제 2 텍스트 메시지에 대응하는 제 2 키워드를 생성하는 동작
을 포함하는 전자 장치의 제어 방법.
The method according to claim 6,
The operation of acquiring the keyword includes:
Generating a first keyword corresponding to the plurality of first text messages; And
Generating a second keyword corresponding to the plurality of second text messages
And controlling the electronic device.
제 7 항에 있어서,
상기 제 2 키워드를 생성하는 동작은,
상기 복수 개의 제 2 텍스트 메시지의 분석 결과와, 상기 제 1 키워드 및 상기 복수 개의 제 1 텍스트 메시지 중 적어도 하나를 이용하여, 상기 제 2 키워드를 생성하는 전자 장치의 제어 방법.
8. The method of claim 7,
Wherein the generating of the second keyword comprises:
And generates the second keyword by using at least one of the analysis result of the plurality of second text messages and the first keyword and the plurality of first text messages.
제 1 항에 있어서,
추가 정보를 획득하는 동작
을 더 포함하고,
상기 키워드를 생성하는 동작은,
상기 복수 개의 텍스트 메시지의 분석 결과 및 상기 추가 정보를 이용하여, 상기 키워드를 생성하는 전자 장치의 제어 방법.
The method according to claim 1,
Obtaining additional information
Further comprising:
The operation of generating the keyword includes:
And generating the keyword by using the analysis result of the plurality of text messages and the additional information.
제 9 항에 있어서,
상기 추가 정보를 획득하는 동작은,
상기 복수 개의 텍스트 메시지의 분석 결과와 연관된 추가 정보를 획득하거나 또는 상기 복수 개의 텍스트 메시지로부터 독립적인 추가 정보를 획득하는 전자 장치의 제어 방법.
10. The method of claim 9,
The operation for obtaining the additional information includes:
Obtaining additional information associated with an analysis result of the plurality of text messages, or obtaining additional information independent of the plurality of text messages.
제 1 항에 있어서,
상기 복수 개의 텍스트 메시지를 획득하는 동작은,
복수 개의 사용자 음성을 획득하는 동작; 및
상기 복수 개의 사용자 음성 각각을 변환하여, 상기 복수 개의 텍스트 메시지를 획득하는 동작
을 포함하는 전자 장치의 제어 방법.
The method according to claim 1,
Wherein the obtaining of the plurality of text messages comprises:
Obtaining a plurality of user voices; And
Converting each of the plurality of user's voices and acquiring the plurality of text messages
And controlling the electronic device.
전자 장치에 있어서,
통신 모듈;
상기 통신 모듈에 전기적으로 연결되는 프로세서; 및
상기 프로세서에 전기적으로 연결되는 메모리
를 포함하고,
상기 메모리는, 실행시에 상기 프로세서가,
복수 개의 텍스트 메시지를 획득하고,
상기 복수 개의 텍스트 메시지 각각을 분석하여, 상기 복수 개의 텍스트 메시지에 대응하는 키워드를 획득하고,
상기 키워드를 포함한 쿼리를 상기 통신 모듈을 이용하여 송신하고,
상기 키워드 분석 결과를 수신하여, 상기 수신된 키워드 분석 결과에 대응하는 동작을 수행하는 인스트럭션을 저장하는 전자 장치.
In an electronic device,
Communication module;
A processor electrically connected to the communication module; And
A memory electrically coupled to the processor,
Lt; / RTI >
Wherein the memory, upon execution,
Acquiring a plurality of text messages,
Analyzing each of the plurality of text messages, obtaining a keyword corresponding to the plurality of text messages,
Transmitting a query including the keyword using the communication module,
And stores the instruction for receiving the keyword analysis result and performing an operation corresponding to the received keyword analysis result.
제 12 항에 있어서,
상기 메모리는, 실행시에 상기 프로세서가,
키워드 분석을 수행하는 수신자와 관련된 수신자 정보를 획득하고,
상기 쿼리를 송신하는 동작은, 상기 키워드 및 상기 수신자 정보를 포함한 상기 쿼리를 상기 통신 모듈을 이용하여 송신하는 인스트럭션을 저장하고,
상기 키워드 분석 결과는, 상기 수신자 정보에 대응하는 전자 장치에 의하여 수행되는 전자 장치.
13. The method of claim 12,
Wherein the memory, upon execution,
Acquiring recipient information related to a recipient performing keyword analysis,
The transmitting of the query may include storing an instruction to transmit the query including the keyword and the recipient information using the communication module,
Wherein the keyword analysis result is performed by an electronic device corresponding to the recipient information.
제 12 항에 있어서,
상기 메모리는, 실행시에 상기 프로세서가,
상기 복수 개의 텍스트 메시지 각각을 자연어 처리하고,
상기 복수 개의 텍스트 메시지 각각에 대한 자연어 처리 결과를 이용하여, 상기 키워드를 생성하는 인스트럭션을 저장하는 전자 장치.
13. The method of claim 12,
Wherein the memory, upon execution,
Processing each of the plurality of text messages in a natural language,
And stores the instruction to generate the keyword using the natural language processing result for each of the plurality of text messages.
제 14 항에 있어서,
상기 메모리는, 실행시에 상기 프로세서가,
기설정된 템플릿과, 상기 자연어 처리 결과를 비교하고,
상기 비교 결과에 기초하여, 상기 키워드를 생성하는 인스트럭션을 저장하는 전자 장치.
15. The method of claim 14,
Wherein the memory, upon execution,
Comparing the natural language processing result with a preset template,
And an instruction for generating the keyword based on the comparison result.
제 14 항에 있어서,
상기 메모리는, 실행시에 상기 프로세서가,
상기 자연어 처리 결과에 대하여 머신 러닝(machine learning) 또는 딥 러닝(deep learning) 알고리즘을 적용하고,
상기 적용 결과에 기초하여, 상기 복수 개의 텍스트 메시지 각각의 의도를 판단하고,
상기 복수 개의 텍스트 메시지 각각의 의도에 기초하여, 상기 키워드를 생성하는 인스트럭션을 저장하는 전자 장치.
15. The method of claim 14,
Wherein the memory, upon execution,
A machine learning or a deep learning algorithm is applied to the natural language processing result,
Determining an intention of each of the plurality of text messages based on the application result,
And store the instructions to generate the keyword based on the intent of each of the plurality of text messages.
제 12 항에 있어서,
상기 메모리는, 실행시에 상기 프로세서가,
제 1 기간 동안에 복수 개의 제 1 텍스트 메시지를 획득하고,
제 2 기간 동안에 복수 개의 제 2 텍스트 메시지를 획득하는 인스트럭션을 저장하는 전자 장치.
13. The method of claim 12,
Wherein the memory, upon execution,
Obtaining a plurality of first text messages during a first period,
And to acquire a plurality of second text messages during a second period of time.
제 17 항에 있어서,
상기 메모리는, 실행시에 상기 프로세서가,
상기 복수 개의 제 1 텍스트 메시지에 대응하는 제 1 키워드를 생성하고,
상기 복수 개의 제 2 텍스트 메시지에 대응하는 제 2 키워드를 생성하는 인스트럭션을 저장하는 전자 장치.
18. The method of claim 17,
Wherein the memory, upon execution,
Generating a first keyword corresponding to the plurality of first text messages,
And generate a second keyword corresponding to the plurality of second text messages.
제 18 항에 있어서,
상기 메모리는, 실행시에 상기 프로세서가,
상기 복수 개의 제 2 텍스트 메시지의 분석 결과와, 상기 제 1 키워드 및 상기 복수 개의 제 1 텍스트 메시지 중 적어도 하나를 이용하여, 상기 제 2 키워드를 생성하는 인스트럭션을 저장하는 전자 장치.
19. The method of claim 18,
Wherein the memory, upon execution,
And stores the instruction to generate the second keyword using at least one of the analysis result of the plurality of second text messages and the first keyword and the plurality of first text messages.
제 12 항에 있어서,
상기 메모리는, 실행시에 상기 프로세서가,
추가 정보를 획득하고,
상기 복수 개의 텍스트 메시지의 분석 결과 및 상기 추가 정보를 이용하여, 상기 키워드를 생성하는 인스트럭션을 저장하는 전자 장치.
13. The method of claim 12,
Wherein the memory, upon execution,
Obtain additional information,
And stores the instruction to generate the keyword using the analysis result of the plurality of text messages and the additional information.
제 20 항에 있어서,
상기 메모리는, 실행시에 상기 프로세서가,
상기 복수 개의 텍스트 메시지의 분석 결과와 연관된 추가 정보를 획득하거나 또는 상기 복수 개의 텍스트 메시지로부터 독립적인 추가 정보를 획득하는 인스트럭션을 저장하는 전자 장치.
21. The method of claim 20,
Wherein the memory, upon execution,
To obtain additional information associated with an analysis result of the plurality of text messages or to obtain additional information independent of the plurality of text messages.
제 12 항에 있어서,
복수 개의 사용자 음성을 획득하는 마이크
를 더 포함하며,
상기 메모리는, 실행시에 상기 프로세서가,
상기 마이크에서 획득된 상기 복수 개의 사용자 음성 각각을 변환하여, 상기 복수 개의 텍스트 메시지를 획득하는 인스트럭션을 저장하는 전자 장치.
13. The method of claim 12,
A microphone for acquiring a plurality of user voices
Further comprising:
Wherein the memory, upon execution,
And converting each of the plurality of user voices acquired at the microphone to obtain the plurality of text messages.
전자 장치의 제어 방법에 있어서,
상기 전자 장치에서 실행되는 채팅 어플리케이션의 실행 화면을 표시하는 동작;
상기 전자 장치로 입력되거나 또는 다른 전자 장치로부터 수신되는 복수 개의 텍스트 메시지를 상기 채팅 어플리케이션의 실행 화면에 표시하는 동작;
상기 복수 개의 텍스트 메시지에 대한 분석 요청을 수신하는 동작;
상기 분석 요청이 수신되면, 상기 복수 개의 텍스트 메시지에 대응하는 키워드를 송신하는 동작; 및
상기 키워드에 대한 분석 결과를 수신하여, 상기 채팅 어플리케이션 창에 상기 수신된 키워드에 대한 분석 결과를 표시하는 동작
을 포함하는 전자 장치의 제어 방법.
A method of controlling an electronic device,
Displaying an execution screen of a chat application executed in the electronic device;
Displaying on the execution screen of the chat application a plurality of text messages input to or received from the electronic device;
Receiving an analysis request for the plurality of text messages;
Transmitting the keyword corresponding to the plurality of text messages when the analysis request is received; And
Receiving an analysis result of the keyword, and displaying an analysis result on the received keyword in the chat application window
And controlling the electronic device.
전자 장치에 있어서,
통신 모듈;
상기 전자 장치에서 실행되는 채팅 어플리케이션의 실행 화면을 표시하는 디스플레이;
상기 디스플레이에 전기적으로 연결된 프로세서; 및
상기 프로세서에 전기적으로 연결된 메모리
를 포함하고,
상기 메모리는, 실행시에 상기 프로세서가,
상기 전자 장치로 입력되거나 또는 다른 전자 장치로부터 수신되는 복수 개의 텍스트 메시지를 상기 채팅 어플리케이션의 실행 화면에 표시하도록 제어하고,
상기 복수 개의 텍스트 메시지에 대한 분석 요청을 수신하고,
상기 분석 요청이 수신되면, 상기 복수 개의 텍스트 메시지에 대응하는 키워드를, 상기 통신 모듈을 이용하여 송신하도록 제어하고,
상기 키워드에 대한 분석 결과를 수신하여, 상기 채팅 어플리케이션 창에 상기 수신된 키워드에 대한 분석 결과를 표시하도록 제어하는 인스트럭션을 저장하는 전자 장치.
In an electronic device,
Communication module;
A display for displaying an execution screen of a chat application executed in the electronic device;
A processor electrically coupled to the display; And
A memory electrically coupled to the processor,
Lt; / RTI >
Wherein the memory, upon execution,
Control to display a plurality of text messages input to the electronic device or received from another electronic device on an execution screen of the chat application,
Receiving an analysis request for the plurality of text messages,
And controlling, when the analysis request is received, to transmit a keyword corresponding to the plurality of text messages using the communication module,
And an instruction to receive an analysis result of the keyword and to display an analysis result of the received keyword in the chat application window.
복수 개의 텍스트 메시지를 획득하는 동작;
상기 복수 개의 텍스트 메시지 각각을 분석하여, 상기 복수 개의 텍스트 메시지에 대응하는 키워드를 획득하는 동작; 및
상기 키워드에 대응하는 동작을 수행하는 동작
을 포함하는 전자 장치의 제어 방법.
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
An operation to perform an operation corresponding to the keyword
And controlling the electronic device.
전자 장치에 있어서,
프로세서; 및
상기 프로세서에 전기적으로 연결되는 메모리
를 포함하고,
상기 메모리는, 실행시에 상기 프로세서가,
복수 개의 텍스트 메시지를 획득하고,
상기 복수 개의 텍스트 메시지 각각을 분석하여, 상기 복수 개의 텍스트 메시지에 대응하는 키워드를 획득하고,
상기 키워드에 대응하는 동작을 수행하는 인스트럭션을 저장하는 전자 장치.
In an electronic device,
A processor; And
A memory electrically coupled to the processor,
Lt; / RTI >
Wherein the memory, upon execution,
Acquiring a plurality of text messages,
Analyzing each of the plurality of text messages, obtaining a keyword corresponding to the plurality of text messages,
And stores an instruction to perform an operation corresponding to the keyword.
전자 장치의 제어 방법에 있어서,
상기 전자 장치에서 실행되는 채팅 어플리케이션의 실행 화면을 디스플레이부에 표시하는 동작;
통신부를 통해 다른 전자 장치로부터 수신되는 복수 개의 텍스트 메시지 및 상기 전자 장치의 입력부를 통해 입력되는 복수 개의 텍스트 메시지를 상기 실행 화면에 표시하는 동작;
상기 실행 화면에 표시되는 복수 개의 텍스트 메시지 중 적어도 하나에 기초하여 정보를 제공 할 수 있는 외부 장치를 결정하는 동작;
상기 결정된 외부 장치로부터 정보를 수신하는 동작; 및
상기 수신된 정보를 상기 디스플레이부에 표시하는 동작;을 포함하는 전자 장치의 제어 방법.
A method of controlling an electronic device,
Displaying an execution screen of a chat application executed in the electronic device on a 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 a plurality of text messages displayed on the execution screen;
Receiving information from the determined external device; And
And displaying the received information on the display unit.
제 27 항에 있어서,
상기 실행 화면에 표시되는 복수 개의 텍스트 메시지 및 상기 수신된 정보는 시간 순으로 정렬되어 상기 실행 화면에 표시되는 것을 특징으로 하는 전자 장치의 제어 방법.
28. The method of claim 27,
Wherein the plurality of text messages displayed on the execution screen and the received information are arranged in chronological order and displayed on the execution screen.
제 27 항에 있어서,
상기 실행 화면에는,
사용자 입력을 수신할 수 있는 UI 엘리먼트가 표시되는 것을 특징으로 하는 전자 장치의 제어 방법.


28. The method of claim 27,
In the execution screen,
A UI element capable of receiving user input is displayed.


KR1020160107179A2015-11-242016-08-23Electronic device and method for controlling thereofActiveKR102804046B1 (en)

Priority Applications (4)

Application NumberPriority DateFiling DateTitle
PCT/KR2016/013471WO2017090954A1 (en)2015-11-242016-11-22Electronic device and operating method thereof
EP16868850.5AEP3338204A4 (en)2015-11-242016-11-22Electronic device and operating method thereof
CN201680064363.9ACN108351890B (en)2015-11-242016-11-22 Electronic device and method of operating the same
US15/360,102US20170147919A1 (en)2015-11-242016-11-23Electronic device and operating method thereof

Applications Claiming Priority (2)

Application NumberPriority DateFiling DateTitle
KR201501650702015-11-24
KR10201501650702015-11-24

Publications (2)

Publication NumberPublication Date
KR20170060567Atrue KR20170060567A (en)2017-06-01
KR102804046B1 KR102804046B1 (en)2025-05-12

Family

ID=59221764

Family Applications (1)

Application NumberTitlePriority DateFiling Date
KR1020160107179AActiveKR102804046B1 (en)2015-11-242016-08-23Electronic device and method for controlling thereof

Country Status (2)

CountryLink
EP (1)EP3338204A4 (en)
KR (1)KR102804046B1 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR20200016636A (en)*2018-08-072020-02-17삼성전자주식회사Electronic device for performing task including call in response to user utterance and method for operation thereof
KR20210138266A (en)*2020-05-122021-11-19인하대학교 산학협력단A method for extracting keywords from texts based on deep learning
WO2023058982A1 (en)*2021-10-082023-04-13삼성전자주식회사Electronic device and method for controlling same
US11636022B2 (en)2019-04-162023-04-25Samsung Electronics Co., Ltd.Server and control method thereof
US12231254B2 (en)2019-01-232025-02-18Samsung Electronics Co., Ltd.Server, terminal device, and method for home appliance management thereby
WO2025089589A1 (en)*2023-10-242025-05-01삼성전자주식회사Electronic device and user speech processing method therefor

Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20070050191A1 (en)*2005-08-292007-03-01Voicebox Technologies, Inc.Mobile systems and methods of supporting natural language human-machine interactions
US20130185081A1 (en)*2010-01-182013-07-18Apple Inc.Maintaining Context Information Between User Interactions with a Voice Assistant
US20150019217A1 (en)*2005-08-052015-01-15Voicebox Technologies CorporationSystems and methods for responding to natural language speech utterance

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20110320273A1 (en)*2010-06-242011-12-29Microsoft CorporationServing content based on conversations
US9760566B2 (en)*2011-03-312017-09-12Microsoft Technology Licensing, LlcAugmented conversational understanding agent to identify conversation context between two humans and taking an agent action thereof
DE112014002747T5 (en)*2013-06-092016-03-03Apple Inc. Apparatus, method and graphical user interface for enabling conversation persistence over two or more instances of a digital assistant

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US20150019217A1 (en)*2005-08-052015-01-15Voicebox Technologies CorporationSystems and methods for responding to natural language speech utterance
US20070050191A1 (en)*2005-08-292007-03-01Voicebox Technologies, Inc.Mobile systems and methods of supporting natural language human-machine interactions
US20130185081A1 (en)*2010-01-182013-07-18Apple Inc.Maintaining Context Information Between User Interactions with a Voice Assistant

Cited By (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR20200016636A (en)*2018-08-072020-02-17삼성전자주식회사Electronic device for performing task including call in response to user utterance and method for operation thereof
US12231254B2 (en)2019-01-232025-02-18Samsung Electronics Co., Ltd.Server, terminal device, and method for home appliance management thereby
US11636022B2 (en)2019-04-162023-04-25Samsung Electronics Co., Ltd.Server and control method thereof
KR20210138266A (en)*2020-05-122021-11-19인하대학교 산학협력단A method for extracting keywords from texts based on deep learning
WO2023058982A1 (en)*2021-10-082023-04-13삼성전자주식회사Electronic device and method for controlling same
US11880654B2 (en)2021-10-082024-01-23Samsung Electronics Co., Ltd.Acquiring event information from a plurality of texts
WO2025089589A1 (en)*2023-10-242025-05-01삼성전자주식회사Electronic device and user speech processing method therefor

Also Published As

Publication numberPublication date
EP3338204A1 (en)2018-06-27
KR102804046B1 (en)2025-05-12
EP3338204A4 (en)2018-06-27

Similar Documents

PublicationPublication DateTitle
CN108351890B (en) Electronic device and method of operating the same
KR102584184B1 (en)Electronic device and method for controlling thereof
KR102453603B1 (en)Electronic device and method for controlling thereof
CN107637025B (en)Electronic device for outputting message and control method thereof
US20190355365A1 (en)Electronic device and method of operation thereof
KR102379171B1 (en)Electronic device and method for displaying picture thereof
KR102560635B1 (en)Content recognition device and method for controlling thereof
KR20160071732A (en)Method and apparatus for processing voice input
KR20180022021A (en)Method and electronic device for recognizing voice
KR102804046B1 (en)Electronic device and method for controlling thereof
KR102447907B1 (en) Electronic device and method for providing a recommendation object
KR20170059201A (en)Electronic device and content ouputting method thereof
KR102761645B1 (en)Electronic apparatus for providing a voice recognition control and method thereof
KR20180109465A (en)Electronic device and method for screen controlling for processing user input using the same
US10034151B2 (en)Method for providing point of interest and electronic device thereof
KR20190018886A (en)Method for performing voice recognition and electronic device using the same
KR20170011571A (en)Electronic Device Based On Optical Object Recognition AND Method For Operating The Same
KR20170065904A (en)Method for pre-loading content and electronic device supporting the same
US10810058B2 (en)Method for providing content to user according to user's preference and electronic device therefor
KR102449543B1 (en)Electronic device and method for obtaining user information in electronic device
KR20170087799A (en)Electronic device and method for controlling thereof
US20170195862A1 (en)Apparatus and method for providing function of electronic device corresponding to location
KR102354729B1 (en)Method for contacts management of electronic device and electronic device thereof
KR20170022249A (en)Apparatus and method for providing information of electronic device
KR102192375B1 (en)Server for providing website related to shopping mall and method for operation thereof

Legal Events

DateCodeTitleDescription
PA0109Patent application

Patent event code:PA01091R01D

Comment text:Patent Application

Patent event date:20160823

PG1501Laying open of application
A201Request for examination
PA0201Request 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

E902Notification of reason for refusal
PE0902Notice of grounds for rejection

Comment text:Notification of reason for refusal

Patent event date:20240710

Patent event code:PE09021S01D

E701Decision to grant or registration of patent right
PE0701Decision of registration

Patent event code:PE07011S01D

Comment text:Decision to Grant Registration

Patent event date:20250327

PG1601Publication of registration

[8]ページ先頭

©2009-2025 Movatter.jp