KR20240049062A - Electronic device, and server, and operting method thereof for processing continuous utterances received through a plurality of devices - Google Patents

Electronic device, and server, and operting method thereof for processing continuous utterances received through a plurality of devices Download PDF

Info

Publication number
KR20240049062A
KR20240049062A KR1020220134827A KR20220134827A KR20240049062A KR 20240049062 A KR20240049062 A KR 20240049062A KR 1020220134827 A KR1020220134827 A KR 1020220134827A KR 20220134827 A KR20220134827 A KR 20220134827A KR 20240049062 A KR20240049062 A KR 20240049062A
Authority
KR
South Korea
Prior art keywords
server
conversation
user
electronic device
identifier
Prior art date
Application number
KR1020220134827A
Other languages
Korean (ko)
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 삼성전자주식회사
Publication of KR20240049062A publication Critical patent/KR20240049062A/en

Links

Images

Classifications

    • 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
    • G06F3/167Audio in a user interface, e.g. using voice commands for navigating, audio feedback
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication

Abstract

본 개시의 일 실시예에 따른 전자 장치는, 마이크, 통신 회로, 메모리, 및 프로세서를 포함할 수 있다. 상기 메모리는 인스트럭션들 저장할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가, 상기 마이크를 통해 사용자 발화를 수신하고, 상기 사용자 발화를 수신함에 응답하여, 상기 사용자 발화를 포함하는 대화를 식별하기 위한 제1 식별자 및 상기 사용자 발화의 요청을 식별하기 위한 제2 식별자를 발급하고, 상기 통신 회로를 통해 연결된 네트워크를 식별하기 위한 제3 식별자를 식별하고, 상기 사용자 발화를 처리하기 위한 서버의 서버 주소를 식별하고, 상기 통신 회로를 통해, 상기 서버 주소에 기반하여, 상기 사용자 발화를 상기 제1 식별자, 상기 제2 식별자, 및 상기 제3 식별자를 포함하는 기기 정보와 함께 제1 서버로 송신하도록 할 수 있다.An electronic device according to an embodiment of the present disclosure may include a microphone, a communication circuit, memory, and a processor. The memory can store instructions. The instructions, when executed by the processor, cause the electronic device to receive a user utterance through the microphone and, in response to receiving the user utterance, display a first identifier for identifying a conversation including the user utterance. and issuing a second identifier for identifying a request for the user utterance, identifying a third identifier for identifying a network connected through the communication circuit, and identifying a server address of a server for processing the user utterance, Through the communication circuit, the user utterance can be transmitted to the first server along with device information including the first identifier, the second identifier, and the third identifier, based on the server address.

Description

복수의 기기를 통해 수신되는 연속 발화를 처리하는 전자 장치, 서버, 및 그들의 동작 방법{ELECTRONIC DEVICE, AND SERVER, AND OPERTING METHOD THEREOF FOR PROCESSING CONTINUOUS UTTERANCES RECEIVED THROUGH A PLURALITY OF DEVICES}Electronic devices, servers, and their operating methods for processing continuous speech received through a plurality of devices {ELECTRONIC DEVICE, AND SERVER, AND OPERTING METHOD THEREOF FOR PROCESSING CONTINUOUS UTTERANCES RECEIVED THROUGH A PLURALITY OF DEVICES}

본 개시는 복수의 기기를 통해 수신되는 연속 발화를 처리하는 전자 장치, 서버, 및 그들의 동작 방법에 관한 것이다.The present disclosure relates to electronic devices, servers, and methods of operating them that process continuous speech received through a plurality of devices.

다양한 종류의 전자 장치 및 전자 장치 간의 통신 기술이 발달함에 따라, 멀티 디바이스 환경(multi device environment) 또는 멀티 디바이스 경험(multi device experience, MDE)에 대한 기술이 개발되고 있다. 멀티 디바이스 경험을 가능하게 하는 기술은, 예를 들어, IoT(internet of things) 기술이 있다. 예를 들어, IoT 기술은 사용자로 하여금 집 외부에서 스마트폰을 통해 집 내부의 가전을 제어하거나, 집 내에서 사용자가 머무르는 공간에 있는 전자 장치를 이용하여 사용자와 멀리 떨어진 공간에 있는 전자 장치를 제어하는 것을 가능하게 한다. 또한, 음성 인식 기술이 멀티 디바이스 경험에 적용됨에 따라, 사용자 발화에 의해 복수의 기기가 제어될 수 있다.As various types of electronic devices and communication technology between electronic devices develop, technology for a multi-device environment or multi-device experience (MDE) is being developed. Technologies that enable multi-device experiences include, for example, IoT (internet of things) technology. For example, IoT technology allows users to control home appliances inside the home using a smartphone from outside the home, or control electronic devices located in a space far away from the user using electronic devices located in the space where the user resides within the home. makes it possible to do so. Additionally, as voice recognition technology is applied to multi-device experiences, multiple devices can be controlled by user utterances.

일 실시예에 따른 전자 장치는, 마이크, 통신 회로, 메모리, 및 프로세서를 포함할 수 있다. 상기 메모리는 인스트럭션들을 저장할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가, 상기 마이크를 통해 사용자 발화를 수신하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가, 상기 사용자 발화를 수신함에 응답하여, 상기 사용자 발화를 포함하는 대화를 식별하기 위한 제1 식별자 및 상기 사용자 발화의 요청을 식별하기 위한 제2 식별자를 발급하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가, 상기 통신 회로를 통해 연결된 네트워크를 식별하기 위한 제3 식별자를 식별하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가, 상기 사용자 발화를 처리하기 위한 서버의 서버 주소를 식별하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가, 상기 통신 회로를 통해, 상기 서버 주소에 기반하여, 상기 사용자 발화를 상기 제1 식별자, 상기 제2 식별자, 및 상기 제3 식별자를 포함하는 기기 정보와 함께 제1 서버로 송신하도록 할 수 있다.An electronic device according to one embodiment may include a microphone, a communication circuit, memory, and a processor. The memory can store instructions. The instructions, when executed by the processor, may cause the electronic device to receive user speech through the microphone. The instructions, when executed by the processor, cause the electronic device, in response to receiving the user utterance, to generate a first identifier for identifying a conversation including the user utterance and a first identifier for identifying a request for the user utterance. A second identifier can be issued. The instructions, when executed by the processor, may cause the electronic device to identify a third identifier for identifying a network connected through the communication circuit. The instructions, when executed by the processor, may cause the electronic device to identify the server address of the server for processing the user utterance. The instructions, when executed by the processor, cause the electronic device, through the communication circuit, to identify the user utterance with the first identifier, the second identifier, and the third identifier, based on the server address. It can be sent to the first server along with the device information it contains.

일 실시예에 따른 서버는, 통신 회로, 메모리, 및 프로세서를 포함할 수 있다. 상기 메모리는 인스트럭션들을 저장할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 서버가, 상기 통신 회로를 통해, 외부 전자 장치로부터 사용자 발화와, 상기 사용자 발화를 포함하는 대화를 식별하기 위한 제1 식별자 및 상기 외부 전자 장치가 연결된 네트워크를 식별하기 위한 제2 식별자를 포함하는 기기 정보를 수신하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 서버가, 상기 제1 식별자에 대응하는 대화가 존재하는지 여부를 판단하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 서버가, 상기 제1 식별자에 대응하는 대화가 존재하는 경우, 상기 대화 내에서 상기 사용자 발화에 대한 자연어 이해 처리를 수행하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 서버가, 상기 제1 식별자에 대응하는 대화가 존재하지 않는 경우, 상기 제2 식별자에 대응하는 대화가 존재하는지 여부를 판단하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 서버가, 상기 제1 식별자에 대응하는 대화가 존재하지 않고, 상기 제2 식별자에 대응하는 대화가 존재하는 경우, 상기 대화에 상기 제1 식별자를 병합하고, 상기 대화 내에서 상기 사용자 발화에 대한 자연어 이해 처리를 수행하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 서버가, 상기 제2 식별자에 대응하는 대화가 존재하지 않는 경우, 상기 기기 정보를 포함하는 대화를 생성하고, 상기 생성된 대화 내에서 상기 사용자 발화에 대한 자연어 이해 처리를 수행하도록 할 수 있다.A server according to one embodiment may include communication circuitry, memory, and a processor. The memory can store instructions. The instructions, when executed by the processor, cause the server, through the communication circuit, to send a user utterance from an external electronic device, a first identifier for identifying a conversation including the user utterance, and the external electronic device. It is possible to receive device information including a second identifier for identifying the connected network. The instructions, when executed by the processor, may cause the server to determine whether a conversation corresponding to the first identifier exists. When executed by the processor, the instructions may cause the server to perform natural language understanding processing on the user's utterance within the conversation if a conversation corresponding to the first identifier exists. The instructions, when executed by the processor, may cause the server to determine whether a conversation corresponding to the second identifier exists if a conversation corresponding to the first identifier does not exist. The instructions, when executed by the processor, cause the server to assign the first identifier to the conversation if a conversation corresponding to the first identifier does not exist and a conversation corresponding to the second identifier exists. It is possible to merge and perform natural language understanding processing on the user's utterance within the conversation. The instructions, when executed by the processor, cause the server to create a conversation including the device information when a conversation corresponding to the second identifier does not exist, and to generate the user utterance within the created conversation. Natural language understanding processing can be performed.

일 실시예에 따른 전자 장치의 동작 방법은, 상기 전자 장치의 마이크를 통해 사용자 발화를 수신하는 동작을 포함할 수 있다. 상기 방법은, 상기 사용자 발화를 수신함에 응답하여, 상기 사용자 발화를 포함하는 대화를 식별하기 위한 제1 식별자 및 상기 사용자 발화의 요청을 식별하기 위한 제2 식별자를 발급하는 동작을 포함할 수 있다. 상기 방법은, 상기 전자 장치의 통신 회로를 통해 연결된 네트워크를 식별하기 위한 제3 식별자를 식별하는 동작을 포함할 수 있다. 상기 방법은, 상기 사용자 발화를 처리하기 위한 서버의 서버 주소를 식별하는 동작을 포함할 수 있다. 상기 방법은, 상기 통신 회로를 통해, 상기 서버 주소에 기반하여, 상기 사용자 발화를 상기 제1 식별자, 상기 제2 식별자, 및 상기 제3 식별자를 포함하는 기기 정보와 함께 제1 서버로 송신하는 동작을 포함할 수 있다.A method of operating an electronic device according to an embodiment may include receiving a user's speech through a microphone of the electronic device. The method may include, in response to receiving the user utterance, issuing a first identifier for identifying a conversation including the user utterance and a second identifier for identifying a request for the user utterance. The method may include identifying a third identifier for identifying a network connected through a communication circuit of the electronic device. The method may include identifying the server address of a server for processing the user utterance. The method includes transmitting the user utterance to a first server along with device information including the first identifier, the second identifier, and the third identifier through the communication circuit, based on the server address. may include.

일 실시예에 따른 서버의 동작 방법은, 상기 서버의 통신 회로를 통해, 외부 전자 장치로부터 사용자 발화와, 상기 사용자 발화를 포함하는 대화를 식별하기 위한 제1 식별자 및 상기 외부 전자 장치가 연결된 네트워크를 식별하기 위한 제2 식별자를 포함하는 기기 정보를 수신하는 동작을 포함할 수 있다. 상기 방법은, 상기 제1 식별자에 대응하는 대화가 존재하는지 여부를 판단하는 동작을 포함할 수 있다. 상기 방법은, 상기 제1 식별자에 대응하는 대화가 존재하는 경우, 상기 대화 내에서 상기 사용자 발화에 대한 자연어 이해 처리를 수행하는 동작을 포함할 수 있다. 상기 방법은, 상기 제1 식별자에 대응하는 대화가 존재하지 않는 경우, 상기 제2 식별자에 대응하는 대화가 존재하는지 여부를 판단하는 동작을 포함할 수 있다. 상기 방법은, 상기 제1 식별자에 대응하는 대화가 존재하지 않고, 상기 제2 식별자에 대응하는 대화가 존재하는 경우, 상기 대화에 상기 제1 식별자를 병합하고, 상기 대화 내에서 상기 사용자 발화에 대한 자연어 이해 처리를 수행하는 동작을 포함할 수 있다. 상기 방법은, 상기 제2 식별자에 대응하는 대화가 존재하지 않는 경우, 상기 기기 정보를 포함하는 대화를 생성하는 동작을 포함할 수 있다. 상기 방법은, 상기 생성된 대화 내에서 상기 사용자 발화에 대한 자연어 이해 처리를 수행하는 동작을 포함할 수 있다.A method of operating a server according to an embodiment includes, through a communication circuit of the server, a user utterance from an external electronic device, a first identifier for identifying a conversation including the user utterance, and a network to which the external electronic device is connected. It may include receiving device information including a second identifier for identification. The method may include determining whether a conversation corresponding to the first identifier exists. The method may include, when a conversation corresponding to the first identifier exists, performing natural language understanding processing on the user's utterance within the conversation. The method may include determining whether a conversation corresponding to the second identifier exists when a conversation corresponding to the first identifier does not exist. The method includes, when a conversation corresponding to the first identifier does not exist and a conversation corresponding to the second identifier exists, merging the first identifier into the conversation, and responding to the user utterance within the conversation. It may include an operation that performs natural language understanding processing. The method may include creating a conversation including the device information when a conversation corresponding to the second identifier does not exist. The method may include performing natural language understanding processing on the user's utterance within the generated conversation.

도 1은 일 예시에 따른 시스템의 개략도이다.
도 2는 일 예시에 따른 전자 장치의 기기 정보를 나타낸 도면이다.
도 3은 일 예시에 따른 전자 장치의 서버 연결 동작을 설명하기 위한 도면이다.
도 4는 일 예시에 따른 대화 매니저가 관리하는 정보의 구조를 나타낸 도면이다.
도 5는 일 예시에 따른 서버의 대화 관리 방법을 설명하기 위한 도면이다.
도 6은 일 예시에 따른 서버의 자연어 이해 처리 방법을 설명하기 위한 도면이다.
도 7은 일 예시에 따른 서버의 자연어 이해 처리 방법을 설명하기 위한 도면이다.
도 8은 일 예시에 따른 서버의 자연어 이해 처리 방법을 설명하기 위한 도면이다.
도 9는 일 예시에 따른 시스템의 동작 흐름도이다.
도 10은 일 예시에 따른 서버의 대화 폐기 동작을 나타낸 흐름도이다.
도 11은 일 예시에 따른 서버의 대화의 유효 시간 갱신 동작을 나타낸 흐름도이다.
도 12는 일 예시에 따른 전자 장치의 대화 폐기 동작을 나타낸 흐름도이다.
도 13은 일 예시에 따른 전자 장치의 대화의 유효 시간 갱신 동작을 나타낸 흐름도이다.
도 14a 내지 도 14d는 일 예시에 따른 시스템의 동일 네트워크에 연결된 복수의 전자 장치들을 통해 수신되는 연속성 있는 발화들을 처리하는 시나리오를 나타낸 도면들이다.
도 15는 일 예시에 따른 네트워크 환경 내의 전자 장치의 블록도이다.
도 16은 일 예시에 따른 통합 지능 (integrated intelligence) 시스템을 나타낸 블록도이다.
도 17은 일 예시에 따른, 컨셉과 액션의 관계 정보가 데이터베이스에 저장된 형태를 나타낸 도면이다.
도 18은 일 예시에 따라, 지능형 앱을 통해 수신된 음성 입력을 처리하는 화면을 표시하는 사용자 단말을 도시하는 도면이다.
도면의 설명과 관련하여, 동일 또는 유사한 구성요소에 대해서는 동일 또는 유사한 참조 부호가 사용될 수 있다.
1 is a schematic diagram of a system according to one example.
Figure 2 is a diagram showing device information of an electronic device according to an example.
FIG. 3 is a diagram for explaining a server connection operation of an electronic device according to an example.
Figure 4 is a diagram showing the structure of information managed by a conversation manager according to an example.
Figure 5 is a diagram for explaining a server conversation management method according to an example.
Figure 6 is a diagram for explaining a natural language understanding processing method of a server according to an example.
Figure 7 is a diagram illustrating a natural language understanding processing method of a server according to an example.
Figure 8 is a diagram for explaining a natural language understanding processing method of a server according to an example.
9 is an operation flowchart of a system according to an example.
Figure 10 is a flowchart showing a conversation discard operation of a server according to an example.
Figure 11 is a flowchart showing an operation of updating the effective time of a server conversation according to an example.
Figure 12 is a flowchart showing a conversation discard operation of an electronic device according to an example.
Figure 13 is a flowchart showing an operation to update the effective time of a conversation of an electronic device according to an example.
FIGS. 14A to 14D are diagrams illustrating a scenario for processing continuous utterances received through a plurality of electronic devices connected to the same network of a system according to an example.
Figure 15 is a block diagram of an electronic device in a network environment according to an example.
Figure 16 is a block diagram showing an integrated intelligence system according to an example.
Figure 17 is a diagram showing how relationship information between concepts and actions is stored in a database, according to an example.
FIG. 18 is a diagram illustrating a user terminal displaying a screen for processing voice input received through an intelligent app, according to an example.
In relation to the description of the drawings, identical or similar reference numerals may be used for identical or similar components.

도 1은 일 예시에 따른 시스템의 개략도(100)이다.1 is a schematic diagram 100 of a system according to one example.

도 1을 참조하면, 일 예시에 따른 시스템은, 복수의 전자 장치 및 복수의 서버를 포함할 수 있다. 복수의 전자 장치 및 복수의 서버는 서로 네트워크를 통해 연결될 수 있다. 복수의 전자 장치는 서로 네트워크를 통해 연결될 수 있다. 복수의 전자 장치를 연결하는 네트워크는 복수의 네트워크를 포함할 수 있다. 여기서, 네트워크는 복수의 네트워크를 포함할 수 있다. 예를 들어, 제1 전자 장치(101) 및 제2 전자 장치(102)는 같은 네트워크에 연결되고, 제3 전자 장치(103)는 제1 전자 장치(101) 및 제2 전자 장치(102)와 다른 네트워크에 연결될 수 있으나, 이에 한정되는 것은 아니다.Referring to FIG. 1, a system according to an example may include a plurality of electronic devices and a plurality of servers. A plurality of electronic devices and a plurality of servers may be connected to each other through a network. A plurality of electronic devices may be connected to each other through a network. A network connecting a plurality of electronic devices may include a plurality of networks. Here, the network may include multiple networks. For example, the first electronic device 101 and the second electronic device 102 are connected to the same network, and the third electronic device 103 is connected to the first electronic device 101 and the second electronic device 102. It may be connected to another network, but is not limited to this.

예를 들어, 복수의 전자 장치는 제1 전자 장치(101), 제2 전자 장치(102), 및 제3 전자 장치(103)를 포함할 수 있다. 예를 들어, 각 전자 장치는 마이크, 통신 회로, 메모리, 및 프로세서를 포함할 수 있다. 각 전자 장치는 통신 회로를 통해 서버 또는 다른 전자 장치와 통신할 수 있다. 각 전자 장치의 메모리는 인스트럭션들을 저장할 수 있다. 각 전자 장치의 프로세서는 인스트럭션들을 실행함으로써 전자 장치를 작동시킬 수 있다. 이하, 각 전자 장치가 수행하는 동작들은 각 전자 장치의 프로세서에 의해 수행될 수 있다.For example, the plurality of electronic devices may include a first electronic device 101, a second electronic device 102, and a third electronic device 103. For example, each electronic device may include a microphone, communication circuitry, memory, and a processor. Each electronic device can communicate with a server or other electronic device through a communication circuit. The memory of each electronic device can store instructions. The processor of each electronic device can operate the electronic device by executing instructions. Hereinafter, operations performed by each electronic device may be performed by the processor of each electronic device.

예를 들어, 복수의 서버는 제1 서버(110) 및 제2 서버(120)를 포함할 수 있다. 예를 들어, 각 서버는 통신 회로, 메모리, 및 프로세서를 포함할 수 있다. 각 서버는 통신 회로를 통해 복수의 전자 장치와 통신할 수 있다. 각 서버의 메모리는 인스트럭션들을 저장할 수 있다. 각 서버의 프로세서는 인스트럭션들을 실행함으로써 전자 장치를 작동시킬 수 있다. 이하, 각 서버가 수행하는 동작들은 각 서버의 프로세서에 의해 수행될 수 있다.For example, the plurality of servers may include a first server 110 and a second server 120. For example, each server may include communication circuitry, memory, and processors. Each server can communicate with a plurality of electronic devices through a communication circuit. The memory of each server can store instructions. The processor of each server can operate electronic devices by executing instructions. Hereinafter, operations performed by each server may be performed by the processor of each server.

제1 전자 장치(101)는 마이크를 통해 사용자 발화를 수신할 수 있다. 예를 들어, 제1 전자 장치(101)에 수신된 사용자 발화는 제2 전자 장치(102)를 제어하기 위한 음성 명령일 수 있다.The first electronic device 101 may receive a user's speech through a microphone. For example, the user utterance received by the first electronic device 101 may be a voice command for controlling the second electronic device 102.

제1 전자 장치(101)는 사용자 발화를 수신함에 응답하여, 사용자 발화를 포함하는 대화를 식별하기 위한 대화 ID(conversation ID) 및 사용자 발화의 요청을 식별하기 위한 요청 ID(request ID)를 발급할 수 있다. 제1 전자 장치(101)는 제1 전자 장치(101)가 연결된 네트워크를 식별하기 위한 네트워크 정보(예: SSID(service set identifier))를 식별할 수 있다.In response to receiving the user utterance, the first electronic device 101 issues a conversation ID for identifying the conversation including the user utterance and a request ID for identifying the request for the user utterance. You can. The first electronic device 101 may identify network information (eg, service set identifier (SSID)) to identify the network to which the first electronic device 101 is connected.

제1 전자 장치(101)는 사용자 발화를 처리하기 위한 서버의 서버 주소를 식별할 수 있다. 예를 들어, 제1 전자 장치(101)는 서버 주소가 식별되는 경우 식별된 서버 주소에 기반하여 서버에 접속할 수 있다. 제1 전자 장치(101)는 식별된 서버 주소에 기반하여 사용자 발화 및 기기 정보를 서버로 송신할 수 있다. 예를 들어, 기기 정보는 대화 ID, 요청 ID, 및 SSID를 포함할 수 있으나, 이에 한정되는 것은 아니다.The first electronic device 101 can identify the server address of the server for processing the user's utterance. For example, when the server address is identified, the first electronic device 101 may access the server based on the identified server address. The first electronic device 101 may transmit user speech and device information to the server based on the identified server address. For example, device information may include, but is not limited to, conversation ID, request ID, and SSID.

예를 들어, 제1 전자 장치(101)는 서버 주소가 식별되지 않거나, 식별된 서버 주소가 만료된 경우 전처리 서버(front-end server)를 통해 서버를 할당 받을 수 있다. 전처리 서버는 각 서버(예: 제1 서버(110), 또는 제2 서버(120))의 로드(load)를 고려하여 제1 전자 장치(101)에 서버를 할당할 수 있다. 예를 들어, 제1 전자 장치(101)는 서버 주소가 식별되지 않거나, 식별된 서버 주소가 만료된 경우 전처리 서버로 사용자 발화 및 기기 정보를 송신할 수 있다. 전처리 서버는 로드 밸런싱(load balancing)을 통해 결정된 서버로 제1 전자 장치(101)로부터 수신된 사용자 발화 및 기기 정보를 송신할 수 있다. 예를 들어, 전처리 서버는 제1 서버(110)로 제1 전자 장치(101)로부터 수신된 사용자 발화 및 제1 전자 장치(101)의 기기 정보를 송신할 수 있다.For example, if the server address is not identified or the identified server address has expired, the first electronic device 101 may be assigned a server through a front-end server. The preprocessing server may allocate servers to the first electronic device 101 in consideration of the load of each server (eg, the first server 110 or the second server 120). For example, the first electronic device 101 may transmit user speech and device information to the preprocessing server when the server address is not identified or the identified server address has expired. The preprocessing server may transmit the user speech and device information received from the first electronic device 101 to the server determined through load balancing. For example, the preprocessing server may transmit the user utterance received from the first electronic device 101 and the device information of the first electronic device 101 to the first server 110.

제1 서버(110)는 전처리 서버로부터 수신된 사용자 발화 및 기기 정보에 기반하여 대화를 생성할 수 있다. 제1 서버(110)는 제1 전자 장치(101)의 기기 정보에 포함된 대화 ID와 동일한 대화 ID를 갖는 대화가 존재하는지 판단할 수 있다. 예를 들어, 동일한 대화 ID의 대화가 존재하지 않는 경우, 제1 서버(110)는 제1 전자 장치(101)의 기기 정보에 포함된 SSID와 동일한 SSID를 갖는 대화가 존재하는지 판단할 수 있다. 예를 들어, 동일한 대화 ID의 대화가 존재하지 않고, 동일한 SSID의 대화가 존재하지 않는 경우, 제1 서버(110)는 제1 전자 장치(101)의 기기 정보를 포함하는 대화를 생성할 수 있다.The first server 110 may generate a conversation based on the user utterance and device information received from the preprocessing server. The first server 110 may determine whether a conversation with the same conversation ID as the conversation ID included in the device information of the first electronic device 101 exists. For example, if a conversation with the same conversation ID does not exist, the first server 110 may determine whether a conversation with the same SSID as the SSID included in the device information of the first electronic device 101 exists. For example, if a conversation with the same conversation ID does not exist and a conversation with the same SSID does not exist, the first server 110 may create a conversation including device information of the first electronic device 101. .

제1 서버(110)는 수신된 사용자 발화가 다른 전자 장치(예: 제2 전자 장치(102))를 제어하는 명령인 경우, 제1 전자 장치(101)의 사용자 정보와 동일한 사용자 정보로 등록된 적어도 하나의 전자 장치로 제1 서버(110)의 서버 주소를 송신(또는, 전파)할 수 있다. 예를 들어, 제1 전자 장치(101)의 사용자 정보는 제1 전자 장치(101)의 기기 정보에 포함될 수 있다.If the received user utterance is a command to control another electronic device (e.g., the second electronic device 102), the first server 110 registers the same user information as the user information of the first electronic device 101. The server address of the first server 110 may be transmitted (or propagated) to at least one electronic device. For example, user information of the first electronic device 101 may be included in device information of the first electronic device 101.

예를 들어, 제1 전자 장치(101), 제2 전자 장치(102), 및 제3 전자 장치(103)는 동일한 사용자 정보로 제1 서버(110)에 등록될 수 있다. 예를 들어, 제1 서버(110)는 제1 전자 장치(101), 제2 전자 장치(102), 및 제3 전자 장치(103)로 제1 서버(110)의 서버 주소를 송신할 수 있다.For example, the first electronic device 101, the second electronic device 102, and the third electronic device 103 may be registered in the first server 110 with the same user information. For example, the first server 110 may transmit the server address of the first server 110 to the first electronic device 101, the second electronic device 102, and the third electronic device 103. .

제3 전자 장치(103)는 마이크를 통해 사용자 발화를 수신할 수 있다. 예를 들어, 제3 전자 장치(103)에 수신된 사용자 발화는 제2 전자 장치(102)를 이어서 제어하기 위한 음성 명령일 수 있다. 예를 들어, 제3 전자 장치(103)에 수신된 사용자 발화는 제1 전자 장치(101)에 수신된 사용자 발화에 연속되는 발화일 수 있다.The third electronic device 103 may receive user speech through a microphone. For example, the user's utterance received by the third electronic device 103 may be a voice command for subsequently controlling the second electronic device 102. For example, the user utterance received by the third electronic device 103 may be a continuous utterance of the user utterance received by the first electronic device 101.

제3 전자 장치(103)는 사용자 발화를 수신함에 응답하여, 사용자 발화를 포함하는 대화를 식별하기 위한 대화 ID 및 사용자 발화의 요청을 식별하기 위한 요청 ID를 발급할 수 있다. 제3 전자 장치(103)는 제3 전자 장치(103)가 연결된 네트워크를 식별하기 위한 네트워크 정보(예: SSID)를 식별할 수 있다.In response to receiving the user utterance, the third electronic device 103 may issue a conversation ID for identifying the conversation including the user utterance and a request ID for identifying the request for the user utterance. The third electronic device 103 may identify network information (eg, SSID) to identify the network to which the third electronic device 103 is connected.

제3 전자 장치(103)는 사용자 발화를 처리하기 위한 서버의 서버 주소를 식별할 수 있다. 예를 들어, 제3 전자 장치(103)는 제1 서버(110)로부터 수신된 서버 주소를 식별할 수 있다. 제3 전자 장치(103)는 식별된 제1 서버(110)의 서버 주소에 기반하여 사용자 발화 및 기기 정보를 제1 서버(110)로 송신할 수 있다. 예를 들어, 기기 정보는 대화 ID, 요청 ID, 및 SSID를 포함할 수 있으나, 이에 한정되는 것은 아니다.The third electronic device 103 can identify the server address of the server for processing the user's utterance. For example, the third electronic device 103 may identify the server address received from the first server 110. The third electronic device 103 may transmit user speech and device information to the first server 110 based on the identified server address of the first server 110. For example, device information may include, but is not limited to, conversation ID, request ID, and SSID.

제1 서버(110)는 제3 전자 장치(103)로부터 수신된 사용자 발화 및 기기 정보에 기반하여 대화를 생성할 수 있다. 제1 서버(110)는 제3 전자 장치(103)의 기기 정보에 포함된 대화 ID와 동일한 대화 ID를 갖는 대화가 존재하는지 판단할 수 있다. 예를 들어, 제1 서버(110)는 제3 전자 장치(103)의 기기 정보에 포함된 대화 ID와 제1 전자 장치(101)에 의해 기 생성된 대화의 대화 ID(예: 제1 전자 장치(101)의 기기 정보에 포함된 대화 ID)가 일치하는지 비교할 수 있다. 예를 들어, 제1 전자 장치(101)의 기기 정보에 포함된 대화 ID와 제3 전자 장치(103)의 기기 정보에 포함된 대화 ID는 다를 수 있다.The first server 110 may create a conversation based on the user speech and device information received from the third electronic device 103. The first server 110 may determine whether a conversation with the same conversation ID as the conversation ID included in the device information of the third electronic device 103 exists. For example, the first server 110 may use the conversation ID included in the device information of the third electronic device 103 and the conversation ID of the conversation previously created by the first electronic device 101 (e.g., You can compare whether the conversation ID included in the device information of (101) matches. For example, the conversation ID included in the device information of the first electronic device 101 and the conversation ID included in the device information of the third electronic device 103 may be different.

동일한 대화 ID의 대화가 존재하지 않는 경우, 제1 서버(110)는 제3 전자 장치(103)의 기기 정보에 포함된 SSID와 동일한 SSID를 갖는 대화가 존재하는지 판단할 수 있다. 예를 들어, 제1 서버(110)는 제3 전자 장치(103)의 기기 정보에 포함된 SSID와 제1 전자 장치(101)에 의해 기 생성된 대화의 SSID(예: 제1 전자 장치(101)의 기기 정보에 포함된 SSID)가 일치하는지 비교할 수 있다. 예를 들어, 제1 전자 장치(101)의 기기 정보에 포함된 SSID와 제3 전자 장치(103)의 기기 정보에 포함된 SSID는 같을 수 있다. 예를 들어, 제1 전자 장치(101)와 제3 전자 장치(103)가 동일한 와이파이(Wi-Fi)에 연결되어 있는 경우, 두 기기의 SSID가 동일할 수 있다. 예를 들어, 동일한 대화 ID의 대화가 존재하지 않고, 동일한 SSID의 대화가 존재하는 경우, 제1 서버(110)는 제3 전자 장치(103)의 기기 정보에 포함된 대화 ID를 동일한 SSID의 대화에 병합할 수 있다. 이에 따라, 제1 서버(110)는 제3 전자 장치(103)의 대화 ID에 대응하는 사용자 발화를 제1 전자 장치(101)의 대화 ID에 대응하는 사용자 발화에 연속된 발화임을 인식하고 연속 발화로서 처리할 수 있다.If a conversation with the same conversation ID does not exist, the first server 110 may determine whether a conversation with the same SSID as the SSID included in the device information of the third electronic device 103 exists. For example, the first server 110 may use the SSID included in the device information of the third electronic device 103 and the SSID of a conversation previously created by the first electronic device 101 (e.g., You can compare whether the SSID) included in the device information matches. For example, the SSID included in the device information of the first electronic device 101 and the SSID included in the device information of the third electronic device 103 may be the same. For example, when the first electronic device 101 and the third electronic device 103 are connected to the same Wi-Fi, the SSID of the two devices may be the same. For example, if a conversation with the same conversation ID does not exist and a conversation with the same SSID exists, the first server 110 selects the conversation ID included in the device information of the third electronic device 103 as the conversation with the same SSID. can be merged into Accordingly, the first server 110 recognizes that the user utterance corresponding to the conversation ID of the third electronic device 103 is a continuous utterance to the user utterance corresponding to the conversation ID of the first electronic device 101, and continues the conversation. It can be processed as .

도 2는 일 예시에 따른 전자 장치의 기기 정보를 나타낸 도면(200)이다. 후술하는 전자 장치는, 예를 들어, 도 1의 제1 전자 장치(101), 제2 전자 장치(102), 또는 제3 전자 장치(103)일 수 있다.FIG. 2 is a diagram 200 showing device information of an electronic device according to an example. The electronic device described later may be, for example, the first electronic device 101, the second electronic device 102, or the third electronic device 103 of FIG. 1.

도 2를 참조하면, 기기 정보(210)는 사용자 ID(user ID)(211), SSID(212), 서버 주소(server address)(213), 대화 ID(214), 요청 ID(215), 컨텍스트(context)(216), 및 타임 매니저(time manager)(217)를 포함할 수 있으나, 이에 한정되는 것은 아니다. 전자 장치는 기기 정보(210)를 사용자 발화를 처리하기 위한 서버(예: 도 1의 제1 서버(110), 또는 제2 서버(120))로 송신할 수 있다. 서버는 기기 정보를 이용하여 대화를 관리할 수 있다.Referring to FIG. 2, device information 210 includes user ID 211, SSID 212, server address 213, conversation ID 214, request ID 215, and context. (context) 216, and time manager 217, but is not limited thereto. The electronic device may transmit the device information 210 to a server (eg, the first server 110 or the second server 120 in FIG. 1) for processing the user's speech. The server can manage the conversation using device information.

사용자 ID(211)는 전자 장치에 등록된 사용자 정보일 수 있다. 사용자 ID(211)는 전자 장치의 사용자를 식별하기 위한 정보일 수 있다. 예를 들어, 서버는 사용자 ID(211)에 기반하여 동일한 사용자 정보로 등록된 적어도 하나의 전자 장치를 식별할 수 있다.User ID 211 may be user information registered in the electronic device. The user ID 211 may be information for identifying the user of the electronic device. For example, the server may identify at least one electronic device registered with the same user information based on the user ID 211.

SSID(212)는 전자 장치가 연결된(또는, 속한) 네트워크를 식별하기 위한 정보일 수 있다. 예를 들어, 서버는 SSID(212)에 기반하여 전자 장치와 동일한 네트워크에 연결되어 있는 다른 전자 장치를 식별할 수 있다.The SSID 212 may be information for identifying the network to which the electronic device is connected (or to which it belongs). For example, the server may identify other electronic devices connected to the same network as the electronic device based on the SSID 212.

서버 주소(213)는 전자 장치에서 특정 서버에 접속할 수 있도록 타겟이 되는 서버의 주소 정보일 수 있다. 예를 들어, 전자 장치에서 서버 주소(213)의 값이 존재하고 유효한 경우, 전자 장치는 서버 주소(213)에 기반하여 서버에 접속할 수 있다. 예를 들어, 전자 장치에 서버 주소(213)의 값이 존재하지 않거나 존재하더라도 만료된 경우, 전자 장치는 전처리 서버에 서버와의 연결을 요청할 수 있다. 전처리 서버는 각 서버의 부하를 비교하여 적합한 서버로 전자 장치를 연결시킬 수 있다. 예를 들어, 전처리 서버는 각 서버의 부하를 비교하여 부하가 가장 적은 서버로 전자 장치를 연결시킬 수 있다.The server address 213 may be address information of a target server so that an electronic device can access a specific server. For example, if the value of the server address 213 exists and is valid in the electronic device, the electronic device can access the server based on the server address 213. For example, if the value of the server address 213 does not exist in the electronic device or does exist but has expired, the electronic device may request a preprocessing server to connect to the server. The preprocessing server can compare the load of each server and connect the electronic device to the appropriate server. For example, the preprocessing server can compare the load of each server and connect the electronic device to the server with the lowest load.

예를 들어, 서버 주소(213)는 발급된 이후, 정책에 따라, 지정된 조건(예: 시간 및/또는 횟수)에 기반하여 만료 처리될 수 있다. 예를 들어, 대화가 유지되는 경우, 서버 주소의 유효 시간(또는, 유지 시간)이 대화의 유효 시간과 함께 갱신되어 서버 주소도 유지될 수 있다.For example, after the server address 213 is issued, it may be expired according to a policy and based on specified conditions (e.g., time and/or number of times). For example, when a conversation is maintained, the validity time (or maintenance time) of the server address is updated along with the validity time of the conversation, so that the server address is also maintained.

대화 ID(214)는 동일한 대화임을 식별하기 위한 정보일 수 있다. 예를 들어, 대화는 연속되는 복수의 발화를 포함할 수 있다. 대화 ID(214)는, 예를 들어, 전자 장치에서 발급될 수 있으나, 이에 한정되는 것은 아니며 서버에서 발급될 수도 있다.The conversation ID 214 may be information for identifying the same conversation. For example, a conversation may include multiple consecutive utterances. The conversation ID 214 may be issued, for example, by an electronic device, but is not limited thereto and may be issued by a server.

요청 ID(215)는 동일한 대화 내의 복수의 발화 각각을 구별하기 위한 정보일 수 있다. 요청 ID(215)는, 예를 들어, 전자 장치에서 발급될 수 있으나, 이에 한정되는 것은 아니며 서버에서 발급될 수도 있다.The request ID 215 may be information for distinguishing multiple utterances within the same conversation. The request ID 215 may be issued, for example, from an electronic device, but is not limited thereto and may be issued from a server.

컨텍스트(216)는 전자 장치의 상태와 관련된 정보를 포함할 수 있다. 예를 들어, 컨텍스트(216)는 전자 장치의 현재 화면, 또는 전자 장치의 동작 중인 상태에 대한 정보를 포함할 수 있다. 예를 들어, 전자 장치가 영상을 재생 중인 경우, 재생 파일 정보 또는 재생 상태 정보(예: 몇 분까지 재생 되었는지에 대한 정보)가 컨텍스트(216)에 포함될 수 있다. 예를 들어, 컨텍스트(216)는 전자 장치가 지정된 기능(예: 화면 출력 및/또는 터치 입력)을 지원하는지 여부에 대한 정보를 포함할 수 있다. 컨텍스트(216)는 어떤 정보를 포함할지 정의된 대로 사용될 수 있다. 서버는 사용자 발화를 처리하는데 컨텍스트(216)를 이용할 수 있다. 예를 들어, 서버는 사용자 발화에 대한 자연어 이해(natural language understanding)를 수행함에 있어서 사용자 발화를 수신한 기기의 컨텍스트(216) 정보를 참조할 수 있다.Context 216 may include information related to the state of the electronic device. For example, the context 216 may include information about the current screen of the electronic device or the operating state of the electronic device. For example, when the electronic device is playing a video, playback file information or playback status information (e.g., information about how many minutes it has been played) may be included in the context 216. For example, context 216 may include information about whether the electronic device supports a specified function (eg, screen output and/or touch input). Context 216 can be used as defined to include what information. The server may use context 216 to process user utterances. For example, when performing natural language understanding of a user's utterance, the server may refer to the context 216 information of the device that received the user's utterance.

타임 매니저(217)는 기기 정보(210)의 적어도 일부의 유효 시간(valid time)(또는, 유지 시간)을 관리하기 위한 정보일 수 있다. 타임 매니저(217)는 기기 정보(210)의 적어도 일부의 유효 시간 정보를 포함할 수 있다. 예를 들어, 타임 매니저(217)는 대화 ID(214)의 유효 시간 정보 및/또는 서버 주소(213)의 유효 시간 정보를 포함할 수 있다. 유효 시간 정보는 해당 정보가 유효한 남은 시간을 나타낼 수 있다. 예를 들어, 전자 장치는 대화 ID(214)의 유효 시간을 갱신하는 이벤트(예: 유효 시간 만료 전 사용자 입력 수신)가 발생하거나 서버로부터 대화 ID(214)의 유효 시간을 갱신하는 이벤트를 수신하는 경우, 대화 ID(214)의 유효 시간을 갱신(또는, 재설정)할 수 있다. 서버는 대화 ID(214)의 유효 시간을 갱신하는 이벤트가 발생하거나, 전자 장치로부터 대화 ID(214)의 유효 시간을 갱신하는 이벤트를 수신하는 경우, 대화 ID(214)의 유효 시간을 갱신(또는, 재설정)할 수 있다.The time manager 217 may be information for managing the valid time (or maintenance time) of at least part of the device information 210. The time manager 217 may include valid time information of at least part of the device information 210. For example, the time manager 217 may include valid time information of the conversation ID 214 and/or valid time information of the server address 213. Validity time information may indicate the remaining time for which the information is valid. For example, the electronic device generates an event that updates the validity time of the conversation ID 214 (e.g., receiving a user input before the validity time expires) or receives an event that updates the validity time of the conversation ID 214 from the server. In this case, the effective time of the conversation ID 214 can be updated (or reset). When an event that updates the validity time of the conversation ID 214 occurs or an event that updates the validity time of the conversation ID 214 is received from an electronic device, the server updates the validity time of the conversation ID 214 (or , reset) can be done.

도 3은 일 예시에 따른 전자 장치의 서버 연결 동작을 설명하기 위한 도면(300)이다. 후술하는 전자 장치는, 예를 들어, 도 1의 제1 전자 장치(101), 제2 전자 장치(102), 또는 제3 전자 장치(103)일 수 있다.FIG. 3 is a diagram 300 for explaining a server connection operation of an electronic device according to an example. The electronic device described later may be, for example, the first electronic device 101, the second electronic device 102, or the third electronic device 103 of FIG. 1.

도 3을 참조하면, 전자 장치는 전처리 서버를 통해 서버에 연결될 수 있다. 예를 들어, 서버는 접속 부하의 관리(또는, 분배)를 위해 복수의 서버(예: 제1 서버(110), 제2 서버(120), 및 제3 서버(130))로 분리되어 운영될 수 있다. 전처리 서버는 각 서버의 연결을 관리할 수 있다. 예를 들어, 전처리 서버는 복수의 전처리 서버(예: 제1 전처리 서버(310), 제2 전처리 서버(320), 및 제3 전처리 서버(330))를 포함할 수 있다. 각 전처리 서버는 전자 장치의 서버로의 연결 요청에 응답하여, 각 서버의 부하를 판단하는 로드 밸런싱을 수행하고, 로드 밸런싱을 통해 각 서버의 상황에 기반하여 전자 장치를 서버에 연결할 수 있다.Referring to FIG. 3, an electronic device may be connected to a server through a preprocessing server. For example, the server may be operated separately into a plurality of servers (e.g., the first server 110, the second server 120, and the third server 130) to manage (or distribute) the connection load. You can. The preprocessing server can manage the connections of each server. For example, the preprocessing server may include a plurality of preprocessing servers (eg, the first preprocessing server 310, the second preprocessing server 320, and the third preprocessing server 330). Each preprocessing server responds to a connection request from an electronic device to a server, performs load balancing to determine the load of each server, and can connect the electronic device to the server based on the situation of each server through load balancing.

예를 들어, 전자 장치는 서버로부터 수신된 서버 주소가 없거나, 수신된 서버 주소가 만료된 경우, 제1 전처리 서버(310)로 사용자 발화 및 기기 정보를 송신할 수 있다. 예를 들어, 제1 전처리 서버(310)는 각 서버의 부하를 고려하여 전자 장치로부터 수신된 사용자 발화를 처리하는 서버로서 제1 서버(110)를 선택할 수 있다. 예를 들어, 제1 서버(110)는 복수의 서버 중 부하가 가장 작은 서버일 수 있다. 제1 전처리 서버(310)는 선택된 제1 서버(110)로 전자 장치로부터 수신된 사용자 발화 및 기기 정보를 송신할 수 있다.For example, if there is no server address received from the server or the received server address has expired, the electronic device may transmit user speech and device information to the first preprocessing server 310. For example, the first preprocessing server 310 may select the first server 110 as the server that processes the user utterance received from the electronic device in consideration of the load of each server. For example, the first server 110 may be a server with the lowest load among a plurality of servers. The first preprocessing server 310 may transmit the user speech and device information received from the electronic device to the selected first server 110.

예를 들어, 제1 서버(110)는 제1 전처리 서버(310)로부터 수신된 사용자 발화 및 기기 정보에 기반하여 사용자 발화를 처리할 수 있다. 예를 들어, 제1 서버(110)는 NLU(natural language understanding) 모듈(111) 및 대화 매니저(112)를 포함할 수 있다. NLU 모듈(111)은 수신된 사용자 발화에 대한 자연어 이해 처리를 수행할 수 있다. 예를 들어, NLU 모듈(111)은 사용자 발화에 대응하는 동작을 수행할 기기 정보 및 수행될 동작에 대한 동작 정보를 획득할 수 있다. 대화 매니저 모듈(112)은 적어도 하나의 사용자 발화를 포함하는 대화를 관리할 수 있다. 예를 들어, 대화 매니저 모듈(112)은 제1 전처리 서버(310)로부터 수신된 사용자 발화 및 기기 정보에 기반하여 신규 대화를 생성하거나, 기존 대화를 변경할 수 있다. 예를 들어, 기존 대화의 변경은, 전자 장치의 기기 정보와 대화 ID가 일치하는 대화에 사용자 발화 및 기기 정보를 추가하거나, 전자 장치의 기기 정보와 대화 ID가 불일치하나 SSID가 일치하는 대화에 전자 장치의 기기 정보에 포함된 대화 ID를 병합하는 것을 포함할 수 있다.For example, the first server 110 may process the user speech based on the user speech and device information received from the first preprocessing server 310. For example, the first server 110 may include a natural language understanding (NLU) module 111 and a conversation manager 112. The NLU module 111 may perform natural language understanding processing on the received user utterance. For example, the NLU module 111 may obtain device information to perform an operation corresponding to a user utterance and operation information about the operation to be performed. The conversation manager module 112 may manage a conversation including at least one user utterance. For example, the conversation manager module 112 may create a new conversation or change an existing conversation based on the user utterance and device information received from the first preprocessing server 310. For example, changing an existing conversation can be done by adding user utterances and device information to a conversation where the device information and conversation ID of the electronic device match, or by adding the user utterance and device information to a conversation where the device information and conversation ID of the electronic device do not match but the SSID matches. This may include merging conversation IDs included in device information of the device.

예를 들어, 대화 매니저 모듈(112)에 의해 병합된 복수의 대화 ID에 대응하는 각 사용자 발화에 대한 NLU 모듈(111)의 NLU 처리 결과는 각 사용자 발화에 대한 NLU 처리에 상호 참조(또는, 이용)될 수 있다. 이에 따라, 제1 서버(110)는 서로 다른 전자 장치를 통해 수신된 연속된 사용자 발화를 처리할 수 있다.For example, the NLU processing result of the NLU module 111 for each user utterance corresponding to a plurality of conversation IDs merged by the conversation manager module 112 is cross-referenced (or used) in the NLU processing for each user utterance. ) can be. Accordingly, the first server 110 can process continuous user utterances received through different electronic devices.

예를 들어, 복수의 전자 장치는 서로 다른 서버에 연결되어, 서로 다른 서버를 통해 사용자 발화를 처리할 수 있다. 예를 들어, 동일한 전자 장치라도 이전에 수신된 사용자 발화를 처리한 서버와 다른 서버를 통해 사용자 발화를 처리할 수 있다.For example, a plurality of electronic devices may be connected to different servers and process user utterances through different servers. For example, even the same electronic device may process a user utterance through a server that is different from the server that processed the previously received user utterance.

도 4는 일 예시에 따른 대화 매니저가 관리하는 정보의 구조를 나타낸 도면(400)이다.FIG. 4 is a diagram 400 showing the structure of information managed by a conversation manager according to an example.

도 4를 참조하면, 대화 매니저(112)는 복수의 대화를 관리할 수 있다. 예를 들어, 각 대화는 사용자 ID(410), SSID(420), 요청 ID(430), 대화 ID(440), 및 타임 매니저(450)를 포함할 수 있으나, 이에 한정되는 것은 아니다.Referring to FIG. 4, the conversation manager 112 can manage multiple conversations. For example, each conversation may include, but is not limited to, a user ID 410, SSID 420, request ID 430, conversation ID 440, and time manager 450.

예를 들어, 대화 매니저(112)는 사용자 발화와 함께 수신된 기기 정보에 포함된 대화 ID와 일치하는 대화 ID(440)를 갖는 대화가 존재하는 경우, 해당 대화에 사용자 발화 및 기기 정보를 전달하여 해당 대화 내에서 사용자 발화가 처리되도록 할 수 있다. 예를 들어, 대화 매니저(112)는 수신된 기기 정보에 포함된 대화 ID와 일치하는 대화 ID(440)를 갖는 대화에 기기 정보에 포함된 요청 ID를 추가할 수 있다. 예를 들어, 대화 매니저(112)는 요청 ID(430)에 기기 정보에 포함된 요청 ID를 추가할 수 있다.For example, if there is a conversation with a conversation ID 440 that matches the conversation ID included in the device information received along with the user utterance, the conversation manager 112 transfers the user utterance and device information to the conversation. User utterances can be processed within the conversation. For example, the conversation manager 112 may add the request ID included in the device information to a conversation having the conversation ID 440 that matches the conversation ID included in the received device information. For example, the conversation manager 112 may add the request ID included in the device information to the request ID 430.

예를 들어, 대화 매니저(112)는 사용자 발화와 함께 수신된 기기 정보에 포함된 대화 ID와 일치하는 대화 ID(440)를 갖는 대화가 존재하지 않는 경우, 기기 정보에 포함된 SSID와 일치하는 SSID(420)를 갖는 대화가 존재하는지 판단할 수 있다. 예를 들어, 대화 매니저(112)는 기기 정보에 포함된 SSID와 일치하는 SSID(420)를 갖는 대화가 존재하는 경우, 해당 대화에 사용자 발화 및 기기 정보를 전달하여 해당 대화 내에서 사용자 발화가 처리되도록 할 수 있다. 예를 들어, 대화 매니저(112)는 수신된 기기 정보에 포함된 SSID와 일치하는 SSID(420)를 갖는 대화에 기기 정보에 포함된 대화 ID를 병합할 수 있다. 예를 들어, 대화 매니저(112)는 대화에 기 포함된 대화 ID와 수신된 기기 정보에 의해 추가된 대화 ID를 병합할 수 있다. 이에 따라, 대화 매니저(112)는 동일 네트워크에 연결되나 서로 다른 대화 ID를 갖는 서로 다른 전자 장치로부터 수신된 연속된 사용자 발화들을 처리할 수 있다.For example, if there is no conversation with the conversation ID 440 that matches the conversation ID included in the device information received along with the user's utterance, the conversation manager 112 sets the SSID matching the SSID included in the device information. It can be determined whether a conversation with (420) exists. For example, if there is a conversation with the SSID 420 that matches the SSID included in the device information, the conversation manager 112 transfers the user utterance and device information to the conversation and processes the user utterance within the conversation. It can be done as much as possible. For example, the conversation manager 112 may merge the conversation ID included in the device information into a conversation having an SSID 420 that matches the SSID included in the received device information. For example, the conversation manager 112 may merge the conversation ID already included in the conversation with the conversation ID added by the received device information. Accordingly, the conversation manager 112 can process consecutive user utterances received from different electronic devices connected to the same network but having different conversation IDs.

예를 들어, 대화 매니저(112)는 기기 정보에 포함된 SSID와 일치하는 SSID(420)를 갖는 대화가 존재하지 않는 경우, 신규 대화를 생성할 수 있다. 예를 들어, 대화 매니저(112)는 기기 정보에 포함된 사용자 ID, SSID, 요청 ID, 대화 ID, 및 타임 매니저를 포함하는 대화를 생성할 수 있다. 예를 들어, 대화 매니저(112)는 대화를 생성하고, 생성된 대화에 수신된 사용자 발화 및 기기 정보를 전달하여 해당 대화 내에서 사용자 발화가 처리되도록 할 수 있다.For example, the conversation manager 112 may create a new conversation if there is no conversation with the SSID 420 matching the SSID included in the device information. For example, the conversation manager 112 may create a conversation including a user ID, SSID, request ID, conversation ID, and time manager included in device information. For example, the conversation manager 112 may create a conversation, transfer the received user utterance and device information to the created conversation, and allow the user utterance to be processed within the conversation.

도 5는 일 예시에 따른 서버의 대화 관리 방법을 설명하기 위한 도면(500)이다. 후술하는 서버의 동작들은 서버의 대화 매니저(예: 도 4의 대화 매니저(112))에 의해 수행될 수 있다.FIG. 5 is a diagram 500 for explaining a server conversation management method according to an example. Server operations described later may be performed by the server's conversation manager (eg, conversation manager 112 in FIG. 4).

도 5를 참조하면, 서버는 스피커를 통해 수신된 사용자 발화 및 스피커의 기기 정보를 수신할 수 있다. 스피커의 기기 정보는, 예를 들어, 스피커가 사용자 발화를 수신한 시점에 대응하는 기기 정보일 수 있다. 스피커의 기기 정보는, 예를 들어, 대화 ID, 요청 ID 및 SSID를 포함할 수 있다. 스피커의 기기 정보에 포함된 대화 ID는 "A"일 수 있다. 스피커의 기기 정보에 포함된 SSID는 "ABC"일 수 있다. 스피커의 기기 정보에 포함된 요청 ID는 스피커를 통해 수신된 사용자 발화에 포함된 요청에 대응될 수 있다.Referring to FIG. 5, the server can receive the user's utterance received through the speaker and the speaker's device information. For example, the speaker's device information may be device information corresponding to the point in time when the speaker receives a user's speech. The speaker's device information may include, for example, conversation ID, request ID, and SSID. The conversation ID included in the speaker's device information may be "A". The SSID included in the speaker's device information may be "ABC". The request ID included in the device information of the speaker may correspond to the request included in the user utterance received through the speaker.

서버는 스피커의 기기 정보에 포함된 대화 ID("A")와 동일한 대화 ID를 갖는 대화가 존재하는지 판단할 수 있다. 예를 들어, 대화 ID가 "A"인 대화가 존재하지 않는 경우, 서버는 스피커의 기기 정보에 포함된 SSID("ABC")와 동일한 SSID를 갖는 대화가 존재하는지 판단할 수 있다. 예를 들어, 대화 ID가 "A"인 대화가 존재하지 않고, SSID가 "ABC"인 대화가 존재하지 않는 경우, 서버는 제1 대화(501)를 생성할 수 있다. 제1 대화(501)는, 예를 들어, 스피커의 기기 정보를 포함할 수 있다. 제1 대화(501)는, 예를 들어, SSID(521), 대화 ID(541), 및 요청 ID(531)를 포함할 수 있다. SSID(521)는 스피커의 기기 정보에 포함된 SSID인 "ABC"일 수 있다. 대화 ID(541)는 스피커의 기기 정보에 포함된 대화 ID인 "A"일 수 있다. 요청 ID(531)는 스피커의 기기 정보에 포함된 요청 ID일 수 있다. 요청 ID(531)는 복수의 요청 ID를 포함할 수 있다. 예를 들어, 스피커가 대화 ID "A"가 유효한 동안 복수의 사용자 발화를 수신하는 경우, 제1 대화(501)의 요청 ID(531)는 복수의 요청 ID를 포함할 수 있다.The server can determine whether a conversation exists with the same conversation ID ("A") included in the speaker's device information. For example, if there is no conversation with conversation ID "A", the server can determine whether there is a conversation with the same SSID ("ABC") included in the speaker's device information. For example, if a conversation with the conversation ID “A” does not exist and a conversation with the SSID “ABC” does not exist, the server may create the first conversation 501. The first conversation 501 may include, for example, speaker device information. The first conversation 501 may include, for example, an SSID 521, a conversation ID 541, and a request ID 531. SSID 521 may be “ABC,” which is an SSID included in the device information of the speaker. The conversation ID 541 may be “A,” which is a conversation ID included in the device information of the speaker. The request ID 531 may be a request ID included in the speaker device information. Request ID 531 may include multiple request IDs. For example, if the speaker receives multiple user utterances while conversation ID “A” is valid, the request ID 531 of the first conversation 501 may include multiple request IDs.

서버는 냉장고를 통해 수신된 사용자 발화 및 냉장고의 기기 정보를 수신할 수 있다. 냉장고의 기기 정보는, 예를 들어, 냉장고가 사용자 발화를 수신한 시점에 대응하는 기기 정보일 수 있다. 냉장고의 기기 정보는, 예를 들어, 대화 ID, 요청 ID 및 SSID를 포함할 수 있다. 냉장고의 기기 정보에 포함된 대화 ID는 "B"일 수 있다. 냉장고의 기기 정보에 포함된 SSID는 "ABC"일 수 있다. 예를 들어, 냉장고와 스피커는 동일한 네트워크에 연결되어 있어 SSID가 동일할 수 있다. 냉장고의 기기 정보에 포함된 요청 ID는 냉장고를 통해 수신된 사용자 발화에 포함된 요청에 대응될 수 있다.The server can receive user utterances received through the refrigerator and device information about the refrigerator. For example, the device information of the refrigerator may be device information corresponding to the point in time when the refrigerator receives the user's utterance. The refrigerator's device information may include, for example, a conversation ID, request ID, and SSID. The conversation ID included in the refrigerator's device information may be "B". The SSID included in the device information of the refrigerator may be “ABC”. For example, a refrigerator and a speaker may be connected to the same network and therefore have the same SSID. The request ID included in the device information of the refrigerator may correspond to the request included in the user utterance received through the refrigerator.

서버는 냉장고의 기기 정보에 포함된 대화 ID("B")와 동일한 대화 ID를 갖는 대화가 존재하는지 판단할 수 있다. 예를 들어, 대화 ID가 "B"인 대화가 존재하지 않는 경우, 서버는 냉장고의 기기 정보에 포함된 SSID("ABC")와 동일한 SSID를 갖는 대화가 존재하는지 판단할 수 있다. 예를 들어, 대화 ID가 "B"인 대화가 존재하지 않으나, SSID가 "ABC"인 대화(제1 대화(501))가 존재하는 경우, 서버는 제1 대화(501)에 냉장고의 기기 정보에 포함된 대화 ID("B")를 병합할 수 있다. 예를 들어, 서버는 제1 대화(501)에 기 포함된 대화 ID "A"와 새롭게 수신된 기기 정보에 포함된 대화 ID "B"를 병합할 수 있다. 서버는 제1 대화(501)에 냉장고의 기기 정보를 추가할 수 있다. 제1 대화(501)는, 예를 들어, 대화 ID(543), 및 요청 ID(533)를 더 포함할 수 있다. 대화 ID(543)는 냉장고의 기기 정보에 포함된 대화 ID인 "B"일 수 있다. 요청 ID(533)는 냉장고의 기기 정보에 포함된 요청 ID일 수 있다. 요청 ID(533)는 복수의 요청 ID를 포함할 수 있다. 예를 들어, 냉장고가 대화 ID "B"가 유효한 동안 복수의 사용자 발화를 수신하는 경우, 제1 대화(501)의 요청 ID(533)는 복수의 요청 ID를 포함할 수 있다.The server can determine whether a conversation exists with the same conversation ID as the conversation ID (“B”) included in the device information of the refrigerator. For example, if there is no conversation with the conversation ID "B", the server can determine whether a conversation with the same SSID ("ABC") included in the device information of the refrigerator exists. For example, if a conversation with the conversation ID "B" does not exist, but a conversation with the SSID "ABC" (the first conversation 501) exists, the server provides the refrigerator device information in the first conversation 501. You can merge conversation IDs ("B") included in . For example, the server may merge the conversation ID “A” already included in the first conversation 501 with the conversation ID “B” included in the newly received device information. The server may add the refrigerator device information to the first conversation 501. The first conversation 501 may further include, for example, a conversation ID 543 and a request ID 533. The conversation ID 543 may be “B,” which is a conversation ID included in the device information of the refrigerator. The request ID 533 may be a request ID included in the device information of the refrigerator. Request ID 533 may include multiple request IDs. For example, when the refrigerator receives multiple user utterances while conversation ID “B” is valid, the request ID 533 of the first conversation 501 may include multiple request IDs.

서버는 대화 ID "A"와 대화 ID "B"를 병합함으로써, 스피커를 통해 수신되는 사용자 발화를 처리한 결과를 냉장고를 통해 수신되는 사용자 발화를 처리하는데 이용할 수 있다. 예를 들어, 사용자 발화를 처리한 결과는, 사용자 발화에 대한 자연어 이해 처리 결과를 포함할 수 있다. 서버는 대화 ID "A"와 대화 ID "B"의 병합에 기반하여, 냉장고를 통해 수신되는 사용자 발화를 처리한 결과를 스피커를 통해 수신되는 추가 사용자 발화를 처리하는데 이용할 수 있다.By merging conversation ID "A" and conversation ID "B", the server can use the result of processing the user utterance received through the speaker to process the user utterance received through the refrigerator. For example, the result of processing the user's utterance may include the result of processing the natural language understanding of the user's utterance. The server may use the result of processing the user utterance received through the refrigerator to process additional user utterances received through the speaker based on the merging of the conversation ID "A" and the conversation ID "B".

서버는 대화 ID에 대응하는 사용자 발화에 대한 처리 결과에 따라 동작을 수행할 기기에 대화 ID와 함께 동작을 수행하기 위한 정보를 전달(예: 송신)할 수 있다. 예를 들어, 복수의 대화 ID가 병합된 경우, 서버는 동작을 수행할 기기에 복수의 대화 ID 각각을 그대로 전달하지 않고 하나의 통합된 대화 ID를 전달할 수 있다. 예를 들어, 대화 ID "A"와 대화 ID "B"가 병합된 경우, 서버는 대화 ID "A" 또는 대화 ID "B"에 대응하는 사용자 발화에 대한 처리 결과에 따라 동작을 수행할 기기에, 대화 ID "A" 또는 대화 ID "B"가 아닌 대화 ID "F"를 전달할 수 있다.The server may deliver (e.g., transmit) information for performing the action along with the conversation ID to the device that will perform the action according to the result of processing the user utterance corresponding to the conversation ID. For example, when multiple conversation IDs are merged, the server can deliver one integrated conversation ID to the device that will perform the operation rather than transmitting each of the plurality of conversation IDs as is. For example, if conversation ID "A" and conversation ID "B" are merged, the server will instruct the device to perform an action according to the results of processing the user utterance corresponding to conversation ID "A" or conversation ID "B". , you can pass conversation ID "F" rather than conversation ID "A" or conversation ID "B".

예를 들어, 서버는 스피커 또는 냉장고와는 다른 제3 의 전자 장치를 통해 수신된 사용자 발화 및 제3 의 전자 장치의 기기 정보를 수신할 수 있다. 제3 의 전자 장치의 기기 정보에 포함된 대화 ID는 "C"일 수 있다. 제3 의 전자 장치의 기기 정보에 포함된 SSID는 "FGH"일 수 있다.For example, the server may receive user utterances received through a third electronic device other than a speaker or refrigerator and device information of the third electronic device. The conversation ID included in the device information of the third electronic device may be “C”. The SSID included in the device information of the third electronic device may be “FGH”.

서버는 제3 의 전자 장치의 기기 정보에 포함된 대화 ID("C")와 동일한 대화 ID를 갖는 대화가 존재하는지 판단할 수 있다. 예를 들어, 대화 ID가 "C"인 대화가 존재하지 않는 경우, 서버는 제3 의 전자 장치의 기기 정보에 포함된 SSID("FGH")와 동일한 SSID를 갖는 대화가 존재하는지 판단할 수 있다. 예를 들어, 대화 ID가 "C"인 대화가 존재하지 않고, SSID가 "FGH"인 대화도 존재하지 않는 경우, 서버는 제2 대화(502)를 생성할 수 있다. 제2 대화(502)는, 예를 들어, 제3 의 전자 장치의 기기 정보를 포함할 수 있다. 제2 대화(502)는, 예를 들어, SSID(522), 대화 ID(542), 및 요청 ID(532)를 포함할 수 있다. SSID(522)는 제3 의 전자 장치의 기기 정보에 포함된 SSID인 "FGH"일 수 있다. 대화 ID(542)는 제3 의 전자 장치의 기기 정보에 포함된 대화 ID인 "C"일 수 있다. 요청 ID(532)는 제3 의 전자 장치의 기기 정보에 포함된 요청 ID일 수 있다. 요청 ID(532)는 복수의 요청 ID를 포함할 수 있다. 예를 들어, 제3 의 전자 장치가 대화 ID "C"가 유효한 동안 복수의 사용자 발화를 수신하는 경우, 제2 대화(502)의 요청 ID(532)는 복수의 요청 ID를 포함할 수 있다.The server may determine whether a conversation with the same conversation ID (“C”) included in the device information of the third electronic device exists. For example, if a conversation with the conversation ID "C" does not exist, the server can determine whether a conversation with the same SSID ("FGH") included in the device information of the third electronic device exists. . For example, if a conversation with a conversation ID of "C" does not exist and a conversation with an SSID of "FGH" does not exist, the server may create a second conversation 502. The second conversation 502 may include, for example, device information of a third electronic device. Second conversation 502 may include, for example, SSID 522, conversation ID 542, and request ID 532. SSID 522 may be “FGH,” which is an SSID included in device information of a third electronic device. The conversation ID 542 may be “C,” which is a conversation ID included in the device information of a third electronic device. The request ID 532 may be a request ID included in device information of a third electronic device. Request ID 532 may include multiple request IDs. For example, when the third electronic device receives multiple user utterances while conversation ID “C” is valid, the request ID 532 of the second conversation 502 may include a plurality of request IDs.

도 6 내지 도 8을 참조하여 후술하는 서버의 동작은, 대화 내에서 수신된 사용자 발화를 처리하기 위한 자연어 이해 처리 동작에 관한 것이다. 도 6 내지 도 8을 참조하여 후술하는 예시는, 동일한 대화 내에 복수의 대화 ID가 존재하는 경우, 서버가 사용자 발화에 대한 자연어 이해 처리를 수행하는 방법의 일 예시이다.The operation of the server, which will be described later with reference to FIGS. 6 to 8, relates to natural language understanding processing for processing user utterances received within a conversation. An example described later with reference to FIGS. 6 to 8 is an example of a method in which a server performs natural language understanding processing on a user's utterance when multiple conversation IDs exist in the same conversation.

도 6은 일 예시에 따른 서버의 자연어 이해 처리 방법을 설명하기 위한 도면(600)이다.Figure 6 is a diagram 600 for explaining a natural language understanding processing method of a server according to an example.

동작 601에서, 서버는 사용자 발화를 수신할 수 있다. 서버는 사용자 발화를 전자 장치로부터 직접 또는 전처리 서버를 통해 수신할 수 있다. 서버는 사용자 발화를 사용자 발화를 수신한 전자 장치의 기기 정보와 함께 수신할 수 있다. 예를 들어, 서버는 서버에서 관리되는 대화 중에, 수신된 기기 정보와 대화 ID가 일치하지는 않으나, SSID가 일치하는 대화가 존재함에 응답하여, 수신된 기기 정보에 포함된 대화 ID를 대화 내에 병합하고, 해당 대화 내에서 사용자 발화를 처리할 수 있다.At operation 601, the server may receive a user utterance. The server may receive user utterances directly from the electronic device or through a preprocessing server. The server may receive the user's utterance along with device information of the electronic device that received the user's utterance. For example, during a conversation managed by the server, the server responds to the existence of a conversation whose conversation ID does not match the received device information but whose SSID matches, and merges the conversation ID included in the received device information into the conversation. , user utterances can be processed within the conversation.

동작 603에서, 서버는 대화가 유효한지 여부를 판단할 수 있다. 서버는, 예를 들어, 수신된 사용자 발화가 포함되게 된 대화의 유지 시간이 남아있는지 여부, 또는 상기 대화에 대응하는 대화 ID의 유효 시간이 남아 있는지 여부에 기반하여 대화가 유효한지 여부를 판단할 수 있다. 서버는 대화의 유지 시간 또는 대화 ID의 유효 시간이 남아 있는 경우, 대화가 유효한 것으로 판단할 수 있다. 서버는 대화의 유지 시간 또는 대화 ID의 유효 시간이 만료된 경우, 대화가 유효하지 않은 것으로 판단할 수 있다. 서버는 대화가 유효한 경우, 동작 605를 수행할 수 있다. 서버는 대화가 유효하지 않은 경우, 동작 607을 수행할 수 있다.At operation 603, the server may determine whether the conversation is valid. The server may determine whether a conversation is valid based, for example, on whether the retention time of the conversation in which the received user utterance came to be included remains, or whether the validity time of the conversation ID corresponding to the conversation remains. You can. The server may determine that the conversation is valid if the conversation maintenance time or the validity time of the conversation ID remains. The server may determine that the conversation is invalid when the conversation maintenance time or the validity time of the conversation ID has expired. The server may perform operation 605 if the conversation is valid. The server may perform operation 607 if the conversation is not valid.

동작 605에서, 서버는 직전에 동작을 수행한 기기의 기기 유형의 자연어 이해 모델을 이용하여 사용자 발화에 대한 자연어 이해 처리를 수행할 수 있다. 직전에 동작을 수행한 기기는, 예를 들어, 현재 수신된 사용자 발화 이전에 수신된 사용자 발화에 대응하는 동작을 수행한 기기일 수 있다. 예를 들어, 대화가 유지되고 있는 동안 사용자 발화가 수신되는 경우, 수신된 사용자 발화는 이전 사용자 발화에 연속되는 발화일 수 있다. 예를 들어, 연속되는 발화는 이전 사용자 발화에 의해 제어된 기기와 동일한 기기를 제어하는 명령일 수 있다. 예를 들어, 연속되는 발화는 이전 사용자 발화에 의해 동작을 수행한 기기와 동일한 기기가 다음 동작을 수행하도록 하는 명령일 수 있다. 이에 따라, 서버는 대화가 유지되고 있는 동안 수신된 사용자 발화에 대하여, 직전에 동작을 수행한 기기의 기기 유형의 자연어 이해 모델을 이용하여 자연어 이해 처리를 수행함으로써, 상기 수신된 사용자 발화에 대응하는 동작을 수행하기 위한 정보를 획득할 수 있다.In operation 605, the server may perform natural language understanding processing on the user's utterance using a natural language understanding model of the device type of the device that performed the operation immediately before. For example, the device that performed the operation immediately before may be a device that performed the operation corresponding to the user utterance received before the currently received user utterance. For example, when a user utterance is received while a conversation is being maintained, the received user utterance may be a continuation of the previous user utterance. For example, successive utterances may be commands that control the same device as the device controlled by the previous user utterance. For example, a continuous utterance may be a command that causes the same device as the device that performed the action by the previous user utterance to perform the next operation. Accordingly, the server performs natural language understanding processing on user utterances received while a conversation is maintained using the natural language understanding model of the device type of the device that performed the operation immediately before, thereby providing information corresponding to the received user utterances. Information to perform an action can be obtained.

동작 607에서, 서버는 사용자 발화를 수신한 기기의 기기 유형의 자연어 이해 모델을 이용하여 사용자 발화에 대한 자연어 이해 처리를 수행할 수 있다. 예를 들어, 대화가 만료된 이후에 사용자 발화가 수신되는 경우, 수신된 사용자 발화는 이전 사용자 발화와 관련 없는 발화일 수 있다. 예를 들어, 이전 사용자 발화와 관련 없는 발화는 사용자 발화를 수신한 기기를 제어하는 명령일 수 있다. 이에 따라, 서버는 대화가 만료된 이후에 수신된 사용자 발화에 대하여, 사용자 발화를 수신한 기기의 기기 유형의 자연어 이해 모델을 이용하여 자연어 이해 처리를 수행함으로써, 상기 수신된 사용자 발화에 대응하는 동작을 수행하기 위한 정보를 획득할 수 있다.In operation 607, the server may perform natural language understanding processing on the user utterance using a natural language understanding model of the device type of the device that received the user utterance. For example, if a user utterance is received after a conversation has expired, the received user utterance may be unrelated to the previous user utterance. For example, an utterance unrelated to a previous user utterance may be a command to control the device that received the user utterance. Accordingly, the server performs natural language understanding processing on user utterances received after the conversation expires using the natural language understanding model of the device type of the device that received the user utterances, thereby performing operations corresponding to the received user utterances. You can obtain information to carry out.

도 7은 일 예시에 따른 서버의 자연어 이해 처리 방법을 설명하기 위한 도면(700)이다.Figure 7 is a diagram 700 for explaining a natural language understanding processing method of a server according to an example.

동작 701에서, 서버는 사용자 발화를 수신할 수 있다. 서버는 사용자 발화를 전자 장치로부터 직접 또는 전처리 서버를 통해 수신할 수 있다. 서버는 사용자 발화를 사용자 발화를 수신한 전자 장치의 기기 정보와 함께 수신할 수 있다. 예를 들어, 서버는 서버에서 관리되는 대화 중에, 수신된 기기 정보와 대화 ID가 일치하지는 않으나, SSID가 일치하는 대화가 존재함에 응답하여, 수신된 기기 정보에 포함된 대화 ID를 대화 내에 병합하고, 해당 대화 내에서 사용자 발화를 처리할 수 있다.At operation 701, the server may receive a user utterance. The server may receive user utterances directly from the electronic device or through a preprocessing server. The server may receive the user's utterance along with device information of the electronic device that received the user's utterance. For example, during a conversation managed by the server, the server responds to the existence of a conversation whose conversation ID does not match the received device information but whose SSID matches, and merges the conversation ID included in the received device information into the conversation. , user utterances can be processed within the conversation.

동작 703에서, 서버는 대화가 유효한지 여부를 판단할 수 있다. 서버는, 예를 들어, 수신된 사용자 발화가 포함되게 된 대화의 유지 시간이 남아있는지 여부, 또는 상기 대화에 대응하는 대화 ID의 유효 시간이 남아 있는지 여부에 기반하여 대화가 유효한지 여부를 판단할 수 있다. 서버는 대화의 유지 시간 또는 대화 ID의 유효 시간이 남아 있는 경우, 대화가 유효한 것으로 판단할 수 있다. 서버는 대화의 유지 시간 또는 대화 ID의 유효 시간이 만료된 경우, 대화가 유효하지 않은 것으로 판단할 수 있다. 서버는 대화가 유효한 경우, 동작 705를 수행할 수 있다. 서버는 대화가 유효하지 않은 경우, 동작 707을 수행할 수 있다.At operation 703, the server may determine whether the conversation is valid. The server may determine whether a conversation is valid based, for example, on whether the retention time of the conversation in which the received user utterance came to be included remains, or whether the validity time of the conversation ID corresponding to the conversation remains. You can. The server may determine that the conversation is valid if the conversation maintenance time or the validity time of the conversation ID remains. The server may determine that the conversation is invalid when the conversation maintenance time or the validity time of the conversation ID has expired. The server may perform operation 705 if the conversation is valid. The server may perform operation 707 if the conversation is not valid.

동작 705에서, 서버는 대화 ID 별 동작을 수행한 기기의 기기 유형의 자연어 이해 모델 및 발화를 수신한 기기의 기기 유형의 자연어 이해 모델을 이용하여 사용자 발화에 대한 자연어 이해 처리를 수행할 수 있다. 대화 ID 별 동작을 수행한 기기는, 예를 들어, 현재 수신된 사용자 발화 이전에 수신된 각 대화 ID에 대응하는 사용자 발화에 대응하는 동작을 수행한 기기일 수 있다. 예를 들어, TV를 통해 "냉장고에 미역국 레시피 보여줘"라는 사용자 발화가 수신되어 서버가 냉장고를 제어한 경우, 냉장고를 제어한 제1 대화 ID가 존재할 수 있다. 스피커를 통해 "TV에서 영화 검색해줘"라는 사용자 발화가 수신되어 서버가 TV를 제어한 경우, TV를 제어한 제2 대화 ID가 존재할 수 있다. 추가로, 스피커를 통해 "세 번째 거 틀어줘"라는 사용자 발화가 수신된 경우, 서버는 제1 대화 ID에 대응하는 사용자 발화에 의해 제어된 냉장고, 제2 대화 ID에 대응하는 사용자 발화에 의해 제어된 TV, 및 추가 사용자 발화를 수신한 스피커 각각의 자연어 이해 모델(예: TV Classifier, Fridge Classifier, 또는 Speaker Classifier)을 이용하여, "세 번째 거 틀어줘"라는 추가 사용자 발화에 대한 자연어 이해 처리를 수행할 수 있다. 예를 들어, TV 유형의 자연어 이해 모델은 영화를 검색하는 이전 자연어 이해 처리 결과(예: last_capsule 및 last_goal)를 포함할 수 있다. 예를 들어, 냉장고 유형의 자연어 이해 모델은 미역국 레시피를 검색하는 이전 자연어 이해 처리 결과(예: last_capsule 및 last_goal)를 포함할 수 있다. 예를 들어, 스피커 유형의 자연어 이해 모델에는 이전 자연어 이해 처리 결과가 존재하지 않을 수 있다. 예를 들어, 서버는 이전 자연어 이해 처리 결과를 이용하여 추가 사용자 발화에 대한 자연어 이해 처리를 수행할 수 있다. 예를 들어, 이전 자연어 이해 처리 결과는 자연어 이해 모델의 일부 피처(feature)일 수 있다.In operation 705, the server may perform natural language understanding processing on the user utterance using a natural language understanding model of the device type of the device that performed the operation for each conversation ID and a natural language understanding model of the device type of the device that received the utterance. The device that performed the operation for each conversation ID may be, for example, a device that performed the operation corresponding to the user utterance corresponding to each conversation ID received before the currently received user utterance. For example, when a user's utterance, "Show me the seaweed soup recipe in the refrigerator," is received through the TV and the server controls the refrigerator, there may be a first conversation ID that controlled the refrigerator. When a user's utterance, “Search for a movie on TV” is received through a speaker and the server controls the TV, there may be a second conversation ID that controls the TV. Additionally, when the user utterance “Play the third one” is received through the speaker, the server controls the refrigerator controlled by the user utterance corresponding to the first conversation ID, and the user utterance corresponding to the second conversation ID. Using the natural language understanding model (e.g., TV Classifier, Fridge Classifier, or Speaker Classifier) of each TV and speaker that received the additional user utterance, natural language understanding processing of the additional user utterance, “Play the third one,” was performed. It can be done. For example, a TV-type natural language understanding model might include previous natural language understanding processing results for retrieving movies (e.g., last_capsule and last_goal). For example, a refrigerator-type natural language understanding model may include previous natural language understanding processing results (e.g., last_capsule and last_goal) that retrieve a seaweed soup recipe. For example, a speaker-type natural language understanding model may not have previous natural language understanding processing results. For example, the server may perform natural language understanding processing on additional user utterances using previous natural language understanding processing results. For example, the results of previous natural language understanding processing may be some features of a natural language understanding model.

동작 707에서, 서버는 사용자 발화를 수신한 기기의 기기 유형의 자연어 이해 모델을 이용하여 사용자 발화에 대한 자연어 이해 처리를 수행할 수 있다. 상술한 예시에 따르면, 서버는 추가 사용자 발화를 수신한 스피커 유형의 자연어 이해 모델을 이용하여, "세 번째 거 틀어줘"라는 추가 사용자 발화에 대한 자연어 이해 처리를 수행할 수 있다. "세 번째 거 틀어줘"라는 사용자 발화에 대하여, 스피커 유형의 자연어 이해 모델의 처리 결과는, 미처리 또는 리젝트(reject)일 수 있다.In operation 707, the server may perform natural language understanding processing on the user utterance using a natural language understanding model of the device type of the device that received the user utterance. According to the above example, the server may perform natural language understanding processing for the additional user utterance, “Play the third one,” using a natural language understanding model of the speaker type that received the additional user utterance. For the user's utterance, “Play the third one,” the processing result of the speaker-type natural language understanding model may be unprocessed or rejected.

동작 709에서, 서버는 동작 705에서 수행된 각 자연어 이해 처리 결과를 비교한 후 동작을 수행할 기기를 선택할 수 있다. 상술한 예시에 따르면, "세 번째 거 틀어줘"라는 사용자 발화에 대하여, 냉장고 유형의 자연어 이해 모델과 스피커 유형의 자연어 이해 모델의 처리 결과는, 미처리 또는 리젝트(reject)일 수 있다. "세 번째 거 틀어줘"라는 사용자 발화에 대하여, TV 유형의 자연어 이해 모델의 처리 결과는, 이전에 TV에서 검색된 복수의 영화 중 세 번째 영화를 재생하는 동작을 수행하기 위한 정보일 수 있다. 서버는 TV를 동작을 수행할 기기로 선택할 수 있다.In operation 709, the server compares the results of each natural language understanding processing performed in operation 705 and then selects a device to perform the operation. According to the above example, for the user's utterance, “Play the third one,” the processing result of the refrigerator-type natural language understanding model and the speaker-type natural language understanding model may be unprocessed or rejected. Regarding the user's utterance, “Play the third one,” the processing result of the TV-type natural language understanding model may be information for performing the operation of playing the third movie among a plurality of movies previously searched on the TV. The server can select the TV as the device to perform the operation.

도 8은 일 예시에 따른 서버의 자연어 이해 처리 방법을 설명하기 위한 도면(800)이다.Figure 8 is a diagram 800 for explaining a natural language understanding processing method of a server according to an example.

동작 801에서, 서버는 사용자 발화를 수신할 수 있다. 서버는 사용자 발화를 전자 장치로부터 직접 또는 전처리 서버를 통해 수신할 수 있다. 서버는 사용자 발화를 사용자 발화를 수신한 전자 장치의 기기 정보와 함께 수신할 수 있다. 예를 들어, 서버는 서버에서 관리되는 대화 중에, 수신된 기기 정보와 대화 ID가 일치하지는 않으나, SSID가 일치하는 대화가 존재함에 응답하여, 수신된 기기 정보에 포함된 대화 ID를 대화 내에 병합하고, 해당 대화 내에서 사용자 발화를 처리할 수 있다.At operation 801, the server may receive a user utterance. The server may receive user utterances directly from the electronic device or through a preprocessing server. The server may receive the user's utterance along with device information of the electronic device that received the user's utterance. For example, during a conversation managed by the server, the server responds to the existence of a conversation whose conversation ID does not match the received device information but whose SSID matches, and merges the conversation ID included in the received device information into the conversation. , user utterances can be processed within the conversation.

동작 803에서, 서버는 통합된 자연어 이해 모델을 이용하여 사용자 발화에 대한 자연어 이해 처리를 수행할 수 있다. 통합된 자연어 이해 모델은, 도 7에 도시된 바와 같이 기기 유형 별로 자연어 이해 모델이 분리되어 있는 것과는 달리, 기기 유형과 상관없이 하나의 자연어 이해 모델로 이루어질 수 있다. 통합된 자연어 이해 모델을 이용한 자연어 이해 처리 결과는, 동작을 수행할 기기 정보와 수행할 동작에 대한 동작 정보를 포함할 수 있다. 예를 들어, 통합된 자연어 이해 처리 모델은 대화 ID 별 이전 자연어 이해 처리 결과(예: last_device, last_capsule, 및 last_goal)를 포함할 수 있다. 예를 들어, 서버는 대화 ID 별 이전 자연어 이해 처리 결과를 이용하여 추가 사용자 발화에 대한 자연어 이해 처리를 수행할 수 있다. 예를 들어, 대화 ID 별 이전 자연어 이해 처리 결과는 통합된 자연어 이해 모델의 일부 피처(feature)일 수 있다.In operation 803, the server may perform natural language understanding processing on the user utterance using the integrated natural language understanding model. The integrated natural language understanding model may consist of one natural language understanding model regardless of the device type, unlike the natural language understanding model that is separated for each device type as shown in FIG. 7. The result of natural language understanding processing using an integrated natural language understanding model may include information about the device to perform the operation and operation information about the operation to be performed. For example, the integrated natural language understanding processing model may include previous natural language understanding processing results for each conversation ID (e.g., last_device, last_capsule, and last_goal). For example, the server can perform natural language understanding processing on additional user utterances using previous natural language understanding processing results for each conversation ID. For example, previous natural language understanding processing results for each conversation ID may be some features of an integrated natural language understanding model.

예를 들어, TV를 통해 "냉장고에 미역국 레시피 보여줘"라는 사용자 발화가 수신되어 서버가 냉장고를 제어하고, 스피커를 통해 "TV에서 영화 검색해줘"라는 사용자 발화가 수신되어 서버가 TV를 제어한 이후, 스피커를 통해 "세 번째 거 틀어줘"라는 사용자 발화가 수신될 수 있다. 이 경우, 서버는 "세 번째 거 틀어줘"라는 사용자 발화에 대하여 통합된 자연어 이해 모델을 이용하여 자연어 이해 처리를 수행함으로써, 동작을 수행할 기기 정보로서 'TV'를 획득할 수 있고, 수행할 동작에 대한 동작 정보로서 '이전에 TV에서 검색된 복수의 영화 중 세 번째 영화를 재생하는 동작'을 획득할 수 있다.For example, a user's utterance, "Show me the seaweed soup recipe in the refrigerator," is received through the TV, and the server controls the refrigerator. A user's utterance, "Search for a movie on the TV," is received through a speaker, and the server controls the TV. , A user's utterance, “Play the third one,” may be received through the speaker. In this case, the server can obtain 'TV' as device information to perform the action by performing natural language understanding processing using an integrated natural language understanding model for the user's utterance, "Play the third one," and perform the action. As operation information about the operation, 'the operation of playing the third movie among the plurality of movies previously searched on the TV' can be obtained.

도 9는 일 예시에 따른 시스템의 동작 흐름도(900)이다.Figure 9 is an operational flowchart 900 of a system according to one example.

일 예시에 따른 시스템은 전자 장치(901), 전처리 서버(902), 및 서버(903)를 포함할 수 있다.A system according to one example may include an electronic device 901, a preprocessing server 902, and a server 903.

동작 911에서, 전자 장치(901)는 마이크를 통해 사용자 발화를 수신할 수 있다. 전자 장치(901)는 사용자 발화를 수신함에 응답하여, 사용자 발화를 포함하는 대화를 식별하기 위한 대화 ID 및 사용자 발화의 요청을 식별하기 위한 ID를 발급할 수 있다. 전자 장치(901)는 전자 장치(901)가 통신 회로를 통해 연결된 네트워크를 식별하기 위한 SSID를 식별할 수 있다. 전자 장치(901)는 사용자 발화를 처리하기 위한 서버의 서버 주소를 식별할 수 있다.In operation 911, the electronic device 901 may receive a user's speech through a microphone. In response to receiving a user utterance, the electronic device 901 may issue a conversation ID for identifying a conversation including the user utterance and an ID for identifying a request for a user utterance. The electronic device 901 may identify an SSID to identify a network to which the electronic device 901 is connected through a communication circuit. The electronic device 901 can identify the server address of the server for processing the user's utterance.

동작 913에서, 전자 장치(901)는 사용자 발화 및 기기 정보를 전처리 서버(902)로 송신할 수 있다. 기기 정보는, 예를 들어, 전자 장치(901)가 사용자 발화를 수신한 시점에 대응하는 기기 정보일 수 있다. 기기 정보는, 예를 들어, 대화 ID, 요청 ID, SSID, 서버 주소, 및/또는 사용자 ID를 포함할 수 있다.In operation 913, the electronic device 901 may transmit user utterance and device information to the preprocessing server 902. The device information may be, for example, device information corresponding to the point in time when the electronic device 901 receives a user utterance. Device information may include, for example, conversation ID, request ID, SSID, server address, and/or user ID.

동작 915에서, 전처리 서버(902)는 서버 주소가 있는지 여부를 판단할 수 있다. 예를 들어, 전처리 서버(902)는 전자 장치(901)로부터 수신된 기기 정보에 서버 주소가 포함되어 있는지 여부에 기반하여 서버 주소가 있는지 여부를 판단할 수 있다. 전처리 서버(902)는 기기 정보에 서버 주소가 포함되어 있는 경우 서버 주소가 있는 것으로 판단할 수 있다. 전처리 서버(902)는 기기 정보에 서버 주소가 포함되어 있지 않거나 서버 주소가 만료된 경우 서버 주소가 없는 것으로 판단할 수 있다. 전처리 서버(902)는 서버 주소가 있는 경우 동작 919를 수행할 수 있다. 전처리 서버(902)는 서버 주소가 없는 경우 동작 917을 수행한 이후 동작 919를 수행할 수 있다.At operation 915, the preprocessing server 902 may determine whether a server address exists. For example, the preprocessing server 902 may determine whether a server address exists based on whether the server address is included in the device information received from the electronic device 901. The preprocessing server 902 may determine that a server address exists if the device information includes a server address. The preprocessing server 902 may determine that there is no server address if the device information does not include a server address or the server address has expired. The preprocessing server 902 may perform operation 919 if there is a server address. If there is no server address, the preprocessing server 902 may perform operation 919 after performing operation 917.

동작 917에서, 전처리 서버(902)는 사용자 발화를 처리하기 위한 서버를 탐색할 수 있다. 전처리 서버(902)는 각 서버의 로드를 고려하여 사용자 발화를 처리하기 위한 서버를 결정할 수 있다. 예를 들어, 전처리 서버(902)는 복수의 서버 중 로드가 가장 작은 서버를 전자 장치(901)로부터 수신한 사용자 발화를 처리하기 위한 서버로 결정할 수 있다. 예를 들어, 전처리 서버(902)는 서버(903)를 전자 장치(901)로부터 수신한 사용자 발화를 처리하기 위한 서버로 결정할 수 있다.In operation 917, the preprocessing server 902 may search for a server to process the user utterance. The preprocessing server 902 may determine a server to process the user's utterance by considering the load of each server. For example, the preprocessing server 902 may determine the server with the smallest load among the plurality of servers as the server for processing the user utterance received from the electronic device 901. For example, the preprocessing server 902 may determine the server 903 as a server for processing the user utterance received from the electronic device 901.

동작 919에서, 전처리 서버(902)는 전자 장치(901)로부터 수신된 사용자 발화 및 기기 정보를 서버(903)로 송신할 수 있다.In operation 919, the preprocessing server 902 may transmit the user utterance and device information received from the electronic device 901 to the server 903.

상술한 예시에서는 전자 장치(901)가 전처리 서버(902)를 통해 서버(903)로 사용자 발화 및 기기 정보를 송신하는 경우를 예로 들었으나, 이에 한정되는 것은 아니다. 전자 장치(901)는 서버 주소가 식별되는 경우, 서버 주소에 기반하여 서버(903)로 직접 사용자 발화 및 기기 정보를 송신할 수도 있다.In the above example, the electronic device 901 transmits user speech and device information to the server 903 through the preprocessing server 902, but the case is not limited to this. When the server address is identified, the electronic device 901 may directly transmit user speech and device information to the server 903 based on the server address.

동작 921에서, 서버(903)는 대화 ID가 일치하는 대화가 존재하는지 여부를 판단할 수 있다. 서버(903)는 전자 장치(901) 또는 전처리 서버(902)로부터 수신된 기기 정보에 포함된 대화 ID와 동일한 대화 ID를 포함하는 대화가 존재하는지 여부를 판단할 수 있다. 서버(903)는 대화 ID가 일치하는 대화가 존재하는 경우, 동작 929를 수행할 수 있다. 서버(903)는 대화 ID가 일치하는 대화가 존재하지 않는 경우, 동작 923을 수행할 수 있다.In operation 921, the server 903 may determine whether a conversation with a matching conversation ID exists. The server 903 may determine whether a conversation including the same conversation ID as the conversation ID included in the device information received from the electronic device 901 or the preprocessing server 902 exists. The server 903 may perform operation 929 when a conversation with a matching conversation ID exists. The server 903 may perform operation 923 when there is no conversation with a matching conversation ID.

동작 923에서, 서버(903)는 SSID가 일치하는 대화가 존재하는지 여부를 판단할 수 있다. 서버(903)는 전자 장치(901) 또는 전처리 서버(902)로부터 수신된 기기 정보에 포함된 SSID와 동일한 SSID를 포함하는 대화가 존재하는지 여부를 판단할 수 있다. 서버(903)는 SSID가 일치하는 대화가 존재하는 경우, 동작 925를 수행할 수 있다. 서버(903)는 SSID가 일치하는 대화가 존재하지 않는 경우, 동작 927을 수행할 수 있다.At operation 923, the server 903 may determine whether a conversation with a matching SSID exists. The server 903 may determine whether a conversation including the same SSID as the SSID included in the device information received from the electronic device 901 or the preprocessing server 902 exists. The server 903 may perform operation 925 when a conversation with a matching SSID exists. The server 903 may perform operation 927 if there is no conversation with a matching SSID.

동작 925에서, 서버(903)는 동일한 SSID의 대화 내에 대화 ID를 병합할 수 있다. 서버(903)는 기기 정보에 포함된 SSID와 동일한 SSID를 포함하는 대화 내에 기기 정보에 포함된 대화 ID를 병합할 수 있다. 여기서, 기기 정보에 포함된 대화 ID는 대화 내에 포함된 대화 ID와 다를 수 있다. 예를 들어, 서버(903)는 대화 내에 기 포함된 대화 ID와 기기 정보에 포함된 대화 ID를 병합할 수 있다.At operation 925, server 903 may merge conversation IDs within conversations of the same SSID. The server 903 may merge the conversation ID included in the device information into a conversation that includes the same SSID as the SSID included in the device information. Here, the conversation ID included in the device information may be different from the conversation ID included in the conversation. For example, the server 903 may merge the conversation ID already included in the conversation with the conversation ID included in device information.

동작 927에서, 서버(903)는 신규 대화를 생성할 수 있다. 예를 들어, 서버(903)는 기기 정보를 포함하는 대화를 생성할 수 있다. 예를 들어, 서버(903)는 대화를 생성하고, 생성된 대화에 전자 장치(901) 또는 전처리 서버(902)로부터 수신된 사용자 발화 및 기기 정보를 전달하여, 생성된 대화 내에서 사용자 발화를 처리할 수 있다. 생성된 대화는 전자 장치(901) 또는 전처리 서버(902)로부터 수신된 기기 정보를 포함할 수 있다.At operation 927, server 903 may create a new conversation. For example, the server 903 may create a conversation that includes device information. For example, the server 903 creates a dialogue, transfers user speech and device information received from the electronic device 901 or the preprocessing server 902 to the generated dialogue, and processes the user speech within the generated dialogue. can do. The generated conversation may include device information received from the electronic device 901 or the preprocessing server 902.

동작 929에서, 서버(903)는 자연어 이해 처리를 수행할 수 있다, 예를 들어, 서버(903)가 동작 925를 수행한 이후 동작 929를 수행하는 경우에는 도 6, 도 7, 또는 도 8에 도시된 방법에 기반하여 자연어 이해 처리를 수행할 수 있다. 도 6 내지 도 8에 도시된 방법에 대한 설명은 중복되므로 생략한다.In operation 929, the server 903 may perform natural language understanding processing. For example, if the server 903 performs operation 929 after performing operation 925, the process shown in FIG. 6, 7, or 8 Natural language understanding processing can be performed based on the method shown. Descriptions of the methods shown in FIGS. 6 to 8 are omitted because they are redundant.

예를 들어, 서버(903)가 동작 921을 수행한 이후 곧바로 동작 929를 수행하는 경우에는 대화 ID가 1개일 수 있다. 예를 들어, 서버(903)는 대화 ID에 대응하는 이전 사용자 발화에 대응하는 동작을 수행한 기기의 기기 유형의 자연어 이해 모델을 이용하여 사용자 발화에 대한 자연어 이해 처리를 수행할 수 있다.For example, when the server 903 performs operation 929 immediately after performing operation 921, there may be one conversation ID. For example, the server 903 may perform natural language understanding processing on the user utterance using a natural language understanding model of the device type that performed the operation corresponding to the previous user utterance corresponding to the conversation ID.

예를 들어, 서버(903)가 동작 927을 수행한 이후 동작 929를 수행하는 경우에는, 서버(903)는 직전에 동작을 수행한 기기의 기기 유형의 자연어 이해 모델 또는 사용자 발화를 수신한 기기의 기기 유형의 자연어 이해 모델을 이용하여 사용자 발화에 대한 자연어 이해 처리를 수행할 수 있다. 직전에 동작을 수행한 기기는, 예를 들어, 현재 수신된 사용자 발화 이전에 수신된 사용자 발화에 대응하는 동작을 수행한 기기일 수 있다.For example, when the server 903 performs operation 929 after performing operation 927, the server 903 uses the natural language understanding model of the device type of the device that performed the operation immediately before or the device that received the user utterance. Natural language understanding processing of user utterances can be performed using a device-type natural language understanding model. For example, the device that performed the operation immediately before may be a device that performed the operation corresponding to the user utterance received before the currently received user utterance.

예를 들어, 동작 929에서 서버(903)는 통합된 자연어 이해 모델을 이용하여 사용자 발화에 대한 자연어 이해 처리를 수행할 수도 있다.For example, in operation 929, the server 903 may perform natural language understanding processing on the user's utterance using an integrated natural language understanding model.

동작 931에서, 서버(903)는 사용자 발화가 타 기기를 제어하는 명령인지 여부를 판단할 수 있다. 서버(903)는 사용자 발화가 사용자 발화를 수신한 전자 장치(901)가 아닌 다른 전자 장치를 제어하는 명령인 경우 동작 935를 수행할 수 있다. 서버(903)는 사용자 발화가 사용자 발화를 수신한 전자 장치(901)가 아닌 다른 전자 장치를 제어하는 명령인 경우 동작 933을 수행한 이후 동작 935를 수행할 수 있다.In operation 931, the server 903 may determine whether the user's utterance is a command to control another device. The server 903 may perform operation 935 when the user utterance is a command to control an electronic device other than the electronic device 901 that received the user utterance. If the user's utterance is a command to control an electronic device other than the electronic device 901 that received the user's utterance, the server 903 may perform operation 935 after performing operation 933.

동작 933에서, 서버(903)는 서버(903)의 서버 주소를 송신(또는, 전파)할 수 있다. 예를 들어, 서버(903)는 사용자 발화와 함께 수신된 기기 정보에 포함된 사용자 ID와 동일한 사용자 ID로 등록된 적어도 하나의 전자 장치로 서버(903)의 서버 주소를 송신(또는, 전파)할 수 있다. 예를 들어, 서버(903)는 사용자 발화와 함께 수신된 기기 정보에 포함된 사용자 ID와 동일한 사용자 ID로 등록된 적어도 하나의 전자 장치 중 상기 기기 정보에 포함된 SSID와 동일한 SSID를 갖는 적어도 하나의 전자 장치로 서버(903)의 서버 주소를 송신(또는, 전파)할 수 있다.In operation 933, server 903 may transmit (or propagate) the server address of server 903. For example, the server 903 may transmit (or propagate) the server address of the server 903 to at least one electronic device registered with the same user ID as the user ID included in the device information received along with the user's speech. You can. For example, the server 903 may select at least one electronic device that has the same SSID as the SSID included in the device information among at least one electronic device registered with the same user ID as the user ID included in the device information received along with the user's speech. The server address of the server 903 can be transmitted (or propagated) to the electronic device.

동작 935에서, 서버(903)는 대화 ID의 유효 시간을 갱신할 수 있다. 예를 들어, 서버(903)는 대화 내에 추가된 대화 ID의 유효 시간을 갱신(또는, 재설정)할 수 있다. 예를 들어, 서버(903)는 대화 내에서 전자 장치(전자 장치(901) 또는 다른 전자 장치)로 하여금 동작을 수행하도록 한 대화 ID의 유효 시간을 갱신할 수 있다. 예를 들어, 서버(903)는 대화 ID의 유효 시간을 초기화함으로써 대화 ID의 유효 시간을 갱신할 수 있다.At operation 935, the server 903 may update the validity time of the conversation ID. For example, the server 903 may update (or reset) the validity time of a conversation ID added in a conversation. For example, the server 903 may update the effective time of the conversation ID that causes the electronic device (electronic device 901 or another electronic device) to perform an action within the conversation. For example, the server 903 may update the validity time of the conversation ID by initializing the validity time of the conversation ID.

도 10은 일 예시에 따른 서버의 대화 폐기 동작을 나타낸 흐름도(1000)이다.Figure 10 is a flowchart 1000 showing a conversation discard operation of a server according to an example.

동작 1001에서, 서버는 대화의 유효 시간을 확인할 수 있다. 예를 들어, 서버는 지정된 주기에 따라 대화의 유효 시간을 확인할 수 있다. 본 개시에서, 대화의 유효 시간은 대화의 유지 시간 또는 대화 ID의 유효 시간으로 참조될 수 있다. 예를 들어, 서버는 도 2에 도시된 기기 정보(210)의 타임 매니저(217)에 기반하여 대화의 유효 시간을 확인할 수 있다. 예를 들어, 복수의 대화 ID가 존재하는 경우, 서버는 각 대화 ID의 유효 시간을 확인할 수 있다.In operation 1001, the server may check the validity time of the conversation. For example, the server can check the effective time of a conversation according to a specified cycle. In the present disclosure, the effective time of a conversation may be referred to as the maintenance time of a conversation or the effective time of a conversation ID. For example, the server may check the effective time of the conversation based on the time manager 217 of the device information 210 shown in FIG. 2. For example, if there are multiple conversation IDs, the server can check the validity time of each conversation ID.

동작 1003에서, 서버는 만료된 대화 ID가 있는지 판단할 수 있다. 예를 들어, 만료된 대화 ID가 없는 경우, 서버는 동작 1001부터 다시 수행할 수 있다. 예를 들어, 만료된 대화 ID가 있는 경우, 서버는 동작 1005를 수행할 수 있다.At operation 1003, the server may determine whether there is an expired conversation ID. For example, if there is no expired conversation ID, the server can perform operation 1001 again. For example, if there is an expired conversation ID, the server may perform operation 1005.

동작 1005에서, 서버는 만료된 대화 ID의 기기로 유효 시간 만료 이벤트를 전송할 수 있다. 만료된 대화 ID의 기기는, 만료된 것으로 식별되는 대화 ID에 대응하는 기기일 수 있다. 예를 들어, 만료된 대화 ID의 기기는, 만료된 것으로 식별되는 대화 ID를 발급한 기기일 수 있다. 예를 들어, 만료된 대화 ID가 복수 개인 경우, 서버는 복수의 기기로 유효 시간 만료 이벤트를 전송할 수 있다.In operation 1005, the server may transmit a validity time expiration event to the device of the expired conversation ID. A device with an expired conversation ID may be a device corresponding to a conversation ID that is identified as expired. For example, the device with the expired conversation ID may be the device that issued the conversation ID that is identified as expired. For example, if there are multiple expired conversation IDs, the server may transmit a validity time expiration event to multiple devices.

동작 1007에서, 서버는 모든 대화 ID가 만료되었는지 여부를 판단할 수 있다. 예를 들어, 서버는 서버에서 식별되는 모든 대화 ID가 만료되었는지 여부를 판단할 수 있다. 예를 들어, 서버는 서버에서 관리하는 적어도 하나의 대화에 포함된 모든 대화 ID가 만료되었는지 여부를 판단할 수 있다. 예를 들어, 모든 대화 ID가 만료되지 않은 경우, 서버는 동작 1001부터 다시 수행할 수 있다. 예를 들어, 모든 대화 ID가 만료된 경우, 서버는 동작 1009를 수행할 수 있다.At operation 1007, the server may determine whether all conversation IDs have expired. For example, the server may determine whether all conversation IDs identified by the server have expired. For example, the server may determine whether all conversation IDs included in at least one conversation managed by the server have expired. For example, if all conversation IDs have not expired, the server may perform operation 1001 again. For example, if all conversation IDs have expired, the server may perform operation 1009.

동작 1009에서, 서버는 서버 주소 만료 이벤트를 전송할 수 있다. 예를 들어, 서버는 서버와 연결된 적어도 하나의 전자 장치에 서버 주소가 만료되었음을 알리는 서버 주소 만료 이벤트를 전송할 수 있다. 예를 들어, 서버는 서버와 연결된 적어도 하나의 전자 장치 중 서버에서 관리하는 적어도 하나의 대화에 포함된 적어도 하나의 사용자 ID로 등록된 적어도 하나의 전자 장치로 서버 주소 만료 이벤트를 전송할 수 있다.At operation 1009, the server may transmit a server address expiration event. For example, the server may transmit a server address expiration event notifying that the server address has expired to at least one electronic device connected to the server. For example, the server may transmit a server address expiration event to at least one electronic device registered with at least one user ID included in at least one conversation managed by the server among at least one electronic device connected to the server.

동작 1011에서, 서버는 대화 내 정보를 삭제할 수 있다. 예를 들어, 서버는 대화 내 정보를 백업(back-up)한 이후 삭제할 수 있다. 예를 들어, 대화 내 정보는 사용자 발화, 기기 정보, 및/또는 이전 자연어 이해 처리 결과를 포함할 수 있다.At operation 1011, the server may delete information in the conversation. For example, the server can back up information in a conversation and then delete it. For example, information within a conversation may include user utterances, device information, and/or results of previous natural language understanding processing.

도 11은 일 예시에 따른 서버의 대화의 유효 시간 갱신 동작을 나타낸 흐름도(1100)이다.FIG. 11 is a flowchart 1100 showing an operation of updating the effective time of a server conversation according to an example.

동작 1101에서, 서버는 전자 장치로부터 대화의 유효 시간 갱신 이벤트를 수신할 수 있다. 예를 들어, 전자 장치는, 대화가 유지되는 동안 사용자 발화를 추가로 수신하는 경우 또는 사용자 발화 이외의 사용자 입력(예: 터치 입력)을 수신하는 경우, 대화의 유효 시간 갱신 이벤트를 서버로 송신할 수 있다.In operation 1101, the server may receive a conversation effective time update event from the electronic device. For example, if the electronic device receives additional user utterances while the conversation is maintained, or receives user input other than user utterances (e.g., touch input), the electronic device may transmit a conversation validity time update event to the server. You can.

동작 1103에서, 서버는 대화 ID가 존재하는지 여부를 판단할 수 있다. 서버는 수신된 유효 시간 갱신 이벤트와 관련된 대화 ID가 존재하는지 여부를 판단할 수 있다. 예를 들어, 수신된 유효 시간 갱신 이벤트와 관련된 대화 ID가 존재하지 않는 경우, 서버는 다음 유효 시간 갱신 이벤트를 수신할 때까지 대기할 수 있다. 예를 들어, 수신된 유효 시간 갱신 이벤트와 관련된 대화 ID가 존재하는 경우, 서버는 동작 1105를 수행할 수 있다.At operation 1103, the server may determine whether a conversation ID exists. The server may determine whether a conversation ID related to the received validity time update event exists. For example, if there is no conversation ID associated with a received validity time update event, the server may wait until receiving the next validity time update event. For example, if a conversation ID associated with a received validity time update event exists, the server may perform operation 1105.

동작 1105에서, 서버는 동작 1103에서 식별된 대화 ID에 대응하는 대화의 유효 시간을 재설정할 수 있다. 예를 들어, 서버는 동작 1103에서 식별된 대화 ID에 대응하는 대화 내에 포함된 대화의 유효 시간을 나타내는 정보를 변경할 수 있다. 예를 들어, 서버는 대화의 유효 시간을 초기화할 수 있다.In operation 1105, the server may reset the valid time of the conversation corresponding to the conversation ID identified in operation 1103. For example, the server may change information indicating the effective time of a conversation included in a conversation corresponding to the conversation ID identified in operation 1103. For example, the server may initialize the validity time of a conversation.

도 12는 일 예시에 따른 전자 장치의 대화 폐기 동작을 나타낸 흐름도(1200)이다.FIG. 12 is a flowchart 1200 showing a conversation discard operation of an electronic device according to an example.

동작 1201에서, 전자 장치는 대화의 유효 시간을 확인할 수 있다. 예를 들어, 전자 장치는 지정된 주기에 따라 대화의 유효 시간을 확인할 수 있다.In operation 1201, the electronic device may check the effective time of the conversation. For example, the electronic device can check the effective time of a conversation according to a specified cycle.

동작 1203에서, 전자 장치는 유효 시간이 만료되었는지 여부를 판단할 수 있다. 예를 들어, 유효 시간이 만료된 경우, 전자 장치는 동작 1205 및 동작 1207을 수행할 수 있다. 예를 들어, 유효 시간이 만료되지 않은 경우, 전자 장치는 동작 1201부터 다시 수행할 수 있다.In operation 1203, the electronic device may determine whether the validity time has expired. For example, when the validity time expires, the electronic device may perform operations 1205 and 1207. For example, if the validity time has not expired, the electronic device may perform operation 1201 again.

동작 1205에서, 전자 장치는 서버로 유효 시간 만료 이벤트를 전송할 수 있다. 동작 1207에서, 전자 장치는 유효 시간이 만료된 대화에 대응하는 대화 ID를 삭제할 수 있다.In operation 1205, the electronic device may transmit a validity time expiration event to the server. In operation 1207, the electronic device may delete the conversation ID corresponding to the conversation whose validity time has expired.

도 13은 일 예시에 따른 전자 장치의 대화의 유효 시간 갱신 동작을 나타낸 흐름도(1300)이다.FIG. 13 is a flowchart 1300 showing an operation for updating the effective time of a conversation of an electronic device according to an example.

동작 1301에서, 전자 장치는 대화의 유효 시간 갱신 이벤트를 감지할 수 있다. 예를 들어, 전자 장치는 사용자 입력을 수신함에 응답하여 대화의 유효 시간 갱신 이벤트가 발생하였음을 감지할 수 있다. 예를 들어, 사용자 입력은 발화 입력 또는 발화 입력 이외의 사용자 입력을 포함할 수 있다. 발화 입력 이외의 사용자 입력은, 예를 들어, 터치 입력을 포함할 수 있다.In operation 1301, the electronic device may detect a conversation effective time update event. For example, the electronic device may detect that a conversation effective time update event has occurred in response to receiving a user input. For example, user input may include speech input or user input other than speech input. User input other than speech input may include, for example, touch input.

동작 1303에서, 전자 장치는 대화 ID가 유효한지 여부를 판단할 수 있다. 예를 들어, 대화 ID가 유효한 경우, 전자 장치는 동작 1305 및 동작 1307을 수행할 수 있다. 예를 들어, 대화 ID가 유효하지 않은 경우 즉, 대화 ID가 만료된 경우, 전자 장치는 다음 유효 시간 갱신 이벤트를 수신할 때까지 대기할 수 있다.In operation 1303, the electronic device may determine whether the conversation ID is valid. For example, if the conversation ID is valid, the electronic device can perform operations 1305 and 1307. For example, if the conversation ID is invalid, that is, if the conversation ID has expired, the electronic device may wait until receiving the next validity time update event.

동작 1305에서, 전자 장치는 서버로 유효 시간 갱신 이벤트를 전송할 수 있다. 동작 1307에서, 전자 장치는 유효 시간을 갱신할 수 있다. 동작 1307에서, 전자 장치는 유지되고 있는 대화에 대응하는 대화 ID의 유효 시간을 갱신할 수 있다.In operation 1305, the electronic device may transmit a valid time update event to the server. In operation 1307, the electronic device may update the effective time. In operation 1307, the electronic device may update the validity time of the conversation ID corresponding to the conversation being maintained.

이하, 도 14a 내지 14d를 참조하여 동일 네트워크에 연결된 복수의 전자 장치들을 통해 수신되는 연속성 있는 발화들을 처리하는 일 예시의 시나리오에 대해 설명한다.Hereinafter, an example scenario of processing continuous utterances received through a plurality of electronic devices connected to the same network will be described with reference to FIGS. 14A to 14D.

도 14a 내지 도 14d는 일 예시에 따른 시스템의 동일 네트워크에 연결된 복수의 전자 장치들을 통해 수신되는 연속성 있는 발화들을 처리하는 시나리오를 나타낸 도면들(1400, 1402, 1404, 및 1406)이다.FIGS. 14A to 14D are diagrams 1400, 1402, 1404, and 1406 illustrating a scenario for processing continuous utterances received through a plurality of electronic devices connected to the same network of a system according to an example.

도 14a를 참조하면, 스피커(1401)는 사용자로부터 "TV에서 영화 X 찾아줘"라는 제1 사용자 발화를 수신할 수 있다. 스피커(1401)는 제1 사용자 발화를 수신함에 응답하여 대화 ID 및 요청 ID를 발급할 수 있다. 예를 들어, 스피커(1401)가 발급한 대화 ID는 'A'일 수 있다. 스피커(1401)는 사용자 발화를 처리하기 위한 서버의 서버 주소를 식별할 수 있다. 예를 들어, 스피커(1401)는 제1 서버(1410)의 서버 주소를 식별할 수 있다. 예를 들어, 스피커(1401)는 식별된 제1 서버(1410)의 서버 주소에 기반하여 제1 서버(1410)로 제1 사용자 발화와 대화 ID 및 요청 ID를 포함하는 기기 정보를 송신할 수 있다.Referring to FIG. 14A, the speaker 1401 may receive the first user's utterance, “Find movie X on TV” from the user. The speaker 1401 may issue a conversation ID and a request ID in response to receiving the first user utterance. For example, the conversation ID issued by the speaker 1401 may be 'A'. The speaker 1401 can identify the server address of the server for processing the user's utterance. For example, the speaker 1401 may identify the server address of the first server 1410. For example, the speaker 1401 may transmit device information including the first user utterance, conversation ID, and request ID to the first server 1410 based on the server address of the identified first server 1410. .

예를 들어, 스피커(1401)는 전처리 서버로 제1 사용자 발화와 대화 ID 및 요청 ID를 포함하는 기기 정보를 송신할 수 있다. 예를 들어, 전처리 서버는 기기 정보에 서버 주소가 존재하는 경우, 서버 주소에 기반하여 제1 서버(1410)로 제1 사용자 발화와 대화 ID 및 요청 ID를 포함하는 기기 정보를 송신할 수 있다. 예를 들어, 전처리 서버는 기기 정보에 서버 주소가 존재하지 않거나 서버 주소가 만료된 경우, 복수의 서버(예: 제1 서버(1410) 및 제2 서버(1420))의 부하를 고려하여 제1 사용자 발화를 처리하기 위한 서버를 탐색할 수 있다. 예를 들어, 전처리 서버는 제1 서버(1410)를 제1 사용자 발화를 처리할 서버로 결정할 수 있다. 전처리 서버는 전처리 서버로 제1 사용자 발화와 대화 ID 및 요청 ID를 포함하는 기기 정보를 송신할 수 있다.For example, the speaker 1401 may transmit device information including the first user utterance, conversation ID, and request ID to the preprocessing server. For example, if a server address is present in the device information, the preprocessing server may transmit device information including the first user utterance, conversation ID, and request ID to the first server 1410 based on the server address. For example, if a server address does not exist in the device information or the server address has expired, the preprocessing server considers the load of a plurality of servers (e.g., the first server 1410 and the second server 1420) and You can search for servers to process user utterances. For example, the preprocessing server may determine the first server 1410 as the server that will process the first user utterance. The preprocessing server may transmit device information including the first user utterance, conversation ID, and request ID to the preprocessing server.

제1 서버(1410)는 제1 사용자 발화와 함께 수신된 스피커(1401)의 기기 정보에 포함된 대화 ID와 동일한 대화 ID를 갖는 대화가 존재하는지 판단할 수 있다. 예를 들어, 제1 서버(1410)는 대화 ID가 'A'인 대화가 존재하는지 판단할 수 있다. 대화 ID가 'A'인 대화가 존재하지 않는 경우, 제1 서버(1410)는 스피커(1401)의 기기 정보에 포함된 SSID(service set identifier)와 SSID를 갖는 대화가 존재하는지 판단할 수 있다. SSID는 스피커(1410)가 연결된 네트워크를 식별하기 위한 정보일 수 있다. 예를 들어, 스피커(1401)의 기기 정보에 포함된 SSID는 'ABC'일 수 있다. 제1 서버(1410)는 SSID가 'ABC'인 대화가 존재하는지 판단할 수 있다. 대화 ID가 'A'인 대화가 존재하지 않고, SSID가 'ABC'인 대화가 존재하지 않는 경우, 제1 서버(1410)는 신규 대화를 생성할 수 있다. 대화는 스피커(1401)의 기기 정보를 포함할 수 있다. 예를 들어, 생성된 대화에는 'A'라는 대화 ID, 제1 사용자 발화에 포함된 요청에 대응하는 요청 ID, 및 'ABC'라는 SSID가 포함될 수 있다.The first server 1410 may determine whether a conversation with the same conversation ID as the conversation ID included in the device information of the speaker 1401 received along with the first user's utterance exists. For example, the first server 1410 may determine whether a conversation with conversation ID 'A' exists. If there is no conversation with the conversation ID 'A', the first server 1410 may determine whether a conversation with the service set identifier (SSID) and SSID included in the device information of the speaker 1401 exists. SSID may be information for identifying the network to which the speaker 1410 is connected. For example, the SSID included in the device information of the speaker 1401 may be 'ABC'. The first server 1410 may determine whether a conversation with the SSID 'ABC' exists. If a conversation with the conversation ID 'A' does not exist and a conversation with the SSID 'ABC' does not exist, the first server 1410 may create a new conversation. The conversation may include device information of the speaker 1401. For example, the generated conversation may include a conversation ID called 'A', a request ID corresponding to the request included in the first user utterance, and an SSID called 'ABC'.

제1 서버(1410)는 생성된 대화 내에서 제1 사용자 발화를 처리할 수 있다. 제1 서버(1410)는 제1 사용자 발화에 대한 자연어 이해 처리를 수행하여 동작을 수행할 기기 정보 및 동작에 대한 동작 정보를 획득할 수 있다. 예를 들어, 제1 서버(1410)는 'TV'라는 기기 정보와 '영화 X 검색'이라는 동작 정보를 획득할 수 있다. 예를 들어, 제1 서버(1410)는 TV(1403)에 동작 정보에 따른 동작을 수행하도록 하는 제어 신호를 송신할 수 있다. 예를 들어, 제1 서버(1410)는 제어 신호를 대화 ID와 함께 송신할 수 있다. 예를 들어, 제어 신호와 함께 동작을 수행할 기기로 송신되는 대화 ID는, 대화에 포함된 적어도 하나의 대화 ID 모두에 대응되는 하나의 제3 의 대화 ID(예: 대화 ID 'F')일 수 있다. 제1 서버(1410)는 TV(1403)로 영화 X를 검색하도록 제어하는 제어 신호를 대화 ID 'F'와 함께 송신할 수 있다. 여기서, 대화 ID 'F'는 대화 ID 'A'에 대응될 수 있다.The first server 1410 may process the first user utterance within the generated conversation. The first server 1410 may perform natural language understanding processing on the first user's utterance to obtain device information to perform the operation and operation information about the operation. For example, the first server 1410 may obtain device information called ‘TV’ and operation information called ‘Search Movie X’. For example, the first server 1410 may transmit a control signal to the TV 1403 to perform an operation according to the operation information. For example, the first server 1410 may transmit a control signal along with a conversation ID. For example, the conversation ID transmitted to the device to perform the operation together with the control signal may be one third conversation ID (e.g., conversation ID 'F') corresponding to all of at least one conversation ID included in the conversation. You can. The first server 1410 may transmit a control signal for controlling the search for movie X to the TV 1403 along with the conversation ID 'F'. Here, conversation ID 'F' may correspond to conversation ID 'A'.

제1 서버(1410)는 제1 사용자 발화가 타 기기를 제어하는 명령인 경우 제1 사용자 발화를 수신한 기기의 사용자 정보와 동일한 사용자 정보로 등록된 적어도 하나의 전자 장치로 제1 서버(1410)의 서버 주소를 송신할 수 있다. 상술한 예시에 따르면, 스피커(1401)가 수신한 제1 사용자 발화는 스피커(1401)가 아닌 TV(1403)를 제어하는 명령일 수 있다. 예를 들어, 제1 서버(1410)는 제1 서버(1410)의 서버 주소를 스피커(1401)의 기기 정보에 포함된 사용자 ID와 동일한 사용자 ID로 등록된 적어도 하나의 전자 장치(예: TV(1403) 및 냉장고(1405))로 제1 서버(1410)의 서버 주소를 송신할 수 있다.When the first user's utterance is a command to control another device, the first server 1410 is connected to at least one electronic device registered with the same user information as the user information of the device that received the first user's utterance. The server address of can be sent. According to the above example, the first user utterance received by the speaker 1401 may be a command to control the TV 1403, not the speaker 1401. For example, the first server 1410 may set the server address of the first server 1410 to at least one electronic device (e.g., a TV) registered with the same user ID as the user ID included in the device information of the speaker 1401. The server address of the first server 1410 can be transmitted to 1403) and refrigerator 1405).

제1 서버(1410)는 제1 사용자 발화가 타 기기를 제어하는 명령인 경우 제1 사용자 발화를 수신한 기기의 사용자 정보와 동일한 사용자 정보로 등록된 적어도 하나의 전자 장치 중 제1 사용자 발화를 수신한 기기가 연결된 네트워크와 동일한 네트워크에 연결된 적어도 하나의 전자 장치로 제1 서버(1410)의 서버 주소를 송신할 수 있다. 상술한 예시에 따르면, 스피커(1401)가 수신한 제1 사용자 발화는 스피커(1401)가 아닌 TV(1403)를 제어하는 명령일 수 있다. 예를 들어, 제1 서버(1410)는 제1 서버(1410)의 서버 주소를 스피커(1401)의 기기 정보에 포함된 사용자 ID와 동일한 사용자 ID로 등록된 적어도 하나의 전자 장치 중 스피커(1401)의 기기 정보에 포함된 SSID와 동일한 SSID를 갖는 적어도 하나의 전자 장치(예: TV(1403) 및 냉장고(1405))로 제1 서버(1410)의 서버 주소를 송신할 수 있다.When the first user utterance is a command to control another device, the first server 1410 receives the first user utterance among at least one electronic device registered with the same user information as the user information of the device that received the first user utterance. The server address of the first server 1410 may be transmitted to at least one electronic device connected to the same network as the network to which one device is connected. According to the above example, the first user utterance received by the speaker 1401 may be a command to control the TV 1403, not the speaker 1401. For example, the first server 1410 sets the server address of the first server 1410 to the speaker 1401 among at least one electronic device registered with the same user ID as the user ID included in the device information of the speaker 1401. The server address of the first server 1410 may be transmitted to at least one electronic device (e.g., TV 1403 and refrigerator 1405) having the same SSID as the SSID included in the device information.

도 14b를 참조하면, 냉장고(1405)는 사용자로부터 "두 번째거 틀어줘"라는 제2 사용자 발화를 수신할 수 있다. 냉장고(1405)는 제2 사용자 발화를 수신함에 응답하여 대화 ID 및 요청 ID를 발급할 수 있다. 예를 들어, 냉장고(1405)가 발급한 대화 ID는 'B'일 수 있다. 냉장고(1405)는 사용자 발화를 처리하기 위한 서버의 서버 주소를 식별할 수 있다. 예를 들어, 냉장고(1405)는 제1 서버(1410)의 서버 주소를 식별할 수 있다. 예를 들어, 냉장고(1405)는 식별된 제1 서버(1410)의 서버 주소에 기반하여 제1 서버(1410)로 제2 사용자 발화와 대화 ID 및 요청 ID를 포함하는 기기 정보를 송신할 수 있다.Referring to FIG. 14B, the refrigerator 1405 may receive the second user's utterance, “Play the second one,” from the user. The refrigerator 1405 may issue a conversation ID and a request ID in response to receiving the second user's utterance. For example, the conversation ID issued by the refrigerator 1405 may be 'B'. The refrigerator 1405 can identify the server address of the server for processing the user's utterance. For example, the refrigerator 1405 may identify the server address of the first server 1410. For example, the refrigerator 1405 may transmit device information including a second user utterance, conversation ID, and request ID to the first server 1410 based on the server address of the identified first server 1410. .

제1 서버(1410)는 제2 사용자 발화와 함께 수신된 냉장고(1405)의 기기 정보에 포함된 대화 ID와 동일한 대화 ID를 갖는 대화가 존재하는지 판단할 수 있다. 예를 들어, 제1 서버(1410)는 대화 ID가 'B'인 대화가 존재하는지 판단할 수 있다. 대화 ID가 'B'인 대화가 존재하지 않는 경우, 제1 서버(1410)는 냉장고(1405)의 기기 정보에 포함된 SSID와 SSID를 갖는 대화가 존재하는지 판단할 수 있다. 예를 들어, 냉장고(1405)의 기기 정보에 포함된 SSID는 'ABC'일 수 있다. 제1 서버(1410)는 SSID가 'ABC'인 대화가 존재하는지 판단할 수 있다. 대화 ID가 'B'인 대화가 존재하지 않고, SSID가 'ABC'인 대화가 존재하는 경우, 제1 서버(1410)는 식별된 대화에 대화 ID 'B'를 병합(또는, 추가)할 수 있다. 예를 들어, 제1 서버(1410)는 대화 ID 'A'와 대화 ID 'B'를 병합할 수 있다.The first server 1410 may determine whether a conversation with the same conversation ID as the conversation ID included in the device information of the refrigerator 1405 received along with the second user's utterance exists. For example, the first server 1410 may determine whether a conversation with conversation ID 'B' exists. If there is no conversation with the conversation ID 'B', the first server 1410 may determine whether a conversation with the SSID and SSID included in the device information of the refrigerator 1405 exists. For example, the SSID included in the device information of the refrigerator 1405 may be 'ABC'. The first server 1410 may determine whether a conversation with the SSID 'ABC' exists. If there is no conversation with conversation ID 'B' and a conversation with SSID 'ABC' exists, the first server 1410 can merge (or add) conversation ID 'B' to the identified conversation. there is. For example, the first server 1410 may merge conversation ID 'A' and conversation ID 'B'.

제1 서버(1410)는 제2 사용자 발화에 대응하는 대화 ID가 병합된 대화 내에서 제2 사용자 발화를 처리할 수 있다. 제1 서버(1410)는 제2 사용자 발화에 대한 자연어 이해 처리를 수행하여 동작을 수행할 기기 정보 및 동작에 대한 동작 정보를 획득할 수 있다. 예를 들어, 제1 서버(1410)는 자연어 이해 처리 결과, 'TV'라는 기기 정보와 '검색된 결과 중 두 번째 항목을 재생'이라는 동작 정보를 획득할 수 있다.The first server 1410 may process the second user utterance within a conversation in which the conversation ID corresponding to the second user utterance is merged. The first server 1410 may perform natural language understanding processing on the second user's utterance to obtain information about the device to perform the operation and operation information about the operation. For example, as a result of natural language understanding processing, the first server 1410 may obtain device information called 'TV' and operation information called 'Play the second item among the search results'.

예를 들어, 제1 서버(1410)는 제2 사용자 발화에 대하여, 제2 사용자 발화 이전에 수신된 제1 사용자 발화에 대응하는 동작을 수행한 TV 유형에 대한 자연어 이해 처리를 수행할 수 있다. 제1 서버(1410)는 자연어 이해 처리 결과, 'TV'라는 기기 정보와 '검색된 결과 중 두 번째 항목을 재생'이라는 동작 정보를 획득할 수 있다.For example, the first server 1410 may perform natural language understanding processing on the TV type that performed the operation corresponding to the first user utterance received before the second user utterance with respect to the second user utterance. As a result of natural language understanding processing, the first server 1410 can obtain device information called ‘TV’ and operation information called ‘play the second item among the search results’.

예를 들어, 제1 서버(1410)는 대화 내에 포함된 복수의 대화 ID(예: 'A' 및 'B') 각각에 대응하는 사용자 발화(예: 제1 사용자 발화)에 대응하는 동작을 수행한 기기의 기기 유형(예: 'TV')에 대한 자연어 이해 처리 결과와 제2 사용자 발화를 수신한 기기의 기기 유형('스피커')에 대한 자연어 이해 처리 결과를 비교하여 하나의 기기 유형에 대한 자연어 이해 처리 결과를 선택할 수 있다. 예를 들어, 제1 서버(1410)는 비교 결과, TV 유형에 대한 자연어 이해 처리 결과를 선택할 수 있다. TV 유형에 대한 자연어 이해 처리 결과는, 예를 들어, 'TV'라는 기기 정보와 '검색된 결과 중 두 번째 항목을 재생'이라는 동작 정보를 포함할 수 있다.For example, the first server 1410 performs an operation corresponding to a user utterance (e.g., first user utterance) corresponding to each of a plurality of conversation IDs (e.g., 'A' and 'B') included in the conversation. Compare the natural language understanding processing results for the device type (e.g., 'TV') of one device with the natural language understanding processing results for the device type ('speaker') of the device that received the second user's utterance to determine the You can select the results of natural language understanding processing. For example, the first server 1410 may select a natural language understanding processing result for the TV type as a result of the comparison. The natural language understanding processing result for the TV type may include, for example, device information called ‘TV’ and action information called ‘Play the second item among the searched results.’

예를 들어, 제1 서버(1410)는 대화 내에 포함된 복수의 대화 ID(예: 'A' 및 'B') 별 사용자 발화(예: 제1 사용자 발화)에 대응하는 동작을 수행한 기기의 기기 정보(예: 'TV') 및 수행된 동작에 대한 동작 정보(예: '영화 X 검색')를 이용하여, 제2 사용자 발화에 대한 자연어 이해 처리를 수행할 수 있다. 예를 들어, 제1 서버(1410)는 제1 사용자 발화에 대응하여 TV(1403)가 영화 X를 검색한 정보를 이용하여, 'TV'라는 기기 정보와 '검색된 결과 중 두 번째 항목을 재생'이라는 동작 정보를 획득할 수 있다.For example, the first server 1410 may identify the device that performed the operation corresponding to the user utterance (e.g., the first user utterance) for each of the plurality of conversation IDs (e.g., 'A' and 'B') included in the conversation. Natural language understanding processing for the second user's utterance may be performed using device information (e.g., 'TV') and operation information about the performed action (e.g., 'Search Movie X'). For example, the first server 1410 uses the information that the TV 1403 searched for movie You can obtain operation information.

제1 서버(1410)는 제2 사용자 발화에 대한 자연어 이해 처리를 수행한 이후, 제2 사용자 발화에 대응하는 대화 ID의 유효 시간을 갱신할 수 있다. 예를 들어, 제1 서버(1410)는 대화 ID 'B'의 유효 시간을 갱신할 수 있다. 예를 들어, 제1 서버(1410)는 대화 ID 'B'의 유효 시간 갱신과 함께, 대화 ID 'A'의 유효 시간을 갱신할 수 있다.After performing natural language understanding processing on the second user's utterance, the first server 1410 may update the effective time of the conversation ID corresponding to the second user's utterance. For example, the first server 1410 may update the effective time of conversation ID 'B'. For example, the first server 1410 may update the validity time of conversation ID 'A' along with updating the validity time of conversation ID 'B'.

제1 서버(1410)는 TV(1403)에 동작 정보에 따른 동작을 수행하도록 하는 제어 신호를 송신할 수 있다. 예를 들어, 제1 서버(1410)는 제어 신호를 대화 ID와 함께 송신할 수 있다. 예를 들어, 제어 신호와 함께 동작을 수행할 기기로 송신되는 대화 ID는, 대화에 포함된 적어도 하나의 대화 ID 모두(예: 'A' 및 'B')에 대응되는 하나의 제3 의 대화 ID일 수 있다. 상술한 예시에 따르면, 제1 서버(1410)는 TV(1403)로 검색 결과 중 두 번째 항목을 재생하도록 제어하는 제어 신호를 대화 ID 'F'와 함께 송신할 수 있다. 여기서, 대화 ID 'F'는 대화 ID 'B'에 대응될 수 있다. 예를 들어, 영화 X를 검색하도록 제어하는 제어 신호 및 검색된 결과 중 두 번째 항목을 재생하도록 제어하는 제어 신호는 동일한 대화 ID(예: 대화 ID 'F')와 함께 TV(1403)로 송신될 수 있다.The first server 1410 may transmit a control signal to the TV 1403 to perform an operation according to the operation information. For example, the first server 1410 may transmit a control signal along with a conversation ID. For example, the conversation ID transmitted to the device to perform the operation together with the control signal is one third conversation corresponding to both at least one conversation ID (e.g., 'A' and 'B') included in the conversation. It may be an ID. According to the above example, the first server 1410 may transmit a control signal to the TV 1403 to control playback of the second item among the search results together with the conversation ID 'F'. Here, conversation ID 'F' may correspond to conversation ID 'B'. For example, a control signal that controls searching for movie there is.

도 14c를 참조하면, 스피커(1401)는 사용자로부터 "냉장고에서 미역국 레시피 보여줘"라는 제3 사용자 발화를 수신할 수 있다. 스피커(1401)는 제3 사용자 발화를 수신함에 응답하여 대화 ID 및 요청 ID를 발급할 수 있다. 예를 들어, 스피커(1401)가 발급한 대화 ID는 'A'일 수 있다. 스피커(1401)는 사용자 발화를 처리하기 위한 서버의 서버 주소를 식별할 수 있다. 예를 들어, 스피커(1401)는 제1 서버(1410)의 서버 주소를 식별할 수 있다. 예를 들어, 스피커(1401)는 식별된 제1 서버(1410)의 서버 주소에 기반하여 제1 서버(1410)로 제3 사용자 발화와 대화 ID 및 요청 ID를 포함하는 기기 정보를 송신할 수 있다.Referring to FIG. 14C, the speaker 1401 may receive a third user's utterance, “Show me the seaweed soup recipe from the refrigerator” from the user. The speaker 1401 may issue a conversation ID and a request ID in response to receiving a third user utterance. For example, the conversation ID issued by the speaker 1401 may be 'A'. The speaker 1401 can identify the server address of the server for processing the user's utterance. For example, the speaker 1401 may identify the server address of the first server 1410. For example, the speaker 1401 may transmit device information including a third user utterance, conversation ID, and request ID to the first server 1410 based on the server address of the identified first server 1410. .

제1 서버(1410)는 제3 사용자 발화와 함께 수신된 스피커(1401)의 기기 정보에 포함된 대화 ID와 동일한 대화 ID를 갖는 대화가 존재하는지 판단할 수 있다. 예를 들어, 제1 서버(1410)는 대화 ID가 'A'인 대화가 존재하는지 판단할 수 있다. 대화 ID가 'A'인 대화가 존재하는 경우, 제1 서버(1410)는 식별된 대화 내에서 제3 사용자 발화를 처리할 수 있다.The first server 1410 may determine whether there is a conversation with the same conversation ID as the conversation ID included in the device information of the speaker 1401 received along with the third user's utterance. For example, the first server 1410 may determine whether a conversation with conversation ID 'A' exists. If a conversation with conversation ID 'A' exists, the first server 1410 can process a third user's utterance within the identified conversation.

제1 서버(1410)는 제3 사용자 발화에 대한 자연어 이해 처리를 수행하여 동작을 수행할 기기 정보 및 동작에 대한 동작 정보를 획득할 수 있다. 예를 들어, 제1 서버(1410)는 '냉장고'라는 기기 정보와 '미역국 레시피 출력'이라는 동작 정보를 획득할 수 있다. 예를 들어, 제1 서버(1410)는 냉장고(1405)에 동작 정보에 따른 동작을 수행하도록 하는 제어 신호를 송신할 수 있다. 예를 들어, 제1 서버(1410)는 제어 신호를 대화 ID와 함께 송신할 수 있다. 예를 들어, 제어 신호와 함께 동작을 수행할 기기로 송신되는 대화 ID는, 대화에 포함된 적어도 하나의 대화 ID 모두에 대응되는 하나의 제3 의 대화 ID일 수 있다. 상술한 예시에 따르면, 제1 서버(1410)는 냉장고(1405)로 미역국 레시피를 출력하도록 제어하는 제어 신호를 대화 ID 'F'와 함께 송신할 수 있다. 여기서, 대화 ID 'F'는 대화 ID 'A'에 대응될 수 있다.The first server 1410 may perform natural language understanding processing on the third user's utterance to obtain information about the device to perform the operation and operation information about the operation. For example, the first server 1410 may obtain device information called ‘refrigerator’ and operation information called ‘seaweed soup recipe output’. For example, the first server 1410 may transmit a control signal to the refrigerator 1405 to perform an operation according to operation information. For example, the first server 1410 may transmit a control signal along with a conversation ID. For example, the conversation ID transmitted to the device that will perform the operation along with the control signal may be one third conversation ID that corresponds to all of at least one conversation ID included in the conversation. According to the above-mentioned example, the first server 1410 may transmit a control signal for controlling output of a seaweed soup recipe to the refrigerator 1405 along with the conversation ID 'F'. Here, conversation ID 'F' may correspond to conversation ID 'A'.

도 14d를 참조하면, 스피커(1401)는 사용자로부터 "10초 되감기 해봐"라는 제4 사용자 발화를 수신할 수 있다. 스피커(1401)는 제4 사용자 발화를 수신함에 응답하여 대화 ID 및 요청 ID를 발급할 수 있다. 예를 들어, 스피커(1401)가 발급한 대화 ID는 'A'일 수 있다. 스피커(1401)는 사용자 발화를 처리하기 위한 서버의 서버 주소를 식별할 수 있다. 예를 들어, 스피커(1401)는 제1 서버(1410)의 서버 주소를 식별할 수 있다. 예를 들어, 스피커(1401)는 식별된 제1 서버(1410)의 서버 주소에 기반하여 제1 서버(1410)로 제4 사용자 발화와 대화 ID 및 요청 ID를 포함하는 기기 정보를 송신할 수 있다.Referring to FIG. 14D, the speaker 1401 may receive a fourth user's utterance, “Try rewinding 10 seconds” from the user. The speaker 1401 may issue a conversation ID and a request ID in response to receiving the fourth user's utterance. For example, the conversation ID issued by the speaker 1401 may be 'A'. The speaker 1401 can identify the server address of the server for processing the user's utterance. For example, the speaker 1401 may identify the server address of the first server 1410. For example, the speaker 1401 may transmit device information including a fourth user utterance, conversation ID, and request ID to the first server 1410 based on the server address of the identified first server 1410. .

제1 서버(1410)는 제4 사용자 발화와 함께 수신된 스피커(1401)의 기기 정보에 포함된 대화 ID와 동일한 대화 ID를 갖는 대화가 존재하는지 판단할 수 있다. 예를 들어, 제1 서버(1410)는 대화 ID가 'A'인 대화가 존재하는지 판단할 수 있다. 대화 ID가 'A'인 대화가 존재하는 경우, 제1 서버(1410)는 식별된 대화 내에서 제4 사용자 발화를 처리할 수 있다.The first server 1410 may determine whether a conversation with the same conversation ID as the conversation ID included in the device information of the speaker 1401 received along with the fourth user's utterance exists. For example, the first server 1410 may determine whether a conversation with conversation ID 'A' exists. If a conversation with conversation ID 'A' exists, the first server 1410 can process the fourth user's utterance within the identified conversation.

제1 서버(1410)는 제4 사용자 발화에 대한 자연어 이해 처리를 수행하여 동작을 수행할 기기 정보 및 동작에 대한 동작 정보를 획득할 수 있다. 예를 들어, 제1 서버(1410)는 'TV'라는 기기 정보와 '재생 중인 콘텐츠의 재생 시점을 10초 전으로 이동'이라는 동작 정보를 획득할 수 있다. 예를 들어, 제1 서버(1410)는 대화 내에 포함된 복수의 대화 ID(예: 'A' 및 'B') 별 사용자 발화(예: 제1 사용자 발화, 제2 사용자 발화, 및 제3 사용자 발화)에 대응하는 동작을 수행한 기기의 기기 유형(예: 'TV' 및 '냉장고')에 대한 자연어 처리 결과와 제4 사용자 발화를 수신한 기기의 기기 유형('스피커')에 대한 자연어 처리 결과를 비교하여 하나의 기기 유형에 대한 자연어 이해 처리 결과를 선택할 수 있다. 예를 들어, 제1 서버(1410)는 제2 사용자 발화에 대응하여 TV(1403)가 검색 결과 중 두 번째 항목을 재생 중인 정보를 이용하여, 'TV'라는 기기 정보와 '재생 중인 콘텐츠의 재생 시점을 10초 전으로 이동'이라는 동작 정보를 획득할 수 있다. 예를 들어, 스피커 유형에 대한 자연어 이해 처리 결과 및/또는 냉장고 유형에 대한 자연어 이해 처리 결과는 '미처리' 또는 '리젝(reject)'일 수 있다. 제1 서버(1410)는 비교 결과, TV 유형에 대한 자연어 이해 처리 결과를 선택할 수 있다. TV 유형에 대한 자연어 이해 처리 결과는, 예를 들어, 'TV'라는 기기 정보와 '재생 중인 콘텐츠의 재생 시점을 10초 전으로 이동'이라는 동작 정보를 포함할 수 있다.The first server 1410 may perform natural language understanding processing on the fourth user's utterance to obtain information about the device to perform the operation and operation information about the operation. For example, the first server 1410 may obtain device information called ‘TV’ and operation information such as ‘move the playback time of the content being played back 10 seconds.’ For example, the first server 1410 may detect user utterances (e.g., first user utterance, second user utterance, and third user utterance) for each of the plurality of conversation IDs (e.g., 'A' and 'B') included in the conversation. Natural language processing results for the device type (e.g., 'TV' and 'refrigerator') of the device that performed the action corresponding to the utterance and natural language processing for the device type ('speaker') of the device that received the fourth user's utterance By comparing the results, you can select the natural language understanding processing results for one device type. For example, in response to the second user's utterance, the first server 1410 uses information that the TV 1403 is playing the second item among the search results, and provides device information called 'TV' and 'playback of the content being played. You can obtain operation information such as ‘move the viewpoint back 10 seconds’. For example, the natural language understanding processing result for the speaker type and/or the natural language understanding processing result for the refrigerator type may be 'unprocessed' or 'reject'. The first server 1410 may select a natural language understanding processing result for the TV type as a result of the comparison. The natural language understanding processing result for the TV type may include, for example, device information called 'TV' and action information such as 'move the playback time of the content being played back 10 seconds.'

제1 서버(1410)는 제4 사용자 발화에 대한 자연어 이해 처리를 수행한 이후, 제4 사용자 발화에 대응하는 대화 ID의 유효 시간을 갱신할 수 있다. 예를 들어, 제1 서버(1410)는 대화 ID 'A'의 유효 시간을 갱신할 수 있다. 예를 들어, 제1 서버(1410)는 대화 ID 'A'의 유효 시간 갱신과 함께, 대화 ID 'B'의 유효 시간을 갱신할 수 있다.After performing natural language understanding processing on the fourth user's utterance, the first server 1410 may update the effective time of the conversation ID corresponding to the fourth user's utterance. For example, the first server 1410 may update the effective time of conversation ID 'A'. For example, the first server 1410 may update the validity time of conversation ID 'B' along with updating the validity time of conversation ID 'A'.

예를 들어, 제1 서버(1410)는 TV(1403)에 동작 정보에 따른 동작을 수행하도록 하는 제어 신호를 송신할 수 있다. 예를 들어, 제1 서버(1410)는 제어 신호를 대화 ID와 함께 송신할 수 있다. 예를 들어, 제어 신호와 함께 동작을 수행할 기기로 송신되는 대화 ID는, 대화에 포함된 적어도 하나의 대화 ID 모두에 대응되는 하나의 제3 의 대화 ID일 수 있다. 상술한 예시에 따르면, 제1 서버(1410)는 TV(1403)로 재생 중인 콘텐츠의 재생 시점을 10초 전으로 이동하도록 제어하는 제어 신호를 대화 ID 'F'와 함께 송신할 수 있다. 여기서, 대화 ID 'F'는 대화 ID 'A'에 대응될 수 있다. 예를 들어, 영화 X를 검색하도록 제어하는 제어 신호, 검색된 결과 중 두 번째 항목을 재생하도록 제어하는 제어 신호, 및 재생 중인 콘텐츠의 재생 시점을 10초 전으로 이동하도록 제어하는 제어 신호는 동일한 대화 ID(예: 대화 ID 'F')와 함께 TV(1403)로 송신될 수 있다.For example, the first server 1410 may transmit a control signal to the TV 1403 to perform an operation according to the operation information. For example, the first server 1410 may transmit a control signal along with a conversation ID. For example, the conversation ID transmitted to the device that will perform the operation along with the control signal may be one third conversation ID that corresponds to all of at least one conversation ID included in the conversation. According to the above example, the first server 1410 may transmit a control signal to the TV 1403 along with the conversation ID 'F' to control the playback time of the content being played back 10 seconds. Here, conversation ID 'F' may correspond to conversation ID 'A'. For example, a control signal that controls searching for movie It may be transmitted to the TV 1403 along with (e.g. conversation ID 'F').

이하, 도 15의 전자 장치(1501)는 도 1의 전자 장치(예: 제1 전자 장치(101), 제2 전자 장치(102), 또는 제3 전자 장치(103)), 도 9의 전자 장치(901), 도 14a 내지 도 14d의 스피커(1401), TV(1403), 또는 냉장고(1405)에 대응될 수 있다. 도 15의 서버(1508)는 도 1의 서버(예: 제1 서버(110) 또는 제2 서버(120)), 도 3의 제1 서버(110), 제2 서버(120), 제3 서버(130), 제1 전처리 서버(310), 제2 전처리 서버(320), 또는 제3 전처리 서버(330), 도 9의 전처리 서버(902), 또는 서버(903), 도 14a 내지 도 14d의 제1 서버(1410) 또는 제2 서버(1420)에 대응될 수 있다.Hereinafter, the electronic device 1501 of FIG. 15 refers to the electronic device of FIG. 1 (e.g., the first electronic device 101, the second electronic device 102, or the third electronic device 103), or the electronic device of FIG. 9. 901, may correspond to the speaker 1401, TV 1403, or refrigerator 1405 of FIGS. 14A to 14D. The server 1508 of FIG. 15 is the server of FIG. 1 (e.g., the first server 110 or the second server 120), the first server 110, the second server 120, and the third server of FIG. 3. 130, the first preprocessing server 310, the second preprocessing server 320, or the third preprocessing server 330, the preprocessing server 902 of FIG. 9, or the server 903, of FIGS. 14A to 14D It may correspond to the first server 1410 or the second server 1420.

도 15는, 일 예에 따른, 네트워크 환경(1500) 내의 전자 장치(1501)의 블록도이다. 도 15를 참조하면, 네트워크 환경(1500)에서 전자 장치(1501)는 제 1 네트워크(1598)(예: 근거리 무선 통신 네트워크)를 통하여 전자 장치(1502)와 통신하거나, 또는 제 2 네트워크(1599)(예: 원거리 무선 통신 네트워크)를 통하여 전자 장치(1504) 또는 서버(1508) 중 적어도 하나와 통신할 수 있다. 일 예에 따르면, 전자 장치(1501)는 서버(1508)를 통하여 전자 장치(1504)와 통신할 수 있다. 일 예에 따르면, 전자 장치(1501)는 프로세서(1520), 메모리(1530), 입력 모듈(1550), 음향 출력 모듈(1555), 디스플레이 모듈(1560), 오디오 모듈(1570), 센서 모듈(1576), 인터페이스(1577), 연결 단자(1578), 햅틱 모듈(1579), 카메라 모듈(1580), 전력 관리 모듈(1588), 배터리(1589), 통신 모듈(1590), 가입자 식별 모듈(1596), 또는 안테나 모듈(1597)을 포함할 수 있다. 어떤 예에서는, 전자 장치(1501)에는, 이 구성요소들 중 적어도 하나(예: 연결 단자(1578))가 생략되거나, 하나 이상의 다른 구성요소가 추가될 수 있다. 어떤 예에서는, 이 구성요소들 중 일부들(예: 센서 모듈(1576), 카메라 모듈(1580), 또는 안테나 모듈(1597))은 하나의 구성요소(예: 디스플레이 모듈(1560))로 통합될 수 있다.FIG. 15 is a block diagram of an electronic device 1501 in a network environment 1500, according to one example. Referring to FIG. 15, in the network environment 1500, the electronic device 1501 communicates with the electronic device 1502 through a first network 1598 (e.g., a short-range wireless communication network) or a second network 1599. It is possible to communicate with at least one of the electronic device 1504 or the server 1508 through (e.g., a long-distance wireless communication network). According to one example, the electronic device 1501 may communicate with the electronic device 1504 through the server 1508. According to one example, the electronic device 1501 includes a processor 1520, a memory 1530, an input module 1550, an audio output module 1555, a display module 1560, an audio module 1570, and a sensor module 1576. ), interface 1577, connection terminal 1578, haptic module 1579, camera module 1580, power management module 1588, battery 1589, communication module 1590, subscriber identification module 1596, Alternatively, it may include an antenna module 1597. In some examples, at least one of these components (eg, the connection terminal 1578) may be omitted, or one or more other components may be added to the electronic device 1501. In some examples, some of these components (e.g., sensor module 1576, camera module 1580, or antenna module 1597) may be integrated into one component (e.g., display module 1560). You can.

프로세서(1520)는, 예를 들면, 소프트웨어(예: 프로그램(1540))를 실행하여 프로세서(1520)에 연결된 전자 장치(1501)의 적어도 하나의 다른 구성요소(예: 하드웨어 또는 소프트웨어 구성요소)를 제어할 수 있고, 다양한 데이터 처리 또는 연산을 수행할 수 있다. 일 예에 따르면, 데이터 처리 또는 연산의 적어도 일부로서, 프로세서(1520)는 다른 구성요소(예: 센서 모듈(1576) 또는 통신 모듈(1590))로부터 수신된 명령 또는 데이터를 휘발성 메모리(1532)에 저장하고, 휘발성 메모리(1532)에 저장된 명령 또는 데이터를 처리하고, 결과 데이터를 비휘발성 메모리(1534)에 저장할 수 있다. 일 예에 따르면, 프로세서(1520)는 메인 프로세서(1521)(예: 중앙 처리 장치 또는 어플리케이션 프로세서) 또는 이와는 독립적으로 또는 함께 운영 가능한 보조 프로세서(1523)(예: 그래픽 처리 장치, 신경망 처리 장치(NPU: neural processing unit), 이미지 시그널 프로세서, 센서 허브 프로세서, 또는 커뮤니케이션 프로세서)를 포함할 수 있다. 예를 들어, 전자 장치(1501)가 메인 프로세서(1521) 및 보조 프로세서(1523)를 포함하는 경우, 보조 프로세서(1523)는 메인 프로세서(1521)보다 저전력을 사용하거나, 지정된 기능에 특화되도록 설정될 수 있다. 보조 프로세서(1523)는 메인 프로세서(1521)와 별개로, 또는 그 일부로서 구현될 수 있다.The processor 1520, for example, executes software (e.g., program 1540) to operate at least one other component (e.g., hardware or software component) of the electronic device 1501 connected to the processor 1520. It can be controlled and various data processing or operations can be performed. According to one example, as at least part of data processing or computation, processor 1520 stores commands or data received from another component (e.g., sensor module 1576 or communication module 1590) in volatile memory 1532. The commands or data stored in the volatile memory 1532 may be stored and processed, and the resulting data may be stored in the non-volatile memory 1534. According to one example, the processor 1520 may be a main processor 1521 (e.g., a central processing unit or an application processor) or an auxiliary processor 1523 that can operate independently or together (e.g., a graphics processing unit, a neural network processing unit (NPU) : neural processing unit), image signal processor, sensor hub processor, or communication processor). For example, if the electronic device 1501 includes a main processor 1521 and a auxiliary processor 1523, the auxiliary processor 1523 may be set to use lower power than the main processor 1521 or be specialized for a designated function. You can. The auxiliary processor 1523 may be implemented separately from the main processor 1521 or as part of it.

보조 프로세서(1523)는, 예를 들면, 메인 프로세서(1521)가 인액티브(예: 슬립) 상태에 있는 동안 메인 프로세서(1521)를 대신하여, 또는 메인 프로세서(1521)가 액티브(예: 어플리케이션 실행) 상태에 있는 동안 메인 프로세서(1521)와 함께, 전자 장치(1501)의 구성요소들 중 적어도 하나의 구성요소(예: 디스플레이 모듈(1560), 센서 모듈(1576), 또는 통신 모듈(1590))와 관련된 기능 또는 상태들의 적어도 일부를 제어할 수 있다. 일 예에 따르면, 보조 프로세서(1523)(예: 이미지 시그널 프로세서 또는 커뮤니케이션 프로세서)는 기능적으로 관련 있는 다른 구성요소(예: 카메라 모듈(1580) 또는 통신 모듈(1590))의 일부로서 구현될 수 있다. 일 예에 따르면, 보조 프로세서(1523)(예: 신경망 처리 장치)는 인공지능 모델의 처리에 특화된 하드웨어 구조를 포함할 수 있다. 인공지능 모델은 기계 학습을 통해 생성될 수 있다. 이러한 학습은, 예를 들어, 인공지능 모델이 수행되는 전자 장치(1501) 자체에서 수행될 수 있고, 별도의 서버(예: 서버(1508))를 통해 수행될 수도 있다. 학습 알고리즘은, 예를 들어, 지도형 학습(supervised learning), 비지도형 학습(unsupervised learning), 준지도형 학습(semi-supervised learning) 또는 강화 학습(reinforcement learning)을 포함할 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은, 복수의 인공 신경망 레이어들을 포함할 수 있다. 인공 신경망은 심층 신경망(DNN: deep neural network), CNN(convolutional neural network), RNN(recurrent neural network), RBM(restricted boltzmann machine), DBN(deep belief network), BRDNN(bidirectional recurrent deep neural network), 심층 Q-네트워크(deep Q-networks) 또는 상기 중 둘 이상의 조합 중 하나일 수 있으나, 전술한 예에 한정되지 않는다. 인공지능 모델은 하드웨어 구조 이외에, 추가적으로 또는 대체적으로, 소프트웨어 구조를 포함할 수 있다.The auxiliary processor 1523 may, for example, act on behalf of the main processor 1521 while the main processor 1521 is in an inactive (e.g., sleep) state, or while the main processor 1521 is in an active (e.g., application execution) state. ), together with the main processor 1521, at least one of the components of the electronic device 1501 (e.g., the display module 1560, the sensor module 1576, or the communication module 1590) At least some of the functions or states related to can be controlled. According to one example, coprocessor 1523 (e.g., image signal processor or communication processor) may be implemented as part of another functionally related component (e.g., camera module 1580 or communication module 1590). . According to one example, the auxiliary processor 1523 (e.g., neural network processing unit) may include a hardware structure specialized for processing artificial intelligence models. Artificial intelligence models can be created through machine learning. This learning may be performed, for example, in the electronic device 1501 itself on which the artificial intelligence model is performed, or may be performed through a separate server (e.g., server 1508). Learning algorithms may include, for example, supervised learning, unsupervised learning, semi-supervised learning, or reinforcement learning, but It is not limited. An artificial intelligence model may include multiple artificial neural network layers. Artificial neural networks include deep neural network (DNN), convolutional neural network (CNN), recurrent neural network (RNN), restricted boltzmann machine (RBM), belief deep network (DBN), bidirectional recurrent deep neural network (BRDNN), It may be one of deep Q-networks or a combination of two or more of the above, but is not limited to the examples described above. In addition to hardware structures, artificial intelligence models may additionally or alternatively include software structures.

메모리(1530)는, 전자 장치(1501)의 적어도 하나의 구성요소(예: 프로세서(1520) 또는 센서 모듈(1576))에 의해 사용되는 다양한 데이터를 저장할 수 있다. 데이터는, 예를 들어, 소프트웨어(예: 프로그램(1540)) 및, 이와 관련된 명령에 대한 입력 데이터 또는 출력 데이터를 포함할 수 있다. 메모리(1530)는, 휘발성 메모리(1532) 또는 비휘발성 메모리(1534)를 포함할 수 있다.The memory 1530 may store various data used by at least one component (eg, the processor 1520 or the sensor module 1576) of the electronic device 1501. Data may include, for example, input data or output data for software (e.g., program 1540) and instructions related thereto. Memory 1530 may include volatile memory 1532 or non-volatile memory 1534.

프로그램(1540)은 메모리(1530)에 소프트웨어로서 저장될 수 있으며, 예를 들면, 운영 체제(1542), 미들 웨어(1544) 또는 어플리케이션(1546)을 포함할 수 있다.The program 1540 may be stored as software in the memory 1530 and may include, for example, an operating system 1542, middleware 1544, or an application 1546.

입력 모듈(1550)은, 전자 장치(1501)의 구성요소(예: 프로세서(1520))에 사용될 명령 또는 데이터를 전자 장치(1501)의 외부(예: 사용자)로부터 수신할 수 있다. 입력 모듈(1550)은, 예를 들면, 마이크, 마우스, 키보드, 키(예: 버튼), 또는 디지털 펜(예: 스타일러스 펜)을 포함할 수 있다. The input module 1550 may receive commands or data to be used in a component of the electronic device 1501 (e.g., the processor 1520) from outside the electronic device 1501 (e.g., a user). The input module 1550 may include, for example, a microphone, mouse, keyboard, keys (eg, buttons), or digital pen (eg, stylus pen).

음향 출력 모듈(1555)은 음향 신호를 전자 장치(1501)의 외부로 출력할 수 있다. 음향 출력 모듈(1555)은, 예를 들면, 스피커 또는 리시버를 포함할 수 있다. 스피커는 멀티미디어 재생 또는 녹음 재생과 같이 일반적인 용도로 사용될 수 있다. 리시버는 착신 전화를 수신하기 위해 사용될 수 있다. 일 예에 따르면, 리시버는 스피커와 별개로, 또는 그 일부로서 구현될 수 있다.The sound output module 1555 may output sound signals to the outside of the electronic device 1501. The sound output module 1555 may include, for example, a speaker or receiver. Speakers can be used for general purposes such as multimedia playback or recording playback. The receiver can be used to receive incoming calls. According to one example, the receiver may be implemented separately from the speaker or as part of it.

디스플레이 모듈(1560)은 전자 장치(1501)의 외부(예: 사용자)로 정보를 시각적으로 제공할 수 있다. 디스플레이 모듈(1560)은, 예를 들면, 디스플레이, 홀로그램 장치, 또는 프로젝터 및 해당 장치를 제어하기 위한 제어 회로를 포함할 수 있다. 일 예에 따르면, 디스플레이 모듈(1560)은 터치를 감지하도록 설정된 터치 센서, 또는 상기 터치에 의해 발생되는 힘의 세기를 측정하도록 설정된 압력 센서를 포함할 수 있다. The display module 1560 can visually provide information to the outside of the electronic device 1501 (eg, a user). The display module 1560 may include, for example, a display, a hologram device, or a projector, and a control circuit for controlling the device. According to one example, the display module 1560 may include a touch sensor configured to detect a touch, or a pressure sensor configured to measure the intensity of force generated by the touch.

오디오 모듈(1570)은 소리를 전기 신호로 변환시키거나, 반대로 전기 신호를 소리로 변환시킬 수 있다. 일 예에 따르면, 오디오 모듈(1570)은, 입력 모듈(1550)을 통해 소리를 획득하거나, 음향 출력 모듈(1555), 또는 전자 장치(1501)와 직접 또는 무선으로 연결된 외부 전자 장치(예: 전자 장치(1502))(예: 스피커 또는 헤드폰)를 통해 소리를 출력할 수 있다.The audio module 1570 can convert sound into an electrical signal or, conversely, convert an electrical signal into sound. According to one example, the audio module 1570 acquires sound through the input module 1550, the sound output module 1555, or an external electronic device (e.g., electronic device) directly or wirelessly connected to the electronic device 1501. Sound may be output through a device 1502 (e.g., speaker or headphone).

센서 모듈(1576)은 전자 장치(1501)의 작동 상태(예: 전력 또는 온도), 또는 외부의 환경 상태(예: 사용자 상태)를 감지하고, 감지된 상태에 대응하는 전기 신호 또는 데이터 값을 생성할 수 있다. 일 예에 따르면, 센서 모듈(1576)은, 예를 들면, 제스처 센서, 자이로 센서, 기압 센서, 마그네틱 센서, 가속도 센서, 그립 센서, 근접 센서, 컬러 센서, IR(infrared) 센서, 생체 센서, 온도 센서, 습도 센서, 또는 조도 센서를 포함할 수 있다. The sensor module 1576 detects the operating state (e.g., power or temperature) of the electronic device 1501 or the external environmental state (e.g., user state) and generates an electrical signal or data value corresponding to the detected state. can do. According to one example, the sensor module 1576 may include, for example, a gesture sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a grip sensor, a proximity sensor, a color sensor, an IR (infrared) sensor, a biometric sensor, and a temperature sensor. It may include a sensor, humidity sensor, or light sensor.

인터페이스(1577)는 전자 장치(1501)가 외부 전자 장치(예: 전자 장치(1502))와 직접 또는 무선으로 연결되기 위해 사용될 수 있는 하나 이상의 지정된 프로토콜들을 지원할 수 있다. 일 예에 따르면, 인터페이스(1577)는, 예를 들면, HDMI(high definition multimedia interface), USB(universal serial bus) 인터페이스, SD카드 인터페이스, 또는 오디오 인터페이스를 포함할 수 있다.The interface 1577 may support one or more designated protocols that can be used to connect the electronic device 1501 directly or wirelessly with an external electronic device (e.g., the electronic device 1502). According to one example, the interface 1577 may include, for example, a high definition multimedia interface (HDMI), a universal serial bus (USB) interface, an SD card interface, or an audio interface.

연결 단자(1578)는, 그를 통해서 전자 장치(1501)가 외부 전자 장치(예: 전자 장치(1502))와 물리적으로 연결될 수 있는 커넥터를 포함할 수 있다. 일 예에 따르면, 연결 단자(1578)는, 예를 들면, HDMI 커넥터, USB 커넥터, SD 카드 커넥터, 또는 오디오 커넥터(예: 헤드폰 커넥터)를 포함할 수 있다.The connection terminal 1578 may include a connector through which the electronic device 1501 can be physically connected to an external electronic device (eg, the electronic device 1502). According to one example, the connection terminal 1578 may include, for example, an HDMI connector, a USB connector, an SD card connector, or an audio connector (eg, a headphone connector).

햅틱 모듈(1579)은 전기적 신호를 사용자가 촉각 또는 운동 감각을 통해서 인지할 수 있는 기계적인 자극(예: 진동 또는 움직임) 또는 전기적인 자극으로 변환할 수 있다. 일 예에 따르면, 햅틱 모듈(1579)은, 예를 들면, 모터, 압전 소자, 또는 전기 자극 장치를 포함할 수 있다.The haptic module 1579 can convert electrical signals into mechanical stimulation (e.g., vibration or movement) or electrical stimulation that the user can perceive through tactile or kinesthetic senses. According to one example, the haptic module 1579 may include, for example, a motor, a piezoelectric element, or an electrical stimulation device.

카메라 모듈(1580)은 정지 영상 및 동영상을 촬영할 수 있다. 일 예에 따르면, 카메라 모듈(1580)은 하나 이상의 렌즈들, 이미지 센서들, 이미지 시그널 프로세서들, 또는 플래시들을 포함할 수 있다.The camera module 1580 can capture still images and moving images. According to one example, the camera module 1580 may include one or more lenses, image sensors, image signal processors, or flashes.

전력 관리 모듈(1588)은 전자 장치(1501)에 공급되는 전력을 관리할 수 있다. 일 예에 따르면, 전력 관리 모듈(1588)은, 예를 들면, PMIC(power management integrated circuit)의 적어도 일부로서 구현될 수 있다.The power management module 1588 can manage power supplied to the electronic device 1501. According to one example, the power management module 1588 may be implemented as at least a part of, for example, a power management integrated circuit (PMIC).

배터리(1589)는 전자 장치(1501)의 적어도 하나의 구성요소에 전력을 공급할 수 있다. 일 예에 따르면, 배터리(1589)는, 예를 들면, 재충전 불가능한 1차 전지, 재충전 가능한 2차 전지 또는 연료 전지를 포함할 수 있다.The battery 1589 may supply power to at least one component of the electronic device 1501. According to one example, the battery 1589 may include, for example, a non-rechargeable primary cell, a rechargeable secondary cell, or a fuel cell.

통신 모듈(1590)은 전자 장치(1501)와 외부 전자 장치(예: 전자 장치(1502), 전자 장치(1504), 또는 서버(1508)) 간의 직접(예: 유선) 통신 채널 또는 무선 통신 채널의 수립, 및 수립된 통신 채널을 통한 통신 수행을 지원할 수 있다. 통신 모듈(1590)은 프로세서(1520)(예: 어플리케이션 프로세서)와 독립적으로 운영되고, 직접(예: 유선) 통신 또는 무선 통신을 지원하는 하나 이상의 커뮤니케이션 프로세서를 포함할 수 있다. 일 예에 따르면, 통신 모듈(1590)은 무선 통신 모듈(1592)(예: 셀룰러 통신 모듈, 근거리 무선 통신 모듈, 또는 GNSS(global navigation satellite system) 통신 모듈) 또는 유선 통신 모듈(1594)(예: LAN(local area network) 통신 모듈, 또는 전력선 통신 모듈)을 포함할 수 있다. 이들 통신 모듈 중 해당하는 통신 모듈은 제 1 네트워크(1598)(예: 블루투스, WiFi(wireless fidelity) direct 또는 IrDA(infrared data association)와 같은 근거리 통신 네트워크) 또는 제 2 네트워크(1599)(예: 레거시 셀룰러 네트워크, 5G 네트워크, 차세대 통신 네트워크, 인터넷, 또는 컴퓨터 네트워크(예: LAN 또는 WAN)와 같은 원거리 통신 네트워크)를 통하여 외부의 전자 장치(1504)와 통신할 수 있다. 이런 여러 종류의 통신 모듈들은 하나의 구성요소(예: 단일 칩)로 통합되거나, 또는 서로 별도의 복수의 구성요소들(예: 복수 칩들)로 구현될 수 있다. 무선 통신 모듈(1592)은 가입자 식별 모듈(1596)에 저장된 가입자 정보(예: 국제 모바일 가입자 식별자(IMSI))를 이용하여 제 1 네트워크(1598) 또는 제 2 네트워크(1599)와 같은 통신 네트워크 내에서 전자 장치(1501)를 확인 또는 인증할 수 있다. Communication module 1590 provides a direct (e.g., wired) communication channel or wireless communication channel between the electronic device 1501 and an external electronic device (e.g., electronic device 1502, electronic device 1504, or server 1508). It can support establishment and communication through established communication channels. The communication module 1590 operates independently of the processor 1520 (e.g., an application processor) and may include one or more communication processors that support direct (e.g., wired) communication or wireless communication. According to one example, the communication module 1590 may be a wireless communication module 1592 (e.g., a cellular communication module, a short-range wireless communication module, or a global navigation satellite system (GNSS) communication module) or a wired communication module 1594 (e.g., It may include a local area network (LAN) communication module, or a power line communication module. Among these communication modules, the corresponding communication module is a first network 1598 (e.g., a short-range communication network such as Bluetooth, wireless fidelity (WiFi) direct, or infrared data association (IrDA)) or a second network 1599 (e.g., legacy It may communicate with an external electronic device 1504 through a telecommunication network such as a cellular network, a 5G network, a next-generation communication network, the Internet, or a computer network (e.g., LAN or WAN). These various types of communication modules may be integrated into one component (e.g., a single chip) or may be implemented as a plurality of separate components (e.g., multiple chips). The wireless communication module 1592 uses subscriber information (e.g., International Mobile Subscriber Identifier (IMSI)) stored in the subscriber identification module 1596 to communicate within a communication network such as the first network 1598 or the second network 1599. The electronic device 1501 can be confirmed or authenticated.

무선 통신 모듈(1592)은 4G 네트워크 이후의 5G 네트워크 및 차세대 통신 기술, 예를 들어, NR 접속 기술(new radio access technology)을 지원할 수 있다. NR 접속 기술은 고용량 데이터의 고속 전송(eMBB(enhanced mobile broadband)), 단말 전력 최소화와 다수 단말의 접속(mMTC(massive machine type communications)), 또는 고신뢰도와 저지연(URLLC(ultra-reliable and low-latency communications))을 지원할 수 있다. 무선 통신 모듈(1592)은, 예를 들어, 높은 데이터 전송률 달성을 위해, 고주파 대역(예: mmWave 대역)을 지원할 수 있다. 무선 통신 모듈(1592)은 고주파 대역에서의 성능 확보를 위한 다양한 기술들, 예를 들어, 빔포밍(beamforming), 거대 배열 다중 입출력(massive MIMO(multiple-input and multiple-output)), 전차원 다중입출력(FD-MIMO: full dimensional MIMO), 어레이 안테나(array antenna), 아날로그 빔형성(analog beam-forming), 또는 대규모 안테나(large scale antenna)와 같은 기술들을 지원할 수 있다. 무선 통신 모듈(1592)은 전자 장치(1501), 외부 전자 장치(예: 전자 장치(1504)) 또는 네트워크 시스템(예: 제 2 네트워크(1599))에 규정되는 다양한 요구사항을 지원할 수 있다. 일 예에 따르면, 무선 통신 모듈(1592)은 eMBB 실현을 위한 Peak data rate(예: 20Gbps 이상), mMTC 실현을 위한 손실 Coverage(예: 164dB 이하), 또는 URLLC 실현을 위한 U-plane latency(예: 다운링크(DL) 및 업링크(UL) 각각 0.5ms 이하, 또는 라운드 트립 1ms 이하)를 지원할 수 있다.The wireless communication module 1592 may support 5G networks after 4G networks and next-generation communication technologies, for example, NR access technology (new radio access technology). NR access technology provides high-speed transmission of high-capacity data (enhanced mobile broadband (eMBB)), minimization of terminal power and access to multiple terminals (massive machine type communications (mMTC)), or ultra-reliable and low-latency (URLLC). -latency communications)) can be supported. The wireless communication module 1592 may support high frequency bands (e.g., mmWave bands), for example, to achieve high data rates. The wireless communication module 1592 uses various technologies to secure performance in high frequency bands, for example, beamforming, massive MIMO (multiple-input and multiple-output), and full-dimensional multiplexing. It can support technologies such as input/output (FD-MIMO: full dimensional MIMO), array antenna, analog beam-forming, or large scale antenna. The wireless communication module 1592 may support various requirements specified in the electronic device 1501, an external electronic device (e.g., electronic device 1504), or a network system (e.g., second network 1599). According to one example, the wireless communication module 1592 supports Peak data rate (e.g., 20 Gbps or more) for realizing eMBB, loss coverage (e.g., 164 dB or less) for realizing mmTC, or U-plane latency (e.g., 164 dB or less) for realizing URLLC. : Downlink (DL) and uplink (UL) each of 0.5 ms or less, or round trip 1 ms or less) can be supported.

안테나 모듈(1597)은 신호 또는 전력을 외부(예: 외부의 전자 장치)로 송신하거나 외부로부터 수신할 수 있다. 일 예에 따르면, 안테나 모듈(1597)은 서브스트레이트(예: PCB) 위에 형성된 도전체 또는 도전성 패턴으로 이루어진 방사체를 포함하는 안테나를 포함할 수 있다. 일 예에 따르면, 안테나 모듈(1597)은 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다. 이런 경우, 제 1 네트워크(1598) 또는 제 2 네트워크(1599)와 같은 통신 네트워크에서 사용되는 통신 방식에 적합한 적어도 하나의 안테나가, 예를 들면, 통신 모듈(1590)에 의하여 상기 복수의 안테나들로부터 선택될 수 있다. 신호 또는 전력은 상기 선택된 적어도 하나의 안테나를 통하여 통신 모듈(1590)과 외부의 전자 장치 간에 송신되거나 수신될 수 있다. 어떤 예에 따르면, 방사체 이외에 다른 부품(예: RFIC(radio frequency integrated circuit))이 추가로 안테나 모듈(1597)의 일부로 형성될 수 있다. The antenna module 1597 may transmit or receive signals or power to or from the outside (e.g., an external electronic device). According to one example, the antenna module 1597 may include an antenna including a radiator made of a conductor or a conductive pattern formed on a substrate (eg, PCB). According to one example, the antenna module 1597 may include a plurality of antennas (eg, an array antenna). In this case, at least one antenna suitable for the communication method used in the communication network, such as the first network 1598 or the second network 1599, is connected to the plurality of antennas by, for example, the communication module 1590. can be selected. Signals or power may be transmitted or received between the communication module 1590 and an external electronic device through the selected at least one antenna. According to some examples, other components (eg, radio frequency integrated circuit (RFIC)) in addition to the radiator may be additionally formed as part of the antenna module 1597.

다양한 예에 따르면, 안테나 모듈(1597)은 mmWave 안테나 모듈을 형성할 수 있다. 일 예에 따르면, mmWave 안테나 모듈은 인쇄 회로 기판, 상기 인쇄 회로 기판의 제 1 면(예: 아래 면)에 또는 그에 인접하여 배치되고 지정된 고주파 대역(예: mmWave 대역)을 지원할 수 있는 RFIC, 및 상기 인쇄 회로 기판의 제 2 면(예: 윗 면 또는 측 면)에 또는 그에 인접하여 배치되고 상기 지정된 고주파 대역의 신호를 송신 또는 수신할 수 있는 복수의 안테나들(예: 어레이 안테나)을 포함할 수 있다.According to various examples, antenna module 1597 may form a mmWave antenna module. According to one example, a mmWave antenna module includes a printed circuit board, an RFIC disposed on or adjacent a first side (e.g., bottom side) of the printed circuit board and capable of supporting a designated high frequency band (e.g., mmWave band), and It may include a plurality of antennas (e.g., array antennas) disposed on or adjacent to the second side (e.g., top or side) of the printed circuit board and capable of transmitting or receiving signals in the designated high frequency band. You can.

상기 구성요소들 중 적어도 일부는 주변 기기들간 통신 방식(예: 버스, GPIO(general purpose input and output), SPI(serial peripheral interface), 또는 MIPI(mobile industry processor interface))을 통해 서로 연결되고 신호(예: 명령 또는 데이터)를 상호간에 교환할 수 있다.At least some of the components are connected to each other through a communication method between peripheral devices (e.g., bus, general purpose input and output (GPIO), serial peripheral interface (SPI), or mobile industry processor interface (MIPI)) and signal ( (e.g. commands or data) can be exchanged with each other.

일 예에 따르면, 명령 또는 데이터는 제 2 네트워크(1599)에 연결된 서버(1508)를 통해서 전자 장치(1501)와 외부의 전자 장치(1504)간에 송신 또는 수신될 수 있다. 외부의 전자 장치(1502, 또는 1504) 각각은 전자 장치(1501)와 동일한 또는 다른 종류의 장치일 수 있다. 일 예에 따르면, 전자 장치(1501)에서 실행되는 동작들의 전부 또는 일부는 외부의 전자 장치들(1502, 1504, 또는 1508) 중 하나 이상의 외부의 전자 장치들에서 실행될 수 있다. 예를 들면, 전자 장치(1501)가 어떤 기능이나 서비스를 자동으로, 또는 사용자 또는 다른 장치로부터의 요청에 반응하여 수행해야 할 경우에, 전자 장치(1501)는 기능 또는 서비스를 자체적으로 실행시키는 대신에 또는 추가적으로, 하나 이상의 외부의 전자 장치들에게 그 기능 또는 그 서비스의 적어도 일부를 수행하라고 요청할 수 있다. 상기 요청을 수신한 하나 이상의 외부의 전자 장치들은 요청된 기능 또는 서비스의 적어도 일부, 또는 상기 요청과 관련된 추가 기능 또는 서비스를 실행하고, 그 실행의 결과를 전자 장치(1501)로 전달할 수 있다. 전자 장치(1501)는 상기 결과를, 그대로 또는 추가적으로 처리하여, 상기 요청에 대한 응답의 적어도 일부로서 제공할 수 있다. 이를 위하여, 예를 들면, 클라우드 컴퓨팅, 분산 컴퓨팅, 모바일 에지 컴퓨팅(MEC: mobile edge computing), 또는 클라이언트-서버 컴퓨팅 기술이 이용될 수 있다. 전자 장치(1501)는, 예를 들어, 분산 컴퓨팅 또는 모바일 에지 컴퓨팅을 이용하여 초저지연 서비스를 제공할 수 있다. 다른 예에 있어서, 외부의 전자 장치(1504)는 IoT(internet of things) 기기를 포함할 수 있다. 서버(1508)는 기계 학습 및/또는 신경망을 이용한 지능형 서버일 수 있다. 일 예에 따르면, 외부의 전자 장치(1504) 또는 서버(1508)는 제 2 네트워크(1599) 내에 포함될 수 있다. 전자 장치(1501)는 5G 통신 기술 및 IoT 관련 기술을 기반으로 지능형 서비스(예: 스마트 홈, 스마트 시티, 스마트 카, 또는 헬스 케어)에 적용될 수 있다.According to one example, commands or data may be transmitted or received between the electronic device 1501 and an external electronic device 1504 through the server 1508 connected to the second network 1599. Each of the external electronic devices 1502 or 1504 may be of the same or different type as the electronic device 1501. According to one example, all or part of the operations performed in the electronic device 1501 may be executed in one or more of the external electronic devices 1502, 1504, or 1508. For example, when the electronic device 1501 needs to perform a certain function or service automatically or in response to a request from a user or another device, the electronic device 1501 may perform the function or service instead of executing the function or service on its own. Alternatively, or additionally, one or more external electronic devices may be requested to perform at least part of the function or service. One or more external electronic devices that have received the request may execute at least part of the requested function or service, or an additional function or service related to the request, and transmit the result of the execution to the electronic device 1501. The electronic device 1501 may process the result as is or additionally and provide it as at least part of a response to the request. For this purpose, for example, cloud computing, distributed computing, mobile edge computing (MEC), or client-server computing technology can be used. The electronic device 1501 may provide an ultra-low latency service using, for example, distributed computing or mobile edge computing. In another example, the external electronic device 1504 may include an Internet of Things (IoT) device. Server 1508 may be an intelligent server using machine learning and/or neural networks. According to one example, an external electronic device 1504 or a server 1508 may be included in the second network 1599. The electronic device 1501 may be applied to intelligent services (e.g., smart home, smart city, smart car, or healthcare) based on 5G communication technology and IoT-related technology.

이하, 도 16의 사용자 단말(1601)는 도 1의 전자 장치(예: 제1 전자 장치(101), 제2 전자 장치(102), 또는 제3 전자 장치(103)), 도 9의 전자 장치(901), 도 14a 내지 도 14d의 스피커(1401), TV(1403), 또는 냉장고(1405)에 대응될 수 있다. 도 16의 지능형 서버(1700)는 도 1의 서버(예: 제1 서버(110) 또는 제2 서버(120)), 도 2의 제1 서버(110), 제2 서버(120), 또는 제3 서버(130), 도 9의 서버(903), 도 14a 내지 도 14d의 제1 서버(1410) 또는 제2 서버(1420)에 대응될 수 있다.Hereinafter, the user terminal 1601 of FIG. 16 refers to the electronic device of FIG. 1 (e.g., the first electronic device 101, the second electronic device 102, or the third electronic device 103) or the electronic device of FIG. 9. 901, may correspond to the speaker 1401, TV 1403, or refrigerator 1405 of FIGS. 14A to 14D. The intelligent server 1700 of FIG. 16 is the server of FIG. 1 (e.g., the first server 110 or the second server 120), the first server 110, the second server 120 of FIG. 2, or the second server 1700 of FIG. 3 may correspond to server 130, server 903 of FIG. 9, and first server 1410 or second server 1420 of FIGS. 14A to 14D.

도 16은 일 예에 따른 통합 지능 (integrated intelligence) 시스템을 나타낸 블록도이다.Figure 16 is a block diagram showing an integrated intelligence system according to an example.

도 16을 참조하면, 일 예의 통합 지능 시스템은 사용자 단말(1601), 지능형 서버(1700), 및 서비스 서버(1800)를 포함할 수 있다. Referring to FIG. 16, an example integrated intelligence system may include a user terminal 1601, an intelligent server 1700, and a service server 1800.

일 예의 사용자 단말(1601)(예: 도 15의 전자 장치(1501))은, 인터넷에 연결 가능한 단말 장치(또는, 전자 장치)일 수 있으며, 예를 들어, 휴대폰, 스마트폰, PDA(personal digital assistant), 노트북 컴퓨터, TV(television), 백색 가전, 웨어러블 장치, HMD (head mounted device), 또는 스마트 스피커일 수 있다.The user terminal 1601 (e.g., the electronic device 1501 in FIG. 15) may be a terminal device (or electronic device) capable of connecting to the Internet, for example, a mobile phone, a smartphone, or a personal digital assistant (PDA). assistant), a laptop computer, a television (TV), a white appliance, a wearable device, a head mounted device (HMD), or a smart speaker.

도시된 예에 따르면, 사용자 단말(1601)은 통신 인터페이스(1690), 마이크(1670), 스피커(1655), 디스플레이(1660), 메모리(1630), 및/또는 프로세서(1620)를 포함할 수 있다. 상기 열거된 구성요소들은 서로 작동적으로 또는 전기적으로 연결될 수 있다.According to the example shown, the user terminal 1601 may include a communication interface 1690, a microphone 1670, a speaker 1655, a display 1660, a memory 1630, and/or a processor 1620. . The components listed above may be operatively or electrically connected to each other.

통신 인터페이스(1690)(예: 도 15의 통신 모듈(1590))는 외부 장치와 연결되어 데이터를 송수신하도록 구성될 수 있다. 마이크(1670)(예: 도 15의 오디오 모듈(1570))는 소리(예: 사용자 발화)를 수신하여, 전기적 신호로 변환할 수 있다. 스피커(1655)(예: 도 15의 음향 출력 모듈(1555))는 전기적 신호를 소리(예: 음성)로 출력할 수 있다. 디스플레이(1660)(예: 도 15의 디스플레이 모듈(1560))는 이미지 또는 비디오를 표시하도록 구성될 수 있다. 일 예의 디스플레이(1660)는 또한 실행되는 앱(app)(또는, 어플리케이션 프로그램(application program))의 그래픽 사용자 인터페이스(graphic user interface, GUI)를 표시할 수 있다.The communication interface 1690 (e.g., the communication module 1590 in FIG. 15) may be connected to an external device and configured to transmit and receive data. The microphone 1670 (e.g., the audio module 1570 in FIG. 15) may receive sound (e.g., a user's speech) and convert it into an electrical signal. The speaker 1655 (e.g., the sound output module 1555 in FIG. 15) may output an electrical signal as sound (e.g., voice). Display 1660 (e.g., display module 1560 in FIG. 15) may be configured to display images or video. The example display 1660 may also display a graphic user interface (GUI) of an app (or application program) being executed.

일 예의 메모리(1630)(예: 도 15의 메모리(1530))는 클라이언트 모듈(1631), SDK(software development kit)(1633), 및 복수의 어플리케이션들을 저장할 수 있다. 상기 클라이언트 모듈(1631), 및 SDK(1633)는 범용적인 기능을 수행하기 위한 프레임워크(framework)(또는, 솔루션 프로그램)를 구성할 수 있다. 또한, 클라이언트 모듈(1631) 또는 SDK(1633)는 음성 입력을 처리하기 위한 프레임워크를 구성할 수 있다.An example memory 1630 (e.g., memory 1530 of FIG. 15) may store a client module 1631, a software development kit (SDK) 1633, and a plurality of applications. The client module 1631 and SDK 1633 may form a framework (or solution program) for performing general functions. Additionally, the client module 1631 or SDK 1633 may configure a framework for processing voice input.

상기 복수의 어플리케이션들(예: 1635a, 1635b)은 지정된 기능을 수행하기 위한 프로그램일 수 있다. 일 예에 따르면, 복수의 어플리케이션들은 제1 앱(1635a), 및/또는 제2 앱(1635b)을 포함할 수 있다. 일 예에 따르면, 복수의 어플리케이션들 각각은 지정된 기능을 수행하기 위한 복수의 동작들을 포함할 수 있다. 예를 들어, 상기 어플리케이션들은, 알람 앱, 메시지 앱, 및/또는 스케줄 앱을 포함할 수 있다. 일 예에 따르면, 복수의 어플리케이션들은 프로세서(1620)에 의해 실행되어 상기 복수의 동작들 중 적어도 일부를 순차적으로 실행할 수 있다. The plurality of applications (eg, 1635a, 1635b) may be programs for performing designated functions. According to one example, the plurality of applications may include a first app 1635a and/or a second app 1635b. According to one example, each of a plurality of applications may include a plurality of operations to perform a designated function. For example, the applications may include an alarm app, a messaging app, and/or a schedule app. According to one example, a plurality of applications are executed by the processor 1620 to sequentially execute at least some of the plurality of operations.

일 예의 프로세서(1620)는 사용자 단말(1601)의 전반적인 동작을 제어할 수 있다. 예를 들어, 프로세서(1620)는 통신 인터페이스(1690), 마이크(1670), 스피커(1655), 및 디스플레이(1660)와 전기적으로 연결되어 지정된 동작을 수행할 수 있다. 예를 들어, 프로세서(1620)는 적어도 하나의 프로세서를 포함할 수 있다.In one example, the processor 1620 may control the overall operation of the user terminal 1601. For example, the processor 1620 may be electrically connected to the communication interface 1690, microphone 1670, speaker 1655, and display 1660 to perform designated operations. For example, processor 1620 may include at least one processor.

일 예의 프로세서(1620)는 또한 상기 메모리(1630)에 저장된 프로그램을 실행하여 지정된 기능을 수행할 수 있다. 예를 들어, 프로세서(1620)는 클라이언트 모듈(1631) 또는 SDK(1633) 중 적어도 하나를 실행하여, 음성 입력을 처리하기 위한 이하의 동작을 수행할 수 있다. 프로세서(1620)는, 예를 들어, SDK(1633)를 통해 복수의 어플리케이션들의 동작을 제어할 수 있다. 클라이언트 모듈(1631) 또는 SDK(1633)의 동작으로 설명된 이하의 동작들은 프로세서(1620)의 실행에 의하여 수행되는 동작일 수 있다.The example processor 1620 may also execute a program stored in the memory 1630 to perform a designated function. For example, the processor 1620 may execute at least one of the client module 1631 or the SDK 1633 and perform the following operations for processing voice input. The processor 1620 may control the operation of multiple applications through, for example, the SDK 1633. The following operations described as operations of the client module 1631 or SDK 1633 may be operations performed by execution of the processor 1620.

일 예의 클라이언트 모듈(1631)은 음성 입력을 수신할 수 있다. 예를 들어, 클라이언트 모듈(1631)은 마이크(1670)를 통해 감지된 사용자 발화에 대응되는 음성 신호를 수신할 수 있다. 상기 클라이언트 모듈(1631)은 수신된 음성 입력(예: 음성 신호)을 지능형 서버(1700)로 송신할 수 있다. 클라이언트 모듈(1631)은 수신된 음성 입력과 함께, 사용자 단말(1601)의 상태 정보를 지능형 서버(1700)로 송신할 수 있다. 상기 상태 정보는, 예를 들어, 앱의 실행 상태 정보일 수 있다.One example client module 1631 can receive voice input. For example, the client module 1631 may receive a voice signal corresponding to a user utterance detected through the microphone 1670. The client module 1631 may transmit the received voice input (eg, voice signal) to the intelligent server 1700. The client module 1631 may transmit status information of the user terminal 1601 to the intelligent server 1700 along with the received voice input. The status information may be, for example, execution status information of an app.

일 예의 클라이언트 모듈(1631)은 수신된 음성 입력에 대응되는 결과를 지능형 서버(1700)로부터 수신할 수 있다. 예를 들어, 클라이언트 모듈(1631)은 지능형 서버(1700)에서 상기 수신된 음성 입력에 대응되는 결과를 산출할 수 있는 경우, 수신된 음성 입력에 대응되는 결과를 수신할 수 있다. 클라이언트 모듈(1631)은 상기 수신된 결과를 디스플레이(1660)에 표시할 수 있다.As an example, the client module 1631 may receive a result corresponding to the received voice input from the intelligent server 1700. For example, when the intelligent server 1700 can calculate a result corresponding to the received voice input, the client module 1631 can receive a result corresponding to the received voice input. The client module 1631 may display the received result on the display 1660.

일 예의 클라이언트 모듈(1631)은 수신된 음성 입력에 대응되는 플랜을 수신할 수 있다. 클라이언트 모듈(1631)은 플랜에 따라 앱의 복수의 동작을 실행한 결과를 디스플레이(1660)에 표시할 수 있다. 클라이언트 모듈(1631)은, 예를 들어, 복수의 동작의 실행 결과를 순차적으로 디스플레이에 표시할 수 있다. 사용자 단말(1601)은, 다른 예를 들어, 복수의 동작을 실행한 일부 결과(예: 마지막 동작의 결과)만을 디스플레이에 표시할 수 있다.The example client module 1631 may receive a plan corresponding to the received voice input. The client module 1631 can display the results of executing multiple operations of the app according to the plan on the display 1660. For example, the client module 1631 may sequentially display execution results of a plurality of operations on a display. For another example, the user terminal 1601 may display only some results of executing a plurality of operations (eg, the result of the last operation) on the display.

일 예에 따르면, 클라이언트 모듈(1631)은 지능형 서버(1700)로부터 음성 입력에 대응되는 결과를 산출하기 위해 필요한 정보를 획득하기 위한 요청을 수신할 수 있다. 일 예에 따르면, 클라이언트 모듈(1631)은 상기 요청에 대응하여 상기 필요한 정보를 지능형 서버(1700)로 송신할 수 있다.According to one example, the client module 1631 may receive a request to obtain information necessary to calculate a result corresponding to a voice input from the intelligent server 1700. According to one example, the client module 1631 may transmit the necessary information to the intelligent server 1700 in response to the request.

일 예의 클라이언트 모듈(1631)은 플랜에 따라 복수의 동작을 실행한 결과 정보를 지능형 서버(1700)로 송신할 수 있다. 지능형 서버(1700)는 상기 결과 정보를 이용하여 수신된 음성 입력이 올바르게 처리된 것을 확인할 수 있다.As an example, the client module 1631 may transmit information as a result of executing a plurality of operations according to the plan to the intelligent server 1700. The intelligent server 1700 can use the result information to confirm that the received voice input has been processed correctly.

일 예의 클라이언트 모듈(1631)은 음성 인식 모듈을 포함할 수 있다. 일 예에 따르면, 클라이언트 모듈(1631)은 상기 음성 인식 모듈을 통해 제한된 기능을 수행하는 음성 입력을 인식할 수 있다. 예를 들어, 클라이언트 모듈(1631)은 지정된 음성 입력(예: 웨이크 업!)에 대응하여 유기적인 동작을 수행함으로써 음성 입력을 처리하기 위한 지능형 앱을 실행할 수 있다. One example client module 1631 may include a voice recognition module. According to one example, the client module 1631 can recognize voice input that performs a limited function through the voice recognition module. For example, the client module 1631 may execute an intelligent app for processing voice input by performing an organic action in response to a designated voice input (e.g., wake up!).

일 예의 지능형 서버(1700)는 네트워크(1699)(예: 도 15의 제1 네트워크(1598) 및/또는 제2 네트워크(1599))를 통해 사용자 단말(1601)로부터 사용자 음성 입력과 관련된 정보를 수신할 수 있다. 일 예에 따르면, 지능형 서버(1700)는 수신된 음성 입력과 관련된 데이터를 텍스트 데이터(text data)로 변경할 수 있다. 일 예에 따르면, 지능형 서버(1700)는 상기 텍스트 데이터에 기초하여 사용자 음성 입력과 대응되는 태스크(task)를 수행하기 위한 적어도 하나의 플랜(plan)을 생성할 수 있다The example intelligent server 1700 receives information related to the user's voice input from the user terminal 1601 through the network 1699 (e.g., the first network 1598 and/or the second network 1599 in FIG. 15). can do. According to one example, the intelligent server 1700 may change data related to the received voice input into text data. According to one example, the intelligent server 1700 may generate at least one plan for performing a task corresponding to a user's voice input based on the text data.

일 예에 따르면, 플랜은 인공 지능(artificial intelligent)(AI) 시스템에 의해 생성될 수 있다. 인공지능 시스템은 룰 베이스 시스템(rule-based system) 일 수도 있고, 신경망 베이스 시스템(neural network-based system)(예: 피드포워드 신경망(feedforward neural network(FNN)), 및/또는 순환 신경망(recurrent neural network(RNN))) 일 수도 있다. 또는, 전술한 것의 조합 또는 이와 다른 인공지능 시스템일 수도 있다. 일 예에 따르면, 플랜은 미리 정의된 플랜들의 집합에서 선택될 수 있거나, 사용자 요청에 응답하여 실시간으로 생성될 수 있다. 예를 들어, 인공지능 시스템은 미리 정의 된 복수의 플랜들 중 적어도 하나의 플랜을 선택할 수 있다.According to one example, the plan may be generated by an artificial intelligence (AI) system. An artificial intelligence system may be a rule-based system, a neural network-based system (e.g., a feedforward neural network (FNN)), and/or a recurrent neural network. network(RNN))). Alternatively, it may be a combination of the above or a different artificial intelligence system. According to one example, a plan may be selected from a set of predefined plans or may be generated in real time in response to a user request. For example, an artificial intelligence system can select at least one plan from a plurality of predefined plans.

일 예의 지능형 서버(1700)는 생성된 플랜에 따른 결과를 사용자 단말(1601)로 송신하거나, 생성된 플랜을 사용자 단말(1601)로 송신할 수 있다. 일 예에 따르면, 사용자 단말(1601)은 플랜에 따른 결과를 디스플레이(1660)에 표시할 수 있다. 일 예에 따르면, 사용자 단말(1601)은 플랜에 따른 동작을 실행한 결과를 디스플레이(1660)에 표시할 수 있다.As an example, the intelligent server 1700 may transmit a result according to the generated plan to the user terminal 1601 or transmit the generated plan to the user terminal 1601. According to one example, the user terminal 1601 may display results according to the plan on the display 1660. According to one example, the user terminal 1601 may display the results of executing an operation according to the plan on the display 1660.

일 예의 지능형 서버(1700)는 프론트 엔드(front end)(1710), 자연어 플랫폼(natural language platform)(1720), 캡슐 데이터베이스(capsule database)(1730), 실행 엔진(execution engine)(1740), 엔드 유저 인터페이스(end user interface)(1750), 매니지먼트 플랫폼(management platform)(1760), 빅 데이터 플랫폼(big data platform)(1770), 또는 분석 플랫폼(analytic platform)(1780)을 포함할 수 있다.An example intelligent server 1700 includes a front end 1710, a natural language platform 1720, a capsule database 1730, an execution engine 1740, an end It may include an end user interface (1750), a management platform (1760), a big data platform (1770), or an analytic platform (1780).

일 예의 프론트 엔드(1710)는 사용자 단말(1601)에 의하여 수신된 음성 입력을 사용자 단말(1601)로부터 수신할 수 있다. 프론트 엔드(1710)는 상기 음성 입력에 대응되는 응답을 사용자 단말(1601)로 송신할 수 있다.As an example, the front end 1710 may receive a voice input received by the user terminal 1601 from the user terminal 1601 . The front end 1710 may transmit a response corresponding to the voice input to the user terminal 1601.

일 예에 따르면, 자연어 플랫폼(1720)은 자동 음성 인식 모듈(automatic speech recognition module)(ASR module)(1721), 자연어 이해 모듈(natural language understanding module)(NLU module)(1723), 플래너 모듈(planner module)(1725), 자연어 생성 모듈(natural language generator module)(NLG module)(1727), 및/또는 텍스트 음성 변환 모듈(text to speech module)(TTS module)(1729)을 포함할 수 있다.According to one example, the natural language platform 1720 includes an automatic speech recognition module (ASR module) 1721, a natural language understanding module (NLU module) 1723, and a planner module. module) (1725), a natural language generator module (NLG module) (1727), and/or a text to speech module (TTS module) (1729).

일 예의 자동 음성 인식 모듈(1721)은 사용자 단말(1601)로부터 수신된 음성 입력을 텍스트 데이터로 변환할 수 있다. 일 예의 자연어 이해 모듈(1723)은 음성 입력의 텍스트 데이터를 이용하여 사용자의 의도를 파악할 수 있다. 예를 들어, 자연어 이해 모듈(1723)은 문법적 분석(syntactic analyze) 및/또는 의미적 분석(semantic analyze)을 수행하여 사용자의 의도를 파악할 수 있다. 일 예의 자연어 이해 모듈(1723)은 형태소 또는 구의 언어적 특징(예: 문법적 요소)을 이용하여 음성 입력으로부터 추출된 단어의 의미를 파악하고, 상기 파악된 단어의 의미를 의도에 매칭시켜 사용자의 의도를 결정할 수 있다.As an example, the automatic voice recognition module 1721 may convert voice input received from the user terminal 1601 into text data. As an example, the natural language understanding module 1723 may determine the user's intention using text data of voice input. For example, the natural language understanding module 1723 may perform syntactic analysis and/or semantic analysis to determine the user's intention. As an example, the natural language understanding module 1723 uses linguistic features (e.g., grammatical elements) of morphemes or phrases to determine the meaning of words extracted from voice input, and matches the meaning of the identified word to the intention to determine the user's intention. can be decided.

일 예의 플래너 모듈(1725)은 자연어 이해 모듈(1723)에서 결정된 의도 및 파라미터를 이용하여 플랜을 생성할 수 있다. 일 예에 따르면, 플래너 모듈(1725)은 상기 결정된 의도에 기초하여 태스크를 수행하기 위해 필요한 복수의 도메인을 결정할 수 있다. 플래너 모듈(1725)은 상기 의도에 기초하여 결정된 복수의 도메인 각각에 포함된 복수의 동작을 결정할 수 있다. 일 예에 따르면, 플래너 모듈(1725)은 상기 결정된 복수의 동작을 실행하는데 필요한 파라미터나, 상기 복수의 동작의 실행에 의해 출력되는 결과 값을 결정할 수 있다. 상기 파라미터, 및 상기 결과 값은 지정된 형식(또는, 클래스)의 컨셉으로 정의될 수 있다. 이에 따라, 플랜은 사용자의 의도에 의해 결정된 복수의 동작, 및/또는 복수의 컨셉을 포함할 수 있다. 상기 플래너 모듈(1725)은 상기 복수의 동작, 및 상기 복수의 컨셉 사이의 관계를 단계적(또는, 계층적)으로 결정할 수 있다. 예를 들어, 플래너 모듈(1725)은 복수의 컨셉에 기초하여 사용자의 의도에 기초하여 결정된 복수의 동작의 실행 순서를 결정할 수 있다. 다시 말해, 플래너 모듈(1725)은 복수의 동작의 실행에 필요한 파라미터, 및 복수의 동작의 실행에 의해 출력되는 결과에 기초하여, 복수의 동작의 실행 순서를 결정할 수 있다. 이에 따라, 플래너 모듈(1725)은 복수의 동작 및 복수의 컨셉 사이의 연관 정보(예: 온톨로지(ontology))가 포함된 플랜을 생성할 수 있다. 상기 플래너 모듈(1725)은 컨셉과 동작의 관계들의 집합이 저장된 캡슐 데이터베이스(1730)에 저장된 정보를 이용하여 플랜을 생성할 수 있다. As an example, the planner module 1725 may generate a plan using the intent and parameters determined by the natural language understanding module 1723. According to one example, the planner module 1725 may determine a plurality of domains required to perform a task based on the determined intention. The planner module 1725 may determine a plurality of operations included in each of the plurality of domains determined based on the intention. According to one example, the planner module 1725 may determine parameters required to execute the determined plurality of operations or result values output by executing the plurality of operations. The parameters and the result values may be defined as concepts of a specified type (or class). Accordingly, the plan may include a plurality of operations and/or a plurality of concepts determined by the user's intention. The planner module 1725 may determine the relationship between the plurality of operations and the plurality of concepts in a stepwise (or hierarchical) manner. For example, the planner module 1725 may determine the execution order of a plurality of operations determined based on the user's intention based on a plurality of concepts. In other words, the planner module 1725 may determine the execution order of the plurality of operations based on the parameters required for execution of the plurality of operations and the results output by the execution of the plurality of operations. Accordingly, the planner module 1725 may generate a plan that includes association information (eg, ontology) between a plurality of operations and a plurality of concepts. The planner module 1725 can create a plan using information stored in the capsule database 1730, which stores a set of relationships between concepts and operations.

일 예의 자연어 생성 모듈(1727)은 지정된 정보를 텍스트 형태로 변경할 수 있다. 상기 텍스트 형태로 변경된 정보는 자연어 발화의 형태일 수 있다. 일 예의 텍스트 음성 변환 모듈(1729)은 텍스트 형태의 정보를 음성 형태의 정보로 변경할 수 있다.As an example, the natural language generation module 1727 may change designated information into text form. The information changed to the text form may be in the form of natural language speech. As an example, the text-to-speech conversion module 1729 can change information in text form into information in voice form.

일 예에 따르면, 자연어 플랫폼(1720)의 기능의 일부 기능 또는 전체 기능은 사용자 단말(1601)에서도 구현가능 할 수 있다. 예를 들어, 사용자 단말(1601)이 자동 음성 인식 모듈 및/또는 자연어 이해 모듈을 포함할 수 있다. 사용자 단말(1601)이 사용자 음성 명령을 인식한 뒤, 인식된 음성 명령에 대응하는 텍스트 정보를 지능형 서버(1700)로 송신할 수 있다. 예를 들어, 사용자 단말(1601)이 텍스트 음성 변환 모듈을 포함할 수 있다. 사용자 단말(1601)이 지능형 서버(1700)로부터 텍스트 정보를 수신하고, 수신된 텍스트 정보를 음성으로 출력할 수 있다. According to one example, some or all of the functions of the natural language platform 1720 may also be implemented in the user terminal 1601. For example, the user terminal 1601 may include an automatic speech recognition module and/or a natural language understanding module. After the user terminal 1601 recognizes the user's voice command, it can transmit text information corresponding to the recognized voice command to the intelligent server 1700. For example, the user terminal 1601 may include a text-to-speech module. The user terminal 1601 may receive text information from the intelligent server 1700 and output the received text information as voice.

상기 캡슐 데이터베이스(1730)는 복수의 도메인에 대응되는 복수의 컨셉과 동작들의 관계에 대한 정보를 저장할 수 있다. 일 예에 따른 캡슐은 플랜에 포함된 복수의 동작 오브젝트(action object)(또는 동작 정보) 및/또는 컨셉 오브젝트(concept object)(또는 컨셉 정보)를 포함할 수 있다. 일 예에 따르면, 캡슐 데이터베이스(1730)는 CAN(concept action network)의 형태로 복수의 캡슐을 저장할 수 있다. 일 예에 따르면, 복수의 캡슐은 캡슐 데이터베이스(1730)에 포함된 기능 저장소(function registry)에 저장될 수 있다.The capsule database 1730 may store information about the relationship between a plurality of concepts and operations corresponding to a plurality of domains. A capsule according to an example may include a plurality of action objects (or action information) and/or concept objects (or concept information) included in the plan. According to one example, the capsule database 1730 may store a plurality of capsules in the form of CAN (concept action network). According to one example, a plurality of capsules may be stored in a function registry included in the capsule database 1730.

상기 캡슐 데이터베이스(1730)는 음성 입력에 대응되는 플랜을 결정할 때 필요한 전략 정보가 저장된 전략 레지스트리(strategy registry)를 포함할 수 있다. 상기 전략 정보는 음성 입력에 대응되는 복수의 플랜이 있는 경우, 하나의 플랜을 결정하기 위한 기준 정보를 포함할 수 있다. 일 예에 따르면, 캡슐 데이터베이스(1730)는 지정된 상황에서 사용자에게 후속 동작을 제안하기 위한 후속 동작의 정보가 저장된 후속 동작 레지스트리(follow up registry)를 포함할 수 있다. 상기 후속 동작은, 예를 들어, 후속 발화를 포함할 수 있다. 일 예에 따르면, 캡슐 데이터베이스(1730)는 사용자 단말(1601)을 통해 출력되는 정보의 레이아웃(layout) 정보를 저장하는 레이아웃 레지스트리(layout registry)를 포함할 수 있다. 일 예에 따르면, 캡슐 데이터베이스(1730)는 캡슐 정보에 포함된 어휘(vocabulary) 정보가 저장된 어휘 레지스트리(vocabulary registry)를 포함할 수 있다. 일 예에 따르면, 캡슐 데이터베이스(1730)는 사용자와의 대화(dialog)(또는, 인터렉션(interaction)) 정보가 저장된 대화 레지스트리(dialog registry)를 포함할 수 있다. 상기 캡슐 데이터베이스(1730)는 개발자 툴(developer tool)을 통해 저장된 오브젝트를 업데이트(update)할 수 있다. 상기 개발자 툴은, 예를 들어, 동작 오브젝트 또는 컨셉 오브젝트를 업데이트하기 위한 기능 에디터(function editor)를 포함할 수 있다. 상기 개발자 툴은 어휘를 업데이트하기 위한 어휘 에디터(vocabulary editor)를 포함할 수 있다. 상기 개발자 툴은 플랜을 결정하는 전략을 생성 및 등록 하는 전략 에디터(strategy editor)를 포함할 수 있다. 상기 개발자 툴은 사용자와의 대화를 생성하는 대화 에디터(dialog editor)를 포함할 수 있다. 상기 개발자 툴은 후속 목표를 활성화하고, 힌트를 제공하는 후속 발화를 편집할 수 있는 후속 동작 에디터(follow up editor)를 포함할 수 있다. 상기 후속 목표는 현재 설정된 목표, 사용자의 선호도 또는 환경 조건에 기초하여 결정될 수 있다. 일 예에서는 캡슐 데이터베이스(1730)가 사용자 단말(1601) 내에도 구현될 수 있다.The capsule database 1730 may include a strategy registry in which strategy information necessary for determining a plan corresponding to a voice input is stored. The strategy information may include standard information for determining one plan when there are multiple plans corresponding to voice input. According to one example, the capsule database 1730 may include a follow up registry in which information on follow-up actions is stored to suggest follow-up actions to the user in a specified situation. The follow-up action may include, for example, follow-up speech. According to one example, the capsule database 1730 may include a layout registry that stores layout information of information output through the user terminal 1601. According to one example, the capsule database 1730 may include a vocabulary registry where vocabulary information included in capsule information is stored. According to one example, the capsule database 1730 may include a dialogue registry in which information about a dialogue (or interaction) with a user is stored. The capsule database 1730 can update stored objects through a developer tool. The developer tool may include, for example, a function editor for updating operation objects or concept objects. The developer tool may include a vocabulary editor for updating the vocabulary. The developer tool may include a strategy editor that creates and registers a strategy for determining the plan. The developer tool may include a dialogue editor that creates a dialogue with the user. The developer tool may include a follow up editor that can edit follow-up utterances to activate follow-up goals and provide hints. The subsequent goal may be determined based on currently set goals, user preferences, or environmental conditions. In one example, the capsule database 1730 may also be implemented within the user terminal 1601.

일 예의 실행 엔진(1740)은 상기 생성된 플랜을 이용하여 결과를 산출할 수 있다. 엔드 유저 인터페이스(1750)는 산출된 결과를 사용자 단말(1601)로 송신할 수 있다. 이에 따라, 사용자 단말(1601)은 상기 결과를 수신하고, 상기 수신된 결과를 사용자에게 제공할 수 있다. 일 예의 매니지먼트 플랫폼(1760)은 지능형 서버(1700)에서 이용되는 정보를 관리할 수 있다. 일 예의 빅 데이터 플랫폼(1770)은 사용자의 데이터를 수집할 수 있다. 일 예의 분석 플랫폼(1780)은 지능형 서버(1700)의 QoS(quality of service)를 관리할 수 있다. 예를 들어, 분석 플랫폼(1780)은 지능형 서버(1700)의 구성 요소 및 처리 속도(또는, 효율성)를 관리할 수 있다.The example execution engine 1740 may calculate a result using the generated plan. The end user interface 1750 may transmit the calculated result to the user terminal 1601. Accordingly, the user terminal 1601 can receive the result and provide the received result to the user. An example management platform 1760 can manage information used by the intelligent server 1700. An example big data platform 1770 may collect user data. An example analysis platform 1780 may manage quality of service (QoS) of the intelligent server 1700. For example, analytics platform 1780 may manage the components and processing speed (or efficiency) of intelligent server 1700.

일 예의 서비스 서버(1800)는 사용자 단말(1601)에 지정된 서비스(예: 음식 주문 또는 호텔 예약)를 제공할 수 있다. 일 예에 따르면, 서비스 서버(1800)는 제3 자에 의해 운영되는 서버일 수 있다. 일 예의 서비스 서버(1800)는 수신된 음성 입력에 대응되는 플랜을 생성하기 위한 정보를 지능형 서버(1700)에 제공할 수 있다. 상기 제공된 정보는 캡슐 데이터베이스(1730)에 저장될 수 있다. 또한, 서비스 서버(1800)는 플랜에 따른 결과 정보를 지능형 서버(1700)에 제공할 수 있다. 서비스 서버(1800)는 네트워크(1699)를 통하여 지능형 서버(1700) 및/또는 사용자 단말(1601)과 통신할 수 있다. 서비스 서버(1800)는 별도의 연결을 통하여 지능형 서버(1700)와 통신할 수 있다. 도 16에는 서비스 서버(1800)가 하나의 서버로 도시되어 있으나, 본 문서의 실시예들이 이에 제한되는 것은 아니다. 서비스 서버(1800)의 각각의 서비스(1801, 1802, 및 1803)들 중 적어도 하나는 별도의 서버로 구현될 수 있다. In one example, the service server 1800 may provide a designated service (eg, food ordering or hotel reservation) to the user terminal 1601. According to one example, the service server 1800 may be a server operated by a third party. As an example, the service server 1800 may provide the intelligent server 1700 with information for creating a plan corresponding to the received voice input. The provided information may be stored in the capsule database 1730. Additionally, the service server 1800 may provide result information according to the plan to the intelligent server 1700. The service server 1800 may communicate with the intelligent server 1700 and/or the user terminal 1601 through the network 1699. The service server 1800 can communicate with the intelligent server 1700 through a separate connection. Although the service server 1800 is shown as one server in FIG. 16, the embodiments of this document are not limited thereto. At least one of the services 1801, 1802, and 1803 of the service server 1800 may be implemented as a separate server.

위에 기술된 통합 지능 시스템에서, 상기 사용자 단말(1601)은, 사용자 입력에 응답하여 사용자에게 다양한 인텔리전트 서비스를 제공할 수 있다. 상기 사용자 입력은, 예를 들어, 물리적 버튼을 통한 입력, 터치 입력 또는 음성 입력을 포함할 수 있다.In the integrated intelligence system described above, the user terminal 1601 can provide various intelligent services to the user in response to user input. The user input may include, for example, input through a physical button, touch input, or voice input.

일 예에서, 상기 사용자 단말(1601)은 내부에 저장된 지능형 앱(또는, 음성 인식 앱)을 통해 음성 인식 서비스를 제공할 수 있다. 이 경우, 예를 들어, 사용자 단말(1601)은 상기 마이크(1670)를 통해 수신된 사용자 발화(utterance) 또는 음성 입력(voice input)을 인식하고, 인식된 음성 입력에 대응되는 서비스를 사용자에게 제공할 수 있다.In one example, the user terminal 1601 may provide a voice recognition service through an internally stored intelligent app (or voice recognition app). In this case, for example, the user terminal 1601 recognizes a user utterance or voice input received through the microphone 1670 and provides a service corresponding to the recognized voice input to the user. can do.

일 실시 예에서, 사용자 단말(1601)은 수신된 음성 입력에 기초하여, 단독으로 또는 상기 지능형 서버(1700) 및/또는 서비스 서버(1800)와 함께 지정된 동작을 수행할 수 있다. 예를 들어, 사용자 단말(1601)은 수신된 음성 입력에 대응되는 앱을 실행시키고, 실행된 앱을 통해 지정된 동작을 수행할 수 있다. In one embodiment, the user terminal 1601 may perform a designated operation alone or together with the intelligent server 1700 and/or the service server 1800 based on the received voice input. For example, the user terminal 1601 may run an app corresponding to a received voice input and perform a designated operation through the executed app.

일 예에서, 사용자 단말(1601)이 지능형 서버(1700) 및/또는 서비스 서버(1800)와 함께 서비스를 제공하는 경우에는, 상기 사용자 단말(1601)은, 상기 마이크(1670)를 이용하여 사용자 발화를 감지하고, 상기 감지된 사용자 발화에 대응되는 신호(또는, 음성 데이터)를 생성할 수 있다. 상기 사용자 단말(1601)은, 상기 음성 데이터를 통신 인터페이스(1690)를 이용하여 지능형 서버(1700)로 송신할 수 있다.In one example, when the user terminal 1601 provides a service together with the intelligent server 1700 and/or the service server 1800, the user terminal 1601 uses the microphone 1670 to make a user speech. may be detected, and a signal (or voice data) corresponding to the detected user utterance may be generated. The user terminal 1601 can transmit the voice data to the intelligent server 1700 using the communication interface 1690.

일 예에 따른 지능형 서버(1700)는 사용자 단말(1601)로부터 수신된 음성 입력에 대한 응답으로써, 음성 입력에 대응되는 태스크(task)를 수행하기 위한 플랜, 또는 상기 플랜에 따라 동작을 수행한 결과를 생성할 수 있다. 상기 플랜은, 예를 들어, 사용자의 음성 입력에 대응되는 태스크(task)를 수행하기 위한 복수의 동작 및/또는 상기 복수의 동작과 관련된 복수의 컨셉을 포함할 수 있다. 상기 컨셉은 상기 복수의 동작의 실행에 입력되는 파라미터나, 복수의 동작의 실행에 의해 출력되는 결과 값을 정의한 것일 수 있다. 상기 플랜은 복수의 동작 및/또는 복수의 컨셉 사이의 연관 정보를 포함할 수 있다.The intelligent server 1700 according to one example is a response to a voice input received from the user terminal 1601, a plan for performing a task corresponding to the voice input, or a result of performing an operation according to the plan. can be created. For example, the plan may include a plurality of operations for performing a task corresponding to a user's voice input and/or a plurality of concepts related to the plurality of operations. The concept may define parameters input to the execution of the plurality of operations or result values output by the execution of the plurality of operations. The plan may include association information between multiple operations and/or multiple concepts.

일 예의 사용자 단말(1601)은, 통신 인터페이스(1690)를 이용하여 상기 응답을 수신할 수 있다. 사용자 단말(1601)은 상기 스피커(1655)를 이용하여 사용자 단말(1601) 내부에서 생성된 음성 신호를 외부로 출력하거나, 디스플레이(1660)를 이용하여 사용자 단말(1601) 내부에서 생성된 이미지를 외부로 출력할 수 있다. As an example, the user terminal 1601 may receive the response using the communication interface 1690. The user terminal 1601 outputs a voice signal generated inside the user terminal 1601 to the outside using the speaker 1655, or outputs an image generated inside the user terminal 1601 to the outside using the display 1660. It can be output as .

도 17은 일 예에 따른, 컨셉과 동작의 관계 정보가 데이터베이스에 저장된 형태를 나타낸 도면이다.Figure 17 is a diagram showing how relationship information between concepts and actions is stored in a database, according to an example.

상기 지능형 서버(1700)의 캡슐 데이터베이스(예: 캡슐 데이터베이스(1730))는 CAN (concept action network) 형태로 캡슐을 저장할 수 있다. 상기 캡슐 데이터베이스는 사용자의 음성 입력에 대응되는 태스크를 처리하기 위한 동작, 및 상기 동작을 위해 필요한 파라미터를 CAN(concept action network) 형태로 저장될 수 있다.The capsule database (e.g., capsule database 1730) of the intelligent server 1700 may store capsules in CAN (concept action network) format. The capsule database may store operations for processing tasks corresponding to the user's voice input, and parameters necessary for the operations in CAN (concept action network) format.

상기 캡슐 데이터베이스는 복수의 도메인(예: 어플리케이션) 각각에 대응되는 복수의 캡슐(캡슐A(1731), 캡슐B(1734))을 저장할 수 있다. 일 예에 따르면, 하나의 캡슐(예: 캡슐A(1731))은 하나의 도메인(예: 위치(geo), 어플리케이션)에 대응될 수 있다. 또한, 하나의 캡슐에는 캡슐과 관련된 도메인에 대한 기능을 수행하기 위한 적어도 하나의 서비스 제공자의 캡슐(예: CP 1(1732), CP 2 (1733), CP3 (1735), 및/또는 CP4 (1736))이 대응될 수 있다. 일 예에 따르면, 하나의 캡슐은 지정된 기능을 수행하기 위한 적어도 하나 이상의 동작(1730a) 및 적어도 하나 이상의 컨셉(1730b)을 포함할 수 있다. The capsule database may store a plurality of capsules (capsule A 1731, capsule B 1734) corresponding to each of a plurality of domains (eg, applications). According to one example, one capsule (eg, capsule A 1731) may correspond to one domain (eg, location (geo), application). Additionally, one capsule contains at least one capsule of a service provider (e.g., CP 1 (1732), CP 2 (1733), CP3 (1735), and/or CP4 (1736) to perform functions for the domain associated with the capsule. )) can correspond. According to one example, one capsule may include at least one operation 1730a and at least one concept 1730b for performing a designated function.

상기, 자연어 플랫폼(1720)은 캡슐 데이터베이스(1730)에 저장된 캡슐을 이용하여 수신된 음성 입력에 대응하는 태스크를 수행하기 위한 플랜을 생성할 수 있다. 예를 들어, 자연어 플랫폼의 플래너 모듈(1725)은 캡슐 데이터베이스에 저장된 캡슐을 이용하여 플랜을 생성할 수 있다. 예를 들어, 캡슐 A(1731) 의 동작들(1731a, 1732a)과 컨셉들(1731b, 1732b) 및 캡슐 B(1734)의 동작(1734a)과 컨셉(1734b)을 이용하여 플랜(1737)을 생성할 수 있다. The natural language platform 1720 may create a plan for performing a task corresponding to the received voice input using the capsule stored in the capsule database 1730. For example, the planner module 1725 of the natural language platform can create a plan using capsules stored in the capsule database. For example, create a plan 1737 using the operations 1731a, 1732a and concepts 1731b, 1732b of capsule A 1731 and the operations 1734a and concept 1734b of capsule B 1734. can do.

도 18은 일 예에 따른 사용자 단말이 지능형 앱을 통해 수신된 음성 입력을 처리하는 화면을 나타낸 도면이다.Figure 18 is a diagram illustrating a screen in which a user terminal processes voice input received through an intelligent app according to an example.

사용자 단말(1601)은 지능형 서버(1700)를 통해 사용자 입력을 처리하기 위해 지능형 앱을 실행할 수 있다.The user terminal 1601 can run an intelligent app to process user input through the intelligent server 1700.

일 예에 따르면, 제1 화면(1610)에서, 사용자 단말(1601)은 지정된 음성 입력(예: 웨이크 업!)을 인식하거나 하드웨어 키(예: 전용 하드웨어 키)를 통한 입력을 수신하면, 음성 입력을 처리하기 위한 지능형 앱을 실행할 수 있다. 사용자 단말(1601)은, 예를 들어, 스케줄 앱을 실행한 상태에서 지능형 앱을 실행할 수 있다. 일 예에 따르면, 사용자 단말(1601)은 지능형 앱에 대응되는 오브젝트(예: 아이콘)(1811)를 디스플레이(1660)에 표시할 수 있다. 일 예에 따르면, 사용자 단말(1601)은 사용자 발화에 의한 음성 입력을 수신할 수 있다. 예를 들어, 사용자 단말(1601)은 "이번주 일정 알려줘!"라는 음성 입력을 수신할 수 있다. 일 예에 따르면, 사용자 단말(1601)은 수신된 음성 입력의 텍스트 데이터가 표시된 지능형 앱의 UI(user interface)(1613)(예: 입력창)를 디스플레이에 표시할 수 있다.According to one example, in the first screen 1610, when the user terminal 1601 recognizes a designated voice input (e.g., wake up!) or receives an input through a hardware key (e.g., a dedicated hardware key), the user terminal 1601 inputs the voice input. You can run intelligent apps to process. For example, the user terminal 1601 may run an intelligent app while executing a schedule app. According to one example, the user terminal 1601 may display an object (e.g., an icon) 1811 corresponding to an intelligent app on the display 1660. According to one example, the user terminal 1601 may receive voice input through a user's speech. For example, the user terminal 1601 may receive a voice input saying “Tell me this week’s schedule!” According to one example, the user terminal 1601 may display a user interface (UI) 1613 (e.g., input window) of an intelligent app displaying text data of a received voice input on the display.

일 예에 따르면, 제2 화면(1615)에서, 사용자 단말(1601)은 수신된 음성 입력에 대응되는 결과를 디스플레이에 표시할 수 있다. 예를 들어, 사용자 단말(1601)은 수신된 사용자 입력에 대응되는 플랜을 수신하고, 플랜에 따라 '이번주 일정'을 디스플레이에 표시할 수 있다.According to one example, in the second screen 1615, the user terminal 1601 may display a result corresponding to the received voice input on the display. For example, the user terminal 1601 may receive a plan corresponding to the received user input and display 'this week's schedule' on the display according to the plan.

멀티 디바이스 경험에서, 복수의 기기를 통해 사용자의 연속적인 발화가 수신되는 경우 이전 발화에 대한 정보가 없는 후속 발화를 수신한 기기는 후속 발화를 처리하지 못할 수 있다. 예를 들어, 스피커를 통해 TV를 제어하는 발화를 수신한 경우, 해당 제어 명령은 스피커를 통해 TV로 전달되어 TV에서 사용자가 원하는 동작이 수행될 수 있다. 이후, 사용자의 목소리 크기 또는 이동 여부에 따라 TV를 제어하는 후속 발화를 냉장고가 수신하게 된 경우, 냉장고는 후속 발화를 처리하지 못할 수 있다.In a multi-device experience, when a user's continuous utterances are received through multiple devices, the device that received the subsequent utterance without information about the previous utterance may not be able to process the subsequent utterance. For example, when an utterance to control a TV is received through a speaker, the corresponding control command is transmitted to the TV through the speaker so that the user's desired operation can be performed on the TV. Afterwards, if the refrigerator receives a follow-up utterance that controls the TV depending on the user's voice volume or movement, the refrigerator may not be able to process the follow-up utterance.

본 개시의 실시예는 서로 다른 기기를 통해 수신된 연속된 사용자 발화를 처리할 수 있는 전자 장치, 서버, 및 그들의 동작 방법을 제공할 수 있다.Embodiments of the present disclosure can provide an electronic device, a server, and a method of operating them that can process continuous user utterances received through different devices.

본 개시의 일 실시예에 따른 전자 장치(101;102;103;901;1401;1403;1405;1501;1601)는, 마이크(1550;1670), 통신 회로(1590;1690), 메모리(1530;1630), 및 프로세서(1520;1620)를 포함할 수 있다. 상기 메모리는 인스트럭션들을 저장할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가, 상기 마이크를 통해 사용자 발화를 수신하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가, 상기 사용자 발화를 수신함에 응답하여, 상기 사용자 발화를 포함하는 대화를 식별하기 위한 제1 식별자 및 상기 사용자 발화의 요청을 식별하기 위한 제2 식별자를 발급하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가, 상기 통신 회로를 통해 연결된 네트워크를 식별하기 위한 제3 식별자를 식별하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가, 상기 사용자 발화를 처리하기 위한 서버의 서버 주소를 식별하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가, 상기 통신 회로를 통해, 상기 서버 주소에 기반하여, 상기 사용자 발화를 상기 제1 식별자, 상기 제2 식별자, 및 상기 제3 식별자를 포함하는 기기 정보와 함께 제1 서버로 송신하도록 할 수 있다.An electronic device (101;102;103;901;1401;1403;1405;1501;1601) according to an embodiment of the present disclosure includes a microphone (1550;1670), a communication circuit (1590;1690), a memory (1530); 1630), and a processor 1520; 1620. The memory can store instructions. The instructions, when executed by the processor, may cause the electronic device to receive user speech through the microphone. The instructions, when executed by the processor, cause the electronic device, in response to receiving the user utterance, to generate a first identifier for identifying a conversation including the user utterance and a first identifier for identifying a request for the user utterance. A second identifier can be issued. The instructions, when executed by the processor, may cause the electronic device to identify a third identifier for identifying a network connected through the communication circuit. The instructions, when executed by the processor, may cause the electronic device to identify the server address of the server for processing the user utterance. The instructions, when executed by the processor, cause the electronic device, through the communication circuit, to identify the user utterance with the first identifier, the second identifier, and the third identifier, based on the server address. It can be sent to the first server along with the device information it contains.

본 개시의 일 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가, 상기 통신 회로를 통해 전처리 서버로 상기 사용자 발화 및 상기 기기 정보를 송신하도록 할 수 있다. 상기 기기 정보에 상기 서버 주소가 존재하는 경우, 상기 서버 주소에 기반하여 상기 전처리 서버에서 상기 제1 서버로 상기 사용자 발화 및 상기 기기 정보가 송신될 수 있다. 상기 기기 정보에 상기 서버 주소가 존재하지 않거나 만료된 경우, 상기 전처리 서버에서 상기 전처리 서버에 의해 탐색된 제2 서버로 상기 사용자 발화 및 상기 기기 정보가 송신될 수 있다.According to an embodiment of the present disclosure, when executed by the processor, the instructions may cause the electronic device to transmit the user utterance and the device information to the preprocessing server through the communication circuit. If the server address is present in the device information, the user speech and the device information may be transmitted from the preprocessing server to the first server based on the server address. If the server address does not exist in the device information or has expired, the user utterance and the device information may be transmitted from the preprocessing server to the second server discovered by the preprocessing server.

본 개시의 일 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가, 상기 제1 식별자의 유효 여부를 확인하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가, 상기 제1 식별자가 유효하지 않은 경우, 상기 제1 서버로 상기 제1 식별자에 대한 만료 이벤트를 송신하도록 할 수 있다.According to an embodiment of the present disclosure, when executed by the processor, the instructions may cause the electronic device to check whether the first identifier is valid. The instructions, when executed by the processor, may cause the electronic device to transmit an expiration event for the first identifier to the first server if the first identifier is invalid.

본 개시의 일 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가, 상기 제1 식별자가 유효한 동안, 사용자 발화를 더 수신하거나, 사용자 발화와는 다른 사용자 입력을 수신하는 경우, 상기 제1 서버로 상기 제1 식별자의 갱신 이벤트를 송신하고, 상기 제1 식별자의 유효 시간을 갱신하도록 할 수 있다.According to an embodiment of the present disclosure, the instructions, when executed by the processor, cause the electronic device to further receive user utterances or receive user input different from the user utterances while the first identifier is valid. In this case, an update event of the first identifier may be transmitted to the first server and the effective time of the first identifier may be updated.

본 개시의 일 실시예에 따른 서버(110;120;130;903;1410;1420;1508;1700)는, 통신 회로, 메모리, 및 프로세서를 포함할 수 있다. 상기 메모리는 인스트럭션들을 저장할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 서버가, 상기 통신 회로를 통해, 외부 전자 장치로부터 사용자 발화와, 상기 사용자 발화를 포함하는 대화를 식별하기 위한 제1 식별자 및 상기 외부 전자 장치가 연결된 네트워크를 식별하기 위한 제2 식별자를 포함하는 기기 정보를 수신하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 서버가, 상기 제1 식별자에 대응하는 대화가 존재하는지 여부를 판단하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 서버가, 상기 제1 식별자에 대응하는 대화가 존재하는 경우, 상기 대화 내에서 상기 사용자 발화에 대한 자연어 이해 처리를 수행하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 서버가, 상기 제1 식별자에 대응하는 대화가 존재하지 않는 경우, 상기 제2 식별자에 대응하는 대화가 존재하는지 여부를 판단하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 서버가, 상기 제1 식별자에 대응하는 대화가 존재하지 않고, 상기 제2 식별자에 대응하는 대화가 존재하는 경우, 상기 대화에 상기 제1 식별자를 병합하고, 상기 대화 내에서 상기 사용자 발화에 대한 자연어 이해 처리를 수행하도록 할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 서버가, 상기 제2 식별자에 대응하는 대화가 존재하지 않는 경우, 상기 기기 정보를 포함하는 대화를 생성하고, 상기 생성된 대화 내에서 상기 사용자 발화에 대한 자연어 이해 처리를 수행하도록 할 수 있다.The server (110;120;130;903;1410;1420;1508;1700) according to an embodiment of the present disclosure may include communication circuitry, memory, and a processor. The memory can store instructions. The instructions, when executed by the processor, cause the server, through the communication circuit, to send a user utterance from an external electronic device, a first identifier for identifying a conversation including the user utterance, and the external electronic device. It is possible to receive device information including a second identifier for identifying the connected network. The instructions, when executed by the processor, may cause the server to determine whether a conversation corresponding to the first identifier exists. When executed by the processor, the instructions may cause the server to perform natural language understanding processing on the user's utterance within the conversation if a conversation corresponding to the first identifier exists. The instructions, when executed by the processor, may cause the server to determine whether a conversation corresponding to the second identifier exists if a conversation corresponding to the first identifier does not exist. The instructions, when executed by the processor, cause the server to assign the first identifier to the conversation if a conversation corresponding to the first identifier does not exist and a conversation corresponding to the second identifier exists. It is possible to merge and perform natural language understanding processing on the user's utterance within the conversation. The instructions, when executed by the processor, cause the server to create a conversation including the device information when a conversation corresponding to the second identifier does not exist, and to generate the user utterance within the created conversation. Natural language understanding processing can be performed.

본 개시의 일 실시예에 따르면, 상기 기기 정보는 상기 외부 전자 장치의 사용자를 식별하기 위한 제3 식별자를 더 포함할 수 있다. 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 서버가, 상기 사용자 발화가 다른 외부 전자 장치를 제어하는 명령인 경우, 상기 통신 회로를 통해 상기 제3 식별자에 대응하는 적어도 하나의 외부 전자 장치 또는 상기 제2 식별자 및 상기 제3 식별자에 대응하는 적어도 하나의 외부 전자 장치로 상기 서버의 서버 주소를 송신하도록 할 수 있다.According to an embodiment of the present disclosure, the device information may further include a third identifier for identifying the user of the external electronic device. When the instructions are executed by the processor, the server, when the user utterance is a command to control another external electronic device, sends at least one external electronic device corresponding to the third identifier through the communication circuit. The server address of the server may be transmitted to at least one external electronic device corresponding to the second identifier and the third identifier.

본 개시의 일 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 서버가, 대화 내에 복수의 제1 식별자가 존재하고, 상기 대화가 유지되고 있는 경우, 처리하고자 하는 사용자 발화 이전에 수신된 사용자 발화에 대응하는 동작을 수행한 기기의 기기 유형에 대한 자연어 이해 처리를 수행하도록 할 수 있다.According to one embodiment of the present disclosure, when executed by the processor, the instructions are, when a plurality of first identifiers are present in a conversation and the conversation is maintained, before the user utterance to be processed. Natural language understanding processing can be performed on the device type of the device that performed the operation corresponding to the user utterance received.

본 개시의 일 실시예에 따르면, 대화 내에 복수의 제1 식별자가 존재하고, 상기 대화가 유지되고 있는 경우, 상기 복수의 제1 식별자 각각에 대응하는 사용자 발화에 대응하는 동작을 수행한 기기의 기기 유형에 대한 자연어 이해 처리 결과와 처리하고자 하는 사용자 발화를 수신한 기기의 기기 유형에 대한 자연어 이해 처리 결과를 비교하여 하나의 기기 유형에 대한 자연어 이해 처리 결과를 선택하도록 할 수 있다.According to an embodiment of the present disclosure, when a plurality of first identifiers exist in a conversation and the conversation is maintained, the device performs an operation corresponding to a user utterance corresponding to each of the plurality of first identifiers. By comparing the natural language understanding processing results for the type with the natural language understanding processing results for the device type of the device that received the user utterance to be processed, the natural language understanding processing results for one device type can be selected.

본 개시의 일 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가, 대화 내에 복수의 제1 식별자가 존재하는 경우, 상기 복수의 제1 식별자 별 사용자 발화에 대응하는 동작을 수행한 기기의 기기 정보 및 수행된 동작에 대한 동작 정보를 이용하여 자연어 이해 처리를 수행하도록 할 수 있다.According to an embodiment of the present disclosure, when executed by the processor, the instructions cause the electronic device to, when a plurality of first identifiers exist in a conversation, correspond to a user utterance for each of the plurality of first identifiers. Natural language understanding processing can be performed using device information of the device that performed the operation and operation information about the performed operation.

본 개시의 일 실시예에 따르면, 상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 서버가, 상기 사용자 발화에 대한 자연어 이해 처리를 수행한 이후, 상기 제1 식별자의 유효 시간을 갱신하도록 할 수 있다.According to an embodiment of the present disclosure, the instructions, when executed by the processor, may cause the server to update the validity time of the first identifier after performing natural language understanding processing on the user utterance. there is.

본 개시의 일 실시예에 따른 전자 장치의 동작 방법은, 동작을 포함할 수 있다. 상기 방법은, 상기 전자 장치의 마이크를 통해 사용자 발화를 수신하는 동작을 포함할 수 있다. 상기 방법은, 상기 사용자 발화를 수신함에 응답하여, 상기 사용자 발화를 포함하는 대화를 식별하기 위한 제1 식별자 및 상기 사용자 발화의 요청을 식별하기 위한 제2 식별자를 발급하는 동작을 포함할 수 있다. 상기 방법은, 상기 통신 회로를 통해 연결된 네트워크를 식별하기 위한 제3 식별자를 식별하는 동작을 포함할 수 있다. 상기 방법은, 상기 사용자 발화를 처리하기 위한 서버의 서버 주소를 식별하는 동작을 포함할 수 있다. 상기 방법은, 상기 통신 회로를 통해, 상기 서버 주소에 기반하여, 상기 사용자 발화를 상기 제1 식별자, 상기 제2 식별자, 및 상기 제3 식별자를 포함하는 기기 정보와 함께 제1 서버로 송신하는 동작을 포함할 수 있다.A method of operating an electronic device according to an embodiment of the present disclosure may include an operation. The method may include receiving a user's speech through a microphone of the electronic device. The method may include, in response to receiving the user utterance, issuing a first identifier for identifying a conversation including the user utterance and a second identifier for identifying a request for the user utterance. The method may include identifying a third identifier for identifying a network connected through the communication circuit. The method may include identifying the server address of a server for processing the user utterance. The method includes transmitting the user utterance to a first server along with device information including the first identifier, the second identifier, and the third identifier through the communication circuit, based on the server address. may include.

본 개시의 일 실시예에 따르면, 상기 방법은, 상기 통신 회로를 통해 전처리 서버로 상기 사용자 발화 및 상기 기기 정보를 송신하는 동작을 포함할 수 있다. 상기 기기 정보에 상기 서버 주소가 존재하는 경우, 상기 서버 주소에 기반하여 상기 전처리 서버에서 상기 제1 서버로 상기 사용자 발화 및 상기 기기 정보가 송신될 수 있다. 상기 기기 정보에 상기 서버 주소가 존재하지 않거나 만료된 경우, 상기 전처리 서버에서 상기 전처리 서버에 의해 탐색된 제2 서버로 상기 사용자 발화 및 상기 기기 정보가 송신될 수 있다.According to an embodiment of the present disclosure, the method may include transmitting the user utterance and the device information to a preprocessing server through the communication circuit. If the server address is present in the device information, the user speech and the device information may be transmitted from the preprocessing server to the first server based on the server address. If the server address does not exist in the device information or has expired, the user utterance and the device information may be transmitted from the preprocessing server to the second server discovered by the preprocessing server.

본 개시의 일 실시예에 따르면, 상기 방법은, 상기 제1 식별자의 유효 여부를 확인하는 동작을 포함할 수 있다. 상기 방법은, 상기 제1 식별자가 유효하지 않은 경우, 상기 제1 서버로 상기 제1 식별자에 대한 만료 이벤트를 송신하는 동작을 포함할 수 있다.According to an embodiment of the present disclosure, the method may include an operation of checking whether the first identifier is valid. The method may include transmitting an expiration event for the first identifier to the first server when the first identifier is invalid.

본 개시의 일 실시예에 따르면, 상기 방법은, 상기 제1 식별자가 유효한 동안, 사용자 발화를 더 수신하거나, 사용자 발화와는 다른 사용자 입력을 수신하는 경우, 상기 제1 서버로 상기 제1 식별자의 갱신 이벤트를 송신하는 동작을 포함할 수 있다. 상기 방법은, 상기 제1 식별자의 유효 시간을 갱신하는 동작을 포함할 수 있다.According to an embodiment of the present disclosure, the method may include, while the first identifier is valid, receiving more user utterances or receiving user input different from the user utterances, sending the first identifier to the first server. It may include the operation of sending an update event. The method may include updating the validity time of the first identifier.

본 개시의 일 실시예에 따른 서버의 동작 방법은, 상기 서버의 통신 회로를 통해, 외부 전자 장치로부터 사용자 발화와, 상기 사용자 발화를 포함하는 대화를 식별하기 위한 제1 식별자 및 상기 외부 전자 장치가 연결된 네트워크를 식별하기 위한 제2 식별자를 포함하는 기기 정보를 수신하는 동작을 포함할 수 있다. 상기 방법은, 상기 제1 식별자에 대응하는 대화가 존재하는지 여부를 판단하는 동작을 포함할 수 있다. 상기 방법은, 상기 제1 식별자에 대응하는 대화가 존재하는 경우, 상기 대화 내에서 상기 사용자 발화에 대한 자연어 이해 처리를 수행하는 동작을 포함할 수 있다. 상기 방법은, 상기 제1 식별자에 대응하는 대화가 존재하지 않는 경우, 상기 제2 식별자에 대응하는 대화가 존재하는지 여부를 판단하는 동작을 포함할 수 있다. 상기 방법은, 상기 제1 식별자에 대응하는 대화가 존재하지 않고, 상기 제2 식별자에 대응하는 대화가 존재하는 경우, 상기 대화에 상기 제1 식별자를 병합하고, 상기 대화 내에서 상기 사용자 발화에 대한 자연어 이해 처리를 수행하도록 할 수 있다. 상기 방법은, 상기 제2 식별자에 대응하는 대화가 존재하지 않는 경우, 상기 기기 정보를 포함하는 대화를 생성하고, 상기 생성된 대화 내에서 상기 사용자 발화에 대한 자연어 이해 처리를 수행하는 동작을 포함할 수 있다.A method of operating a server according to an embodiment of the present disclosure includes, through a communication circuit of the server, a user utterance from an external electronic device, a first identifier for identifying a conversation including the user utterance, and the external electronic device. It may include receiving device information including a second identifier for identifying the connected network. The method may include determining whether a conversation corresponding to the first identifier exists. The method may include, when a conversation corresponding to the first identifier exists, performing natural language understanding processing on the user's utterance within the conversation. The method may include determining whether a conversation corresponding to the second identifier exists when a conversation corresponding to the first identifier does not exist. The method includes, when a conversation corresponding to the first identifier does not exist and a conversation corresponding to the second identifier exists, merging the first identifier into the conversation, and responding to the user utterance within the conversation. Natural language understanding processing can be performed. The method may include, when a conversation corresponding to the second identifier does not exist, creating a conversation including the device information and performing natural language understanding processing on the user utterance within the created conversation. You can.

본 개시의 일 실시예에 따르면, 상기 기기 정보는 상기 외부 전자 장치의 사용자를 식별하기 위한 제3 식별자를 더 포함할 수 있다. 상기 방법은, 상기 사용자 발화가 다른 외부 전자 장치를 제어하는 명령인 경우, 상기 통신 회로를 통해 상기 제3 식별자에 대응하는 적어도 하나의 외부 전자 장치 또는 상기 제2 식별자 및 상기 제3 식별자에 대응하는 적어도 하나의 외부 전자 장치로 상기 서버의 서버 주소를 송신하는 동작을 포함할 수 있다.According to an embodiment of the present disclosure, the device information may further include a third identifier for identifying the user of the external electronic device. The method may, when the user utterance is a command to control another external electronic device, at least one external electronic device corresponding to the third identifier or the second identifier and the third identifier through the communication circuit. It may include transmitting the server address of the server to at least one external electronic device.

본 개시의 일 실시예에 따르면, 상기 방법은, 대화 내에 복수의 제1 식별자가 존재하고, 상기 대화가 유지되고 있는 경우, 처리하고자 하는 사용자 발화 이전에 수신된 사용자 발화에 대응하는 동작을 수행한 기기의 기기 유형에 대한 자연어 이해 처리를 수행하는 동작을 포함할 수 있다.According to an embodiment of the present disclosure, the method performs an operation corresponding to a user utterance received before a user utterance to be processed when a plurality of first identifiers exist in a conversation and the conversation is maintained. It may include an operation of performing natural language understanding processing for the device type of the device.

본 개시의 일 실시예에 따르면, 상기 방법은, 대화 내에 복수의 제1 식별자가 존재하고, 상기 대화가 유지되고 있는 경우, 상기 복수의 제1 식별자 각각에 대응하는 사용자 발화에 대응하는 동작을 수행한 기기의 기기 유형에 대한 자연어 이해 처리 결과와 처리하고자 하는 사용자 발화를 수신한 기기의 기기 유형에 대한 자연어 이해 처리 결과를 비교하여 하나의 기기 유형에 대한 자연어 이해 처리 결과를 선택하는 동작을 포함할 수 있다.According to an embodiment of the present disclosure, when a plurality of first identifiers exist in a conversation and the conversation is maintained, the method performs an operation corresponding to a user utterance corresponding to each of the plurality of first identifiers. It may include an operation of selecting the natural language understanding processing result for one device type by comparing the natural language understanding processing result for the device type of one device with the natural language understanding processing result for the device type of the device that received the user utterance to be processed. You can.

본 개시의 일 실시예에 따르면, 상기 방법은, 대화 내에 복수의 제1 식별자가 존재하는 경우, 상기 복수의 제1 식별자 별 사용자 발화에 대응하는 동작을 수행한 기기의 기기 정보 및 수행된 동작에 대한 동작 정보를 이용하여 자연어 이해 처리를 수행하는 동작을 포함할 수 있다.According to an embodiment of the present disclosure, when a plurality of first identifiers exist in a conversation, the method includes device information of a device that performed an operation corresponding to a user utterance for each of the plurality of first identifiers and the performed operation. It may include an operation that performs natural language understanding processing using the operation information.

본 개시의 일 실시예에 따르면, 상기 방법은, 상기 사용자 발화에 대한 자연어 이해 처리를 수행한 이후, 상기 제1 식별자의 유효 시간을 갱신하는 동작을 포함할 수 있다.According to an embodiment of the present disclosure, the method may include updating the validity time of the first identifier after performing natural language understanding processing on the user utterance.

본 문서에 개시된 다양한 실시예들에 따른 전자 장치는 다양한 형태의 장치가 될 수 있다. 전자 장치는, 예를 들면, 휴대용 통신 장치(예: 스마트폰), 컴퓨터 장치, 휴대용 멀티미디어 장치, 휴대용 의료 기기, 카메라, 웨어러블 장치, 또는 가전 장치를 포함할 수 있다. 본 문서의 실시예에 따른 전자 장치는 전술한 기기들에 한정되지 않는다.Electronic devices according to various embodiments disclosed in this document may be of various types. Electronic devices may include, for example, portable communication devices (e.g., smartphones), computer devices, portable multimedia devices, portable medical devices, cameras, wearable devices, or home appliances. Electronic devices according to embodiments of this document are not limited to the above-described devices.

본 문서의 다양한 실시예들 및 이에 사용된 용어들은 본 문서에 기재된 기술적 특징들을 특정한 실시예들로 한정하려는 것이 아니며, 해당 실시예의 다양한 변경, 균등물, 또는 대체물을 포함하는 것으로 이해되어야 한다. 도면의 설명과 관련하여, 유사한 또는 관련된 구성요소에 대해서는 유사한 참조 부호가 사용될 수 있다. 아이템에 대응하는 명사의 단수 형은 관련된 문맥상 명백하게 다르게 지시하지 않는 한, 상기 아이템 한 개 또는 복수 개를 포함할 수 있다. 본 문서에서, "A 또는 B", "A 및 B 중 적어도 하나", "A 또는 B 중 적어도 하나", "A, B 또는 C", "A, B 및 C 중 적어도 하나", 및 "A, B, 또는 C 중 적어도 하나"와 같은 문구들 각각은 그 문구들 중 해당하는 문구에 함께 나열된 항목들 중 어느 하나, 또는 그들의 모든 가능한 조합을 포함할 수 있다. "제 1", "제 2", 또는 "첫째" 또는 "둘째"와 같은 용어들은 단순히 해당 구성요소를 다른 해당 구성요소와 구분하기 위해 사용될 수 있으며, 해당 구성요소들을 다른 측면(예: 중요성 또는 순서)에서 한정하지 않는다. 어떤(예: 제 1) 구성요소가 다른(예: 제 2) 구성요소에, "기능적으로" 또는 "통신적으로"라는 용어와 함께 또는 이런 용어 없이, "커플드" 또는 "커넥티드"라고 언급된 경우, 그것은 상기 어떤 구성요소가 상기 다른 구성요소에 직접적으로(예: 유선으로), 무선으로, 또는 제 3 구성요소를 통하여 연결될 수 있다는 것을 의미한다.The various embodiments of this document and the terms used herein are not intended to limit the technical features described in this document to specific embodiments, but should be understood to include various changes, equivalents, or replacements of the embodiments. In connection with the description of the drawings, similar reference numbers may be used for similar or related components. The singular form of a noun corresponding to an item may include one or more of the above items, unless the relevant context clearly indicates otherwise. As used herein, “A or B”, “at least one of A and B”, “at least one of A or B”, “A, B or C”, “at least one of A, B and C”, and “A Each of phrases such as “at least one of , B, or C” may include any one of the items listed together in the corresponding phrase, or any possible combination thereof. Terms such as "first", "second", or "first" or "second" may be used simply to distinguish one component from another, and to refer to those components in other respects (e.g., importance or order) is not limited. One (e.g., first) component is said to be “coupled” or “connected” to another (e.g., second) component, with or without the terms “functionally” or “communicatively.” When mentioned, it means that any of the components can be connected to the other components directly (e.g. wired), wirelessly, or through a third component.

본 문서의 다양한 실시예들에서 사용된 용어 "모듈"은 하드웨어, 소프트웨어 또는 펌웨어로 구현된 유닛을 포함할 수 있으며, 예를 들면, 로직, 논리 블록, 부품, 또는 회로와 같은 용어와 상호 호환적으로 사용될 수 있다. 모듈은, 일체로 구성된 부품 또는 하나 또는 그 이상의 기능을 수행하는, 상기 부품의 최소 단위 또는 그 일부가 될 수 있다. 예를 들면, 일실시예에 따르면, 모듈은 ASIC(application-specific integrated circuit)의 형태로 구현될 수 있다. The term “module” used in various embodiments of this document may include a unit implemented in hardware, software, or firmware, and is interchangeable with terms such as logic, logic block, component, or circuit, for example. It can be used as A module may be an integrated part or a minimum unit of the parts or a part thereof that performs one or more functions. For example, according to one embodiment, the module may be implemented in the form of an application-specific integrated circuit (ASIC).

본 문서의 다양한 실시예들은 기기(machine)(예: 전자 장치(1501)) 의해 읽을 수 있는 저장 매체(storage medium)(예: 내장 메모리(1536) 또는 외장 메모리(1538))에 저장된 하나 이상의 명령어들을 포함하는 소프트웨어(예: 프로그램(1540))로서 구현될 수 있다. 예를 들면, 기기(예: 전자 장치(1501))의 프로세서(예: 프로세서(1520))는, 저장 매체로부터 저장된 하나 이상의 명령어들 중 적어도 하나의 명령을 호출하고, 그것을 실행할 수 있다. 이것은 기기가 상기 호출된 적어도 하나의 명령어에 따라 적어도 하나의 기능을 수행하도록 운영되는 것을 가능하게 한다. 상기 하나 이상의 명령어들은 컴파일러에 의해 생성된 코드 또는 인터프리터에 의해 실행될 수 있는 코드를 포함할 수 있다. 기기로 읽을 수 있는 저장 매체는, 비일시적(non-transitory) 저장 매체의 형태로 제공될 수 있다. 여기서, ‘비일시적’은 저장 매체가 실재(tangible)하는 장치이고, 신호(signal)(예: 전자기파)를 포함하지 않는다는 것을 의미할 뿐이며, 이 용어는 데이터가 저장 매체에 반영구적으로 저장되는 경우와 임시적으로 저장되는 경우를 구분하지 않는다.Various embodiments of the present document are one or more instructions stored in a storage medium (e.g., built-in memory 1536 or external memory 1538) that can be read by a machine (e.g., electronic device 1501). It may be implemented as software (e.g., program 1540) including these. For example, a processor (e.g., processor 1520) of a device (e.g., electronic device 1501) may call at least one command among one or more commands stored from a storage medium and execute it. This allows the device to be operated to perform at least one function according to the at least one instruction called. The one or more instructions may include code generated by a compiler or code that can be executed by an interpreter. A storage medium that can be read by a device may be provided in the form of a non-transitory storage medium. Here, 'non-transitory' only means that the storage medium is a tangible device and does not contain signals (e.g. electromagnetic waves). This term refers to cases where data is stored semi-permanently in the storage medium. There is no distinction between temporary storage cases.

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

다양한 실시예들에 따르면, 상기 기술한 구성요소들의 각각의 구성요소(예: 모듈 또는 프로그램)는 단수 또는 복수의 개체를 포함할 수 있으며, 복수의 개체 중 일부는 다른 구성요소에 분리 배치될 수도 있다. 다양한 실시예들에 따르면, 전술한 해당 구성요소들 중 하나 이상의 구성요소들 또는 동작들이 생략되거나, 또는 하나 이상의 다른 구성요소들 또는 동작들이 추가될 수 있다. 대체적으로 또는 추가적으로, 복수의 구성요소들(예: 모듈 또는 프로그램)은 하나의 구성요소로 통합될 수 있다. 이런 경우, 통합된 구성요소는 상기 복수의 구성요소들 각각의 구성요소의 하나 이상의 기능들을 상기 통합 이전에 상기 복수의 구성요소들 중 해당 구성요소에 의해 수행되는 것과 동일 또는 유사하게 수행할 수 있다. 다양한 실시예들에 따르면, 모듈, 프로그램 또는 다른 구성요소에 의해 수행되는 동작들은 순차적으로, 병렬적으로, 반복적으로, 또는 휴리스틱하게 실행되거나, 상기 동작들 중 하나 이상이 다른 순서로 실행되거나, 생략되거나, 또는 하나 이상의 다른 동작들이 추가될 수 있다.According to various embodiments, each component (e.g., module or program) of the above-described components may include a single or plural entity, and some of the plurality of entities may be separately placed in other components. there is. According to various embodiments, one or more of the components or operations described above may be omitted, or one or more other components or operations may be added. Alternatively or additionally, multiple components (eg, modules or programs) may be integrated into a single component. In this case, the integrated component may perform one or more functions of each component of the plurality of components identically or similarly to those performed by the corresponding component of the plurality of components prior to the integration. . According to various embodiments, operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, or omitted. Alternatively, one or more other operations may be added.

Claims (10)

전자 장치(101;102;103;901;1401;1403;1405;1501;1601)에 있어서,
마이크(1550;1670);
통신 회로(1590;1690);
인스트럭션들을 저장하는 메모리(1530;1630); 및
프로세서(1520;1620)를 포함하고,
상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가,
상기 마이크를 통해 사용자 발화를 수신하고,
상기 사용자 발화를 수신함에 응답하여, 상기 사용자 발화를 포함하는 대화를 식별하기 위한 제1 식별자 및 상기 사용자 발화의 요청을 식별하기 위한 제2 식별자를 발급하고,
상기 통신 회로를 통해 연결된 네트워크를 식별하기 위한 제3 식별자를 식별하고,
상기 사용자 발화를 처리하기 위한 서버의 서버 주소를 식별하고,
상기 통신 회로를 통해, 상기 서버 주소에 기반하여, 상기 사용자 발화를 상기 제1 식별자, 상기 제2 식별자, 및 상기 제3 식별자를 포함하는 기기 정보와 함께 제1 서버로 송신하도록 하는, 전자 장치.
In the electronic device (101;102;103;901;1401;1403;1405;1501;1601),
mike(1550;1670);
communication circuit (1590;1690);
a memory (1530; 1630) for storing instructions; and
Includes a processor (1520; 1620),
When executed by the processor, the instructions cause the electronic device to:
Receiving user speech through the microphone,
In response to receiving the user utterance, issue a first identifier for identifying a conversation including the user utterance and a second identifier for identifying a request for the user utterance;
Identifying a third identifier for identifying a network connected through the communication circuit,
Identifying the server address of the server for processing the user utterance,
An electronic device configured to transmit, through the communication circuit, the user utterance to a first server along with device information including the first identifier, the second identifier, and the third identifier, based on the server address.
청구항 1에 있어서,
상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가,
상기 통신 회로를 통해 전처리 서버로 상기 사용자 발화 및 상기 기기 정보를 송신하고,
상기 기기 정보에 상기 서버 주소가 존재하는 경우, 상기 서버 주소에 기반하여 상기 전처리 서버에서 상기 제1 서버로 상기 사용자 발화 및 상기 기기 정보가 송신되며,
상기 기기 정보에 상기 서버 주소가 존재하지 않거나 만료된 경우, 상기 전처리 서버에서 상기 전처리 서버에 의해 탐색된 제2 서버로 상기 사용자 발화 및 상기 기기 정보가 송신되는, 전자 장치.
In claim 1,
The instructions, when executed by the processor, cause the electronic device to:
Transmitting the user utterance and the device information to a preprocessing server through the communication circuit,
If the server address is present in the device information, the user utterance and the device information are transmitted from the preprocessing server to the first server based on the server address,
When the server address does not exist in the device information or has expired, the user speech and the device information are transmitted from the preprocessing server to a second server discovered by the preprocessing server.
청구항 1 내지 청구항 2 중 어느 한 항에 있어서,
상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가,
상기 제1 식별자의 유효 여부를 확인하고,
상기 제1 식별자가 유효하지 않은 경우, 상기 제1 서버로 상기 제1 식별자에 대한 만료 이벤트를 송신하도록 하는, 전자 장치.
The method according to any one of claims 1 to 2,
The instructions, when executed by the processor, cause the electronic device to:
Check whether the first identifier is valid,
If the first identifier is invalid, send an expiration event for the first identifier to the first server.
청구항 1 내지 청구항 3 중 어느 한 항에 있어서,
상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가,
상기 제1 식별자가 유효한 동안, 사용자 발화를 더 수신하거나, 사용자 발화와는 다른 사용자 입력을 수신하는 경우, 상기 제1 서버로 상기 제1 식별자의 갱신 이벤트를 송신하고, 상기 제1 식별자의 유효 시간을 갱신하도록 하는, 전자 장치.
The method according to any one of claims 1 to 3,
The instructions, when executed by the processor, cause the electronic device to:
While the first identifier is valid, if more user utterances are received or user input different from the user utterance is received, an update event of the first identifier is sent to the first server, and the validity time of the first identifier is set. An electronic device that allows updating.
서버(110;120;130;903;1410;1420;1508;1700)에 있어서,
통신 회로;
인스트럭션들을 저장하는 메모리; 및
프로세서를 포함하고,
상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 서버가,
상기 통신 회로를 통해, 외부 전자 장치로부터 사용자 발화와, 상기 사용자 발화를 포함하는 대화를 식별하기 위한 제1 식별자 및 상기 외부 전자 장치가 연결된 네트워크를 식별하기 위한 제2 식별자를 포함하는 기기 정보를 수신하고,
상기 제1 식별자에 대응하는 대화가 존재하는지 여부를 판단하고,
상기 제1 식별자에 대응하는 대화가 존재하는 경우, 상기 대화 내에서 상기 사용자 발화에 대한 자연어 이해 처리를 수행하고,
상기 제1 식별자에 대응하는 대화가 존재하지 않는 경우, 상기 제2 식별자에 대응하는 대화가 존재하는지 여부를 판단하고,
상기 제1 식별자에 대응하는 대화가 존재하지 않고, 상기 제2 식별자에 대응하는 대화가 존재하는 경우, 상기 대화에 상기 제1 식별자를 병합하고, 상기 대화 내에서 상기 사용자 발화에 대한 자연어 이해 처리를 수행하고,
상기 제2 식별자에 대응하는 대화가 존재하지 않는 경우, 상기 기기 정보를 포함하는 대화를 생성하고, 상기 생성된 대화 내에서 상기 사용자 발화에 대한 자연어 이해 처리를 수행하도록 하는, 서버.
In the server (110;120;130;903;1410;1420;1508;1700),
communication circuit;
memory to store instructions; and
Includes a processor,
The instructions, when executed by the processor, cause the server to:
Through the communication circuit, device information is received from an external electronic device, including a user utterance, a first identifier for identifying a conversation including the user utterance, and a second identifier for identifying a network to which the external electronic device is connected. do,
Determine whether a conversation corresponding to the first identifier exists,
If a conversation corresponding to the first identifier exists, perform natural language understanding processing on the user utterance within the conversation,
If a conversation corresponding to the first identifier does not exist, determine whether a conversation corresponding to the second identifier exists,
If there is no conversation corresponding to the first identifier and a conversation corresponding to the second identifier exists, the first identifier is merged into the conversation, and natural language understanding processing is performed on the user utterance within the conversation. perform,
When a conversation corresponding to the second identifier does not exist, a server generates a conversation including the device information and performs natural language understanding processing on the user's utterance within the created conversation.
청구항 5에 있어서,
상기 기기 정보는 상기 외부 전자 장치의 사용자를 식별하기 위한 제3 식별자를 더 포함하고,
상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 서버가,
상기 사용자 발화가 다른 외부 전자 장치를 제어하는 명령인 경우, 상기 통신 회로를 통해 상기 제3 식별자에 대응하는 적어도 하나의 외부 전자 장치 또는 상기 제2 식별자 및 상기 제3 식별자에 대응하는 적어도 하나의 외부 전자 장치로 상기 서버의 서버 주소를 송신하도록 하는, 서버.
In claim 5,
The device information further includes a third identifier to identify the user of the external electronic device,
The instructions, when executed by the processor, cause the server to:
When the user's utterance is a command for controlling another external electronic device, at least one external electronic device corresponding to the third identifier or at least one external electronic device corresponding to the second identifier and the third identifier is transmitted through the communication circuit. A server that causes a server address of the server to be transmitted to an electronic device.
청구항 5 내지 청구항 6 중 어느 한 항에 있어서,
상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 서버가,
대화 내에 복수의 제1 식별자가 존재하고, 상기 대화가 유지되고 있는 경우, 처리하고자 하는 사용자 발화 이전에 수신된 사용자 발화에 대응하는 동작을 수행한 기기의 기기 유형에 대한 자연어 이해 처리를 수행하도록 하는, 서버.
The method of any one of claims 5 to 6,
The instructions, when executed by the processor, cause the server to:
When a plurality of first identifiers exist in a conversation and the conversation is maintained, natural language understanding processing is performed on the device type of the device that performed the operation corresponding to the user utterance received before the user utterance to be processed. , server.
청구항 5 내지 청구항 7 중 어느 한 항에 있어서,
상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 서버가,
대화 내에 복수의 제1 식별자가 존재하고, 상기 대화가 유지되고 있는 경우, 상기 복수의 제1 식별자 각각에 대응하는 사용자 발화에 대응하는 동작을 수행한 기기의 기기 유형에 대한 자연어 이해 처리 결과와 처리하고자 하는 사용자 발화를 수신한 기기의 기기 유형에 대한 자연어 이해 처리 결과를 비교하여 하나의 기기 유형에 대한 자연어 이해 처리 결과를 선택하도록 하는, 서버.
The method according to any one of claims 5 to 7,
The instructions, when executed by the processor, cause the server to:
When a plurality of first identifiers exist in a conversation and the conversation is maintained, natural language understanding processing results and processing for the device type of the device that performed the operation corresponding to the user utterance corresponding to each of the plurality of first identifiers A server that compares the natural language understanding processing results for the device type of the device that received the desired user utterance and selects the natural language understanding processing results for one device type.
청구항 5 내지 청구항 8 중 어느 한 항에 있어서,
상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 전자 장치가,
대화 내에 복수의 제1 식별자가 존재하는 경우, 상기 복수의 제1 식별자 별 사용자 발화에 대응하는 동작을 수행한 기기의 기기 정보 및 수행된 동작에 대한 동작 정보를 이용하여 자연어 이해 처리를 수행하도록 하는, 서버.
The method according to any one of claims 5 to 8,
When executed by the processor, the instructions cause the electronic device to:
When a plurality of first identifiers exist in a conversation, natural language understanding processing is performed using device information of the device that performed the operation corresponding to the user utterance for each of the plurality of first identifiers and operation information about the performed operation. , server.
청구항 5 내지 청구항 9 중 어느 한 항에 있어서,
상기 인스트럭션들은, 상기 프로세서에 의해 실행 시에, 상기 서버가,
상기 사용자 발화에 대한 자연어 이해 처리를 수행한 이후, 상기 제1 식별자의 유효 시간을 갱신하도록 하는, 서버.
The method of any one of claims 5 to 9,
The instructions, when executed by the processor, cause the server to:
A server configured to update the validity time of the first identifier after performing natural language understanding processing on the user utterance.
KR1020220134827A 2022-10-07 2022-10-19 Electronic device, and server, and operting method thereof for processing continuous utterances received through a plurality of devices KR20240049062A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020220128671 2022-10-07

Publications (1)

Publication Number Publication Date
KR20240049062A true KR20240049062A (en) 2024-04-16

Family

ID=

Similar Documents

Publication Publication Date Title
US11769489B2 (en) Electronic device and method for performing shortcut command in electronic device
US20230126305A1 (en) Method of identifying target device based on reception of utterance and electronic device therefor
US20220351719A1 (en) Electronic device and method for sharing execution information on user input having continuity
US20220287110A1 (en) Electronic device and method for connecting device thereof
US20220179619A1 (en) Electronic device and method for operating thereof
KR20220126544A (en) Apparatus for processing user commands and operation method thereof
KR20220108919A (en) Electronic device, and method for performing shortcut command in electronic device
KR20240049062A (en) Electronic device, and server, and operting method thereof for processing continuous utterances received through a plurality of devices
US20230095294A1 (en) Server and electronic device for processing user utterance and operating method thereof
US20230352020A1 (en) Electronic device and utterance processing method thereof
US20230214397A1 (en) Server and electronic device for processing user utterance and operating method thereof
US20240096331A1 (en) Electronic device and method for providing operating state of plurality of devices
US20230027222A1 (en) Electronic device for managing inappropriate answer and operating method thereof
US20230127543A1 (en) Method of identifying target device based on utterance and electronic device therefor
US20230154463A1 (en) Method of reorganizing quick command based on utterance and electronic device therefor
KR20240039565A (en) Electronic device and method for processing user utterance thereof
US20230179675A1 (en) Electronic device and method for operating thereof
KR20230175069A (en) Electronic device and offline device registration method
US20230422009A1 (en) Electronic device and offline device registration method
US20230298586A1 (en) Server and electronic device for processing user's utterance based on synthetic vector, and operation method thereof
KR20240039562A (en) Electronic device and method for providing operating state of pluralitiy of devices
KR20230060351A (en) Method of identifying target device based on reception of utterance and electronic device therefor
KR20240038523A (en) Method for judging false-rejection and electronic device performing the same
KR20230069594A (en) Electronic device for controlling external electronic device not connected to network based on user utterance and operating method thereof
KR20240052579A (en) Electronic device and method for processing user utterance using location -based context in the electronic device