KR20180116731A - Device for performing a task corresponding to user utterance - Google Patents

Device for performing a task corresponding to user utterance Download PDF

Info

Publication number
KR20180116731A
KR20180116731A KR1020170090581A KR20170090581A KR20180116731A KR 20180116731 A KR20180116731 A KR 20180116731A KR 1020170090581 A KR1020170090581 A KR 1020170090581A KR 20170090581 A KR20170090581 A KR 20170090581A KR 20180116731 A KR20180116731 A KR 20180116731A
Authority
KR
South Korea
Prior art keywords
user
utterance
sample
processor
electronic device
Prior art date
Application number
KR1020170090581A
Other languages
Korean (ko)
Other versions
KR102402224B1 (en
Inventor
우경구
김규영
박현진
이인종
권우업
장동호
Original Assignee
삼성전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to US15/866,119 priority Critical patent/US11170768B2/en
Priority to CN201810293716.3A priority patent/CN108735204B/en
Priority to EP18167798.0A priority patent/EP3392877B1/en
Publication of KR20180116731A publication Critical patent/KR20180116731A/en
Application granted granted Critical
Publication of KR102402224B1 publication Critical patent/KR102402224B1/en

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/04Segmentation; Word boundary detection
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/16Sound input; Sound output
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/28Constructional details of speech recognition systems
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/225Feedback of the input speech

Abstract

The present invention relates to an electronic device performing a task corresponding to user′s utterance. According to an embodiment of the present invention, the electronic device comprises: a housing; a touch screen display which is arranged in the housing and is exposed through a first portion of the housing; a microphone which is arranged in the housing and is exposed through a second portion of the housing; at least one speaker which is arranged in the housing and is exposed through a third portion of the housing; a wireless communication circuit arranged in the housing; a processor which is arranged in the housing and is electrically connected to the touch screen display, the microphone, the speaker, and the wireless communication circuit; and a memory which is arranged in the housing and is electrically connected to the processor. In the present invention, provided is the electronic device performing a task in accordance with user′s intent when ambiguous user utterance is received.

Description

사용자 발화에 대응하는 태스크를 수행하는 전자 장치{Device for performing a task corresponding to user utterance}[0001] The present invention relates to an electronic device for performing a task corresponding to a user's utterance,

본 문서에서 개시되는 실시 예들은, 사용자 발화에 대응하는 태스크를 수행하는 기술과 관련된다.The embodiments disclosed herein relate to techniques for performing tasks corresponding to user utterances.

키보드나 마우스를 이용한 전통적인 입력 방식에 부가하여, 최근의 전자 장치들은 음성 입력과 같은 다양한 입력 방식을 지원할 수 있다. 예를 들어, 스마트폰이나 태블릿과 같은 전자 장치들은 음성 인식 서비스가 실행된 상태에서 입력되는 사용자의 음성을 인식하고, 음성 입력에 대응되는 동작을 실행하거나 검색 결과를 제공할 수 있다.In addition to traditional input methods using a keyboard or a mouse, modern electronic devices can support a variety of input methods such as voice input. For example, electronic devices such as a smart phone or a tablet may recognize a user's voice input while the voice recognition service is running, perform an action corresponding to the voice input, or provide search results.

근래 음성 인식 서비스는 자연어를 처리하는 기술을 기반으로 발전하고 있다. 자연어를 처리하는 기술은 사용자 발화의 의도를 파악하고, 의도에 맞는 결과를 사용자에게 제공하는 기술이다.Recently, speech recognition service has been developed based on technology for processing natural language. The technology for processing natural language is a technique for grasping the intention of user utterance and providing the user with an intentional result.

음성 인식 서비스는 사용자 발화를 이용하여 하나의 태스크만을 제안할 수 있다. 이에 따라, 기존의 서비스는 모호한 사용자 발화를 이용하는 경우, 사용자의 의도에 부합하지 않는 태스크를 제안하여 사용자에게 불편을 초래한다.The speech recognition service can suggest only one task using user utterance. Accordingly, when an existing service uses an ambiguous user utterance, it proposes a task that does not match the intention of the user, thereby inconveniencing the user.

본 발명의 다양한 실시 예들은 모호한 사용자 발화가 수신된 경우, 사용자의 의도에 부합하는 태스크를 수행하는 전자 장치를 제안하고자 한다.Various embodiments of the present invention seek to propose an electronic device that performs tasks that are consistent with a user's intent when ambiguous user utterances are received.

본 문서에 개시되는 일 실시 예에 따른 전자 장치는, 하우징; 상기 하우징 내에 배치되고, 상기 하우징의 제1 부분을 통해 노출된 터치스크린 디스플레이; 상기 하우징 내에 배치되고 상기 하우징의 제2 부분을 통해 노출된 마이크로폰; 상기 하우징 내에 배치되고 상기 하우징의 제3 부분을 토해 노출된 적어도 하나의 스피커; 상기 하우징 내에 배치된 무선 통신 회로; 상기 하우징 내에 배치되고, 상기 터치스크린 디스플레이, 상기 마이크로폰, 상기 적어도 하나의 스피커 및 상기 무선 통신 회로와 전기적으로 연결된 프로세서; 및 상기 하우징 내에 배치되고 상기 프로세서와 전기적으로 연결된 메모리를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가, 제1 예에서, 상기 마이크로폰을 통해 제1 사용자 발화를 수신하고, 상기 제1 사용자 발화는 상기 전자 장치와 제1 태스크를 수행하기 위한 제1 요청을 포함하고, 상기 무선 통신 회로를 통해 외부 서버로 상기 제1 사용자 발화와 관련된 제1 데이터를 전송하고, 상기 무선 통신 회로를 통해 상기 외부 서버로부터 제1 응답을 수신하고, 상기 제1 응답은 상기 제1 태스크를 수행하기 위한 상기 전자 장치의 제1 스테이트들의 시퀀스들에 대한 정보를 포함하고, 상기 전자 장치가 제1 스테이트들의 시퀀스들을 갖도록 함으로써 상기 제 1 태스크를 수행하도록 하고, 제2 예에서, 상기 마이크로폰을 통해 제2 사용자 발화를 수신하고, 상기 제2 사용자 발화는 상기 전자 장치와 제2 태스크를 수행하기 위한 제2 요청을 포함하고, 상기 무선 통신 회로를 통해 상기 외부 서버로 상기 제2 사용자 발화와 관련된 제2 데이터를 전송하고, 상기 무선 통신 회로를 통해 상기 외부 서버로부터 제2 응답을 수신하고, 상기 제2 응답은 상기 사용자 발화의 의도를 나타내는 적어도 하나의 샘플 발화를 포함하고, 상기 적어도 하나의 샘플 발화는 상기 제2 사용자 발화에 기반하여 상기 외부 서버에 의해 선택되고, 상기 터치스크린 디스플레이에 상기 적어도 하나의 샘플 발화를 표시하고, 상기 마이크로폰 또는 상기 터치스크린 디스플레이를 통해 상기 적어도 하나의 샘플 발화 중 하나를 선택하기 위한 제1 사용자 입력을 수신하고, 상기 전자 장치가 상기 적어도 하나의 샘플 발화 중 상기 선택된 하나와 관련된 제2 스테이트들의 시퀀스를 갖도록 함으로써 상기 제2 태스크를 수행하도록 하는, 인스트럭션들을 저장할 수 있다.An electronic device according to an embodiment disclosed in this document includes a housing; A touch screen display disposed within the housing and exposed through a first portion of the housing; A microphone disposed within the housing and exposed through a second portion of the housing; At least one speaker disposed within the housing and exposed to a third portion of the housing; A wireless communication circuit disposed within the housing; A processor disposed within the housing and electrically coupled to the touch screen display, the microphone, the at least one speaker, and the wireless communication circuitry; And a memory disposed in the housing and electrically coupled to the processor, wherein the memory, in execution, causes the processor to receive, in a first example, a first user utterance via the microphone, Wherein said first request comprises a first request to perform said first task with said electronic device and transmits first data associated with said first user utterance to an external server via said wireless communication circuit, Receiving a first response from an external server, the first response including information about sequences of first states of the electronic device for performing the first task, and wherein the electronic device is operable to receive sequences of first states To perform the first task, and in a second example, to receive a second user utterance via the microphone Wherein the second user utterance includes a second request to perform the second task with the electronic device and transmits second data associated with the second user utterance to the external server via the wireless communication circuit, Receiving a second response from the external server via a wireless communication circuit, the second response including at least one sample speech indicating the intent of the user utterance, and the at least one sample speech being associated with the second user utterance For displaying the at least one sample speech on the touch screen display and for selecting one of the at least one sample speech through the microphone or the touch screen display, Wherein the electronic device is adapted to receive the selected one of the at least one sample speech To perform the second task by having a sequence of second states associated with the second task.

또한, 본 문서에 개시되는 일 실시 예에 따른 전자 장치는, 하우징; 상기 하우징 내에 배치되고, 상기 하우징의 제1 부분을 통해 노출된 터치스크린 디스플레이; 상기 하우징 내에 배치되고 상기 하우징의 제2 부분을 통해 노출된 마이크로폰; 상기 하우징 내에 배치되고 상기 하우징의 제3 부분을 토해 노출된 적어도 하나의 스피커; 상기 하우징 내에 배치된 무선 통신 회로; 상기 하우징 내에 배치되고, 상기 터치스크린 디스플레이, 상기 마이크로폰, 상기 적어도 하나의 스피커 및 상기 무선 통신 회로와 전기적으로 연결된 프로세서; 및 상기 하우징 내에 배치되고 상기 프로세서와 전기적으로 연결된 메모리를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가,, 상기 마이크로폰을 통해 사용자 발화를 수신하고, 상기 사용자 발화는 상기 전자 장치와 태스크를 수행하기 위한 요청을 포함하고, 상기 무선 통신 회로를 통해 외부 서버로 상기 사용자 발화와 관련된 데이터를 전송하고, 상기 무선 통신 회로를 통해 상기 외부 서버로부터 응답을 수신하고, 상기 응답은 복수의 샘플 발화를 포함하고, 상기 복수의 샘플 발화는 제1 패스 룰에 대응하는 제1 샘플 발화 및 제2 패스 룰에 대응하는 제2 샘플 발화를 포함하고, 상기 제1 패스 룰 및 상기 제2 패스 룰은 상기 사용자 발화와 관련된 데이터에 기반하여 상기 외부 서버에 의해 생성되고, 상기 터치스크린 디스플레이에 상기 적어도 하나의 샘플 발화를 표시하고, 상기 마이크로폰 또는 상기 터치스크린 디스플레이를 통해 상기 적어도 하나의 샘플 발화 중 하나를 선택하기 위한 제1 사용자 입력을 수신하고, 상기 전자 장치가 상기 적어도 하나의 샘플 발화 중 선택된 하나와 관련된 스테이트들의 시퀀스를 갖도록 함으로써 상기 태스크를 수행하도록 하는, 인스트럭션들을 저장할 수 있다.Further, an electronic device according to an embodiment disclosed in this document includes: a housing; A touch screen display disposed within the housing and exposed through a first portion of the housing; A microphone disposed within the housing and exposed through a second portion of the housing; At least one speaker disposed within the housing and exposed to a third portion of the housing; A wireless communication circuit disposed within the housing; A processor disposed within the housing and electrically coupled to the touch screen display, the microphone, the at least one speaker, and the wireless communication circuitry; And a memory disposed in the housing and electrically coupled to the processor, wherein the memory, in execution, causes the processor to receive a user utterance through the microphone, The method comprising: sending a request for performing a user utterance to the external server via the wireless communication circuit; receiving a response from the external server via the wireless communication circuit; Wherein the plurality of sample utterances comprises a first sample utterance corresponding to a first pass rule and a second sample utterance corresponding to a second pass rule, Wherein the touch screen display is generated by the external server based on data associated with an utterance, Receiving a first user input for selecting one of the at least one sample speech via the microphone or the touch screen display and the electronic device displaying a selected one of the at least one sample speech And to have the task have a sequence of states associated with it.

또한, 본 문서에 개시되는 일 실시 예에 따른 저장 매체는 컴퓨터 판독 가능한 명령어들을 저장하는 저장 매체에 있어서, 상기 명령어들은 전자 장치의 프로세서에 의해 실행될 때, 상기 전자 장치로 하여금, 사용자 발화를 수신하는 동작, 상기 사용자 발화는 상기 전자 장치와 태스크를 수행하기 위한 요청을 포함하고, 외부 서버로 상기 사용자 발화와 관련된 데이터를 전송하는 동작, 상기 외부 서버로부터 응답을 수신하는 동작, 상기 응답은 상기 사용자 발화의 의도를 나타내는 적어도 하나의 샘플 발화를 포함하고, 상기 적어도 하나의 샘플 발화는 상기 사용자 발화에 기반하여 상기 외부 서버에 의해 선택되고, 상기 적어도 하나의 샘플 발화를 표시하는 동작, 상기 적어도 하나의 샘플 발화 중 하나를 선택하기 위한 제1 사용자 입력을 수신하는 동작, 및 상기 전자 장치가 상기 적어도 하나의 샘플 발화 중 선택된 하나와 관련된 스테이트들의 시퀀스를 갖도록 함으로써 상기 태스크를 수행하는 동작을 수행하도록 할 수 있다.Also, a storage medium according to one embodiment disclosed herein is a storage medium storing computer-readable instructions, which when executed by a processor of an electronic device causes the electronic device to receive a user utterance Wherein the user utterance comprises a request to perform a task with the electronic device, the method comprising: sending data associated with the user utterance to an external server; receiving a response from the external server; Wherein the at least one sample utterance is selected by the external server based on the user utterance and displaying the at least one sample utterance, the at least one sample utterance indicating the at least one sample A first user input for selecting one of the utterances; And performing the task by causing the electronic device to have a sequence of states associated with a selected one of the at least one sample utterances.

본 발명의 다양한 실시예에 따라, 모호한 사용자 발화로부터 사용자의 의도에 부합할 것으로 예상되는 태스크에 해당하는 후보군을 표시하고 후보를 선택하는 입력을 수신함으로써 사용자가 원하는 태스크를 실행할 수 있도록 할 수 있다.According to various embodiments of the present invention, it is possible to display a candidate group corresponding to a task expected to meet a user's intention from an ambiguous user utterance, and receive an input for selecting a candidate, thereby enabling a user to execute a desired task.

본 발명의 다양한 실시예에 따라, 사용자의 의도에 부합하는 태스크를 실행함으로써, 지능형 서비스에 대한 신뢰도를 향상시킬 수 있다.According to various embodiments of the present invention, the reliability of the intelligent service can be improved by executing a task that matches the intention of the user.

도 1은 본 발명의 다양한 실시 예에 따른 통합 지능화 시스템을 나타낸 도면이다.
도 2는 본 발명의 일 실시 예에 따른 통합 지능화 시스템의 사용자 단말을 나타낸 블록도이다.
도 3은 본 발명의 일 실시 예에 따른 사용자 단말의 지능형 앱을 실행시키는 것을 나타낸 도면이다.
도 4은 본 발명의 일 실시 예에 따른 통합 지능화 시스템의 지능형 서버를 나타낸 블록도이다.
도 5는 본 발명의 일 실시 예에 따른 패스 자연어 이해 모듈(natural language understanding)(NLU)이 패스 룰(path rule)을 생성하는 방법을 나타낸 도면이다.
도 6은 본 발명의 일 실시 예에 따른 프로세서의 컨텍스트 모듈이 현재 상태를 수집하는 것을 나타낸 도면이다.
도 7은 본 발명의 일 실시 예에 따른 페르소나 모듈(persona module)이 사용자의 정보를 관리하는 것을 나타낸 도면이다.
도 8은 일 실시 예에 따른 사용자 발화 요청에 기반하여 태스크를 수행하는 방법을 나타내는 흐름도이다.
도 9는 일 실시 예에 따른 지능형 서버의 자연어 이해 모듈을 나타낸 블록도이다.
도 10은 일 실시 예에 따른 패스 룰이 포함하는 동작을 나타낸다.
도 11a는 일 실시 예에 따른 갤러리 앱이 실행된 상태에서 사용자 발화가 입력된 것을 나타내는 도면이다.
도 11b는 일 실시 예에 따른 복수의 샘플 발화가 표시되는 화면을 나타내는 도면이다.
도 12는 일 실시 예에 따른 지능형 서버가 복수의 샘플 발화를 전송하는 방법을 나타내는 흐름도이다.
도 13은 일 실시 예에 따른 지능형 서버가 복수의 샘플 발화를 전송하는 방법을 나타내는 흐름도이다.
도 14a는 일 실시 예에 따른 갤러리 앱이 실행된 상태에서 사용자 발화가 입력된 것을 나타내는 도면이다.
도 14b는 일 실시 예에 따른 복수의 샘플 발화가 표시되는 화면을 나타내는 도면이다.
도 14c는 일 실시 예에 따른 선택된 샘플 발화와 관련된 정보가 표시되는 화면을 나타내는 도면이다.
도 14d는 일 실시 예에 따른 사용자의 의도가 입력되는 화면을 나타내는 도면이다
도 15는 일 실시 예에 따른 샘플 발화와 관련된 이미지가 더 표시되는 화면을 나타내는 도면이다.
도 16a는 일 실시 예에 따른 갤러리 앱이 실행된 상태에서 사용자 발화가 입력된 것을 나타내는 도면이다.
도 16b는 일 실시 예에 따른 결정된 순서에 따라 샘플 발화가 표시되는 화면을 나타내는 도면이다.
도 16c는 일 실시 예에 따른 우선 순위에 해당하는 샘플 발화와 관련된 이미지가 더 표시되는 화면을 나타내는 도면이다.
도 16d는 일 실시 예에 따른 결정된 순서에 따라 샘플 발화의 크기가 다르게 표시되는 화면을 나타내는 도면이다.
도 17은 일 실시 예에 따른 전자 장치가 패스 룰을 수행한 후, 피드백 입력을 수신하여 다른 패스 룰을 수행하는 방법을 나타낸 흐름도이다.
도 18은 일 실시 예에 따른 전자 장치가 피드백 입력을 수신하는 화면을 나타내는 도면이다.
도 19는 일 실시 예에 따른 나머지 패스 룰에 대응하는 샘플 발화가 표시되는 화면을 나타내는 도면이다.
도 20은 일 실시 예에 따른 전자 장치가 패스 룰을 수행한 후, 피드백 입력을 수신하여 다른 패스 룰을 수행하는 방법을 나타낸 흐름도이다.
도 21은 일 실시 예에 따른 전자 장치가 피드백 입력을 수신하는 화면을 나타내는 도면이다.
도 22a 및 도 22b는 일 실시 예에 따라 부정적 피드백이 수신된 경우, 전자 장치가 제공하는 기능과 관련된 UI가 표시된 화면을 나타낸다.
도 23a는 일 실시 예에 따른 수정 대상 텍스트가 표시된 화면을 나타낸다.
도 23b는 일 실시 예에 따른 수정 대상 텍스트가 수정된 화면을 나타낸다.
도 23c는 일 실시 예에 따른 사용자 발화에 해당하는 텍스트가 수정된 결과 화면을 나타낸다.
도 23d는 일 실시 예에 따른 사용자 발화에 해당하는 텍스트가 수정된 결과 및 수정된 텍스트에 대응하는 음성 모델을 업데이트 하기 위한 UI를 포함하는 화면을 나타낸다.
도 23e는 일 실시 예에 따른 네트워크 연결 실패에 따른 팝업 창을 포함하는 화면을 나타낸다.
도 24a는 일 실시 예에 따른 패스 룰을 검색하기 위한 화면을 나타낸다.
도 24b는 일 실시 예에 따른 검색어 입력에 따른 패스 룰 검색 결과 화면을 나타낸다.
도 24c는 일 실시 예에 따라 패스 룰이 선택된 후의 화면을 나타낸다.
도 25는 일 실시 예에 따른 사용자의 의도에 부합하지 않는 도메인이 선택됨을 피드백하기 위한 UI가 선택된 후의 화면을 나타낸다.
도 26은 일 실시 예에 따른 전자 장치 내에서 검색을 수행하기 위한 화면을 나타낸다.
도 27은 일 실시 예에 따른 인터넷에서 검색을 수행하기 위한 화면을 나타낸다.
도 28은 다양한 실시 예들에 따른 네트워크 환경 내의 전자 장치의 블록도 이다.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.
1 is a diagram of an integrated intelligence system in accordance with various embodiments of the present invention.
2 is a block diagram illustrating a user terminal of an integrated intelligent system according to an embodiment of the present invention.
FIG. 3 is a diagram illustrating execution of an intelligent app of a user terminal according to an embodiment of the present invention.
4 is a block diagram illustrating an intelligent server of an integrated intelligence system according to an embodiment of the present invention.
FIG. 5 is a diagram illustrating a method of generating a path rule by a natural language understanding (NLU) module according to an embodiment of the present invention.
Figure 6 is a diagram illustrating the context module of the processor collecting current status according to an embodiment of the present invention.
7 is a diagram illustrating that a persona module according to an embodiment of the present invention manages user information.
8 is a flowchart illustrating a method of performing a task based on a user utterance request according to one embodiment.
9 is a block diagram illustrating a natural language understanding module of an intelligent server according to an embodiment.
10 illustrates an operation that a pass rule according to an embodiment includes.
FIG. 11A is a diagram showing that a user utterance is input when a gallery app according to an embodiment is executed. FIG.
11B is a diagram illustrating a screen in which a plurality of sample utterances are displayed according to an embodiment.
12 is a flowchart illustrating a method for transmitting a plurality of sample utterances by an intelligent server according to an embodiment.
13 is a flowchart illustrating a method for transmitting a plurality of sample utterances by an intelligent server according to an embodiment.
FIG. 14A is a diagram illustrating input of a user utterance in a state where a gallery app according to an embodiment is executed. FIG.
14B is a diagram illustrating a screen in which a plurality of sample utterances are displayed according to an embodiment.
14C is a diagram illustrating a screen in which information related to a selected sample speech according to an embodiment is displayed.
FIG. 14D is a diagram illustrating a screen to which an intention of a user according to an embodiment is input
15 is a diagram showing a screen in which an image related to a sample speech according to an embodiment is further displayed.
16A is a diagram showing that a user utterance is input in a state where a gallery app according to an embodiment is executed.
16B is a diagram showing a screen in which a sample speech is displayed according to a determined order according to an embodiment.
16C is a view showing a screen in which an image related to the sample speech corresponding to the priority according to the embodiment is further displayed.
16D is a diagram showing a screen in which the size of the sample speech is displayed differently according to the determined order according to an embodiment.
FIG. 17 is a flowchart illustrating a method for an electronic device according to an embodiment to perform a pass rule and then receive a feedback input to perform another pass rule.
18 is a diagram showing a screen on which an electronic device according to an embodiment receives a feedback input.
19 is a diagram showing a screen on which a sample speech corresponding to the remaining pass rule according to the embodiment is displayed.
20 is a flowchart illustrating a method for an electronic device according to an embodiment to perform a pass rule and then receive a feedback input to perform another pass rule.
21 is a diagram showing a screen on which an electronic device according to an embodiment receives a feedback input.
FIGS. 22A and 22B show a screen displaying a UI related to a function provided by an electronic device when negative feedback is received according to an embodiment.
23A shows a screen on which a text to be modified is displayed according to an embodiment.
23B shows a screen in which the text to be modified is modified according to an embodiment.
23C shows a result screen in which a text corresponding to a user utterance is modified according to an embodiment.
FIG. 23D shows a screen including a result of modifying a text corresponding to a user utterance according to an embodiment and a UI for updating a speech model corresponding to the corrected text.
FIG. 23E shows a screen including a pop-up window in response to a network connection failure according to an exemplary embodiment.
24A shows a screen for searching a path rule according to an embodiment.
24B shows a path rule search result screen according to a search word input according to an embodiment.
FIG. 24C shows a screen after a pass rule is selected according to an embodiment.
FIG. 25 shows a screen after a UI for feedback that a domain that does not match a user's intention according to an embodiment is selected.
26 shows a screen for performing a search in an electronic device according to an embodiment.
FIG. 27 shows a screen for performing a search on the Internet according to an embodiment.
28 is a block diagram of an electronic device in a network environment in accordance with various embodiments.
In the description of the drawings, the same or similar reference numerals may be used for the same or similar components.

이하, 본 발명의 다양한 실시 예가 첨부된 도면을 참조하여 기재된다. 그러나, 이는 본 발명을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 본 발명의 실시 예의 다양한 변경(modification), 균등물(equivalent), 및/또는 대체물(alternative)을 포함하는 것으로 이해되어야 한다. Various embodiments of the invention will now be described with reference to the accompanying drawings. It should be understood, however, that the invention is not intended to be limited to the particular embodiments, but includes various modifications, equivalents, and / or alternatives of the embodiments of the invention.

본 발명의 일 실시 예를 서술하기에 앞서, 본 발명의 일 실시 예가 적용될 수 있는 통합 지능화 시스템에 대해 설명한다.Before describing an embodiment of the present invention, an integrated intelligent system to which an embodiment of the present invention can be applied will be described.

도 1은 본 발명의 다양한 실시 예에 따른 통합 지능화 시스템을 나타낸 도면이다.1 is a diagram of an integrated intelligence system in accordance with various embodiments of the present invention.

도 1을 참조하면, 통합 지능화 시스템(10)은 사용자 단말(100), 지능형 서버(200), 개인화 정보 서버(300) 또는 제안 서버(400)를 포함할 수 있다.Referring to FIG. 1, the integrated intelligent system 10 may include a user terminal 100, an intelligent server 200, a personalization information server 300, or a proposal server 400.

사용자 단말(100)은 사용자 단말(100) 내부에 저장된 앱(app)(또는, 어플리케이션 프로그램(application program))(예: 알람 앱, 메시지 앱, 사진(갤러리) 앱 등)을 통해 사용자에게 필요한 서비스를 제공할 수 있다. 예를 들어, 사용자 단말(100)은 사용자 단말(100) 내부에 저장된 지능형 앱(또는, 음성 인식 앱)을 통해 다른 앱을 실행하고 동작시킬 수 있다. 사용자 단말(100)의 상기 지능형 앱을 통해 상기 다른 앱의 실행하고 동작을 실행시키기 위한 사용자 입력을 수신할 수 있다. 상기 사용자 입력은, 예를 들어, 물리적 버튼, 터치 패드, 음성 입력, 원격 입력 등을 통해 수신될 수 있다. 일 실시 예에 따르면, 사용자 단말(100)은 휴대폰, 스마트폰, PDA(personal digital assistant) 또는 노트북 컴퓨터 등 인터넷에 연결 가능한 각종 단말 장치(또는, 전자 장치)가 이에 해당될 수 있다.The user terminal 100 can receive a service required by the user through an app stored in the user terminal 100 (or an application program) (e.g., an alarm app, a message app, a photo (gallery) Can be provided. For example, the user terminal 100 may execute and operate another application through an intelligent app (or a voice recognition app) stored in the user terminal 100. [ The user terminal 100 can receive the user input for executing the other application and executing the operation through the intelligent app. The user input may be received via, for example, a physical button, a touchpad, a voice input, a remote input, or the like. According to one embodiment, the user terminal 100 may correspond to various terminal devices (or electronic devices) such as a mobile phone, a smart phone, a personal digital assistant (PDA), or a notebook computer.

일 실시 예에 따르면, 사용자 단말(100)은 사용자의 발화를 사용자 입력으로 수신할 수 있다. 사용자 단말(100)은 사용자의 발화를 수신하고, 상기 사용자의 발화에 기초하여 앱을 동작시키는 명령을 생성할 수 있다. 이에 따라, 사용자 단말(100)은 상기 명령을 이용하여 상기 앱을 동작시킬 수 있다.According to one embodiment, the user terminal 100 may receive the user's utterance as a user input. The user terminal 100 may receive a user's utterance and generate an instruction to operate the app based on the utterance of the user. Accordingly, the user terminal 100 can operate the application using the command.

지능형 서버(200)는 통신망을 통해 사용자 단말(100)로부터 사용자 음성 입력(voice input)을 수신하여 텍스트 데이터(text data)로 변경할 수 있다. 다른 실시 예에서는, 지능형 서버(200)는 상기 텍스트 데이터에 기초하여 패스 룰(path rule)을 생성(또는, 선택)할 수 있다. 상기 패스 룰은 앱의 기능을 수행하기 위한 동작(action)(또는, 오퍼레이션(operation))에 대한 정보 또는 상기 동작을 실행하기 위해 필요한 파라미터에 대한 정보를 포함할 수 있다. 또한, 상기 패스 룰은 상기 앱의 상기 동작의 순서를 포함할 수 있다. 사용자 단말(100)은 상기 패스 룰을 수신하고, 상기 패스 룰에 따라 앱을 선택하고, 상기 선택된 앱에서 상기 패스 룰에 포함된 동작을 실행시킬 수 있다. The intelligent server 200 can receive user voice input from the user terminal 100 through a communication network and change the text data into text data. In another embodiment, the intelligent server 200 may generate (or select) a path rule based on the text data. The pass rule may include information about an action (or an operation) for performing the function of the app or information about a parameter necessary for executing the action. In addition, the pass rule may include a sequence of the actions of the app. The user terminal 100 may receive the pass rule, select an app according to the pass rule, and execute the action included in the pass rule in the selected app.

예를 들어, 사용자 단말(100)은 상기 동작을 실행하고, 동작을 실행한 사용자 단말(100)의 상태에 대응되는 화면를 디스플레이에 표시할 수 있다. 다른 예를 들어, 사용자 단말(100)은 상기 동작을 실행하고, 동작을 수행한 결과를 디스플레이에 표시하지 않을 수 있다. 사용자 단말(100)은, 예를 들어, 복수의 동작을 실행하고, 상기 복수의 동작의 일부 결과 만을 디스플레이에 표시할 수 있다. 사용자 단말(100)은, 예를 들어, 마지막 순서의 동작을 실행한 결과만을 디스플레이에 표시할 수 있다. 또 다른 예를 들어, 사용자 단말(100)은 사용자의 입력을 수신하여 상기 동작을 실행한 결과를 디스플레이에 표시할 수 있다.For example, the user terminal 100 may execute the operation and display a screen corresponding to the state of the user terminal 100 that has performed the operation on the display. As another example, the user terminal 100 may execute the operation and may not display the result of performing the operation on the display. The user terminal 100 may, for example, execute a plurality of operations and display only some of the results of the operations on the display. The user terminal 100 can display, for example, only the result of executing the last sequence of operations on the display. As another example, the user terminal 100 may receive a user's input and display the result of performing the operation on the display.

개인화 정보 서버(300)는 사용자 정보가 저장된 데이터베이스를 포함할 수 있다. 예를 들어, 개인화 정보 서버(300)는 사용자 단말(100)로부터 사용자 정보(예: 컨텍스트 정보, 앱 실행 등)를 수신하여 상기 데이터베이스에 저장할 수 있다. 지능형 서버(200)는 통신망을 통해 개인화 정보 서버(300)로부터 상기 사용자 정보를 수신하여 사용자 입력에 대한 패스 룰을 생성하는 경우에 이용할 수 있다. 일 실시 예에 따르면, 사용자 단말(100)은 통신망을 통해 개인화 정보 서버(300)로부터 사용자 정보를 수신하여 데이터베이스를 관리하기 위한 정보로 이용할 수 있다.The personalization information server 300 may include a database storing user information. For example, the personalization information server 300 may receive user information (e.g., context information, application execution, etc.) from the user terminal 100 and store the information in the database. The intelligent server 200 can be used when receiving the user information from the personalization information server 300 through a communication network and generating a pass rule for user input. According to one embodiment, the user terminal 100 can receive user information from the personalization information server 300 via a communication network and use the information as information for managing the database.

제안 서버(400)는 단말 내에 기능 혹은 어플리케이션의 소개 또는 제공될 기능에 대한 정보가 저장된 데이터베이스를 포함할 수 있다. 예를 들어, 제안 서버(400)는 개인화 정보 서버(300)로부터 사용자 단말기(100)의 사용자 정보를 수신하여 사용자가 사용 할 수 있는 기능에 대한 데이터베이스를 포함 할 수 있다. 사용자 단말(100)은 통신망을 통해 제안 서버(400)로부터 상기 제공될 기능에 대한 정보를 수신하여 사용자에게 정보를 제공할 수 있다.The proposal server 400 may include a database in which information about an introduction of a function or an application or a function to be provided is stored in the terminal. For example, the proposal server 400 may receive a user information of the user terminal 100 from the personalization information server 300 and include a database of functions that the user can use. The user terminal 100 may receive information on the function to be provided from the proposal server 400 through a communication network and provide information to the user.

도 2는 본 발명의 일 실시 예에 따른 통합 지능화 시스템의 사용자 단말을 나타낸 블록도이다.2 is a block diagram illustrating a user terminal of an integrated intelligent system according to an embodiment of the present invention.

도 2를 참조하면, 사용자 단말(100)은 입력 모듈(110), 디스플레이(120), 스피커(130), 메모리(140) 또는 프로세서(150)를 포함할 수 있다. 사용자 단말(100)은 하우징을 더 포함할 수 있고, 상기 사용자 단말(100)의 구성들은 상기 하우징의 내부에 안착되거나 하우징 상에(on the housing) 위치할 수 있다.2, a user terminal 100 may include an input module 110, a display 120, a speaker 130, a memory 140, or a processor 150. The user terminal 100 may further include a housing, and the configurations of the user terminal 100 may be placed on the inside of the housing or on the housing.

일 실시 예에 따른, 입력 모듈(110)은 사용자로부터 사용자 입력을 수신할 수 있다. 예를 들어, 입력 모듈(110)은 연결된 외부 장치(예: 키보드, 헤드셋)로부터 사용자 입력을 수신할 수 있다. 다른 예를 들어, 입력 모듈(110)은 디스플레이(120)와 결합된 터치 스크린(예: 터치 스크린 디스플레이)을 포함할 수 있다. 또 다른 예를 들어, 입력 모듈(110)은 사용자 단말(100)(또는, 사용자 단말(100)의 하우징)에 위치한 하드웨어 키(또는, 물리적 키)를 포함할 수 있다. According to one embodiment, input module 110 may receive user input from a user. For example, input module 110 may receive user input from a connected external device (e.g., keyboard, headset). In another example, input module 110 may include a touch screen (e.g., a touch screen display) coupled with display 120. As another example, the input module 110 may include a hardware key (or physical key) located at the user terminal 100 (or the housing of the user terminal 100).

일 실시 예에 따르면, 입력 모듈(110)은 사용자의 발화를 음성 신호로 수신할 수 있는 마이크로폰(예: 도 3의 마이크로폰(111))을 포함할 수 있다. 예를 들어, 입력 모듈(110)은 발화 입력 시스템(speech input system)을 포함하고, 상기 발화 입력 시스템을 통해 사용자의 발화를 음성 신호로 수신할 수 있다. According to one embodiment, input module 110 may include a microphone (e.g., microphone 111 of FIG. 3) capable of receiving a user's utterance as a speech signal. For example, the input module 110 may include a speech input system, and may receive a speech of a user via the speech input system.

일 실시 예에 따른, 디스플레이(120)는 이미지나 비디오, 및/또는 어플리케이션의 실행 화면을 표시할 수 있다. 예를 들어, 디스플레이(120)는 앱의 그래픽 사용자 인터페이스(graphic user interface)(GUI)를 표시할 수 있다. In accordance with one embodiment, the display 120 may display an image of an image, video, and / or application executable. For example, the display 120 may display a graphical user interface (GUI) of the app.

일 실시 예에 따르면, 스피커(130)는 음성 신호를 출력할 수 있다. 예를 들어, 스피커(130)는 사용자 단말(100) 내부에서 생성된 음성 신호를 외부로 출력할 수 있다.According to one embodiment, the speaker 130 may output a voice signal. For example, the speaker 130 may output a voice signal generated inside the user terminal 100 to the outside.

일 실시 예에 따르면, 사용자 단말(100)은 무선 통신 회로(미도시)를 더 포함할 수 있다. 무선 통신 회로는 다양한 통신을 지원할 수 있고, 사용자 단말(100)과 지능형 서버(200)간의 통신 채널 수립 및 수립된 통신 채널을 통한 무선 통신의 수행을 지원할 수 있다.According to one embodiment, the user terminal 100 may further comprise a wireless communication circuit (not shown). The wireless communication circuit can support various communications and can support establishment of a communication channel between the user terminal 100 and the intelligent server 200 and wireless communication through the established communication channel.

일 실시 예에 따르면, 메모리(140)는 복수의 앱(141, 143)을 저장할 수 있다. 메모리(140)에 저장된 복수의 앱(141, 143)은 사용자 입력에 따라 선택되어 실행되고 동작할 수 있다. According to one embodiment, the memory 140 may store a plurality of apps 141 and 143. The plurality of apps 141 and 143 stored in the memory 140 may be selected and executed and operated according to user input.

일 실시 예에 따르면, 메모리(140)는 사용자 입력을 인식하는데 필요한 정보를 저장할 수 있는 데이터베이스를 포함할 수 있다. 예를 들어, 메모리(140)은 로그(log) 정보를 저장할 수 있는 로그 데이터베이스를 포함할 수 있다. 다른 예를 들어, 메모리(140)는 사용자 정보를 저장할 수 있는 페르소나 데이터베이스를 포함할 수 있다.According to one embodiment, the memory 140 may include a database capable of storing information necessary to recognize user input. For example, the memory 140 may include a log database capable of storing log information. As another example, the memory 140 may include a persona database capable of storing user information.

일 실시 예에 따르면, 메모리(140)는 복수의 앱(141, 143)을 저장하고, 복수의 앱(141, 143)은 로드되어 동작할 수 있다. 예를 들어, 메모리(140)에 저장된 복수의 앱(141,143)은 프로세서(150)의 실행 매니저 모듈(153)에 의해 로드되어 동작할 수 있다. 복수의 앱(141, 143)은 기능을 수행하는 실행 서비스(141a, 143a) 또는 복수의 동작(또는, 단위 동작)(141b, 143b)을 포함할 수 있다. 실행 서비스(141a, 143a)는 프로세서(150)의 실행 매니저 모듈(153)에 의해 생성되고, 복수의 동작 (141b, 143b)을 실행할 수 있다.According to one embodiment, the memory 140 stores a plurality of apps 141 and 143, and a plurality of apps 141 and 143 can be loaded and operated. For example, a plurality of applications 141 and 143 stored in the memory 140 can be loaded and operated by the execution manager module 153 of the processor 150. [ The plurality of apps 141 and 143 may include execution services 141a and 143a or a plurality of operations (or unit operations) 141b and 143b that perform functions. The execution services 141a and 143a are generated by the execution manager module 153 of the processor 150 and can execute a plurality of operations 141b and 143b.

일 실시 예에 따르면, 앱(141, 143)의 동작(141b, 143b)이 실행되었을 때, 동작(141b, 143b)의 실행에 따른 실행 상태 화면은 디스플레이(120)에 표시될 수 있다. 상기 실행 상태 화면은, 예를 들어, 동작(141b, 143b)이 완료된 상태의 화면일 수 있다. 상기 실행 상태 화면은, 다른 예를 들어, 동작(141b, 143b)의 실행이 정지된 상태(partial landing)(예: 동작(141b, 143b)에 필요한 파라미터가 입력되지 않은 경우)의 화면일 수 있다.According to one embodiment, when the operations 141b and 143b of the applications 141 and 143 are executed, the execution status screen according to the execution of the operations 141b and 143b may be displayed on the display 120. [ The execution status screen may be, for example, a screen in which operations 141b and 143b are completed. The execution status screen may be, for example, a screen in which partial execution of operations 141b and 143b is stopped (e.g., when parameters necessary for operations 141b and 143b are not input) .

일 실시 예에 따른, 실행 서비스(141a, 143a)는 패스 룰에 따라 동작(141b, 143b)을 실행할 수 있다. 예를 들어, 실행 서비스(141a, 143a)는 실행 매니저 모듈(153)에 의해 활성화되고, 실행 매니저 모듈(153)로부터 상기 패스 룰에 따라 실행 요청을 수신하고, 상기 실행 요청에 따라 동작(141b, 143b)을 앱(141, 143)의 동작을 실행할 수 있다. 실행 서비스(141a, 143a)는 상기 동작(141b, 143b)의 수행이 완료되면 완료 정보를 실행 매니저 모듈(153)로 송신할 수 있다.According to one embodiment, execution services 141a and 143a may execute operations 141b and 143b in accordance with a path rule. For example, the execution services 141a and 143a are activated by the execution manager module 153, receive an execution request from the execution manager module 153 according to the path rule, and perform operations 141b, 143b can execute the operations of the apps 141, The execution services 141a and 143a can transmit completion information to the execution manager module 153 when the operations 141b and 143b are completed.

일 실시 예에 따르면, 앱(141, 143)에서 복수의 동작(141b, 143b)이 실행되는 경우, 복수의 동작(141b, 143b)은 순차적으로 실행될 수 있다. 실행 서비스(141a, 143a)는 하나의 동작(동작 1)의 실행이 완료되면 다음 동작(동작 2)을 오픈하고 완료 정보를 실행 매니저 모듈(153)로 송신할 수 있다. 여기서 임의의 동작을 오픈한다는 것은, 임의의 동작을 실행 가능한 상태로 천이시키거나, 임의의 동작의 실행을 준비하는 것으로 이해될 수 있다. 다시 말해서, 임의의 동작이 오픈되지 않으면, 해당 동작은 실행될 수 없다. 실행 매니저 모듈(153)은 상기 완료 정보가 수신되면 다음 동작(141b, 143b)에 대한 실행 요청을 실행 서비스(예: 동작 2)로 송신할 수 있다. 일 실시 예에 따르면, 복수의 앱(141, 143)이 실행되는 경우, 복수의 앱(141, 143)은 순차적으로 실행될 수 있다. 예를 들어, 제1 앱(141)의 마지막 동작의 실행이 완료되어 완료 정보를 수신하면, 실행 매니저 모듈(153)은 제2 앱(143)의 첫번째 동작의 실행 요청을 실행 서비스(143a)로 송신할 수 있다.According to one embodiment, when a plurality of operations 141b and 143b are executed in the applications 141 and 143, the plurality of operations 141b and 143b can be executed sequentially. The execution services 141a and 143a can open the next operation (operation 2) and transmit the completion information to the execution manager module 153 when the execution of one operation (operation 1) is completed. Here, opening an arbitrary operation can be understood as transitioning an arbitrary operation to an executable state or preparing for execution of an arbitrary operation. In other words, if an operation is not opened, the operation can not be executed. When the completion information is received, the execution manager module 153 can transmit an execution request for the next operations 141b and 143b to the execution service (e.g., operation 2). According to one embodiment, when a plurality of apps 141 and 143 are executed, a plurality of apps 141 and 143 can be sequentially executed. For example, when the execution of the last operation of the first application 141 is completed and the completion information is received, the execution manager module 153 sends a request to execute the first operation of the second application 143 to the execution service 143a Can be transmitted.

일 실시 예에 따르면, 앱(141, 143)에서 복수의 동작(141b, 143b)이 실행된 경우, 상기 실행된 복수의 동작(141b, 143b) 각각의 실행에 따른 결과 화면은 디스플레이(120)에 표시될 수 있다. 일 실시 예에 따르면, 상기 실행된 복수의 동작(141b, 143b)의 실행에 따른 복수의 결과 화면 중 일부만 디스플레이(120)에 표시될 수 있다.According to one embodiment, when a plurality of operations 141b and 143b are executed in the apps 141 and 143, a result screen corresponding to execution of each of the plurality of executed operations 141b and 143b is displayed on the display 120 Can be displayed. According to one embodiment, only a part of a plurality of result screens resulting from the execution of the plurality of executed operations 141b and 143b may be displayed on the display 120. [

일 실시 예에 따르면, 메모리(140)는 지능형 에이전트(151)와 연동된 지능형 앱(예: 음성 인식 앱)을 저장할 수 있다. 지능형 에이전트(151)와 연동된 앱은 사용자의 발화를 음성 신호로 수신하여 처리할 수 있다. 일 실시 예에 따르면, 지능형 에이전트(151)와 연동된 앱은 입력 모듈(110)을 통해 입력되는 특정 입력(예: 하드웨어 키를 통한 입력, 터치 스크린을 통한 입력, 특정 음성 입력)에 의해 동작될 수 있다.According to one embodiment, the memory 140 may store an intelligent app (e.g., a voice recognition app) associated with the intelligent agent 151. An app linked with the intelligent agent 151 can receive and process a user's utterance as a voice signal. According to one embodiment, an application associated with the intelligent agent 151 is operated by a specific input (e.g., input via a hardware key, input via a touch screen, specific voice input) input via the input module 110 .

일 실시 예에 따르면, 프로세서(150)는 사용자 단말(100)의 전반적인 동작을 제어할 수 있다. 예를 들어, 프로세서(150)는 입력 모듈(110)을 제어하여 사용자 입력을 수신할 수 있다. 프로세서(150)는 디스플레이(120)를 제어하여 이미지를 표시할 수 있다. 프로세서(150)는 스피커(130)를 제어하여 음성 신호를 출력할 수 있다. 프로세서(150)는 메모리(140)를 제어하여 필요한 정보를 불러오거나 저장할 수 있다. According to one embodiment, the processor 150 may control the overall operation of the user terminal 100. For example, the processor 150 may control the input module 110 to receive user input. The processor 150 may control the display 120 to display an image. The processor 150 may control the speaker 130 to output a voice signal. The processor 150 may control the memory 140 to retrieve or store the necessary information.

일 실시 예에 따르면 프로세서(150)는 지능형 에이전트(151), 실행 매니저 모듈(153) 또는 지능형 서비스 모듈(155)를 포함할 수 있다. 일 실시 예에서, 프로세서(150)는 메모리(140)에 저장된 명령어들을 실행하여 지능형 에이전트(151), 실행 매니저 모듈(153) 또는 지능형 서비스 모듈(155)을 구동시킬 수 있다. 본 발명의 다양한 실시 예에서 언급되는 여러 모듈들은 하드웨어로 구현될 수도 있고, 소프트웨어로 구현될 수도 있다. 본 발명의 다양한 실시 예에서 지능형 에이전트(151), 실행 매니저 모듈(153) 또는 지능형 서비스 모듈(155)에 의해 수행되는 동작은 프로세서(150)에 의해 수행되는 동작으로 이해될 수 있다.According to one embodiment, the processor 150 may include an intelligent agent 151, a performance manager module 153, or an intelligent service module 155. In one embodiment, processor 150 may execute instructions stored in memory 140 to drive intelligent agent 151, execution manager module 153, or intelligent service module 155. The various modules referred to in various embodiments of the present invention may be implemented in hardware or in software. The operations performed by the intelligent agent 151, the execution manager module 153, or the intelligent service module 155 in various embodiments of the present invention may be understood as operations performed by the processor 150. [

일 실시 예에 따른, 지능형 에이전트(151)는 사용자 입력으로 수신된 음성 신호에 기초하여 앱을 동작시키는 명령을 생성할 수 있다. 일 실시 예에 따른, 실행 매니저 모듈(153)은 지능형 에이전트(151)로부터 상기 생성된 명령을 수신하여 메모리(140)에 저장된 앱(141, 143)을 선택하여 실행시키고 동작시킬 수 있다. 일 실시 예에 따르면, 지능형 서비스 모듈(155)은 사용자의 정보를 관리하여 사용자 입력을 처리하는데 이용할 수 있다.According to one embodiment, the intelligent agent 151 may generate an instruction to operate the app based on the voice signal received at the user input. According to one embodiment, the execution manager module 153 may receive the generated commands from the intelligent agent 151 and select and execute and operate the apps 141 and 143 stored in the memory 140. According to one embodiment, the intelligent service module 155 can be used to manage user information and process user input.

지능형 에이전트(151)는 입력 모듈(110)을 통해 수신된 사용자 입력을 지능형 서버(200)로 송신하여 처리할 수 있다.The intelligent agent 151 may transmit the user input received through the input module 110 to the intelligent server 200 for processing.

일 실시 예에 따르면, 지능형 에이전트(151)는 상기 사용자 입력을 지능형 서버(200)로 송신하기 전에, 상기 사용자 입력을 전처리할 수 있다. 일 실시 예에 따르면, 지능형 에이전트(151)는 상기 사용자 입력을 전처리하기 위하여, 적응 반향 제거(adaptive echo canceller)(AEC) 모듈, 노이즈 억제(noise suppression)(NS) 모듈, 종점 검출(end-point detection)(EPD) 모듈 또는 자동 이득 제어(automatic gain control)(AGC) 모듈을 포함할 수 있다. 상기 적응 반향 제거부는 상기 사용자 입력에 포함된 에코(echo)를 제거할 수 있다. 상기 노이즈 억제 모듈은 상기 사용자 입력에 포함된 배경 잡음을 억제할 수 있다. 상기 종점 검출 모듈은 상기 사용자 입력에 포함된 사용자 음성의 종점을 검출하여 사용자의 음성이 존재하는 부분을 찾을 수 있다. 상기 자동 이득 제어 모듈은 상기 사용자 입력을 인식하여 처리하기 적합하도록 상기 사용자 입력의 음량을 조절할 수 있다. 일 실시 예에 따르면, 지능형 에이전트(151)는 성능을 위하여 상기 전처리 구성을 전부 포함할 수 있지만, 다른 실시 예에서 지능형 에이전트(151)는 저전력으로 동작하기 위해 상기 전처리 구성 중 일부를 포함할 수 있다.According to one embodiment, the intelligent agent 151 may pre-process the user input before transmitting the user input to the intelligent server 200. [ According to one embodiment, the intelligent agent 151 may include an adaptive echo canceller (AEC) module, a noise suppression (NS) module, an end-point detection (EPD) module or an automatic gain control (AGC) module. The adaptive echo canceller may remove an echo included in the user input. The noise suppression module may suppress background noise included in the user input. The end point detection module detects an end point of the user voice included in the user input to find a portion where the user's voice exists. The automatic gain control module may adjust the volume of the user input to be suitable for recognizing and processing the user input. According to one embodiment, the intelligent agent 151 may include all of the preprocessing configurations for performance, while in other embodiments, the intelligent agent 151 may include some of the preprocessing configurations to operate at low power .

일 실시 예에 따르면, 지능형 에이전트(151)는 사용자의 호출을 인식하는 웨이크 업(wake up) 인식 모듈을 포함할 수 있다. 상기 웨이크 업 인식 모듈은 음성 인식 모듈을 통해 사용자의 웨이크 업 명령을 인식할 수 있고, 상기 웨이크 업 명령을 수신한 경우 사용자 입력을 수신하기 위해 지능형 에이전트(151)을 활성화시킬 수 있다. 일 실시 예에 따르면, 지능형 에이전트(151)의 웨이크 업 인식 모듈은 저전력 프로세서(예: 오디오 코덱에 포함된 프로세서)에 구현될 수 있다. 일 실시 예에 따르면, 지능형 에이전트(151)는 하드웨어 키를 통한 사용자 입력에 따라 활성화될 수 있다. 지능형 에이전트(151)가 활성화 되는 경우, 지능형 에이전트(151)와 연동된 지능형 앱(예: 음성 인식 앱)이 실행될 수 있다.According to one embodiment, the intelligent agent 151 may include a wake up recognition module that recognizes the user's call. The wakeup recognition module can recognize the user's wakeup command through the voice recognition module and activate the intelligent agent 151 to receive the user input when the wakeup command is received. According to one embodiment, the wake-up recognition module of the intelligent agent 151 may be implemented in a low-power processor (e.g., a processor included in an audio codec). According to one embodiment, the intelligent agent 151 may be activated upon user input via a hardware key. When the intelligent agent 151 is activated, an intelligent app (e.g., a voice recognition app) associated with the intelligent agent 151 may be executed.

일 실시 예에 따르면, 지능형 에이전트(151)는 사용자 입력을 실행하기 위한 음성 인식 모듈을 포함할 수 있다. 상기 음성 인식 모듈은 앱에서 동작을 실행하도록 하기 위한 사용자 입력을 인식할 수 있다. 예를 들어, 상기 음성 인식 모듈은 앱(141, 143)에서 상기 웨이크 업 명령과 같은 동작을 실행하는 제한된 사용자 (음성) 입력(예: 카메라 앱이 실행 중일 때 촬영 동작을 실행시키는 “찰칵”과 같은 발화 등)을 인식할 수 있다. 상기 지능형 서버(200)를 보조하여 사용자 입력을 인식하는 음성 인식 모듈은, 예를 들어, 사용자 단말(100)내에서 처리할 수 있는 사용자 명령을 인식하여 빠르게 처리할 수 있다. 일 실시 예에 따르면, 지능형 에이전트(151)의 사용자 입력을 실행하기 위한 음성 인식 모듈은 앱 프로세서에서 구현될 수 있다.According to one embodiment, the intelligent agent 151 may include a speech recognition module for performing user input. The voice recognition module may recognize a user input for causing the application to perform an operation. For example, the speech recognition module may include a limited user (voice) input (e.g., a "click" to perform a capture operation when the camera app is running) and a " The same utterance, etc.). The voice recognition module that assists the intelligent server 200 and recognizes the user input can recognize and process the user command that can be processed in the user terminal 100, for example. According to one embodiment, a speech recognition module for executing user input of the intelligent agent 151 may be implemented in an app processor.

일 실시 예에 따르면, 지능형 에이전트(151)의 음성 인식 모듈(웨이크 업 모듈의 음성 인식 모듈을 포함)은 음성을 인식하기 위한 알고리즘을 이용하여 사용자 입력을 인식할 수 있다. 상기 음성을 인식하기 위해 사용되는 알고리즘은, 예를 들어, HMM(hidden markov model) 알고리즘, ANN(artificial neural network) 알고리즘 또는 DTW(dynamic time warping) 알고리즘 중 적어도 하나일 수 있다.According to one embodiment, the voice recognition module of the intelligent agent 151 (including the voice recognition module of the wakeup module) may recognize the user input using an algorithm for voice recognition. The algorithm used to recognize the speech may be at least one of, for example, a hidden markov model (HMM) algorithm, an artificial neural network (ANN) algorithm, or a dynamic time warping (DTW) algorithm.

일 실시 예에 따르면, 지능형 에이전트(151)는 사용자의 음성 입력을 텍스트 데이터로 변환할 수 있다. 일 실시 예에 따르면, 지능형 에이전트(151)는 사용자의 음성을 지능형 서버로(200)로 전달하여, 변환된 텍스트 데이터를 수신할 수 있다. 이에 따라, 지능형 에이전트(151)는 상기 텍스트를 데이터를 디스플레이(120)에 표시할 수 있다.According to one embodiment, the intelligent agent 151 may convert the user's speech input into textual data. According to one embodiment, the intelligent agent 151 may pass the user's voice to the intelligent server 200 to receive the converted textual data. Accordingly, the intelligent agent 151 can display the text on the display 120. [

일 실시 예에 따르면, 지능형 에이전트(151)는 지능형 서버(200)로부터 송신한 패스 룰을 수신할 수 있다. 일 실시 예에 따르면, 지능형 에이전트(151)은 상기 패스 룰을 실행 매니저 모듈(153)로 송신할 수 있다.According to one embodiment, the intelligent agent 151 may receive the path rules sent from the intelligent server 200. [ According to one embodiment, the intelligent agent 151 may send the pass rule to the execution manager module 153. [

일 실시 예에 따르면, 지능형 에이전트(151)는 지능형 서버(200)로부터 수신된 패스 룰에 따른 실행 결과 로그(log)를 지능형 서비스(intelligence service) 모듈(155)로 송신하고, 상기 송신된 실행 결과 로그는 페르소나 모듈(persona manager)(155b)의 사용자의 선호(preference) 정보에 누적되어 관리될 수 있다.According to one embodiment, the intelligent agent 151 sends an execution result log according to the path rule received from the intelligent server 200 to the intelligence service module 155, The log may be accumulated and managed in the preference information of the user of the persona manager 155b.

일 실시 예에 따른, 실행 매니저 모듈(153)은 지능형 에이전트(151)로부터 패스 룰을 수신하여 앱(141, 143)을 실행시키고, 앱(141, 143)이 상기 패스 룰에 포함된 동작(141b, 143b)을 실행하도록 할 수 있다. 예를 들어, 실행 매니저 모듈(153)은 앱(141, 143)으로 동작(141b, 143b)을 실행하기 위한 명령 정보를 송신할 수 있고, 상기 앱(141, 143)로부터 동작(141b, 143b)의 완료 정보를 수신할 수 있다.According to one embodiment, the execution manager module 153 receives the path rules from the intelligent agent 151 and executes the apps 141 and 143, and the apps 141 and 143 execute the actions 141b , And 143b. For example, the execution manager module 153 may send command information for executing operations 141b and 143b to the apps 141 and 143, and may receive operations 141b and 143b from the apps 141 and 143, Can be received.

일 실시 예에 따르면, 실행 매니저 모듈(153)은 지능형 에이전트(151)와 앱(141, 143)의 사이에서 앱(141, 143)의 동작(141b, 143b)을 실행하기 위한 명령 정보를 송수신할 수 있다. 실행 매니저 모듈(153)은 상기 패스 룰에 따라 실행할 앱(141, 143)을 바인딩(binding)하고, 상기 패스 룰에 포함된 동작(141b, 143b)의 명령 정보를 앱(141, 143)으로 송신할 수 있다. 예를 들어, 실행 매니저 모듈(153)은 상기 패스 룰에 포함된 동작(141b, 143b)을 순차적으로 앱(141, 143)으로 송신하여, 앱(141, 143)의 동작(141b, 143b)을 상기 패스 룰에 따라 순차적으로 실행시킬 수 있다.According to one embodiment, the execution manager module 153 transmits and receives command information for executing the operations 141b and 143b of the applications 141 and 143 between the intelligent agent 151 and the applications 141 and 143 . The execution manager module 153 binds the applications 141 and 143 to be executed according to the path rule and transmits command information of the operations 141b and 143b included in the path rule to the apps 141 and 143 can do. For example, the execution manager module 153 sequentially transmits the actions 141b and 143b included in the path rule to the apps 141 and 143, and sends the actions 141b and 143b of the apps 141 and 143 And can be executed sequentially in accordance with the above-mentioned pass rules.

일 실시 예에 따르면, 실행 매니저 모듈(153)은 앱(141, 143)의 동작(141b, 143b)의 실행 상태를 관리할 수 있다. 예를 들어, 실행 매니저 모듈(153)은 앱(141, 143)으로부터 상기 동작(141b, 143b)의 실행 상태에 대한 정보를 수신할 수 있다. 상기 동작(141b, 143b)의 실행 상태가, 예를 들어, 정지된 상태(partial landing)인 경우(예: 동작(141b, 143b)에 필요한 파라미터가 입력되지 않은 경우), 실행 매니저 모듈(153)은 상기 정지된 상태에 대한 정보를 지능형 에이전트(151)로 송신할 수 있다. 지능형 에이전트(151)는 상기 수신된 정보를 이용하여, 사용자에게 필요한 정보(예: 파라미터 정보)의 입력을 요청할 수 있다. 상기 동작(141b, 143b)의 실행 상태가, 다른 예를 들어, 동작 상태인 경우에 사용자로부터 발화를 수신할 수 있고, 실행 매니저 모듈(153)은 상기 실행되고 있는 앱(141, 143) 및 앱(141, 143)의 실행 상태에 대한 정보를 지능형 에이전트(151)로 송신할 수 있다. 지능형 에이전트(151)는 지능형 서버(200)를 통해 상기 사용자의 발화의 파라미터 정보를 수신할 수 있고, 상기 수신된 파라미터 정보를 실행 매니저 모듈(153)로 송신할 수 있다. 실행 매니저 모듈(153)은 상기 수신한 파라미터 정보를 이용하여 동작(141b, 143b)의 파라미터를 새로운 파라미터로 변경할 수 있다.According to one embodiment, the execution manager module 153 can manage the execution states of the operations 141b and 143b of the applications 141 and 143. [ For example, the execution manager module 153 may receive information on the execution status of the operations 141b and 143b from the apps 141 and 143. [ If the execution state of the operations 141b and 143b is, for example, a partial landing (for example, a parameter required for the operations 141b and 143b is not input) To the intelligent agent 151, information about the suspended state. The intelligent agent 151 can request the user to input necessary information (e.g., parameter information) using the received information. The execution manager module 153 can receive the utterance from the user when the execution state of the operations 141b and 143b is in another operation state and the execution manager module 153 can receive the utterances from the executing applications 141 and 143, To the intelligent agent 151, information on the execution state of the devices 141 and 143. The intelligent agent 151 may receive the parameter information of the user's utterance through the intelligent server 200 and may transmit the received parameter information to the execution manager module 153. [ The execution manager module 153 can change the parameters of the operations 141b and 143b to new parameters using the received parameter information.

일 실시 예에 따르면, 실행 매니저 모듈(153)은 패스 룰에 포함된 파라미터 정보를 앱(141, 143)로 전달할 수 있다. 상기 패스 룰에 따라 복수의 앱(141, 143)이 순차적으로 실행되는 경우, 실행 매니저 모듈(153)은 하나의 앱에서 다른 앱으로 패스 룰에 포함된 파라미터 정보를 전달할 수 있다.According to one embodiment, the execution manager module 153 may pass the parameter information contained in the path rule to the apps 141 and 143. [ When a plurality of applications 141 and 143 are sequentially executed according to the path rule, the execution manager module 153 can transmit parameter information included in the path rule from one application to another.

일 실시 예에 따르면, 실행 매니저 모듈(153)은 복수의 패스 룰을 수신할 수 있다. 실행 매니저 모듈(153)은 사용자의 발화에 기초하여 복수의 패스 룰이 선택될 수 있다. 예를 들어, 실행 매니저 모듈(153)은 사용자의 발화가 일부 동작(141a)을 실행할 일부 앱(141)을 특정하였지만, 나머지 동작(143b)을 실행할 다른 앱(143)을 특정하지 않은 경우, 일부 동작(141a)를 실행할 동일한 앱(141)(예: 갤러리 앱)이 실행되고 나머지 동작(143b)를 실행할 수 있는 서로 다른 앱(143)(예: 메시지 앱, 텔레그램 앱)이 각각 실행되는 서로 다른 복수의 패스 룰을 수신할 수 있다. 실행 매니저 모듈(153)은, 예를 들어, 상기 복수의 패스 룰의 동일한 동작(141b, 143b)(예: 연속된 동일한 동작(141b, 143b))을 실행할 수 있다. 실행 매니저 모듈(153)은 상기 동일한 동작까지 실행한 경우, 상기 복수의 패스 룰에 각각 포함된 서로 다른 앱(141, 143)을 선택할 수 있는 상태 화면을 디스플레이(120)에 표시할 수 있다.According to one embodiment, the execution manager module 153 may receive a plurality of pass rules. The execution manager module 153 can select a plurality of path rules based on the user's utterance. For example, if the user's utterance identified some apps 141 that would perform some action 141a but did not specify other apps 143 that would run the other action 143b, A different app 143 (e.g., a message app, a telegram app) that can execute the same app 141 (e.g., a gallery app) to execute the action 141a and execute the remaining action 143b A plurality of other path rules can be received. The execution manager module 153 may execute the same operations 141b and 143b (e.g., the same successive operations 141b and 143b) of the plurality of path rules. The execution manager module 153 may display a status screen on the display 120 that allows the user to select different apps 141 and 143 included in the plurality of path rules.

일 실시 예에 따르면, 지능형 서비스 모듈(155)는 컨텍스트 모듈(155a), 페르소나 모듈(155b) 또는 제안 모듈(155c)을 포함할 수 있다.According to one embodiment, the intelligent service module 155 may include a context module 155a, a persona module 155b, or a suggestion module 155c.

컨텍스트 모듈(155a)는 앱(141, 143)으로부터 앱(141, 143)의 현재 상태를 수집할 수 있다. 예를 들어, 컨텍스트 모듈(155a)은 앱(141, 143)의 현재 상태를 나타내는 컨텍스트 정보를 수신하여 앱(141, 143)의 현재 상태를 수집할 수 있다.The context module 155a may collect the current status of the apps 141 and 143 from the apps 141 and 143. [ For example, the context module 155a may receive context information indicating the current status of the apps 141 and 143 to collect the current status of the apps 141 and 143. [

페르소나 모듈(155b)은 사용자 단말(100)을 사용하는 사용자의 개인 정보를 관리할 수 있다. 예를 들어, 페르소나 모듈(155b)은 사용자 단말(100)의 사용 정보 및 수행 결과를 수집하여 사용자의 개인 정보를 관리할 수 있다. The persona module 155b can manage the personal information of the user using the user terminal 100. [ For example, the persona module 155b may collect usage information and execution results of the user terminal 100 to manage the user's personal information.

제안 모듈(155c)는 사용자의 의도를 예측하여 사용자에게 명령을 추천해줄 수 있다. 예를 들어, 제안 모듈(155c)은 사용자의 현재 상태(예: 시간, 장소, 상황, 앱)을 고려하여 사용자에게 명령을 추천해줄 수 있다.The proposal module 155c predicts the user's intention and can recommend the command to the user. For example, the suggestion module 155c may recommend commands to the user in consideration of the user's current state (e.g., time, place, situation, app).

도 3은 본 발명의 일 실시 예에 따른 사용자 단말의 지능형 앱을 실행시키는 것을 나타낸 도면이다.FIG. 3 is a diagram illustrating execution of an intelligent app of a user terminal according to an embodiment of the present invention.

도 3을 참조하면, 사용자 단말(100)이 사용자 입력을 수신하여 지능형 에이전트(151)와 연동된 지능형 앱(예: 음성 인식 앱)을 실행시키는 것을 나타낸 것이다.Referring to FIG. 3, the user terminal 100 receives a user input and executes an intelligent application (e.g., a voice recognition application) linked with the intelligent agent 151.

일 실시 예에 따르면, 사용자 단말(100)은 하드웨어 키(112)를 통해 음성을 인식하기 위한 지능형 앱을 실행시킬 수 있다. 예를 들어, 사용자 단말(100)은 하드웨어 키(112)를 통해 사용자 입력을 수신한 경우 디스플레이(120)에 지능형 앱의 UI(user interface)(121)를 표시할 수 있다. 사용자는, 예를 들어, 지능형 앱의 UI(121)가 디스플레이(120)에 표시된 상태에서 음성을 입력(113b)하기 위해 지능형 앱의 UI(121)에 음성인식 버튼(121a)를 터치할 수 있다. 사용자는, 다른 예를 들어, 음성을 입력(113b)하기 위해 상기 하드웨어 키(112)를 지속적으로 눌러서 음성을 입력(113b)을 할 수 있다.According to one embodiment, the user terminal 100 may execute an intelligent app for voice recognition via the hardware key 112. [ For example, the user terminal 100 may display the user interface (UI) 121 of the intelligent app on the display 120 when the user input is received via the hardware key 112. The user can touch the voice recognition button 121a to the UI 121 of the intelligent app to input (113b) voice, for example, while the UI 121 of the intelligent app is displayed on the display 120 . The user may press the hardware key 112 to input a voice 113b, for example, to input a voice 113b.

일 실시 예에 따르면, 사용자 단말(100)은 마이크(111)를 통해 음성을 인식하기 위한 지능형 앱을 실행시킬 수 있다. 예를 들어, 사용자 단말(100)은 마이크(111)를 통해 지정된 음성(예: 일어나!(wake up!))이 입력(113a)된 경우 디스플레이(120)에 지능형 앱의 UI(121)를 표시할 수 있다.According to one embodiment, the user terminal 100 may execute an intelligent app for recognizing voice through the microphone 111. [ For example, the user terminal 100 displays the UI 121 of the intelligent app on the display 120 when a voice (e.g., wake up!) Designated via the microphone 111 is input 113a can do.

도 4는 본 발명의 일 실시 예에 따른 통합 지능화 시스템의 지능형 서버를 나타낸 블록도이다.4 is a block diagram illustrating an intelligent server of an integrated intelligence system according to an embodiment of the present invention.

도 4를 참조하면, 지능형 서버(200)는 자동 음성 인식(automatic speech recognition)(ASR) 모듈(210), 자연어 이해(natural language understanding)(NLU) 모듈(220), 패스 플래너(path planner) 모듈(230), 대화 매니저(dialogue manager)(DM) 모듈(240), 자연어 생성(natural language generator)(NLG) 모듈(250) 또는 텍스트 음성 변환(text to speech)(TTS) 모듈(260)을 포함할 수 있다.4, the intelligent server 200 includes an automatic speech recognition (ASR) module 210, a natural language understanding (NLU) module 220, a path planner module 220, A dialogue manager (DM) module 240, a natural language generator (NLG) module 250 or a text to speech (TTS) module 260 can do.

지능형 서버(200)의 자연어 이해 모듈(220) 또는 패스 플래너 모듈(230)은 패스 룰(path rule)을 생성할 수 있다.The natural language understanding module 220 or the path planner module 230 of the intelligent server 200 may generate a path rule.

일 실시 예에 따르면, 자동 음성 인식(automatic speech recognition)(ASR) 모듈(210)은 사용자 단말(100)로부터 수신된 사용자 입력을 텍스트 데이터로 변환할 수 있다.According to one embodiment, an automatic speech recognition (ASR) module 210 may convert user input received from the user terminal 100 into text data.

일 실시 예에 따르면, 자동 음성 인식 모듈(210)은 사용자 단말(100)로부터 수신된 사용자 입력을 텍스트 데이터로 변환할 수 있다. 예를 들어, 자동 음성 인식 모듈(210)은 발화 인식 모듈을 포함할 수 있다. 상기 발화 인식 모듈은 음향(acoustic) 모델 및 언어(language) 모델을 포함할 수 있다. 예를 들어, 상기 음향 모델은 발성에 관련된 정보를 포함할 수 있고, 상기 언어 모델은 단위 음소 정보 및 단위 음소 정보의 조합에 대한 정보를 포함할 수 있다. 상기 발화 인식 모듈은 발성에 관련된 정보 및 단위 음소 정보에 대한 정보를 이용하여 사용자 발화를 텍스트 데이터로 변환할 수 있다. 상기 음향 모델 및 언어 모델에 대한 정보는, 예를 들어, 자동 음성 인식 데이터베이스(automatic speech recognition database)(ASR DB)(211)에 저장될 수 있다.According to one embodiment, the automatic speech recognition module 210 may convert user input received from the user terminal 100 into text data. For example, the automatic speech recognition module 210 may include a speech recognition module. The speech recognition module may include an acoustic model and a language model. For example, the acoustic model may include information related to speech, and the language model may include information on a combination of unit phoneme information and unit phoneme information. The speech recognition module may convert user speech into text data using information on vocalization and information on unit phonemic information. The information about the acoustic model and the language model may be stored in, for example, an automatic speech recognition database (ASR DB)

일 실시 예에 따르면, 자연어 이해 모듈(220)은 문법적 분석(syntactic analyze) 또는 의미적 분석(semantic analyze)을 수행하여 사용자 의도를 파악할 수 있다. 상기 문법적 분석은 사용자 입력을 문법적 단위(예: 단어, 구, 형태소 등)로 나누고, 상기 나누어진 단위가 어떤 문법적인 요소를 갖는지 파악할 수 있다. 상기 의미적 분석은 의미(semantic) 매칭, 룰(rule) 매칭, 포뮬러(formula) 매칭 등을 이용하여 수행할 수 있다. 이에 따라, 자연어 이해 모듈(220)은 사용자 입력이 어느 도메인(domain), 의도(intent) 또는 상기 의도를 표현하는데 필요한 파라미터(parameter)(또는, 슬롯(slot))를 얻을 수 있다.According to one embodiment, the natural language understanding module 220 can perform a syntactic analysis or a semantic analysis to grasp a user's intention. The grammatical analysis can divide the user input into grammatical units (e.g., words, phrases, morphemes, etc.) and determine what grammatical elements the divided units have. The semantic analysis can be performed using semantic matching, rule matching, formula matching, or the like. Accordingly, the natural language understanding module 220 may obtain a domain (domain), an intent, or a parameter (or a slot) necessary for expressing the intention.

일 실시 예에 따르면, 자연어 이해 모듈(220)은 도메인(domain), 의도(intend) 및 상기 의도를 파악하는데 필요한 파라미터(parameter)(또는, 슬롯(slot))로 나누어진 매칭 규칙을 이용하여 사용자의 의도 및 파라미터를 결정할 수 있다. 예를 들어, 상기 하나의 도메인(예: 알람)은 복수의 의도(예: 알람 설정, 알람 해제 등)를 포함할 수 있고, 하나의 의도는 복수의 파라미터(예: 시간, 반복 횟수, 알람음 등)을 포함할 수 있다. 복수의 룰은, 예를 들어, 하나 이상의 필수 요소 파라미터를 포함할 수 있다. 상기 매칭 규칙은 자연어 인식 데이터베이스(natural language understanding database)(NLU DB)(221)에 저장될 수 있다.According to one embodiment, the natural language understanding module 220 uses a matching rule that is divided into a domain, an intend, and a parameter (or slot) Lt; RTI ID = 0.0 > and / or < / RTI > For example, the one domain (e.g., an alarm) may include a plurality of intents (e.g., alarm settings, alarm cancellation, etc.), and one intention may include a plurality of parameters Etc.). The plurality of rules may include, for example, one or more mandatory element parameters. The matching rule may be stored in a natural language understanding database (NLU DB)

일 실시 예에 따르면, 자연어 이해 모듈(220)은 형태소, 구 등의 언어적 특징(예: 문법적 요소)을 이용하여 사용자 입력으로부터 추출된 단어의 의미를 파악하고, 상기 파악된 단어의 의미를 도메인 및 의도에 매칭시켜 사용자의 의도를 결정할 수 있다. 예를 들어, 자연어 이해 모듈(220)은 각각의 도메인 및 의도에 사용자 입력에서 추출된 단어가 얼마나 포함되어 있는 지를 계산하여 사용자 의도를 결정할 수 있다. 일 실시 예에 따르면, 자연어 이해 모듈(220)은 상기 의도를 파악하는데 기초가 된 단어를 이용하여 사용자 입력의 파라미터를 결정할 수 있다. 일 실시 예에 따르면, 자연어 이해 모듈(220)은 사용자 입력의 의도를 파악하기 위한 언어적 특징이 저장된 자연어 인식 데이터베이스(221)를 이용하여 사용자의 의도를 결정할 수 있다. 다른 실시 예에 따르면, 자연어 이해 모듈(220)은 개인화 언어 모델(personal language model)(PLM)을 이용하여 사용자의 의도를 결정할 수 있다. 예를 들어, 자연어 이해 모듈(220)은 개인화된 정보(예: 연락처 리스트, 음악 리스트)를 이용하여 사용자의 의도를 결정할 수 있다. 상기 개인화 언어 모델은, 예를 들어, 자연어 인식 데이터베이스(221)에 저장될 수 있다. 일 실시 예에 따르면, 자연어 이해 모듈(220)뿐만 아니라 자동 음성 인식 모듈(210)도 자연어 인식 데이터베이스(221)에 저장된 개인화 언어 모델을 참고하여 사용자의 음성을 인식할 수 있다.According to one embodiment, the natural language understanding module 220 grasps the meaning of words extracted from user input using linguistic features (e.g., grammatical elements) such as morphemes, phrases, and the like, And the intention of the user. For example, the natural language understanding module 220 can determine the user intention by calculating how many words extracted from user input are included in each domain and intention. According to one embodiment, the natural language understanding module 220 may determine the parameters of the user input using words that are the basis for grasping the intent. According to one embodiment, the natural language understanding module 220 can determine the intention of the user using the natural language recognition database 221 in which the linguistic characteristic for grasping the intention of the user input is stored. According to another embodiment, the natural language understanding module 220 can determine a user's intention using a personalized language model (PLM). For example, the natural language understanding module 220 may determine a user's intention using personalized information (e.g., a contact list, a music list). The personalized language model may be stored in the natural language recognition database 221, for example. According to one embodiment, not only the natural language understanding module 220 but also the automatic speech recognition module 210 can recognize the user's voice by referring to the personalized language model stored in the natural language recognition database 221.

일 실시 예에 따르면, 자연어 이해 모듈(220)은 사용자 입력의 의도 및 파라미터에 기초하여 패스 룰을 생성할 수 있다. 예를 들어, 자연어 이해 모듈(220)은 사용자 입력의 의도에 기초하여 실행될 앱을 선택하고, 상기 선택된 앱에서 수행될 동작을 결정할 수 있다. 상자연어 이해 모듈(220)은 상기 결정된 동작에 대응되는 파라미터를 결정하여 패스 룰을 생성할 수 있다. 일 실시 예에 따르면, 자연어 이해 모듈(220)에 의해 생성된 패스 룰은 실행될 앱, 상기 앱에서 실행될 동작 및 상기 동작을 실행하는데 필요한 파라미터에 대한 정보를 포함할 수 있다.According to one embodiment, the natural language understanding module 220 may generate a pass rule based on the intent and parameters of the user input. For example, the natural language understanding module 220 may select an app to be executed based on an intention of a user input, and determine an operation to be performed in the selected app. The box salmon understanding module 220 may determine a parameter corresponding to the determined operation to generate a pass rule. According to one embodiment, the pass rules generated by the natural language understanding module 220 may include information about the app to be executed, the action to be performed in the app, and the parameters needed to perform the action.

일 실시 예에 따르면, 자연어 이해 모듈(220)은 사용자 입력의 의도 및 파라미터를 기반으로 하나의 패스 룰, 또는 복수의 패스 룰을 생성할 수 있다. 예를 들어, 자연어 이해 모듈(220)은 패스 플래너 모듈(230)로부터 사용자 단말(100)에 대응되는 패스 룰 셋을 수신하고, 사용자 입력의 의도 및 파라미터를 상기 수신된 패스 룰 셋에 매핑하여 패스 룰을 결정할 수 있다.According to one embodiment, the natural language understanding module 220 may generate one pass rule, or a plurality of pass rules, based on the intent and parameters of the user input. For example, the natural language understanding module 220 receives the path rule set corresponding to the user terminal 100 from the path planner module 230, maps the intention and parameters of the user input to the received path rule set, The rules can be determined.

다른 실시 예에 따르면, 자연어 이해 모듈(220)은 사용자 입력의 의도 및 파라미터에 기초하여 실행될 앱, 상기 앱에서 실행될 동작 및 상기 동작을 실행하는데 필요한 파라미터를 결정하여 하나의 패스 룰, 또는 복수의 패스 룰을 생성할 수 있다. 예를 들어, 자연어 이해 모듈(220)은 사용자 단말(100)의 정보를 이용하여 상기 실행될 앱 및 상기 앱에서 실행될 동작을 사용자 입력의 의도에 따라 온톨로지(ontology) 또는 그래프 모델(graph model) 형태로 배열하여 패스 룰을 생성할 수 있다. 상기 생성된 패스 룰은, 예를 들어, 패스 플래너 모듈(230)를 통해 패스 룰 데이터베이스(path rule database)(PR DB)(231)에 저장될 수 있다. 상기 생성된 패스 룰은 데이터베이스(231)의 패스 룰 셋에 추가될 수 있다.According to another embodiment, the natural language understanding module 220 determines an app to be executed, an action to be performed in the app, and parameters necessary to perform the action based on the intention and parameters of the user input, You can create a rule. For example, the natural language understanding module 220 may use the information of the user terminal 100 to describe an operation to be executed in the app to be executed and an application in an ontology or a graph model You can create path rules by arranging them. The generated path rule may be stored in a path rule database (PR DB) 231 via the path planner module 230, for example. The generated path rule may be added to the path rule set of the database 231. [

일 실시 예에 따르면, 자연어 이해 모듈(220)은 생성된 복수의 패스 룰 중 적어도 하나의 패스 룰을 선택할 수 있다. 예를 들어, 자연어 이해 모듈(220)은 상기 복수의 패스 룰 최적의 패스 룰을 선택할 수 있다. 다른 예를 들어, 자연어 이해 모듈(220)은 사용자 발화에 기초하여 일부 동작만이 특정된 경우 복수의 패스 룰을 선택할 수 있다. 자연어 이해 모듈(220)은 사용자의 추가 입력에 의해 상기 복수의 패스 룰 중 하나의 패스 룰을 결정할 수 있다.According to one embodiment, the natural language understanding module 220 may select at least one of the generated plurality of pass rules. For example, the natural language understanding module 220 may select an optimal path rule for the plurality of pass rules. As another example, the natural language understanding module 220 may select a plurality of pass rules if only some actions are specified based on user utterances. The natural language understanding module 220 may determine one of the plurality of pass rules by a user's further input.

일 실시 예에 따르면, 자연어 이해 모듈(220)은 사용자 입력에 대한 요청으로 패스 룰을 사용자 단말(100)로 송신할 수 있다. 예를 들어, 자연어 이해 모듈(220)은 사용자 입력에 대응되는 하나의 패스 룰을 사용자 단말(100)로 송신할 수 있다. 다른 예를 들어, 자연어 이해 모듈(220)은 사용자 입력에 대응되는 복수의 패스 룰을 사용자 단말(100)로 송신할 수 있다. 상기 복수의 패스 룰은, 예를 들어, 사용자 발화에 기초하여 일부 동작만이 특정된 경우 자연어 이해 모듈(220)에 의해 생성될 수 있다.According to one embodiment, the natural language understanding module 220 may send a pass rule to the user terminal 100 in response to a user input. For example, the natural language understanding module 220 may transmit one pass rule corresponding to user input to the user terminal 100. In another example, the natural language understanding module 220 may transmit a plurality of pass rules corresponding to user input to the user terminal 100. The plurality of pass rules may be generated by the natural language understanding module 220 if, for example, only some actions are specified based on user utterances.

일 실시 예에 따르면, 패스 플래너 모듈(230)은 복수의 패스 룰 중 적어도 하나의 패스 룰을 선택할 수 있다.According to one embodiment, the path planner module 230 may select at least one of the plurality of path rules.

일 실시 예에 따르면, 패스 플래너 모듈(230)은 자연어 이해 모듈(220)로 복수의 패스 룰을 포함하는 패스 룰 셋을 전달할 수 있다. 상기 패스 룰 셋의 복수의 패스 룰은 패스 플래너 모듈(230)에 연결된 패스 룰 데이터베이스(231)에 테이블 형태로 저장될 수 있다. 예를 들어, 패스 플래너 모듈(230)은 지능형 에이전트(151)로부터 수신된 사용자 단말(100)의 정보(예: OS 정보, 앱 정보)에 대응되는 패스 룰 셋을 자연어 이해 모듈(220)로 전달할 수 있다. 상기 패스 룰 데이터베이스(231)에 저장된 테이블은, 예를 들어, 도메인 또는 도메인의 버전 별로 저장될 수 있다.According to one embodiment, the path planner module 230 may deliver a set of path rules that includes a plurality of pass rules to the natural language understanding module 220. The plurality of path rules of the path rule set may be stored in a form of a table in the path rule database 231 connected to the path planner module 230. For example, the path planner module 230 transmits a path rule set corresponding to information (e.g., OS information, app information) of the user terminal 100 received from the intelligent agent 151 to the natural language understanding module 220 . The table stored in the path rule database 231 may be stored, for example, for each domain or domain version.

일 실시 예에 따르면, 패스 플래너 모듈(230)은 패스 룰 셋에서 하나의 패스 룰, 또는 복수의 패스 룰을 선택하여 자연어 이해 모듈(220)로 전달할 수 있다. 예를 들어, 패스 플래너 모듈(230)은 사용자의 의도 및 파라미터를 사용자 단말(100) 에 대응되는 패스 룰 셋에 매칭하여 하나의 패스 룰, 또는 복수의 패스 룰을 선택하여 자연어 이해 모듈(220)로 전달할 수 있다.According to one embodiment, the path planner module 230 may select one pass rule or a plurality of pass rules from a pass rule set and transmit the selected pass rules to the natural language understanding module 220. For example, the path planner module 230 selects one pass rule or a plurality of pass rules by matching a user's intention and parameters with the path rule set corresponding to the user terminal 100, .

일 실시 예에 따르면, 패스 플래너 모듈(230)은 사용자 의도 및 파라미터를 이용하여 하나의 패스 룰, 또는 복수의 패스 룰을 생성할 수 있다. 예를 들어, 패스 플래너 모듈(230)은 사용자 의도 및 파라미터에 기초하여 실행될 앱 및 상기 앱에서 실행될 동작을 결정하여 하나의 패스 룰, 또는 복수의 패스 룰을 생성할 수 있다. 일 실시 예에 따르면, 패스 플래너 모듈(230)은 상기 생성된 패스 룰을 패스 룰 데이터베이스(231)에 저장할 수 있다.According to one embodiment, the path planner module 230 may generate one pass rule or a plurality of pass rules using the user intent and parameters. For example, the path planner module 230 may generate one pass rule or a plurality of pass rules by determining an app to be executed and an action to be executed in the app based on the user's intention and parameters. According to one embodiment, the path planner module 230 may store the generated path rule in the path rule database 231. [

일 실시 예에 따르면, 패스 플래너 모듈(230)은 자연어 이해 모듈(220)에서 생성된 패스 룰을 패스 룰 데이터베이스(231)에 저장할 수 있다. 상기 생성된 패스 룰은 패스 룰 데이터베이스(231)에 저장된 패스 룰 셋에 추가될 수 있다.According to one embodiment, the path planner module 230 may store the pass rules generated in the natural language understanding module 220 in the pass rule database 231. [ The generated path rule may be added to the path rule set stored in the path rule database 231. [

일 실시 예에 따르면, 패스 룰 데이터베이스(231)에 저장된 테이블에는 복수의 패스 룰 또는 복수의 패스 룰 셋을 포함할 수 있다. 복수의 패스 룰 또는 복수의 패스 룰 셋은 각 패스 룰을 수행하는 장치의 종류, 버전, 타입, 또는 특성을 반영할 수 있다. According to one embodiment, the table stored in the path rule database 231 may include a plurality of path rules or a plurality of path rule sets. The plurality of path rules or the plurality of path rule sets may reflect the type, version, type, or characteristic of the device that executes each pass rule.

일 실시 예에 따르면, 대화 매니저 모듈(240)은 자연어 이해 모듈(220)에 의해 파악된 사용자의 의도가 명확한지 여부를 판단할 수 있다. 예를 들어, 대화 매니저 모듈(240)은 파라미터의 정보가 충분하지 여부에 기초하여 사용자의 의도가 명확한지 여부를 판단할 수 있다. 대화 매니저 모듈(240)는 자연어 이해 모듈(220)에서 파악된 파라미터가 태스크를 수행하는데 충분한지 여부를 판단할 수 있다. 일 실시 예에 따르면, 대화 매니저 모듈(240)는 사용자의 의도가 명확하지 않은 경우 사용자에게 필요한 정보를 요청하는 피드백을 수행할 수 있다. 예를 들어, 대화 매니저 모듈(240)는 사용자의 의도를 파악하기 위한 파라미터에 대한 정보를 요청하는 피드백을 수행할 수 있다.According to one embodiment, the conversation manager module 240 may determine whether the intention of the user identified by the natural language understanding module 220 is clear. For example, the conversation manager module 240 may determine whether the intention of the user is clear based on whether or not the information of the parameter is sufficient. The conversation manager module 240 may determine whether the parameters identified in the natural language understanding module 220 are sufficient to perform the task. According to one embodiment, the conversation manager module 240 may perform feedback requesting the user for the necessary information if the intention of the user is unclear. For example, the conversation manager module 240 may perform feedback requesting information about a parameter for grasping a user's intention.

일 실시 예에 따르면, 대화 매니저 모듈(240)은 컨텐츠 제공(content provider) 모듈을 포함할 수 있다. 상기 컨텐츠 제공 모듈은 자연어 이해 모듈(220)에서 파악된 의도 및 파라미터에 기초하여 동작을 수행할 수 있는 경우, 사용자 입력에 대응되는 태스크를 수행한 결과를 생성할 수 있다. 일 실시 예에 따르면, 대화 매니저 모듈(240)은 사용자 입력에 대한 응답으로 상기 컨텐츠 제공 모듈에서 생성된 상기 결과를 사용자 단말(100)로 송신할 수 있다.According to one embodiment, the conversation manager module 240 may include a content provider module. If the content providing module can perform an operation based on the intention and parameters recognized in the natural language understanding module 220, the content providing module may generate a result of performing a task corresponding to a user input. According to one embodiment, the conversation manager module 240 may send the results generated in the content provision module to the user terminal 100 in response to user input.

일 실시 예에 따르면, 자연어 생성 모듈(NLG)(250)은 지정된 정보를 텍스트 형태로 변경할 수 있다. 상기 텍스트 형태로 변경된 정보는 자연어 발화의 형태일 수 있다. 상기 지정된 정보는, 예를 들어, 추가 입력에 대한 정보, 사용자 입력에 대응되는 동작의 완료를 안내하는 정보 또는 사용자의 추가 입력을 안내하는 정보(예: 사용자 입력에 대한 피드백 정보)일 수 있다. 상기 텍스트 형태로 변경된 정보는 사용자 단말(100)로 송신되어 디스플레이(120)에 표시되거나, 텍스트 음성 변환 모듈(260)로 송신되어 음성 형태로 변경될 수 있다.According to one embodiment, the natural language generation module (NLG) 250 may change the specified information into a text form. The information changed in the text form may be in the form of a natural language utterance. The specified information may be, for example, information about additional inputs, information to guide completion of an operation corresponding to the user input, or information (e.g., feedback information on user input) that directs additional input of the user. The information changed in the text form may be transmitted to the user terminal 100 and displayed on the display 120 or transmitted to the text-to-speech conversion module 260 to be changed to a voice form.

일 실시 예에 따르면, 텍스트 음성 변환 모듈(260)은 텍스트 형태의 정보를 음성 형태의 정보로 변경할 수 있다. 텍스트 음성 변환 모듈(260)은 자연어 생성 모듈(250)로부터 텍스트 형태의 정보를 수신하고, 상기 텍스트 형태의 정보를 음성 형태의 정보로 변경하여 사용자 단말(100)로 송신할 수 있다. 사용자 단말(100)은 상기 음성 형태의 정보를 스피커(130)로 출력할 수 있다.According to one embodiment, the text-to-speech module 260 may change textual information to speech-like information. The text-to-speech conversion module 260 receives the information of the text form from the natural language generation module 250, converts the information of the text form into the information of the voice form, and transmits the information to the user terminal 100. The user terminal 100 may output the voice information to the speaker 130.

일 실시 예에 따르면, 자연어 이해 모듈(220), 패스 플래너 모듈(230) 및 대화 매니저 모듈(240)은 하나의 모듈로 구현될 수 있다. 예를 들어, 자연어 이해 모듈(220), 패스 플래너 모듈(230) 및 대화 매니저 모듈(240)은 하나의 모듈로 구현되어 사용자의 의도 및 파라미터를 결정하고, 상기 결정된 사용자의 의도 및 파라미터에 대응되는 응답(예: 패스 룰)을 생성할 수 있다. 이에 따라, 생성된 응답은 사용자 단말(100)로 송신될 수 있다.According to one embodiment, the natural language understanding module 220, the path planner module 230, and the conversation manager module 240 may be implemented as a single module. For example, the natural language understanding module 220, the path planner module 230, and the conversation manager module 240 may be implemented as a module to determine a user's intention and parameters, You can create a response (eg, a path rule). Accordingly, the generated response can be transmitted to the user terminal 100.

도 5는 본 발명의 일 실시 예에 따른 패스 플래너 모듈(path planner module)의 패스 룰(path rule)을 생성하는 방법을 나타낸 도면이다.5 is a diagram illustrating a method of generating a path rule of a path planner module according to an embodiment of the present invention.

도 5를 참조하면, 일 실시 예에 따른, 자연어 이해 모듈(220)은 앱의 기능을 단위 동작(A 내지 F)으로 구분하여 패스 룰 데이터베이스(231)에 저장할 수 있다. 예를 들어, 자연어 이해 모듈(220)은 단위 동작으로 구분된 복수의 패스 룰(A-B1-C1, A-B1-C2, A-B1-C3-D-F, A-B1-C3-D-E-F)을 포함하는 패스 룰 셋을 패스 룰 데이터베이스(231)에 저장할 수 있다.Referring to FIG. 5, the natural language understanding module 220 may divide the functions of the application into unit actions (A to F) and store them in the pass rule database 231 according to an exemplary embodiment. For example, the natural language understanding module 220 generates a plurality of path rules (A-B1-C1, A-B1-C2, A-B1-C3-DF, A-B1-C3-DEF) And store the set of included path rules in the path rule database 231.

일 실시 예에 따르면, 패스 플래너 모듈(230)의 패스 룰 데이터베이스(231)는 앱의 기능을 수행하기 위한 패스 룰 셋을 저장할 수 있다. 상기 패스 룰 셋은 복수의 동작을 포함하는 복수의 패스 룰을 포함할 수 있다. 상기 복수의 패스 룰은 복수의 동작 각각에 입력되는 파라미터에 따라 실행되는 동작이 순차적으로 배열될 수 있다. 일 실시 예에 따르면, 상기 복수의 패스 룰은 온톨로지(ontology) 또는 그래프 모델(graph model) 형태로 구성되어 패스 룰 데이터베이스(231)에 저장될 수 있다.According to one embodiment, the path rule database 231 of the path planner module 230 may store a set of path rules for performing the function of the app. The path rule set may include a plurality of pass rules including a plurality of actions. The plurality of path rules may be sequentially arranged in accordance with the parameters inputted to each of the plurality of operations. According to one embodiment, the plurality of pass rules may be configured in an ontology or graph model form and stored in the pass rule database 231. [

일 실시 예에 따르면, 자연어 이해 모듈(220)은 사용자 입력의 의도 및 파라미터에 대응되는 상기 복수의 패스 룰(A-B1-C1, A-B1-C2, A-B1-C3-D-F, A-B1-C3-D-E-F) 중에 최적의 패스 룰(A-B1-C3-D-F)을 선택할 수 있다.According to one embodiment, the natural language understanding module 220 includes a plurality of pass rules A-B1-C1, A-B1-C2, A-B1-C3-DF, (A-B1-C3-DF) can be selected among the optimum path rules (B1-C3-DEF).

일 실시 예에 따르면, 자연어 이해 모듈(220)은 사용자 입력에 완벽히 매칭되는 패스 룰이 없는 경우 사용자 단말(100)에 복수의 룰을 전달할 수 있다. 예를 들어, 자연어 이해 모듈(220)은 사용자 입력에 부분적으로 대응된 패스 룰(예: A-B1)을 선택할 수 있다. 자연어 이해 모듈(220)은 사용자 입력에 부분적으로 대응된 패스 룰(예: A-B1)을 포함하는 하나 이상의 패스 룰(예: A-B1-C1, A-B1-C2, A-B1-C3-D-F, A-B1-C3-D-E-F)을 선택하여 사용자 단말(100)에 전달할 수 있다. According to one embodiment, the natural language understanding module 220 may pass a plurality of rules to the user terminal 100 in the absence of a path rule that perfectly matches the user input. For example, the natural language understanding module 220 may select a pass rule (e.g., A-B1) that is partially corresponding to the user input. The natural language understanding module 220 includes one or more pass rules (e.g., A-B1-C1, A-B1-C2, A-B1-C3 -DF, A-B1-C3-DEF) to the user terminal 100.

일 실시 예에 따르면, 자연어 이해 모듈(220)은 사용자 단말(100)의 추가 입력에 기초하여 복수의 패스 룰 중 하나를 선택하고, 상기 선택된 하나의 패스 룰을 사용자 단말(100)에 전달 할 수 있다. 예를 들어, 자연어 이해 모듈(220)은 사용자 단말(100)에서 추가로 입력된 사용자 입력(예: C3를 선택하는 입력)에 따라 복수의 패스 룰(예: A-B1-C1, A-B1-C2, A-B1-C3-D-F, A-B1-C3-D-E-F) 중 하나의 패스 룰(예: A-B1-C3-D-F)을 선택하여 사용자 단말(100)에 송신할 수 있다. According to one embodiment, the natural language understanding module 220 may select one of a plurality of pass rules based on the further input of the user terminal 100 and forward the selected one pass rule to the user terminal 100 have. For example, the natural language understanding module 220 may generate a plurality of pass rules (e.g., A-B1-C1, A-B1, etc.) according to a user input (e.g., (For example, A-B1-C3-DF) among the A-B1-C3-DF and the A-B1-C3-DEF.

또 다른 실시 예에 따르면, 자연어 이해 모듈(220)은 사용자 단말(100)에 추가로 입력된 사용자 입력(예: C3를 선택하는 입력)에 대응되는 사용자의 의도 및 파라미터를 결정할 수 있고, 상기 결정된 사용자의 의도 또는 파라미터를 사용자 단말(100)로 송신할 수 있다. 사용자 단말(100)은 상기 송신된 의도 또는 상기 파라미터에 기초하여, 복수의 패스 룰(예: A-B1-C1, A-B1-C2, A-B1-C3-D-F, A-B1-C3-D-E-F) 중 하나의 패스 룰(예: A-B1-C3-D-F)을 선택할 수 있다. According to yet another embodiment, the natural language understanding module 220 may determine a user's intention and parameters corresponding to a user input (e.g., an input to select C3) that is further input to the user terminal 100, And transmit the intention or parameter of the user to the user terminal 100. A-B1-C3-DF, A-B1-C3-DF, and A-B1-C3-DF based on the transmitted intention or the parameter. DEF) (for example, A-B1-C3-DF).

이에 따라, 사용자 단말(100)은 상기 선택된 하나의 패스 룰에 의해 앱(141, 143)의 동작을 완료시킬 수 있다.Accordingly, the user terminal 100 can complete the operation of the applications 141 and 143 by the selected one pass rule.

일 실시 예에 따르면, 자연어 이해 모듈(220)은 정보가 부족한 사용자 입력이 지능형 서버(200)에 수신된 경우, 상기 수신한 사용자 입력에 부분적으로 대응되는 패스 룰을 생성할 수 있다. 예를 들어, 자연어 이해 모듈(220)은 상기 부분적으로 대응된 패스 룰을 지능형 에이전트(151)로 송신(①)할 수 있다. 지능형 에이전트(151)는 실행 매니저 모듈(153)로 상기 부분적으로 대응된 패스 룰을 송신(②)하고, 실행 매니저 모듈(153)는 상기 패스 룰에 따라 제1 앱(141)을 실행시킬 수 있다. 실행 매니저 모듈(153)는 제1 앱(141)을 실행하면서 부족한 파라미터에 대한 정보를 지능형 에이전트(151)로 송신(③)할 수 있다. 지능형 에이전트(151)는 상기 부족한 파라미터에 대한 정보를 이용하여 사용자에게 추가 입력을 요청할 수 있다. 지능형 에이전트(151)는 사용자에 의해 추가 입력이 수신(④)되면 지능형 서버(200)로 송신하여 처리할 수 있다. 자연어 이해 모듈(220)은 상기 추가로 입력된 사용자 입력의 의도 및 파라미터 정보에 기초하여 추가된 패스 룰을 생성하여 지능형 에이전트(151)로 송신(⑤)할 수 있다. 지능형 에이전트(151)는 실행 매니저 모듈(153)로 상기 패스 룰을 송신(⑥)하여 제2 앱(143)를 실행할 수 있다.According to one embodiment, the natural language understanding module 220 may generate a pass rule that partially corresponds to the received user input, when the intelligent server 200 receives user input that lacks information. For example, the natural language understanding module 220 may transmit the partially corresponding path rule to the intelligent agent 151 (①). The intelligent agent 151 transmits the partially corresponding path rule to the execution manager module 153 (②), and the execution manager module 153 can execute the first app 141 according to the path rule . The execution manager module 153 can transmit the information on the insufficient parameters to the intelligent agent 151 while executing the first application 141 (3). The intelligent agent 151 may request additional input to the user using the information on the insufficient parameter. The intelligent agent 151 can transmit and process the additional input to the intelligent server 200 when the additional input is received (4) by the user. The natural language understanding module 220 may generate an added path rule based on the intention and parameter information of the further inputted user input and transmit it to the intelligent agent 151 (5). The intelligent agent 151 can execute the second application 143 by sending the pass rule to the execution manager module 153 (6).

일 실시 예에 따르면, 자연어 이해 모듈(220)은 일부 정보가 누락된 사용자 입력이 지능형 서버(200)에 수신된 경우, 개인화 정보 서버(300)로 사용자 정보 요청을 송신할 수 있다. 개인화 정보 서버(300)는 페르소나 데이터베이스에 저장된 사용자 입력을 입력한 사용자의 정보를 자연어 이해 모듈(220)로 송신할 수 있다. 자연어 이해 모듈(220)은 상기 사용자 정보를 이용하여 일부 동작이 누락된 사용자 입력에 대응되는 패스 룰을 선택할 수 있다. 이에 따라, 자연어 이해 모듈(220)은 일부 정보가 누락된 사용자 입력이 지능형 서버(200)에 수신되더라도, 누락된 정보를 요청하여 추가 입력을 받거나 사용자 정보를 이용하여 상기 사용자 입력에 대응되는 패스 룰을 결정할 수 있다.According to one embodiment, the natural language understanding module 220 may send a user information request to the personalization information server 300 when user input with some information missing is received by the intelligent server 200. The personalization information server 300 may transmit the information of the user who inputs the user input stored in the persona database to the natural language understanding module 220. [ The natural language understanding module 220 may use the user information to select a path rule corresponding to a user input that is missing some operation. Accordingly, the natural language understanding module 220 may request the missing information to receive the additional input even when the user input with some information is missing, even if it is received by the intelligent server 200, Can be determined.

도 6은 본 발명의 일 실시 예에 따른 프로세서의 컨텍스트 모듈이 현재 상태를 수집하는 것을 나타낸 도면이다.Figure 6 is a diagram illustrating the context module of the processor collecting current status according to an embodiment of the present invention.

도 6을 참조하면, 컨텍스트 모듈(155a)은 지능형 에이전트(151)로부터 컨텍스트 요청을 수신(①)하면, 앱(141, 143)에 앱(141, 143)의 현재 상태를 나타내는 컨텍스트 정보를 요청(②)할 수 있다. 일 실시 예에 따르면, 컨텍스트 모듈(155a)은 앱(141, 143)으로부터 상기 컨텍스트 정보를 수신(③)하여 지능형 에이전트(151)로 송신(④)할 수 있다.6, when the context module 155a receives a context request from the intelligent agent 151 (①), the context module 155a requests context information indicating the current state of the applications 141 and 143 to the applications 141 and 143 ②) can be done. According to one embodiment, the context module 155a may receive (3) the context information from the applications 141 and 143 and transmit (4) to the intelligent agent 151.

일 실시 예에 따르면, 컨텍스트 모듈(155a)은 앱(141, 143)을 통해 복수의 컨텍스트 정보를 수신할 수 있다. 예를 들어, 상기 컨텍스트 정보는 가장 최근 실행된 앱(141, 143)에 대한 정보일 수 있다. 다른 예를 들어, 상기 컨텍스트 정보는 앱(141, 143) 내의 현재 상태에 대한 정보(예: 갤러리에서 사진을 보고 있는 경우, 해당 사진에 대한 정보)일 수 있다.According to one embodiment, the context module 155a may receive a plurality of context information via the apps 141 and 143. [ For example, the context information may be information on the most recently executed applications 141 and 143. In another example, the context information may be information about the current status in the apps 141 and 143 (e.g., information about the corresponding pictures if viewing the pictures in the gallery).

일 실시 예에 따르면, 컨텍스트 모듈(155a)은 앱(141, 143)뿐만 아니라, 디바이스 플랫폼(device platform)으로부터 사용자 단말(100)의 현재 상태를 나타내는 컨텍스트 정보를 수신할 수 있다. 상기 컨텍스트 정보는 일반적 컨텍스트 정보, 사용자 컨텍스트 정보 또는 장치 컨텍스트 정보를 포함할 수 있다.According to one embodiment, the context module 155a may receive context information indicating the current state of the user terminal 100 from the device platform as well as the apps 141 and 143. [ The context information may include general context information, user context information, or device context information.

상기 일반적 컨텍스트 정보는 사용자 단말(100)의 일반적인 정보를 포함할 수 있다. 상기 일반적 컨텍스트 정보는 디바이스 플랫폼의 센서 허브 등을 통해 데이터를 받아서 내부 알고리즘을 통해 확인될 수 있다. 예를 들어, 상기 일반적 컨텍스트 정보는 현재 시공간에 대한 정보를 포함할 수 있다. 상기 현재 시공간에 대한 정보는, 예를 들어, 현재 시간 또는 사용자 단말(100)의 현재 위치에 대한 정보를 포함할 수 있다. 상기 현재 시간은 사용자 단말(100) 상에서의 시간을 통해 확인될 수 있고, 상기 현재 위치에 대한 정보는 GPS(global positioning system)를 통해 확인될 수 있다. 다른 예를 들어, 상기 일반적 컨텍스트 정보는 물리적 움직임에 대한 정보를 포함할 수 있다. 상기 물리적 움직임에 대한 정보는, 예를 들어, 걷기, 뛰기, 운전 중 등에 대한 정보를 포함할 수 있다. 상기 물리적 움직임 정보는 모션 센서(motion sensor)를 통해 확인될 수 있다. 상기 운전 중에 대한 정보는 상기 모션 센서를 통해 운행을 확인할 수 있을 뿐만 아니라, 차량 내의 블루투스 연결을 감지하여 탑승 및 주차를 확인할 수 있다. 또 다른 예를 들어, 상기 일반적 컨텍스트 정보는 사용자 활동 정보를 포함할 수 있다. 상기 사용자 활동 정보는, 예를 들어, 출퇴근, 쇼핑, 여행 등에 대한 정보를 포함할 수 있다. 상기 사용자 활동 정보는 사용자 또는 앱이 데이터베이스에 등록한 장소에 대한 정보를 이용하여 확인될 수 있다.The general context information may include general information of the user terminal 100. The general context information may be received through a sensor hub or the like of the device platform and confirmed through an internal algorithm. For example, the general context information may include current time and space information. The information on the current time and space may include information on the current time or the current position of the user terminal 100, for example. The current time can be confirmed through time on the user terminal 100, and information on the current position can be confirmed through a global positioning system (GPS). In another example, the general context information may include information about physical motion. The information on the physical movement may include information on, for example, walking, running, driving, and the like. The physical motion information may be identified through a motion sensor. The information on the driving operation can be confirmed not only through the motion sensor but also through the Bluetooth connection in the vehicle to confirm boarding and parking. In another example, the general context information may include user activity information. The user activity information may include information on commute, shopping, trip, and the like, for example. The user activity information can be confirmed using information about a place where a user or an application registers in the database.

상기 사용자 컨텍스트 정보는 사용자에 대한 정보를 포함할 수 있다. 예를 들어, 상기 사용자 컨텍스트 정보는 사용자의 감정적 상태에 대한 정보를 포함할 수 있다. 상기 감정적 상태에 대한 정보는, 예를 들어, 사용자의 행복, 슬픔, 화남 등에 대한 정보를 포함할 수 있다. 다른 예를 들어, 상기 사용자 컨텍스트 정보는 사용자의 현재 상태에 대한 정보를 포함할 수 있다. 상기 현재 상태에 대한 정보는, 예를 들어, 관심, 의도 등(예: 쇼핑)에 대한 정보를 포함할 수 있다.The user context information may include information about a user. For example, the user context information may include information on a user's emotional state. The information on the emotional state may include, for example, information about a user's happiness, sadness, anger, etc. [ As another example, the user context information may include information on the current state of the user. The information on the current state may include information on, for example, interest, intention, etc. (e.g., shopping).

상기 장치 컨텍스트 정보는 사용자 단말(100)의 상태에 대한 정보를 포함할 수 있다. 예를 들어, 상기 장치 컨텍스트 정보는 실행 매니저 모듈(153)이 실행한 패스 룰에 대한 정보를 포함할 수 있다. 다른 예를 들어, 상기 디바이스 정보는 배터리에 대한 정보를 포함할 수 있다. 상기 배터리에 대한 정보는, 예를 들어, 상기 배터리의 충전 및 방전 상태를 통해 확인될 수 있다. 또 다른 예를 들어, 상기 디바이스 정보는 연결된 장치 및 네트워크에 대한 정보를 포함할 수 있다. 상기 연결된 장치에 대한 정보는, 예를 들어, 상기 장치가 연결된 통신 인터페이스를 통해 확인될 수 있다. The device context information may include information on the status of the user terminal 100. [ For example, the device context information may include information about a path rule executed by the execution manager module 153. [ In another example, the device information may include information about the battery. The information on the battery can be confirmed through, for example, the state of charge and discharge of the battery. In another example, the device information may include information about connected devices and networks. Information about the connected device can be ascertained, for example, via a communication interface to which the device is connected.

도 7은 본 발명의 일 실시 예에 따른 페르소나 모듈(persona module)이 사용자의 정보를 관리하는 것을 나타낸 도면이다.7 is a diagram illustrating that a persona module according to an embodiment of the present invention manages user information.

도 7을 참조하면, 페르소나 모듈(155b)은 앱(141, 143), 실행 매니저 모듈(153) 또는 컨텍스트 모듈(155a)로부터 사용자 단말(100)의 정보를 수신할 수 있다. 앱(141, 143) 및 실행 매니저 모듈(153)은 앱의 동작(141b, 143b)을 실행한 결과 정보를 동작 로그 데이터베이스에 저장할 수 있다. 컨텍스트 모듈(155a)은 사용자 단말(100)의 현재 상태에 대한 정보를 컨텍스트 데이터베이스에 저장할 수 있다. 페르소나 모듈(155b)은 상기 동작 로그 데이터베이스 또는 상기 컨텍스트 데이터베이스로부터 상기 저장된 정보를 수신할 수 있다. 상기 동작 로그 데이터베이스 및 상기 컨텍스트 데이터베이스에 저장된 데이터는, 예를 들어, 분석 엔진(analysis engine)에 의해 분석되어 페르소나 모듈(155b)로 송신될 수 있다. Referring to FIG. 7, the persona module 155b may receive information of the user terminal 100 from the applications 141 and 143, the execution manager module 153, or the context module 155a. The apps 141 and 143 and the execution manager module 153 can store information on the result of executing the app operations 141b and 143b in the action log database. The context module 155a may store information on the current state of the user terminal 100 in the context database. The persona module 155b may receive the stored information from the action log database or the context database. The data stored in the action log database and the context database may be analyzed by, for example, an analysis engine and transmitted to the persona module 155b.

일 실시 예에 따르면, 페르소나 모듈(155b)은 앱(141, 143), 실행 매니저 모듈(153) 또는 컨텍스트 모듈(155a)로부터 수신한 정보를 제안 모듈(155c)로 송신할 수 있다. 예를 들어, 페르소나 모듈(155b)은 상기 동작 로그 데이터베이스 또는 상기 컨텍스트 데이터베이스에 저장된 데이터를 제안 모듈(155c)로 송신할 수 있다. According to one embodiment, the persona module 155b may send information received from the applications 141 and 143, the execution manager module 153, or the context module 155a to the proposal module 155c. For example, the persona module 155b may transmit data stored in the action log database or the context database to the proposal module 155c.

일 실시 예에 따르면, 페르소나 모듈(155b)은 앱(141, 143), 실행 매니저 모듈(153) 또는 컨텍스트 모듈(155a)로부터 수신된 정보를 개인화 정보 서버(300)로 송신할 수 있다. 예를 들어, 페르소나 모듈(155b)은 상기 동작 로그 데이터베이스 또는 상기 컨텍스트 데이터베이스에 누적되어 저장된 데이터를 주기적으로 개인화 정보 서버(300)에 송신할 수 있다.According to one embodiment, the persona module 155b may send information received from the apps 141 and 143, the execution manager module 153, or the context module 155a to the personalization information server 300. [ For example, the persona module 155b may periodically transmit data stored in the action log database or the context database to the personalization information server 300.

일 실시 예에 따르면, 페르소나 모듈(155b)은 상기 동작 로그 데이터베이스 또는 상기 컨텍스트 데이터베이스에 저장된 데이터를 제안 모듈(155c)로 송신할 수 있다. 상기 페르소나 모듈(155b)에 의해서 생성된 사용자 정보는 페르소나 데이터베이스에 저장될 수 있다. 페르소나 모듈(155b)는 상기 페르소나 데이터베이스에 저장된 사용자 정보를 주기적으로 개인화 정보 서버(300)로 송신할 수 있다. 일 실시 예에 따르면, 페르소나 모듈(155b)에 의해 개인화 정보 서버(300)로 송신된 정보는 페르소나 데이터베이스에 저장될 수 있다. 개인화 정보 서버(300)는 상기 페르소나 데이터베이스에 저장된 정보를 이용하여 지능형 서버(200)의 패스 룰 생성에 필요한 사용자 정보를 추론할 수 있다.According to one embodiment, the persona module 155b may transmit data stored in the action log database or the context database to the suggestion module 155c. The user information generated by the persona module 155b may be stored in a persona database. The persona module 155b may periodically transmit the user information stored in the persona database to the personalization information server 300. [ According to one embodiment, information sent by the persona module 155b to the personalization information server 300 may be stored in a persona database. The personalization information server 300 can deduce user information necessary for generating a pass rule of the intelligent server 200 using the information stored in the persona database.

일 실시 예에 따르면, 페르소나 모듈(155b)이 송신한 정보를 이용하여 추론된 사용자 정보는 프로파일(profile) 정보 또는 프리퍼런스(preference) 정보를 포함할 수 있다. 상기 프로파일 정보 또는 프리퍼런스 정보는 사용자의 계정(account) 및 누적된 정보를 통해 추론될 수 있다.According to one embodiment, the inferred user information using the information transmitted by the persona module 155b may include profile information or preference information. The profile information or the preference information may be deduced from the user's account and accumulated information.

상기 프로파일 정보는 사용자의 신상 정보를 포함할 수 있다. 예를 들어, 상기 프로파일 정보는 사용자의 인구 통계 정보를 포함할 수 있다. 상기 인구 통계 정보는, 예를 들어, 사용자의 성(gender), 나이 등을 포함할 수 있다. 다른 예를 들어, 상기 프로파일 정보는 라이프 이벤트(life event) 정보를 포함할 수 있다. 상기 라이프 이벤트 정보는, 예를 들어, 로그 정보를 라이프 이벤트 모델(life event model)과 비교하여 추론되고, 행동 패턴(behavior patter)을 분석하여 보강될 수 있다. 또 다른 예를 들어, 상기 프로파일 정보는 관심(interest) 정보를 포함할 수 있다. 상기 관심 정보는, 예를 들어, 관심 쇼핑 물품, 관심 분야(예: 스포츠, 정치 등) 등을 포함할 수 있다. 또 다른 예를 들어, 상기 프로파일 정보는 활동 지역 정보를 포함할 수 있다. 상기 활동 지역 정보는, 예를 들어, 집, 일하는 곳 등에 대한 정보를 포함할 수 있다. 상기 활동 지역에 대한 정보는 장소의 위치에 대한 정보뿐만 아니라 누적 체류 시간 및 방문 횟수를 기준으로 우선 순위가 기록된 지역에 대한 정보를 포함할 수 있다. 또 다른 예를 들어, 상기 프로파일 정보는 활동 시간 정보를 포함할 수 있다. 상기 활동 시간 정보는, 예를 들어, 기상 시간, 출퇴근 시간, 수면 시간 등에 대한 정보을 포함할 수 있다. 상기 출퇴근 시간에 대한 정보는 상기 활동 지역 정보(예: 집 및 일하는 곳에 대한 정보)를 이용하여 추론될 수 있다. 상기 수면 시간에 대한 정보는 사용자 단말(100)의 미사용 시간을 통해 추론될 수 있다.The profile information may include personal information of a user. For example, the profile information may include demographic information of a user. The demographic information may include, for example, a user's gender, age, and the like. In another example, the profile information may include life event information. The life event information may be inferred by comparing log information with a life event model, for example, and may be reinforced by analyzing a behavior patter. In another example, the profile information may include interest information. The interest information may include, for example, a shopping item of interest, an area of interest (e.g., sports, politics, etc.). As another example, the profile information may include activity area information. The activity area information may include information on, for example, a house, a work place, and the like. The information on the active area may include information on the place where the priority is recorded based on the cumulative stay time and the number of visits as well as information on the location of the place. As another example, the profile information may include activity time information. The activity time information may include information on, for example, a weather time, a commute time, a sleep time, and the like. The information on the commute time can be inferred using the activity area information (e.g., information on the house and work place). Information about the sleeping time can be inferred through the unused time of the user terminal 100. [

상기 프리퍼런스 정보는 사용자의 선호도 정보를 포함할 수 있다. 예를 들어, 상기 프리퍼런스 정보는 앱 선호도에 대한 정보를 포함할 수 있다. 상기 앱 선호도는, 예를 들어, 앱의 사용 기록(예: 시간별, 장소별 사용 기록)을 통해 추론될 수 있다. 상기 앱의 선호도는 사용자의 현재 상태(예: 시간, 장소)에 따라 실행될 앱을 결정하기 위해 이용될 수 있다. 다른 예를 들어, 상기 프리퍼런스 정보는 연락처 선호도에 대한 정보를 포함할 수 있다. 상기 연락처 선호도는, 예를 들어, 연락처의 연락 빈도(예: 시간별, 장소별 연락하는 빈도) 정보를 분석하여 추론될 수 있다. 상기 연락처 선호도는 사용자의 현재 상태(예: 중복된 이름에 대한 연락)에 따라 연락할 연락처를 결정하기 위해 이용될 수 있다. 또 다른 예를 들어, 상기 프리퍼런스 정보는 세팅(setting) 정보를 포함할 수 있다. 상기 세팅 정보는, 예를 들어, 특정 세팅 값의 설정 빈도(예: 시간별, 장소별 세팅 값으로 설정하는 빈도) 정보를 분석하여 추론될 수 있다. 상기 세팅 정보는 사용자의 현재 상태(예: 시간, 장소, 상황)에 따라 특정 세팅 값을 설정하기 위해 이용될 수 있다. 또 다른 예를 들어, 상기 프리퍼런스 정보는 장소 선호도를 포함할 수 있다. 상기 장소 선호도는, 예를 들어, 특정 장소의 방문 기록(예: 시간별 방문 기록)을 통해 추론될 수 있다. 상기 장소 선호도는 사용자의 현재 상태(예: 시간)에 따라 방문하고 있는 장소를 결정하기 위하여 이용될 수 있다. 또 다른 예를 들어, 상기 프리퍼런스 정보는 명령 선호도를 포함할 수 있다. 상기 명령 선호도는, 예를 들어, 명령 사용 빈도(예: 시간별, 장소별 사용 빈도)를 통해 추론될 수 있다. 상기 명령 선호도는 사용자의 현재 상태(예: 시간, 장소)에 따라 사용될 명령어 패턴을 결정하기 위해 이용될 수 있다. 특히, 상기 명령 선호도는 로그 정보를 분석하여 실행되고 있는 앱의 현재 상태에서 사용자가 가장 많이 선택한 메뉴에 대한 정보를 포함할 수 있다. The preference information may include user preference information. For example, the preference information may include information about an app preference. The app preference can be deduced, for example, through the usage history of the app (e.g., time and place usage records). The preference of the app may be used to determine an app to be executed according to a user's current state (e.g., time, place). In another example, the preference information may include information about contact preferences. The contact preference can be inferred by analyzing information on the frequency of contact (e.g., frequency of contact by hour or place) of a contact, for example. The contact preference can be used to determine the contact to contact according to the current state of the user (e.g., contact for duplicate names). In another example, the preference information may include setting information. The setting information may be inferred by analyzing information on a setting frequency of a specific setting value (for example, a frequency of setting the setting value by time or place). The setting information may be used to set a specific setting value according to a user's current state (e.g., time, place, situation). As another example, the preference information may include location preference. The place preference can be deduced, for example, through a visit record (for example, an hourly visit record) of a specific place. The location preference can be used to determine a visited location according to the user's current state (e.g., time). As another example, the preference information may include a command preference. The command preference may be inferred through, for example, the frequency of command usage (e.g., time, frequency of use per location). The command preference may be used to determine a command pattern to be used according to the user's current state (e.g., time, location). In particular, the command preference may include information about the menu most frequently selected by the user in the current state of the app being executed by analyzing the log information.

도 8은 일 실시 예에 따른 사용자 발화 요청에 기반하여 태스크를 수행하는 방법을 나타내는 흐름도이다.8 is a flowchart illustrating a method of performing a task based on a user utterance request according to one embodiment.

이하에서는 도 2의 사용자 단말(또는, 전자 장치)(100)가 도 8의 프로세스를 수행하는 것을 가정한다. 또한, 도 8의 설명에서, 전자 장치에 의해 수행되는 것으로 기술된 동작은 전자 장치(100)의 프로세서(150)에 의해 제어되는 것으로 이해될 수 있다. 전자 장치(100)의 프로세서(150)에 의해 수행(혹은, 실행)될 수 있는 인스트럭션(명령어)들로 구현될 수 있다. 상기 인스트럭션들은, 예를 들어, 컴퓨터 기록 매체 또는 도 2에 도시된 전자 장치(100)의 메모리(140)에 저장될 수 있다.Hereinafter, it is assumed that the user terminal (or electronic device) 100 of FIG. 2 performs the process of FIG. In addition, in the description of FIG. 8, it is understood that the operations described as being performed by the electronic device are controlled by the processor 150 of the electronic device 100. (Or instructions) that may be executed (or executed) by the processor 150 of the electronic device 100. [ The instructions may be stored, for example, in a computer recording medium or in the memory 140 of the electronic device 100 shown in FIG.

도 8을 참조하면, 동작 801에서, 프로세서(150)는 마이크로폰(111)을 통해 사용자 발화를 수신할 수 있다.Referring to FIG. 8, at operation 801, the processor 150 may receive a user utterance through the microphone 111.

일 실시 예에 따르면, 사용자 발화는 전자 장치(100)와 태스크를 수행하기 위한 요청을 포함할 수 있다. 예를 들어, 사용자 발화는 '하와이 사진을 엄마에게 메시지 앱으로 보내줘' 일 수 있고, 상기 사용자 발화는 하와이에서 찍은 사진을 메시지 앱을 이용하여 엄마에게 보내는 태스크를 수행하기 위한 요청을 포함한다.According to one embodiment, the user utterance may include a request to perform the task with electronic device 100. For example, a user utterance may be 'send a Hawaiian picture to a message app to a mother', and the user utterance includes a request to perform a task of sending a picture taken in Hawaii to a mother using a message app.

동작 802에서, 프로세서(150)는 무선 통신 회로를 통해 외부 서버로 사용자 발화와 관련된 데이터를 전송할 수 있다.At operation 802, the processor 150 may transmit data related to user utterance to an external server via a wireless communication circuit.

일 실시 예에 따르면, 사용자 발화와 관련된 데이터는 사용자 발화에 해당하는 음성 신호를 포함할 수 있다.According to one embodiment, the data associated with a user utterance may include a voice signal corresponding to a user utterance.

일 실시 예에 따르면, 프로세서(150)는 무선 통신 회로를 통해 외부 서버로 전자 장치의 현재 상태를 나타내는 컨텍스트 정보를 전송할 수 있다. 컨텍스트 정보는, 예를 들어, 실행 중인 앱 정보 또는 실행 중인 앱의 스테이트 정보 등을 포함할 수 있다. 일 실시 예에서, 앱의 스테이트 정보는 state ID, 앱의 특정 화면 정보 또는 특정 화면에서의 특정 상태 정보 등을 포함할 수 있다According to one embodiment, the processor 150 may transmit context information indicating the current state of the electronic device to an external server via a wireless communication circuit. The context information may include, for example, running application information or state information of an executing application. In one embodiment, the state information of an app may include a state ID, specific screen information of an app, or specific status information in a specific screen

동작 803에서, 프로세서(150)는 무선 통신 회로를 통해 외부 서버로부터 응답을 수신할 수 있다.At operation 803, the processor 150 may receive a response from an external server via a wireless communication circuit.

일 실시 예에 따르면, 수신된 응답은 사용자 발화의 의도를 나타내는 적어도 하나의 샘플 발화를 포함하고, 적어도 하나의 샘플 발화는 사용자 발화에 기반하여 외부 서버(예: 지능형 서버(200))에 의해 선택된 것일 수 있다.According to one embodiment, the received response includes at least one sample utterance indicative of intent of user utterance, and at least one sample utterance is selected by an external server (e.g., intelligent server 200) based on user utterance Lt; / RTI >

일 실시 예에 따르면, 적어도 하나의 샘플 발화는 사용자 발화의 제1 의도를 나타내는 제1 샘플 발화 및 제1 의도와 다른 제2 의도를 나타내는 제2 샘플 발화를 포함할 수 있다. 예를 들어, 수신된 응답은 복수의 샘플 발화를 포함할 수 있고, 각 샘플 발화는 서로 다른 사용자 발화의 의도를 나타낼 수 있다.According to one embodiment, the at least one sample utterance may comprise a first sample utterance representing a first intent of user utterance and a second sample utterance representing a second intent other than the first intent. For example, the received response may include a plurality of sample utterances, and each sample utterance may indicate the intent of different user utterances.

일 실시 예에서, 외부 서버는 사용자 발화와 관련된 데이터에 기반하여 적어도 하나의 패스 룰을 생성할 수 있다. 일 실시 예에 따르면, 적어도 하나의 샘플 발화는 제1 패스 룰에 대응하는 제1 샘플 발화 및 제2 패스 룰에 대응하는 제2 샘플 발화를 포함할 수 있다. 예를 들어, 수신된 응답은 복수의 샘플 발화를 포함할 수 있고, 각 샘플 발화는 서로 다른 패스 룰에 대응할 수 있다.In one embodiment, the external server may generate at least one pass rule based on data associated with the user utterance. According to one embodiment, the at least one sample speech may comprise a first sample speech corresponding to a first pass rule and a second sample speech corresponding to a second pass rule. For example, the received response may include a plurality of sample utterances, and each sample utterance may correspond to a different path rule.

동작 804에서, 프로세서(150)는 터치스크린 디스플레이(120)에 적어도 하나의 샘플 발화를 표시할 수 있다. 프로세서(150)가 샘플 발화를 표시하는 방법은 아래에서 구체적으로 설명될 것이다.At operation 804, the processor 150 may display at least one sample speech on the touch screen display 120. The manner in which the processor 150 displays the sample utterance will be described in detail below.

동작 805에서, 프로세서(150)는 마이크로폰(111) 또는 터치스크린 디스플레이(120)를 통해 적어도 하나의 샘플 발화 중 하나를 선택하기 위한 제1 사용자 입력을 수신할 수 있다. 프로세서(150)가 제1 사용자 입력을 수신하는 방법은 아래에서 구체적으로 설명될 것이다.At operation 805, the processor 150 may receive a first user input for selecting one of the at least one sample utterance via the microphone 111 or the touch screen display 120. The manner in which the processor 150 receives the first user input will be described in detail below.

동작 806에서, 프로세서(150)는 선택된 샘플 발화와 관련된 태스크를 수행할 수 있다.At operation 806, the processor 150 may perform a task associated with the selected sample utterance.

일 실시 예에 따르면, 프로세서(150)는 전자 장치가 적어도 하나의 샘플 발화 중 선택된 하나와 관련된 스테이트들의 시퀀스를 갖도록 함으로써 태스크를 수행할 수 있다.According to one embodiment, the processor 150 may perform the task by causing the electronic device to have a sequence of states associated with the selected one of the at least one sample utterance.

일 실시 예에서, 동작 802 후, 지능형 서버(200)에 해당할 수 있는 외부 서버가 사용자 발화의 의도를 명확히 결정하는 경우, 전자 장치는 결정된 사용자 발화의 의도에 따른 태스크를 수행할 수 있다. 그러나 사용자 발화의 종류는 한정되지 않으므로 외부 서버가 사용자 발화의 의도를 명확히 결정할 수 없는 경우가 발생할 수 있다.In one embodiment, after operation 802, if the external server, which may correspond to intelligent server 200, explicitly determines the intent of the user utterance, then the electronic device may perform the task according to the intent of the determined user utterance. However, since the type of user utterance is not limited, an external server may not be able to clearly determine the intention of user utterance.

이하에서는 외부 서버가 사용자 발화의 의도를 명확히 결정할 수 없는 경우, 외부 서버가 사용자 발화와 관련된 데이터에 기반하여 패스 룰을 생성하는 방법이 설명된다.Hereinafter, a method for an external server to generate a pass rule based on data related to user utterance will be described when the external server can not clearly determine the intention of user utterance.

도 9는 일 실시 예에 따른 지능형 서버(200)의 자연어 이해 모듈을 나타낸 블록도이다.9 is a block diagram illustrating a natural language understanding module of the intelligent server 200 according to an embodiment.

도 9를 참조하면, 자연어 이해 모듈(910)은 도메인 분류기(911), 의도 분류기(912), 슬롯 태거(slot tagger)(913) 및 포맷 변환기(criteria handler)(914) 등을 포함할 수 있다. 일 실시 예에 따르면, 도 9의 자연어 이해 모듈은 도 2의 자연어 이해 모듈(220)에 해당할 수 있다.9, the natural language understanding module 910 may include a domain classifier 911, an intent classifier 912, a slot tagger 913, a criteria handler 914, and the like . According to one embodiment, the natural language understanding module of FIG. 9 may correspond to the natural language understanding module 220 of FIG.

도메인 분류기(911)는 사용자 발화에 해당하는 텍스트 또는 컨텍스트 정보 중 적어도 하나에 기반하여 패스 룰이 속한 도메인을 결정할 수 있다. 일 실시 예에 따르면, 도메인은 패스 룰이 실행될 때 사용되는 앱(app)에 해당할 수 있다.The domain classifier 911 can determine a domain to which the path rule belongs based on at least one of text or context information corresponding to a user utterance. According to one embodiment, the domain may correspond to an app (app) used when the pass rule is executed.

일 실시 예에 따르면, 도메인 분류기(911)는 자동 음성 인식 모듈(210)로부터 수신된 사용자 발화에 해당하는 텍스트를 이용할 수 있다. 일 실시 예에 따르면, 도메인 분류기(911)는 사용자에 의해 직접 입력된 텍스트를 이용할 수도 있다.According to one embodiment, the domain classifier 911 may use text corresponding to the user utterance received from the automatic speech recognition module 210. [ According to one embodiment, the domain classifier 911 may use the text directly entered by the user.

일 실시 예에 따르면, 컨텍스트 정보는 사용자 발화가 입력되기 전 실행되던 앱 정보(또는, 백그라운드로 실행 중인 앱 정보) 또는 상기 앱의 스테이트 정보 등을 포함할 수 있다. 일 실시 예에서, 앱의 스테이트 정보는 state ID, 앱의 특정 화면 정보 또는 특정 화면에서의 특정 상태 정보 등을 포함할 수 있다According to one embodiment, the context information may include app information (or application information running in the background) that was executed before the user utterance was input, state information of the app, and the like. In one embodiment, the state information of an app may include a state ID, specific screen information of an app, or specific status information in a specific screen

일 실시 예에 따르면, 도메인 분류기(911)는 복수의 도메인을 결정할 수 있다. 도메인 분류기(911)는 각 도메인에 대응하는 신뢰도 값(confidence level)을 더 결정할 수 있다. 일 실시 예에 따르면, 복수의 신뢰도 값의 총합은 1일 수 있다.According to one embodiment, the domain classifier 911 may determine a plurality of domains. The domain classifier 911 can further determine a confidence level corresponding to each domain. According to one embodiment, the sum of the plurality of confidence values may be one.

의도 분류기(912)는 사용자 발화에 해당하는 텍스트 또는 컨텍스트 정보 중 적어도 하나에 기반하여, 도메인 분류기(911)에 의해 결정된 도메인에서의 의도를 결정할 수 있다. 일 실시 예에 따르면, 의도는 도메인에 해당하는 앱을 이용하여 수행되는 동작에 해당할 수 있고, 의도 분류기(912)는 의도에 대응되는 패스 룰 ID를 결정할 수 있다.The intention classifier 912 may determine the intent in the domain determined by the domain classifier 911 based on at least one of the text or context information corresponding to the user utterance. According to an embodiment, the intention may correspond to an operation performed using an application corresponding to a domain, and the intention classifier 912 may determine a path rule ID corresponding to the intention.

일 실시 예에 따르면, 컨텍스트 정보는 사용자 발화가 입력되기 전 실행되던 앱 정보(또는, 백그라운드로 실행 중인 앱 정보) 또는 상기 앱의 스테이트 정보 등을 포함할 수 있다.According to one embodiment, the context information may include app information (or application information running in the background) that was executed before the user utterance was input, state information of the app, and the like.

일 실시 예에 따라, 도메인 분류기(911)가 복수의 도메인을 결정한 경우, 의도 분류기(912)는 복수의 도메인 각각에서의 의도를 결정할 수 있다.According to one embodiment, when the domain classifier 911 determines a plurality of domains, the intent classifier 912 may determine intent in each of the plurality of domains.

일 실시 예에 따르면, 의도 분류기(912)는 복수의 의도를 결정할 수 있다. 의도 분류기(912)는 각 의도에 대응하는 신뢰도 값을 더 결정할 수 있다. 일 실시 예에 따르면, 복수의 신뢰도 값의 총합은 1일 수 있다.According to one embodiment, the intent classifier 912 can determine a plurality of intentions. Intention classifier 912 may further determine a confidence value corresponding to each intent. According to one embodiment, the sum of the plurality of confidence values may be one.

슬롯 태거(913)는 사용자 발화에 해당하는 텍스트 및 의도 분류기(912)에 의해 결정된 의도(또는, 패스룰 ID)에 기반하여, 패스 룰 실행에 필요한 슬롯(slot)을 생성할 수 있다. 일 실시 예에 따라, 의도 분류기(912)가 복수의 의도를 결정한 경우, 슬롯 태거(913)는 복수의 의도를 위한 슬롯을 생성할 수 있다.Slot tagger 913 may generate a slot necessary for the execution of a path rule based on the intention (or path rule ID) determined by the text and intent classifier 912 corresponding to the user utterance. According to one embodiment, if intent classifier 912 has determined a plurality of intentions, slottener 913 may generate slots for a plurality of intentions.

일 실시 예에 따르면, 슬롯 태거(913)는 각 의도를 위한 복수의 슬롯을 생성할 수 있다. 슬롯 태거(913)는 각 슬롯에 대응하는 신뢰도 값을 더 결정할 수 있다. According to one embodiment, the slot tagger 913 may generate a plurality of slots for each intent. The slot tagger 913 can further determine the reliability value corresponding to each slot.

포맷 변환기(914)는 슬롯 태거(913)가 생성한 파라미터를 패스 플래너 모듈이 사용할 수 있는 포맷(format)으로 변경할 수 있다. 예를 들어, 포맷 변환기(914)는 '어제'라는 슬롯을 날짜(date)라는 포맷에 '-1'을 가진 데이터 형태로 변환할 수 있다.The format converter 914 can change the parameters generated by the slot tagger 913 into a format that can be used by the path planner module. For example, the format converter 914 may convert a slot called " yesterday " into a data format having a date of " -1 "

일 실시 예에 따르면, 자연어 이해 모듈은 도메인 분류기(911), 의도 분류기(912), 슬롯 태거(913) 및 포맷 변환기(914)와 같은 모듈들로 구성될 수 있고, 모듈들이 통합된 형태의 모듈로 구성될 수도 있다.According to one embodiment, the natural language understanding module may comprise modules such as a domain classifier 911, an intent classifier 912, a slot tagger 913, and a format converter 914, .

자연어 이해 모듈은 패스 룰 ID 및 슬롯을 패스 플래너 모듈로 전달할 수 있다. 패스 플래너 모듈은 슬롯을 패스 룰의 파라미터로 변경하고 전자 장치의 컨텍스트 정보 등을 이용하여 패스 룰을 생성하고 전자 장치로 전송할 수 있다.The natural language understanding module can pass the path rule ID and the slot to the path planner module. The path planner module can change the slot to a parameter of the path rule, generate the path rule using the context information of the electronic device, and transmit it to the electronic device.

도 10은 일 실시 예에 따른 패스 룰이 포함하는 동작을 나타낸다. 10 illustrates an operation that a pass rule according to an embodiment includes.

일 실시 예에서, 사용자 발화를 이용하여 지능형 서버(200)가 생성한 패스 룰은 도 10과 같이 동작 1 내지 동작 5를 포함할 수 있다.In one embodiment, the pass rules generated by the intelligent server 200 using user utterances may include operations 1 through 5 as shown in FIG.

예를 들어, 동작 1 내지 동작 5는 “하와이 사진 찾아줘”라는 사용자 발화에 기반하여 생성된 패스 룰에 따른 동작일 수 있고, 동작 1 내지 동작 5는 갤러리 앱을 이용하여 하와이에서 찍은 사진을 찾는 태스크에 해당할 수 있다.For example, Actions 1 through 5 may be actions based on a pass rule generated based on a user utterance of " Find a Hawaii photo ", and Actions 1 through 5 use a gallery app to find pictures taken in Hawaii This can be a task.

일 실시 예에 따르면, 지능형 서버(200)는, 전자 장치(100)가 홈(home) 화면을 표시할 때 상기 사용자 발화가 수신된 경우든 전자 장치(100)가 터치 등의 입력에 의해 동작 1 및 동작 2를 이미 수행한 때 상기 사용자 발화가 수신된 경우든, 갤러리 앱을 이용하여 하와이에서 찍은 사진을 찾도록 하는 패스 룰을 생성할 수 있다.According to one embodiment, the intelligent server 200 may be configured such that when the electronic device 100 displays a home screen, the electronic device 100, whether the user's utterance is received, And if the user utterance has been received when the action 2 has already been performed, a gallery rule may be used to generate a pass rule for finding a picture taken in Hawaii.

일 실시 예에서, 지능형 서버(200)의 자연어 이해 모듈은 사용자 발화에 해당하는 텍스트뿐만 아니라 컨텍스트 정보를 더 사용할 수 있다. 일 실시 예에 따르면, 지능형 서버(200)는 전자 장치(100)가 홈 화면을 표시할 때 사용자 발화가 수신된 경우와 전자 장치(100)가 터치 등의 입력에 의해 동작 1 및 동작 2를 이미 수행한 때 상기 사용자 발화가 수신된 경우의 패스 룰을 달리 생성할 수 있다. In one embodiment, the natural language understanding module of the intelligent server 200 may further use context information as well as text corresponding to a user utterance. According to one embodiment, the intelligent server 200 may be configured such that when a user utterance is received when the electronic device 100 displays a home screen and when the electronic device 100 has already received operations 1 and 2 The path rule in the case where the user utterance has been received may be generated.

예를 들어, 전자 장치(100)가 홈 화면을 표시할 때 “하와이 찾아줘”라는 사용자 발화가 수신된 경우, 지능형 서버(200)는 인터넷 앱에서 하와이를 검색하는 패스 룰을 생성할 수 있다.For example, when a user utterance of " Find Hawaii " is received when the electronic device 100 displays a home screen, the intelligent server 200 may generate a pass rule for searching Hawaii in the Internet app.

다른 예로, 전자 장치(100)가 갤러리 앱 화면을 표시할 때 “하와이 찾아줘”라는 사용자 발화가 수신된 경우, 지능형 서버(200)는 갤러리 앱에서 하와이 사진을 찾는 패스 룰을 생성할 수 있다. 이 때, 사용자 의도는 하와이를 인터넷에서 검색하는 것이었으나, 갤러리 앱이 실행된 상태에서 사용자 발화가 수신되어 하와이 사진을 찾는 패스 룰이 생성된 것일 수 있다.As another example, if a user utterance " Find Hawaii " is received when the electronic device 100 displays the gallery app screen, the intelligent server 200 may generate a pass rule for finding a Hawaii photo in the gallery app. At this time, although the intention of the user was to search Hawaii on the Internet, it may be that a pass rule is generated in which a user utterance is received while the gallery application is executed and a Hawaii photograph is searched.

지능형 서버(200)는 사용자 의도에 부합된 패스 룰을 생성하기 위해 아래에 설명될 방법으로 복수의 패스 룰 및 패스 룰에 대응하는 샘플 발화를 생성하여 전자 장치(100)로 전송할 수 있다. 구체적인 방법을 설명하기에 앞서, 도 11a 및 도 11b를 참조하여, 지능형 서버(200)가 생성한 복수의 샘플 발화가 전자 장치(100)에서 표시되는 화면을 설명한다.The intelligent server 200 may generate and send a sample speech corresponding to a plurality of pass rules and pass rules to the electronic device 100 in a manner to be described below to generate a pass rule conforming to the user's intention. Before describing a specific method, a screen displayed on the electronic device 100 by a plurality of sample utterances generated by the intelligent server 200 will be described with reference to Figs. 11A and 11B.

도 11a는 일 실시 예에 따른 갤러리 앱이 실행된 상태에서 사용자 발화가 입력된 것을 나타내는 도면이다.FIG. 11A is a diagram showing that a user utterance is input when a gallery app according to an embodiment is executed. FIG.

도 11b는 일 실시 예에 따른 복수의 샘플 발화가 표시되는 화면을 나타내는 도면이다.11B is a diagram illustrating a screen in which a plurality of sample utterances are displayed according to an embodiment.

일 실시 예에서, 전자 장치(100)는 도 11a에 도시된 것과 같이 갤러리 앱이 실행된 화면에서 “하와이 찾아줘”라는 사용자 발화(1101)를 수신하여 지능형 서버(200)로 전송할 수 있다.In one embodiment, the electronic device 100 may receive and send to the intelligent server 200 a user utterance 1101 of " Find Hawaii " on the screen where the gallery app is launched, as shown in FIG. 11A.

지능형 서버(200)는 “하와이 찾아줘”라는 사용자 발화에 해당하는 텍스트 및 실행된 앱이 갤러리 앱이라는 컨텍스트 정보를 이용하여, 갤러리 앱을 이용하여 하와이 사진을 찾는 패스 룰 및 인터넷 앱을 이용하여 하와이를 검색하는 패스 룰을 생성할 수 있다. 지능형 서버(200)는 각 패스 룰에 대응하는 샘플 발화를 생성하여 전자 장치(100)로 전송할 수 있다.The intelligent server 200 uses the text corresponding to the user's utterance "Find Hawaii" and the executed application using the context information called the gallery app, and using the gallery application, a pass rule for searching for a picture of Hawaii, A path rule can be generated to search for a path rule. The intelligent server 200 can generate a sample speech corresponding to each pass rule and transmit it to the electronic device 100. [

일 실시 예에서, 전자 장치(100)는 수신한 패스 룰에 대응하는 샘플 발화(1102)를 도 11b와 같이 표시하고, 샘플 발화를 선택하는 입력을 수신함으로써 선택된 샘플 발화에 대응하는 패스 룰을 실행할 수 있다.In one embodiment, the electronic device 100 displays a sample speech 1102 corresponding to the received path rule as shown in FIG. 11B, and executes a pass rule corresponding to the selected sample speech by receiving an input for selecting a sample speech .

이하에서는 도 12 및 도 13을 참조하여, 지능형 서버(200)가 복수의 샘플 발화를 전송하는 구체적인 방법을 설명한다.Hereinafter, with reference to FIG. 12 and FIG. 13, a specific method for the intelligent server 200 to transmit a plurality of sample utterances will be described.

도 12는 일 실시 예에 따른 지능형 서버(200)가 복수의 샘플 발화를 전송하는 방법을 나타내는 흐름도이다.12 is a flowchart illustrating a method of transmitting a plurality of sample utterances by the intelligent server 200 according to one embodiment.

도 12를 참조하면, 동작 1201에서, 도메인 분류기(911)는 사용자 발화에 해당하는 텍스트 또는 컨텍스트 정보 중 적어도 하나에 기반하여 적어도 하나의 도메인(또는, 앱)을 결정할 수 있다. 일 실시 예에 따르면, 도메인 분류기(911)는 적어도 하나의 도메인 각각에 대응하는 신뢰도 값을 더 결정할 수 있다.Referring to FIG. 12, in operation 1201, the domain classifier 911 may determine at least one domain (or an application) based on at least one of text or context information corresponding to a user utterance. According to one embodiment, the domain classifier 911 may further determine a confidence value corresponding to each of the at least one domain.

동작 1202에서, 지능형 서버(200)는 가장 큰 신뢰도 값을 가지는 도메인의 신뢰도 값이 지정된 값을 초과하는지를 판단할 수 있다. In operation 1202, the intelligent server 200 may determine whether the reliability value of the domain having the largest reliability value exceeds a specified value.

동작 1202의 결과로써 가장 큰 신뢰도 값을 가지는 도메인의 신뢰도 값이 지정된 값을 초과하는 경우, 동작 1203에서, 지능형 서버(200)는 사용자 발화 및 컨텍스트 정보에 따른 도메인을 가장 큰 신뢰도 값을 가지는 도메인으로 결정할 수 있다.If the reliability value of the domain having the highest reliability value as a result of the operation 1202 exceeds the designated value, in operation 1203, the intelligent server 200 sets the domain corresponding to the user's utterance and context information to the domain having the highest reliability value You can decide.

동작 1202의 결과로써 가장 큰 신뢰도 값을 가지는 도메인의 신뢰도 값이 지정된 값을 초과하지 않는 경우, 동작 1204에서, 지능형 서버(200)는 컨텍스트 정보를 이용하여 사용자 발화가 루트(root) 발화인지 여부를 판단할 수 있다. 일 실시 예에서, 루트 발화는 전자 장치(100)가 홈 화면을 표시하고 있을 때 지능형 서비스가 실행되어 수신된 사용자 발화를 의미할 수 있다. 일 실시 예에 따르면, 컨텍스트 정보는 지능형 서비스가 실행되기 전에 실행되던 앱 정보를 포함할 수 있고, 지능형 서버(200)는 이러한 컨텍스트 정보를 이용하여 사용자 발화가 루트 발화인지 여부를 판단할 수 있다.If the reliability value of the domain having the highest reliability value as a result of the operation 1202 does not exceed the designated value, at operation 1204, the intelligent server 200 uses the context information to determine whether the user's utterance is root utterance It can be judged. In one embodiment, the root utterance may mean that the intelligent service is executed and the received user utterance when the electronic device 100 is displaying the home screen. According to one embodiment, the context information may include app information that was executed before the intelligent service was executed, and the intelligent server 200 may use this context information to determine whether the user utterance is root utterance.

동작 1202의 결과로써 사용자 발화가 루트 발화가 아닌 경우, 동작 1205에서, 도메인 분류기(911)는 사용자 발화가 루트 발화임을 전제로, 사용자 발화에 기반하여 적어도 하나의 도메인(또는, 앱)을 결정할 수 있다. 일 실시 예에 따르면, 도메인 분류기(911)는 적어도 하나의 도메인 각각에 대응하는 신뢰도 값을 더 결정할 수 있다.If the user utterance is not the root utterance as a result of operation 1202, then at operation 1205, the domain classifier 911 may determine at least one domain (or app) based on the user utterance, assuming that the user utterance is root utterance have. According to one embodiment, the domain classifier 911 may further determine a confidence value corresponding to each of the at least one domain.

동작 1206에서, 의도 분류기(912)는 사용자 발화에 해당하는 텍스트 또는 컨텍스트 정보 중 적어도 하나에 기반하여, 동작 1201에서 결정된 적어도 하나의 도메인 중 신뢰도 값이 가장 큰 제1 도메인에서의 적어도 하나의 의도 및 동작 1205에서 결정된 적어도 하나의 도메인 중 신뢰도 값이 가장 큰 제2 도메인에서의 적어도 하나의 의도를 결정할 수 있다. 일 실시 예에 따르면, 의도 분류기(912)는 의도에 대응되는 패스 룰 ID를 결정할 수 있다. 일 실시 예에 따르면, 의도 분류기(912)는 적어도 하나의 의도 각각에 대응하는 신뢰도 값을 더 결정할 수 있다. At operation 1206, the Intent Classifier 912 determines at least one intention in the first domain having the highest confidence value among at least one domain determined in operation 1201, based on at least one of text or context information corresponding to a user utterance May determine at least one intention in the second domain with the highest confidence value among the at least one domain determined in operation 1205. [ According to one embodiment, the intent classifier 912 may determine the path rule ID corresponding to the intent. According to one embodiment, the intent classifier 912 may further determine a confidence value corresponding to each of the at least one intent.

동작 1207에서, 지능형 서버(200)는 제1 도메인에서의 적어도 하나의 의도(또는, 패스 룰 ID) 중 신뢰도 값이 큰 지정된 개수의 의도와 사용자 발화를 이용하여 각 의도에 대응하는 패스 룰을 생성할 수 있다. 또한, 지능형 서버(200)는 제2 도메인에서의 적어도 하나의 의도 중 신뢰도 값이 큰 지정된 개수의 의도와 사용자 발화를 이용하여 각 의도에 대응하는 패스 룰을 생성할 수 있다. 일 실시 예에 따라, 지능형 서버(200)는 패스 룰에 대응하는 샘플 발화를 더 생성할 수 있다.In operation 1207, the intelligent server 200 generates a path rule corresponding to each intention using a predetermined number of intentions and user utterances having a high reliability value among at least one intention (or path rule ID) in the first domain can do. In addition, the intelligent server 200 may generate a path rule corresponding to each intention using a predetermined number of intentions and a user utterance having a high reliability value among at least one intent in the second domain. According to one embodiment, the intelligent server 200 may further generate a sample speech corresponding to a pass rule.

예를 들어, 지능형 서버(200)는 제1 도메인에서의 5개의 의도 중 신뢰도 값이 큰 순으로 상위 2개에 해당하는 의도와 사용자 발화를 이용하여 각 의도에 대응하는 2개의 패스 룰을 생성할 수 있다. 또한, 지능형 서버(200)는 제2 도메인에서의 4개의 의도 중 신뢰도 값이 큰 순으로 상위 2개에 해당하는 의도와 사용자 발화를 이용하여 각 의도에 대응하는 2개의 패스 룰을 생성할 수 있다. 다시 말해, 지능형 서버(200)는 총 4개의 패스 룰을 생성할 수 있다.For example, the intelligent server 200 generates two path rules corresponding to each intention using the intention corresponding to the upper two intention and the user utterance in the descending order of the confidence value among the five intentions in the first domain . Also, the intelligent server 200 can generate two path rules corresponding to each intention using the intention corresponding to the top two and the user utterance in the descending order of the reliability value among the four intentions in the second domain . In other words, the intelligent server 200 can generate a total of four pass rules.

일 실시 예에서, 지능형 서버(200)는 각 패스 룰의 의도를 표현하는 대표 문장(RU, representative utterance)을 저장할 수 있다. 일 실시 예에 따르면, 지능형 서버(200)는 대표 문장들을 사용자가 이해하기 쉽게 표현한 대표 문장(RFU, representative friendly utterance)들을 더 저장할 수 있다. 지능형 서버(200)는 RFU를 이용하여 패스 룰에 대응하는 샘플 발화를 생성할 수 있다.In one embodiment, the intelligent server 200 may store a representative sentence (RU) representing the intent of each pass rule. According to one embodiment, the intelligent server 200 may further store representative sentences (RFUs, representative friendly utterances) that are easily understood by the user. The intelligent server 200 can generate a sample speech corresponding to the pass rule using the RFU.

예를 들어, 지능형 서버(200)는 RFU를 이용하여 “하와이에서 찍은 사진을 그 뭐냐, 메시지를 통해서 엠마에게 보내줄래”라는 사용자가 발화에 대응하는 텍스트를 이용하여 “하와이에서 찍은 사진, 엠마에게 메시지 보내줘”라는 샘플 발화를 생성할 수 있다.For example, the intelligent server 200 may use the RFU to allow the user to "send a picture taken in Hawaii to Emma via the message," using text corresponding to the utterance, "a picture taken in Hawaii, Send a message ".

일 실시 예에 따르면, 지능형 서버(200)는 RFU 내의 파라미터를 사용자 발화에 대응하는 텍스트로부터 생성된 파라미터로 변경하여 샘플 발화를 생성할 수 있다.According to one embodiment, the intelligent server 200 may generate a sample utterance by changing parameters in the RFU to parameters generated from text corresponding to a user utterance.

예를 들어, 지능형 서버(200)에 저장된 RFU가 “하와이에서 찍은 사진, 엠마에게 메시지 보내줘”이고, 사용자 발화에 대응하는 텍스트가 “도쿄에서 찍었던 사진을 메시지를 통해서 토미에게 보내”일 수 있다. 지능형 서버(200)는 RFU 내의 '하와이'를 '도쿄'로 변경하고, '엠마'를 '토미'로 변경하여 “토쿄에서 찍은 사진, 토미에게 메시지 보내줘'라는 샘플 발화를 생성할 수 있다. For example, the RFU stored in the intelligent server 200 may be a "picture taken in Hawaii, a message to Emma", and a text corresponding to a user utterance "send a picture to Tommy through a message" taken in Tokyo. The intelligent server 200 can change the 'Hawaii' in the RFU to 'Tokyo' and the 'Emma' to 'Tommy' to generate a sample speech 'Send a message to Tommy, a picture taken in Tokyo'.

일 실시 예에서, 동작 1202의 결과로써 사용자 발화가 루트 발화인 경우, 동작 1208에서, 의도 분류기(912)는 사용자 발화에 해당하는 텍스트 또는 컨텍스트 정보 중 적어도 하나에 기반하여, 동작 1201에서 결정된 적어도 하나의 도메인 중 신뢰도 값이 큰 지정된 개수의 도메인 각각에서의 적어도 하나의 의도를 결정할 수 있다. 일 실시 예에 따르면, 의도 분류기(912)는 의도에 대응되는 패스 룰 ID를 결정할 수 있다. 일 실시 예에 따르면, 의도 분류기(912)는 적어도 하나의 의도 각각에 대응하는 신뢰도 값을 더 결정할 수 있다.In one embodiment, if the user utterance as a result of operation 1202 is a root utterance, then at operation 1208, the intent classifier 912 may generate at least one of the at least one Lt; / RTI > of a given number of domains with a high confidence value among the domains of the plurality of domains. According to one embodiment, the intent classifier 912 may determine the path rule ID corresponding to the intent. According to one embodiment, the intent classifier 912 may further determine a confidence value corresponding to each of the at least one intent.

예를 들어, 의도 분류기(912)는 동작 1201에서 결정된 적어도 하나의 도메인 중 신뢰도 값이 가장 큰 제1 도메인에서의 적어도 하나의 의도를 결정할 수 있고, 동작 1201에서 결정된 적어도 하나의 도메인 중 신뢰도 값이 두 번째로 큰 제3 도메인에서의 적어도 하나의 의도를 결정할 수 있다.For example, the Intent Classifier 912 may determine at least one intention in the first domain with the highest confidence value among the at least one domain determined in operation 1201, and the confidence value among at least one domain determined in operation 1201 It is possible to determine at least one intention in the second largest third domain.

다른 예로, 의도 분류기(912)는 동작 1201에서 결정된 적어도 하나의 도메인 중 신뢰도 값이 가장 큰 제1 도메인만에서의 적어도 하나의 의도를 결정할 수도 있다.In another example, the Intent Classifier 912 may determine at least one intention in only the first domain with the highest confidence value among the at least one domain determined in operation 1201. [

일 실시 예에서, 동작 1202의 결과로써 사용자 발화가 루트 발화인 경우, 동작 1208 후, 동작 1207에서, 지능형 서버(200)는 제1 도메인에서의 적어도 하나의 의도(또는, 패스 룰 ID) 중 신뢰도 값이 큰 지정된 개수의 의도와 사용자 발화를 이용하여 각 의도에 대응하는 패스 룰을 생성할 수 있다. 또한, 지능형 서버(200)는 제3 도메인에서의 적어도 하나의 의도 중 신뢰도 값이 큰 지정된 개수의 의도와 사용자 발화를 이용하여 각 의도에 대응하는 패스 룰을 생성할 수 있다. 일 실시 예에 따라, 지능형 서버(200)는 패스 룰에 대응하는 샘플 발화를 더 생성할 수 있다.In operation 1207, after an operation 1208, if the user utterance is root utterance as a result of operation 1202, the intelligent server 200 determines the reliability (or pass rule ID) of at least one intention A path rule corresponding to each intention can be generated using a specified number of intention values and a user utterance. In addition, the intelligent server 200 can generate a path rule corresponding to each intention using a predetermined number of intentions and user utterances having a higher confidence value among at least one intent in the third domain. According to one embodiment, the intelligent server 200 may further generate a sample speech corresponding to a pass rule.

예를 들어, 지능형 서버(200)는 제1 도메인에서의 5개의 의도 중 신뢰도 값이 큰 순으로 상위 2개에 해당하는 의도와 사용자 발화를 이용하여 각 의도에 대응하는 2개의 패스 룰을 생성할 수 있다. 또한, 지능형 서버(200)는 제3 도메인에서의 3개의 의도 중 신뢰도 값이 큰 순으로 상위 2개에 해당하는 의도와 사용자 발화를 이용하여 각 의도에 대응하는 2개의 패스 룰을 생성할 수 있다. 다시 말해, 지능형 서버(200)는 총 4개의 패스 룰을 생성할 수 있다.For example, the intelligent server 200 generates two path rules corresponding to each intention using the intention corresponding to the upper two intention and the user utterance in the descending order of the confidence value among the five intentions in the first domain . In addition, the intelligent server 200 can generate two path rules corresponding to each intention using the intention corresponding to the top two and the user utterance in the descending order of the reliability values among the three intentions in the third domain . In other words, the intelligent server 200 can generate a total of four pass rules.

다른 예로, 지능형 서버(200)는 제1 도메인에서의 5개의 의도 중 신뢰도 값이 큰 순으로 상위 4개에 해당하는 의도와 사용자 발화를 이용하여 각 의도에 대응하는 4개의 패스 룰을 생성할 수 있다.As another example, the intelligent server 200 can generate four path rules corresponding to each intention using intention and user utterance corresponding to the top four in order of increasing confidence value among the five intentions in the first domain have.

동작 1209에서, 지능형 서버(200)는 생성된 패스 룰 및 패스 룰에 대응하는 샘플 발화를 전자 장치(100)로 전송할 수 있다.At operation 1209, the intelligent server 200 may send a sample speech corresponding to the generated pass rule and pass rule to the electronic device 100.

도 13은 일 실시 예에 따른 지능형 서버(200)가 복수의 샘플 발화를 전송하는 방법을 나타내는 흐름도이다.13 is a flowchart illustrating a method of transmitting a plurality of sample utterances by the intelligent server 200 according to one embodiment.

도 13을 참조하면, 동작 1301에서, 도메인 분류기(911)는 사용자 발화에 해당하는 텍스트 또는 컨텍스트 정보 중 적어도 하나에 기반하여 적어도 하나의 도메인(또는, 앱)을 결정할 수 있다. 일 실시 예에 따르면, 도메인 분류기(911)는 적어도 하나의 도메인 각각에 대응하는 신뢰도 값을 더 결정할 수 있다.Referring to FIG. 13, in operation 1301, the domain classifier 911 may determine at least one domain (or an application) based on at least one of text or context information corresponding to a user utterance. According to one embodiment, the domain classifier 911 may further determine a confidence value corresponding to each of the at least one domain.

동작 1302에서, 의도 분류기(912)는 사용자 발화에 해당하는 텍스트 또는 컨텍스트 정보 중 적어도 하나에 기반하여, 동작 1201에서 결정된 적어도 하나의 도메인 중 신뢰도 값이 가장 큰 제1 도메인에서의 적어도 하나의 의도를 결정할 수 있다. 일 실시 예에 따르면, 의도 분류기(912)는 의도에 대응되는 패스 룰 ID를 결정할 수 있다. 일 실시 예에 따르면, 의도 분류기(912)는 적어도 하나의 의도 각각에 대응하는 신뢰도 값을 더 결정할 수 있다. At operation 1302, the Intent Classifier 912 determines at least one intention in the first domain with the highest confidence value among at least one domain determined in operation 1201, based on at least one of text or context information corresponding to the user utterance You can decide. According to one embodiment, the intent classifier 912 may determine the path rule ID corresponding to the intent. According to one embodiment, the intent classifier 912 may further determine a confidence value corresponding to each of the at least one intent.

동작 1303에서, 지능형 서버(200)는 가장 큰 신뢰도 값을 가지는 의도의 신뢰도 값이 지정된 값을 초과하는지를 판단할 수 있다.At operation 1303, the intelligent server 200 may determine if the confidence value of the intent with the greatest confidence value exceeds a specified value.

동작 1303의 결과로써 가장 큰 신뢰도 값을 가지는 의도의 신뢰도 값이 지정된 값을 초과하는 경우, 동작 1304에서, 지능형 서버(200)는 사용자 발화 및 컨텍스트 정보에 따른 의도를 가장 큰 신뢰도 값을 가지는 의도로 결정할 수 있다.If the confidence value of the intent with the highest confidence value as a result of operation 1303 exceeds a specified value, then at operation 1304, the intelligent server 200 will intention to the user utterance and context information with the intention of having the highest confidence value You can decide.

동작 1303의 결과로써 가장 큰 신뢰도 값을 가지는 의도의 신뢰도 값이 지정된 값을 초과하지 않는 경우, 동작 1305에서, 지능형 서버(200)는 컨텍스트 정보를 이용하여 사용자 발화가 루트 발화인지 여부를 판단할 수 있다. 일 실시 예에 따르면, 컨텍스트 정보는 지능형 서비스가 실행되기 전에 실행되던 앱 정보를 포함할 수 있고, 지능형 서버(200)는 이러한 컨텍스트 정보를 이용하여 사용자 발화가 루트 발화인지 여부를 판단할 수 있다.If the confidence value of the intent with the highest confidence value as a result of operation 1303 does not exceed the specified value, then at operation 1305, the intelligent server 200 may use the context information to determine whether the user utterance is root utterance have. According to one embodiment, the context information may include app information that was executed before the intelligent service was executed, and the intelligent server 200 may use this context information to determine whether the user utterance is root utterance.

동작 1303의 결과로써 사용자 발화가 루트 발화가 아닌 경우, 동작 1306에서, 도메인 분류기(911)는 사용자 발화가 지정된 상태에서의 사용자 발화임을 전제로, 사용자 발화에 기반하여 적어도 하나의 도메인(또는, 앱)을 결정할 수 있다. 일 실시 예에 따르면, 도메인 분류기(911)는 적어도 하나의 도메인 각각에 대응하는 신뢰도 값을 더 결정할 수 있다.If, as a result of operation 1303, the user utterance is not a root utterance, then at operation 1306, the domain classifier 911 determines whether the user utterance is a user utterance in the specified state, Can be determined. According to one embodiment, the domain classifier 911 may further determine a confidence value corresponding to each of the at least one domain.

일 실시 예에서, 지정된 상태는 전자 장치(100)가 홈 화면을 표시하고 있을 때 지능형 서비스가 실행된 상태, 전자 장치(100)의 화면이 표시되기 바로 전 화면이 표시될 때 지능형 서비스가 실행된 상태 또는 전자 장치(100)가 실행 중이던 앱의 지정된 대표 화면이 표시될 때 지능형 서비스가 실행된 상태 등을 포함할 수 있다.In one embodiment, the designated state is a state in which the intelligent service is executed when the electronic device 100 displays the home screen, a state in which the intelligent service is executed when the screen immediately before the screen of the electronic device 100 is displayed, Or a state in which the intelligent service is executed when the designated representative screen of the application in which the electronic device 100 is being executed is displayed.

동작 1307에서, 의도 분류기(912)는 사용자 발화에 해당하는 텍스트 또는 컨텍스트 정보 중 적어도 하나에 기반하여, 동작 1306에서 결정된 적어도 하나의 도메인 중 신뢰도 값이 가장 큰 제2 도메인에서의 적어도 하나의 의도를 결정할 수 있다. 일 실시 예에 따르면, 의도 분류기(912)는 의도에 대응되는 패스 룰 ID를 결정할 수 있다. 일 실시 예에 따르면, 의도 분류기(912)는 적어도 하나의 의도 각각에 대응하는 신뢰도 값을 더 결정할 수 있다.At operation 1307, the Intent Classifier 912 determines at least one intention in the second domain with the highest confidence value among at least one domain determined in operation 1306, based on at least one of text or context information corresponding to the user utterance You can decide. According to one embodiment, the intent classifier 912 may determine the path rule ID corresponding to the intent. According to one embodiment, the intent classifier 912 may further determine a confidence value corresponding to each of the at least one intent.

일 실시 예에서, 동작 1306에서 결정된 적어도 하나의 도메인이 동작 1301에서 결정된 적어도 하나의 도메인과 동일한 경우, 의도 분류기(912)는 상기 지정된 상태에 해당하는 컨텍스트 정보를 이용하여 제2 도메인에서의 적어도 하나의 의도를 결정할 수 있다. 예를 들어, 의도 분류기(912)는 전자 장치(100)의 화면이 표시되기 바로 전 화면이 표시될 때 지능형 서비스가 실행된 상태에서 사용자 발화가 수신된 것을 전제로, 제2 도메인에서의 적어도 하나의 의도를 결정할 수 있다.In one embodiment, if at least one domain determined in operation 1306 is the same as at least one domain determined in operation 1301, then the intent classifier 912 uses context information corresponding to the specified state to determine at least one Can be determined. For example, when the screen of the electronic device 100 is displayed before the screen of the electronic device 100 is displayed, assuming that the user's utterance is received in the state where the intelligent service is executed, at least one Can be determined.

일 실시 예에서, 동작 1303의 결과로써 사용자 발화가 루트 발화가 아닌 경우, 지능형 서버(200)는 동작 1306을 수행하지 않고, 동작 1307에서, 의도 분류기(912)는 상기 지정된 상태에 해당하는 컨텍스트 정보를 이용하여 제2 도메인에서의 적어도 하나의 의도를 결정할 수 있다.In one embodiment, if the user utterance is not a root utterance as a result of operation 1303, the intelligent server 200 does not perform operation 1306, and in operation 1307, the intent classifier 912 receives context information May be used to determine at least one intention in the second domain.

동작 1308에서, 지능형 서버(200)는 제1 도메인에서의 적어도 하나의 의도(또는, 패스 룰 ID) 중 신뢰도 값이 큰 지정된 개수의 의도와 사용자 발화를 이용하여 각 의도에 대응하는 패스 룰을 생성할 수 있다. 또한, 지능형 서버(200)는 제2 도메인에서의 적어도 하나의 의도 중 신뢰도 값이 큰 지정된 개수의 의도와 사용자 발화를 이용하여 각 의도에 대응하는 패스 룰을 생성할 수 있다. 일 실시 예에 따라, 지능형 서버(200)는 패스 룰에 대응하는 샘플 발화를 더 생성할 수 있다.In operation 1308, the intelligent server 200 generates a path rule corresponding to each intention using a predetermined number of intentions and user utterances having a high reliability value among at least one intention (or path rule ID) in the first domain can do. In addition, the intelligent server 200 may generate a path rule corresponding to each intention using a predetermined number of intentions and a user utterance having a high reliability value among at least one intent in the second domain. According to one embodiment, the intelligent server 200 may further generate a sample speech corresponding to a pass rule.

예를 들어, 지능형 서버(200)는 제1 도메인에서의 5개의 의도 중 신뢰도 값이 큰 순으로 상위 2개에 해당하는 의도와 사용자 발화를 이용하여 각 의도에 대응하는 2개의 패스 룰을 생성할 수 있다. 또한, 지능형 서버(200)는 제2 도메인에서의 4개의 의도 중 신뢰도 값이 큰 순으로 상위 2개에 해당하는 의도와 사용자 발화를 이용하여 각 의도에 대응하는 2개의 패스 룰을 생성할 수 있다. 다시 말해, 지능형 서버(200)는 총 4개의 패스 룰을 생성할 수 있다.For example, the intelligent server 200 generates two path rules corresponding to each intention using the intention corresponding to the upper two intention and the user utterance in the descending order of the confidence value among the five intentions in the first domain . Also, the intelligent server 200 can generate two path rules corresponding to each intention using the intention corresponding to the top two and the user utterance in the descending order of the reliability value among the four intentions in the second domain . In other words, the intelligent server 200 can generate a total of four pass rules.

일 실시 예에서, 동작 1303의 결과로써 사용자 발화가 루트 발화인 경우, 동작 1309에서, 의도 분류기(912)는 사용자 발화에 해당하는 텍스트 또는 컨텍스트 정보 중 적어도 하나에 기반하여, 동작 1301에서 결정된 적어도 하나의 도메인 중 신뢰도 값이 큰 지정된 개수의 도메인 각각에서의 적어도 하나의 의도를 결정할 수 있다. 일 실시 예에 따르면, 의도 분류기(912)는 의도에 대응되는 패스 룰 ID를 결정할 수 있다. 일 실시 예에 따르면, 의도 분류기(912)는 적어도 하나의 의도 각각에 대응하는 신뢰도 값을 더 결정할 수 있다.In one embodiment, if the user utterance is the root utterance as a result of operation 1303, then at operation 1309, the intent classifier 912 generates at least one of the at least one Lt; / RTI > of a given number of domains with a high confidence value among the domains of the plurality of domains. According to one embodiment, the intent classifier 912 may determine the path rule ID corresponding to the intent. According to one embodiment, the intent classifier 912 may further determine a confidence value corresponding to each of the at least one intent.

예를 들어, 의도 분류기(912)는 동작 1302에서 제1 도메인에서의 적어도 하나의 의도를 결정하였으므로, 동작 1301에서 결정된 적어도 하나의 도메인 중 신뢰도 값이 두 번째로 큰 제3 도메인에서의 적어도 하나의 의도를 더 결정할 수 있다.For example, since the intent classifier 912 has determined at least one intent in the first domain in operation 1302, the trust value of at least one domain determined in operation 1301 is at least one The intention can be further determined.

일 실시 예에서, 동작 1303의 결과로써 사용자 발화가 루트 발화인 경우, 동작 1309 후, 동작 1308에서, 지능형 서버(200)는 제1 도메인에서의 적어도 하나의 의도(또는, 패스 룰 ID) 중 신뢰도 값이 큰 지정된 개수의 의도와 사용자 발화를 이용하여 각 의도에 대응하는 패스 룰을 생성할 수 있다. 또한, 지능형 서버(200)는 제3 도메인에서의 적어도 하나의 의도 중 신뢰도 값이 큰 지정된 개수의 의도와 사용자 발화를 이용하여 각 의도에 대응하는 패스 룰을 생성할 수 있다. 일 실시 예에 따라, 지능형 서버(200)는 패스 룰에 대응하는 샘플 발화를 더 생성할 수 있다.In operation 1308, after operation 1309, if the user utterance is the root utterance as a result of operation 1303, the intelligent server 200 determines the reliability (or pass rule ID) of at least one intention A path rule corresponding to each intention can be generated using a specified number of intention values and a user utterance. In addition, the intelligent server 200 can generate a path rule corresponding to each intention using a predetermined number of intentions and user utterances having a higher confidence value among at least one intent in the third domain. According to one embodiment, the intelligent server 200 may further generate a sample speech corresponding to a pass rule.

예를 들어, 지능형 서버(200)는 제1 도메인에서의 5개의 의도 중 신뢰도 값이 큰 순으로 상위 2개에 해당하는 의도와 사용자 발화를 이용하여 각 의도에 대응하는 2개의 패스 룰을 생성할 수 있다. 또한, 지능형 서버(200)는 제3 도메인에서의 3개의 의도 중 신뢰도 값이 큰 순으로 상위 2개에 해당하는 의도와 사용자 발화를 이용하여 각 의도에 대응하는 2개의 패스 룰을 생성할 수 있다. 다시 말해, 지능형 서버(200)는 총 4개의 패스 룰을 생성할 수 있다.For example, the intelligent server 200 generates two path rules corresponding to each intention using the intention corresponding to the upper two intention and the user utterance in the descending order of the confidence value among the five intentions in the first domain . In addition, the intelligent server 200 can generate two path rules corresponding to each intention using the intention corresponding to the top two and the user utterance in the descending order of the reliability values among the three intentions in the third domain . In other words, the intelligent server 200 can generate a total of four pass rules.

동작 1310에서, 지능형 서버(200)는 생성된 패스 룰 및 패스 룰에 대응하는 샘플 발화를 전자 장치(100)로 전송할 수 있다.At operation 1310, the intelligent server 200 may send a sample speech corresponding to the generated pass rule and pass rule to the electronic device 100. [

상술된 동작 1201 내지 동작 1209 및 동작 1301 내지 동작 1310은 지능형 서버(200)의 도메인 분류기(911) 및 의도 분류기(912)가 별도로 구성됨을 전제로 설명되었다. 다양한 실시 예에 따라, 지능형 서버(200)는 도메인 분류기(911) 및 의도 분류기(912)를 통합적으로 구성하여, 사용자 발화에 해당하는 텍스트 또는 컨텍스트 정보 중 적어도 하나를 이용하여 도메인 및 의도를 결정할 수 있다. 다양한 실시 예에 따르는 경우에도, 지능형 서버(200)는 도메인 및 의도에 대응하는 신뢰도 값을 결정할 수 있고, 복수의 패스 룰을 생성할 수 있다.Operations 1201 to 1209 and operations 1301 to 1310 have been described on the assumption that the domain classifier 911 and the intent classifier 912 of the intelligent server 200 are separately configured. According to various embodiments, the intelligent server 200 may collectively configure the domain classifier 911 and the intent classifier 912 to determine the domain and intent using at least one of the textual or contextual information corresponding to the user utterance have. Even in accordance with various embodiments, the intelligent server 200 can determine a confidence value corresponding to a domain and an intention, and can generate a plurality of pass rules.

다양한 실시 예에 따라, 지능형 서버(200)는 사용자 발화에 해당하는 텍스트 및 의도 분류기(912)에 의해 결정된 의도에 기반하여 슬롯을 생성할 수 있고, 슬롯에 대응하는 신뢰도 값을 결정할 수 있다. 지능형 서버(200)는 지정된 값 이하의 신뢰도 값을 갖는 슬롯에 해당하는 파라미터를 수정하기 위한 데이터를 전자 장치(100)로 전송할 수 있다. 전자 장치(100)가 파라미터를 수정하기 위한 동작은 아래에서 설명될 것이다.According to various embodiments, the intelligent server 200 may generate a slot based on the intent determined by the text and intent classifier 912 corresponding to the user utterance, and may determine a confidence value corresponding to the slot. The intelligent server 200 may transmit data to the electronic device 100 to modify the parameter corresponding to the slot having the reliability value of the specified value or less. The operation for the electronic device 100 to modify the parameters will be described below.

다양한 실시 예에 따라, 지능형 서버(200)는 사용자 발화로부터 결정되는 의도가 복수의 도메인에 해당될 수 있어서 하나의 패스 룰을 결정할 수 없는 경우, 복수의 도메인에 대응하는 복수의 패스 룰을 생성하여 전자 장치(100)로 전송할 수 있다. 지능형 서버(200)는 복수의 패스 룰을 야기하는 별도의 패스 룰 ID(예: 컨플릭트(conflict) 패스 룰 ID)를 지정하고, 상기와 같은 경우에 패스 룰 ID를 별도의 패스 룰 ID로 결정할 수 있다.According to various embodiments, the intelligent server 200 may generate a plurality of pass rules corresponding to a plurality of domains when the intent determined from the user utterance may correspond to a plurality of domains and one pass rule can not be determined To the electronic device (100). The intelligent server 200 specifies a separate path rule ID (e.g., a conflict path rule ID) that causes a plurality of path rules, and determines the path rule ID as a separate path rule ID in the above case have.

예를 들어, 사용자 발화가 “엄마에게 늦는다고 보내줘”인 경우, 결정되는 의도인 엄마에게 '늦는다'는 문장을 보내는 동작은 이메일 앱, 메시지 앱 및 메신저 앱 등을 이용하여 수행될 수 있다. 예시에서, 지능형 서버(200)는 패스 룰 ID를 별도의 패스 룰 ID로 결정하고, 이메일 앱, 메시지 앱 및 메신저 앱을 사용하는 복수의 패스 룰을 생성하여 전자 장치(100)로 전송할 수 있다. 전자 장치(100)는 패스 룰을 실행할 때, 앱을 선택하는 사용자 입력을 수신하여 사용자 입력에 대응하는 패스 룰을 실행할 수 있다. 일 실시 예에 따르면, 전자 장치(100)는 사용자의 선호 앱 설정 값을 저장할 수 있고, 설정 값에 대응하는 패스 룰을 실행할 수 있다.For example, when the user utterance is " send to the mother late ", the operation of sending the statement " late " to the mother whose intention is determined may be performed using an e-mail app, a message app, and a messenger app. In the example, the intelligent server 200 may determine the path rule ID as a separate path rule ID, and may generate and pass multiple path rules using the email app, the message app, and the messenger app to the electronic device 100. When executing the pass rule, the electronic device 100 may receive a user input for selecting an app and execute a pass rule corresponding to the user input. According to one embodiment, the electronic device 100 may store the user's preference settings and execute the pass rules corresponding to the preference values.

다른 예로, 사용자 발화가 “이 사진을 편집해줘”인 경우, 결정되는 의도인 사진을 편집하는 동작은 갤러리 앱, 360 사진 편집 앱 및 움직이는 사진 편집 앱 등을 이용하여 수행될 수 있다. 예시에서, 지능형 서버(200)는 패스 룰 ID를 별도의 패스 룰 ID로 결정하고, 갤러리 앱, 360 사진 편집 앱 및 움직이는 사진 편집 앱을 사용하는 복수의 패스 룰을 생성하여 전자 장치(100)로 전송할 수 있다. 전자 장치(100)는 편집 대상에 해당하는 사진의 종류 정보에 대응하는 패스 룰을 실행할 수 있다. 예를 들어, 사진의 종류가 360 사진인 경우, 전자 장치(100)는 360 사진 편집 앱에 대응하는 패스 룰을 실행할 수 있다.As another example, when the user's utterance is " edit this photo ", the operation of editing the photograph intended to be determined can be performed using a gallery app, a 360 photo editing app, and a moving photo editing app. In the example, the intelligent server 200 determines the pass rule ID as a separate pass rule ID, and generates a plurality of pass rules using the gallery app, the 360 photo editing app, and the moving photo editing app, Lt; / RTI > The electronic device 100 can execute the pass rule corresponding to the type information of the photograph corresponding to the editing object. For example, if the type of picture is 360 pictures, the electronic device 100 may execute a pass rule corresponding to the 360 picture editing application.

이하에서는 지능형 서버(200)가 전송한 복수의 패스 룰 및 복수의 패스 룰에 대응하는 샘플 발화가 동작 803에서 전자 장치(100)가 수신한 응답에 포함된 경우, 동작 804 내지 동작 806의 구체적인 동작이 설명된다.Hereinafter, when the sample utterance corresponding to the plurality of path rules and the plurality of path rules transmitted by the intelligent server 200 is included in the response received by the electronic device 100 at the operation 803, the specific operations of the operations 804 to 806 .

일 실시 예에 따른 동작 804에서, 프로세서(150)는 디스플레이(120)에 복수의 샘플 발화를 표시할 수 있다. 동작 805에서, 프로세서(150)는 마이크로폰(111) 또는 터치스크린 디스플레이(120)를 통해 복수의 샘플 발화 중 하나를 선택하기 위한 제1 사용자 입력을 수신할 수 있다. 동작 806에서, 프로세서(150)는 선택된 샘플 발화와 관련된 태스크를 수행할 수 있다.In an operation 804 according to an embodiment, the processor 150 may display a plurality of sample utterances on the display 120. At operation 805, the processor 150 may receive a first user input for selecting one of a plurality of sample utterances via the microphone 111 or the touch screen display 120. [ At operation 806, the processor 150 may perform a task associated with the selected sample utterance.

일 실시 예에 따른 동작 805에서, 복수의 샘플 발화는 사용자 발화의 제1 의도를 나타내는 제1 샘플 발화 및 제1 의도와 다른 제2 의도를 나타내는 제2 샘플 발화를 포함할 수 있다. 일 실시 예에 따르면 복수의 샘플 발화는 제1 패스 룰에 대응하는 제1 샘플 발화 및 제2 패스 룰에 대응하는 제2 샘플 발화를 포함할 수 있다.In an operation 805 according to an embodiment, a plurality of sample utterances may include a first sample utterance representing a first intent of user utterance and a second sample utterance representing a second intent other than a first intent. According to one embodiment, a plurality of sample utterances may comprise a first sample utterance corresponding to a first pass rule and a second sample utterance corresponding to a second pass rule.

일 실시 예에서, 프로세서(150)는 제1 사용자 입력 수신에 응답하여, 선택된 샘플 발화와 관련된 스테이트들의 시퀀스와 관련된 정보를 표시할 수 있다. 일 실시 예에 따르면, 프로세서(150)는 선택된 샘플 발화를 다시 선택하는 제2 사용자 입력을 수신할 수 있다. 프로세서(150)는 선택된 샘플 발화 스테이트들의 시퀀스를 갖도록 함으로써 제2 사용자 입력 수신에 응답하여, 동작 806에 따라 선택된 샘플 발화와 관련된 태스크를 수행할 수 있다.In one embodiment, the processor 150, in response to receiving the first user input, may display information associated with the sequence of states associated with the selected sample utterance. According to one embodiment, the processor 150 may receive a second user input that again selects the selected sample speech. Processor 150 may perform a task associated with the selected sample utterance in accordance with operation 806 in response to receiving the second user input by having the selected sample utterance state sequence.

일 실시 예에 따르면, 선택된 샘플 발화와 관련된 스테이트들의 시퀀스와 관련된 정보는 스테이트들의 시퀀스(또는, 패스 룰)의 동작에 대한 설명 또는 상기 태스크를 수행하도록 하는 발화를 포함할 수 있다.According to one embodiment, the information associated with the sequence of states associated with the selected sample utterance may include a description of the operation of the sequence of states (or pass rules) or an utterance to perform the task.

일 실시 예에 따른 동작 804에서, 프로세서(150)는 사용자 발화에 해당하는 샘플 발화가 없다는 사용자 입력을 수신하기 위한 메시지를 디스플레이(120)에 더 표시할 수 있다. 동작 805에서, 프로세서(150)는 사용자 발화에 해당하는 샘플 발화가 없다는 사용자 입력을 수신할 수 있다. 프로세서(150)는 상기 사용자 입력을 수신한 경우, 사용자 발화 문장을 표시하고, 사용자의 의도에 부합하지 않는 부분을 선택하여 수정하는 사용자 입력을 수신할 수 있다. 프로세서(150)는 수신된 사용자 입력을 지능형 서버(200)로 전송할 수 있다. 다양한 실시 예에 따라, 지능형 서버(200)는 수신된 사용자 입력에 기반하여 지능형 서비스의 학습을 진행할 수 있다.In an operation 804 according to an embodiment, the processor 150 may further display on the display 120 a message for receiving a user input indicating that there is no sample speech corresponding to a user utterance. At operation 805, the processor 150 may receive a user input indicating that there is no sample speech corresponding to a user utterance. Upon receiving the user input, the processor 150 may display a user utterance sentence, and may receive a user input that selects and modifies portions that do not match the user's intent. The processor 150 may send the received user input to the intelligent server 200. According to various embodiments, the intelligent server 200 may proceed to learn intelligent services based on the received user input.

이하에서는 도 14a 내지 도 14d를 참조하여, 전자 장치(100)가 샘플 발화를 표시하고 사용자 입력을 수신하는 실시 예가 설명된다.14A to 14D, an embodiment is described in which the electronic device 100 displays a sample speech and receives user input.

도 14a는 일 실시 예에 따른 갤러리 앱이 실행된 상태에서 사용자 발화가 입력된 것을 나타내는 도면이다.FIG. 14A is a diagram illustrating input of a user utterance in a state where a gallery app according to an embodiment is executed. FIG.

도 14b는 일 실시 예에 따른 복수의 샘플 발화가 표시되는 화면을 나타내는 도면이다.14B is a diagram illustrating a screen in which a plurality of sample utterances are displayed according to an embodiment.

도 14c는 일 실시 예에 따른 선택된 샘플 발화와 관련된 정보가 표시되는 화면을 나타내는 도면이다.14C is a diagram illustrating a screen in which information related to a selected sample speech according to an embodiment is displayed.

도 14d는 일 실시 예에 따른 사용자의 의도가 입력되는 화면을 나타내는 도면이다FIG. 14D is a diagram illustrating a screen to which an intention of a user according to an embodiment is input

일 실시 예에 따른 도 14a를 참조하면, 전자 장치(100)는 갤러리 앱을 이용하여 사진을 표시하는 중 지능형 서비스를 실행하여 “화면 크기 늘려줘”라는 사용자 발화(1401)를 수신할 수 있다. 전자 장치(100)는 사용자 발화에 해당하는 음성 신호 및 갤러리 앱을 이용하여 사진이 표시되는 것에 해당하는 컨텍스트 정보를 지능형 서버(200)로 전송할 수 있다. 지능형 서버(200)는 음성 신호 및 컨텍스트 정보에 기반하여 복수의 패스 룰 및 복수의 패스 룰에 대응하는 복수의 샘플 발화를 전자 장치(100)로 전송할 수 있다.Referring to FIG. 14A according to one embodiment, the electronic device 100 may receive a user utterance 1401 of " Increase screen size " by executing an intelligent service while displaying pictures using the gallery app. The electronic device 100 may transmit the voice signal corresponding to the user's utterance and the context information corresponding to the display of the photograph using the gallery app to the intelligent server 200. [ The intelligent server 200 can transmit a plurality of sample utterances corresponding to the plurality of pass rules and the plurality of pass rules to the electronic device 100 based on the voice signal and the context information.

프로세서(150)는 도 14b와 같이 수신된 복수의 샘플 발화(1402, 1403, 1404, 1405) 및 '해당사항 없음'이라는 메시지(1406)를 디스플레이(120)에 표시할 수 있다. 전자 장치(100)는 마이크로폰(111) 또는 터치스크린 디스플레이(120)를 통해 복수의 샘플 발화 중 하나를 선택하기 위한 제1 사용자 입력을 수신할 수 있다. 프로세서(150)는 선택된 샘플 발화와 관련된 태스크를 수행할 수 있다.The processor 150 may display on the display 120 a plurality of received sample fictions 1402, 1403, 1404, and 1405 and a message 1406 of 'Not applicable' as shown in FIG. 14B. The electronic device 100 may receive a first user input for selecting one of a plurality of sample fires via the microphone 111 or the touch screen display 120. [ Processor 150 may perform tasks associated with the selected sample utterance.

일 실시 예에서, 프로세서(150)는 '설정에서 해상도 크게 하기'라는 샘플 발화(1404)를 선택하는 제1 사용자 입력을 수신할 수 있다. 일 실시 예에 따르면, 프로세서(150)는 제1 사용자 입력 수신에 응답하여, 도 14c에 도시된 것과 같이, '설정에서 해상도 크게 하기'에 대응하는 패스 룰을 바로 실행시키기 위한 대표 발화(1407)를 표시할 수 있다.In one embodiment, the processor 150 may receive a first user input that selects a sample speech 1404, " Increasing resolution in settings. &Quot; According to one embodiment, the processor 150, in response to receiving the first user input, generates a representative speech 1407 to immediately execute the pass rule corresponding to 'magnify resolution in setting', as shown in FIG. 14C, Can be displayed.

프로세서(150)는 '설정에서 해상도 크게 하기'를 선택하거나 도 14c에 도시된 오브젝트(1408)를 선택하는 제2 사용자 입력을 수신할 수 있다. 프로세서(150)는 제2 사용자 입력 수신에 응답하여, '설정에서 해상도 크게 하기'에 대응하는 패스 룰을 실행함으로써 태스크를 수행할 수 있다.The processor 150 may receive a second user input that selects 'magnify resolution in settings' or selects the object 1408 shown in FIG. 14C. In response to receiving the second user input, the processor 150 may perform the task by executing a pass rule corresponding to 'magnifying resolution in setting'.

일 실시 예에서, 사용자 발화가 '화면 크기 눌려줘'이지만, 지능형 서버(200)는 사용자 발화로부터 '화면 크기 늘려줘'라는 텍스트를 생성할 수 있다. 지능형 서버(200)는 생성된 텍스트 및 컨텍스트 정보에 기반한 복수의 패스룰 및 복수의 패스 룰에 대응하는 샘플 발화를 전자 장치(100)로 전송할 수 있다. 전자 장치(100)는 도 14b에 도시된 것과 같이 복수의 샘플 발화(1402, 1403, 1404, 1405) 및 '해당사항 없음'이라는 메시지(1406)를 디스플레이(120)에 표시할 수 있다.In one embodiment, the user utterance is 'screen size depressed', but the intelligent server 200 may generate the text 'increase screen size' from the user utterance. The intelligent server 200 may transmit to the electronic device 100 a sample speech corresponding to a plurality of pass rules and a plurality of pass rules based on the generated text and context information. The electronic device 100 may display on the display 120 a plurality of sample speech 1402, 1403, 1404, 1405 and a message 1406 of 'N / A' as shown in FIG. 14B.

일 실시 예에 따라 프로세서(150)는 도 14b에 도시된 '해당사항 없음'이라는 메시지(1406)를 선택하는 사용자 입력을 수신할 수 있다. 프로세서(150)는 상기 사용자 입력을 수신한 경우, 도 14d와 같이 '화면 크기 늘려줘' 를 표시할 수 있다. 프로세서(150)는 사용자의 의도에 부합하지 않는 부분인 '늘려줘' (1409)를 선택하여 수정하는 사용자 입력을 수신할 수 있다. 일 실시예에 따르면, 프로세서(150)는 '늘려줘'에 해당하는 다른 후보 리스트를 표시하고 후보 중 하나를 선택하는 사용자 입력을 수신하거나, 텍스트 사용자 입력 또는 발화 입력을 수신할 수 있다.According to one embodiment, the processor 150 may receive a user input that selects the 'no match' message 1406 shown in FIG. 14B. When the user 150 receives the user input, the processor 150 may display 'increase screen size' as shown in FIG. 14D. Processor 150 may receive a user input that selects and modifies " Increase " 1409, which is a portion that is inconsistent with the user's intent. According to one embodiment, the processor 150 may receive a user input that displays another candidate list corresponding to 'increase' and selects one of the candidates, or may receive a textual user input or a speech input.

일 실시 예에 따른 동작 804에서, 프로세서(150)는 디스플레이(120)에 복수의 샘플 발화 중 적어도 하나의 샘플 발화와 관련된 하나 이상의 이미지를 표시할 수 있다. 일 실시 예에 따르면, 표시되는 하나 이상의 이미지는 샘플 발화에 대응하는 스테이트들을 나타낼 수 있다.In an operation 804 according to one embodiment, the processor 150 may display on the display 120 one or more images associated with at least one sample of the plurality of sample fires. According to one embodiment, the displayed one or more images may represent states corresponding to a sample utterance.

도 15는 일 실시 예에 따른 샘플 발화와 관련된 이미지가 더 표시되는 화면을 나타내는 도면이다. 15 is a diagram showing a screen in which an image related to a sample speech according to an embodiment is further displayed.

프로세서(150)는 도 15에 도시된 것과 같이, 각 샘플 발화(1501)가 선택되면 실행되는 패스 룰에 해당하는 스테이트들에 해당하는 이미지(1502)를 표시할 수 있다. 일 실시 예에서, 표시되는 스테이트는 패스 룰이 실행될 때의 각 동작 화면에 해당할 수 있다.The processor 150 may display an image 1502 corresponding to the states corresponding to the path rule executed when each sample speech 1501 is selected, as shown in FIG. In one embodiment, the displayed state may correspond to each operation screen when the pass rule is executed.

일 실시 예에 따른 동작 804에서, 프로세서(150)는 적어도 하나의 샘플 발화를 표시하는 순서를 결정하고, 결정된 순서에 따라 적어도 하나의 샘플 발화를 표시할 수 있다.In an operation 804 according to an embodiment, the processor 150 may determine an order to display at least one sample speech and display at least one sample speech according to the determined order.

일 실시 예에 따르면, 동작 803에서 수신되는 응답은 적어도 하나의 샘플 발화 각각에 대응하는 값을 더 포함할 수 있다. 예를 들어, 샘플 발화에 대응하는 값은 신뢰도 값일 수 있다.According to one embodiment, the response received at operation 803 may further include a value corresponding to each of at least one sample speech. For example, a value corresponding to a sample utterance may be a confidence value.

일 실시 예에 따르면, 프로세서(150)는 샘플 발화에 대응하는 값의 크기 순으로 적어도 하나의 샘플 발화를 표시하는 순서를 결정할 수 있다. 예를 들어, 프로세서(150)는 신뢰도 값이 큰 순서대로 샘플 발화를 표시할 수 있다.According to one embodiment, the processor 150 may determine an order to display at least one sample speech in order of magnitude of the value corresponding to the sample speech. For example, the processor 150 may display the sample utterances in order of increasing confidence values.

일 실시 예에 따르면, 프로세서(150)는 결정된 순서에 기반하여, 적어도 하나의 샘플 발화를 시각적으로 달리 표시할 수 있다. 예를 들어, 프로세서(150)는 적어도 하나의 샘플 발화 중 첫번째 순서에 해당하는 샘플 발화를 나머지 샘플 발화와 시각적으로 달리 표시할 수 있다. 일 실시 예에 따르면, 프로세서(150)는 첫번째 순서에 해당하는 샘플 발화와 관련된 하나 이상의 이미지를 표시하거나 나머지 샘플 발화보다 크게 표시할 수 있다.According to one embodiment, the processor 150 may visually represent at least one sample speech, based on the determined order. For example, the processor 150 may visually represent a sample utterance corresponding to the first order of at least one sample utterance, with the remaining sample utterances. According to one embodiment, the processor 150 may display one or more images associated with a sample utterance corresponding to the first order or may display larger than the remaining sample utterances.

다양한 실시 예에 따라, 프로세서(150)는 사용자의 선택 이력 데이터를 기반으로 샘플 발화를 표시하는 방식을 결정할 수 있다. According to various embodiments, the processor 150 may determine how to display the sample speech based on the user's selection history data.

도 16a는 일 실시 예에 따른 갤러리 앱이 실행된 상태에서 사용자 발화가 입력된 것을 나타내는 도면이다.16A is a diagram showing that a user utterance is input in a state where a gallery app according to an embodiment is executed.

도 16b는 일 실시 예에 따른 결정된 순서에 따라 샘플 발화가 표시되는 화면을 나타내는 도면이다.16B is a diagram showing a screen in which a sample speech is displayed according to a determined order according to an embodiment.

도 16c는 일 실시 예에 따른 우선 순위에 해당하는 샘플 발화와 관련된 이미지가 더 표시되는 화면을 나타내는 도면이다.16C is a view showing a screen in which an image related to the sample speech corresponding to the priority according to the embodiment is further displayed.

도 16d는 일 실시 예에 따른 결정된 순서에 따라 샘플 발화의 크기가 다르게 표시되는 화면을 나타내는 도면이다.16D is a diagram showing a screen in which the size of the sample speech is displayed differently according to the determined order according to an embodiment.

일 실시 예에 따른 도 16a를 참조하면, 전자 장치(100)는 갤러리 앱을 이용하여 사진 리스트를 표시하는 중 지능형 서비스를 실행하여 “하와이 메시지 알려줘”라는 사용자 발화(1601)를 수신할 수 있다. 전자 장치(100)는 사용자 발화에 해당하는 음성 신호 및 갤러리 앱을 이용하여 사진이 표시되는 것에 해당하는 컨텍스트 정보를 지능형 서버(200)로 전송할 수 있다. 지능형 서버(200)는 음성 신호 및 컨텍스트 정보에 기반하여 복수의 패스 룰 및 복수의 패스 룰에 대응하는 복수의 샘플 발화를 전자 장치(100)로 전송할 수 있다. 지능형 서버(200)는 복수의 샘플 발화에 대응하는 신뢰도 값을 더 전송할 수 있다.Referring to FIG. 16A according to one embodiment, the electronic device 100 may receive a user utterance 1601 of " Tell Hawaii Message " by executing an intelligent service while displaying a photo list using the gallery app. The electronic device 100 may transmit the voice signal corresponding to the user's utterance and the context information corresponding to the display of the photograph using the gallery app to the intelligent server 200. [ The intelligent server 200 can transmit a plurality of sample utterances corresponding to the plurality of pass rules and the plurality of pass rules to the electronic device 100 based on the voice signal and the context information. The intelligent server 200 may further transmit a reliability value corresponding to a plurality of sample utterances.

일 실시 예에서, 복수의 샘플 발화는 '하와이에서 찍은 사진 메시지 보내줘', '하와이에서 찍은 사진 보여줘' 및 '하와이에 가는 방법 알려줘'를 포함할 수 있다. 일 실시 예에서, 각 샘플 발화에 대응하는 신뢰도 값은 '하와이에서 찍은 사진 메시지 보내줘', '하와이에서 찍은 사진 보여줘' 및 '하와이에 가는 방법 알려줘' 순으로 클 수 있다.In one embodiment, a plurality of sample utterances may include "send photo messages taken in Hawaii," "show pictures taken in Hawaii," and "let me know how to get to Hawaii." In one embodiment, the confidence values corresponding to each sample speech may be as follows: "Send a picture message from Hawaii," "Show me pictures taken in Hawaii," and "Tell me how to get to Hawaii."

일 실시 예에 따르면, 프로세서(150)는 도 16b에 도시된 것과 같이 신뢰도 값이 큰 순서대로 복수의 샘플 발화를 표시할 수 있다.According to one embodiment, the processor 150 may display a plurality of sample utterances in the order of increasing confidence values as shown in Fig. 16B.

일 실시 예에 따르면, 프로세서(150)는 도 16c에 도시된 것과 같이 신뢰도 값이 가장 큰 '하와이에서 찍은 사진 메시지 보내줘'와 관련된 하나 이상의 이미지(1602)를 표시할 수 있다. 상기 이미지들은 샘플 발화에 대응하는 스테이트들을 나타낼 수 있다.According to one embodiment, the processor 150 may display one or more images 1602 associated with 'send photographic messages taken in Hawaii' having the highest confidence value, as shown in FIG. 16C. The images may represent states corresponding to a sample utterance.

일 실시 예에 따르면, 프로세서(150)는 도 16d에 도시된 것과 같이 신뢰도 값이 클수록 샘플 발화를 크게 표시할 수 있다.According to one embodiment, the processor 150 may display the sample speech as large as the confidence value is large, as shown in Fig. 16D.

다양한 실시 예에 따라, 프로세서(150)는 전술된 샘플 발화를 표시하는 실시 예들 중 적어도 일부를 조합한 방식으로 샘플 발화를 표시할 수 있다.According to various embodiments, the processor 150 may display the sample speech in a manner that combines at least some of the embodiments that represent the sample speech discussed above.

다양한 실시 예에서, 전자 장치(100)는 복수의 패스 룰을 수신하였을 때, 전술된 것과 같이 패스 룰을 선택하는 사용자 입력을 수신하지 않고 복수의 패스 룰 중 지정된 조건을 만족하는 하나의 패스 룰을 바로 실행할 수 있다. 다양한 실시 예에 따르면, 실행된 패스 룰은 사용자의 의도에 부합하지 않을 수 있으므로, 전자 장치(100)는 아래에 설명되는 동작을 수행할 수 있다. 아래에서 설명되는 실시 예의 동작은 지능형 서버가 결정한 패스 룰의 신뢰도 값이 지정된 값보다 큰 경우에 수행될 수 있다.In various embodiments, when receiving a plurality of pass rules, the electronic device 100 does not receive a user input that selects a pass rule, as described above, and sends one pass rule that satisfies a specified condition among a plurality of pass rules You can do it right away. According to various embodiments, the executed path rule may not be consistent with the intent of the user, so the electronic device 100 may perform the operations described below. The operation of the embodiment described below can be performed when the reliability value of the path rule determined by the intelligent server is greater than a specified value.

도 17은 일 실시 예에 따른 전자 장치가 패스 룰을 수행한 후, 피드백 입력을 수신하여 다른 패스 룰을 수행하는 방법을 나타낸 흐름도이다.FIG. 17 is a flowchart illustrating a method for an electronic device according to an embodiment to perform a pass rule and then receive a feedback input to perform another pass rule.

도 17을 참조하면, 동작 1701에서, 프로세서(150)는 마이크로폰(111)을 통해 사용자 발화를 수신할 수 있다.Referring to FIG. 17, at operation 1701, the processor 150 may receive a user utterance via the microphone 111.

동작 1702에서, 프로세서(150)는 무선 통신 회로를 통해 지능형 서버로 사용자 발화와 관련된 데이터를 전송할 수 있다.At operation 1702, the processor 150 may transmit data associated with the user utterance to the intelligent server via the wireless communication circuitry.

일 실시 예에 따르면, 사용자 발화와 관련된 데이터는 사용자 발화에 해당하는 음성 신호를 포함할 수 있다.According to one embodiment, the data associated with a user utterance may include a voice signal corresponding to a user utterance.

일 실시 예에 따르면, 프로세서(150)는 무선 통신 회로를 통해 지능형 서버로 전자 장치의 현재 상태를 나타내는 컨텍스트 정보를 전송할 수 있다. 컨텍스트 정보는, 예를 들어, 실행 중인 앱 정보 또는 실행 중인 앱의 스테이트 정보 등을 포함할 수 있다. 일 실시 예에서, 앱의 스테이트 정보는 state ID, 앱의 특정 화면 정보 또는 특정 화면에서의 특정 상태 정보 등을 포함할 수 있다According to one embodiment, the processor 150 may transmit context information indicating the current state of the electronic device to the intelligent server via the wireless communication circuitry. The context information may include, for example, running application information or state information of an executing application. In one embodiment, the state information of an app may include a state ID, specific screen information of an app, or specific status information in a specific screen

동작 1703에서, 프로세서(150)는 무선 통신 회로를 통해 지능형 서버로부터 응답을 수신할 수 있다.At operation 1703, the processor 150 may receive a response from the intelligent server via the wireless communication circuitry.

일 실시 예에 따르면, 수신된 응답은 복수의 패스 룰 및 복수의 패스 룰 각각에 대응하는 샘플 발화를 포함할 수 있다. 복수의 패스 룰 및 샘플 발화는 사용자 발화에 기반하여 지능형 서버(200)에 의해 생성 또는 선택된 것일 수 있다. 일 실시 예에 따르면, 응답은 복수의 패스 룰 각각에 대응하는 신뢰도 값을 더 포함할 수 있다.According to one embodiment, the received response may include a plurality of pass rules and a sample speech corresponding to each of the plurality of pass rules. The plurality of pass rules and sample utterances may be generated or selected by the intelligent server 200 based on user utterances. According to one embodiment, the response may further include a confidence value corresponding to each of the plurality of pass rules.

동작 1704에서, 프로세서(150)는 복수의 패스 룰 중 하나의 패스 룰을 선택하고, 선택된 패스 룰에 따라 동작을 수행할 수 있다. At operation 1704, the processor 150 may select one of the plurality of pass rules and perform an operation in accordance with the selected pass rule.

일 실시 예에서, 프로세서(150)는 복수의 패스 룰 중 신뢰도 값이 가장 높은 패스 룰을 선택할 수 있다.In one embodiment, the processor 150 may select a path rule with the highest confidence value among the plurality of pass rules.

동작 1705에서, 프로세서(150)는 마이크로폰(111)또는 터치스크린 디스플레이(120)를 통해 피드백 입력을 수신할 수 있다.At operation 1705, the processor 150 may receive a feedback input via the microphone 111 or the touch screen display 120.

일 실시 예에서, 피드백 입력은 선택된 패스 룰에 따라 동작을 실행한 결과에 대한 피드백에 해당할 수 있다.In one embodiment, the feedback input may correspond to feedback on the result of performing the action in accordance with the selected path rule.

도 18은 일 실시 예에 따른 전자 장치가 피드백 입력을 수신하는 화면을 나타내는 도면이다.18 is a diagram showing a screen on which an electronic device according to an embodiment receives a feedback input.

프로세서(150)는 도 18과 같은 화면을 디스플레이(120)에 표시하고, 피드백 입력을 수신할 수 있다. 예를 들어, 프로세서(150)는 마이크로폰(111)을 통해 “좋아” 또는 “네” 등의 긍정적 피드백을 수신할 수 있고, “이거 말고”, “아니” 또는 “다른 것” 등의 부정적 피드백을 수신할 수 있다.The processor 150 may display a screen as shown in FIG. 18 on the display 120 and receive a feedback input. For example, the processor 150 may receive positive feedback, such as " yes " or " yes " through the microphone 111 and may receive negative feedback, such as " .

다른 예로, 프로세서(150)는 터치스크린 디스플레이(120)을 통해 긍정적 피드백 입력에 해당하는 제1 오브젝트(1701)를 선택하는 터치입력을 수신하거나, 부정적 피드백 입력에 해당하는 제2 오브젝트(1702)를 선택하는 터치입력을 수신할 수 있다.Alternatively, the processor 150 receives a touch input for selecting a first object 1701 corresponding to a positive feedback input through the touch screen display 120, or a second object 1702 corresponding to a negative feedback input It is possible to receive the touch input to be selected.

다시 도 17을 참조하면, 피드백 입력이 부정적 입력인 경우, 동작 1706에서, 프로세서(150)는 응답에 포함된 동작 1704에서 선택되지 않은 나머지 패스 룰에 대응하는 샘플 발화를 디스플레이(120)에 표시할 수 있다Referring again to FIG. 17, if the feedback input is a negative input, at operation 1706, the processor 150 displays on the display 120 a sample speech corresponding to the remaining pass rules not selected in the action 1704 included in the response Can

도 19는 일 실시 예에 따른 나머지 패스 룰에 대응하는 샘플 발화가 표시되는 화면을 나타내는 도면이다.19 is a diagram showing a screen on which a sample speech corresponding to the remaining pass rule according to the embodiment is displayed.

프로세서(150)는 도 18에 도시된 것과 같이 나머지 패스 룰에 대응하는 복수의 샘플 발화(1801)를 디스플레이(120)에 표시할 수 있다.The processor 150 may display on the display 120 a plurality of sample utterances 1801 corresponding to the remaining pass rules as shown in Fig.

다시 도 17을 참조하면, 동작 1707에서, 프로세서(150)는 마이크로폰(111) 또는 터치스크린 디스플레이(120)를 통해 복수의 샘플 발화 중 하나를 선택하기 위한 사용자 입력을 수신할 수 있다.17, at operation 1707, the processor 150 may receive a user input for selecting one of a plurality of sample utterances via the microphone 111 or the touch screen display 120. [

동작 1708에서, 프로세서(150)는 선택된 샘플 발화에 대응하는 패스 룰에 따라 동작을 수행할 수 있다. At operation 1708, the processor 150 may perform an operation according to a path rule corresponding to the selected sample speech.

도 20은 일 실시 예에 따른 전자 장치가 패스 룰을 수행한 후, 피드백 입력을 수신하여 다른 패스 룰을 수행하는 방법을 나타낸 흐름도이다.20 is a flowchart illustrating a method for an electronic device according to an embodiment to perform a pass rule and then receive a feedback input to perform another pass rule.

도 20을 참조하면, 동작 2001에서, 프로세서(150)는 마이크로폰(111)을 통해 사용자 발화를 수신할 수 있다.Referring to FIG. 20, in operation 2001, the processor 150 may receive a user utterance via the microphone 111.

동작 2002에서, 프로세서(150)는 무선 통신 회로를 통해 지능형 서버(200)로 사용자 발화와 관련된 데이터를 전송할 수 있다.In operation 2002, the processor 150 may transmit data associated with a user utterance to the intelligent server 200 via a wireless communication circuit.

동작 2003에서, 프로세서(150)는 무선 통신 회로를 통해 지능형 서버로부터 응답을 수신할 수 있다.In operation 2003, the processor 150 may receive a response from the intelligent server via a wireless communication circuit.

일 실시 예에 따르면, 수신된 응답은 하나의 패스 룰 및 패스 룰에 대응하는 샘플 발화를 포함할 수 있다. 패스 룰 및 샘플 발화는 사용자 발화에 기반하여 지능형 서버(200)에 의해 생성 또는 선택된 것일 수 있다.According to one embodiment, the received response may include one pass rule and a sample speech corresponding to the pass rule. The pass rules and sample utterances may be generated or selected by the intelligent server 200 based on user utterances.

동작 2004에서, 프로세서(150)는 수신된 패스 룰에 따라 동작을 수행할 수 있다. In operation 2004, the processor 150 may perform an operation in accordance with the received path rule.

동작 2005에서, 프로세서(150)는 마이크로폰(111)또는 터치스크린 디스플레이(120)를 통해 피드백 입력을 수신할 수 있다.In operation 2005, the processor 150 may receive a feedback input via the microphone 111 or the touch screen display 120.

피드백 입력이 부정적 입력인 경우, 동작 2008에서, 프로세서(150)는 사용자 발화와 관련된 데이터(예: 사용자 발화 및 컨텍스트 정보)를 지능형 서버(200)로 전송하고, 지능형 서버(200)로부터 복수의 대안 패스 룰을 수신할 수 있다.If the feedback input is a negative input, at operation 2008, the processor 150 sends data (e.g., user utterance and context information) related to user utterances to the intelligent server 200, It is possible to receive the path rule.

일 실시 예에서, 프로세서(150)는 지능형 서버(200)로 사용자 발화와 관련된 데이터를 전송할 때, 대안 패스 룰 전송을 요청할 수 있다.In one embodiment, the processor 150 may request alternative path rule transmission when transmitting data associated with user utterances to the intelligent server 200.

동작 2007에서, 프로세서(150)는 수신된 복수의 대안 패스 룰에 대응하는 샘플 발화를 디스플레이(120)에 표시할 수 있다.At operation 2007, the processor 150 may display on the display 120 a sample speech corresponding to a plurality of alternative pass rules received.

동작 2008에서, 프로세서(150)는 마이크로폰(111) 또는 터치스크린 디스플레이(120)를 통해 복수의 샘플 발화 중 하나를 선택하기 위한 사용자 입력을 수신할 수 있다.In operation 2008, the processor 150 may receive user input to select one of a plurality of sample fires via the microphone 111 or the touch screen display 120. [

동작 2009에서, 프로세서(150)는 선택된 샘플 발화에 대응하는 패스 룰에 따라 동작을 수행할 수 있다. In operation 2009, the processor 150 may perform an operation in accordance with a path rule corresponding to the selected sample speech.

다양한 실시 예에서, 전자 장치(100)는 샘플 발화를 선택하는 사용자 입력과 관련된 데이터를 지능형 서버(200)로 전송할 수 있다. 지능형 서버(200)는 수신한 데이터를 사용자의 의도를 결정하기 위해 사용할 수 있다.In various embodiments, the electronic device 100 may send data related to user input to the intelligent server 200 to select a sample utterance. The intelligent server 200 can use the received data to determine the intention of the user.

도 21은 일 실시 예에 따른 전자 장치가 피드백 입력을 수신하는 화면을 나타내는 도면이다.21 is a diagram showing a screen on which an electronic device according to an embodiment receives a feedback input.

일 실시 예에 따르면, 동작 1704 후 또는 동작 2004 후 프로세서(150)는 도 21과 같은 화면을 디스플레이(120)에 표시하고, 피드백 입력을 수신할 수 있다. 예를 들어, 프로세서(150)는 터치스크린 디스플레이(120)을 통해 긍정적 피드백 입력에 해당하는 제1 오브젝트(2111)를 선택하는 터치입력을 수신하거나, 부정적 피드백 입력에 해당하는 제2 오브젝트(2112)를 선택하는 터치입력을 수신할 수 있다.According to one embodiment, after operation 1704 or after operation 2004, processor 150 may display a screen as shown in FIG. 21 on display 120 and receive a feedback input. For example, the processor 150 receives a touch input for selecting a first object 2111 corresponding to a positive feedback input through the touch screen display 120, or receives a second object 2112 corresponding to a negative feedback input, A touch input for selecting a touch input.

도 22a 및 도 22b는 일 실시 예에 따라 부정적 피드백이 수신된 경우, 전자 장치(100)가 제공하는 기능과 관련된 UI가 표시된 화면을 나타낸다.FIGS. 22A and 22B show a screen displaying a UI associated with a function provided by the electronic device 100 when negative feedback is received according to an embodiment.

일 실시 예에 따라, 부정적 피드백 입력이 수신되면, 프로세서(150)는 도 22a 또는 도 22b와 같은 화면을 표시할 수 있다.According to one embodiment, when a negative feedback input is received, the processor 150 may display a screen as in FIG. 22A or FIG. 22B.

일 실시 예에 따라, 부정적 피드백의 대상인 태스크가 지능형 앱 외의 앱 화면을 이용하는 태스크인 경우(또는, 태스크가 패스 룰에 따라 수행되는 경우), 프로세서(150)는 도 22a와 같은 화면을 표시할 수 있다. 예를 들어, 부정적 피드백의 대상인 태스크가 갤러리 어플리케이션을 이용하여 사진을 검색하는 태스크이고, 상기 태스크가 수행된 후 부정적 피드백 입력이 수신되면, 프로세서(150)는 도 22a와 같은 화면을 표시할 수 있다.According to one embodiment, when the task that is the object of the negative feedback is a task using an app screen other than the intelligent app (or when the task is executed according to a path rule), the processor 150 can display a screen have. For example, if a negative feedback task is a task of retrieving a photograph using a gallery application, and a negative feedback input is received after the task is performed, the processor 150 may display a screen as shown in FIG. 22A .

일 실시 예에 따라, 부정적 피드백의 대상인 태스크가 지능형 앱 화면만을 이용하는 태스크인 경우(또는, 태스크가 패스 룰에 따라 수행되는 것이 아닌 경우), 프로세서(150)는 도 22b와 같은 화면을 표시할 수 있다. 예를 들어, 부정적 피드백의 대상인 태스크가 날씨를 알려주는 태스크 또는 질의에 따른 답변을 제공하는 태스크 등이고, 상기 태스크가 수행된 후 부정적 피드백 입력이 수신되면, 프로세서(150)는 도 22b와 같은 화면을 표시할 수 있다.According to one embodiment, when the task that is the target of the negative feedback is a task using only the intelligent app screen (or the task is not performed according to the path rule), the processor 150 can display the screen as shown in FIG. have. For example, a task that is a target of negative feedback may be a task that provides weather reports or a task that provides answers according to a query. If a negative feedback input is received after the task is performed, the processor 150 displays a screen as shown in FIG. Can be displayed.

일 실시 예에 따르면, 도 22a에 도시된 것과 같이 프로세서(150)는 잘못 인식된 사용자 발화에 해당하는 텍스트를 수정하기 위한 UI(2211), 패스 룰을 선택하기 위한 UI(2212), 패스 룰을 검색하여 선택하기 위한 UI(2213), 전자 장치(100) 내에서 검색하기 위한 UI(2214) 및 인터넷에서 검색하기 위한 UI(2215)를 디스플레이(120)에 표시할 수 있다. 일 실시 예에 따르면, 프로세서(150)는 표시된 UI들(2211, 2212, 2213, 2214, 2215) 중 하나를 선택하는 사용자 입력을 수신할 수 있다.According to one embodiment, as shown in FIG. 22A, the processor 150 includes a UI 2211 for modifying a text corresponding to a misidentified user utterance, a UI 2212 for selecting a pass rule, a pass rule A UI 2213 for searching and selecting, a UI 2214 for searching in the electronic device 100, and a UI 2215 for searching on the Internet can be displayed on the display 120. [ According to one embodiment, the processor 150 may receive user input selecting one of the displayed UIs 2211, 2212, 2213, 2214, and 2215.

일 실시 예에 따르면, 도 22b에 도시된 것과 같이, 프로세서(150)는 잘못 인식된 사용자 발화에 해당하는 텍스트를 수정하기 위한 UI(2221), 사용자의 의도에 부합하지 않는 도메인이 선택됨을 피드백하기 위한 위한 UI(2222), 패스 룰을 검색하여 선택하기 위한 UI(2223), 전자 장치(100) 내에서 검색하기 위한 UI(2224) 및 인터넷에서 검색하기 위한 UI(2225)를 디스플레이(120)에 표시할 수 있다. 프로세서(150)는 표시된 UI(2221, 2222, 2223, 2224, 2225) 들 중 하나를 선택하는 사용자 입력을 수신할 수 있다.According to one embodiment, as shown in FIG. 22B, the processor 150 may include a UI 2221 for modifying text corresponding to a misidentified user utterance, a feedback field indicating that a domain that does not match the user's intention is selected A UI 2222 for searching and selecting a path rule, a UI 2224 for searching in the electronic device 100, and a UI 2225 for searching on the Internet are displayed on the display 120 Can be displayed. The processor 150 may receive user input selecting one of the displayed UIs 2221, 2222, 2223, 2224, and 2225.

일 실시 예에 따르면, 잘못 인식된 사용자 발화에 해당하는 텍스트를 수정하기 위한 UI(2211, 2221)는 지능형 서버(200)로부터 수신된 지능형 서버(200)가 사용자 발화로부터 인식한 텍스트(2211a, 2221a)를 포함할 수 있다. 일 실시 예에 따르면, 패스 룰을 선택하기 위한 UI(2212)는 각 패스 룰을 나타내는 복수의 샘플 발화를 포함할 수 있다.According to one embodiment, the UIs 2211 and 2221 for correcting the text corresponding to the misrecognized user utterance are texts 2211a and 2221a recognized from the user utterance by the intelligent server 200 received from the intelligent server 200 ). According to one embodiment, the UI 2212 for selecting pass rules may include a plurality of sample utterances representing each pass rule.

이하에서는 도 23a 내지 27을 참조하여, 각 UI가 선택되면 프로세서(150)가 수행하는 동작이 설명된다.Hereinafter, with reference to FIGS. 23A to 27, an operation performed by the processor 150 when each UI is selected will be described.

도 23a는 일 실시 예에 따른 수정 대상 텍스트가 표시된 화면을 나타낸다. 도 23b는 일 실시 예에 따른 수정 대상 텍스트가 수정된 화면을 나타낸다. 도 23c는 일 실시 예에 따른 사용자 발화에 해당하는 텍스트가 수정된 결과 화면을 나타낸다. 도 23d는 일 실시 예에 따른 사용자 발화에 해당하는 텍스트가 수정된 결과 및 수정된 텍스트에 대응하는 음성 모델을 업데이트 하기 위한 UI를 포함하는 화면을 나타낸다. 도 23e는 일 실시 예에 따른 네트워크 연결 실패에 따른 팝업 창을 포함하는 화면을 나타낸다.23A shows a screen on which a text to be modified is displayed according to an embodiment. 23B shows a screen in which the text to be modified is modified according to an embodiment. 23C shows a result screen in which a text corresponding to a user utterance is modified according to an embodiment. FIG. 23D shows a screen including a result of modifying a text corresponding to a user utterance according to an embodiment and a UI for updating a speech model corresponding to the corrected text. FIG. 23E shows a screen including a pop-up window in response to a network connection failure according to an exemplary embodiment.

일 실시 예에 따르면, 프로세서(150)는 도 22a 및 도 22b에 도시된 지능형 서버(200)로부터 수신된 지능형 서버(200)가 사용자 발화로부터 인식한 텍스트 중 일부(2211b, 2221b)를 선택하는 사용자 입력을 수신할 수 있다. 일 실시 예에 따르면, 사용자 입력 수신에 응답하여, 프로세서(150)는 선택된 일부 텍스트(2211b, 2221b)를 수정 대상 텍스트로 지정할 수 있다. 예를 들어, 프로세서(150)는 도 22a 또는 도 22b의 “Show my recent photto” 중 “photto”를 선택하는 사용자 입력을 수신할 수 있다. 실시 예에서, 프로세서(150)는 “photto”를 수정 대상 텍스트로 지정할 수 있다.According to one embodiment, the processor 150 is a user who selects a portion (2211b, 2221b) of text that the intelligent server 200 received from the intelligent server 200 shown in Figures 22A and 22B, Input can be received. According to one embodiment, in response to receiving a user input, the processor 150 may designate selected texts 2211b and 2221b as text to be modified. For example, the processor 150 may receive a user input selecting " photto " in " Show my recent photto " in FIG. 22A or FIG. In an embodiment, the processor 150 may specify " photto " as the text to be modified.

일 실시 예에 따르면, 프로세서(150)는 도 23a에 도시된 것과 같이 수정 대상 텍스트(2311) 및 수정 완료 오브젝트(2312)를 표시할 수 있다. 일 실시 예에 따르면, 수정 대상 텍스트(2311)는 가상 키보드 등을 통한 입력에 의해 도 23b에 나타난 수정 후의 텍스트(2321)와 같이 수정될 수 있다. 예를 들어, 도 23a에 나타난 “photto”(2311)는 도 23b에 나타난 “photos”(2321)로 수정될 수 있다.According to one embodiment, the processor 150 may display the modified text 2311 and the modified complete object 2312, as shown in FIG. 23A. According to one embodiment, the text to be modified 2311 can be modified by input via a virtual keyboard or the like, such as the text 2321 after modification shown in Fig. 23B. For example, " photto " (2311) shown in Fig. 23A can be modified to " photos " 2321 shown in Fig. 23B.

일 실시 예에 따라, 수정 대상 텍스트(2311)가 수정된 후, 프로세서(150)는 수정 완료 오브젝트(2322)를 선택하는 사용자 입력을 수신할 수 있다. 일 실시 예에 따라 수정 완료 오브젝트(2322)를 선택하는 사용자 입력이 수신된 후, 프로세서(150)는 도 23c 또는 도 23d에 도시된 화면을 디스플레이(120)에 표시할 수 있다.According to one embodiment, after the modification target text 2311 is modified, the processor 150 may receive a user input that selects the modification completed object 2322. [ After the user input for selecting the modified object 2322 is received according to one embodiment, the processor 150 may display the screen shown in FIG. 23C or 23D on the display 120. FIG.

일 실시 예에 따르면, 수정 완료 오브젝트(2322)를 선택하는 사용자 입력이 수신된 후, 지능형 앱의 언어 설정과 전자 장치(100)의 언어 설정이 다르거나 인식된 텍스트(예: “Show my recent photto”)에 해당하는 사용자 발화를 마이크로폰(111)을 통해 수신한 이력이 있는 경우, 프로세서(150)는 도 23c에 도시된 것과 같이 사용자 발화에 해당하는 텍스트가 수정된 결과(2331)를 나타내는 화면을 표시할 수 있다.According to one embodiment, after the user input for selecting the modified object 2322 is received, the language settings of the intelligent app and the language settings of the electronic device 100 are different or the recognized text (e.g., "Show my recent photto Quot;) is received via the microphone 111, the processor 150 displays a screen showing the result 2331 of the text corresponding to the user's utterance as shown in FIG. 23C Can be displayed.

일 실시 예에 따르면, 프로세서(150)는 수정된 결과와 관련된 데이터(예: 수정된 텍스트 데이터)를 무선 통신 회로를 통해 지능형 서버(200)로 전송할 수 있다. 일 실시 예에 따라, 지능형 서버(200)로 전송된 수정된 결과와 관련된 데이터는 지능형 서버(200)의 자동 음성 인식 데이터베이스(211)에 저장될 수 있다.According to one embodiment, the processor 150 may transmit data (e.g., modified text data) related to the modified results to the intelligent server 200 via the wireless communication circuitry. According to one embodiment, data associated with the modified results sent to the intelligent server 200 may be stored in the automated speech recognition database 211 of the intelligent server 200. [

일 실시 예에 따르면, 자동 음성 인식 데이터베이스(211)에 저장된 수정된 결과와 관련된 데이터는 자동 음성 인식 모듈(210)이 사용자 발화를 텍스트 데이터로 변환할 때 이용될 수 있다. 예를 들어, 지능형 서버(200)의 자동 음성 인식 모듈(210)은 수정된 텍스트에 가중치(weight) 값을 적용하여 사용자 발화를 텍스트 데이터로 변환할 수 있다. 일 실시 예에 따르면, 텍스트의 수정 횟수가 증가할수록 상기 텍스트에 적용되는 가중치 값이 증가할 수 있고, 자동 음성 인식의 정확도가 높아질 수 있다.According to one embodiment, data associated with the modified results stored in the automatic speech recognition database 211 may be used when the automatic speech recognition module 210 converts user speech into text data. For example, the automatic speech recognition module 210 of the intelligent server 200 may apply a weight value to the modified text to convert the user speech into text data. According to one embodiment, as the number of times of correction of the text increases, the weight value applied to the text may increase, and the accuracy of automatic speech recognition may be increased.

일 실시 예에 따라, 수정 완료 오브젝트(2322)를 선택하는 사용자 입력이 수신된 후, 지능형 앱의 언어 설정과 전자 장치(100)의 언어 설정이 같고 인식된 텍스트에 해당하는 사용자 발화를 마이크로폰(111)을 통해 수신한 이력이 없는 경우, 프로세서(150)는 도 23d에 도시된 것과 같이 사용자 발화에 해당하는 텍스트가 수정된 결과(2341) 및 수정된 텍스트에 대응하는 음성 모델을 업데이트 하기 위한 UI(2342)를 포함하는 화면을 표시할 수 있다.According to one embodiment, after the user input for selecting the modified object 2322 is received, the user's utterance corresponding to the recognized text is the same as the language setting of the intelligent app and the language setting of the electronic device 100, , The processor 150 determines whether the text corresponding to the user's utterance has been modified 2341 and the UI for updating the speech model corresponding to the modified text as shown in FIG. 2342) can be displayed.

일 실시 예에 따라, 수정된 텍스트에 대응하는 음성 모델을 업데이트 하기 위한 UI(2342)를 선택하는 사용자 입력이 수신되면, 프로세서(150)는 인식된 텍스트에 대응하는 추가적인 사용자 발화를 마이크로폰(111)을 통해 수신할 수 있다.According to one embodiment, when a user input is received that selects the UI 2342 for updating the speech model corresponding to the modified text, the processor 150 transmits additional user utterances corresponding to the recognized text to the microphone 111, Lt; / RTI >

일 실시 예에 따르면, 프로세서(150)는 마이크로폰(111)을 통해 수신된 추가적인 사용자 발화와 관련된 데이터(예: 음성 신호)를 무선 통신 회로를 통해 지능형 서버(200)로 전송할 수 있다. 일 실시 예에 따라, 지능형 서버(200)로 전송된 추가적인 사용자 발화와 관련된 데이터는 지능형 서버(200)의 자동 음성 인식 데이터베이스(211)에 저장될 수 있다. 일 실시 예에 따르면, 자동 음성 인식 데이터베이스(211)에 저장된 추가적인 사용자 발화와 관련된 데이터는 자동 음성 인식 모듈(210)이 사용자 발화를 텍스트 데이터로 변환할 때 이용될 수 있다.According to one embodiment, the processor 150 may transmit data (e.g., voice signals) associated with additional user utterances received via the microphone 111 to the intelligent server 200 via the wireless communication circuitry. According to one embodiment, data associated with additional user utterances sent to the intelligent server 200 may be stored in the automated voice recognition database 211 of the intelligent server 200. [ According to one embodiment, the data associated with additional user utterances stored in the automatic speech recognition database 211 may be used when the automatic speech recognition module 210 converts user utterances to text data.

일 실시 예에 따라, 프로세서(150)가 추가적인 사용자 발화와 관련된 데이터를 지능형 서버(200)로 전송하기 위해서 전자 장치(100)는 네트워크에 연결되어야 한다. 일 실시 예에서, 수정된 텍스트에 대응하는 음성 모델을 업데이트 하기 위한 UI(2342)를 선택하는 사용자 입력이 수신되고 전자 장치(100)가 네트워크에 연결되지 않은 경우, 프로세서(150)는 23e에 도시된 것과 같이 네트워크 연결이 필요하다는 메시지(2351)를 디스플레이(120)에 표시할 수 있다.According to one embodiment, the electronic device 100 must be connected to the network in order for the processor 150 to transfer data associated with additional user utterances to the intelligent server 200. In one embodiment, if a user input is received that selects UI 2342 to update the speech model corresponding to the modified text and the electronic device 100 is not connected to the network, A message 2351 may be displayed on the display 120 indicating that a network connection is required.

일 실시 예에 따르면, 프로세서(150)는 도 22a에 도시된 패스 룰을 선택하기 위한 UI(2212)가 포함하는 복수의 샘플 발화 중 하나를 선택하는 사용자 입력을 수신할 수 있다. 사용자 입력 수신에 응답하여, 프로세서(150)는 선택된 샘플 발화와 관련된 패스 룰을 실행할 수 있다. 이에 대한 구체적인 내용은 도 8 및 도 14a 내지 도 14d를 참조하여 서술된 것과 같다.According to one embodiment, the processor 150 may receive a user input that selects one of a plurality of sample utterances included in the UI 2212 for selecting the pass rule shown in FIG. 22A. In response to receiving the user input, the processor 150 may execute the pass rules associated with the selected sample utterance. The details of this are the same as those described with reference to Fig. 8 and Figs. 14A to 14D.

도 24a는 일 실시 예에 따른 패스 룰을 검색하기 위한 화면을 나타낸다. 도 24b는 일 실시 예에 따른 검색어 입력에 따른 패스 룰 검색 결과 화면을 나타낸다. 도 24c는 일 실시 예에 따라 패스 룰이 선택된 후의 화면을 나타낸다.24A shows a screen for searching a path rule according to an embodiment. 24B shows a path rule search result screen according to a search word input according to an embodiment. FIG. 24C shows a screen after a pass rule is selected according to an embodiment.

일 실시 예에 따르면, 프로세서(150)는 도 22a 및 도 22b에 도시된 패스 룰을 검색하여 선택하기 위한 UI(2213, 2223)를 선택하는 사용자 입력을 수신할 수 있다. 일 실시 예에 따르면, 사용자 입력 수신에 응답하여, 프로세서(150)는 도 24a에 도시된 것과 같이 패스 룰을 검색하기 위한 화면을 디스플레이(120)에 표시할 수 있다. 도 24a를 참조하면, 패스 룰을 검색하기 위한 화면은 사용자가 패스 룰을 검색하고 선택하도록 가이드하는 메시지(2411), 사용자 입력이 표시되는 검색창(2412) 및 패스 룰을 나타내는 명령 문장 리스트(2413)를 포함할 수 있다.According to one embodiment, the processor 150 may receive user input selecting the UIs 2213, 2223 for searching and selecting the path rules shown in Figures 22A and 22B. According to one embodiment, in response to user input reception, the processor 150 may display on the display 120 a screen for searching for a path rule as shown in FIG. 24A. 24A, a screen for searching for a path rule includes a message 2411 for guiding the user to search for and select a path rule, a search window 2412 for displaying a user input, and a command sentence list 2413 ).

일 실시 예에 따르면, 프로세서(150)는 가상 키보드 등을 통한 입력을 수신하고, 입력된 텍스트(2421)를 검색창에 표시하고, 입력된 텍스트를 포함하는 명령 문장 리스트(2422)를 표시할 수 있다. 일 실시 예에 따르면, 프로세서(150)는 표시된 명령 문장 리스트에 포함된 명령 문자들 중 하나를 선택하는 사용자 입력을 수신할 수 있다. 예를 들어, 프로세서(150)는 “Remin”이라는 텍스트 입력을 수신할 수 있고, 도 24b에 도시된 것과 같이 입력된 “Remin”(2421)을 검색창에 표시하고, “Remin”을 포함하는 명령 문장 리스트(2422)를 표시할 수 있다. 프로세서(150)는 “Reminder for 10min”이라는 명령 문장을 선택하는 사용자 입력을 수신할 수 있다.According to one embodiment, the processor 150 may receive input via a virtual keyboard or the like, display the input text 2421 in a search window, and display an instruction sentence list 2422 containing the entered text have. According to one embodiment, the processor 150 may receive a user input that selects one of the command characters included in the displayed command statement list. For example, the processor 150 may receive a text entry of " Remin ", display the entered " Remin " 2421 in the search window as shown in FIG. 24B, A sentence list 2422 can be displayed. Processor 150 may receive a user input that selects a command statement " Reminder for 10min ".

일 실시 예에 따라 명령 문장을 선택하는 사용자 입력이 수신되면, 프로세서(150)는 선택된 명령 문장을 나타내는 결과 화면을 디스플레이(120)에 표시할 수 있다. 일 실시 예에 따르면, 예를 들어, 결과 화면은 도 24c에 도시된 것과 같이 선택된 명령 문장인 “Reminder for 10min” (2431) 및 가이드 메시지(2432)를 포함할 수 있다.Upon receiving a user input that selects an instruction statement in accordance with one embodiment, the processor 150 may display a result screen on the display 120 that represents the selected instruction statement. According to one embodiment, for example, the result screen may include a selected command statement " Reminder for 10min " 2431 and a guide message 2432, as shown in FIG. 24C.

일 실시 예에 따르면, 프로세서(150)는 선택된 명령 문장과 관련된 데이터(예: 선택된 명령 문장에 대응하는 패스 룰 정보)를 지능형 서버(200)로 전송할 수 있다. 일 실시 예에 따르면, 지능형 서버(200)는 명령 문장과 관련된 데이터를 저장할 수 있다. 일 실시 예에 따라, 지능형 서버(200)는 저장된 명령 문장과 관련된 데이터를 이용하여 패스 룰을 생성할 수 있다. 예를 들어, 지능형 서버(200)가 전자 장치(100)로부터 “Show my recent photto”로 인식된 사용자 발화와 관련된 데이터(예: 음성 신호)를 수신한 경우, 지능형 서버(200)는 저장된 명령 문장과 관련된 데이터를 이용하여 “Reminder for 10min”에 해당하는 패스 룰을 생성할 수 있다.According to one embodiment, the processor 150 may send data associated with the selected command statement (e.g., path rule information corresponding to the selected command statement) to the intelligent server 200. According to one embodiment, the intelligent server 200 may store data related to the command statement. According to one embodiment, the intelligent server 200 may generate path rules using data associated with stored command statements. For example, if the intelligent server 200 receives data (e.g., a voice signal) related to a user utterance recognized as " Show my recent photto " from the electronic device 100, Quot; Reminder for 10min " using the data related to " Reminder for 10min ".

도 25는 일 실시 예에 따른 사용자의 의도에 부합하지 않는 도메인이 선택됨을 피드백하기 위한 UI가 선택된 후의 화면을 나타낸다.FIG. 25 shows a screen after a UI for feedback that a domain that does not match a user's intention according to an embodiment is selected.

일 실시 예에 따르면, 지능형 서버(200)가 선택한 도메인(또는, 어플리케이션)은 사용자의 의도에 부합하지 않을 수 있다. 예를 들어, 지능형 서버(200)가 선택한 어플리케이션은 '인터넷 어플리케이션'이지만, 사용자의 의도에 부합하는 어플리케이션은 '갤러리 어플리케이션'일 수 있다.According to one embodiment, the domain (or application) selected by the intelligent server 200 may not match the intent of the user. For example, the application selected by the intelligent server 200 is an 'Internet application', but an application matching the user's intention may be a 'gallery application'.

일 실시 예에 따르면, 프로세서(150)는 도 22b에 도시된 사용자의 의도에 부합하지 않는 도메인이 선택됨을 피드백하기 위한 UI(2222)를 선택하는 사용자 입력을 수신할 수 있다. 일 실시 예에 따르면, 사용자 입력 수신에 응답하여, 프로세서(150)는 도 25에 도시된 것과 같이 사용자의 의도에 부합하지 않는 도메인이 선택됨을 알리는 피드백 입력을 수신하였다는 메시지(2511)를 표시할 수 있다. 일 실시 예에 따르면, 프로세서(150)는 어플리케이션을 잘못 선택했다는 것을 나타내는 메시지(예: “이 앱을 이용하는 요청이 아니었군요”)를 더 표시할 수 있다.According to one embodiment, the processor 150 may receive a user input that selects a UI 2222 to feedback that a domain that does not match the intent of the user shown in FIG. 22B is selected. According to one embodiment, in response to receiving a user input, the processor 150 displays a message 2511 indicating that a domain input that does not match the user's intent has been selected, as shown in FIG. 25, . According to one embodiment, the processor 150 may further display a message (e.g., " It was not a request to use this app ") indicating that the application was selected incorrectly.

일 실시 예에 따르면, 프로세서(150)는 사용자의 의도에 부합하지 않는 도메인이 선택됨을 알리는 사용자 입력과 관련된 데이터를 지능형 서버(200)로 전송할 수 있다. 일 실시 예에 따라, 지능형 서버(200)는 수신된 데이터를 이용함으로써 도메인 결정의 정확도를 높일 수 있다.According to one embodiment, the processor 150 may send data related to user input to the intelligent server 200 indicating that a domain that does not match the user's intent is selected. According to one embodiment, the intelligent server 200 can increase the accuracy of domain determination by using the received data.

도 26은 일 실시 예에 따른 전자 장치 내에서 검색을 수행하기 위한 화면을 나타낸다. 26 shows a screen for performing a search in an electronic device according to an embodiment.

일 실시 예에 따르면, 프로세서(150)는 도 22a 및 도 22b에 도시된 전자 장치(100)에서 검색하기 위한 UI(2214, 2224)를 선택하는 사용자 입력을 수신할 수 있다. 일 실시 예에 따르면, 사용자 입력 수신에 응답하여, 프로세서(150)는 도 26에 도시된 것과 같이 전자 장치(100) 내에서 검색을 수행하기 위한 화면을 디스플레이(120)에 표시할 수 있다. 도 26을 참조하면, 전자 장치(100) 내에서 검색을 수행하기 위한 화면은 사용자 입력이 표시되는 검색창(2611), 검색 이력 리스트(2612) 및 제안 어플리케이션 리스트(2613)를 포함할 수 있다. 일 실시 예에 따르면, 검색창(2611)은 가상 키보드 등을 통해 수신된 입력이 표시되는 영역이고, 검색 이력 리스트(2612)는 검색 이력들을 포함하고, 제안 어플리케이션 리스트(2613)는 사용자 정보 또는 사용자 입력 중 적어도 하나에 기반하여 선택된 어플리케이션들을 포함할 수 있다.According to one embodiment, the processor 150 may receive user input to select UIs 2214 and 2224 for searching in the electronic device 100 shown in Figures 22A and 22B. According to one embodiment, in response to receiving a user input, the processor 150 may display on the display 120 a screen for performing a search within the electronic device 100, as shown in FIG. 26, a screen for performing a search in the electronic device 100 may include a search window 2611 in which user input is displayed, a search history list 2612, and a proposal application list 2613. According to one embodiment, the search window 2611 is an area in which an input received through a virtual keyboard or the like is displayed, the search history list 2612 includes search histories, the proposal application list 2613 includes user information, And < RTI ID = 0.0 > input. ≪ / RTI >

일 실시 예에 따르면, 프로세서(150)는 가상 키보드 등을 통한 입력을 수신하고, 입력된 텍스트를 검색창에 표시하고, 입력된 텍스트를 검색어로 이용하여 전자 장치(100)가 수행할 수 있는 동작 또는 설치된 어플리케이션 등을 검색할 수 있다.According to one embodiment, the processor 150 receives input via a virtual keyboard or the like, displays the input text on a search window, and uses the input text as a search term to perform operations that the electronic device 100 can perform Or an installed application or the like.

일 실시 예에 따르면, 프로세서(150)는 사용자 발화에 해당하는 텍스트 중 일부를 검색어로 이용할 수 있다. 예를 들어, 프로세서(150)는 “Show my recent photto” 중 “recent photto”를 검색창(2611)에 표시할 수 있고, 프로세서(150)는 검색창(2611)에 표시된 검색어 그 자체를 이용하여 검색을 수행하거나 사용자 입력에 의해 수정된 검색어를 이용하여 검색을 수행할 수 있다.According to one embodiment, the processor 150 may use a part of text corresponding to a user utterance as a search term. For example, processor 150 may display " recent photto " of " Show my recent photto " in search window 2611 and processor 150 may use the search word itself displayed in search window 2611 A search may be performed or a search may be performed using a search term modified by user input.

도 27은 일 실시 예에 따른 인터넷에서 검색을 수행하기 위한 화면을 나타낸다. FIG. 27 shows a screen for performing a search on the Internet according to an embodiment.

일 실시 예에 따르면, 프로세서(150)는 도 22a 및 도 22b에 도시된 인터넷에서 검색하기 위한 UI(2215, 2225)를 선택하는 사용자 입력을 수신할 수 있다. 일 실시 예에 따르면, 사용자 입력 수신에 응답하여, 프로세서(150)는 도 27에 도시된 것과 같이 전자 장치(100) 내에서 검색을 수행하기 위한 화면을 디스플레이(120)에 표시할 수 있다. 도 27을 참조하면, 전자 장치(100) 내에서 검색을 수행하기 위한 화면은 사용자 입력이 표시되는 검색창(2711)을 포함할 수 있다. According to one embodiment, the processor 150 may receive user input selecting the UIs 2215 and 2225 for searching on the Internet, as shown in Figures 22A and 22B. According to one embodiment, in response to receiving a user input, the processor 150 may display on the display 120 a screen for performing a search within the electronic device 100 as shown in FIG. Referring to FIG. 27, a screen for performing a search in the electronic device 100 may include a search window 2711 in which user input is displayed.

일 실시 예에 따르면, 프로세서(150)는 가상 키보드 등을 통한 입력을 수신하고, 입력된 텍스트를 검색창(2711)에 표시하고, 입력된 텍스트를 검색어로 이용하여 인터넷에서 검색할 수 있다.According to one embodiment, the processor 150 receives an input via a virtual keyboard or the like, displays the input text on the search window 2711, and searches the Internet using the input text as a search term.

일 실시 예에 따르면, 프로세서(150)는 사용자 발화에 해당하는 텍스트 중 일부를 검색어로 이용할 수 있다. 예를 들어, 프로세서(150)는 “Show my recent photto” 중 “recent photto”를 검색창에 표시할 수 있고, 프로세서(150)는 검색창에 표시된 검색어 그 자체를 이용하여 검색을 수행하거나 사용자 입력에 의해 수정된 검색어를 이용하여 검색을 수행할 수 있다.According to one embodiment, the processor 150 may use a part of text corresponding to a user utterance as a search term. For example, the processor 150 may display " recent photto " of the " Show my recent photto " in the search window, and the processor 150 may perform a search using the search word itself displayed in the search window, The search can be performed using the search term modified by the search term.

도 28은 다양한 실시 예들에 따른 네트워크 환경(2800) 내의 전자 장치(2801)의 블록도 이다. 본 문서에 개시된 다양한 실시 예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치(예: PDA(personal digital assistant), 태블릿 PC(tablet PC), 랩탑 PC(, 데스크톱 PC, 워크스테이션, 또는 서버), 휴대용 멀티미디어 장치(예: 전자 책 리더기 또는 MP3 플레이어), 휴대용 의료 기기(예: 심박, 혈당, 혈압, 또는 체온 측정기), 카메라, 또는 웨어러블 장치 중 적어도 하나를 포함할 수 있다. 웨어러블 장치는 액세서리 형(예: 시계, 반지, 팔찌, 발찌, 목걸이, 안경, 콘택트 렌즈, 또는 머리 착용 형 장치(head-mounted-device(HMD)), 직물 또는 의류 일체형(예: 전자 의복), 신체 부착 형(예: 스킨 패드 또는 문신), 또는 생체 이식 형 회로 중 적어도 하나를 포함할 수 있다. 어떤 실시 예들에서, 전자 장치는, 예를 들면, 텔레비전, DVD(digital video disk) 플레이어, 오디오 장치, 오디오 액세서리 장치(예: 스피커, 헤드폰, 또는 헤드 셋), 냉장고, 에어컨, 청소기, 오븐, 전자레인지, 세탁기, 공기 청정기, 셋톱 박스, 홈 오토메이션 컨트롤 패널, 보안 컨트롤 패널, 게임 콘솔, 전자 사전, 전자 키, 캠코더, 또는 전자 액자 중 적어도 하나를 포함할 수 있다.28 is a block diagram of an electronic device 2801 in a network environment 2800 in accordance with various embodiments. An electronic device according to various embodiments disclosed herein can be various types of devices. A personal computer, such as a personal digital assistant (PDA), a tablet PC, a laptop PC (e.g., a desktop PC, a workstation, or a server) , A portable multimedia device (e.g., an e-book reader or an MP3 player), a portable medical device (e.g., cardiac, blood glucose, blood pressure, or temperature sensor), a camera, or a wearable device. (Eg, watches, rings, bracelets, braces, necklaces, eyeglasses, contact lenses, or head-mounted devices (HMDs) Such as, for example, a television, a digital video disk (DVD) player, an audio device, an audio device, an audio device, Devices (eg, A headset, or a headset), a refrigerator, an air conditioner, a vacuum cleaner, an oven, a microwave oven, a washing machine, an air purifier, a settop box, a home automation control panel, a security control panel, a game console, Or the like.

다른 실시 예에서, 전자 장치는 네비게이션 장치, 위성 항법 시스템(GNSS(global navigation satellite system)), EDR(event data recorder)(예: 차량/선박/비행기 용 블랙박스(black box)), 자동차 인포테인먼트 장치(예: 차량용 헤드-업 디스플레이), 산업용 또는 가정용 로봇, 드론(drone), ATM(automated teller machine), POS(point of sales) 기기, 계측 기기(예: 수도, 전기, 또는 가스 계측 기기), 또는 사물 인터넷 장치(예: 전구, 스프링클러 장치, 화재 경보기, 온도 조절기, 또는 가로등) 중 적어도 하나를 포함할 수 있다. 본 문서의 실시 예에 따른 전자 장치는 전술한 기기들에 한정되지 않으며, 또한, 예를 들면, 개인의 생체 정보(예: 심박 또는 혈당)의 측정 기능이 구비된 스마트폰의 경우처럼, 복수의 장치들의 기능들을 복합적으로 제공할 수 있다. 본 문서에서, 사용자라는 용어는 전자 장치를 사용하는 사람 또는 전자 장치를 사용하는 장치(예: 인공지능 전자 장치)를 지칭할 수 있다. In other embodiments, the electronic device may be a navigation device, a global navigation satellite system (GNSS), an event data recorder (EDR) (e.g., vehicle / ship / airplane black box), an automotive infotainment device (Eg, a head-up display for a vehicle), an industrial or household robot, a drone, an automated teller machine (ATM), a point of sale (POS) Or at least one of an object Internet device (e.g., a light bulb, a sprinkler device, a fire alarm, a thermostat, or a streetlight). The electronic device according to the embodiment of the present document is not limited to the above-described devices and may also be provided with a plurality of electronic devices such as a smart phone having a function of measuring biometric information (e.g., heartbeat or blood sugar) It is possible to combine the functions of the devices. 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).

도 28을 참조하여, 네트워크 환경(2800)에서 전자 장치(2801)(예: 전자 장치(100))는 근거리 무선 통신(2898)을 통하여 전자 장치(2802)와 통신하거나, 또는 네트워크(2899)를 통하여 전자 장치(2804) 또는 서버(2808)(예: 지능형 서버(200))와 통신할 수 있다. 일 실시 예에 따르면, 전자 장치(2801)는 서버(2808)을 통하여 전자 장치(2804)와 통신할 수 있다.28, electronic device 2801 (e.g., electronic device 100) in network environment 2800 communicates with electronic device 2802 via short range wireless communication 2898 or via network 2899 To communicate with electronic device 2804 or server 2808 (e.g., intelligent server 200). According to one embodiment, the electronic device 2801 may communicate with the electronic device 2804 via the server 2808. [

일 실시 예에 따르면, 전자 장치(2801)는 버스(2810), 프로세서(2820)(예: 프로세서(150)), 메모리(2830), 입력 장치(2850)(예: 마이크 또는 마우스), 표시 장치(2860), 오디오 모듈(2870), 센서 모듈(2876), 인터페이스(2877), 햅틱 모듈(2879), 카메라 모듈(2880), 전력 관리 모듈(2888), 및 배터리(2889), 통신 모듈(2890), 및 가입자 식별 모듈(2896)을 포함할 수 있다. 어떤 실시 예에서는, 전자 장치(2801)는 구성요소들 중 적어도 하나(예: 표시 장치(2860) 또는 카메라 모듈(2880))를 생략하거나 다른 구성요소를 추가적으로 구비할 수 있다.According to one embodiment, the electronic device 2801 includes a bus 2810, a processor 2820 (e.g., a processor 150), a memory 2830, an input device 2850 (e.g., a microphone or a mouse) An audio module 2870, a sensor module 2876, an interface 2877, a haptic module 2879, a camera module 2880, a power management module 2888, and a battery 2889, a communication module 2890 ), And a subscriber identity module 2896. In some embodiments, electronic device 2801 may omit at least one of the components (e.g., display 2860 or camera module 2880) or additionally include other components.

버스(2810)는, 구성요소들(2820-2890)을 서로 연결하고, 구성요소들 간의 신호(예: 제어 메시지 또는 데이터)를 전달하는 회로를 포함할 수 있다.Bus 2810 may include circuitry to connect components 2820-2890 to each other and to communicate signals (e.g., control messages or data) between the components.

프로세서(2820)는, 중앙처리장치(central processing unit, CPU), 어플리케이션 프로세서(application processor, AP), GPU(graphics processing unit), 카메라의 ISP(image signal processor), 또는 CP(communication processor) 중 하나 또는 그 이상을 포함할 수 있다. 일 실시 예에 따르면, 프로세서(2820)는 SoC(system on chip) 또는 SiP(system in package)로 구현될 수 있다. 프로세서(2820)는, 예를 들면, 운영 체제 또는 응용 프로그램을 구동하여 프로세서(2820)에 연결된 전자 장치(2801)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)을 제어할 수 있고, 각종 데이터 처리 및 연산을 수행할 수 있다. 프로세서(2820)는 다른 구성요소들(예: 통신 모듈(2890)) 중 적어도 하나로부터 수신된 명령 또는 데이터를 휘발성 메모리(2832)에 로드 하여 처리하고, 결과 데이터를 비 휘발성 메모리(2834)에 저장할 수 있다.Processor 2820 may be one of a central processing unit (CPU), an application processor (AP), a graphics processing unit (GPU), an image signal processor (ISP) Or more. According to one embodiment, the processor 2820 may be implemented as a system on chip (SoC) or a system in package (SiP). Processor 2820 may control an operating system or at least one other component (e.g., hardware or software component) of an electronic device 2801 coupled to processor 2820 by driving an application program , Various data processing and calculation can be performed. Processor 2820 may load and process instructions or data received from at least one of the other components (e.g., communication module 2890) into volatile memory 2832 and store the resulting data in nonvolatile memory 2834 .

메모리(2830)는, 휘발성 메모리(2832) 또는 비 휘발성 메모리(2834)를 포함할 수 있다. 휘발성 메모리(2832)는, 예를 들면, RAM(random access memory)(예: DRAM, SRAM, 또는 SDRAM)로 구성될 수 있다. 비 휘발성 메모리(2834)는, 예를 들면, PROM(programmable read-only memory), OTPROM(one time PROM), EPROM(erasable PROM), EEPROM(electrically EPROM), mask ROM, flash ROM, 플래시 메모리, HDD(hard disk drive), 또는 SSD(solid state drive)로 구성될 수 있다. 또한, 비 휘발성 메모리(2834)는, 전자 장치(2801)와의 연결 형태에 따라, 그 안에 배치된 내장 메모리(2836), 또는 필요 시에만 연결하여 사용 가능한 스탠드-얼론(stand-alone) 형태의 외장 메모리(2838)로 구성될 수 있다. 외장 메모리(2838)는 플래시 드라이브(flash drive), 예를 들면, CF(compact flash), SD(secure digital), Micro-SD, Mini-SD, xD(extreme digital), MMC(multi-media card), 또는 메모리 스틱을 포함할 수 있다. 외장 메모리(2838)는 유선(예: 케이블 또는 USB(universal serial bus)) 또는 무선(예: Bluetooth)을 통하여 전자 장치(2801)와 기능적으로 또는 물리적으로 연결될 수 있다.Memory 2830 may include volatile memory 2832 or non-volatile memory 2834. [ Volatile memory 2832 may be comprised of, for example, random access memory (RAM) (e.g., DRAM, SRAM, or SDRAM). The non-volatile memory 2834 may be implemented as, for example, a programmable read-only memory (PROM), a one time PROM, an erasable programmable read-only memory (EPROM), an electrically erasable programmable ROM (EEPROM), a mask ROM, a hard disk drive, or a solid state drive (SSD). The nonvolatile memory 2834 may also include a built-in memory 2836 disposed therein or a stand-alone enclosure 2836 that can be used only when needed, depending on the form of connection with the electronic device 2801. [ And a memory 2838. The external memory 2838 may be a flash drive such as a compact flash (CF), a secure digital (SD), a micro-SD, a mini-SD, an extreme digital (xD) , Or a memory stick. The external memory 2838 may be functionally or physically connected to the electronic device 2801 via a wired (e.g., cable or universal serial bus) or wireless (e.g., Bluetooth).

메모리(2830)는, 예를 들면, 전자 장치(2801)의 적어도 하나의 다른 소프트웨어 구성요소, 예를 들어, 프로그램(2840)에 관계된 명령 또는 데이터를 저장할 수 있다. 프로그램(2840)은, 예를 들면, 커널(2841), 라이브러리(2843), 어플리케이션 프레임워크(2845), 또는 어플리케이션 프로그램(interchangeably "어플리케이션")(2847)을 포함할 수 있다.  The memory 2830 may store, for example, instructions or data related to at least one other software component of the electronic device 2801, e.g., program 2840. [ The program 2840 may include, for example, a kernel 2841, a library 2843, an application framework 2845, or an application program (interchangeably "application") 2847.

입력 장치(2850)는, 마이크, 마우스, 또는 키보드를 포함할 수 있다. 일 실시 예에 따르면, 키보드는 물리적인 키보드로 연결되거나, 표시 장치(2860)를 통해 가상 키보드로 표시될 수 있다.Input device 2850 may include a microphone, a mouse, or a keyboard. According to one embodiment, the keyboard may be connected by a physical keyboard, or may be represented by a virtual keyboard via display 2860. [

표시 장치(2860)는, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 디스플레이는, 예를 들면, 액정 디스플레이(LCD), 발광 다이오드(LED) 디스플레이, 유기 발광 다이오드(OLED) 디스플레이, 마이크로 전자기계 시스템(MEMS) 디스플레이, 또는 전자 종이(electronic paper) 디스플레이를 포함할 수 있다. 디스플레이는, 일 실시 예에 따르면, 유연하게, 투명하게, 또는 착용할 수 있게 구현될 수 있다. 디스플레이는 사용자의 터치, 제스처, 근접, 또는 호버링(hovering) 입력을 감지할 수 터치 회로(touch circuitry) 또는 터치에 대한 압력의 세기를 측정할 수 있는 압력 센서(interchangeably "force sensor")를 포함할 수 있다. 상기 터치 회로 또는 압력 센서는 디스플레이와 일체형으로 구현되거나, 또는 디스플레이와는 별도의 하나 이상의 센서들로 구현될 수 있다. 홀로그램 장치는 빛의 간섭을 이용하여 입체 영상을 허공에 보여줄 수 있다. 프로젝터는 스크린에 빛을 투사하여 영상을 표시할 수 있다. 스크린은, 예를 들면, 전자 장치(2801)의 내부 또는 외부에 위치할 수 있다.The display device 2860 may include a display, a hologram device, or a control circuit for controlling the projector and the device. The display may include, for example, a liquid crystal display (LCD), a light emitting diode (LED) display, an organic light emitting diode (OLED) display, a microelectromechanical system (MEMS) display, or an electronic paper display . The display, according to one embodiment, can be implemented flexibly, transparently, or wearably. The display may include an interchangeably "force sensor " capable of sensing a user's touch, gesture, proximity, or hovering input, which can measure touch circuitry or pressure to the touch . The touch circuit or pressure sensor may be implemented integrally with the display, or may be implemented with one or more sensors separate from the display. The hologram device can display stereoscopic images in the air using the interference of light. The projector can display images by projecting light onto the screen. The screen may be located, for example, inside or outside the electronic device 2801.

오디오 모듈(2870)은, 예를 들면, 소리와 전기 신호를 쌍방향으로 변환시킬 수 있다. 일 실시 예에 따르면, 오디오 모듈(2870)은, 입력 장치(2850)(예: 마이크)를 통해 소리를 획득하거나, 또는 전자 장치(2801)에 포함된 출력 장치(미 도시)(예: 스피커 또는 리시버), 또는 전자 장치(2801)와 연결된 외부 전자 장치(예: 전자 장치(2802)(예: 무선 스피커 또는 무선 헤드폰) 또는 전자 장치(2806)(예: 유선 스피커 또는 유선 헤드폰))를 통해 소리를 출력할 수 있다.Audio module 2870 can, for example, bidirectionally convert sound and electrical signals. According to one embodiment, the audio module 2870 is configured to acquire sound through an input device 2850 (e.g., a microphone), or to output devices (not shown) (E. G., Wireless speakers or wireless headphones) or electronic devices 2806 (e. G., Wired speakers or wired headphones) coupled to the electronic device 2801 Can be output.

센서 모듈(2876)은, 예를 들면, 전자 장치(2801)의 내부의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 고도, 습도, 또는 밝기)를 계측 또는 감지하여, 그 계측 또는 감지된 상태 정보에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 센서 모듈(2876)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러(color) 센서(예: RGB(red, green, blue) 센서), IR(infrared) 센서, 생체 센서(예: 홍채 센서, 지문 센서, 또는 HRM(heartbeat rate monitoring) 센서, 후각(electronic nose) 센서, EMG(electromyography) 센서, EEG(Electroencephalogram) 센서, ECG(Electrocardiogram) 센서), 온도 센서, 습도 센서, 조도 센서, 또는 UV(ultra violet) 센서를 포함할 수 있다. 센서 모듈(2876)은 그 안에 속한 적어도 하나 이상의 센서들을 제어하기 위한 제어 회로를 더 포함할 수 있다. 어떤 실시 예에서는, 전자 장치(2801)는 프로세서(2820) 또는 프로세서(2820)와는 별도의 프로세서(예: 센서 허브)를 이용하여, 센서 모듈(2876)을 제어할 수 있다. 별도의 프로세서(예: 센서 허브)를 이용하는 경우에, 전자 장치(2801)는 프로세서(2820)가 슬립(sleep) 상태에 있는 동안, 프로세서(2820)를 깨우지 않고 별도의 프로세서의 작동에 의하여 센서 모듈(2876)의 동작 또는 상태의 적어도 일부를 제어할 수 있다.The sensor module 2876 measures or senses the operating state (e.g., power or temperature) of the interior of the electronic device 2801 or an external environmental condition (e.g., altitude, humidity, or brightness) And generate an electrical signal or data value corresponding to the measured or sensed state information. The sensor module 2876 can be, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor (e.g., an RGB (red, green, An infrared sensor, a biological sensor such as an iris sensor, a fingerprint sensor or a heartbeat rate monitoring (HRM) sensor, an electronic nose sensor, an electromyography sensor, an electroencephalogram sensor, an electrocardiogram (ECG) Sensor), a temperature sensor, a humidity sensor, an illumination sensor, or an ultraviolet (UV) sensor. The sensor module 2876 may further include a control circuit for controlling at least one or more sensors belonging thereto. In some embodiments, the electronic device 2801 may control the sensor module 2876 using a processor (e.g., a sensor hub) separate from the processor 2820 or the processor 2820. When using a separate processor (e. G., A sensor hub), the electronic device 2801 does not wake up the processor 2820 while the processor 2820 is in a sleep state, Or at least some of the operation or state of the microprocessor 2876.

인터페이스(2877)는, 일 실시 예에 따르면, HDMI(high definition multimedia interface), USB, 광 인터페이스(optical interface), RS-232(recommended standard 232), D-sub(D-subminiature), MHL(mobile high-definition link) 인터페이스, SD카드/MMC(multi-media card) 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다. 연결 단자(2878)는 전자 장치(2801)와 전자 장치(2806)를 물리적으로 연결시킬 수 있다. 일 실시 예에 따르면, 연결 단자(2878)는, 예를 들면, USB 커넥터, SD 카드/MMC 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.Interface 2877 may be implemented as a high definition multimedia interface (HDMI), a USB, an optical interface, an RS-232 (recommended standard 232), a D-sub (D-subminiature), an MHL high-definition link interface, an SD card / multi-media card (MMC) interface, or an audio interface. The connection terminal 2878 can physically connect the electronic device 2801 and the electronic device 2806. According to one embodiment, connection terminal 2878 may include, for example, a USB connector, an SD card / MMC connector, or an audio connector (e.g., a headphone connector).

햅틱 모듈(2879)은 전기적 신호를 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 예를 들면, 햅틱 모듈(2879)은 사용자에게 촉각 또는 운동 감각과 관련된 자극을 제공할 수 있다. 햅틱 모듈(2879)은 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 2879 can convert an electrical signal into a mechanical stimulus (e.g., vibration or motion) or an electrical stimulus. For example, the haptic module 2879 may provide a stimulus associated with the tactile or kinesthetic sense to the user. The haptic module 2879 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

카메라 모듈(2880)은, 예를 들면, 정지 영상 및 동영상을 촬영할 수 있다. 카메라 모듈(2880)는, 일 실시 예에 따르면, 하나 이상의 렌즈(예: 광각 렌즈 및 망원 렌즈, 또는 전면 렌즈 및 후면 렌즈), 이미지 센서, 이미지 시그널 프로세서, 또는 플래시(예: 발광 다이오드 또는 제논 램프(xenon lamp) 등)를 포함할 수 있다.The camera module 2880 can take, for example, a still image and a moving image. Camera module 2880 may include, in accordance with one embodiment, one or more lenses (e.g., a wide angle lens and a telephoto lens, or a front lens and a rear lens), an image sensor, an image signal processor, a xenon lamp, etc.).

전력 관리 모듈(2888)은 전자 장치(2801)의 전력을 관리하기 위한 모듈로서, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구성될 수 있다. The power management module 2888 is a module for managing the power of the electronic device 2801, and may be configured as at least a part of, for example, a power management integrated circuit (PMIC).

배터리(2889)는, 예를 들면, 1차 전지, 2차 전지, 또는 연료 전지를 포함하여 외부 전원에 의해 재충전되어, 상기 전자 장치(2801)의 적어도 하나의 구성 요소에 전력을 공급할 수 있다.The battery 2889 may be recharged by an external power source, for example, a primary battery, a secondary battery, or a fuel cell to supply power to at least one component of the electronic device 2801. [

통신 모듈(2890)은, 예를 들면, 전자 장치(2801)와 외부 장치(예: 제1 외부 전자 장치(2802), 제2 외부 전자 장치(2804), 또는 서버(2808)) 간의 통신 채널 수립 및 수립된 통신 채널을 통한 유선 또는 무선 통신의 수행을 지원할 수 있다. 일 실시 예에 따르면, 통신 모듈(2890)은 무선 통신 모듈(2892) 또는 유선 통신 모듈(2894)을포함하고, 그 중 해당하는 통신 모듈을 이용하여 제1 네트워크(2898)(예: Bluetooth 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제2 네트워크(2899)(예: 셀룰러 네트워크와 같은 원거리 통신 네트워크)를 통하여 외부 장치와 통신할 수 있다.Communication module 2890 may be used to establish communication channels between electronic device 2801 and external devices such as first external electronic device 2802, second external electronic device 2804, or server 2808, And support wired or wireless communication through the established communication channel. According to one embodiment, the communication module 2890 includes a wireless communication module 2892 or a wired communication module 2894 and is coupled to a first network 2898 (e.g., Bluetooth or IrDA (e. g., a short distance communication network such as an infrared data association) or a second network 2899 (e. g., a long distance communication network such as a cellular network).

무선 통신 모듈(2892)은, 예를 들면, 셀룰러 통신, 근거리 무선 통신, 또는 GNSS 통신을 지원할 수 있다. 셀룰러 통신은, 예를 들면, 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)을 포함할 수 있다. 근거리 무선 통신은, 예를 들면, Wi-Fi(wireless fidelity), Wi-Fi Direct, Li-Fi(light fidelity), Bluetooth, BLE(Bluetooth low energy), Zigbee, NFC(near field communication), MST(magnetic secure transmission), RF(radio frequency), 또는 BAN(body area network)을 포함할 수 있다. 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"와 상호 호환적으로 사용될 수 있다. The wireless communication module 2892 may support, for example, cellular communication, short-range wireless communication, or GNSS communication. Cellular communications may include, for example, long-term evolution (LTE), LTE Advance, code division multiple access (CDMA), wideband CDMA (WCDMA), universal mobile telecommunications system (UMTS) ), Or Global System for Mobile Communications (GSM). The short-range wireless communication may include, for example, wireless fidelity, Wi-Fi Direct, Li-Fi, Bluetooth, Bluetooth low energy, Zigbee, near field communication, magnetic secure transmission, radio frequency (RF), or body area network (BAN). The GNSS may include, for example, a Global Positioning System (GPS), a Global Navigation Satellite System (Glonass), a Beidou Navigation Satellite System (Beidou), or a Galileo (European Global Satellite-based Navigation System). In this document, "GPS" can be used interchangeably with "GNSS ".

일 실시 예에 따르면, 상기 무선 통신 모듈(2892)은, 셀룰러 통신을 지원하는 경우, 예를 들면, 가입자 식별 모듈(2896)을 이용하여 통신 네트워크 내에서 전자 장치(2801)의 구별 및 인증을 수행할 수 있다. 일 실시 예에 따르면, 무선 통신 모듈(2892)은 프로세서(2820)(예: AP)와 별개인 CP를 포함할 수 있다. 이런 경우, CP는, 예를 들면, 프로세서(2820)가 인액티브(예: 슬립) 상태에 있는 동안 프로세서(2820)를 대신하여, 또는 프로세서(2820)가 액티브 상태에 있는 동안 프로세서(2820)과 함께, 전자 장치(2801)의 구성요소들(2810-2896) 중 적어도 하나의 구성 요소와 관련된 기능들의 적어도 일부 기능을 수행할 수 있다. 일 실시 예에 따르면, 무선 통신 모듈(2892)은 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS 통신 모듈 중 해당하는 통신 방식만을 지원하는 복수의 통신 모듈들로 구성될 수 있다. According to one embodiment, the wireless communication module 2892 performs the identification and authentication of the electronic device 2801 within the communication network using, for example, the subscriber identity module 2896, when supporting cellular communication can do. According to one embodiment, the wireless communication module 2892 may include a CP that is separate from the processor 2820 (e.g., an AP). In such a case, the CP may be used in place of or in place of the processor 2820 while the processor 2820 is in an inactive (e.g., sleep) state, or while the processor 2820 is in the active state, Together, it may perform at least some of the functions associated with at least one of the components 2810-2896 of the electronic device 2801. According to one embodiment, the wireless communication module 2892 may be composed of a plurality of communication modules that support only the corresponding communication method of a cellular communication module, a short-range wireless communication module, or a GNSS communication module.

유선 통신 모듈(2894)은, 예를 들면, LAN(local area network), 전력선 통신 또는 POTS(plain old telephone service)를 포함할 수 있다. The wired communication module 2894 may include, for example, a local area network (LAN), a power line communication, or a plain old telephone service (POTS).

제1 네트워크(2898)는, 예를 들어, 전자 장치(2801)와 제1 외부 전자 장치(2802)간의 무선으로 직접 연결을 통해 명령 또는 데이터를 송신 또는 수신 할 수 있는 Wi-Fi 다이렉트 또는 Bluetooth를 포함할 수 있다. 제2 네트워크(2899)는, 예를 들어, 전자 장치(2801)와 제2 외부 전자 장치(2804)간의 명령 또는 데이터를 송신 또는 수신할 수 있는 텔레커뮤니케이션 네트워크(예: LAN(local area network)나 WAN(wide area network)와 같은 컴퓨터 네트워크, 인터넷(internet), 또는 텔레폰(telephone) 네트워크)를 포함할 수 있다. The first network 2898 may be a Wi-Fi direct or Bluetooth capable of transmitting or receiving commands or data via a direct wireless connection between the electronic device 2801 and the first external electronic device 2802, . The second network 2899 may be a telecommunication network (e.g., a local area network (LAN)) capable of transmitting or receiving commands or data between the electronic device 2801 and the second external electronic device 2804, A computer network such as a wide area network (WAN), the Internet, or a telephone network).

다양한 실시 예들에 따르면, 상기 명령 또는 상기 데이터는 제2 네트워크에 연결된 서버(2808)를 통해서 전자 장치(2801)와 제2 외부 전자 장치(2804)간에 송신 또는 수신될 수 있다. 제1 및 제2 외부 전자 장치(2802, 2804) 각각은 전자 장치(2801)와 동일한 또는 다른 종류의 장치일 수 있다. 다양한 실시 예들에 따르면, 전자 장치(2801)에서 실행되는 동작들의 전부 또는 일부는 다른 하나 또는 복수의 전자 장치(예: 전자 장치(2802, 2804), 또는 서버(2808)에서 실행될 수 있다. 일 실시 예에 따르면, 전자 장치(2801)가 어떤 기능이나 서비스를 자동으로 또는 요청에 의하여 수행해야 할 경우에, 전자 장치(2801)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 그와 연관된 적어도 일부 기능을 다른 장치(예: 전자 장치(2802, 2804), 또는 서버(2808))에게 요청할 수 있다. 다른 전자 장치(예: 전자 장치(2802, 2804), 또는 서버(2808))는 요청된 기능 또는 추가 기능을 실행하고, 그 결과를 전자 장치(2801)로 전달할 수 있다. 전자 장치(2801)는 수신된 결과를 그대로 또는 추가적으로 처리하여 요청된 기능이나 서비스를 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다.According to various embodiments, the command or the data may be transmitted or received between the electronic device 2801 and the second external electronic device 2804 via the server 2808 connected to the second network. Each of the first and second external electronic devices 2802 and 2804 may be the same or a different kind of device as the electronic device 2801. [ According to various embodiments, all or a portion of the operations performed in the electronic device 2801 may be performed in one or more other electronic devices (e.g., electronic devices 2802, 2804, or server 2808). According to the example, in the event that the electronic device 2801 has to perform a certain function or service automatically or on demand, the electronic device 2801 may, instead of or in addition to executing the function or service itself, (E. G., Electronic device 2802,2804, or server 2808) may request some functionality from other devices (e. G., Electronic device 2802,2804, or server 2808) Function or an additional function and transmit the result to the electronic device 2801. The electronic device 2801 can directly or additionally process the received result to provide the requested function or service. There is a server computing techniques can be used - for example, cloud computing, distributed computing, or client.

본 문서에 개시되는 일 실시 예에 따른 전자 장치는, 하우징; 상기 하우징 내에 배치되고, 상기 하우징의 제1 부분을 통해 노출된 터치스크린 디스플레이; 상기 하우징 내에 배치되고 상기 하우징의 제2 부분을 통해 노출된 마이크로폰; 상기 하우징 내에 배치되고 상기 하우징의 제3 부분을 토해 노출된 적어도 하나의 스피커; 상기 하우징 내에 배치된 무선 통신 회로; 상기 하우징 내에 배치되고, 상기 터치스크린 디스플레이, 상기 마이크로폰, 상기 적어도 하나의 스피커 및 상기 무선 통신 회로와 전기적으로 연결된 프로세서; 및 상기 하우징 내에 배치되고 상기 프로세서와 전기적으로 연결된 메모리를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가, 제1 예에서, 상기 마이크로폰을 통해 제1 사용자 발화를 수신하고, 상기 제1 사용자 발화는 상기 전자 장치와 제1 태스크를 수행하기 위한 제1 요청을 포함하고, 상기 무선 통신 회로를 통해 외부 서버로 상기 제1 사용자 발화와 관련된 제1 데이터를 전송하고, 상기 무선 통신 회로를 통해 상기 외부 서버로부터 제1 응답을 수신하고, 상기 제1 응답은 상기 제1 태스크를 수행하기 위한 상기 전자 장치의 제1 스테이트들의 시퀀스들에 대한 정보를 포함하고, 상기 전자 장치가 제1 스테이트들의 시퀀스들을 갖도록 함으로써 상기 제 1 태스크를 수행하도록 하고, 제2 예에서, 상기 마이크로폰을 통해 제2 사용자 발화를 수신하고, 상기 제2 사용자 발화는 상기 전자 장치와 제2 태스크를 수행하기 위한 제2 요청을 포함하고, 상기 무선 통신 회로를 통해 상기 외부 서버로 상기 제2 사용자 발화와 관련된 제2 데이터를 전송하고, 상기 무선 통신 회로를 통해 상기 외부 서버로부터 제2 응답을 수신하고, 상기 제2 응답은 상기 사용자 발화의 의도를 나타내는 적어도 하나의 샘플 발화를 포함하고, 상기 적어도 하나의 샘플 발화는 상기 제2 사용자 발화에 기반하여 상기 외부 서버에 의해 선택되고, 상기 터치스크린 디스플레이에 상기 적어도 하나의 샘플 발화를 표시하고, 상기 마이크로폰 또는 상기 터치스크린 디스플레이를 통해 상기 적어도 하나의 샘플 발화 중 하나를 선택하기 위한 제1 사용자 입력을 수신하고, 상기 전자 장치가 상기 적어도 하나의 샘플 발화 중 상기 선택된 하나와 관련된 제2 스테이트들의 시퀀스를 갖도록 함으로써 상기 제2 태스크를 수행하도록 하는, 인스트럭션들을 저장할 수 있다.An electronic device according to an embodiment disclosed in this document includes a housing; A touch screen display disposed within the housing and exposed through a first portion of the housing; A microphone disposed within the housing and exposed through a second portion of the housing; At least one speaker disposed within the housing and exposed to a third portion of the housing; A wireless communication circuit disposed within the housing; A processor disposed within the housing and electrically coupled to the touch screen display, the microphone, the at least one speaker, and the wireless communication circuitry; And a memory disposed in the housing and electrically coupled to the processor, wherein the memory, in execution, causes the processor to receive, in a first example, a first user utterance via the microphone, Wherein said first request comprises a first request to perform said first task with said electronic device and transmits first data associated with said first user utterance to an external server via said wireless communication circuit, Receiving a first response from an external server, the first response including information about sequences of first states of the electronic device for performing the first task, and wherein the electronic device is operable to receive sequences of first states To perform the first task, and in a second example, to receive a second user utterance via the microphone Wherein the second user utterance includes a second request to perform the second task with the electronic device and transmits second data associated with the second user utterance to the external server via the wireless communication circuit, Receiving a second response from the external server via a wireless communication circuit, the second response including at least one sample speech indicating the intent of the user utterance, and the at least one sample speech being associated with the second user utterance For displaying the at least one sample speech on the touch screen display and for selecting one of the at least one sample speech through the microphone or the touch screen display, Wherein the electronic device is adapted to receive the selected one of the at least one sample speech To perform the second task by having a sequence of second states associated with the second task.

일 실시 예에서, 상기 적어도 하나의 샘플 사용자 발화는, 제1 의도를 나타내는 제1 샘플 발화 및 상기 제1 의도와 다른 제2 의도를 나타내는 제2 샘플 발화를 포함할 수 있다.In one embodiment, the at least one sample user utterance may comprise a first sample utterance representing a first intent and a second sample utterance representing a second intent different from the first intent.

일 실시 예에서, 상기 인스트럭션들은 상기 프로세서가, 상기 터치스크린 디스플레이에 상기 적어도 하나의 샘플 발화와 관련된 하나 이상의 이미지를 표시하도록 더 야기할 수 있다.In one embodiment, the instructions may further cause the processor to display one or more images associated with the at least one sample speech on the touch screen display.

일 실시 예에서, 상기 하나 이상의 이미지는 상기 제2 스테이트들을 나타낼 수 있다.In one embodiment, the one or more images may represent the second states.

일 실시 예에서, 상기 인스트럭션들은, 상기 프로세서가, 상기 적어도 하나의 샘플 발화를 표시하는 순서를 결정하고, 상기 결정된 순서에 따라 상기 적어도 하나의 샘플 발화를 표시하도록 할 수 있다.In one embodiment, the instructions may cause the processor to determine an order in which to display the at least one sample speech, and to display the at least one sample speech in the determined order.

일 실시 예에서, 상기 제2 응답은 상기 적어도 하나의 샘플 발화 각각에 대응하는 값을 더 포함하고, 상기 인스트럭션들은, 상기 프로세서가, 상기 값의 크기 순으로 상기 적어도 하나의 샘플 발화를 표시하는 순서를 결정하도록 할 수 있다.In an embodiment, the second response further comprises a value corresponding to each of the at least one sample utterances, and the instructions cause the processor to perform the steps of: ordering the at least one sample utterance in order of magnitude of the value Can be determined.

일 실시 예에서, 상기 인스트럭션들은, 상기 프로세서가, 상기 적어도 하나의 샘플 발화 중 첫번째 순서에 해당하는 샘플 발화를 나머지 샘플 발화와 시각적으로 달리 표시하도록 할 수 있다.In one embodiment, the instructions may cause the processor to visually represent a sample utterance corresponding to a first order of the at least one sample utterance, with the remaining sample utterances.

일 실시 예에서, 상기 인스트럭션들은, 상기 프로세서가, 상기 제1 사용자 입력 수신에 응답하여, 상기 선택된 샘플 발화와 관련된 제2 스테이트들의 시퀀스와 관련된 정보를 표시하고, 상기 선택된 샘플 발화를 다시 선택하는 제2 사용자 입력을 수신하고, 상기 제2 사용자 입력 수신에 응답하여, 상기 제2 태스크를 수행하도록 할 수 있다.In one embodiment, the instructions cause the processor to: in response to receiving the first user input, display information related to a sequence of second states associated with the selected sample utterance, 2 user input, and in response to receiving the second user input, perform the second task.

일 실시 예에서, 상기 표시된 정보는 상기 제2 스테이트들의 시퀀스의 동작 또는 상기 제2 태스크를 수행하도록 하는 발화 중 적어도 하나를 포함할 수 있다.In one embodiment, the displayed information may comprise at least one of an operation of the sequence of second states or an utterance to cause the second task to perform.

또한, 본 문서에 개시되는 일 실시 예에 따른 전자 장치는, 하우징; 상기 하우징 내에 배치되고, 상기 하우징의 제1 부분을 통해 노출된 터치스크린 디스플레이; 상기 하우징 내에 배치되고 상기 하우징의 제2 부분을 통해 노출된 마이크로폰; 상기 하우징 내에 배치되고 상기 하우징의 제3 부분을 토해 노출된 적어도 하나의 스피커; 상기 하우징 내에 배치된 무선 통신 회로; 상기 하우징 내에 배치되고, 상기 터치스크린 디스플레이, 상기 마이크로폰, 상기 적어도 하나의 스피커 및 상기 무선 통신 회로와 전기적으로 연결된 프로세서; 및 상기 하우징 내에 배치되고 상기 프로세서와 전기적으로 연결된 메모리를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가,, 상기 마이크로폰을 통해 사용자 발화를 수신하고, 상기 사용자 발화는 상기 전자 장치와 태스크를 수행하기 위한 요청을 포함하고, 상기 무선 통신 회로를 통해 외부 서버로 상기 사용자 발화와 관련된 데이터를 전송하고, 상기 무선 통신 회로를 통해 상기 외부 서버로부터 응답을 수신하고, 상기 응답은 복수의 샘플 발화를 포함하고, 상기 복수의 샘플 발화는 제1 패스 룰에 대응하는 제1 샘플 발화 및 제2 패스 룰에 대응하는 제2 샘플 발화를 포함하고, 상기 제1 패스 룰 및 상기 제2 패스 룰은 상기 사용자 발화와 관련된 데이터에 기반하여 상기 외부 서버에 의해 생성되고, 상기 터치스크린 디스플레이에 상기 적어도 하나의 샘플 발화를 표시하고, 상기 마이크로폰 또는 상기 터치스크린 디스플레이를 통해 상기 적어도 하나의 샘플 발화 중 하나를 선택하기 위한 제1 사용자 입력을 수신하고, 상기 전자 장치가 상기 적어도 하나의 샘플 발화 중 선택된 하나와 관련된 스테이트들의 시퀀스를 갖도록 함으로써 상기 태스크를 수행하도록 하는, 인스트럭션들을 저장할 수 있다.Further, an electronic device according to an embodiment disclosed in this document includes: a housing; A touch screen display disposed within the housing and exposed through a first portion of the housing; A microphone disposed within the housing and exposed through a second portion of the housing; At least one speaker disposed within the housing and exposed to a third portion of the housing; A wireless communication circuit disposed within the housing; A processor disposed within the housing and electrically coupled to the touch screen display, the microphone, the at least one speaker, and the wireless communication circuitry; And a memory disposed in the housing and electrically coupled to the processor, wherein the memory, in execution, causes the processor to receive a user utterance through the microphone, The method comprising: sending a request for performing a user utterance to the external server via the wireless communication circuit; receiving a response from the external server via the wireless communication circuit; Wherein the plurality of sample utterances comprises a first sample utterance corresponding to a first pass rule and a second sample utterance corresponding to a second pass rule, Wherein the touch screen display is generated by the external server based on data associated with an utterance, Receiving a first user input for selecting one of the at least one sample speech via the microphone or the touch screen display and the electronic device displaying a selected one of the at least one sample speech And to have the task have a sequence of states associated with it.

일 실시 예에서, 상기 인스트럭션들은 상기 프로세서가, 상기 터치스크린 디스플레이에 상기 적어도 하나의 샘플 발화와 관련된 하나 이상의 이미지를 표시하도록 더 야기할 수 있다.In one embodiment, the instructions may further cause the processor to display one or more images associated with the at least one sample speech on the touch screen display.

일 실시 예에서, 상기 하나 이상의 이미지는 상기 스테이트들을 나타낼 수 있다.In one embodiment, the one or more images may represent the states.

일 실시 예에서, 상기 인스트럭션들은, 상기 프로세서가, 상기 적어도 하나의 샘플 발화를 표시하는 순서를 결정하고, 상기 결정된 순서에 따라 상기 적어도 하나의 샘플 발화를 표시하도록 할 수 있다.In one embodiment, the instructions may cause the processor to determine an order in which to display the at least one sample speech, and to display the at least one sample speech in the determined order.

일 실시 예에서, 상기 응답은 상기 적어도 하나의 샘플 발화 각각에 대응하는 값을 더 포함하고, 상기 인스트럭션들은, 상기 프로세서로 하여금, 상기 값의 크기 순으로 상기 적어도 하나의 샘플 발화를 표시하는 순서를 결정하도록 할 수 있다.In one embodiment, the response further comprises a value corresponding to each of the at least one sample utterances, and the instructions cause the processor to perform the steps of displaying the at least one sample utterance in order of magnitude of the value Can be determined.

일 실시 예에서, 상기 인스트럭션들은, 상기 프로세서로 하여금, 상기 적어도 하나의 샘플 발화 중 첫번째 순서에 해당하는 샘플 발화를 나머지 샘플 발화와 시각적으로 달리 표시하도록 할 수 있다.In one embodiment, the instructions may cause the processor to visually represent a sample utterance corresponding to a first order of the at least one sample utterance, with the remaining sample utterances.

일 실시 예에서, 상기 인스트럭션들은, 상기 프로세서로 하여금, 상기 제1 사용자 입력 수신에 응답하여, 상기 선택된 샘플 발화와 관련된 스테이트들의 시퀀스와 관련된 정보를 표시하고, 상기 선택된 샘플 발화를 다시 선택하는 제2 사용자 입력을 수신하고, 상기 제2 사용자 입력 수신에 응답하여, 상기 태스크를 수행하도록 할 수 있다.In one embodiment, the instructions cause the processor to: display, in response to receiving the first user input, information relating to a sequence of states associated with the selected sample speech, and to select a second And to perform the task in response to receiving the user input and receiving the second user input.

일 실시 예에서, 상기 표시된 정보는 상기 스테이트들의 시퀀스의 동작 또는 상기 태스크를 수행하도록 하는 발화 중 적어도 하나를 포함할 수 있다.In one embodiment, the displayed information may comprise at least one of an operation of the sequence of states or an utterance to cause the task to be performed.

또한, 본 문서에 개시되는 일 실시 예에 따른 저장 매체는 컴퓨터 판독 가능한 명령어들을 저장하는 저장 매체에 있어서, 상기 명령어들은 전자 장치의 프로세서에 의해 실행될 때, 상기 전자 장치로 하여금, 사용자 발화를 수신하는 동작, 상기 사용자 발화는 상기 전자 장치와 태스크를 수행하기 위한 요청을 포함하고, 외부 서버로 상기 사용자 발화와 관련된 데이터를 전송하는 동작, 상기 외부 서버로부터 응답을 수신하는 동작, 상기 응답은 상기 사용자 발화의 의도를 나타내는 적어도 하나의 샘플 발화를 포함하고, 상기 적어도 하나의 샘플 발화는 상기 사용자 발화에 기반하여 상기 외부 서버에 의해 선택되고, 상기 적어도 하나의 샘플 발화를 표시하는 동작, 상기 적어도 하나의 샘플 발화 중 하나를 선택하기 위한 제1 사용자 입력을 수신하는 동작, 및 상기 전자 장치가 상기 적어도 하나의 샘플 발화 중 선택된 하나와 관련된 스테이트들의 시퀀스를 갖도록 함으로써 상기 태스크를 수행하는 동작을 수행하도록 할 수 있다.Also, a storage medium according to one embodiment disclosed herein is a storage medium storing computer-readable instructions, which when executed by a processor of an electronic device causes the electronic device to receive a user utterance Wherein the user utterance comprises a request to perform a task with the electronic device, the method comprising: sending data associated with the user utterance to an external server; receiving a response from the external server; Wherein the at least one sample utterance is selected by the external server based on the user utterance and displaying the at least one sample utterance, the at least one sample utterance indicating the at least one sample A first user input for selecting one of the utterances; And performing the task by causing the electronic device to have a sequence of states associated with a selected one of the at least one sample utterances.

일 실시 예에서, 상기 적어도 하나의 샘플 사용자 발화는, 제1 의도를 나타내는 제1 샘플 발화 및 상기 제1 의도와 다른 제2 의도를 나타내는 제2 샘플 발화를 포함할 수 있다.In one embodiment, the at least one sample user utterance may comprise a first sample utterance representing a first intent and a second sample utterance representing a second intent different from the first intent.

일 실시 예에서, 상기 명령어들은 전자 장치의 프로세서에 의해 실행될 때, 상기 전자 장치로 하여금, 상기 적어도 하나의 샘플 발화와 관련된 하나 이상의 이미지를 더 표시하도록 할 수 있다.In one embodiment, the instructions, when executed by a processor of the electronic device, cause the electronic device to further display one or more images associated with the at least one sample speech.

본 문서의 다양한 실시 예들 및 이에 사용된 용어들은 본 문서에 기재된 기술을 특정한 실시 형태에 대해 한정하려는 것이 아니며, 해당 실시 예의 다양한 변경, 균등물, 및/또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및/또는 B 중 적어도 하나", "A, B 또는 C" 또는 "A, B 및/또는 C 중 적어도 하나" 등의 표현은 함께 나열된 항목들의 모든 가능한 조합을 포함할 수 있다. "제1," "제2," "첫째," 또는 "둘째,"등의 표현들은 해당 구성요소들을, 순서 또는 중요도에 상관없이 수식할 수 있고, 한 구성요소를 다른 구성요소와 구분하기 위해 사용될 뿐 해당 구성요소들을 한정하지 않는다. 어떤(예: 제1) 구성요소가 다른(예: 제2) 구성요소에 "(기능적으로 또는 통신적으로) 연결되어" 있다거나 "접속되어" 있다고 언급된 때에는, 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로 연결되거나, 다른 구성요소(예: 제 3 구성요소)를 통하여 연결될 수 있다.It should be understood that the various embodiments of the present document and the terminology used are not intended to limit thetechniques described in this document to specific embodiments, but rather to include various modifications, equivalents, and / or alternatives of the embodiments. In connection with the description of the drawings, like reference numerals may be used for similar components. The singular expressions may include plural expressions unless the context clearly dictates otherwise. In this document, the expressions "A or B," "at least one of A and / or B," "A, B or C," or "at least one of A, B, and / Possible combinations. Expressions such as " first, "" second," " first, "or" second, " But is not limited to those components. When it is mentioned that some (e.g., first) component is "(functionally or communicatively) connected" or "connected" to another (second) component, May be connected directly to the component, or may be connected through another component (e.g., a third component).

본 문서에서, "~하도록 설정된(adapted to or configured to)"은 상황에 따라, 예를 들면, 하드웨어적 또는 소프트웨어적으로 "~에 적합한," "~하는 능력을 가지는," "~하도록 변경된," "~하도록 만들어진," "~를 할 수 있는," 또는 "~하도록 설계된"과 상호 호환적으로(interchangeably) 사용될 수 있다. 어떤 상황에서는, "~하도록 구성된 장치"라는 표현은, 그 장치가 다른 장치 또는 부품들과 함께 "~할 수 있는" 것을 의미할 수 있다. 예를 들면, 문구 "A, B, 및 C를 수행하도록 설정된 (또는 구성된) 프로세서"는 해당 동작들을 수행하기 위한 전용 프로세서(예: 임베디드 프로세서), 또는 메모리 장치(예: 메모리 2830)에 저장된 하나 이상의 프로그램들을 실행함으로써, 해당 동작들을 수행할 수 있는 범용 프로세서(예: CPU 또는 AP)를 의미할 수 있다.In this document, the term " adapted to or configured to "as used herein is intended to encompass all types of information, including, but not limited to, "Quot;, " made to do ", " designed to ", or "designed to" In some situations, the expression "a device 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 a processor dedicated to performing the operations (e.g., an embedded processor) By executing the above programs, it can mean a general-purpose processor (e.g., CPU or AP) that can perform the corresponding operations.

본 문서에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어(firmware)로 구성된 유닛(unit)을 포함하며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로 등의 용어와 상호 호환적으로 사용될 수 있다. "모듈"은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는 최소 단위 또는 그 일부가 될 수 있다. "모듈"은 기계적으로 또는 전자적으로 구현될 수 있으며, 예를 들면, 어떤 동작들을 수행하는, 알려졌거나 앞으로 개발될, ASIC(application-specific integrated circuit) 칩, FPGAs(field-programmable gate arrays), 또는 프로그램 가능 논리 장치를 포함할 수 있다.As used herein, the term "module" includes a unit of hardware, software or firmware and may be used interchangeably with terms such as, for example, logic, logic blocks, components, . A "module" may be an integrally constructed component or a minimum unit or part thereof that performs one or more functions. "Module" may be implemented either mechanically or electronically, for example, by application-specific integrated circuit (ASIC) chips, field-programmable gate arrays (FPGAs) And may include programmable logic devices.

다양한 실시 예들에 따른 장치(예: 모듈들 또는 그 기능들) 또는 방법(예: 동작들)의 적어도 일부는 프로그램 모듈의 형태로 컴퓨터로 판독 가능한 저장 매체(예: 메모리(2830))에 저장된 명령어로 구현될 수 있다. 상기 명령어가 프로세서(예: 프로세서(2820))에 의해 실행될 경우, 프로세서가 상기 명령어에 해당하는 기능을 수행할 수 있다. 컴퓨터로 판독 가능한 기록 매체는, 하드디스크, 플로피디스크, 마그네틱 매체(예: 자기테이프), 광기록 매체(예: CD-ROM, DVD, 자기-광 매체(예: 플롭티컬 디스크), 내장 메모리 등을 포함할 수 있다. 명령어는 컴파일러에 의해 만들어지는 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다.At least some of the devices (e.g., modules or functions thereof) or methods (e.g., operations) according to various embodiments may be stored in a computer readable storage medium (e.g., memory 2830) . ≪ / RTI > When the instruction is executed by a processor (e.g., processor 2820), the processor may perform a function corresponding to the instruction. The computer-readable recording medium may be a hard disk, a floppy disk, a magnetic medium such as a magnetic tape, an optical recording medium such as a CD-ROM, a DVD, a magnetic-optical medium such as a floppy disk, The instructions may include code generated by the compiler or code that may be executed by the interpreter.

다양한 실시 예들에 따른 구성 요소(예: 모듈 또는 프로그램 모듈) 각각은 단수 또는 복수의 개체로 구성될 수 있으며, 전술한 해당 서브 구성 요소들 중 일부 서브 구성 요소가 생략되거나, 또는 다른 서브 구성 요소를 더 포함할 수 있다. 대체적으로 또는 추가적으로, 일부 구성 요소들(예: 모듈 또는 프로그램 모듈)은 하나의 개체로 통합되어, 통합되기 이전의 각각의 해당 구성 요소에 의해 수행되는 기능을 동일 또는 유사하게 수행할 수 있다. 다양한 실시 예들에 따른 모듈, 프로그램 모듈 또는 다른 구성 요소에 의해 수행되는 동작들은 순차적, 병렬적, 반복적 또는 휴리스틱(heuristic)하게 실행되거나, 적어도 일부 동작이 다른 순서로 실행되거나, 생략되거나, 또는 다른 동작이 추가될 수 있다.Each of the components (e.g., modules or program modules) according to various embodiments may be comprised of a single entity or a plurality of entities, and some subcomponents of the previously mentioned subcomponents may be omitted, or other subcomponents . Alternatively or additionally, some components (e.g., modules or program modules) may be integrated into one entity to perform the same or similar functions performed by each respective component prior to integration. Operations performed by modules, program modules, or other components in accordance with various embodiments may be performed sequentially, in a parallel, repetitive, or heuristic manner, or at least some operations may be performed in a different order, Can be added.

Claims (20)

전자 장치에 있어서,
하우징;
상기 하우징 내에 배치되고, 상기 하우징의 제1 부분을 통해 노출된 터치스크린 디스플레이;
상기 하우징 내에 배치되고 상기 하우징의 제2 부분을 통해 노출된 마이크로폰;
상기 하우징 내에 배치되고 상기 하우징의 제3 부분을 토해 노출된 적어도 하나의 스피커;
상기 하우징 내에 배치된 무선 통신 회로;
상기 하우징 내에 배치되고, 상기 터치스크린 디스플레이, 상기 마이크로폰, 상기 적어도 하나의 스피커 및 상기 무선 통신 회로와 전기적으로 연결된 프로세서; 및
상기 하우징 내에 배치되고 상기 프로세서와 전기적으로 연결된 메모리를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가,
제1 예에서,
상기 마이크로폰을 통해 제1 사용자 발화를 수신하고, 상기 제1 사용자 발화는 상기 전자 장치와 제1 태스크를 수행하기 위한 제1 요청을 포함하고,
상기 무선 통신 회로를 통해 외부 서버로 상기 제1 사용자 발화와 관련된 제1 데이터를 전송하고,
상기 무선 통신 회로를 통해 상기 외부 서버로부터 제1 응답을 수신하고, 상기 제1 응답은 상기 제1 태스크를 수행하기 위한 상기 전자 장치의 제1 스테이트들의 시퀀스들에 대한 정보를 포함하고, 상기 전자 장치가 제1 스테이트들의 시퀀스들을 갖도록 함으로써 상기 제 1 태스크를 수행하도록 하고,
제2 예에서,
상기 마이크로폰을 통해 제2 사용자 발화를 수신하고, 상기 제2 사용자 발화는 상기 전자 장치와 제2 태스크를 수행하기 위한 제2 요청을 포함하고,
상기 무선 통신 회로를 통해 상기 외부 서버로 상기 제2 사용자 발화와 관련된 제2 데이터를 전송하고,
상기 무선 통신 회로를 통해 상기 외부 서버로부터 제2 응답을 수신하고, 상기 제2 응답은 상기 사용자 발화의 의도를 나타내는 적어도 하나의 샘플 발화를 포함하고, 상기 적어도 하나의 샘플 발화는 상기 제2 사용자 발화에 기반하여 상기 외부 서버에 의해 선택되고,
상기 터치스크린 디스플레이에 상기 적어도 하나의 샘플 발화를 표시하고,
상기 마이크로폰 또는 상기 터치스크린 디스플레이를 통해 상기 적어도 하나의 샘플 발화 중 하나를 선택하기 위한 제1 사용자 입력을 수신하고,
상기 전자 장치가 상기 적어도 하나의 샘플 발화 중 상기 선택된 하나와 관련된 제2 스테이트들의 시퀀스를 갖도록 함으로써 상기 제2 태스크를 수행하도록 하는, 인스트럭션들을 저장하는 전자 장치.
In an electronic device,
housing;
A touch screen display disposed within the housing and exposed through a first portion of the housing;
A microphone disposed within the housing and exposed through a second portion of the housing;
At least one speaker disposed within the housing and exposed to a third portion of the housing;
A wireless communication circuit disposed within the housing;
A processor disposed within the housing and electrically coupled to the touch screen display, the microphone, the at least one speaker, and the wireless communication circuitry; And
A memory disposed within the housing and electrically coupled to the processor, the memory having, in execution,
In the first example,
Wherein the first user utterance comprises a first request for performing a first task with the electronic device,
Transmitting first data associated with the first user utterance to an external server via the wireless communication circuit,
Receive a first response from the external server via the wireless communication circuit and the first response includes information about sequences of first states of the electronic device for performing the first task, To perform the first task by having the sequences of first states,
In the second example,
Wherein the second user utterance comprises a second request for performing a second task with the electronic device,
Transmitting second data related to the second user utterance to the external server through the wireless communication circuit,
Wherein the second response comprises at least one sample speech indicating an intention of the user utterance, and wherein the at least one sample utterance comprises a second user utterance Is selected by the external server,
Displaying the at least one sample speech on the touch screen display,
Receive a first user input for selecting one of the at least one sample speech via the microphone or the touch screen display,
Wherein the electronic device is configured to perform the second task by having the sequence of second states associated with the selected one of the at least one sample utterance.
청구항 1에 있어서,
상기 적어도 하나의 샘플 사용자 발화는,
제1 의도를 나타내는 제1 샘플 발화 및 상기 제1 의도와 다른 제2 의도를 나타내는 제2 샘플 발화를 포함하는, 전자 장치.
The method according to claim 1,
Wherein the at least one sample user utterance comprises:
A first sample speech representing a first intent and a second sample speech representing a second intent different from the first intent.
청구항 1에 있어서,
상기 인스트럭션들은 상기 프로세서가,
상기 터치스크린 디스플레이에 상기 적어도 하나의 샘플 발화와 관련된 하나 이상의 이미지를 표시하도록 더 야기하는, 전자 장치.
The method according to claim 1,
Wherein the instructions cause the processor to:
And causes the touch screen display to display one or more images associated with the at least one sample speech.
청구항 3에 있어서,
상기 하나 이상의 이미지는 상기 제2 스테이트들을 나타내는, 전자 장치.
The method of claim 3,
Wherein the at least one image represents the second states.
청구항 1에 있어서,
상기 인스트럭션들은, 상기 프로세서가,
상기 적어도 하나의 샘플 발화를 표시하는 순서를 결정하고,
상기 결정된 순서에 따라 상기 적어도 하나의 샘플 발화를 표시하도록 하는, 전자 장치.
The method according to claim 1,
Wherein the instructions cause the processor to:
Determine an order of displaying the at least one sample speech,
And to display the at least one sample speech according to the determined order.
청구항 5에 있어서,
상기 제2 응답은 상기 적어도 하나의 샘플 발화 각각에 대응하는 값을 더 포함하고,
상기 인스트럭션들은, 상기 프로세서가,
상기 값의 크기 순으로 상기 적어도 하나의 샘플 발화를 표시하는 순서를 결정하도록 하는, 전자 장치.
The method of claim 5,
Wherein the second response further comprises a value corresponding to each of the at least one sample speech,
Wherein the instructions cause the processor to:
And determine an order of displaying the at least one sample speech in order of magnitude of the value.
청구항 5에 있어서,
상기 인스트럭션들은, 상기 프로세서가,
상기 적어도 하나의 샘플 발화 중 첫번째 순서에 해당하는 샘플 발화를 나머지 샘플 발화와 시각적으로 달리 표시하도록 하는, 전자 장치.
The method of claim 5,
Wherein the instructions cause the processor to:
To cause the sample utterance corresponding to the first order of the at least one sample utterance to be visually displayed differently from the remaining sample utterances.
청구항 1에 있어서,
상기 인스트럭션들은, 상기 프로세서가,
상기 제1 사용자 입력 수신에 응답하여, 상기 선택된 샘플 발화와 관련된 제2 스테이트들의 시퀀스와 관련된 정보를 표시하고,
상기 선택된 샘플 발화를 다시 선택하는 제2 사용자 입력을 수신하고,
상기 제2 사용자 입력 수신에 응답하여, 상기 제2 태스크를 수행하도록 하는, 전자 장치.
The method according to claim 1,
Wherein the instructions cause the processor to:
Responsive to receiving the first user input, displaying information related to a sequence of second states associated with the selected sample speech,
Receiving a second user input that again selects the selected sample speech,
And in response to receiving the second user input, perform the second task.
청구항 8에 있어서,
상기 표시된 정보는 상기 제2 스테이트들의 시퀀스의 동작 또는 상기 제2 태스크를 수행하도록 하는 발화 중 적어도 하나를 포함하는, 전자 장치.
The method of claim 8,
Wherein the displayed information comprises at least one of an operation of the sequence of second states or an ignition to cause the second task to perform.
전자 장치에 있어서,
하우징;
상기 하우징 내에 배치되고, 상기 하우징의 제1 부분을 통해 노출된 터치스크린 디스플레이;
상기 하우징 내에 배치되고 상기 하우징의 제2 부분을 통해 노출된 마이크로폰;
상기 하우징 내에 배치되고 상기 하우징의 제3 부분을 토해 노출된 적어도 하나의 스피커;
상기 하우징 내에 배치된 무선 통신 회로;
상기 하우징 내에 배치되고, 상기 터치스크린 디스플레이, 상기 마이크로폰, 상기 적어도 하나의 스피커 및 상기 무선 통신 회로와 전기적으로 연결된 프로세서; 및
상기 하우징 내에 배치되고 상기 프로세서와 전기적으로 연결된 메모리를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가,,
상기 마이크로폰을 통해 사용자 발화를 수신하고, 상기 사용자 발화는 상기 전자 장치와 태스크를 수행하기 위한 요청을 포함하고,
상기 무선 통신 회로를 통해 외부 서버로 상기 사용자 발화와 관련된 데이터를 전송하고,
상기 무선 통신 회로를 통해 상기 외부 서버로부터 응답을 수신하고, 상기 응답은 복수의 샘플 발화를 포함하고, 상기 복수의 샘플 발화는 제1 패스 룰에 대응하는 제1 샘플 발화 및 제2 패스 룰에 대응하는 제2 샘플 발화를 포함하고, 상기 제1 패스 룰 및 상기 제2 패스 룰은 상기 사용자 발화와 관련된 데이터에 기반하여 상기 외부 서버에 의해 생성되고,
상기 터치스크린 디스플레이에 상기 적어도 하나의 샘플 발화를 표시하고,
상기 마이크로폰 또는 상기 터치스크린 디스플레이를 통해 상기 적어도 하나의 샘플 발화 중 하나를 선택하기 위한 제1 사용자 입력을 수신하고,
상기 전자 장치가 상기 적어도 하나의 샘플 발화 중 선택된 하나와 관련된 스테이트들의 시퀀스를 갖도록 함으로써 상기 태스크를 수행하도록 하는, 인스트럭션들을 저장하는 전자 장치.
In an electronic device,
housing;
A touch screen display disposed within the housing and exposed through a first portion of the housing;
A microphone disposed within the housing and exposed through a second portion of the housing;
At least one speaker disposed within the housing and exposed to a third portion of the housing;
A wireless communication circuit disposed within the housing;
A processor disposed within the housing and electrically coupled to the touch screen display, the microphone, the at least one speaker, and the wireless communication circuitry; And
A memory disposed within the housing and electrically coupled to the processor, the memory having, in execution,
Receiving a user utterance through the microphone, the user utterance comprising a request to perform a task with the electronic device,
Transmitting data related to the user's utterance to an external server via the wireless communication circuit,
The response being received from the external server via the wireless communication circuit, the response including a plurality of sample utterances, wherein the plurality of sample utterances correspond to a first sample utterance and a second pass rule corresponding to a first pass rule Wherein the first pass rule and the second pass rule are generated by the external server based on data associated with the user utterance,
Displaying the at least one sample speech on the touch screen display,
Receive a first user input for selecting one of the at least one sample speech via the microphone or the touch screen display,
Wherein the electronic device is configured to perform the task by having the sequence of states associated with the selected one of the at least one sample utterance.
청구항 10에 있어서,
상기 인스트럭션들은 상기 프로세서가,
상기 터치스크린 디스플레이에 상기 적어도 하나의 샘플 발화와 관련된 하나 이상의 이미지를 표시하도록 더 야기하는, 전자 장치.
The method of claim 10,
Wherein the instructions cause the processor to:
And causes the touch screen display to display one or more images associated with the at least one sample speech.
청구항 11에 있어서,
상기 하나 이상의 이미지는 상기 스테이트들을 나타내는, 전자 장치.
The method of claim 11,
Wherein the at least one image represents the states.
청구항 10에 있어서,
상기 인스트럭션들은, 상기 프로세서가,
상기 적어도 하나의 샘플 발화를 표시하는 순서를 결정하고,
상기 결정된 순서에 따라 상기 적어도 하나의 샘플 발화를 표시하도록 하는, 전자 장치.
The method of claim 10,
Wherein the instructions cause the processor to:
Determine an order of displaying the at least one sample speech,
And to display the at least one sample speech according to the determined order.
청구항 13에 있어서,
상기 응답은 상기 적어도 하나의 샘플 발화 각각에 대응하는 값을 더 포함하고,
상기 인스트럭션들은, 상기 프로세서로 하여금,
상기 값의 크기 순으로 상기 적어도 하나의 샘플 발화를 표시하는 순서를 결정하도록 하는, 전자 장치.
14. The method of claim 13,
Wherein the response further comprises a value corresponding to each of the at least one sample speech,
The instructions cause the processor to:
And determine an order of displaying the at least one sample speech in order of magnitude of the value.
청구항 13에 있어서,
상기 인스트럭션들은, 상기 프로세서로 하여금,
상기 적어도 하나의 샘플 발화 중 첫번째 순서에 해당하는 샘플 발화를 나머지 샘플 발화와 시각적으로 달리 표시하도록 하는, 전자 장치.
14. The method of claim 13,
The instructions cause the processor to:
To cause the sample utterance corresponding to the first order of the at least one sample utterance to be visually displayed differently from the remaining sample utterances.
청구항 10에 있어서,
상기 인스트럭션들은, 상기 프로세서로 하여금,
상기 제1 사용자 입력 수신에 응답하여, 상기 선택된 샘플 발화와 관련된 스테이트들의 시퀀스와 관련된 정보를 표시하고,
상기 선택된 샘플 발화를 다시 선택하는 제2 사용자 입력을 수신하고,
상기 제2 사용자 입력 수신에 응답하여, 상기 태스크를 수행하도록 하는, 전자 장치.
The method of claim 10,
The instructions cause the processor to:
Responsive to receiving the first user input, displaying information related to a sequence of states associated with the selected sample speech,
Receiving a second user input that again selects the selected sample speech,
And in response to receiving the second user input, perform the task.
청구항 16에 있어서,
상기 표시된 정보는 상기 스테이트들의 시퀀스의 동작 또는 상기 태스크를 수행하도록 하는 발화 중 적어도 하나를 포함하는, 전자 장치.
18. The method of claim 16,
Wherein the displayed information comprises at least one of an operation of the sequence of states or an utterance to cause the task to perform.
컴퓨터 판독 가능한 명령어들을 저장하는 저장 매체에 있어서, 상기 명령어들은 전자 장치의 프로세서에 의해 실행될 때, 상기 전자 장치로 하여금,
사용자 발화를 수신하는 동작, 상기 사용자 발화는 상기 전자 장치와 태스크를 수행하기 위한 요청을 포함하고,
외부 서버로 상기 사용자 발화와 관련된 데이터를 전송하는 동작,
상기 외부 서버로부터 응답을 수신하는 동작, 상기 응답은 상기 사용자 발화의 의도를 나타내는 적어도 하나의 샘플 발화를 포함하고, 상기 적어도 하나의 샘플 발화는 상기 사용자 발화에 기반하여 상기 외부 서버에 의해 선택되고,
상기 적어도 하나의 샘플 발화를 표시하는 동작,
상기 적어도 하나의 샘플 발화 중 하나를 선택하기 위한 제1 사용자 입력을 수신하는 동작, 및
상기 전자 장치가 상기 적어도 하나의 샘플 발화 중 선택된 하나와 관련된 스테이트들의 시퀀스를 갖도록 함으로써 상기 태스크를 수행하는 동작을 수행하도록 하는, 저장 매체.
22. A storage medium storing computer-readable instructions, the instructions being executable by a processor of the electronic device to cause the electronic device to:
Receiving a user utterance, the user utterance comprising a request to perform a task with the electronic device,
Transmitting data associated with the user utterance to an external server,
Receiving a response from the external server, the response including at least one sample utterance indicative of intent of the user utterance, the at least one sample utterance being selected by the external server based on the user utterance,
Displaying the at least one sample speech,
Receiving a first user input for selecting one of the at least one sample speech; and
To perform the task by causing the electronic device to have a sequence of states associated with a selected one of the at least one sample utterance.
청구항 18에 있어서,
상기 적어도 하나의 샘플 사용자 발화는, 제1 의도를 나타내는 제1 샘플 발화 및 상기 제1 의도와 다른 제2 의도를 나타내는 제2 샘플 발화를 포함하는, 저장 매체.
19. The method of claim 18,
Wherein the at least one sample user utterance comprises a first sample utterance representing a first intent and a second sample utterance representing a second intent different from the first intent.
청구항 18에 있어서,
상기 명령어들은 전자 장치의 프로세서에 의해 실행될 때, 상기 전자 장치로 하여금,
상기 적어도 하나의 샘플 발화와 관련된 하나 이상의 이미지를 더 표시하도록 하는, 저장 매체.
19. The method of claim 18,
Wherein the instructions, when executed by a processor of the electronic device, cause the electronic device to:
And to display one or more images associated with the at least one sample speech.
KR1020170090581A 2017-04-17 2017-07-17 Device for performing a task corresponding to user utterance KR102402224B1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US15/866,119 US11170768B2 (en) 2017-04-17 2018-01-09 Device for performing task corresponding to user utterance
CN201810293716.3A CN108735204B (en) 2017-04-17 2018-04-03 Device for performing tasks corresponding to user utterances
EP18167798.0A EP3392877B1 (en) 2017-04-17 2018-04-17 Device for performing task corresponding to user utterance

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020170049396 2017-04-17
KR20170049396 2017-04-17

Publications (2)

Publication Number Publication Date
KR20180116731A true KR20180116731A (en) 2018-10-25
KR102402224B1 KR102402224B1 (en) 2022-05-27

Family

ID=64131760

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170090581A KR102402224B1 (en) 2017-04-17 2017-07-17 Device for performing a task corresponding to user utterance

Country Status (1)

Country Link
KR (1) KR102402224B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130275164A1 (en) * 2010-01-18 2013-10-17 Apple Inc. Intelligent Automated Assistant

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130275164A1 (en) * 2010-01-18 2013-10-17 Apple Inc. Intelligent Automated Assistant

Also Published As

Publication number Publication date
KR102402224B1 (en) 2022-05-27

Similar Documents

Publication Publication Date Title
CN108735204B (en) Device for performing tasks corresponding to user utterances
US11670302B2 (en) Voice processing method and electronic device supporting the same
KR102389625B1 (en) Electronic apparatus for processing user utterance and controlling method thereof
US10978048B2 (en) Electronic apparatus for recognizing keyword included in your utterance to change to operating state and controlling method thereof
US11435980B2 (en) System for processing user utterance and controlling method thereof
US11145302B2 (en) System for processing user utterance and controlling method thereof
EP3396666B1 (en) Electronic device for providing speech recognition service and method thereof
KR20180121097A (en) Voice data processing method and electronic device supporting the same
KR102339819B1 (en) Method and device for generating natural language expression by using framework
US20190019509A1 (en) Voice data processing method and electronic device for supporting the same
EP3610479B1 (en) Electronic apparatus for processing user utterance
KR20180120385A (en) Method for operating speech recognition service and electronic device supporting the same
KR102508677B1 (en) System for processing user utterance and controlling method thereof
KR102464120B1 (en) Electronic apparatus for processing user utterance
KR20180116726A (en) Voice data processing method and electronic device supporting the same
KR102369309B1 (en) Electronic device for performing an operation for an user input after parital landing
KR102426411B1 (en) Electronic apparatus for processing user utterance and server
KR102402224B1 (en) Device for performing a task corresponding to user utterance
CN109309754B (en) Electronic device for acquiring and typing missing parameters

Legal Events

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