KR102402224B1 - 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
KR102402224B1
KR102402224B1 KR1020170090581A KR20170090581A KR102402224B1 KR 102402224 B1 KR102402224 B1 KR 102402224B1 KR 1020170090581 A KR1020170090581 A KR 1020170090581A KR 20170090581 A KR20170090581 A KR 20170090581A KR 102402224 B1 KR102402224 B1 KR 102402224B1
Authority
KR
South Korea
Prior art keywords
utterance
user
electronic device
sample
processor
Prior art date
Application number
KR1020170090581A
Other languages
Korean (ko)
Other versions
KR20180116731A (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

전자 장치가 개시된다. 일 실시 예에 따른 전자 장치는, 하우징; 상기 하우징 내에 배치되고, 상기 하우징의 제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 is disclosed. An electronic device according to an embodiment 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 through a third portion of the housing; wireless communication circuitry disposed within the housing; a processor disposed within the housing and electrically coupled to the touchscreen 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, wherein the memory, when executed, causes the processor to, in a first example, receive a first user utterance through the microphone, the first user The utterance includes a first request for performing a first task with the electronic device, and transmits first data related to the first user utterance to an external server through the wireless communication circuit, and through the wireless communication circuit Receive a first response from an external server, wherein the first response includes information about sequences of first states of the electronic device for performing the first task, wherein the electronic device performs the sequences of first states perform the first task by having to have, in a second example, receive a second user utterance through the microphone, the second user utterance comprising a second request to perform a second task with the electronic device and transmit second data related to the second user utterance to the external server through the wireless communication circuit, and receive a second response from the external server through the wireless communication circuit, wherein the second response is transmitted to the user at least one sample utterance indicating an intention of the utterance, wherein the at least one sample utterance is selected by the external server based on the second user utterance, and displaying the at least one sample utterance on the touchscreen display and receiving a first user input for selecting one of the at least one sample utterances through the microphone or the touchscreen display, and causing the electronic device to display a second state related to the selected one of the at least one sample utterances. The instructions for performing the second task may be stored by having a sequence of . In addition to this, various embodiments identified through the specification are possible.

Description

사용자 발화에 대응하는 태스크를 수행하는 전자 장치{Device for performing a task corresponding to user utterance}Electronic device for performing a task corresponding to user utterance

본 문서에서 개시되는 실시 예들은, 사용자 발화에 대응하는 태스크를 수행하는 기술과 관련된다.Embodiments disclosed in this document relate to a technique for performing a task corresponding to a user's utterance.

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

근래 음성 인식 서비스는 자연어를 처리하는 기술을 기반으로 발전하고 있다. 자연어를 처리하는 기술은 사용자 발화의 의도를 파악하고, 의도에 맞는 결과를 사용자에게 제공하는 기술이다.Recently, speech recognition services are being developed based on a technology for processing natural language. The technology for processing natural language is a technology that recognizes the intention of a user's utterance and provides a result that matches the intention to the user.

음성 인식 서비스는 사용자 발화를 이용하여 하나의 태스크만을 제안할 수 있다. 이에 따라, 기존의 서비스는 모호한 사용자 발화를 이용하는 경우, 사용자의 의도에 부합하지 않는 태스크를 제안하여 사용자에게 불편을 초래한다.The voice recognition service may suggest only one task by using the user's utterance. Accordingly, when an ambiguous user's utterance is used, the existing service proposes a task inconsistent with the user's intention, thereby causing inconvenience to the user.

본 발명의 다양한 실시 예들은 모호한 사용자 발화가 수신된 경우, 사용자의 의도에 부합하는 태스크를 수행하는 전자 장치를 제안하고자 한다.Various embodiments of the present disclosure are intended to propose an electronic device that performs a task corresponding to a user's intention when an ambiguous user's utterance is 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 through a third portion of the housing; wireless communication circuitry disposed within the housing; a processor disposed within the housing and electrically coupled to the touchscreen 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, wherein the memory, when executed, causes the processor to, in a first example, receive a first user utterance through the microphone, the first user The utterance includes a first request for performing a first task with the electronic device, and transmits first data related to the first user utterance to an external server through the wireless communication circuit, and through the wireless communication circuit Receive a first response from an external server, wherein the first response includes information about sequences of first states of the electronic device for performing the first task, wherein the electronic device performs the sequences of first states perform the first task by having to have, in a second example, receive a second user utterance through the microphone, the second user utterance comprising a second request to perform a second task with the electronic device and transmit second data related to the second user utterance to the external server through the wireless communication circuit, and receive a second response from the external server through the wireless communication circuit, wherein the second response is transmitted to the user at least one sample utterance indicating an intention of the utterance, wherein the at least one sample utterance is selected by the external server based on the second user utterance, and displaying the at least one sample utterance on the touchscreen display and receiving a first user input for selecting one of the at least one sample utterances through the microphone or the touchscreen display, and causing the electronic device to display a second state related to the selected one of the at least one sample utterances. The instructions for performing the second task may be stored by having a sequence of .

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

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

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

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

도 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 view showing an integrated intelligent system according to 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.
3 is a diagram illustrating running 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 intelligent system according to an embodiment of the present invention.
5 is a diagram illustrating a method for generating a path rule by a path natural language understanding module (NLU) according to an embodiment of the present invention.
6 is a diagram illustrating that a context module of a processor collects a current state according to an embodiment of the present invention.
7 is a diagram illustrating that a persona module manages user information according to an embodiment of the present invention.
8 is a flowchart illustrating a method of performing a task based on a user utterance request according to an embodiment.
9 is a block diagram illustrating a natural language understanding module of an intelligent server according to an embodiment.
10 illustrates an operation included in a pass rule according to an embodiment.
11A is a diagram illustrating that a user's utterance is input while a gallery app is running, according to an exemplary embodiment.
11B is a diagram illustrating a screen on which a plurality of sample utterances are displayed, according to an exemplary embodiment.
12 is a flowchart illustrating a method for an intelligent server to transmit a plurality of sample utterances according to an embodiment.
13 is a flowchart illustrating a method for an intelligent server to transmit a plurality of sample utterances according to an embodiment.
14A is a diagram illustrating that a user's utterance is input while a gallery app is running, according to an exemplary embodiment.
14B is a diagram illustrating a screen on which a plurality of sample utterances are displayed, according to an exemplary embodiment.
14C is a diagram illustrating a screen on which information related to a selected sample utterance is displayed, according to an exemplary embodiment.
14D is a diagram illustrating a screen on which a user's intention is input, according to an exemplary embodiment;
15 is a diagram illustrating a screen on which an image related to a sample utterance is further displayed, according to an exemplary embodiment.
16A is a diagram illustrating that a user's utterance is input while a gallery app is running, according to an exemplary embodiment.
16B is a diagram illustrating a screen on which sample utterances are displayed according to a determined order, according to an exemplary embodiment.
16C is a diagram illustrating a screen on which an image related to a sample utterance corresponding to a priority is further displayed, according to an exemplary embodiment.
16D is a diagram illustrating a screen in which sizes of sample utterances are displayed differently according to a determined order, according to an exemplary embodiment.
17 is a flowchart illustrating a method of an electronic device performing another pass rule by receiving a feedback input after performing a pass rule, according to an exemplary embodiment.
18 is a diagram illustrating a screen on which an electronic device receives a feedback input, according to an embodiment.
19 is a diagram illustrating a screen on which sample utterances corresponding to remaining pass rules are displayed, according to an exemplary embodiment.
20 is a flowchart illustrating a method of performing another pass rule by receiving a feedback input after an electronic device performs a pass rule, according to an exemplary embodiment.
21 is a diagram illustrating a screen on which an electronic device receives a feedback input, according to an embodiment.
22A and 22B illustrate screens on which a UI related to a function provided by the electronic device is displayed when negative feedback is received, according to an exemplary embodiment.
23A illustrates a screen on which a text to be edited is displayed, according to an exemplary embodiment.
23B illustrates a screen in which a text to be edited is corrected, according to an exemplary embodiment.
23C illustrates a result screen in which text corresponding to a user's utterance is corrected, according to an exemplary embodiment.
23D illustrates a screen including a result of a text corresponding to a user's utterance corrected and a UI for updating a voice model corresponding to the corrected text, according to an exemplary embodiment.
23E illustrates a screen including a pop-up window according to a network connection failure according to an embodiment.
24A illustrates a screen for searching for a pass rule according to an embodiment.
24B illustrates a pass rule search result screen according to a search word input according to an exemplary embodiment.
24C illustrates a screen after a pass rule is selected according to an exemplary embodiment.
25 illustrates a screen after a UI for feedback that a domain that does not match a user's intention is selected is selected, according to an exemplary embodiment.
26 illustrates a screen for performing a search in an electronic device according to an exemplary embodiment.
27 illustrates 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 according to various embodiments of the present disclosure;
In connection with the description of the drawings, the same or similar reference numerals may be used for the same or similar components.

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

본 발명의 일 실시 예를 서술하기에 앞서, 본 발명의 일 실시 예가 적용될 수 있는 통합 지능화 시스템에 대해 설명한다.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 view showing an integrated intelligent system according to 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 personalized 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 is a service required by the user through an app (or an application program) (eg, an alarm app, a message app, a photo (gallery) app, etc.) stored inside the user terminal 100 can provide For example, the user terminal 100 may execute and operate another app through an intelligent app (or a voice recognition app) stored in the user terminal 100 . Through the intelligent app of the user terminal 100, the other app may be executed and a user input for executing an operation may be received. The user input may be received through, for example, a physical button, a touch pad, a voice input, a remote input, or the like. According to an embodiment, the user terminal 100 may correspond to various terminal devices (or electronic devices) connectable to the Internet, such as a mobile phone, a smart phone, a personal digital assistant (PDA), or a notebook computer.

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

지능형 서버(200)는 통신망을 통해 사용자 단말(100)로부터 사용자 음성 입력(voice input)을 수신하여 텍스트 데이터(text data)로 변경할 수 있다. 다른 실시 예에서는, 지능형 서버(200)는 상기 텍스트 데이터에 기초하여 패스 룰(path rule)을 생성(또는, 선택)할 수 있다. 상기 패스 룰은 앱의 기능을 수행하기 위한 동작(action)(또는, 오퍼레이션(operation))에 대한 정보 또는 상기 동작을 실행하기 위해 필요한 파라미터에 대한 정보를 포함할 수 있다. 또한, 상기 패스 룰은 상기 앱의 상기 동작의 순서를 포함할 수 있다. 사용자 단말(100)은 상기 패스 룰을 수신하고, 상기 패스 룰에 따라 앱을 선택하고, 상기 선택된 앱에서 상기 패스 룰에 포함된 동작을 실행시킬 수 있다. The intelligent server 200 may receive a user voice input from the user terminal 100 through a communication network and change it 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 required to execute the action. Also, the pass rule may include an order of the operation of the app. The user terminal 100 may receive the pass rule, select an app according to the pass rule, and execute an operation 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 executed the operation on the display. For another example, the user terminal 100 may execute the operation and 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 results of the plurality of operations on a display. The user terminal 100 may, for example, display only the result of executing the last-order operation on the display. As another example, the user terminal 100 may receive a user input and display a result of executing the operation on the display.

개인화 정보 서버(300)는 사용자 정보가 저장된 데이터베이스를 포함할 수 있다. 예를 들어, 개인화 정보 서버(300)는 사용자 단말(100)로부터 사용자 정보(예: 컨텍스트 정보, 앱 실행 등)를 수신하여 상기 데이터베이스에 저장할 수 있다. 지능형 서버(200)는 통신망을 통해 개인화 정보 서버(300)로부터 상기 사용자 정보를 수신하여 사용자 입력에 대한 패스 룰을 생성하는 경우에 이용할 수 있다. 일 실시 예에 따르면, 사용자 단말(100)은 통신망을 통해 개인화 정보 서버(300)로부터 사용자 정보를 수신하여 데이터베이스를 관리하기 위한 정보로 이용할 수 있다.The personalized information server 300 may include a database in which user information is stored. For example, the personalization information server 300 may receive user information (eg, context information, app execution, etc.) from the user terminal 100 and store it in the database. The intelligent server 200 may 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 an embodiment, the user terminal 100 may receive user information from the personalization information server 300 through a communication network and use it as information for managing a database.

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

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

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

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

일 실시 예에 따르면, 스피커(130)는 음성 신호를 출력할 수 있다. 예를 들어, 스피커(130)는 사용자 단말(100) 내부에서 생성된 음성 신호를 외부로 출력할 수 있다.According to an 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 an embodiment, the user terminal 100 may further include a wireless communication circuit (not shown). The wireless communication circuit may support various communication, and may support establishment of a communication channel between the user terminal 100 and the intelligent server 200 and performing wireless communication through the established communication channel.

일 실시 예에 따르면, 메모리(140)는 복수의 앱(141, 143)을 저장할 수 있다. 메모리(140)에 저장된 복수의 앱(141, 143)은 사용자 입력에 따라 선택되어 실행되고 동작할 수 있다. According to an 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, executed, and operated according to a user input.

일 실시 예에 따르면, 메모리(140)는 사용자 입력을 인식하는데 필요한 정보를 저장할 수 있는 데이터베이스를 포함할 수 있다. 예를 들어, 메모리(140)은 로그(log) 정보를 저장할 수 있는 로그 데이터베이스를 포함할 수 있다. 다른 예를 들어, 메모리(140)는 사용자 정보를 저장할 수 있는 페르소나 데이터베이스를 포함할 수 있다.According to an embodiment, the memory 140 may include a database capable of storing information necessary for recognizing a 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 that may store 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 an embodiment, the memory 140 may store a plurality of apps 141 and 143 , and the plurality of apps 141 and 143 may be loaded and operated. For example, the plurality of apps 141 and 143 stored in the memory 140 may 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 that perform a function or a plurality of operations (or unit operations) 141b and 143b. The execution services 141a and 143a are generated by the execution manager module 153 of the processor 150 and may 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 an embodiment, when the operations 141b and 143b of the apps 141 and 143 are executed, an 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 of a partial landing in which the execution of the operations 141b and 143b is stopped (eg, when parameters required for the 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 an embodiment, the execution services 141a and 143a may execute the operations 141b and 143b according to a pass 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 pass rule, and perform an operation 141b, 143b) may execute the operations of the apps 141 and 143 . The execution services 141a and 143a may transmit completion information to the execution manager module 153 upon completion of the operations 141b and 143b.

일 실시 예에 따르면, 앱(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 an embodiment, when a plurality of operations 141b and 143b are executed in the apps 141 and 143, the plurality of operations 141b and 143b may be sequentially executed. When the execution of one operation (operation 1) is completed, the execution services 141a and 143a may open the next operation (operation 2) and transmit completion information to the execution manager module 153 . Here, opening an arbitrary operation may be understood as transitioning the arbitrary operation to an executable state or preparing to execute the arbitrary operation. In other words, if an operation is not opened, the operation cannot be executed. When the completion information is received, the execution manager module 153 may transmit an execution request for the next operation 141b and 143b to the execution service (eg, operation 2). According to an embodiment, when a plurality of apps 141 and 143 are executed, the plurality of apps 141 and 143 may be sequentially executed. For example, when the execution of the last operation of the first app 141 is completed and completion information is received, the execution manager module 153 transmits the execution request of the first operation of the second app 143 to the execution service 143a can send

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

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

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

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

일 실시 예에 따른, 지능형 에이전트(151)는 사용자 입력으로 수신된 음성 신호에 기초하여 앱을 동작시키는 명령을 생성할 수 있다. 일 실시 예에 따른, 실행 매니저 모듈(153)은 지능형 에이전트(151)로부터 상기 생성된 명령을 수신하여 메모리(140)에 저장된 앱(141, 143)을 선택하여 실행시키고 동작시킬 수 있다. 일 실시 예에 따르면, 지능형 서비스 모듈(155)은 사용자의 정보를 관리하여 사용자 입력을 처리하는데 이용할 수 있다.According to an embodiment, the intelligent agent 151 may generate a command for operating an app based on a voice signal received as a user input. According to an embodiment, the execution manager module 153 may receive the generated command from the intelligent agent 151 , select, execute, and operate the apps 141 and 143 stored in the memory 140 . According to an embodiment, the intelligent service module 155 may manage user information and use it to process a 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 an embodiment, the intelligent agent 151 may pre-process the user input before transmitting the user input to the intelligent server 200 . According to an embodiment, the intelligent agent 151 may pre-process the user input, an adaptive echo canceller (AEC) module, a noise suppression (NS) module, and an end-point detection (end-point) module. detection) (EPD) module or automatic gain control (AGC) module. The adaptive echo canceller may cancel an echo included in the user input. The noise suppression module may suppress background noise included in the user input. The endpoint detection module may detect an endpoint of the user's voice included in the user input to find a portion where the user's voice is present. 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 pre-processing components for performance, but in another embodiment, the intelligent agent 151 may include some of the pre-processing components to operate with low power. .

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

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

일 실시 예에 따르면, 지능형 에이전트(151)의 음성 인식 모듈(웨이크 업 모듈의 음성 인식 모듈을 포함)은 음성을 인식하기 위한 알고리즘을 이용하여 사용자 입력을 인식할 수 있다. 상기 음성을 인식하기 위해 사용되는 알고리즘은, 예를 들어, HMM(hidden markov model) 알고리즘, ANN(artificial neural network) 알고리즘 또는 DTW(dynamic time warping) 알고리즘 중 적어도 하나일 수 있다.According to an embodiment, the voice recognition module (including the voice recognition module of the wake-up module) of the intelligent agent 151 may recognize a user input using an algorithm for recognizing a voice. The algorithm used to recognize the voice may be, for example, at least one of 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 an embodiment, the intelligent agent 151 may convert the user's voice input into text data. According to an embodiment, the intelligent agent 151 may transmit the user's voice to the intelligent server 200 to receive the converted text data. Accordingly, the intelligent agent 151 may display the text data on the display 120 .

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

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

일 실시 예에 따른, 실행 매니저 모듈(153)은 지능형 에이전트(151)로부터 패스 룰을 수신하여 앱(141, 143)을 실행시키고, 앱(141, 143)이 상기 패스 룰에 포함된 동작(141b, 143b)을 실행하도록 할 수 있다. 예를 들어, 실행 매니저 모듈(153)은 앱(141, 143)으로 동작(141b, 143b)을 실행하기 위한 명령 정보를 송신할 수 있고, 상기 앱(141, 143)로부터 동작(141b, 143b)의 완료 정보를 수신할 수 있다.According to an embodiment, the execution manager module 153 receives the pass rule from the intelligent agent 151 and executes the apps 141 and 143 , and the apps 141 and 143 include an operation 141b in the pass rule. , 143b) can be executed. For example, the execution manager module 153 may transmit command information for executing the actions 141b and 143b to the apps 141 and 143 , and the actions 141b and 143b from the apps 141 and 143 . of completion information 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 an embodiment, the execution manager module 153 transmits and receives command information for executing the operations 141b and 143b of the apps 141 and 143 between the intelligent agent 151 and the apps 141 and 143. can The execution manager module 153 binds the apps 141 and 143 to be executed according to the pass rule, and transmits command information of the operations 141b and 143b included in the pass 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 pass rule to the apps 141 and 143, and performs the actions 141b and 143b of the apps 141 and 143. They may be sequentially executed according to the pass rule.

일 실시 예에 따르면, 실행 매니저 모듈(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 an embodiment, the execution manager module 153 may manage the execution state of the operations 141b and 143b of the apps 141 and 143 . For example, the execution manager module 153 may receive information on the execution state of the operations 141b and 143b from the apps 141 and 143 . When the execution state of the operations 141b and 143b is, for example, a partial landing (eg, a parameter required for the operations 141b and 143b is not input), the execution manager module 153 may transmit information about the stopped state to the intelligent agent 151 . The intelligent agent 151 may request the user to input necessary information (eg, parameter information) by using the received information. When the execution state of the operations 141b and 143b is another, for example, an operation state, a utterance may be received from the user, and the execution manager module 153 may include the running apps 141 and 143 and the apps. Information on the execution state of (141, 143) may be transmitted to the intelligent agent (151). 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 may change the parameters of the operations 141b and 143b into new parameters by using the received parameter information.

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

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

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

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

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

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

도 3은 본 발명의 일 실시 예에 따른 사용자 단말의 지능형 앱을 실행시키는 것을 나타낸 도면이다.3 is a diagram illustrating running 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 app (eg, a voice recognition app) interlocked 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 an embodiment, the user terminal 100 may run an intelligent app for recognizing a voice through the hardware key 112 . For example, when receiving a user input through the hardware key 112 , the user terminal 100 may display a user interface (UI) 121 of the intelligent app on the display 120 . The user may, for example, touch the voice recognition button 121a on the UI 121 of the intelligent app to input a voice 113b while the UI 121 of the intelligent app is displayed on the display 120. . As another example, the user may input the voice 113b by continuously pressing the hardware key 112 to input the voice 113b.

일 실시 예에 따르면, 사용자 단말(100)은 마이크(111)를 통해 음성을 인식하기 위한 지능형 앱을 실행시킬 수 있다. 예를 들어, 사용자 단말(100)은 마이크(111)를 통해 지정된 음성(예: 일어나!(wake up!))이 입력(113a)된 경우 디스플레이(120)에 지능형 앱의 UI(121)를 표시할 수 있다.According to an embodiment, the user terminal 100 may execute an intelligent app for recognizing a 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 specified voice (eg, wake up!) is input 113a through the microphone 111 . can do.

도 4는 본 발명의 일 실시 예에 따른 통합 지능화 시스템의 지능형 서버를 나타낸 블록도이다.4 is a block diagram illustrating an intelligent server of an integrated intelligent 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)을 포함할 수 있다.Referring to FIG. 4 , the intelligent server 200 includes an automatic speech recognition (ASR) module 210 , a natural language understanding (NLU) module 220 , and a path planner module. 230 , 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 an embodiment, the automatic speech recognition (ASR) module 210 may convert a 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 an embodiment, the automatic voice recognition module 210 may convert a 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 vocalization, and the language model may include information about unit phoneme information and a combination of unit phoneme information. The speech recognition module may convert the user's speech into text data by using speech related information and information on unit phoneme information. Information on the acoustic model and the language model may be stored in, for example, an automatic speech recognition database (ASR DB) 211 .

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

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

일 실시 예에 따르면, 자연어 이해 모듈(220)은 형태소, 구 등의 언어적 특징(예: 문법적 요소)을 이용하여 사용자 입력으로부터 추출된 단어의 의미를 파악하고, 상기 파악된 단어의 의미를 도메인 및 의도에 매칭시켜 사용자의 의도를 결정할 수 있다. 예를 들어, 자연어 이해 모듈(220)은 각각의 도메인 및 의도에 사용자 입력에서 추출된 단어가 얼마나 포함되어 있는 지를 계산하여 사용자 의도를 결정할 수 있다. 일 실시 예에 따르면, 자연어 이해 모듈(220)은 상기 의도를 파악하는데 기초가 된 단어를 이용하여 사용자 입력의 파라미터를 결정할 수 있다. 일 실시 예에 따르면, 자연어 이해 모듈(220)은 사용자 입력의 의도를 파악하기 위한 언어적 특징이 저장된 자연어 인식 데이터베이스(221)를 이용하여 사용자의 의도를 결정할 수 있다. 다른 실시 예에 따르면, 자연어 이해 모듈(220)은 개인화 언어 모델(personal language model)(PLM)을 이용하여 사용자의 의도를 결정할 수 있다. 예를 들어, 자연어 이해 모듈(220)은 개인화된 정보(예: 연락처 리스트, 음악 리스트)를 이용하여 사용자의 의도를 결정할 수 있다. 상기 개인화 언어 모델은, 예를 들어, 자연어 인식 데이터베이스(221)에 저장될 수 있다. 일 실시 예에 따르면, 자연어 이해 모듈(220)뿐만 아니라 자동 음성 인식 모듈(210)도 자연어 인식 데이터베이스(221)에 저장된 개인화 언어 모델을 참고하여 사용자의 음성을 인식할 수 있다.According to an embodiment, the natural language understanding module 220 determines the meaning of a word extracted from a user input using linguistic features (eg, grammatical elements) such as morphemes and phrases, and converts the meaning of the identified word into a domain. and matching the intention to determine the user's intention. For example, the natural language understanding module 220 may determine the user intent by calculating how many words extracted from the user input are included in each domain and intent. According to an embodiment, the natural language understanding module 220 may determine a parameter of a user input by using a word that is a basis for recognizing the intention. According to an embodiment, the natural language understanding module 220 may determine the user's intention by using the natural language recognition database 221 in which linguistic characteristics for recognizing the intention of the user input are stored. According to another embodiment, the natural language understanding module 220 may determine the user's intention by using a personal language model (PLM). For example, the natural language understanding module 220 may determine the user's intention by using personalized information (eg, a contact list, a music list). The personalized language model may be stored in, for example, the natural language recognition database 221 . According to an embodiment, not only the natural language understanding module 220 but also the automatic speech recognition module 210 may 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 an embodiment, the natural language understanding module 220 may generate a pass rule based on an intention and parameters of a user input. For example, the natural language understanding module 220 may select an app to be executed based on the intention of the user input and determine an operation to be performed in the selected app. The box salmon understanding module 220 may generate a pass rule by determining a parameter corresponding to the determined operation. According to an embodiment, the pass rule generated by the natural language understanding module 220 may include information about an app to be executed, an action to be executed in the app, and parameters necessary for executing the action.

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

다른 실시 예에 따르면, 자연어 이해 모듈(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 one pass rule or a plurality of passes by determining an app to be executed, an action to be executed in the app, and parameters required to execute the action based on the intention and parameters of the user input. You can create rules. For example, the natural language understanding module 220 uses the information of the user terminal 100 to convert the to-be-executed app and the operation to be executed in the app in the form of an ontology or a graph model according to the intention of the user input. You can create pass rules by arranging them. The generated path rule may be stored in, for example, a path rule database (PR DB) 231 through the path planner module 230 . The generated pass rule may be added to a pass rule set of the database 231 .

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

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

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

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

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

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

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

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

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

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

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

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

일 실시 예에 따르면, 자연어 이해 모듈(220), 패스 플래너 모듈(230) 및 대화 매니저 모듈(240)은 하나의 모듈로 구현될 수 있다. 예를 들어, 자연어 이해 모듈(220), 패스 플래너 모듈(230) 및 대화 매니저 모듈(240)은 하나의 모듈로 구현되어 사용자의 의도 및 파라미터를 결정하고, 상기 결정된 사용자의 의도 및 파라미터에 대응되는 응답(예: 패스 룰)을 생성할 수 있다. 이에 따라, 생성된 응답은 사용자 단말(100)로 송신될 수 있다.According to an embodiment, the natural language understanding module 220 , the path planner module 230 , and the conversation manager module 240 may be implemented as one module. For example, the natural language understanding module 220 , the path planner module 230 , and the dialog manager module 240 are implemented as one module to determine the user's intention and parameters, and respond to the determined user's intentions and parameters. It can generate responses (eg pass rules). Accordingly, the generated response may 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 , according to an embodiment, the natural language understanding module 220 may classify the function of the app into unit operations A to F and store it in the pass rule database 231 . For example, the natural language understanding module 220 performs a plurality of pass rules (A-B1-C1, A-B1-C2, A-B1-C3-D-F, A-B1-C3-D-E-F) divided into unit operations. The included pass rule set may be stored in the pass rule database 231 .

일 실시 예에 따르면, 패스 플래너 모듈(230)의 패스 룰 데이터베이스(231)는 앱의 기능을 수행하기 위한 패스 룰 셋을 저장할 수 있다. 상기 패스 룰 셋은 복수의 동작을 포함하는 복수의 패스 룰을 포함할 수 있다. 상기 복수의 패스 룰은 복수의 동작 각각에 입력되는 파라미터에 따라 실행되는 동작이 순차적으로 배열될 수 있다. 일 실시 예에 따르면, 상기 복수의 패스 룰은 온톨로지(ontology) 또는 그래프 모델(graph model) 형태로 구성되어 패스 룰 데이터베이스(231)에 저장될 수 있다.According to an embodiment, the pass rule database 231 of the pass planner module 230 may store a pass rule set for performing an app function. The pass rule set may include a plurality of pass rules including a plurality of operations. In the plurality of pass rules, operations executed according to parameters input to each of the plurality of operations may be sequentially arranged. According to an embodiment, the plurality of pass rules may be configured in the form of an ontology or a graph model 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 an embodiment, the natural language understanding module 220 may configure the plurality of pass rules (A-B1-C1, A-B1-C2, A-B1-C3-D-F, A-) corresponding to the intention and parameter of the user input. B1-C3-D-E-F), the optimal pass rule (A-B1-C3-D-F) can be selected.

일 실시 예에 따르면, 자연어 이해 모듈(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 an embodiment, when there is no pass rule that perfectly matches the user input, the natural language understanding module 220 may transmit a plurality of rules to the user terminal 100 . For example, the natural language understanding module 220 may select a pass rule (eg, A-B1) partially corresponding to the user input. The natural language understanding module 220 may include one or more pass rules (eg, A-B1-C1, A-B1-C2, A-B1-C3) including a pass rule (eg, A-B1) partially corresponding to the user input. -D-F, A-B1-C3-D-E-F) may be selected and transmitted 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 an embodiment, the natural language understanding module 220 may select one of a plurality of pass rules based on the additional input of the user terminal 100 and transmit the selected one pass rule to the user terminal 100 . have. For example, the natural language understanding module 220 may configure a plurality of pass rules (eg, A-B1-C1, A-B1) according to a user input additionally input from the user terminal 100 (eg, an input for selecting C3). -C2, A-B1-C3-D-F, A-B1-C3-D-E-F) may be selected and transmitted to the user terminal 100 by selecting one pass rule (eg, A-B1-C3-D-F).

또 다른 실시 예에 따르면, 자연어 이해 모듈(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 another embodiment, the natural language understanding module 220 may determine a user's intention and parameters corresponding to a user input additionally input to the user terminal 100 (eg, an input for selecting C3), and the determined The user's intention or parameters may be transmitted to the user terminal 100 . Based on the transmitted intention or the parameter, the user terminal 100 configures a plurality of pass rules (eg, A-B1-C1, A-B1-C2, A-B1-C3-D-F, A-B1-C3- D-E-F), one pass rule (eg A-B1-C3-D-F) can be selected.

이에 따라, 사용자 단말(100)은 상기 선택된 하나의 패스 룰에 의해 앱(141, 143)의 동작을 완료시킬 수 있다.Accordingly, the user terminal 100 may complete the operation of the apps 141 and 143 according to 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 an embodiment, when a user input lacking information is received by the intelligent server 200 , the natural language understanding module 220 may generate a pass rule partially corresponding to the received user input. For example, the natural language understanding module 220 may transmit the partially corresponding pass rule to the intelligent agent 151 (①). The intelligent agent 151 may transmit the partially corresponding pass rule to the execution manager module 153 (②), and the execution manager module 153 may execute the first app 141 according to the pass rule. . The execution manager module 153 may transmit (③) information on insufficient parameters to the intelligent agent 151 while executing the first app 141 . The intelligent agent 151 may request additional input from the user by using the information on the insufficient parameters. The intelligent agent 151 may transmit to the intelligent server 200 for processing when an additional input is received by the user (④). The natural language understanding module 220 may generate an added pass rule based on the intention and parameter information of the additionally input user input and transmit it to the intelligent agent 151 (⑤). The intelligent agent 151 may execute the second app 143 by transmitting (⑥) the pass rule to the execution manager module 153 .

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

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

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

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

일 실시 예에 따르면, 컨텍스트 모듈(155a)은 앱(141, 143)뿐만 아니라, 디바이스 플랫폼(device platform)으로부터 사용자 단말(100)의 현재 상태를 나타내는 컨텍스트 정보를 수신할 수 있다. 상기 컨텍스트 정보는 일반적 컨텍스트 정보, 사용자 컨텍스트 정보 또는 장치 컨텍스트 정보를 포함할 수 있다.According to an embodiment, the context module 155a may receive context information indicating the current state of the user terminal 100 from not only the apps 141 and 143 but also the device platform. 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 confirmed through an internal algorithm by receiving data through a sensor hub of a device platform or the like. For example, the general context information may include information about a current space-time. The information on the current space-time may include, for example, information on the current time or the current location of the user terminal 100 . The current time may be confirmed through time on the user terminal 100 , and information on the current location may be identified through a global positioning system (GPS). As another example, the general context information may include information on physical movement. The information on the physical movement may include, for example, information about walking, running, driving, and the like. The physical motion information may be identified through a motion sensor. The driving information may not only confirm driving through the motion sensor, but also check boarding and parking by detecting a Bluetooth connection in the vehicle. As another example, the general context information may include user activity information. The user activity information may include, for example, information on commuting, shopping, travel, and the like. The user activity information may be confirmed using information about a place registered in a database by a user or an app.

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

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

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

도 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 apps 141 and 143 , the execution manager module 153 , or the context module 155a. The apps 141 and 143 and the execution manager module 153 may store result information of executing the actions 141b and 143b of the app 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. Data stored in the operation 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 an embodiment, the persona module 155b may transmit information received from the apps 141 and 143 , the execution manager module 153 or the context module 155a to the suggestion module 155c. For example, the persona module 155b may transmit data stored in the operation log database or the context database to the proposal module 155c.

일 실시 예에 따르면, 페르소나 모듈(155b)은 앱(141, 143), 실행 매니저 모듈(153) 또는 컨텍스트 모듈(155a)로부터 수신된 정보를 개인화 정보 서버(300)로 송신할 수 있다. 예를 들어, 페르소나 모듈(155b)은 상기 동작 로그 데이터베이스 또는 상기 컨텍스트 데이터베이스에 누적되어 저장된 데이터를 주기적으로 개인화 정보 서버(300)에 송신할 수 있다.According to an embodiment, the persona module 155b may transmit 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 accumulated and stored in the action log database or the context database to the personalized information server 300 .

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

일 실시 예에 따르면, 페르소나 모듈(155b)이 송신한 정보를 이용하여 추론된 사용자 정보는 프로파일(profile) 정보 또는 프리퍼런스(preference) 정보를 포함할 수 있다. 상기 프로파일 정보 또는 프리퍼런스 정보는 사용자의 계정(account) 및 누적된 정보를 통해 추론될 수 있다.According to an embodiment, the user information inferred using the information transmitted by the persona module 155b may include profile information or preference information. The profile information or preference information may be inferred through 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 the user. For example, the profile information may include demographic information of the user. The demographic information may include, for example, a user's gender and age. As 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 reinforced by analyzing a behavior pattern. As another example, the profile information may include interest information. The interest information may include, for example, a shopping item of interest, a field of interest (eg, sports, politics, etc.). As another example, the profile information may include activity area information. The activity area information may include, for example, information on a home, a place of work, and the like. The information on the activity area may include information on the area in which priority is recorded based on the accumulated staying time and the number of visits as well as information on the location of the place. As another example, the profile information may include active time information. The activity time information may include, for example, information on waking up time, commuting time, sleep time, and the like. The information on the commuting time may be inferred using the activity area information (eg, information about home and work place). The information on the sleep time may 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 app preference. The app preference may be inferred through, for example, a usage record of the app (eg, usage record by time and location). The preference of the app may be used to determine an app to be executed according to the user's current state (eg, time, place). As another example, the preference information may include information about contact preference. The contact preference may be inferred, for example, by analyzing contact frequency (eg, contact frequency by time and place) information of the contact. The contact preference may be used to determine a contact to contact according to the user's current status (eg, contact for a duplicate name). As another example, the preference information may include setting information. The setting information may be inferred, for example, by analyzing information on a setting frequency of a specific setting value (eg, a frequency of setting a specific setting value for each time and place). The setting information may be used to set a specific setting value according to the user's current state (eg, time, place, situation). As another example, the preference information may include place preference. The place preference may be inferred, for example, through a visit record of a specific place (eg, a visit record by time). The place preference may be used to determine a place being visited according to the user's current state (eg, time). As another example, the preference information may include a command preference. The command preference may be inferred through, for example, command usage frequency (eg, usage frequency by time and location). The command preference may be used to determine a command pattern to be used according to the user's current status (eg, time, place). In particular, the command preference may include information on the menu most selected by the user in the current state of the running app by analyzing log information.

도 8은 일 실시 예에 따른 사용자 발화 요청에 기반하여 태스크를 수행하는 방법을 나타내는 흐름도이다.8 is a flowchart illustrating a method of performing a task based on a user utterance request according to an 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. 8 . Also, in the description of FIG. 8 , an operation described as being performed by the electronic device may be understood as being controlled by the processor 150 of the electronic device 100 . It may be implemented as instructions (instructions) that may be executed (or executed) by the processor 150 of the electronic device 100 . The instructions may be stored in, for example, a computer recording medium or the memory 140 of the electronic device 100 illustrated in FIG. 2 .

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

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

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

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

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

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

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

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

일 실시 예에서, 외부 서버는 사용자 발화와 관련된 데이터에 기반하여 적어도 하나의 패스 룰을 생성할 수 있다. 일 실시 예에 따르면, 적어도 하나의 샘플 발화는 제1 패스 룰에 대응하는 제1 샘플 발화 및 제2 패스 룰에 대응하는 제2 샘플 발화를 포함할 수 있다. 예를 들어, 수신된 응답은 복수의 샘플 발화를 포함할 수 있고, 각 샘플 발화는 서로 다른 패스 룰에 대응할 수 있다.In an embodiment, the external server may generate at least one pass rule based on data related to a user's utterance. According to an embodiment, the at least one sample utterance may include a first sample utterance corresponding to a first pass rule and a second sample utterance 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 pass rule.

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

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

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

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

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

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

도 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)에 해당할 수 있다.Referring to FIG. 9 , the natural language understanding module 910 may include a domain classifier 911 , an intent classifier 912 , a slot tagger 913 , and a format handler 914 . . According to an embodiment, the natural language understanding module of FIG. 9 may correspond to the natural language understanding module 220 of FIG. 2 .

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

다른 예로, 전자 장치(100)가 갤러리 앱 화면을 표시할 때 “하와이 찾아줘”라는 사용자 발화가 수신된 경우, 지능형 서버(200)는 갤러리 앱에서 하와이 사진을 찾는 패스 룰을 생성할 수 있다. 이 때, 사용자 의도는 하와이를 인터넷에서 검색하는 것이었으나, 갤러리 앱이 실행된 상태에서 사용자 발화가 수신되어 하와이 사진을 찾는 패스 룰이 생성된 것일 수 있다.As another example, when 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 Hawaii photos in the gallery app. At this time, the user's intention was to search for Hawaii on the Internet, but the user's utterance is received while the gallery app is running, and a pass rule for finding Hawaii pictures may be created.

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

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

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

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

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

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

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

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

도 12를 참조하면, 동작 1201에서, 도메인 분류기(911)는 사용자 발화에 해당하는 텍스트 또는 컨텍스트 정보 중 적어도 하나에 기반하여 적어도 하나의 도메인(또는, 앱)을 결정할 수 있다. 일 실시 예에 따르면, 도메인 분류기(911)는 적어도 하나의 도메인 각각에 대응하는 신뢰도 값을 더 결정할 수 있다.Referring to FIG. 12 , in operation 1201 , the domain classifier 911 may determine at least one domain (or an app) based on at least one of text and context information corresponding to a user utterance. According to an embodiment, the domain classifier 911 may further determine a reliability value corresponding to each of 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, as a result of operation 1202, the confidence value of the domain having the largest confidence value exceeds the specified value, in operation 1203, the intelligent server 200 converts the domain according to the user's utterance and context information to the domain having the largest confidence value. can decide

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

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

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

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

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

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

예를 들어, 지능형 서버(200)는 RFU를 이용하여 “하와이에서 찍은 사진을 그 뭐냐, 메시지를 통해서 엠마에게 보내줄래”라는 사용자가 발화에 대응하는 텍스트를 이용하여 “하와이에서 찍은 사진, 엠마에게 메시지 보내줘”라는 샘플 발화를 생성할 수 있다.For example, the intelligent server 200 uses the RFU to use the text corresponding to the user's utterance, "What is the picture taken in Hawaii, will you send it to Emma through a message?" You can create a sample utterance that reads “Send me a message.”

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

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

일 실시 예에서, 동작 1202의 결과로써 사용자 발화가 루트 발화인 경우, 동작 1208에서, 의도 분류기(912)는 사용자 발화에 해당하는 텍스트 또는 컨텍스트 정보 중 적어도 하나에 기반하여, 동작 1201에서 결정된 적어도 하나의 도메인 중 신뢰도 값이 큰 지정된 개수의 도메인 각각에서의 적어도 하나의 의도를 결정할 수 있다. 일 실시 예에 따르면, 의도 분류기(912)는 의도에 대응되는 패스 룰 ID를 결정할 수 있다. 일 실시 예에 따르면, 의도 분류기(912)는 적어도 하나의 의도 각각에 대응하는 신뢰도 값을 더 결정할 수 있다.In an embodiment, if the user utterance is a root utterance as a result of operation 1202, in operation 1208, the intention classifier 912 determines at least one in operation 1201 based on at least one of text and context information corresponding to the user utterance. It is possible to determine at least one intention in each of the specified number of domains having a large reliability value among the domains of . According to an embodiment, the intention classifier 912 may determine a pass rule ID corresponding to the intention. According to an embodiment, the intention classifier 912 may further determine a confidence value corresponding to each of the at least one intention.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

일 실시 예에서, 동작 1303의 결과로써 사용자 발화가 루트 발화가 아닌 경우, 지능형 서버(200)는 동작 1306을 수행하지 않고, 동작 1307에서, 의도 분류기(912)는 상기 지정된 상태에 해당하는 컨텍스트 정보를 이용하여 제2 도메인에서의 적어도 하나의 의도를 결정할 수 있다.In an 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 intention classifier 912 provides context information corresponding to the specified state. can 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 pass rule corresponding to each intention by using a specified number of intentions having a large reliability value among at least one intention (or pass rule ID) in the first domain and user utterances. can do. Also, the intelligent server 200 may generate a pass rule corresponding to each intention by using a specified number of intentions having a large reliability value among at least one intention in the second domain and user utterances. According to an embodiment, the intelligent server 200 may further generate a sample utterance corresponding to a pass rule.

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

일 실시 예에서, 동작 1303의 결과로써 사용자 발화가 루트 발화인 경우, 동작 1309에서, 의도 분류기(912)는 사용자 발화에 해당하는 텍스트 또는 컨텍스트 정보 중 적어도 하나에 기반하여, 동작 1301에서 결정된 적어도 하나의 도메인 중 신뢰도 값이 큰 지정된 개수의 도메인 각각에서의 적어도 하나의 의도를 결정할 수 있다. 일 실시 예에 따르면, 의도 분류기(912)는 의도에 대응되는 패스 룰 ID를 결정할 수 있다. 일 실시 예에 따르면, 의도 분류기(912)는 적어도 하나의 의도 각각에 대응하는 신뢰도 값을 더 결정할 수 있다.In an embodiment, if the user utterance is a root utterance as a result of operation 1303, in operation 1309, the intention classifier 912 determines at least one determined in operation 1301 based on at least one of text or context information corresponding to the user utterance. It is possible to determine at least one intention in each of the specified number of domains having a large reliability value among the domains of . According to an embodiment, the intention classifier 912 may determine a pass rule ID corresponding to the intention. According to an embodiment, the intention classifier 912 may further determine a confidence value corresponding to each of the at least one intention.

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

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

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

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

상술된 동작 1201 내지 동작 1209 및 동작 1301 내지 동작 1310은 지능형 서버(200)의 도메인 분류기(911) 및 의도 분류기(912)가 별도로 구성됨을 전제로 설명되었다. 다양한 실시 예에 따라, 지능형 서버(200)는 도메인 분류기(911) 및 의도 분류기(912)를 통합적으로 구성하여, 사용자 발화에 해당하는 텍스트 또는 컨텍스트 정보 중 적어도 하나를 이용하여 도메인 및 의도를 결정할 수 있다. 다양한 실시 예에 따르는 경우에도, 지능형 서버(200)는 도메인 및 의도에 대응하는 신뢰도 값을 결정할 수 있고, 복수의 패스 룰을 생성할 수 있다.The above-described operations 1201 to 1209 and operations 1301 to 1310 have been described on the premise that the domain classifier 911 and the intention classifier 912 of the intelligent server 200 are separately configured. According to various embodiments, the intelligent server 200 integrally configures the domain classifier 911 and the intent classifier 912 to determine the domain and intent using at least one of text or context information corresponding to a user's utterance. have. Even according to various embodiments, the intelligent server 200 may determine a reliability value corresponding to a domain and an intention, and may 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 text corresponding to the user's utterance and the intention determined by the intention classifier 912 , and may determine a reliability value corresponding to the slot. The intelligent server 200 may transmit data for correcting a parameter corresponding to a slot having a reliability value less than or equal to a specified value to the electronic device 100 . An operation for the electronic device 100 to modify a parameter will be described below.

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

예를 들어, 사용자 발화가 “엄마에게 늦는다고 보내줘”인 경우, 결정되는 의도인 엄마에게 '늦는다'는 문장을 보내는 동작은 이메일 앱, 메시지 앱 및 메신저 앱 등을 이용하여 수행될 수 있다. 예시에서, 지능형 서버(200)는 패스 룰 ID를 별도의 패스 룰 ID로 결정하고, 이메일 앱, 메시지 앱 및 메신저 앱을 사용하는 복수의 패스 룰을 생성하여 전자 장치(100)로 전송할 수 있다. 전자 장치(100)는 패스 룰을 실행할 때, 앱을 선택하는 사용자 입력을 수신하여 사용자 입력에 대응하는 패스 룰을 실행할 수 있다. 일 실시 예에 따르면, 전자 장치(100)는 사용자의 선호 앱 설정 값을 저장할 수 있고, 설정 값에 대응하는 패스 룰을 실행할 수 있다.For example, when the user's utterance is "Send mom that you are late", the operation of sending the sentence 'I'm late' to the mother, which is the determined intention, may be performed using an email app, a message app, a messenger app, or the like. In an example, the intelligent server 200 may determine a pass rule ID as a separate pass rule ID, generate a plurality of pass rules using an email app, a message app, and a messenger app, and transmit the generated pass rule ID 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 the pass rule corresponding to the user input. According to an embodiment, the electronic device 100 may store the user's preferred app setting value and execute a pass rule corresponding to the setting value.

다른 예로, 사용자 발화가 “이 사진을 편집해줘”인 경우, 결정되는 의도인 사진을 편집하는 동작은 갤러리 앱, 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 photo, which is the determined intention, may be performed using a gallery app, a 360 photo editing app, a moving photo editing app, and the like. In an 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 to the electronic device 100 . can be transmitted The electronic device 100 may execute a pass rule corresponding to the type information of the photo corresponding to the editing target. For example, when the type of photo is a 360 photo, the electronic device 100 may execute a pass rule corresponding to a 360 photo editing app.

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

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

일 실시 예에 따른 동작 805에서, 복수의 샘플 발화는 사용자 발화의 제1 의도를 나타내는 제1 샘플 발화 및 제1 의도와 다른 제2 의도를 나타내는 제2 샘플 발화를 포함할 수 있다. 일 실시 예에 따르면 복수의 샘플 발화는 제1 패스 룰에 대응하는 제1 샘플 발화 및 제2 패스 룰에 대응하는 제2 샘플 발화를 포함할 수 있다.In operation 805 according to an embodiment, the plurality of sample utterances may include a first sample utterance indicating a first intention of the user utterance and a second sample utterance indicating a second intention different from the first intention. According to an embodiment, the plurality of sample utterances may include 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 an embodiment, in response to receiving the first user input, the processor 150 may display information related to a sequence of states related to the selected sample utterance. According to an embodiment, the processor 150 may receive a second user input for re-selecting the selected sample utterance. The processor 150 may perform a task related to the selected sample utterance in operation 806 in response to receiving the second user input by having the sequence of selected sample utterance states.

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

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

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

도 14a는 일 실시 예에 따른 갤러리 앱이 실행된 상태에서 사용자 발화가 입력된 것을 나타내는 도면이다.14A is a diagram illustrating that a user's utterance is input while a gallery app is running, according to an exemplary embodiment.

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

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

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

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

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

일 실시 예에서, 프로세서(150)는 '설정에서 해상도 크게 하기'라는 샘플 발화(1404)를 선택하는 제1 사용자 입력을 수신할 수 있다. 일 실시 예에 따르면, 프로세서(150)는 제1 사용자 입력 수신에 응답하여, 도 14c에 도시된 것과 같이, '설정에서 해상도 크게 하기'에 대응하는 패스 룰을 바로 실행시키기 위한 대표 발화(1407)를 표시할 수 있다.In an embodiment, the processor 150 may receive a first user input for selecting the sample utterance 1404 'Increase the resolution in settings'. According to an embodiment, the processor 150 responds to the reception of the first user input, and as shown in FIG. 14C , a representative utterance 1407 for directly executing a pass rule corresponding to 'increasing resolution in settings'. can be displayed.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

일 실시 예에서, 복수의 샘플 발화는 '하와이에서 찍은 사진 메시지 보내줘', '하와이에서 찍은 사진 보여줘' 및 '하와이에 가는 방법 알려줘'를 포함할 수 있다. 일 실시 예에서, 각 샘플 발화에 대응하는 신뢰도 값은 '하와이에서 찍은 사진 메시지 보내줘', '하와이에서 찍은 사진 보여줘' 및 '하와이에 가는 방법 알려줘' 순으로 클 수 있다.In an embodiment, the plurality of sample utterances may include 'send a message to a photo taken in Hawaii', 'show me a photo taken in Hawaii', and 'tell me a way to go to Hawaii'. In an embodiment, the reliability value corresponding to each sample utterance may be increased in the order of 'send a message to a photo taken in Hawaii', 'show me a photo taken in Hawaii', and 'tell me how to go to Hawaii'.

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

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

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

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

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

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

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

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

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

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

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

일 실시 예에 따르면, 수신된 응답은 복수의 패스 룰 및 복수의 패스 룰 각각에 대응하는 샘플 발화를 포함할 수 있다. 복수의 패스 룰 및 샘플 발화는 사용자 발화에 기반하여 지능형 서버(200)에 의해 생성 또는 선택된 것일 수 있다. 일 실시 예에 따르면, 응답은 복수의 패스 룰 각각에 대응하는 신뢰도 값을 더 포함할 수 있다.According to an embodiment, the received response may include a plurality of pass rules and a sample utterance 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 the user utterance. According to an embodiment, the response may further include a reliability value corresponding to each of the plurality of pass rules.

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

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

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

일 실시 예에서, 피드백 입력은 선택된 패스 룰에 따라 동작을 실행한 결과에 대한 피드백에 해당할 수 있다.In an embodiment, the feedback input may correspond to feedback on a result of executing an operation according to a selected pass rule.

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

프로세서(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 “like” or “yes” through the microphone 111 , and receive negative feedback such as “not this”, “no” or “something else”. can receive

다른 예로, 프로세서(150)는 터치스크린 디스플레이(120)을 통해 긍정적 피드백 입력에 해당하는 제1 오브젝트(1701)를 선택하는 터치입력을 수신하거나, 부정적 피드백 입력에 해당하는 제2 오브젝트(1702)를 선택하는 터치입력을 수신할 수 있다.As another example, 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 receives a second object 1702 corresponding to a negative feedback input through the touch screen display 120 . A selection touch input may be received.

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

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

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

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

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

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

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

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

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

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

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

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

피드백 입력이 부정적 입력인 경우, 동작 2008에서, 프로세서(150)는 사용자 발화와 관련된 데이터(예: 사용자 발화 및 컨텍스트 정보)를 지능형 서버(200)로 전송하고, 지능형 서버(200)로부터 복수의 대안 패스 룰을 수신할 수 있다.When the feedback input is a negative input, in operation 2008 , the processor 150 transmits data related to the user's utterance (eg, user utterance and context information) to the intelligent server 200 , and receives a plurality of alternatives from the intelligent server 200 . You can receive pass rules.

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

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

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

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

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

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

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

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

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

일 실시 예에 따라, 부정적 피드백의 대상인 태스크가 지능형 앱 외의 앱 화면을 이용하는 태스크인 경우(또는, 태스크가 패스 룰에 따라 수행되는 경우), 프로세서(150)는 도 22a와 같은 화면을 표시할 수 있다. 예를 들어, 부정적 피드백의 대상인 태스크가 갤러리 어플리케이션을 이용하여 사진을 검색하는 태스크이고, 상기 태스크가 수행된 후 부정적 피드백 입력이 수신되면, 프로세서(150)는 도 22a와 같은 화면을 표시할 수 있다.According to an embodiment, when the task that is the target of negative feedback is a task using an app screen other than an intelligent app (or when the task is performed according to a pass rule), the processor 150 may display a screen as shown in FIG. 22A . have. For example, if the task that is the target of negative feedback is a task of searching for photos 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 an embodiment, when the task that is the target of negative feedback is a task that uses only the intelligent app screen (or the task is not performed according to a pass rule), the processor 150 may display a screen as shown in FIG. 22B . have. For example, if the task that is the target of negative feedback is a task of informing about weather or a task of providing an answer according to a query, and the negative feedback input is received after the task is performed, the processor 150 displays a screen as shown in FIG. 22B 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 an embodiment, as shown in FIG. 22A , the processor 150 sets a UI 2211 for correcting text corresponding to an erroneously recognized user utterance, a UI 2212 for selecting a pass rule, and a pass rule. A UI 2213 for searching and selecting, a UI 2214 for searching within the electronic device 100, and a UI 2215 for searching on the Internet may be displayed on the display 120 . According to an embodiment, the processor 150 may receive a user input for 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 an embodiment, as shown in FIG. 22B , the processor 150 provides a UI 2221 for correcting text corresponding to an erroneously recognized user utterance, feedback that a domain that does not match the user's intention is selected. A UI 2222 for searching and selecting a pass rule, a UI 2223 for searching within 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 a user input for selecting one of the displayed UIs 2221 , 2222 , 2223 , 2224 , and 2225 .

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

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

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

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

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

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

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

일 실시 예에 따르면, 프로세서(150)는 수정된 결과와 관련된 데이터(예: 수정된 텍스트 데이터)를 무선 통신 회로를 통해 지능형 서버(200)로 전송할 수 있다. 일 실시 예에 따라, 지능형 서버(200)로 전송된 수정된 결과와 관련된 데이터는 지능형 서버(200)의 자동 음성 인식 데이터베이스(211)에 저장될 수 있다.According to an embodiment, the processor 150 may transmit data related to the corrected result (eg, corrected text data) to the intelligent server 200 through a wireless communication circuit. According to an embodiment, data related to the corrected result transmitted to the intelligent server 200 may be stored in the automatic voice recognition database 211 of the intelligent server 200 .

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

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

일 실시 예에 따라, 수정된 텍스트에 대응하는 음성 모델을 업데이트 하기 위한 UI(2342)를 선택하는 사용자 입력이 수신되면, 프로세서(150)는 인식된 텍스트에 대응하는 추가적인 사용자 발화를 마이크로폰(111)을 통해 수신할 수 있다.According to an embodiment, when a user input for selecting a UI 2342 for updating a voice model corresponding to the corrected text is received, the processor 150 generates an additional user utterance corresponding to the recognized text into the microphone 111 . can be received through

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

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

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

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

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

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

일 실시 예에 따라 명령 문장을 선택하는 사용자 입력이 수신되면, 프로세서(150)는 선택된 명령 문장을 나타내는 결과 화면을 디스플레이(120)에 표시할 수 있다. 일 실시 예에 따르면, 예를 들어, 결과 화면은 도 24c에 도시된 것과 같이 선택된 명령 문장인 “Reminder for 10min” (2431) 및 가이드 메시지(2432)를 포함할 수 있다.According to an embodiment, when a user input for selecting a command sentence is received, the processor 150 may display a result screen indicating the selected command sentence on the display 120 . According to an embodiment, for example, the result screen may include a selected command sentence “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 an embodiment, the processor 150 may transmit data related to the selected command sentence (eg, pass rule information corresponding to the selected command sentence) to the intelligent server 200 . According to an embodiment, the intelligent server 200 may store data related to a command sentence. According to an embodiment, the intelligent server 200 may generate a pass rule using data related to a stored command sentence. For example, when the intelligent server 200 receives data (eg, a voice signal) related to a user utterance recognized as “Show my recent photto” from the electronic device 100 , the intelligent server 200 stores the command sentence A pass rule corresponding to “Reminder for 10min” can be created using related data.

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

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

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

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

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

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

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

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

도 27은 일 실시 예에 따른 인터넷에서 검색을 수행하기 위한 화면을 나타낸다. 27 illustrates 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 an embodiment, the processor 150 may receive a user input for selecting the UIs 2215 and 2225 for searching on the Internet shown in FIGS. 22A and 22B . According to an embodiment, in response to receiving a user input, the processor 150 may display a screen for performing a search in the electronic device 100 on the display 120 as shown in FIG. 27 . Referring to FIG. 27 , a screen for performing a search within the electronic device 100 may include a search window 2711 in which a user input is displayed.

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

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

도 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 according to various embodiments of the present disclosure. The electronic device according to various embodiments disclosed in this document may be a device of various types. An electronic device may be, for example, a portable communication device (eg, a smartphone), a computer device (eg, a personal digital assistant (PDA), a tablet PC (tablet PC), a laptop PC (eg, a desktop PC, a workstation, or a server)). , a portable multimedia device (eg, an e-book reader or an MP3 player), a portable medical device (eg, a heart rate, blood sugar, blood pressure, or body temperature monitor), a camera, or a wearable device. Types (e.g. watches, rings, bracelets, anklets, necklaces, eyeglasses, contact lenses, or head-mounted-devices (HMDs)); For example, a skin pad or a tattoo), or a bioimplantable circuit.In some embodiments, the electronic device may include, for example, a television, a digital video disk (DVD) player, an audio device, an audio accessory. Devices (such as speakers, headphones, or headsets), refrigerators, air conditioners, vacuum cleaners, ovens, microwaves, washing machines, air purifiers, set-top boxes, home automation control panels, security control panels, game consoles, electronic dictionaries, electronic keys, It may include at least one of a camcorder and an electronic picture frame.

다른 실시 예에서, 전자 장치는 네비게이션 장치, 위성 항법 시스템(GNSS(global navigation satellite system)), EDR(event data recorder)(예: 차량/선박/비행기 용 블랙박스(black box)), 자동차 인포테인먼트 장치(예: 차량용 헤드-업 디스플레이), 산업용 또는 가정용 로봇, 드론(drone), ATM(automated teller machine), POS(point of sales) 기기, 계측 기기(예: 수도, 전기, 또는 가스 계측 기기), 또는 사물 인터넷 장치(예: 전구, 스프링클러 장치, 화재 경보기, 온도 조절기, 또는 가로등) 중 적어도 하나를 포함할 수 있다. 본 문서의 실시 예에 따른 전자 장치는 전술한 기기들에 한정되지 않으며, 또한, 예를 들면, 개인의 생체 정보(예: 심박 또는 혈당)의 측정 기능이 구비된 스마트폰의 경우처럼, 복수의 장치들의 기능들을 복합적으로 제공할 수 있다. 본 문서에서, 사용자라는 용어는 전자 장치를 사용하는 사람 또는 전자 장치를 사용하는 장치(예: 인공지능 전자 장치)를 지칭할 수 있다. In another embodiment, the electronic device may include a navigation device, a global navigation satellite system (GNSS), an event data recorder (EDR) (eg, a black box for a vehicle/vessel/airplane), and an automotive infotainment device. (e.g. head-up displays for vehicles), industrial or home robots, drones, automated teller machines (ATMs), point of sales (POS) instruments, metering instruments (e.g. water, electricity, or gas metering instruments); Alternatively, it may include at least one of an IoT device (eg, a light bulb, a sprinkler device, a fire alarm, a thermostat, or a street lamp). The electronic device according to the embodiment of this document is not limited to the above-described devices, and, for example, as in the case of a smartphone equipped with a function of measuring personal biometric information (eg, heart rate or blood sugar), a plurality of The functions of the devices may be provided in a complex manner. In this document, the term user may refer to a person who uses an electronic device or a device (eg, an artificial intelligence electronic device) using the electronic device.

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

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

버스(2810)는, 구성요소들(2820-2890)을 서로 연결하고, 구성요소들 간의 신호(예: 제어 메시지 또는 데이터)를 전달하는 회로를 포함할 수 있다.The bus 2810 may include a circuit that connects the components 2820 - 2890 to each other and transmits a signal (eg, a control message 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)에 저장할 수 있다.The processor 2820 is one of a central processing unit (CPU), an application processor (AP), a graphics processing unit (GPU), an image signal processor (ISP) of a camera, or a communication processor (CP). or more. According to an embodiment, the processor 2820 may be implemented as a system on chip (SoC) or a system in package (SiP). The processor 2820 may control at least one other component (eg, a hardware or software component) of the electronic device 2801 connected to the processor 2820 by, for example, driving an operating system or an application program, and , various data processing and operations can be performed. The processor 2820 loads and processes commands or data received from at least one of other components (eg, the communication module 2890 ) into the volatile memory 2832 , and stores the result data in the non-volatile memory 2834 . can

메모리(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)와 기능적으로 또는 물리적으로 연결될 수 있다.The memory 2830 may include a volatile memory 2832 or a non-volatile memory 2834 . The volatile memory 2832 may include, for example, random access memory (RAM) (eg, DRAM, SRAM, or SDRAM). The non-volatile memory 2834 may include, for example, programmable read-only memory (PROM), one time PROM (OTPROM), erasable PROM (EPROM), electrically EPROM (EEPROM), mask ROM, flash ROM, flash memory, HDD. (hard disk drive), or may be configured as a solid state drive (SSD). In addition, the non-volatile memory 2834 includes an internal memory 2836 disposed therein, or an external stand-alone type that can be connected and used only when necessary, depending on a connection type with the electronic device 2801 . memory 2838 . The external memory 2838 is a flash drive, for example, a compact flash (CF), a secure digital (SD), a Micro-SD, a Mini-SD, an extreme digital (xD), a multi-media card (MMC). , or a memory stick. The external memory 2838 may be functionally or physically connected to the electronic device 2801 through a wired (eg, a cable or universal serial bus (USB)) or wireless (eg, Bluetooth).

메모리(2830)는, 예를 들면, 전자 장치(2801)의 적어도 하나의 다른 소프트웨어 구성요소, 예를 들어, 프로그램(2840)에 관계된 명령 또는 데이터를 저장할 수 있다. 프로그램(2840)은, 예를 들면, 커널(2841), 라이브러리(2843), 어플리케이션 프레임워크(2845), 또는 어플리케이션 프로그램(interchangeably "어플리케이션")(2847)을 포함할 수 있다. The memory 2830 may store, for example, at least one other software component of the electronic device 2801 , for example, a command or data related to the 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)를 통해 가상 키보드로 표시될 수 있다.The input device 2850 may include a microphone, a mouse, or a keyboard. According to an embodiment, the keyboard may be connected as a physical keyboard or may be displayed as a virtual keyboard through the display device 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 projector and a control circuit for controlling the corresponding 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 an embodiment, may be implemented to be flexible, transparent, or wearable. The display may include touch circuitry capable of sensing a user's touch, gesture, proximity, or hovering input, or a pressure sensor capable of measuring the intensity of pressure on the touch (interchangeably "force sensor"). can 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 holographic device may display a three-dimensional image in the air using interference of light. A projector can display an image by projecting light onto a screen. The screen may be located inside or outside the electronic device 2801 , for example.

오디오 모듈(2870)은, 예를 들면, 소리와 전기 신호를 쌍방향으로 변환시킬 수 있다. 일 실시 예에 따르면, 오디오 모듈(2870)은, 입력 장치(2850)(예: 마이크)를 통해 소리를 획득하거나, 또는 전자 장치(2801)에 포함된 출력 장치(미 도시)(예: 스피커 또는 리시버), 또는 전자 장치(2801)와 연결된 외부 전자 장치(예: 전자 장치(2802)(예: 무선 스피커 또는 무선 헤드폰) 또는 전자 장치(2806)(예: 유선 스피커 또는 유선 헤드폰))를 통해 소리를 출력할 수 있다.The audio module 2870 may interactively convert a sound and an electrical signal, for example. According to an embodiment, the audio module 2870 acquires sound through the input device 2850 (eg, a microphone) or an output device (not shown) included in the electronic device 2801 (eg, a speaker or receiver), or through an external electronic device connected to the electronic device 2801 (eg, the electronic device 2802 (eg, wireless speakers or wireless headphones) or the electronic device 2806 (eg, wired speakers or wired headphones)). can be printed out.

센서 모듈(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, for example, an internal operating state (eg, power or temperature) of the electronic device 2801, or an external environmental state (eg, altitude, humidity, or brightness), An electrical signal or data value corresponding to the measured or sensed state information may be generated. The sensor module 2876 may include, for example, a gesture sensor, a gyro sensor, a barometric pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, and a color sensor (eg, an RGB (red, green, blue) sensor). , IR (infrared) sensor, biometric sensor (such as iris sensor, fingerprint sensor, or heartbeat rate monitoring (HRM) sensor, olfactory (electronic nose) sensor, electromyography (EMG) sensor, electroencephalogram (EEG) sensor, electrocardiogram (ECG) sensor sensor), a temperature sensor, a humidity sensor, an illuminance sensor, or an ultra violet (UV) sensor. The sensor module 2876 may further include a control circuit for controlling at least one or more sensors included therein. In some embodiments, the electronic device 2801 may control the sensor module 2876 using the processor 2820 or a processor (eg, a sensor hub) separate from the processor 2820 . When a separate processor (eg, a sensor hub) is used, the electronic device 2801 does not wake the processor 2820 while the processor 2820 is in a sleep state, and the sensor module is operated by the separate processor. At least a portion of the operation or state of 2876 may be controlled.

인터페이스(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 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The interface 2877, according to an embodiment, is a high definition multimedia interface (HDMI), USB, optical interface, RS-232 (recommended standard 232), D-sub (D-subminiature), MHL (mobile). It may include a high-definition link) interface, an SD card/multi-media card (MMC) interface, or an audio interface. The connection terminal 2878 may physically connect the electronic device 2801 and the electronic device 2806 . According to an embodiment, the connection terminal 2878 may include, for example, a USB connector, an SD card/MMC connector, or an audio connector (eg, a headphone connector).

햅틱 모듈(2879)은 전기적 신호를 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 예를 들면, 햅틱 모듈(2879)은 사용자에게 촉각 또는 운동 감각과 관련된 자극을 제공할 수 있다. 햅틱 모듈(2879)은 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 2879 may convert an electrical signal into a mechanical stimulus (eg, vibration or movement) or an electrical stimulus. For example, the haptic module 2879 may provide a stimulus related to a 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 may capture still images and moving images, for example. The camera module 2880, according to an embodiment, includes one or more lenses (eg, a wide-angle lens and a telephoto lens, or a front lens and a rear lens), an image sensor, an image signal processor, or a flash (eg, a light emitting diode or a xenon lamp). (xenon lamp), etc.) may be included.

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

배터리(2889)는, 예를 들면, 1차 전지, 2차 전지, 또는 연료 전지를 포함하여 외부 전원에 의해 재충전되어, 상기 전자 장치(2801)의 적어도 하나의 구성 요소에 전력을 공급할 수 있다.The battery 2889 may be recharged by an external power source, including, for example, a primary cell, a secondary cell, 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)(예: 셀룰러 네트워크와 같은 원거리 통신 네트워크)를 통하여 외부 장치와 통신할 수 있다.The communication module 2890 establishes, for example, a communication channel between the electronic device 2801 and an external device (eg, the first external electronic device 2802 , the second external electronic device 2804 , or the server 2808 ). And it may support the performance of wired or wireless communication through the established communication channel. According to an embodiment, the communication module 2890 includes a wireless communication module 2892 or a wired communication module 2894, and the first network 2898 (eg, Bluetooth or IrDA) using a corresponding communication module among them. (a short-range communication network such as infrared data association) or the second network 2899 (eg, a long-distance communication network such as a cellular network) may communicate with the external device.

무선 통신 모듈(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 cellular communication, short-range wireless communication, or GNSS communication, for example. Cellular communication is, for example, long-term evolution (LTE), LTE Advance (LTE-A), code division multiple access (CDMA), wideband CDMA (WCDMA), universal mobile telecommunications system (UMTS), Wireless Broadband (WiBro) ), or GSM (Global System for Mobile Communications). Short-range wireless communication is, for example, 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), radio frequency (RF), or body area network (BAN). The GNSS may include, for example, Global Positioning System (GPS), Global Navigation Satellite System (Glonass), Beidou Navigation Satellite System (hereinafter, “Beidou”) or Galileo (the European global satellite-based navigation system). In this document, "GPS" may be used interchangeably with "GNSS".

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

유선 통신 모듈(2894)은, 예를 들면, LAN(local area network), 전력선 통신 또는 POTS(plain old telephone service)를 포함할 수 있다. Wired communication module 2894 may include, for example, a local area network (LAN), power line communication, or 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, for example, uses Wi-Fi Direct or Bluetooth capable of transmitting or receiving commands or data through a wireless direct connection between the electronic device 2801 and the first external electronic device 2802 . may include The second network 2899 is, for example, a telecommunication network (eg, a local area network (LAN) or a communication network 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 through the server 2808 connected to the second network. Each of the first and second external electronic devices 2802 and 2804 may be the same as or different from the electronic device 2801 . According to various embodiments, all or a part of operations executed by the electronic device 2801 may be executed by one or a plurality of other electronic devices (eg, the electronic devices 2802 and 2804, or the server 2808). According to an example, when the electronic device 2801 is to perform a function or service automatically or upon request, the electronic device 2801 performs at least an associated at least one function or service instead of or in addition to executing the function or service itself. Some functions may be requested from another device (eg, the electronic devices 2802, 2804, or the server 2808) The other electronic device (eg, the electronic devices 2802, 2804, or the server 2808) may request the requested function. The function or additional function may be executed and the result may be transmitted to the electronic device 2801. The electronic device 2801 may process the received result as it is or additionally to provide the requested function or service. For example, cloud computing, distributed computing, or client-server computing technology may be used.

본 문서에 개시되는 일 실시 예에 따른 전자 장치는, 하우징; 상기 하우징 내에 배치되고, 상기 하우징의 제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 through a third portion of the housing; wireless communication circuitry disposed within the housing; a processor disposed within the housing and electrically coupled to the touchscreen 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, wherein the memory, when executed, causes the processor to, in a first example, receive a first user utterance through the microphone, the first user The utterance includes a first request for performing a first task with the electronic device, and transmits first data related to the first user utterance to an external server through the wireless communication circuit, and through the wireless communication circuit Receive a first response from an external server, wherein the first response includes information about sequences of first states of the electronic device for performing the first task, wherein the electronic device performs the sequences of first states perform the first task by having to have, in a second example, receive a second user utterance through the microphone, the second user utterance comprising a second request to perform a second task with the electronic device and transmit second data related to the second user utterance to the external server through the wireless communication circuit, and receive a second response from the external server through the wireless communication circuit, wherein the second response is transmitted to the user at least one sample utterance indicating an intention of the utterance, wherein the at least one sample utterance is selected by the external server based on the second user utterance, and displaying the at least one sample utterance on the touchscreen display and receiving a first user input for selecting one of the at least one sample utterances through the microphone or the touchscreen display, and causing the electronic device to display a second state related to the selected one of the at least one sample utterances. The instructions for performing the second task may be stored by having a sequence of .

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

본 문서에서, "~하도록 설정된(adapted to or configured to)"은 상황에 따라, 예를 들면, 하드웨어적 또는 소프트웨어적으로 "~에 적합한," "~하는 능력을 가지는," "~하도록 변경된," "~하도록 만들어진," "~를 할 수 있는," 또는 "~하도록 설계된"과 상호 호환적으로(interchangeably) 사용될 수 있다. 어떤 상황에서는, "~하도록 구성된 장치"라는 표현은, 그 장치가 다른 장치 또는 부품들과 함께 "~할 수 있는" 것을 의미할 수 있다. 예를 들면, 문구 "A, B, 및 C를 수행하도록 설정된 (또는 구성된) 프로세서"는 해당 동작들을 수행하기 위한 전용 프로세서(예: 임베디드 프로세서), 또는 메모리 장치(예: 메모리 2830)에 저장된 하나 이상의 프로그램들을 실행함으로써, 해당 동작들을 수행할 수 있는 범용 프로세서(예: CPU 또는 AP)를 의미할 수 있다.In this document, "adapted to or configured to", depending on the context, for example, hardware or software "suitable for," "having the ability to," "modified to, Can be used interchangeably with ""made to," "capable of," or "designed to." In some circumstances, the expression “a device configured to” may mean that the device is “capable of” with other devices or parts. For example, the phrase “a processor configured (or configured to perform) A, B, and C” may refer to a dedicated processor (eg, an embedded processor), or one stored in a memory device (eg, memory 2830), for performing the corresponding operations. By executing the above programs, it may mean a general-purpose processor (eg, CPU or AP) capable of performing corresponding operations.

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

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

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

Claims (20)

전자 장치에 있어서,
하우징;
상기 하우징 내에 배치되고, 상기 하우징의 제1 부분을 통해 노출된 터치스크린 디스플레이;
상기 하우징 내에 배치되고 상기 하우징의 제2 부분을 통해 노출된 마이크로폰;
상기 하우징 내에 배치되고 상기 하우징의 제3 부분을 토해 노출된 적어도 하나의 스피커;
상기 하우징 내에 배치된 무선 통신 회로;
상기 하우징 내에 배치되고, 상기 터치스크린 디스플레이, 상기 마이크로폰, 상기 적어도 하나의 스피커 및 상기 무선 통신 회로와 전기적으로 연결된 프로세서; 및
상기 하우징 내에 배치되고 상기 프로세서와 전기적으로 연결된 메모리를 포함하고, 상기 메모리는, 실행 시에, 상기 프로세서가,
상기 마이크로폰을 통하여 사용자 발화를 수신하고, 상기 사용자 발화는 상기 전자 장치로 태스크(task)를 수행하기 위한 리퀘스트(request)를 포함하며,
상기 사용자 발화와 연관된 데이터를 상기 무선 통신 회로를 통하여 외부 서버로 전송하고,
상기 외부 서버로부터 상기 무선 통신 회로를 통하여 응답을 수신하며, 상기 응답은 적어도 하나의 패스 룰(path rule)과 상기 적어도 하나의 패스 룰의 각각에 대응하는 샘플 발화를 포함하며, 상기 적어도 하나의 패스 룰과 상기 적어도 하나의 패스 룰에 대응하는 샘플 발화는 상기 사용자 발화에 기반하여 상기 외부 서버에 의해 선택 또는 형성되고,
상기 수신된 적어도 하나의 패스 룰에 대한 액션(action)을 수행하며,
상기 마이크로폰 또는 상기 터치스크린 디스플레이를 통하여, 상기 수행된 액션의 결과에 대한 피드백(feedback)에 해당하는 피드백 인풋을 수신하고,
상기 피드백 인풋이 부정적인 인풋 임에 따라, 상기 외부 서버로부터 수신된 적어도 하나의 대안적인 패스 룰에 대응되는 적어도 하나의 샘플 발화를 표시하며,
상기 마이크로폰 또는 상기 터치스크린 디스플레이를 통해, 상기 표시된 적어도 하나의 샘플 발화 중 하나를 선택하는 사용자 인풋을 수신하고, 상기 선택된 샘플 발화에 해당하는 패스 룰에 대응하는 액션을 수행하도록 하는, 인스트럭션들을 저장하는 전자 장치.
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 through a third portion of the housing;
wireless communication circuitry disposed within the housing;
a processor disposed within the housing and electrically coupled to the touchscreen 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, wherein the memory, when executed, causes the processor to:
Receive a user utterance through the microphone, wherein the user utterance includes a request for performing a task with the electronic device,
Transmitting data related to the user's utterance to an external server through the wireless communication circuit,
receive a response from the external server through the wireless communication circuit, wherein the response includes at least one path rule and a sample utterance corresponding to each of the at least one path rule, the at least one path A rule and a sample utterance corresponding to the at least one pass rule are selected or formed by the external server based on the user utterance,
performing an action on the received at least one pass rule,
Receiving a feedback input corresponding to feedback on the result of the performed action through the microphone or the touch screen display,
according to the feedback input being a negative input, displaying at least one sample utterance corresponding to at least one alternative pass rule received from the external server,
Storing instructions for receiving a user input for selecting one of the displayed at least one sample utterance through the microphone or the touch screen display, and performing an action corresponding to a pass rule corresponding to the selected sample utterance electronic device.
청구항 1에 있어서,
상기 적어도 하나의 대안적인 패스 룰에 대응하는 상기 표시된 적어도 하나의 샘플 발화는 상기 외부 서버로부터 수신한 상기 응답에 포함되는, 전자 장치.
The method according to claim 1,
and the displayed at least one sample utterance corresponding to the at least one alternative pass rule is included in the response received from the external server.
청구항 1에 있어서,
상기 인스트럭션들은 상기 프로세서가,
상기 피드백 인풋이 상기 부정적인 인풋 임에 따라, 상기 외부 서버로부터 상기 적어도 하나의 대안적인 패스 룰을 수신하기 위해 상기 외부 서버로 상기 사용자 발화와 연관된 추가적인 데이터를 전송하도록 하는, 전자 장치.
The method according to claim 1,
The instructions allow the processor to
and, according to the feedback input being the negative input, transmit additional data associated with the user utterance to the external server to receive the at least one alternative pass rule from the external server.
청구항 1에 있어서,
상기 응답은 제1 의도(intent)를 나타내는 제1 샘플 발화 및 상기 제1 의도와 상이한 제2 의도를 나타내는 제2 샘플 발화를 포함하는 복수의 샘플 발화들을 포함하는, 전자 장치.
The method according to claim 1,
wherein the response comprises a plurality of sample utterances comprising a first sample utterance indicating a first intent and a second sample utterance indicating a second intent different from the first intent.
청구항 1에 있어서,
상기 인스트럭션들은, 상기 프로세서가,
상기 터치스크린 디스플레이에 상기 표시된 적어도 하나의 샘플 발화와 연관된 하나 이상의 이미지를 표시하도록 하는, 전자 장치.
The method according to claim 1,
The instructions, the processor,
and display one or more images associated with the displayed at least one sample utterance on the touchscreen display.
청구항 5에 있어서,
상기 하나 이상의 이미지는 상기 표시된 적어도 하나의 샘플 발화와 연관된 상태(state)들의 시퀀스(sequence)를 나타내는, 전자 장치.
6. The method of claim 5,
and the one or more images represent a sequence of states associated with the displayed at least one sample utterance.
청구항 1에 있어서,
상기 인스트럭션들은, 상기 프로세서가,
상기 적어도 하나의 샘플 발화를 표시하기 위한 순서를 결정하며,
상기 결정된 순서에 따라 상기 적어도 하나의 샘플 발화를 표시하도록 하는, 전자 장치.
The method according to claim 1,
The instructions, the processor,
determining an order for displaying the at least one sample utterance;
display the at least one sample utterance according to the determined order.
청구항 7에 있어서,
상기 응답은 상기 적어도 하나의 샘플 발화의 각각에 대응하는 값을 포함하며,
상기 인스트럭션들은, 상기 프로세서가,
상기 값의 크기의 순서를 상기 적어도 하나의 샘플 발화를 표시하는 상기 순서로 결정하도록 하는, 전자 장치.
8. The method of claim 7,
the response includes a value corresponding to each of the at least one sample utterance;
The instructions, the processor,
and determine the order of the magnitudes of the values in the order indicative of the at least one sample utterance.
청구항 7에 있어서,
상기 인스트럭션들은, 상기 프로세서가,
상기 적어도 하나의 샘플 발화 중 첫번째 순서에 해당하는 샘플 발화를 나머지 샘플 발화와 시각적으로 다르게 표시하도록 하는, 전자 장치.
8. The method of claim 7,
The instructions, the processor,
The electronic device of claim 1, wherein a sample utterance corresponding to a first order among the at least one sample utterance is visually displayed differently from other sample utterances.
전자 장치의 동작 방법에 있어서,
상기 전자 장치의 마이크로폰을 통하여 사용자 발화를 수신하고, 상기 사용자 발화는 상기 전자 장치로 태스크(task)를 수행하기 위한 리퀘스트(request)를 포함하며,
상기 사용자 발화와 연관된 데이터를 상기 전자 장치의 무선 통신 회로를 통하여 외부 서버로 전송하고,
상기 외부 서버로부터 상기 무선 통신 회로를 통하여 응답을 수신하며, 상기 응답은 적어도 하나의 패스 룰(path rule)과 상기 적어도 하나의 패스 룰의 각각에 대응하는 샘플 발화를 포함하며, 상기 적어도 하나의 패스 룰과 상기 적어도 하나의 패스 룰에 대응하는 샘플 발화는 상기 사용자 발화에 기반하여 상기 외부 서버에 의해 선택 또는 형성되고,
상기 수신된 적어도 하나의 패스 룰에 대한 액션(action)을 수행하며,
상기 마이크로폰 또는 상기 전자 장치의 터치스크린 디스플레이를 통하여, 상기 수행된 액션의 결과에 대한 피드백(feedback)에 해당하는 피드백 인풋을 수신하고,
상기 피드백 인풋이 부정적인 인풋 임에 따라, 상기 외부 서버로부터 수신된 적어도 하나의 대안적인 패스 룰에 대응되는 적어도 하나의 샘플 발화를 표시하며,
상기 마이크로폰 또는 상기 터치스크린 디스플레이를 통해, 상기 표시된 적어도 하나의 샘플 발화 중 하나를 선택하는 사용자 인풋을 수신하고, 상기 선택된 샘플 발화에 해당하는 패스 룰에 대응하는 액션을 수행하는, 전자 장치의 동작 방법.
A method of operating an electronic device, comprising:
Receive a user utterance through a microphone of the electronic device, wherein the user utterance includes a request for performing a task with the electronic device,
transmitting data related to the user's utterance to an external server through a wireless communication circuit of the electronic device;
receive a response from the external server through the wireless communication circuit, wherein the response includes at least one path rule and a sample utterance corresponding to each of the at least one path rule, the at least one path A rule and a sample utterance corresponding to the at least one pass rule are selected or formed by the external server based on the user utterance,
performing an action on the received at least one pass rule,
receiving a feedback input corresponding to feedback on a result of the performed action through the microphone or the touch screen display of the electronic device;
In response to the feedback input being a negative input, displaying at least one sample utterance corresponding to at least one alternative pass rule received from the external server,
receiving a user input for selecting one of the displayed at least one sample utterance through the microphone or the touch screen display, and performing an action corresponding to a pass rule corresponding to the selected sample utterance .
청구항 10에 있어서,
상기 적어도 하나의 대안적인 패스 룰에 대응하는 상기 표시된 적어도 하나의 샘플 발화는 상기 외부 서버로부터 수신한 상기 응답에 포함되는, 전자 장치의 동작 방법.
11. The method of claim 10,
The method of operating an electronic device, wherein the displayed at least one sample utterance corresponding to the at least one alternative pass rule is included in the response received from the external server.
청구항 10에 있어서,
상기 피드백 인풋이 상기 부정적인 인풋 임에 따라, 상기 외부 서버로부터 상기 적어도 하나의 대안적인 패스 룰을 수신하기 위해 상기 외부 서버로 상기 사용자 발화와 연관된 추가적인 데이터를 전송하는, 전자 장치의 동작 방법.
11. The method of claim 10,
according to the feedback input being the negative input, transmitting additional data associated with the user's utterance to the external server to receive the at least one alternative pass rule from the external server.
청구항 10에 있어서,
상기 응답은 제1 의도(intent)를 나타내는 제1 샘플 발화 및 상기 제1 의도와 상이한 제2 의도를 나타내는 제2 샘플 발화를 포함하는 복수의 샘플 발화들을 포함하는, 전자 장치의 동작 방법.
11. The method of claim 10,
and the response includes a plurality of sample utterances including a first sample utterance indicating a first intent and a second sample utterance indicating a second intent different from the first intent.
청구항 10에 있어서,
상기 터치스크린 디스플레이에 상기 표시된 적어도 하나의 샘플 발화와 연관된 하나 이상의 이미지를 표시하는, 정자 장치의 동작 방법.
11. The method of claim 10,
and displaying one or more images associated with the displayed at least one sample utterance on the touch screen display.
청구항 14에 있어서,
상기 하나 이상의 이미지는 상기 표시된 적어도 하나의 샘플 발화와 연관된 상태(state)들의 시퀀스(sequence)를 나타내는, 전자 장치의 동작 방법.
15. The method of claim 14,
and the one or more images represent a sequence of states associated with the displayed at least one sample utterance.
청구항 10에 있어서,
상기 적어도 하나의 샘플 발화를 표시하기 위한 순서를 결정하며,
상기 결정된 순서에 따라 상기 적어도 하나의 샘플 발화를 표시하는, 전자 장치의 동작 방법.
11. The method of claim 10,
determining an order for displaying the at least one sample utterance;
and displaying the at least one sample utterance according to the determined order.
청구항 16에 있어서,
상기 응답은 상기 적어도 하나의 샘플 발화의 각각에 대응하는 값을 포함하며,
상기 전자 장치는 상기 값의 크기의 순서를 상기 적어도 하나의 샘플 발화를 표시하는 상기 순서로 결정하는, 전자 장치의 동작 방법.
17. The method of claim 16,
the response includes a value corresponding to each of the at least one sample utterance;
and the electronic device determines the order of magnitudes of the values as the order of displaying the at least one sample utterance.
컴퓨터 판독 가능한 명령어들을 저장하는 저장 매체에 있어서, 상기 명령어들은 전자 장치의 프로세서에 의해 실행될 때, 상기 전자 장치로 하여금,
상기 전자 장치의 마이크로폰을 통하여 사용자 발화를 수신하고, 상기 사용자 발화는 상기 전자 장치로 태스크(task)를 수행하기 위한 리퀘스트(request)를 포함하며,
상기 사용자 발화와 연관된 데이터를 상기 전자 장치의 무선 통신 회로를 통하여 외부 서버로 전송하고,
상기 외부 서버로부터 상기 무선 통신 회로를 통하여 응답을 수신하며, 상기 응답은 적어도 하나의 패스 룰(path rule)과 상기 적어도 하나의 패스 룰의 각각에 대응하는 샘플 발화를 포함하며, 상기 적어도 하나의 패스 룰과 상기 적어도 하나의 패스 룰에 대응하는 샘플 발화는 상기 사용자 발화에 기반하여 상기 외부 서버에 의해 선택 또는 형성되고,
상기 수신된 적어도 하나의 패스 룰에 대한 액션(action)을 수행하며,
상기 마이크로폰 또는 상기 전자 장치의 터치스크린 디스플레이를 통하여, 상기 수행된 액션의 결과에 대한 피드백(feedback)에 해당하는 피드백 인풋을 수신하고,
상기 피드백 인풋이 부정적인 인풋 임에 따라, 상기 외부 서버로부터 수신된 적어도 하나의 대안적인 패스 룰에 대응되는 적어도 하나의 샘플 발화를 표시하며,
상기 마이크로폰 또는 상기 터치스크린 디스플레이를 통해, 상기 표시된 적어도 하나의 샘플 발화 중 하나를 선택하는 사용자 인풋을 수신하고, 상기 선택된 샘플 발화에 해당하는 패스 룰에 대응하는 액션을 수행하도록 하는, 저장 매체.
A storage medium storing computer-readable instructions, wherein the instructions, when executed by a processor of an electronic device, cause the electronic device to:
Receive a user utterance through a microphone of the electronic device, wherein the user utterance includes a request for performing a task with the electronic device,
Transmitting data related to the user's utterance to an external server through a wireless communication circuit of the electronic device,
receive a response from the external server through the wireless communication circuit, wherein the response includes at least one path rule and a sample utterance corresponding to each of the at least one path rule, the at least one path A rule and a sample utterance corresponding to the at least one pass rule are selected or formed by the external server based on the user utterance,
performing an action on the received at least one pass rule,
receiving a feedback input corresponding to feedback on a result of the performed action through the microphone or the touch screen display of the electronic device;
according to the feedback input being a negative input, displaying at least one sample utterance corresponding to at least one alternative pass rule received from the external server,
receiving a user input for selecting one of the displayed at least one sample utterance through the microphone or the touch screen display, and performing an action corresponding to a pass rule corresponding to the selected sample utterance.
청구항 18에 있어서,
상기 적어도 하나의 대안적인 패스 룰에 대응하는 상기 표시된 적어도 하나의 샘플 발화는 상기 외부 서버로부터 수신한 상기 응답에 포함되는, 저장 매체.
19. The method of claim 18,
and the indicated at least one sample utterance corresponding to the at least one alternative pass rule is included in the response received from the external server.
청구항 18에 있어서,
상기 명령어들은 전자 장치의 프로세서에 의해 실행될 때, 상기 피드백 인풋이 상기 부정적인 인풋 임에 따라, 상기 외부 서버로부터 상기 적어도 하나의 대안적인 패스 룰을 수신하기 위해 상기 외부 서버로 상기 사용자 발화와 연관된 추가적인 데이터를 전송하도록 하는, 저장 매체.
19. The method of claim 18,
When the instructions are executed by a processor of an electronic device, according to the feedback input being the negative input, additional data associated with the user utterance to the external server to receive the at least one alternative pass rule from the external server. A storage medium to transmit
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
KR20170049396 2017-04-17
KR1020170049396 2017-04-17

Publications (2)

Publication Number Publication Date
KR20180116731A KR20180116731A (en) 2018-10-25
KR102402224B1 true 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
KR20180116731A (en) 2018-10-25

Similar Documents

Publication Publication Date Title
KR102389625B1 (en) Electronic apparatus for processing user utterance and controlling method thereof
US11670302B2 (en) Voice processing method and electronic device supporting the same
KR102298947B1 (en) Voice data processing method and electronic device supporting the same
KR102371313B1 (en) Electronic apparatus for recognizing keyword included in your utterance to change to operating state and controlling method thereof
EP3392877B1 (en) Device for performing task corresponding to user utterance
KR102596436B1 (en) System for processing user utterance and controlling method thereof
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
KR102508863B1 (en) A electronic apparatus and a server for processing received data from the apparatus
KR102508677B1 (en) System for processing user utterance and controlling method thereof
KR102464120B1 (en) Electronic apparatus for processing user utterance
KR102369083B1 (en) Voice data processing method and electronic device supporting the same
EP3610479B1 (en) Electronic apparatus for processing user utterance
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
KR102380717B1 (en) Electronic apparatus for processing user utterance and controlling method thereof
KR20190114325A (en) The apparatus for processing user voice input
KR20190113130A (en) The apparatus for processing user voice input
KR102402224B1 (en) Device for performing a task corresponding to user utterance
KR102349681B1 (en) Electronic device for acquiring and registering lacking parameter

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