KR20200038904A - Continuous coversation function in artificial intelligence device - Google Patents
Continuous coversation function in artificial intelligence device Download PDFInfo
- Publication number
- KR20200038904A KR20200038904A KR1020200040101A KR20200040101A KR20200038904A KR 20200038904 A KR20200038904 A KR 20200038904A KR 1020200040101 A KR1020200040101 A KR 1020200040101A KR 20200040101 A KR20200040101 A KR 20200040101A KR 20200038904 A KR20200038904 A KR 20200038904A
- Authority
- KR
- South Korea
- Prior art keywords
- voice command
- task
- continuous
- conversation
- conversation function
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/004—Artificial life, i.e. computing arrangements simulating life
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- General Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Biophysics (AREA)
- Computational Linguistics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Evolutionary Computation (AREA)
- Artificial Intelligence (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Health & Medical Sciences (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
아래의 설명은 인공지능 대화 시스템에 관한 것이다.The description below relates to the AI dialogue system.
일반적으로 개인비서 시스템, 챗봇 플랫폼(chatbot platform), 인공지능(AI) 스피커 등에서 사용되는 인공지능 대화 시스템은 사람의 명령어에 대한 의도를 이해하고 그에 대응하는 답변 문구를 제공하는 방식이다.In general, an AI conversation system used in personal assistant systems, chatbot platforms, and artificial intelligence (AI) speakers is a method of understanding the intention of a person's command and providing a response phrase corresponding thereto.
주로 인공지능 대화 시스템은 사람이 기능적인 요구를 전달하고 이에 기계가 사람의 요구에 대한 해답을 제공하는 방식으로, 마이크(microphone)를 통해 사용자의 음성 입력을 수신하고 수신된 음성 입력에 기반하여 디바이스 동작이나 컨텐츠 제공을 제어할 수 있다.Mainly, the AI dialogue system is a device that receives a user's voice input through a microphone and transmits a functional request to the machine, and the machine provides a response to the human request. You can control the operation or content provision.
예를 들어, 한국공개특허 제10-2011-0139797호(공개일 2011년 12월 30일)에는 홈 네트워크 서비스에서 이동통신망 외에 와이파이와 같은 제2 통신망을 이용하여 홈 네트워크 서비스를 제공하는 것이 가능하고 홈 내 복수의 멀티미디어 기기를 사용자가 별도의 버튼 조작 없이도 음성 명령을 통해 다중 제어할 수 있는 기술이 개시되어 있다.For example, in Korean Patent Publication No. 10-2011-0139797 (published on December 30, 2011), it is possible to provide a home network service using a second communication network such as Wi-Fi in addition to the mobile communication network in the home network service. A technique for multi-controlling a plurality of multimedia devices in a home through voice commands without a separate button operation is disclosed.
일반적으로 인공지능 대화 시스템은 사전에 정해진 키워드(즉, 웨이크업워드(wake up word))(예를 들어, 기기의 이름 등)를 기기를 활성화 하기 위한 대화 활성 트리거로 사용하고 있다.In general, the AI conversation system uses a predetermined keyword (ie, a wake up word) (for example, a device name) as a conversation activation trigger for activating the device.
인공지능 기기는 키워드 호출을 기반으로 음성인식 기능을 수행하게 되며, 예를 들어 사용자가 기계의 이름을 부르면 기기를 활성화 하여 사용자의 음성 명령을 수집하기 위한 대기 모드로 진입할 수 있다.The AI device performs a voice recognition function based on a keyword call, and for example, when a user calls a machine name, the device activates the device to enter a standby mode for collecting a user's voice command.
키워드 호출 없이 기기 스스로 활성화가 되지 않고 짧은 시간 내에 음성 명령을 다시 내리는 경우에도 매번 키워드 호출이 먼저 이루어져야 하기 때문에 이로 인해 사용 피로도가 누적될 수밖에 없다.Even if the device does not activate itself without a keyword call and the voice command is issued again within a short time, the use of the keyword must be accumulated because the keyword call must be made first.
기기를 활성화 하기 위한 키워드(웨이크업워드) 호출 없이 바로 음성 명령을 재요청할 수 있는 인공지능 연속 대화 방법 및 시스템을 제공한다.Provided is an artificial intelligence continuous conversation method and system that can immediately request a voice command without calling a keyword (wake-up word) to activate the device.
이전 음성 명령에 대응되는 작업에 따라 키워드 호출 없이 자동으로 음성 명령 대기 상태로 전환할 수 있는 인공지능 연속 대화 방법 및 시스템을 제공한다.Provided is an artificial intelligence continuous conversation method and system that can automatically switch to a voice command standby state without a keyword call according to a task corresponding to a previous voice command.
컴퓨터로 구현되는 인공지능 연속 대화 방법에 있어서, 대화 기능이 비활성화 된 상태에서 대화 활성 트리거가 인식되면 상기 대화 기능을 활성화 하여 음성 명령 대기 상태로 진입하는 단계; 상기 음성 명령 대기 상태에서 음성 명령이 수신되면 상기 음성 명령에 대응되는 작업을 수행하는 단계; 및 상기 작업의 유형에 기초하여 다음 음성 명령 대기 상태로 바로 진입함으로써 연속 대화 기능을 제공하는 단계를 포함하고, 상기 연속 대화 기능을 제공하는 단계는, 상기 작업에 따라 상기 연속 대화 기능이 필요한지 여부를 판단하는 단계; 상기 작업이 상기 연속 대화 기능이 필요하지 않은 작업으로 판단되는 경우 상기 대화 기능을 비활성화 상태로 전환하고 상기 음성 명령 대기 상태를 종료하는 단계; 및 상기 작업이 상기 연속 대화 기능이 필요한 작업으로 판단되는 경우 상기 대화 기능의 활성화를 그대로 유지하고 상기 다음 음성 명령 대기 상태로 자동 진입하는 단계를 포함하는 인공지능 연속 대화 방법을 제공한다.A computer-implemented AI continuous conversation method comprising: activating the conversation function to enter a voice command standby state when a conversation activation trigger is recognized while the conversation function is disabled; Performing a task corresponding to the voice command when a voice command is received in the voice command waiting state; And providing a continuous conversation function by directly entering the next voice command waiting state based on the type of the operation, and the providing the continuous conversation function comprises determining whether the continuous conversation function is required according to the operation. Judging; Switching the conversation function to an inactive state and ending the voice command waiting state when the task is determined to be a task that does not require the continuous conversation function; And maintaining the activation of the conversation function and automatically entering the standby state of the next voice command when the task is determined to be a task requiring the continuous conversation function.
일 측면에 따르면, 상기 판단하는 단계는, 상기 작업이 별도의 종료 명령이 입력되기 전까지 지속되는 작업에 해당하는 경우 상기 연속 대화 기능이 필요하지 않은 작업으로 판단하는 단계; 및 상기 작업이 별도의 종료 명령 없이 소정 시점에 종료되는 작업에 해당하는 경우 상기 연속 대화 기능이 필요한 작업으로 판단하는 단계를 포함할 수 있다.According to an aspect, the determining may include determining that the continuous conversation function is not required when the job corresponds to a job that continues until a separate end command is input; And determining that the continuous conversation function is a necessary task when the task corresponds to a task ending at a predetermined point in time without a separate termination command.
다른 측면에 따르면, 상기 판단하는 단계는, 상기 작업이 사용자의 답변을 요구하는 대화 형식의 동작을 포함하는 경우 상기 연속 대화 기능이 필요한 작업으로 판단하는 단계를 포함할 수 있다.According to another aspect, the determining may include determining that the continuous conversation function is required when the operation includes a conversation-type operation requiring a user's response.
또 다른 측면에 따르면, 상기 판단하는 단계는, 작업 별 수행 패턴을 학습한 결과에 기초하여 상기 작업이 추가의 음성 명령이 예측되는 작업에 해당하는 경우 상기 연속 대화 기능이 필요한 작업으로 판단하는 단계를 포함할 수 있다.According to another aspect, the determining step may include determining a task requiring the continuous conversation function when the task corresponds to a task in which an additional voice command is predicted based on a result of learning a performance pattern for each task. It can contain.
컴퓨터와 결합되어 상기 인공지능 연속 대화 방법을 컴퓨터에 실행시키기 위해 컴퓨터 판독 가능한 기록매체에 저장된 컴퓨터 프로그램을 제공한다.In combination with a computer, a computer program stored in a computer-readable recording medium is provided to execute the artificial intelligence continuous communication method on a computer.
상기 인공지능 연속 대화 방법을 컴퓨터에 실행시키기 위한 프로그램이 기록되어 있는 것을 특징으로 하는 컴퓨터에서 판독 가능한 기록매체를 제공한다.It provides a computer-readable recording medium, characterized in that a program for executing the artificial intelligence continuous communication method is recorded on the computer.
컴퓨터로 구현되는 인공지능 연속 대화 시스템에 있어서, 컴퓨터에서 판독 가능한 명령을 실행하도록 구현되는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 대화 기능이 비활성화 된 상태에서 대화 활성 트리거가 인식되면 상기 대화 기능을 활성화 하여 음성 명령 대기 상태로 진입하는 과정; 상기 음성 명령 대기 상태에서 음성 명령이 수신되면 상기 음성 명령에 대응되는 작업을 수행하는 과정; 및 상기 작업의 유형에 기초하여 다음 음성 명령 대기 상태로 바로 진입함으로써 연속 대화 기능을 제공하는 과정을 처리하고, 상기 연속 대화 기능을 제공하는 과정은, 상기 작업에 따라 상기 연속 대화 기능이 필요한지 여부를 판단하는 과정; 상기 작업이 상기 연속 대화 기능이 필요하지 않은 작업으로 판단되는 경우 상기 대화 기능을 비활성화 상태로 전환하고 상기 음성 명령 대기 상태를 종료하는 과정; 및 상기 작업이 상기 연속 대화 기능이 필요한 작업으로 판단되는 경우 상기 대화 기능의 활성화를 그대로 유지하고 상기 다음 음성 명령 대기 상태로 자동 진입하는 과정을 포함하는 인공지능 연속 대화 시스템을 제공한다.A computer-implemented artificial intelligence continuous conversation system, comprising: at least one processor implemented to execute instructions readable by a computer, wherein the at least one processor, when a conversation activation trigger is recognized while the conversation function is disabled Activating the conversation function to enter a voice command waiting state; Performing a task corresponding to the voice command when a voice command is received in the voice command waiting state; And processing the process of providing a continuous conversation function by directly entering the next voice command standby state based on the type of the task, and the process of providing the continuous conversation function determines whether the continuous conversation function is required according to the task. Judgment process; If the task is determined to be a task that does not require the continuous conversation function, switching the conversation function to an inactive state and ending the voice command waiting state; And if the task is determined to be a task requiring the continuous conversation function, maintaining the activation of the conversation function and automatically entering the standby state of the next voice command.
본 발명의 실시예들에 따르면, 이전 음성 명령이 이루어진 후 이전 음성 명령에 대응되는 작업에 따라 기기의 활성화 상태를 유지하여 다음 음성 명령 대기 상태로 자동 전환함으로써 단기간에 다시 이루어지는 음성 명령의 경우 기기 활성화를 위한 키워드 호출 없이 바로 진행할 수 있어 사용자 편의와 사용 피로도를 개선할 수 있다.According to embodiments of the present invention, after the previous voice command is made, the device is activated in a short period of time by maintaining the activation state of the device according to a task corresponding to the previous voice command and automatically switching to the next voice command standby state. The user can proceed immediately without calling a keyword for improving user convenience and fatigue.
도 1은 본 발명의 일실시예에 따른 음성 기반 인터페이스를 활용한 서비스 환경의 예를 도시한 도면이다.
도 2는 본 발명의 일실시예에 따른 음성 기반 인터페이스를 활용한 서비스 환경의 다른 예를 도시한 도면이다.
도 3은 본 발명의 일실시예에 있어서, 클라우드 인공지능 플랫폼의 예를 도시한 도면이다.
도 4는 본 발명의 일실시예에 있어서, 전자 기기 및 서버의 내부 구성을 설명하기 위한 블록도이다.
도 5는 본 발명의 일실시예에 있어서, 인공지능 연속 대화 방법을 도시한 흐름도이다.
도 6 내지 도 8은 본 발명의 일실시예에 있어서, 키워드 호출 없이 바로 음성 명령을 재요청할 수 있는 작업 리스트를 설명하기 위한 예시 도면이다.1 is a diagram showing an example of a service environment using a voice-based interface according to an embodiment of the present invention.
2 is a diagram showing another example of a service environment using a voice-based interface according to an embodiment of the present invention.
3 is a diagram illustrating an example of a cloud AI platform in an embodiment of the present invention.
4 is a block diagram illustrating an internal configuration of an electronic device and a server in an embodiment of the present invention.
5 is a flowchart illustrating an artificial intelligence continuous conversation method in an embodiment of the present invention.
6 to 8 are exemplary views for explaining a task list that can immediately request a voice command without calling a keyword in one embodiment of the present invention.
이하, 본 발명의 실시예를 첨부된 도면을 참조하여 상세하게 설명한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
본 발명의 실시예들에 따른 인공지능 연속 대화 시스템은 사용자와의 대화를 기반으로 동작하는 인터페이스를 제공하는 전자 기기를 통해 구현될 수 있다. 이때, 인공지능 연속 대화 시스템은 기기의 활성화를 위한 키워드(웨이크업워드) 호출 없이 바로 음성 명령을 재요청할 수 있는 연속 대화 기능을 제공한다.The AI continuous conversation system according to embodiments of the present invention may be implemented through an electronic device that provides an interface that operates based on a conversation with a user. At this time, the artificial intelligence continuous conversation system provides a continuous conversation function that can immediately request a voice command without calling a keyword (wakeup word) for activation of the device.
본 발명의 실시예들에 따른 인공지능 연속 대화 방법은 상술한 전자 기기를 통해 수행될 수 있다. 이때, 전자 기기에는 본 발명의 일실시예에 따른 컴퓨터 프로그램이 설치 및 구동될 수 있고, 전자 기기는 구동된 컴퓨터 프로그램의 제어에 따라 본 발명의 일실시예에 따른 인공지능 연속 대화 방법을 수행할 수 있다. 상술한 컴퓨터 프로그램은 컴퓨터로 구현되는 전자 기기와 결합되어 인공지능 연속 대화 방법을 컴퓨터에 실행시키기 위해 컴퓨터 판독 가능한 기록매체에 저장될 수 있다.The AI continuous conversation method according to the embodiments of the present invention may be performed through the above-described electronic device. At this time, a computer program according to an embodiment of the present invention may be installed and driven in the electronic device, and the electronic device may perform an artificial intelligence continuous conversation method according to an embodiment of the present invention under the control of the driven computer program. You can. The above-described computer program may be stored in a computer-readable recording medium to execute an artificial intelligence continuous communication method in a computer in combination with a computer-implemented electronic device.
도 1은 본 발명의 일실시예에 따른 음성 기반 인터페이스를 활용한 서비스 환경의 예를 도시한 도면이다. 도 1의 실시예에서는 스마트홈(smart home)이나 홈 네트워크 서비스와 같이 댁내의 디바이스들을 연결하여 제어하는 기술에서, 음성을 기반으로 동작하는 인터페이스를 제공하는 전자 기기(100)가 사용자(110)의 발화에 따라 수신되는 음성 입력 "불 꺼줘"를 인식 및 분석하여 댁내에서 전자 기기(100)와 내부 네트워크를 통해 연계된 댁내 조명기기(120)의 라이트 전원을 제어하는 예를 나타내고 있다.1 is a diagram showing an example of a service environment using a voice-based interface according to an embodiment of the present invention. In the embodiment of FIG. 1, in the technology of connecting and controlling devices in a home, such as a smart home or a home network service, the
예를 들어, 댁내의 디바이스들은 상술한 댁내 조명기기(120) 외에도 텔레비전, PC(Personal Computer), 주변기기, 에어컨, 냉장고, 로봇 청소기 등과 같은 가전제품을 비롯하여, 수도, 전기, 냉난방 기기 등과 같은 에너지 소비장치, 도어록, 감시카메라 등과 같은 보안기기 등 온라인 상에서 연결되어 제어될 수 있는 다양한 디바이스들을 포함할 수 있다. 또한, 내부 네트워크는 이더넷(Ethernet), HomePNA, IEEE 1394와 같은 유선 네트워크 기술이나, 블루투스(Bluetooth), UWB(ultra Wide Band), 지그비(ZigBee), Wireless 1394, Home RF와 같은 무선 네트워크 기술 등이 활용될 수 있다.For example, in-house devices, in addition to the above-described
전자 기기(100)는 댁내의 디바이스들 중 하나일 수 있다. 예를 들어, 전자 기기(100)는 댁내에 구비된 인공지능 스피커나 로봇 청소기 등과 같은 디바이스들 중 하나일 수 있다. 또한, 전자 기기(100)는 스마트폰(smart phone), 휴대폰, 노트북, 디지털방송용 단말, PDA(Personal Digital Assistants), PMP(Portable Multimedia Player), 태블릿 PC 등과 같은 사용자(110)의 모바일 기기일 수도 있다. 이처럼 전자 기기(100)는 사용자(110)의 음성 입력을 수신하여 댁내의 디바이스들을 제어하기 위해 댁내의 디바이스들과 연결 가능한 기능을 포함하는 기기라면 특별히 제한되지 않는다. 또한, 실시예에 따라 상술한 사용자(110)의 모바일 기기들이 댁내의 디바이스들로서 포함될 수도 있다.The
도 2는 본 발명의 일실시예에 따른 음성 기반 인터페이스를 활용한 서비스 환경의 다른 예를 도시한 도면이다. 도 2는 음성을 기반으로 동작하는 인터페이스를 제공하는 전자 기기(100)가 사용자(110)의 발화에 따라 수신되는 음성 입력 "오늘 날씨"를 인식 및 분석하여 외부 네트워크를 통해 외부 서버(210)로부터 오늘의 날씨에 대한 정보를 획득하고 획득한 정보를 "오늘의 날씨는 ..."와 같이 음성으로 출력하는 예를 나타내고 있다.2 is a diagram showing another example of a service environment using a voice-based interface according to an embodiment of the present invention. FIG. 2 shows the voice input "today weather" received according to the utterance of the
예를 들어, 외부 네트워크는 PAN(personal area network), LAN(local area network), CAN(campus area network), MAN(metropolitan area network), WAN(wide area network), BBN(broadband network), 인터넷 등의 네트워크 중 하나 이상의 임의의 네트워크를 포함할 수 있다.For example, the external network includes a personal area network (PAN), a local area network (LAN), a campus area network (CAN), a metropolitan area network (MAN), a wide area network (WAN), a broadband network (BBN), the Internet, and the like. The network may include any one or more of the network.
도 2의 실시예에서도 전자 기기(100)는 댁내의 디바이스들 중 하나이거나 사용자(110)의 모바일 기기 중 하나일 수 있으며, 사용자(110)의 음성 입력을 수신하여 처리하기 위한 기능과 외부 네트워크를 통해 외부 서버(210)에 접속하여 외부 서버(210)가 제공하는 서비스나 컨텐츠를 사용자(110)에게 제공하기 위한 기능을 포함하는 기기라면 특별히 제한되지 않는다.Even in the embodiment of FIG. 2, the
이처럼, 본 발명의 실시예들에 따른 전자 기기(100)는 음성 기반 인터페이스를 통해 사용자(110)의 발화에 따라 수신되는 음성 입력을 적어도 포함하는 사용자 명령을 처리할 수 있는 기기라면 특별히 제한되지 않을 수 있다. 예를 들어, 전자 기기(100)는 직접 사용자의 음성 입력을 인식 및 분석하여 음성 입력에 알맞은 동작을 수행함으로써 사용자 명령을 처리할 수도 있으나, 실시예에 따라 사용자의 음성 입력에 대한 인식이나 인식된 음성 입력의 분석, 사용자에게 제공될 음성의 합성 등의 처리를 전자 기기(100)와 연계된 외부의 플랫폼을 통해 수행할 수도 있다.As such, the
도 3은 본 발명의 일실시예에 있어서, 클라우드 인공지능 플랫폼의 예를 도시한 도면이다. 도 3은 전자 기기들(310)과 클라우드 인공지능 플랫폼(320) 및 컨텐츠ㆍ서비스(330)를 나타내고 있다.3 is a diagram illustrating an example of a cloud AI platform in an embodiment of the present invention. 3 shows the
일례로, 전자 기기들(310)은 댁내에 구비되는 디바이스들을 의미할 수 있으며, 적어도 앞서 설명한 전자 기기(100)를 포함할 수 있다. 이러한 전자 기기들(310)이나 전자 기기들(310)에 설치 및 구동되는 어플리케이션들(이하, 앱들)은 인터페이스 커넥트(340)를 통해 클라우드 인공지능 플랫폼(320)과 연계될 수 있다. 여기서 인터페이스 커넥트(340)는 전자 기기들(310)이나 전자 기기들(310)에 설치 및 구동되는 앱들의 개발을 위한 SDK(Software Development Kit) 및/또는 개발 문서들을 개발자들에게 제공할 수 있다. 또한, 인터페이스 커넥트(340)는 전자 기기들(310)이나 전자 기기들(310)에 설치 및 구동되는 앱들이 클라우드 인공지능 플랫폼(320)이 제공하는 기능들을 활용할 수 있는 API(Application Program Interface)를 제공할 수 있다. 구체적인 예로, 개발자들은 인터페이스 커넥트(340)가 제공하는 SDK(Software Development Kit) 및/또는 개발 문서를 이용하여 개발한 기기나 앱은 인터페이스 커넥트(340)가 제공하는 API를 이용하여 클라우드 인공지능 플랫폼(320)이 제공하는 기능들을 활용할 수 있게 된다.As an example, the
여기서 클라우드 인공지능 플랫폼(320)은 음성 기반의 서비스를 제공하기 위한 기능을 제공할 수 있다. 예를 들어, 클라우드 인공지능 플랫폼(320)은 수신된 음성을 인식하고, 출력될 음성을 합성하기 위한 음성처리모듈(321), 수신된 영상이나 동영상을 분석하여 처리하기 위한 비전처리모듈(322), 수신된 음성에 따라 알맞은 음성을 출력하기 위해 적절한 대화를 결정하기 위한 대화처리모듈(323), 수신된 음성에 알맞은 기능을 추천하기 위한 추천모듈(324), 인공지능이 데이터 학습을 통해 문장 단위로 언어를 번역할 수 있도록 지원하는 인공신경망 기반 기계 번역(Neural Machine Translation, NMT, 325) 등과 같이 음성 기반 서비스를 제공하기 위한 다양한 모듈들을 포함할 수 있다.Here, the
예를 들어, 도 1 및 도 2의 실시예들에서 전자 기기(100)는 사용자(110)의 음성 입력을 인터페이스 커넥트(340)에서 제공하는 API를 이용하여 클라우드 인공지능 플랫폼(320)으로 전송할 수 있다. 이 경우, 클라우드 인공지능 플랫폼(320)은 수신된 음성 입력을 상술한 모듈들(321 내지 325)을 활용하여 인식 및 분석할 수 있으며, 수신된 음성 입력에 따라 적절한 답변 음성을 합성하여 제공하거나, 적절한 동작을 추천할 수 있다.For example, in the embodiments of FIGS. 1 and 2, the
또한, 확장 키트(350)는 제3자 컨텐츠 개발자 또는 회사들이 클라우드 인공지능 플랫폼(320)에 기반하여 새로운 음성기반 기능을 구현할 수 있는 개발 키트를 제공할 수 있다. 예를 들어, 도 2의 실시예에서, 전자 기기(100)는 사용자(110)의 음성 입력을 외부 서버(210)로 전송할 수 있고, 외부 서버(210)는 확장 키트(350)를 통해 제공되는 API를 통해 클라우드 인공지능 플랫폼(320)으로 음성 입력을 전송할 수 있다. 이 경우, 앞서 설명한 바와 유사하게 클라우드 인공지능 플랫폼(320)은 수신되는 음성 입력을 인식, 분석하여 적절한 답변 음성을 합성하여 제공하거나 음성 입력을 통해 처리되어야 할 기능에 대한 추천정보를 외부 서버(210)로 제공할 수 있다. 일례로, 도 2에서, 외부 서버(210)는 음성 입력 "오늘 날씨"를 클라우드 인공지능 플랫폼(320)으로 전송할 수 있고, 클라우드 인공지능 플랫폼(320)으로부터 음성 입력 "오늘 날씨"의 인식을 통해 추출되는 키워드 "오늘" 및 "날씨"를 수신할 수 있다. 이 경우, 외부 서버(210)는 키워드 "오늘" 및 "날씨"를 통해 "오늘의 날씨는 ..."와 같은 텍스트 정보를 생성하여 다시 클라우드 인공지능 플랫폼(320)으로 생성된 텍스트 정보를 전송할 수 있다. 이때, 클라우드 인공지능 플랫폼(320)는 텍스트 정보를 음성으로 합성하여 외부 서버(210)로 제공할 수 있다. 외부 서버(210)는 합성된 음성을 전자 기기(100)로 전송할 수 있고, 전자 기기(100)는 합성된 음성 "오늘의 날씨는 ..."을 스피커를 통해 출력함으로써, 사용자(110)로부터 수신한 음성 입력 "오늘 날씨"가 처리될 수 있다.In addition, the
이때, 전자 기기(100)는 사용자와의 대화를 기반으로 디바이스 동작이나 컨텐츠 제공을 위해 본 발명의 실시예에 따른 인공지능 연속 대화 방법을 수행할 수 있다.At this time, the
도 4는 본 발명의 일실시예에 있어서, 전자 기기 및 서버의 내부 구성을 설명하기 위한 블록도이다. 도 4의 전자 기기(410)는 앞서 설명한 전자 기기(100)에 대응할 수 있고, 서버(420)는 앞서 설명한 외부 서버(210) 또는 클라우드 인공지능 플랫폼(320)을 구현하는 하나의 컴퓨터 장치에 대응할 수 있다.4 is a block diagram illustrating an internal configuration of an electronic device and a server in an embodiment of the present invention. The
전자 기기(410)과 서버(420)는 메모리(411, 421), 프로세서(412, 422), 통신 모듈(413, 423) 그리고 입출력 인터페이스(414, 424)를 포함할 수 있다. 메모리(411, 421)는 컴퓨터에서 판독 가능한 기록매체로서, RAM(random access memory), ROM(read only memory) 및 디스크 드라이브와 같은 비소멸성 대용량 기록장치(permanent mass storage device)를 포함할 수 있다. 여기서 ROM과 디스크 드라이브와 같은 비소멸성 대용량 기록장치는 메모리(411, 421)와는 구분되는 별도의 영구 저장 장치로서 전자 기기(410)나 서버(420)에 포함될 수도 있다. 또한, 메모리(411, 421)에는 운영체제와 적어도 하나의 프로그램 코드(일례로 전자 기기(410)에 설치되어 특정 서비스의 제공을 위해 전자 기기(410)에서 구동되는 어플리케이션 등을 위한 코드)가 저장될 수 있다. 이러한 소프트웨어 구성요소들은 메모리(411, 421)와는 별도의 컴퓨터에서 판독 가능한 기록매체로부터 로딩될 수 있다. 이러한 별도의 컴퓨터에서 판독 가능한 기록매체는 플로피 드라이브, 디스크, 테이프, DVD/CD-ROM 드라이브, 메모리 카드 등의 컴퓨터에서 판독 가능한 기록매체를 포함할 수 있다. 다른 실시예에서 소프트웨어 구성요소들은 컴퓨터에서 판독 가능한 기록매체가 아닌 통신 모듈(413, 423)을 통해 메모리(411, 421)에 로딩될 수도 있다. 예를 들어, 적어도 하나의 프로그램은 개발자들 또는 어플리케이션의 설치 파일을 배포하는 파일 배포 시스템이 네트워크(430)를 통해 제공하는 파일들에 의해 설치되는 컴퓨터 프로그램(일례로 상술한 어플리케이션)에 기반하여 전자 기기(410)의 메모리(411)에 로딩될 수 있다.The
프로세서(412, 422)는 기본적인 산술, 로직 및 입출력 연산을 수행함으로써, 컴퓨터 프로그램의 명령을 처리하도록 구성될 수 있다. 명령은 메모리(411, 421) 또는 통신 모듈(413, 423)에 의해 프로세서(412, 422)로 제공될 수 있다. 예를 들어 프로세서(412, 422)는 메모리(411, 421)와 같은 기록 장치에 저장된 프로그램 코드에 따라 수신되는 명령을 실행하도록 구성될 수 있다.
통신 모듈(413, 423)은 네트워크(430)를 통해 전자 기기(410)과 서버(420)가 서로 통신하기 위한 기능을 제공할 수 있으며, 전자 기기(410) 및/또는 서버(420)가 다른 전자 기기 또는 다른 서버와 통신하기 위한 기능을 제공할 수 있다. 일례로, 전자 기기(410)의 프로세서(412)가 메모리(411)와 같은 기록 장치에 저장된 프로그램 코드에 따라 생성한 요청이 통신 모듈(213)의 제어에 따라 네트워크(430)를 통해 서버(420)로 전달될 수 있다. 역으로, 서버(420)의 프로세서(422)의 제어에 따라 제공되는 제어 신호나 명령, 컨텐츠, 파일 등이 통신 모듈(223)과 네트워크(430)를 거쳐 전자 기기(410)의 통신 모듈(213)을 통해 전자 기기(410)로 수신될 수 있다. 예를 들어 통신 모듈(213)을 통해 수신된 서버(420)의 제어 신호나 명령, 컨텐츠, 파일 등은 프로세서(412)나 메모리(411)로 전달될 수 있고, 컨텐츠나 파일 등은 전자 기기(410)가 더 포함할 수 있는 저장 매체(상술한 영구 저장 장치)로 저장될 수 있다.The
입출력 인터페이스(414)는 입출력 장치(415)와의 인터페이스를 위한 수단일 수 있다. 예를 들어, 입력 장치는 마이크, 키보드 또는 마우스 등의 장치를, 그리고 출력 장치는 디스플레이, 스피커와 같은 장치를 포함할 수 있다. 다른 예로 입출력 인터페이스(414)는 터치스크린과 같이 입력과 출력을 위한 기능이 하나로 통합된 장치와의 인터페이스를 위한 수단일 수도 있다. 입출력 장치(415)는 전자 기기(410)와 하나의 장치로 구성될 수도 있다. 또한, 서버(420)의 입출력 인터페이스(424)는 서버(420)와 연결되거나 서버(420)가 포함할 수 있는 입력 또는 출력을 위한 장치(미도시)와의 인터페이스를 위한 수단일 수 있다.The input /
또한, 다른 실시예들에서 전자 기기(410) 및 서버(420)는 도 4의 구성요소들보다 더 적은 또는 더 많은 구성요소들을 포함할 수도 있다. 그러나, 대부분의 종래기술적 구성요소들을 명확하게 도시할 필요성은 없다. 예를 들어, 전자 기기(410)는 상술한 입출력 장치(415) 중 적어도 일부를 포함하도록 구현되거나 또는 트랜시버(transceiver), GPS(Global Positioning System) 모듈, 카메라, 각종 센서, 데이터베이스 등과 같은 다른 구성요소들을 더 포함할 수도 있다. 보다 구체적인 예로, 전자 기기(410)가 스마트폰인 경우, 일반적으로 스마트폰이 포함하고 있는 가속도 센서나 자이로 센서, 동작 센서, 카메라 모듈, 각종 물리적인 버튼, 터치패널을 이용한 버튼, 입출력 포트, 진동을 위한 진동기 등의 다양한 구성요소들이 전자 기기(410)에 더 포함되도록 구현될 수 있다.Also, in other embodiments, the
본 실시예들에서 전자 기기(410)는 사용자의 음성 입력을 수신하기 위한 마이크를 입출력 장치(415)로서 기본적으로 포함할 수 있으며, 사용자의 음성 입력에 대응하는 답변 음성이나 오디오 컨텐츠와 같은 소리를 출력하기 위한 스피커를 입출력 장치(415)로서 더 포함할 수 있다.In the present exemplary embodiment, the
본 발명의 실시예들에 따른 인공지능 연속 대화 방법은 앞서 설명한 전자 기기(410)와 같은 컴퓨터 장치에 의해 수행될 수 있다. 이때, 전자 기기(410)의 프로세서(412)는 메모리(411)가 포함하는 운영체제의 코드나 적어도 하나의 프로그램의 코드에 따른 제어 명령(instruction)을 실행하도록 구현될 수 있다. 여기서, 프로세서(412)는 전자 기기(410)에 저장된 코드가 제공하는 제어 명령에 따라 전자 기기(410)가 이하에서 설명하게 될 인공지능 연속 대화 방법이 포함하는 단계들을 수행하도록 전자 기기(410)를 제어할 수 있다.The artificial intelligence continuous conversation method according to the embodiments of the present invention may be performed by a computer device such as the
도 5는 본 발명의 일실시예에 있어서, 인공지능 연속 대화 방법의 예를 도시한 흐름도이다.5 is a flowchart illustrating an example of an artificial intelligence continuous conversation method in an embodiment of the present invention.
단계(S510)에서 전자 기기(410)는 비활성(inactive) 상태(50)에서 대화 기반 인터페이스를 통해 사용자의 발화로 사전에 정해진 키워드(51)를 인식하게 되면 대화 기능을 활성화 시킬 수 있다(키워드 호출 기능-attending). 예를 들어, 전자 기기(410)는 대화 기반 인터페이스로서 전자 기기(410)가 포함하는 마이크 또는 전자 기기(410)와 연동된 마이크와 같은 음성 입력 장치를 통해 사용자의 발화에 따른 음성 입력을 수신할 수 있다. 다시 말해, 전자 기기(410)는 아무런 작업도 수행하고 있지 않는 아이들(idle) 상태 등 비활성 상태(50)에서 사용자가 웨이크업워드로 지정된 키워드(51)를 발화하는 경우 해당 키워드(51)를 인식하여 대화 기능을 활성화 시킬 수 있다. 이때, 전자 기기(410)는 대화 활성화 시 전자 기기(410)에 포함되거나 전자 기기(410)와 연동 가능한 출력장치(PUI, physical user interface)를 통해 사용자가 대화 활성 상태를 인지할 수 있는 정보, 예를 들어 디스플레이를 켜거나 효과음을 출력할 수 있다. 상기한 키워드 호출 기능은 전자 기기(410)가 아무런 작업도 수행하고 있지 않은 상태에서는 물론이고, 음악 재생과 같은 작업을 수행하고 있는 상태에서도 수행되는 것이다.In step S510, the
본 실시예에서는 대화 활성 트리거로서 특정 키워드를 이용하는 것으로 설명하고 있으나, 이러한 것으로만 한정되는 것은 아니며 특정 액션이나 소리, 신호 등 다양한 형태의 대화 활성 트리거를 활용할 수 있다.Although the present embodiment describes that a specific keyword is used as a conversation activation trigger, the present invention is not limited to this, and various types of conversation activation triggers such as a specific action, sound, and signal may be used.
단계(S520)에서 전자 기기(410)는 키워드(51) 호출을 통해 대화 기능이 활성화 됨에 따라 사용자의 음성 명령을 대기할 수 있다(음성 명령 대기 상태-hearing). 활성화 된 전자 기기(410)는 자동으로 일정 시간(예컨대, 7초) 동안 사용자의 음성 명령을 기다리는 대기 상태를 유지한다. 사용자는 PUI를 통해 전자 기기(410)의 대화 활성 상태를 인지한 후 전자 기기(410)가 대기 상태를 유지하는 일정 시간 이내에 음성 명령을 입력할 수 있다.In step S520, the
단계(S530)에서 전자 기기(410)는 음성 명령 대기 상태에 대해 지정된 시간을 카운트 하여 음성 명령 대기 상태로 진입한 이후 일정 시간이 경과하는지 여부를 판단할 수 있다. 전자 기기(410)는 지정된 일정 시간 동안 사용자로부터 음성 명령이 들어오지 않으면 음성 명령 대기 상태에 대해 타임 아웃(time out) 처리하여 비활성 상태(50)로 돌아가게 된다.In step S530, the
단계(S540)에서 전자 기기(410)는 음성 명령 대기 상태에서 일정 시간 이내에 사용자로부터 음성 명령이 수신되는 경우 수신된 음성 명령을 분석할 수 있다(음성 분석 기능-processing). 전자 기기(410)는 음성 명령 대기 상태에서 대화 기반 인터페이스를 통해 사용자의 음성 입력을 수신할 수 있다. 예를 들어, 전자 기기(410)는 대화 기반 인터페이스로서 전자 기기(410)가 포함하는 마이크 또는 전자 기기(410)와 연동된 마이크와 같은 음성 입력 장치를 통해 사용자의 발화에 따른 음성 입력을 수신할 수 있으며, 수신된 음성 명령의 의미를 분석하는 NLU(natural language understanding) 작업을 수행할 수 있다.In step S540, the
본 실시예에서는 전자 기기(410)에서 음성 분석 기능을 수행하는 것으로 설명하고 있으나, 이러한 것으로만 한정되는 것은 아니다. 예를 들어, 전자 기기(410)는 음성 명령 대기 상태에서 사용자의 음성 명령을 수신한 후 수신된 음성 명령을 서버(420)로 전달하고 서버(420)에서 사용자의 음성 명령을 분석하는 프로세스 또한 가능하다.In this embodiment, the
단계(S550)에서 전자 기기(410)는 음성 분석 기능을 통한 의미 분석 결과에 따른 작업을 수행할 수 있다(작업 수행 기능-reporting). 전자 기기(410)는 사용자의 음성 명령에 대응되는 정보를 출력하는 것으로, 필요에 따라 동작 안내를 위한 TTS(text to speech)와 함께 의미 분석 결과에 따른 작업을 수행할 수 있다. 사용자의 음성 명령에 대응되는 정보에는 대화 기반 인터페이스를 통해 출력 가능한 정보로서 음성 정보, 영상 정보, 동작 정보 중 적어도 하나를 포함할 수 있다. 일례로, 전자 기기(410)는 전자 기기(410)가 포함하는 스피커 또는 전자 기기(410)와 연동된 스피커와 같은 음성 출력 장치를 통해 사용자의 음성 명령에 대응되는 음성 정보를 출력할 수 있다. 그리고, 전자 기기(410)는 전자 기기(410)가 포함하는 디스플레이 또는 전자 기기(410)와 연동된 디스플레이와 같은 영상 출력 장치를 통해 사용자의 음성 명령에 대응되는 영상 정보를 출력할 수 있다. 또한, 전자 기기(410)는 전자 기기(410)가 포함하는 모터 제어 동작 장치 또는 전자 기기(410)와 연동된 모터 제어 동작 장치를 통해 사용자의 음성 명령에 대응되는 동작 정보를 출력할 수 있다. 예컨대, 전자 기기(410)가 대화 로봇인 경우 사용자의 음성 명령에 대응하는 정보에 따라 관련 동작을 구현할 수 있다.In step S550, the
본 실시예에서는 전자 기기(410)에서 작업 수행 기능을 수행하는 것으로 설명하고 있으나, 이러한 것으로만 한정되는 것은 아니다. 예를 들어, 전자 기기(410)는 서버(420)로부터 사용자의 음성 명령에 대응되는 정보를 수신하여 수신된 정보를 대화 기반 인터페이스를 통해 출력하는 프로세스 또한 가능하다.In the present embodiment, the
단계(S560)에서 전자 기기(410)는 사용자의 음성 명령에 대응되는 작업에 따라 연속 대화 기능(2nd hearing)이 필요한지 여부를 판단할 수 있다. 일례로, 전자 기기(410)는 사용자로부터 별도의 종료 명령이 들어오기 전까지 지속되는 작업(이하, '제1 작업'이라 칭함)과 별도의 종료 명령 없이도 소정 시점에 종료되는 작업(이하, '제2 작업'이라 칭함)(즉, 지속적인 동작이 필요하지 않은 작업)을 구분하여 제2 작업을 연속 대화 기능이 필요한 작업으로 판단할 수 있다. 이때, 사용자로부터 별도의 종료 명령이 들어오기 전까지 지속되는 작업과 연관된 작업(예를 들어, 재생 중인 음악 볼륨을 키우는 동작 등) 또한 제1 작업으로 구분할 수 있다. 다른 예로, 전자 기기(410)는 사용자의 음성 명령에 대응되는 작업이 사용자에게 질의하여 답변을 요구하는 등 대화 형식의 동작을 포함하는 경우 연속 대화 기능이 필요한 작업으로 판단할 수 있다. 또 다른 예로, 전자 기기(410)는 작업 별로 해당 작업의 수행 패턴을 학습하여 학습 결과를 바탕으로 단기간(예컨대, 7초) 이내에 추가의 음성 명령이 이어질 것으로 예측되는 작업의 경우 연속 대화 기능이 필요한 작업으로 판단할 수 있다.
특히, 전자 기기(410)는 사용자의 음성 명령에 대응되는 작업이 연속 대화 기능이 필요한 작업으로 판단되는 경우 기기의 활성화 상태를 유지하여 다음 음성 명령 대기 상태(2nd hearing)로 자동 전환할 수 있다. 이때, 전자 기기(410)는 사용자의 음성 명령이 입력된 뒤 기기를 비활성 상태로 전환하는 것이 아니라, 기기의 활성화 상태를 그대로 유지하고 다음 음성 명령 대기 상태로 자동 진입하여 기기를 깨우기 위한 키워드 호출 없이 바로 사용자에게 음성 명령을 재요청할 수 있다. 다음 음성 명령 대기 상태에서도 이전 음성 명령 대기 상태와 마찬가지로 일정 시간이 대기 시간으로 지정되어 있어 사용자가 추가 명령을 원하지 않아 음성 명령을 입력하지 않는 경우 대기 시간이 경과된 직후 타임 아웃 처리된다.In particular, it is possible to automatically switch to the
단계(S570)에서 전자 기기(410)는 사용자의 음성 명령에 대응되는 작업이 연속 대화 기능이 필요한 작업에 해당되지 않는 경우 기기를 비활성 상태(50)로 전환하여 음성 명령 대기 과정을 종료한다. 다시 말해, 전자 기기(410)는 연속 대화 기능이 필요하지 않은 작업의 경우 음성 명령 대기 과정을 종료하고 키워드 호출 이전까지는 기기의 비활성 상태(50)를 유지하다가 키워드 호출이 있을 때 기기를 다시 활성화 시킬 수 있다.In step S570, if the operation corresponding to the user's voice command does not correspond to a task requiring a continuous conversation function, the
키워드 호출 직후 첫 번째 음성 명령 대기 과정에서 음성 명령 분석에 실패한 경우에는 소정 내용(예컨대, '잘 모르겠어요.')의 TTS 답변을 제공한 후 음성 명령 대기 과정을 종료하고, 키워드 호출 없이 연속 대화 기능으로 제공되는 음성 명령 대기 과정에서 음성 명령 분석에 실패한 경우에는 별도의 TTS 답변 없이 음성 명령 대기 과정을 종료할 수 있다.If the analysis of the voice command fails in the first voice command waiting process immediately after the keyword call, the voice command waiting process is terminated after providing the TTS response with a predetermined content (for example, 'I'm not sure'), and the continuous conversation function is performed without the keyword call. If the analysis of the voice command fails in the voice command waiting process provided, the voice command waiting process may be terminated without a separate TTS response.
전자 기기(410)는 예를 들어, 음악, 뉴스, 동화, 라디오 등과 같이 컨텐츠를 재생하는 작업처럼 사용자로부터 별도의 종료 명령이 있을 때까지 기기의 지속적인 작업이 필요한 경우 음성 명령 대기 과정을 종료하고 수행 요청한 작업을 지속할 수 있다. 한편, 이전 음성 명령 대기 과정에서 인식된 음성 명령에 따른 작업이 단순 정보 요청이나 기기와의 채팅처럼 별도의 종료 명령이 없이도 정보 전달 후 종료되는 작업이나 사용자와 연속되는 대화 형식의 작업에 해당되는 경우에는 키워드 호출 없이도 기기의 활성화 상태를 유지하여 다음 음성 명령 대기 상태로 바로 진입할 수 있다.The
도 6은 미디어 컨텐츠에 속하는 작업 리스트의 예시를 도시한 것이다.6 shows an example of a job list belonging to media content.
전자 기기(410)는 사용자의 음성 명령에 대응되는 작업의 일례로 미디어 컨텐츠를 제공할 수 있다. 이때, 미디어 컨텐츠의 일례로는 음성 정보로 구성된 오디오 컨텐츠(600)를 포함할 수 있으며, 도 6을 참조하면 오디오 컨텐츠(600)는 예시적으로 음악, 뉴스, 동화, 라디오 등으로 분류될 수 있다.The
전자 기기(410)는 사용자로부터 수신된 음성 명령의 의미를 분석하여 의미 분석 결과에 따른 작업을 수행하게 되는데, 사용자의 음성 명령으로 '뉴스 틀어줘'가 수신되면 오디오 컨텐츠(600) 중 뉴스로 분류된 컨텐츠를 재생할 수 있다.The
이와 같이 오디오 컨텐츠(600)는 사용자로부터 별도의 종료 명령이 있을 때까지 지속적으로 수행되는 작업에 해당되며, 이러한 작업에 대해서는 음성 명령 대기 과정을 즉시 종료하고 기기를 비활성화 시킨다.As described above, the
도 7은 TTS 답변에 속하는 작업 리스트의 예시를 도시한 것이다.7 shows an example of a task list belonging to the TTS answer.
전자 기기(410)는 사용자의 음성 명령에 대응되는 작업의 일례로 TTS 형태의 답변 정보(700)를 제공할 수 있다. 예를 들어, 사용자의 음성 명령으로 '오늘 일정 뭐 있어'가 수신되면 사용자의 일정 정보 중 오늘 날짜에 해당되는 일정 정보를 TTS로 출력할 수 있다.The
정보 검색과 같은 TTS 답변(700)은 별도의 종료 명령 없이도 정보 전달 후 작업이 종료되고 이러한 작업은 단기간 내에 사용자로부터 추가 정보 요청이 있을 가능성이 높다는 점을 고려하여 기기의 활성화를 유지한 상태에서 다음 음성 명령 대기 상태로 바로 진입함으로써 연속 대화 기능을 제공한다.The
도 6과 도 7을 통해 설명한 바와 같이, 명령 종류 별로, 즉 사용자의 음성 명령에 대응되는 작업 유형에 따라 다음 음성 명령 대기 상태(2nd hearing)로의 전환 여부가 결정될 수 있다.As explained with reference to FIG. 6 and 7, each type of command, that is, whether transition to the next voice command wait state (2 nd hearing) may be determined in accordance with the job type corresponding to the user's voice command.
도 8을 참조하면, 음악과 같은 오디오 컨텐츠를 재생하는 작업, 오디오 컨텐츠의 재생과 관련된 컨트롤 작업(예컨대, 볼륨 조절, 재생 컨텐츠 변경 등) 등은 음성 명령 대기 과정을 즉시 종료하고 다음 음성 명령 대기 상태로 전환하지 않는다. 한편, 단답형의 TTS 답변을 제공하는 작업이나 사용자와 대화를 주고 받는 단순 채팅 작업 등은 기기의 활성화 상태를 유지하여 다음 음성 명령 대기 상태로 바로 전환할 수 있다.Referring to FIG. 8, an operation of playing audio content such as music, a control operation related to playback of audio content (for example, volume adjustment, change of playback content, etc.) immediately terminates a voice command waiting process and waits for the next voice command. Do not switch to Meanwhile, the operation of providing a short-answered TTS answer or the simple chat operation of exchanging and receiving a conversation with the user can be switched to the next voice command standby state by maintaining the device active state.
따라서, 전자 기기(410)는 기본적으로 키워드 호출이 필수로 선행되어야 음성 명령 대기 상태로 진입하게 되는데, 일부 유형의 작업의 경우, 즉 단기간에 음성 명령이 다시 이루어질 가능성이 높은 작업의 경우 키워드 호출 없이 음성 명령 대기 상태로 바로 진입할 수 있다.Accordingly, the
이처럼 본 발명의 실시예들에 따르면, 이전 음성 명령이 이루어진 후 이전 음성 명령에 대응되는 작업에 따라 기기의 활성화 상태를 유지하여 다음 음성 명령 대기 상태로 자동 전환함으로써 단기간에 다시 이루어지는 음성 명령의 경우 기기 활성화를 위한 키워드 호출 없이 바로 진행할 수 있어 사용자 편의와 사용 피로도를 개선할 수 있다.According to the embodiments of the present invention, after the previous voice command is made, the device maintains the activation state of the device according to the operation corresponding to the previous voice command, and automatically switches to the next voice command standby state, thereby in the case of a voice command made in a short period of time. You can proceed immediately without calling a keyword for activation, improving user convenience and fatigue.
이상에서 설명된 장치는 하드웨어 구성요소, 소프트웨어 구성요소, 및/또는 하드웨어 구성요소 및 소프트웨어 구성요소의 조합으로 구현될 수 있다. 예를 들어, 실시예들에서 설명된 장치 및 구성요소는, 프로세서, 콘트롤러, ALU(arithmetic logic unit), 디지털 신호 프로세서(digital signal processor), 마이크로컴퓨터, FPGA(field programmable gate array), PLU(programmable logic unit), 마이크로프로세서, 또는 명령(instruction)을 실행하고 응답할 수 있는 다른 어떠한 장치와 같이, 하나 이상의 범용 컴퓨터 또는 특수 목적 컴퓨터를 이용하여 구현될 수 있다. 처리 장치는 운영 체제(OS) 및 상기 운영 체제 상에서 수행되는 하나 이상의 소프트웨어 어플리케이션을 수행할 수 있다. 또한, 처리 장치는 소프트웨어의 실행에 응답하여, 데이터를 접근, 저장, 조작, 처리 및 생성할 수도 있다. 이해의 편의를 위하여, 처리 장치는 하나가 사용되는 것으로 설명된 경우도 있지만, 해당 기술분야에서 통상의 지식을 가진 자는, 처리 장치가 복수 개의 처리 요소(processing element) 및/또는 복수 유형의 처리 요소를 포함할 수 있음을 알 수 있다. 예를 들어, 처리 장치는 복수 개의 프로세서 또는 하나의 프로세서 및 하나의 콘트롤러를 포함할 수 있다. 또한, 병렬 프로세서(parallel processor)와 같은, 다른 처리 구성(processing configuration)도 가능하다.The device described above may be implemented with hardware components, software components, and / or combinations of hardware components and software components. For example, the devices and components described in the embodiments include a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor (micro signal processor), a microcomputer, a field programmable gate array (FPGA), and a programmable (PLU) It may be implemented using one or more general purpose computers or special purpose computers, such as logic units, microprocessors, or any other device capable of executing and responding to instructions. The processing device may perform an operating system (OS) and one or more software applications running on the operating system. In addition, the processing device may access, store, manipulate, process, and generate data in response to the execution of the software. For convenience of understanding, a processing device may be described as one being used, but a person having ordinary skill in the art, the processing device may include a plurality of processing elements and / or a plurality of types of processing elements. It can be seen that may include. For example, the processing device may include a plurality of processors or a processor and a controller. In addition, other processing configurations, such as parallel processors, are possible.
소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 독립적으로 또는 결합적으로(collectively) 처리 장치를 명령할 수 있다. 소프트웨어 및/또는 데이터는, 처리 장치에 의하여 해석되거나 처리 장치에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 컴퓨터 저장 매체 또는 장치에 구체화(embody)될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터 판독 가능 기록 매체에 저장될 수 있다.The software may include a computer program, code, instruction, or a combination of one or more of these, and configure the processing device to operate as desired, or process independently or collectively You can command the device. Software and / or data may be embodied on any type of machine, component, physical device, computer storage medium, or device to be interpreted by the processing device or to provide instructions or data to the processing device. have. The software may be distributed on networked computer systems, and stored or executed in a distributed manner. Software and data may be stored in one or more computer-readable recording media.
실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 이때, 매체는 컴퓨터로 실행 가능한 프로그램을 계속 저장하거나, 실행 또는 다운로드를 위해 임시 저장하는 것일 수도 있다. 또한, 매체는 단일 또는 수 개의 하드웨어가 결합된 형태의 다양한 기록수단 또는 저장수단일 수 있는데, 어떤 컴퓨터 시스템에 직접 접속되는 매체에 한정되지 않고, 네트워크 상에 분산 존재하는 것일 수도 있다. 매체의 예시로는, 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CD-ROM 및 DVD와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical medium), 및 ROM, RAM, 플래시 메모리 등을 포함하여 프로그램 명령어가 저장되도록 구성된 것이 있을 수 있다. 또한, 다른 매체의 예시로, 어플리케이션을 유통하는 앱 스토어나 기타 다양한 소프트웨어를 공급 내지 유통하는 사이트, 서버 등에서 관리하는 기록매체 내지 저장매체도 들 수 있다.The method according to the embodiment may be implemented in the form of program instructions that can be executed through various computer means and recorded on a computer readable medium. At this time, the medium may be to continuously store a program executable on a computer or to temporarily store it for execution or download. In addition, the medium may be various recording means or storage means in the form of a combination of single or several hardware, and is not limited to a medium directly connected to a computer system, but may be distributed on a network. Examples of the medium include magnetic media such as hard disks, floppy disks, and magnetic tapes, optical recording media such as CD-ROMs and DVDs, and magneto-optical media such as floptical disks, And program instructions including ROM, RAM, flash memory, and the like. In addition, examples of other media may include an application store for distributing applications or a recording medium or storage medium managed by a site, server, or the like that supplies or distributes various software.
이상과 같이 실시예들이 비록 한정된 실시예와 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기의 기재로부터 다양한 수정 및 변형이 가능하다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다.As described above, although the embodiments have been described by a limited embodiment and drawings, those skilled in the art can make various modifications and variations from the above description. For example, the described techniques are performed in a different order than the described method, and / or the components of the described system, structure, device, circuit, etc. are combined or combined in a different form from the described method, or other components Alternatively, even if replaced or substituted by equivalents, appropriate results can be achieved.
그러므로, 다른 구현들, 다른 실시예들 및 특허청구범위와 균등한 것들도 후술하는 특허청구범위의 범위에 속한다.Therefore, other implementations, other embodiments, and equivalents to the claims are also within the scope of the following claims.
Claims (7)
대화 기능이 비활성화 된 상태에서 대화 활성 트리거가 인식되면 상기 대화 기능을 활성화 하여 음성 명령 대기 상태로 진입하는 단계;
상기 음성 명령 대기 상태에서 음성 명령이 수신되면 상기 음성 명령에 대응되는 작업을 수행하는 단계; 및
상기 작업의 유형에 기초하여 다음 음성 명령 대기 상태로 바로 진입함으로써 연속 대화 기능을 제공하는 단계
를 포함하고,
상기 연속 대화 기능을 제공하는 단계는,
상기 작업에 따라 상기 연속 대화 기능이 필요한지 여부를 판단하는 단계;
상기 작업이 상기 연속 대화 기능이 필요하지 않은 작업으로 판단되는 경우 상기 대화 기능을 비활성화 상태로 전환하고 상기 음성 명령 대기 상태를 종료하는 단계; 및
상기 작업이 상기 연속 대화 기능이 필요한 작업으로 판단되는 경우 상기 대화 기능의 활성화를 그대로 유지하고 상기 다음 음성 명령 대기 상태로 자동 진입하는 단계
를 포함하는 인공지능 연속 대화 방법.In the computer-implemented AI continuous communication method,
Activating the conversation function to enter a voice command standby state when a conversation activation trigger is recognized in a state where the conversation function is deactivated;
Performing a task corresponding to the voice command when a voice command is received in the voice command waiting state; And
Providing a continuous conversation function by directly entering a standby state for the next voice command based on the type of the operation.
Including,
The step of providing the continuous conversation function,
Determining whether the continuous conversation function is required according to the operation;
Switching the conversation function to an inactive state and ending the voice command waiting state when the task is determined to be a task that does not require the continuous conversation function; And
Maintaining the activation of the conversation function and automatically entering the standby state of the next voice command when the task is determined to be a task requiring the continuous conversation function
Artificial intelligence continuous conversation method comprising a.
상기 판단하는 단계는,
상기 작업이 별도의 종료 명령이 입력되기 전까지 지속되는 작업에 해당하는 경우 상기 연속 대화 기능이 필요하지 않은 작업으로 판단하는 단계; 및
상기 작업이 별도의 종료 명령 없이 소정 시점에 종료되는 작업에 해당하는 경우 상기 연속 대화 기능이 필요한 작업으로 판단하는 단계
를 포함하는 인공지능 연속 대화 방법.According to claim 1,
The determining step,
Determining that the continuous conversation function is not required if the job corresponds to a job that lasts until a separate end command is input; And
If the task corresponds to a task that is terminated at a predetermined point in time without a separate termination command, determining that the continuous conversation function is necessary.
Artificial intelligence continuous conversation method comprising a.
상기 판단하는 단계는,
상기 작업이 사용자의 답변을 요구하는 대화 형식의 동작을 포함하는 경우 상기 연속 대화 기능이 필요한 작업으로 판단하는 단계
를 포함하는 인공지능 연속 대화 방법.According to claim 1,
The determining step,
Determining that the continuous conversation function is required when the operation includes a conversation-type operation requiring a user's response
Artificial intelligence continuous conversation method comprising a.
상기 판단하는 단계는,
작업 별 수행 패턴을 학습한 결과에 기초하여 상기 작업이 추가의 음성 명령이 예측되는 작업에 해당하는 경우 상기 연속 대화 기능이 필요한 작업으로 판단하는 단계
를 포함하는 인공지능 연속 대화 방법.According to claim 1,
The determining step,
If the task corresponds to a task in which an additional voice command is predicted based on a result of learning a performance pattern for each task, determining that the continuous conversation function is required.
Artificial intelligence continuous conversation method comprising a.
컴퓨터에서 판독 가능한 명령을 실행하도록 구현되는 적어도 하나의 프로세서
를 포함하고,
상기 적어도 하나의 프로세서는,
대화 기능이 비활성화 된 상태에서 대화 활성 트리거가 인식되면 상기 대화 기능을 활성화 하여 음성 명령 대기 상태로 진입하는 과정;
상기 음성 명령 대기 상태에서 음성 명령이 수신되면 상기 음성 명령에 대응되는 작업을 수행하는 과정; 및
상기 작업의 유형에 기초하여 다음 음성 명령 대기 상태로 바로 진입함으로써 연속 대화 기능을 제공하는 과정
을 처리하고,
상기 연속 대화 기능을 제공하는 과정은,
상기 작업에 따라 상기 연속 대화 기능이 필요한지 여부를 판단하는 과정;
상기 작업이 상기 연속 대화 기능이 필요하지 않은 작업으로 판단되는 경우 상기 대화 기능을 비활성화 상태로 전환하고 상기 음성 명령 대기 상태를 종료하는 과정; 및
상기 작업이 상기 연속 대화 기능이 필요한 작업으로 판단되는 경우 상기 대화 기능의 활성화를 그대로 유지하고 상기 다음 음성 명령 대기 상태로 자동 진입하는 과정
을 포함하는 인공지능 연속 대화 시스템.
In the computer-implemented AI continuous dialogue system,
At least one processor implemented to execute computer readable instructions
Including,
The at least one processor,
A process of activating the conversation function and entering a voice command standby state when a conversation activation trigger is recognized while the conversation function is deactivated;
Performing a task corresponding to the voice command when a voice command is received in the voice command waiting state; And
A process of providing a continuous conversation function by directly entering a standby state for the next voice command based on the type of the operation.
And,
The process of providing the continuous conversation function,
Determining whether the continuous conversation function is required according to the operation;
If the task is determined to be a task that does not require the continuous conversation function, switching the conversation function to an inactive state and ending the voice command waiting state; And
The process of maintaining the activation of the conversation function and automatically entering the standby state of the next voice command when the task is determined to be the task requiring the continuous conversation function.
Artificial intelligence continuous conversation system comprising a.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020200040101A KR102241792B1 (en) | 2020-04-02 | 2020-04-02 | Continuous coversation function in artificial intelligence device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
KR1020200040101A KR102241792B1 (en) | 2020-04-02 | 2020-04-02 | Continuous coversation function in artificial intelligence device |
Related Parent Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020170106057A Division KR102098633B1 (en) | 2017-08-22 | 2017-08-22 | Continuous coversation function in artificial intelligence device |
Publications (2)
Publication Number | Publication Date |
---|---|
KR20200038904A true KR20200038904A (en) | 2020-04-14 |
KR102241792B1 KR102241792B1 (en) | 2021-04-19 |
Family
ID=70291777
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
KR1020200040101A KR102241792B1 (en) | 2020-04-02 | 2020-04-02 | Continuous coversation function in artificial intelligence device |
Country Status (1)
Country | Link |
---|---|
KR (1) | KR102241792B1 (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100032140A (en) * | 2008-09-17 | 2010-03-25 | 주식회사 현대오토넷 | Method of interactive voice recognition and apparatus for interactive voice recognition |
KR20150043108A (en) * | 2013-10-14 | 2015-04-22 | 삼성전자주식회사 | display apparatus for performing a voice control and method thereof |
KR20160100765A (en) * | 2015-02-16 | 2016-08-24 | 삼성전자주식회사 | Electronic apparatus and Method of operating voice recognition in the electronic apparatus |
KR20160110085A (en) * | 2015-03-13 | 2016-09-21 | 삼성전자주식회사 | Speech recognition system and method thereof |
US9548053B1 (en) * | 2014-09-19 | 2017-01-17 | Amazon Technologies, Inc. | Audible command filtering |
US20170169817A1 (en) * | 2015-12-09 | 2017-06-15 | Lenovo (Singapore) Pte. Ltd. | Extending the period of voice recognition |
KR20170086814A (en) * | 2016-01-19 | 2017-07-27 | 삼성전자주식회사 | Electronic device for providing voice recognition and method thereof |
-
2020
- 2020-04-02 KR KR1020200040101A patent/KR102241792B1/en active IP Right Grant
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20100032140A (en) * | 2008-09-17 | 2010-03-25 | 주식회사 현대오토넷 | Method of interactive voice recognition and apparatus for interactive voice recognition |
KR20150043108A (en) * | 2013-10-14 | 2015-04-22 | 삼성전자주식회사 | display apparatus for performing a voice control and method thereof |
US9548053B1 (en) * | 2014-09-19 | 2017-01-17 | Amazon Technologies, Inc. | Audible command filtering |
KR20160100765A (en) * | 2015-02-16 | 2016-08-24 | 삼성전자주식회사 | Electronic apparatus and Method of operating voice recognition in the electronic apparatus |
KR20160110085A (en) * | 2015-03-13 | 2016-09-21 | 삼성전자주식회사 | Speech recognition system and method thereof |
US20170169817A1 (en) * | 2015-12-09 | 2017-06-15 | Lenovo (Singapore) Pte. Ltd. | Extending the period of voice recognition |
KR20170086814A (en) * | 2016-01-19 | 2017-07-27 | 삼성전자주식회사 | Electronic device for providing voice recognition and method thereof |
Also Published As
Publication number | Publication date |
---|---|
KR102241792B1 (en) | 2021-04-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR102098633B1 (en) | Continuous coversation function in artificial intelligence device | |
JP7078689B2 (en) | Context hotword | |
JP6752870B2 (en) | Methods and systems for controlling artificial intelligence devices using multiple wake words | |
KR102543693B1 (en) | Electronic device and operating method thereof | |
KR102025391B1 (en) | Device control according to user's talk position | |
JP6567727B2 (en) | User command processing method and system for adjusting output volume of sound output based on input volume of received voice input | |
EP3734596A1 (en) | Server for determining target device based on speech input of user and controlling target device, and operation method of the server | |
KR102209092B1 (en) | Method and system for controlling artificial intelligence device using plurality wake up word | |
JP2018190413A (en) | Method and system for processing user command to adjust and provide operation of device and content provision range by grasping presentation method of user speech | |
CN112201246B (en) | Intelligent control method and device based on voice, electronic equipment and storage medium | |
KR20210120960A (en) | Server for seleting a target device according to a voice input, and controlling the selected target device, and method for operating the same | |
US11048293B2 (en) | Electronic device and system for deciding duration of receiving voice input based on context information | |
US11258671B1 (en) | Functionality management for devices | |
KR20190114326A (en) | The divice and method for providing service by using a chatbot | |
KR20200043642A (en) | Electronic device for ferforming speech recognition using microphone selected based on an operation state and operating method thereof | |
US10861453B1 (en) | Resource scheduling with voice controlled devices | |
JP2018206385A (en) | Method and device for actively providing information suitable for position and space for user | |
KR20210116897A (en) | Method for contolling external device based on voice and electronic device thereof | |
JP2019012506A (en) | Method and system for automatic activation of machine | |
JP6775563B2 (en) | Methods and systems for automatic failure detection of artificial intelligence equipment | |
JP2023553995A (en) | Combining device- or assistant-specific hotwords in a single utterance | |
US10976997B2 (en) | Electronic device outputting hints in an offline state for providing service according to user context | |
KR20210001082A (en) | Electornic device for processing user utterance and method for operating thereof | |
KR102396147B1 (en) | Electronic device for performing an operation using voice commands and the method of the same | |
KR102241792B1 (en) | Continuous coversation function in artificial intelligence device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A107 | Divisional application of patent | ||
E902 | Notification of reason for refusal | ||
E701 | Decision to grant or registration of patent right | ||
GRNT | Written decision to grant |