KR20190021012A - Continuous coversation function in artificial intelligence device - Google Patents

Continuous coversation function in artificial intelligence device Download PDF

Info

Publication number
KR20190021012A
KR20190021012A KR1020170106057A KR20170106057A KR20190021012A KR 20190021012 A KR20190021012 A KR 20190021012A KR 1020170106057 A KR1020170106057 A KR 1020170106057A KR 20170106057 A KR20170106057 A KR 20170106057A KR 20190021012 A KR20190021012 A KR 20190021012A
Authority
KR
South Korea
Prior art keywords
voice command
conversation
continuous
function
standby state
Prior art date
Application number
KR1020170106057A
Other languages
Korean (ko)
Other versions
KR102098633B1 (en
Inventor
이지은
이동열
홍진욱
김경연
Original Assignee
네이버 주식회사
라인 가부시키가이샤
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 네이버 주식회사, 라인 가부시키가이샤 filed Critical 네이버 주식회사
Priority to KR1020170106057A priority Critical patent/KR102098633B1/en
Priority to JP2018152310A priority patent/JP6619488B2/en
Publication of KR20190021012A publication Critical patent/KR20190021012A/en
Priority to JP2019206132A priority patent/JP6920398B2/en
Application granted granted Critical
Publication of KR102098633B1 publication Critical patent/KR102098633B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/004Artificial life, i.e. computing arrangements simulating life

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Molecular Biology (AREA)
  • Artificial Intelligence (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)
  • Telephonic Communication Services (AREA)

Abstract

Disclosed is a technique for providing a continuous conversation function in an artificial intelligence device. An artificial intelligence continuous conversation method may comprise the steps of: activating a conversation function if a conversation activating trigger is recognized when the conversation function is inactivated to enter a voice command standby state; performing a task corresponding to a voice command when the voice command is received in the voice command standby state; and providing a continuous conversation function by directly entering a next voice command standby state based on type of the task.

Description

인공지능 기기에서의 연속 대화 기능{CONTINUOUS COVERSATION FUNCTION IN ARTIFICIAL INTELLIGENCE DEVICE}[0001] CONTINUOUS COVERSATION FUNCTION IN ARTIFICIAL INTELLIGENCE DEVICE [0002]

아래의 설명은 인공지능 대화 시스템에 관한 것이다.The following discussion is about artificial intelligence dialogue systems.

일반적으로 개인비서 시스템, 챗봇 플랫폼(chatbot platform), 인공지능(AI) 스피커 등에서 사용되는 인공지능 대화 시스템은 사람의 명령어에 대한 의도를 이해하고 그에 대응하는 답변 문구를 제공하는 방식이다.In general, an artificial intelligent conversation system used in a personal secretary system, a chatbot platform, an AI speaker, etc. is a way of understanding an intention of a human command and providing an answer phrase corresponding thereto.

주로 인공지능 대화 시스템은 사람이 기능적인 요구를 전달하고 이에 기계가 사람의 요구에 대한 해답을 제공하는 방식으로, 마이크(microphone)를 통해 사용자의 음성 입력을 수신하고 수신된 음성 입력에 기반하여 디바이스 동작이나 컨텐츠 제공을 제어할 수 있다.An artificial intelligence dialogue system mainly receives a user's speech input via a microphone in such a way that a person delivers a functional request and the machine provides a solution to the needs of a person, It is possible to control operation and content provisioning.

예를 들어, 한국공개특허 제10-2011-0139797호(공개일 2011년 12월 30일)에는 홈 네트워크 서비스에서 이동통신망 외에 와이파이와 같은 제2 통신망을 이용하여 홈 네트워크 서비스를 제공하는 것이 가능하고 홈 내 복수의 멀티미디어 기기를 사용자가 별도의 버튼 조작 없이도 음성 명령을 통해 다중 제어할 수 있는 기술이 개시되어 있다.For example, in Korean Patent Laid-Open 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 a mobile communication network in a home network service Discloses a technique in which a plurality of multimedia devices in a home can be multiplexed and controlled by a user through voice commands without requiring any button operation.

일반적으로 인공지능 대화 시스템은 사전에 정해진 키워드(즉, 웨이크업워드(wake up word))(예를 들어, 기기의 이름 등)를 기기를 활성화 하기 위한 대화 활성 트리거로 사용하고 있다.In general, the artificial intelligence dialogue system uses predefined keywords (i.e., wake up words) (e.g., device name, etc.) as a dialogue activation trigger to activate the device.

인공지능 기기는 키워드 호출을 기반으로 음성인식 기능을 수행하게 되며, 예를 들어 사용자가 기계의 이름을 부르면 기기를 활성화 하여 사용자의 음성 명령을 수집하기 위한 대기 모드로 진입할 수 있다.The artificial intelligence device performs a speech recognition function based on a keyword call. For example, when the user calls the name of the machine, the device can be activated to enter a standby mode for collecting voice commands of the user.

키워드 호출 없이 기기 스스로 활성화가 되지 않고 짧은 시간 내에 음성 명령을 다시 내리는 경우에도 매번 키워드 호출이 먼저 이루어져야 하기 때문에 이로 인해 사용 피로도가 누적될 수밖에 없다.Even if the device itself is not activated without a keyword call and the voice command is re-issued within a short time, the keyword call must be made first every time, which leads to cumulative use fatigue.

기기를 활성화 하기 위한 키워드(웨이크업워드) 호출 없이 바로 음성 명령을 재요청할 수 있는 인공지능 연속 대화 방법 및 시스템을 제공한다.The present invention provides an artificial intelligent continuous conversation method and system that can immediately re-request a voice command without invoking a keyword (wakeup word) to activate the device.

이전 음성 명령에 대응되는 작업에 따라 키워드 호출 없이 자동으로 음성 명령 대기 상태로 전환할 수 있는 인공지능 연속 대화 방법 및 시스템을 제공한다.The present invention provides an artificial intelligent continuous conversation method and system capable of automatically switching to a voice command standby state without a keyword call according to a task corresponding to a previous voice command.

컴퓨터로 구현되는 인공지능 연속 대화 방법에 있어서, 대화 기능이 비활성화 된 상태에서 대화 활성 트리거가 인식되면 상기 대화 기능을 활성화 하여 음성 명령 대기 상태로 진입하는 단계; 상기 음성 명령 대기 상태에서 음성 명령이 수신되면 상기 음성 명령에 대응되는 작업을 수행하는 단계; 및 상기 작업의 유형에 기초하여 다음 음성 명령 대기 상태로 바로 진입함으로써 연속 대화 기능을 제공하는 단계를 포함하는 인공지능 연속 대화 방법을 제공한다.A computer-implemented artificial intelligence continuous conversation method, comprising: activating the conversation function and entering a voice command standby state when a conversation activation trigger is recognized in a state where the conversation function is disabled; Performing a task corresponding to the voice command when the voice command is received in the voice command standby state; And providing a continuous conversation function by entering directly into the next voice command waiting state based on the type of the task.

일 측면에 따르면, 웨이크업워드(wake up word)로 지정된 키워드를 상기 대화 활성 트리거로 이용하며, 상기 연속 대화 기능을 제공하는 단계는, 상기 음성 명령에 대응되는 작업에 따라 상기 키워드의 호출 없이 상기 대화 기능의 활성화를 유지하여 상기 다음 음성 명령 대기 상태로 자동 전환할 수 있다.According to an aspect of the present invention, a keyword designated as a wake-up word is used as the dialogue active trigger, and the step of providing the continuous dialogue function includes: The activation of the conversation function can be maintained and automatically switched to the next voice command standby state.

다른 측면에 따르면, 상기 연속 대화 기능을 제공하는 단계는, 상기 음성 명령에 대응되는 작업이 지속적인 동작이 필요한 작업이 아닌 경우 상기 대화 기능의 활성화를 유지하여 상기 다음 음성 명령 대기 상태로 자동 전환할 수 있다.According to another aspect, in the step of providing the continuous conversation function, when the operation corresponding to the voice command is not a task requiring continuous operation, the activation of the conversation function is maintained and the system is automatically switched to the next voice command standby state have.

또 다른 측면에 따르면, 상기 연속 대화 기능을 제공하는 단계는, 별도의 종료 명령이 입력되기 전까지 지속되는 제1 작업과 별도의 종료 명령 없이 소정 시점에 종료되는 제2 작업 중 상기 음성 명령에 대응되는 작업이 상기 제2 작업에 해당되는 경우 상기 대화 기능의 활성화를 유지하여 상기 다음 음성 명령 대기 상태로 자동 전환할 수 있다.According to another aspect of the present invention, the step of providing the continuous conversation function may include a step of providing a continuous conversation function corresponding to the voice command during a second task terminated at a predetermined time, And if the operation corresponds to the second operation, the activation of the conversation function is maintained and automatically switched to the next voice command waiting state.

또 다른 측면에 따르면, 상기 연속 대화 기능을 제공하는 단계는, 상기 음성 명령에 대응되는 작업이 사용자의 답변을 요구하는 대화 형식의 동작을 포함하는 경우 상기 대화 기능의 활성화를 유지하여 상기 다음 음성 명령 대기 상태로 자동 전환할 수 있다.According to another aspect, the step of providing the continuous conversation function includes the steps of maintaining the activation of the conversation function when the operation corresponding to the voice command includes a conversation type operation requiring a user's answer, It can be automatically switched to the standby state.

또 다른 측면에 따르면, 상기 연속 대화 기능을 제공하는 단계는, 작업 별 수행 패턴을 학습한 결과에 기초하여 상기 음성 명령에 대응되는 작업이 추가의 음성 명령이 예측되는 작업에 해당되는 경우 상기 대화 기능의 활성화를 유지하여 상기 다음 음성 명령 대기 상태로 자동 전환할 수 있다.According to another aspect of the present invention, the step of providing the continuous conversation function may include a step of, when a task corresponding to the voice command corresponds to a task in which a further voice command is predicted, based on a result of learning a task- And can automatically switch to the next voice command standby state.

또 다른 측면에 따르면, 상기 음성 명령에 대응되는 작업이 지속적인 동작이 필요한 작업인 경우에는 상기 대화 기능을 비활성화 상태로 전환하고 상기 음성 명령 대기 상태를 종료하는 단계를 더 포함할 수 있다.According to another aspect of the present invention, when the task corresponding to the voice command is a task requiring continuous operation, the method may further include switching the conversation function to the inactive state and ending the voice command standby state.

또 다른 측면에 따르면, 상기 음성 명령 대기 상태를 종료하는 단계는, 상기 음성 명령에 대응되는 작업이 상기 지속적인 동작이 필요한 작업과 연관된 작업인 경우 상기 대화 기능을 비활성화 상태로 전환하고 상기 음성 명령 대기 상태를 종료할 수 있다.According to another aspect of the present invention, the step of terminating the voice command standby state includes switching the conversation function to the inactive state when the operation corresponding to the voice command is an operation related to the operation requiring the continuous operation, Can be terminated.

상기 인공지능 연속 대화 방법을 컴퓨터에 실행시키기 위해 컴퓨터 판독 가능한 기록매체에 저장된 컴퓨터 프로그램을 제공한다.There is provided a computer program stored in a computer-readable recording medium for causing a computer to execute the artificial intelligent continuous conversation method.

상기 인공지능 연속 대화 방법을 컴퓨터에 실행시키기 위한 프로그램이 기록되어 있는 것을 특징으로 하는 컴퓨터에서 판독 가능한 기록매체를 제공한다.There is provided a computer-readable recording medium having recorded thereon a program for causing a computer to execute the artificial intelligent continuous conversation method.

컴퓨터로 구현되는 인공지능 연속 대화 시스템에 있어서, 컴퓨터에서 판독 가능한 명령을 실행하도록 구현되는 적어도 하나의 프로세서를 포함하고, 상기 적어도 하나의 프로세서는, 대화 기능이 비활성화 된 상태에서 대화 활성 트리거가 인식되면 상기 대화 기능을 활성화 하여 음성 명령 대기 상태로 진입하는 과정; 상기 음성 명령 대기 상태에서 음성 명령이 수신되면 상기 음성 명령에 대응되는 작업을 수행하는 과정; 및 상기 작업의 유형에 기초하여 다음 음성 명령 대기 상태로 바로 진입함으로써 연속 대화 기능을 제공하는 과정을 처리하는 인공지능 연속 대화 시스템을 제공한다.What is claimed is: 1. A computer-implemented artificial intelligence continuous dialog system, comprising: at least one processor implemented to execute computer readable instructions, the at least one processor being configured to, when a conversation active trigger is recognized Activating the interactive function to enter a voice command standby state; Performing a task corresponding to the voice command when the voice command is received in the voice command standby state; And providing a continuous conversation function by directly entering a next voice command waiting state based on the type of the task.

본 발명의 실시예들에 따르면, 이전 음성 명령이 이루어진 후 이전 음성 명령에 대응되는 작업에 따라 기기의 활성화 상태를 유지하여 다음 음성 명령 대기 상태로 자동 전환함으로써 단기간에 다시 이루어지는 음성 명령의 경우 기기 활성화를 위한 키워드 호출 없이 바로 진행할 수 있어 사용자 편의와 사용 피로도를 개선할 수 있다.According to the embodiments of the present invention, after the previous voice command is made, the device is kept in an activated state according to a job corresponding to the previous voice command, and automatically switched to the next voice command standby state. It is possible to proceed directly without a keyword call for improving user convenience and fatigue.

도 1은 본 발명의 일실시예에 따른 음성 기반 인터페이스를 활용한 서비스 환경의 예를 도시한 도면이다.
도 2는 본 발명의 일실시예에 따른 음성 기반 인터페이스를 활용한 서비스 환경의 다른 예를 도시한 도면이다.
도 3은 본 발명의 일실시예에 있어서, 클라우드 인공지능 플랫폼의 예를 도시한 도면이다.
도 4는 본 발명의 일실시예에 있어서, 전자 기기 및 서버의 내부 구성을 설명하기 위한 블록도이다.
도 5는 본 발명의 일실시예에 있어서, 인공지능 연속 대화 방법을 도시한 흐름도이다.
도 6 내지 도 8은 본 발명의 일실시예에 있어서, 키워드 호출 없이 바로 음성 명령을 재요청할 수 있는 작업 리스트를 설명하기 위한 예시 도면이다.
1 is a diagram illustrating an example of a service environment using a voice-based interface according to an embodiment of the present invention.
2 is a diagram illustrating 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 intelligence platform in one embodiment of the present invention.
4 is a block diagram illustrating an internal configuration of an electronic device and a server according to an embodiment of the present invention.
FIG. 5 is a flowchart illustrating an artificial intelligent continuous conversation method in an embodiment of the present invention.
6 to 8 are exemplary diagrams for explaining a task list in which a voice command can be requested again without a keyword call, in an embodiment of the present invention.

이하, 본 발명의 실시예를 첨부된 도면을 참조하여 상세하게 설명한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.

본 발명의 실시예들에 따른 인공지능 연속 대화 시스템은 사용자와의 대화를 기반으로 동작하는 인터페이스를 제공하는 전자 기기를 통해 구현될 수 있다. 이때, 인공지능 연속 대화 시스템은 기기의 활성화를 위한 키워드(웨이크업워드) 호출 없이 바로 음성 명령을 재요청할 수 있는 연속 대화 기능을 제공한다.The artificial intelligent continuous conversation system according to embodiments of the present invention can be implemented through an electronic device that provides an interface that operates based on a conversation with a user. At this time, the artificial intelligent continuous conversation system provides a continuous conversation function in which a voice command can be requested again without a keyword (wakeup word) call for activating the device.

본 발명의 실시예들에 따른 인공지능 연속 대화 방법은 상술한 전자 기기를 통해 수행될 수 있다. 이때, 전자 기기에는 본 발명의 일실시예에 따른 컴퓨터 프로그램이 설치 및 구동될 수 있고, 전자 기기는 구동된 컴퓨터 프로그램의 제어에 따라 본 발명의 일실시예에 따른 인공지능 연속 대화 방법을 수행할 수 있다. 상술한 컴퓨터 프로그램은 컴퓨터로 구현되는 전자 기기와 결합되어 인공지능 연속 대화 방법을 컴퓨터에 실행시키기 위해 컴퓨터 판독 가능한 기록매체에 저장될 수 있다.The artificial intelligent continuous conversation method according to the embodiments of the present invention can 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 performs the artificial intelligent continuous conversation method according to an embodiment of the present invention in accordance with the control of the driven computer program . The above-described computer program may be stored in a computer-readable recording medium for execution by a computer to execute an artificial intelligent continuous conversation method in combination with a computer-implemented electronic apparatus.

도 1은 본 발명의 일실시예에 따른 음성 기반 인터페이스를 활용한 서비스 환경의 예를 도시한 도면이다. 도 1의 실시예에서는 스마트홈(smart home)이나 홈 네트워크 서비스와 같이 댁내의 디바이스들을 연결하여 제어하는 기술에서, 음성을 기반으로 동작하는 인터페이스를 제공하는 전자 기기(100)가 사용자(110)의 발화에 따라 수신되는 음성 입력 "불 꺼줘"를 인식 및 분석하여 댁내에서 전자 기기(100)와 내부 네트워크를 통해 연계된 댁내 조명기기(120)의 라이트 전원을 제어하는 예를 나타내고 있다.1 is a diagram illustrating 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, an electronic device 100 providing an interface that operates on the basis of a voice is connected to a user 110 via a network, such as a smart home or a home network service, And recognizes and analyzes the received voice input "Turn off" according to the utterance to control the lighting power of the domestic lighting apparatus 120 connected to the electronic apparatus 100 through the internal network at home.

예를 들어, 댁내의 디바이스들은 상술한 댁내 조명기기(120) 외에도 텔레비전, PC(Personal Computer), 주변기기, 에어컨, 냉장고, 로봇 청소기 등과 같은 가전제품을 비롯하여, 수도, 전기, 냉난방 기기 등과 같은 에너지 소비장치, 도어록, 감시카메라 등과 같은 보안기기 등 온라인 상에서 연결되어 제어될 수 있는 다양한 디바이스들을 포함할 수 있다. 또한, 내부 네트워크는 이더넷(Ethernet), HomePNA, IEEE 1394와 같은 유선 네트워크 기술이나, 블루투스(Bluetooth), UWB(ultra Wide Band), 지그비(ZigBee), Wireless 1394, Home RF와 같은 무선 네트워크 기술 등이 활용될 수 있다.For example, the home-use devices may be used in home appliances such as televisions, personal computers (PCs), peripherals, air conditioners, refrigerators, and robot cleaners in addition to the home lighting devices 120, A security device such as a device, a door lock, a surveillance camera, and the like, which can be connected and controlled on-line. In addition, the internal network includes a wired network technology such as Ethernet, HomePNA, and IEEE 1394, and a wireless network technology such as Bluetooth, Ultra Wide Band (UWB), ZigBee, Wireless 1394, Can be utilized.

전자 기기(100)는 댁내의 디바이스들 중 하나일 수 있다. 예를 들어, 전자 기기(100)는 댁내에 구비된 인공지능 스피커나 로봇 청소기 등과 같은 디바이스들 중 하나일 수 있다. 또한, 전자 기기(100)는 스마트폰(smart phone), 휴대폰, 노트북, 디지털방송용 단말, PDA(Personal Digital Assistants), PMP(Portable Multimedia Player), 태블릿 PC 등과 같은 사용자(110)의 모바일 기기일 수도 있다. 이처럼 전자 기기(100)는 사용자(110)의 음성 입력을 수신하여 댁내의 디바이스들을 제어하기 위해 댁내의 디바이스들과 연결 가능한 기능을 포함하는 기기라면 특별히 제한되지 않는다. 또한, 실시예에 따라 상술한 사용자(110)의 모바일 기기들이 댁내의 디바이스들로서 포함될 수도 있다.The electronic device 100 may be one of the devices in the home. For example, the electronic device 100 may be one of devices such as an artificial intelligent speaker, a robot cleaner, and the like provided at home. The electronic device 100 may be a mobile device of a user 110 such as a smart phone, a mobile phone, a notebook, a digital broadcast terminal, a PDA (Personal Digital Assistants), a PMP have. As described above, the electronic device 100 is not particularly limited as long as it is a device including a function capable of connecting with the devices in the home in order to receive the voice input of the user 110 and control the devices in the home. Also, according to the embodiment, the mobile devices of the user 110 described above may be included as in-house devices.

도 2는 본 발명의 일실시예에 따른 음성 기반 인터페이스를 활용한 서비스 환경의 다른 예를 도시한 도면이다. 도 2는 음성을 기반으로 동작하는 인터페이스를 제공하는 전자 기기(100)가 사용자(110)의 발화에 따라 수신되는 음성 입력 "오늘 날씨"를 인식 및 분석하여 외부 네트워크를 통해 외부 서버(210)로부터 오늘의 날씨에 대한 정보를 획득하고 획득한 정보를 "오늘의 날씨는 ..."와 같이 음성으로 출력하는 예를 나타내고 있다.2 is a diagram illustrating another example of a service environment using a voice-based interface according to an embodiment of the present invention. 2 illustrates an example in which an electronic device 100 providing an interface that operates on a voice recognizes and analyzes a voice input "today's weather" that is received in response to a user's utterance, Information of today's weather, and information obtained is outputted as a voice like "Today's weather is ... ".

예를 들어, 외부 네트워크는 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 may be 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 Lt; RTI ID = 0.0 > and / or < / RTI >

도 2의 실시예에서도 전자 기기(100)는 댁내의 디바이스들 중 하나이거나 사용자(110)의 모바일 기기 중 하나일 수 있으며, 사용자(110)의 음성 입력을 수신하여 처리하기 위한 기능과 외부 네트워크를 통해 외부 서버(210)에 접속하여 외부 서버(210)가 제공하는 서비스나 컨텐츠를 사용자(110)에게 제공하기 위한 기능을 포함하는 기기라면 특별히 제한되지 않는다.2, the electronic device 100 may be one of the devices in the home or the mobile device of the user 110, and may have a function for receiving and processing the voice input of the user 110, The present invention is not particularly limited as long as it is a device including a function for connecting to the external server 210 and providing the service or contents provided by the external server 210 to the user 110.

이처럼, 본 발명의 실시예들에 따른 전자 기기(100)는 음성 기반 인터페이스를 통해 사용자(110)의 발화에 따라 수신되는 음성 입력을 적어도 포함하는 사용자 명령을 처리할 수 있는 기기라면 특별히 제한되지 않을 수 있다. 예를 들어, 전자 기기(100)는 직접 사용자의 음성 입력을 인식 및 분석하여 음성 입력에 알맞은 동작을 수행함으로써 사용자 명령을 처리할 수도 있으나, 실시예에 따라 사용자의 음성 입력에 대한 인식이나 인식된 음성 입력의 분석, 사용자에게 제공될 음성의 합성 등의 처리를 전자 기기(100)와 연계된 외부의 플랫폼을 통해 수행할 수도 있다.As described above, the electronic device 100 according to the embodiments of the present invention is not particularly limited as long as it is a device capable of processing a user command including at least the voice input received according to the utterance of the user 110 via the voice-based interface . For example, the electronic device 100 may directly process a user command by recognizing and analyzing a user's voice input and performing an appropriate operation for the voice input. However, according to an exemplary embodiment of the present invention, Analysis of speech input, synthesis of speech to be provided to the user, and the like may be performed through an external platform associated with the electronic device 100. [

도 3은 본 발명의 일실시예에 있어서, 클라우드 인공지능 플랫폼의 예를 도시한 도면이다. 도 3은 전자 기기들(310)과 클라우드 인공지능 플랫폼(320) 및 컨텐츠ㆍ서비스(330)를 나타내고 있다.3 is a diagram illustrating an example of a cloud intelligence platform in one embodiment of the present invention. FIG. 3 shows electronic devices 310, a cloud intelligent platform 320, and a content and service 330. FIG.

일례로, 전자 기기들(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)이 제공하는 기능들을 활용할 수 있게 된다.For example, the electronic devices 310 may refer to devices included in the home, and may include at least the electronic device 100 described above. Applications (hereinafter referred to as apps) installed and driven in the electronic devices 310 and the electronic devices 310 may be linked to the cloud intelligence platform 320 via the interface connect 340. The interface connect 340 may provide developers with software development kits (SDKs) and / or development documents for developing applications installed and run on the electronic devices 310 or the electronic devices 310. In addition, the interface connect 340 is configured to allow an application program interface (API) that enables applications installed and operated in the electronic devices 310 and the electronic devices 310 to utilize the functions provided by the cloud intelligent platform 320 . As a specific example, a developer can use a software development kit (SDK) provided by the interface connect 340 and / or a device or an application developed using a development document to create a cloud intelligence platform (API) using the API provided by the interface connect 340 320 can be utilized.

여기서 클라우드 인공지능 플랫폼(320)은 음성 기반의 서비스를 제공하기 위한 기능을 제공할 수 있다. 예를 들어, 클라우드 인공지능 플랫폼(320)은 수신된 음성을 인식하고, 출력될 음성을 합성하기 위한 음성처리모듈(321), 수신된 영상이나 동영상을 분석하여 처리하기 위한 비전처리모듈(322), 수신된 음성에 따라 알맞은 음성을 출력하기 위해 적절한 대화를 결정하기 위한 대화처리모듈(323), 수신된 음성에 알맞은 기능을 추천하기 위한 추천모듈(324), 인공지능이 데이터 학습을 통해 문장 단위로 언어를 번역할 수 있도록 지원하는 인공신경망 기반 기계 번역(Neural Machine Translation, NMT, 325) 등과 같이 음성 기반 서비스를 제공하기 위한 다양한 모듈들을 포함할 수 있다.Here, the cloud intelligence platform 320 may provide a function for providing a voice-based service. For example, the cloud artificial intelligence platform 320 may include a speech processing module 321 for recognizing the received speech and synthesizing the speech to be output, a vision processing module 322 for analyzing and processing the received image or moving image, A dialog processing module 323 for determining an appropriate dialogue to output a suitable speech according to the received speech, a recommendation module 324 for recommending a function suitable for the received speech, Based services such as Neural Machine Translation (NMT) 325, which enables translation of a language into a language-based service.

예를 들어, 도 1 및 도 2의 실시예들에서 전자 기기(100)는 사용자(110)의 음성 입력을 인터페이스 커넥트(340)에서 제공하는 API를 이용하여 클라우드 인공지능 플랫폼(320)으로 전송할 수 있다. 이 경우, 클라우드 인공지능 플랫폼(320)은 수신된 음성 입력을 상술한 모듈들(321 내지 325)을 활용하여 인식 및 분석할 수 있으며, 수신된 음성 입력에 따라 적절한 답변 음성을 합성하여 제공하거나, 적절한 동작을 추천할 수 있다.For example, in the embodiments of Figures 1 and 2, the electronic device 100 may transmit the voice input of the user 110 to the cloud intelligence platform 320 using an API provided by the interface connect 340 have. In this case, the cloud intelligent platform 320 can recognize and analyze the received voice input using the above-described modules 321 to 325, synthesize and provide an appropriate answer voice according to the received voice input, Proper operation can be recommended.

또한, 확장 키트(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 extension kit 350 may provide a development kit that enables third party content developers or companies to implement new voice-based functions based on the cloud intelligence platform 320. For example, in the embodiment of FIG. 2, the electronic device 100 may transmit the voice input of the user 110 to the external server 210, and the external server 210 may receive the voice input of the user 110 via the expansion kit 350 API to send the voice input to the cloud intelligence platform 320. [ In this case, the cloud intelligent platform 320 recognizes and analyzes the received voice input, synthesizes an appropriate answer voice, or provides recommendation information on functions to be processed through voice input to the external server 210 ). 2, the external server 210 may send a voice input "today's weather" to the cloud intelligence platform 320 and may receive the voice input "current weather" from the cloud intelligence platform 320 You can receive keywords "Today" and "Weather" to be extracted. In this case, the external server 210 generates text information such as "Today's weather is ..." through keywords "Today" and "Weather", and transmits the text information generated by the cloud intelligent platform 320 again . At this time, the cloud artificial intelligence platform 320 may synthesize the text information by voice and provide it to the external server 210. The external server 210 can transmit the synthesized voice to the electronic device 100 and the electronic device 100 outputs the synthesized voice "Today's weather ..." through the speaker, The received voice input "Today's weather" can be processed.

이때, 전자 기기(100)는 사용자와의 대화를 기반으로 디바이스 동작이나 컨텐츠 제공을 위해 본 발명의 실시예에 따른 인공지능 연속 대화 방법을 수행할 수 있다.At this time, the electronic device 100 can perform the artificial intelligent continuous conversation method according to the embodiment of the present invention for device operation or content provision based on the conversation with the user.

도 4는 본 발명의 일실시예에 있어서, 전자 기기 및 서버의 내부 구성을 설명하기 위한 블록도이다. 도 4의 전자 기기(410)는 앞서 설명한 전자 기기(100)에 대응할 수 있고, 서버(420)는 앞서 설명한 외부 서버(210) 또는 클라우드 인공지능 플랫폼(320)을 구현하는 하나의 컴퓨터 장치에 대응할 수 있다.4 is a block diagram illustrating an internal configuration of an electronic device and a server according to an embodiment of the present invention. The electronic device 410 of FIG. 4 may correspond to the electronic device 100 described above, and the server 420 may correspond to one of the computer devices that implement the external server 210 or the cloud intelligent platform 320 described above .

전자 기기(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 electronic device 410 and the server 420 may include memories 411 and 421, processors 412 and 422, communication modules 413 and 423, and input / output interfaces 414 and 424. The memories 411 and 421 may be a computer-readable recording medium and may include a permanent mass storage device such as a random access memory (RAM), a read only memory (ROM), and a disk drive. The non-decaying mass storage device such as the ROM and the disk drive may be included in the electronic device 410 or the server 420 as a separate persistent storage device different from the memory 411 and 421. In addition, the memories 411 and 421 are stored with an operating system and at least one program code (for example, a code for an application installed in the electronic device 410 and driven by the electronic device 410 for providing a specific service) . These software components may be loaded from a computer readable recording medium separate from the memories 411 and 421. [ Such a computer-readable recording medium may include a computer-readable recording medium such as a floppy drive, a disk, a tape, a DVD / CD-ROM drive, and a memory card. In other embodiments, the software components may be loaded into memory 411, 421 via communication modules 413, 423 rather than a computer readable recording medium. For example, at least one program may be provided by a developer or a file distribution system that distributes the installation files of an application based on a computer program (e.g., the application described above) installed by files provided by the network 430. [ May be loaded into the memory 411 of the device 410.

프로세서(412, 422)는 기본적인 산술, 로직 및 입출력 연산을 수행함으로써, 컴퓨터 프로그램의 명령을 처리하도록 구성될 수 있다. 명령은 메모리(411, 421) 또는 통신 모듈(413, 423)에 의해 프로세서(412, 422)로 제공될 수 있다. 예를 들어 프로세서(412, 422)는 메모리(411, 421)와 같은 기록 장치에 저장된 프로그램 코드에 따라 수신되는 명령을 실행하도록 구성될 수 있다.Processors 412 and 422 may be configured to process instructions of a computer program by performing basic arithmetic, logic, and I / O operations. An instruction may be provided to the processor 412, 422 by the memory 411, 421 or the communication module 413, 423. For example, the processors 412 and 422 may be configured to execute instructions received in accordance with program codes stored in a recording device, such as memories 411 and 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 communication modules 413 and 423 may provide functions for the electronic device 410 and the server 420 to communicate with each other through the network 430 and may be provided by the electronic device 410 and / Electronic devices, or other servers. The request generated by the processor 412 of the electronic device 410 according to the program code stored in the recording device such as the memory 411 is transmitted to the server 420 through the network 430 under the control of the communication module 213 ). ≪ / RTI > Contents or files provided under the control of the processor 422 of the server 420 are transmitted to the communication module 213 of the electronic device 410 via the communication module 223 and the network 430 (Not shown). For example, control signals, commands, contents, files, and the like of the server 420 received through the communication module 213 can be transmitted to the processor 412 or the memory 411, 410) may be further included in the storage medium (the persistent storage device described above).

입출력 인터페이스(414)는 입출력 장치(415)와의 인터페이스를 위한 수단일 수 있다. 예를 들어, 입력 장치는 마이크, 키보드 또는 마우스 등의 장치를, 그리고 출력 장치는 디스플레이, 스피커와 같은 장치를 포함할 수 있다. 다른 예로 입출력 인터페이스(414)는 터치스크린과 같이 입력과 출력을 위한 기능이 하나로 통합된 장치와의 인터페이스를 위한 수단일 수도 있다. 입출력 장치(415)는 전자 기기(410)와 하나의 장치로 구성될 수도 있다. 또한, 서버(420)의 입출력 인터페이스(424)는 서버(420)와 연결되거나 서버(420)가 포함할 수 있는 입력 또는 출력을 위한 장치(미도시)와의 인터페이스를 위한 수단일 수 있다.The input / output interface 414 may be a means for interfacing with the input / output device 415. For example, the input device may include a device such as a microphone, a keyboard or a mouse, and an output device may include a device such as a display, a speaker, and the like. As another example, the input / output interface 414 may be a means for interfacing with a device having integrated functions for input and output, such as a touch screen. The input / output device 415 may be composed of the electronic device 410 and one device. The input / output interface 424 of the server 420 may be a means for interfacing with the server 420 or an interface with a device (not shown) for input or output that the server 420 may include.

또한, 다른 실시예들에서 전자 기기(410) 및 서버(420)는 도 4의 구성요소들보다 더 적은 또는 더 많은 구성요소들을 포함할 수도 있다. 그러나, 대부분의 종래기술적 구성요소들을 명확하게 도시할 필요성은 없다. 예를 들어, 전자 기기(410)는 상술한 입출력 장치(415) 중 적어도 일부를 포함하도록 구현되거나 또는 트랜시버(transceiver), GPS(Global Positioning System) 모듈, 카메라, 각종 센서, 데이터베이스 등과 같은 다른 구성요소들을 더 포함할 수도 있다. 보다 구체적인 예로, 전자 기기(410)가 스마트폰인 경우, 일반적으로 스마트폰이 포함하고 있는 가속도 센서나 자이로 센서, 동작 센서, 카메라 모듈, 각종 물리적인 버튼, 터치패널을 이용한 버튼, 입출력 포트, 진동을 위한 진동기 등의 다양한 구성요소들이 전자 기기(410)에 더 포함되도록 구현될 수 있다.Also, in other embodiments, electronic device 410 and server 420 may include fewer or more components than the components of FIG. However, there is no need to clearly illustrate most prior art components. For example, the electronic device 410 may be implemented to include at least some of the input / output devices 415 described above, or may be implemented with other components such as a transceiver, Global Positioning System (GPS) module, camera, As shown in FIG. More specifically, when the electronic device 410 is a smart phone, the acceleration sensor, the gyro sensor, the motion sensor, the camera module, various physical buttons, buttons using the touch panel, input / output ports, Such as a vibrator for the electronic device 410, may be further included in the electronic device 410.

본 실시예들에서 전자 기기(410)는 사용자의 음성 입력을 수신하기 위한 마이크를 입출력 장치(415)로서 기본적으로 포함할 수 있으며, 사용자의 음성 입력에 대응하는 답변 음성이나 오디오 컨텐츠와 같은 소리를 출력하기 위한 스피커를 입출력 장치(415)로서 더 포함할 수 있다.In the present embodiment, the electronic device 410 may basically include a microphone for receiving a user's voice input as the input / output device 415, and may include a response voice corresponding to the voice input of the user, Output device 415. The input /

본 발명의 실시예들에 따른 인공지능 연속 대화 방법은 앞서 설명한 전자 기기(410)와 같은 컴퓨터 장치에 의해 수행될 수 있다. 이때, 전자 기기(410)의 프로세서(412)는 메모리(411)가 포함하는 운영체제의 코드나 적어도 하나의 프로그램의 코드에 따른 제어 명령(instruction)을 실행하도록 구현될 수 있다. 여기서, 프로세서(412)는 전자 기기(410)에 저장된 코드가 제공하는 제어 명령에 따라 전자 기기(410)가 이하에서 설명하게 될 인공지능 연속 대화 방법이 포함하는 단계들을 수행하도록 전자 기기(410)를 제어할 수 있다.The artificial intelligent continuous conversation method according to embodiments of the present invention may be performed by a computer apparatus such as the electronic apparatus 410 described above. At this time, the processor 412 of the electronic device 410 may be implemented to execute a control instruction according to a code of an operating system included in the memory 411 or a code of at least one program. Here, the processor 412 controls the electronic device 410 so that the electronic device 410 performs the steps included in the artificial intelligent continuous conversation method, which will be described below, in accordance with the control command provided by the code stored in the electronic device 410. [ Can be controlled.

도 5는 본 발명의 일실시예에 있어서, 인공지능 연속 대화 방법의 예를 도시한 흐름도이다.5 is a flowchart illustrating an example of an artificial intelligent 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 electronic device 410 can activate the conversation function by recognizing the keyword 51 predetermined by the user's utterance through the conversation-based interface in the inactive state 50 Function -attending). For example, the electronic device 410 may receive a voice input according to a user's utterance through a voice input device such as a microphone interlocked with a microphone or an electronic device 410 included in the electronic device 410 as a conversation-based interface . In other words, when the user utters the keyword 51 designated by the wakeup word in the inactive state 50 such as an idle state in which no operation is performed, the electronic device 410 recognizes the keyword 51 So that the dialog function can be activated. At this time, the electronic device 410 may receive information that the user can recognize the active state of the conversation through an output device (PUI, physical user interface) included in the electronic device 410 or in cooperation with the electronic device 410, For example, you can turn on the display or output a sound effect. The keyword calling function is performed not only in a state in which the electronic device 410 is not performing any operation but also in a state in which the electronic device 410 is performing an operation such as music reproduction.

본 실시예에서는 대화 활성 트리거로서 특정 키워드를 이용하는 것으로 설명하고 있으나, 이러한 것으로만 한정되는 것은 아니며 특정 액션이나 소리, 신호 등 다양한 형태의 대화 활성 트리거를 활용할 수 있다.In the present embodiment, a specific keyword is used as a dialogue active trigger. However, the present invention is not limited to this, and various types of dialogue active triggers such as a specific action, a sound, and a signal can be utilized.

단계(S520)에서 전자 기기(410)는 키워드(51) 호출을 통해 대화 기능이 활성화 됨에 따라 사용자의 음성 명령을 대기할 수 있다(음성 명령 대기 상태-hearing). 활성화 된 전자 기기(410)는 자동으로 일정 시간(예컨대, 7초) 동안 사용자의 음성 명령을 기다리는 대기 상태를 유지한다. 사용자는 PUI를 통해 전자 기기(410)의 대화 활성 상태를 인지한 후 전자 기기(410)가 대기 상태를 유지하는 일정 시간 이내에 음성 명령을 입력할 수 있다.In step S520, the electronic device 410 can wait for the user's voice command (voice command standby state) as the conversation function is activated via the keyword 51 call. The activated electronic device 410 automatically maintains a standby state waiting for a voice command of the user for a predetermined time (e.g., 7 seconds). The user can recognize a conversation active state of the electronic device 410 through the PUI and then input a voice command within a predetermined time period in which the electronic device 410 remains in the standby state.

단계(S530)에서 전자 기기(410)는 음성 명령 대기 상태에 대해 지정된 시간을 카운트 하여 음성 명령 대기 상태로 진입한 이후 일정 시간이 경과하는지 여부를 판단할 수 있다. 전자 기기(410)는 지정된 일정 시간 동안 사용자로부터 음성 명령이 들어오지 않으면 음성 명령 대기 상태에 대해 타임 아웃(time out) 처리하여 비활성 상태(50)로 돌아가게 된다.In step S530, the electronic device 410 may count the time specified for the voice command standby state and determine whether a predetermined time has elapsed after entering the voice command standby state. If the user does not receive a voice command for a predetermined period of time, the electronic device 410 performs a time out process on the voice command standby state and returns to the inactive state 50. [

단계(S540)에서 전자 기기(410)는 음성 명령 대기 상태에서 일정 시간 이내에 사용자로부터 음성 명령이 수신되는 경우 수신된 음성 명령을 분석할 수 있다(음성 분석 기능-processing). 전자 기기(410)는 음성 명령 대기 상태에서 대화 기반 인터페이스를 통해 사용자의 음성 입력을 수신할 수 있다. 예를 들어, 전자 기기(410)는 대화 기반 인터페이스로서 전자 기기(410)가 포함하는 마이크 또는 전자 기기(410)와 연동된 마이크와 같은 음성 입력 장치를 통해 사용자의 발화에 따른 음성 입력을 수신할 수 있으며, 수신된 음성 명령의 의미를 분석하는 NLU(natural language understanding) 작업을 수행할 수 있다.In step S540, if a voice command is received from the user within a predetermined time in the voice command standby state, the electronic device 410 may analyze the received voice command (voice analysis function). The electronic device 410 may receive the user's voice input via the conversation-based interface in a voice command waiting state. For example, the electronic device 410 may receive a voice input according to a user's utterance through a voice input device such as a microphone interlocked with a microphone or an electronic device 410 included in the electronic device 410 as a conversation-based interface And can perform a natural language understanding (NLU) operation for analyzing the meaning of the received voice command.

본 실시예에서는 전자 기기(410)에서 음성 분석 기능을 수행하는 것으로 설명하고 있으나, 이러한 것으로만 한정되는 것은 아니다. 예를 들어, 전자 기기(410)는 음성 명령 대기 상태에서 사용자의 음성 명령을 수신한 후 수신된 음성 명령을 서버(420)로 전달하고 서버(420)에서 사용자의 음성 명령을 분석하는 프로세스 또한 가능하다.In the present embodiment, the electronic device 410 performs the voice analysis function. However, the present invention is not limited thereto. For example, the electronic device 410 may also receive a voice command from a user in a voice command waiting state, and then transmit the received voice command to the server 420 and analyze the voice command of the user at the server 420 Do.

단계(S550)에서 전자 기기(410)는 음성 분석 기능을 통한 의미 분석 결과에 따른 작업을 수행할 수 있다(작업 수행 기능-reporting). 전자 기기(410)는 사용자의 음성 명령에 대응되는 정보를 출력하는 것으로, 필요에 따라 동작 안내를 위한 TTS(text to speech)와 함께 의미 분석 결과에 따른 작업을 수행할 수 있다. 사용자의 음성 명령에 대응되는 정보에는 대화 기반 인터페이스를 통해 출력 가능한 정보로서 음성 정보, 영상 정보, 동작 정보 중 적어도 하나를 포함할 수 있다. 일례로, 전자 기기(410)는 전자 기기(410)가 포함하는 스피커 또는 전자 기기(410)와 연동된 스피커와 같은 음성 출력 장치를 통해 사용자의 음성 명령에 대응되는 음성 정보를 출력할 수 있다. 그리고, 전자 기기(410)는 전자 기기(410)가 포함하는 디스플레이 또는 전자 기기(410)와 연동된 디스플레이와 같은 영상 출력 장치를 통해 사용자의 음성 명령에 대응되는 영상 정보를 출력할 수 있다. 또한, 전자 기기(410)는 전자 기기(410)가 포함하는 모터 제어 동작 장치 또는 전자 기기(410)와 연동된 모터 제어 동작 장치를 통해 사용자의 음성 명령에 대응되는 동작 정보를 출력할 수 있다. 예컨대, 전자 기기(410)가 대화 로봇인 경우 사용자의 음성 명령에 대응하는 정보에 따라 관련 동작을 구현할 수 있다.In step S550, the electronic device 410 can perform a task according to the semantic analysis result through the voice analysis function (task performing function-reporting). The electronic device 410 outputs information corresponding to a voice command of the user, and can perform a task according to the result of semantic analysis together with TTS (text to speech) for guiding the operation as needed. The information corresponding to the voice command of the user may include at least one of voice information, image information, and operation information as information that can be outputted through the dialog-based interface. For example, the electronic device 410 may output voice information corresponding to a user's voice command through a speaker included in the electronic device 410 or a voice output device such as a speaker interlocked with the electronic device 410. The electronic device 410 may output image information corresponding to a user's voice command through a display device included in the electronic device 410 or a video output device such as a display interlocked with the electronic device 410. [ The electronic device 410 may output operation information corresponding to a user's voice command through a motor control operation device included in the electronic device 410 or a motor control operation device interlocked with the electronic device 410. [ For example, if the electronic device 410 is a conversation robot, the related operation may be implemented according to information corresponding to the user's voice command.

본 실시예에서는 전자 기기(410)에서 작업 수행 기능을 수행하는 것으로 설명하고 있으나, 이러한 것으로만 한정되는 것은 아니다. 예를 들어, 전자 기기(410)는 서버(420)로부터 사용자의 음성 명령에 대응되는 정보를 수신하여 수신된 정보를 대화 기반 인터페이스를 통해 출력하는 프로세스 또한 가능하다.Although the electronic device 410 performs the job performing function in this embodiment, the present invention is not limited thereto. For example, the electronic device 410 is also capable of receiving information corresponding to a voice command of a user from the server 420 and outputting the received information through a conversation-based interface.

단계(S560)에서 전자 기기(410)는 사용자의 음성 명령에 대응되는 작업에 따라 연속 대화 기능(2nd hearing)이 필요한지 여부를 판단할 수 있다. 일례로, 전자 기기(410)는 사용자로부터 별도의 종료 명령이 들어오기 전까지 지속되는 작업(이하, '제1 작업'이라 칭함)과 별도의 종료 명령 없이도 소정 시점에 종료되는 작업(이하, '제2 작업'이라 칭함)(즉, 지속적인 동작이 필요하지 않은 작업)을 구분하여 제2 작업을 연속 대화 기능이 필요한 작업으로 판단할 수 있다. 이때, 사용자로부터 별도의 종료 명령이 들어오기 전까지 지속되는 작업과 연관된 작업(예를 들어, 재생 중인 음악 볼륨을 키우는 동작 등) 또한 제1 작업으로 구분할 수 있다. 다른 예로, 전자 기기(410)는 사용자의 음성 명령에 대응되는 작업이 사용자에게 질의하여 답변을 요구하는 등 대화 형식의 동작을 포함하는 경우 연속 대화 기능이 필요한 작업으로 판단할 수 있다. 또 다른 예로, 전자 기기(410)는 작업 별로 해당 작업의 수행 패턴을 학습하여 학습 결과를 바탕으로 단기간(예컨대, 7초) 이내에 추가의 음성 명령이 이어질 것으로 예측되는 작업의 경우 연속 대화 기능이 필요한 작업으로 판단할 수 있다.In step S560, the electronic device 410 may determine whether a continuous conversation function (2 nd hearing) is required according to a task corresponding to a voice command of the user. For example, the electronic device 410 may perform a task that is terminated at a predetermined time (hereinafter, referred to as " first job ") without a separate termination command, Quot; 2 " operations) (i.e., tasks that do not require continuous operation), so that the second task can be determined as a task requiring the continuous dialog function. At this time, the operation associated with the operation (for example, the operation for raising the volume of the music being reproduced, etc.), which is continued until a separate end command is received from the user, can also be classified as the first operation. As another example, the electronic device 410 may determine that the operation corresponding to the voice command of the user requires a continuous conversation function when the conversation includes an interactive operation such as a query to the user and an answer. As another example, the electronic device 410 learns the execution pattern of the task for each task, and if the task is predicted to have additional voice commands within a short time (for example, 7 seconds) based on the learning result, It can be judged as work.

특히, 전자 기기(410)는 사용자의 음성 명령에 대응되는 작업이 연속 대화 기능이 필요한 작업으로 판단되는 경우 기기의 활성화 상태를 유지하여 다음 음성 명령 대기 상태(2nd hearing)로 자동 전환할 수 있다. 이때, 전자 기기(410)는 사용자의 음성 명령이 입력된 뒤 기기를 비활성 상태로 전환하는 것이 아니라, 기기의 활성화 상태를 그대로 유지하고 다음 음성 명령 대기 상태로 자동 진입하여 기기를 깨우기 위한 키워드 호출 없이 바로 사용자에게 음성 명령을 재요청할 수 있다. 다음 음성 명령 대기 상태에서도 이전 음성 명령 대기 상태와 마찬가지로 일정 시간이 대기 시간으로 지정되어 있어 사용자가 추가 명령을 원하지 않아 음성 명령을 입력하지 않는 경우 대기 시간이 경과된 직후 타임 아웃 처리된다.In particular, it is possible to automatically switch to the electronic apparatus 410, and then speech command wait state (2 nd hearing) to maintain the active state of the device when a task corresponding to a user's voice command is determined in operation that requires a continuous dialog function . At this time, the electronic device 410 does not switch the device to the inactive state after the voice command of the user is input, but instead maintains the activated state of the device and enters the next voice command standby state without a keyword call for waking up the device The user can immediately request the voice command again. Even in the next voice command waiting state, a certain time is designated as the waiting time similarly to the previous voice command waiting state. If the user does not want an additional command and does not input a voice command, timeout processing is performed immediately after the waiting time elapses.

단계(S570)에서 전자 기기(410)는 사용자의 음성 명령에 대응되는 작업이 연속 대화 기능이 필요한 작업에 해당되지 않는 경우 기기를 비활성 상태(50)로 전환하여 음성 명령 대기 과정을 종료한다. 다시 말해, 전자 기기(410)는 연속 대화 기능이 필요하지 않은 작업의 경우 음성 명령 대기 과정을 종료하고 키워드 호출 이전까지는 기기의 비활성 상태(50)를 유지하다가 키워드 호출이 있을 때 기기를 다시 활성화 시킬 수 있다.In step S570, if the operation corresponding to the voice command of the user does not correspond to the operation requiring the continuous conversation function, the electronic device 410 switches the device to the inactive state 50 and ends the voice command waiting process. In other words, the electronic device 410 terminates the voice command waiting process in the case of a job that does not require the continuous conversation function, maintains the inactive state 50 of the device until the keyword is called, and activates the device again when the keyword is called .

키워드 호출 직후 첫 번째 음성 명령 대기 과정에서 음성 명령 분석에 실패한 경우에는 소정 내용(예컨대, '잘 모르겠어요.')의 TTS 답변을 제공한 후 음성 명령 대기 과정을 종료하고, 키워드 호출 없이 연속 대화 기능으로 제공되는 음성 명령 대기 과정에서 음성 명령 분석에 실패한 경우에는 별도의 TTS 답변 없이 음성 명령 대기 과정을 종료할 수 있다.If the voice command analysis fails in the first voice command waiting process immediately after the keyword is called, the TTS answer of the predetermined content (for example, 'I do not know') is provided and the voice command waiting process is terminated. If the voice command analysis fails in the provided voice command waiting process, the voice command waiting process can be terminated without a separate TTS answer.

전자 기기(410)는 예를 들어, 음악, 뉴스, 동화, 라디오 등과 같이 컨텐츠를 재생하는 작업처럼 사용자로부터 별도의 종료 명령이 있을 때까지 기기의 지속적인 작업이 필요한 경우 음성 명령 대기 과정을 종료하고 수행 요청한 작업을 지속할 수 있다. 한편, 이전 음성 명령 대기 과정에서 인식된 음성 명령에 따른 작업이 단순 정보 요청이나 기기와의 채팅처럼 별도의 종료 명령이 없이도 정보 전달 후 종료되는 작업이나 사용자와 연속되는 대화 형식의 작업에 해당되는 경우에는 키워드 호출 없이도 기기의 활성화 상태를 유지하여 다음 음성 명령 대기 상태로 바로 진입할 수 있다.The electronic device 410 terminates the voice command standby process when continuous operation of the device is required until a separate termination command is received from the user, such as music, news, animation, radio, The requested operation can be continued. On the other hand, when the operation according to the voice command recognized in the previous voice command waiting process is a job terminated after information transmission without a separate termination command, such as a simple information request or a chat with a device, It is possible to maintain the activation state of the device and enter the next voice command standby state without a keyword call.

도 6은 미디어 컨텐츠에 속하는 작업 리스트의 예시를 도시한 것이다.6 shows an example of a task list belonging to media content.

전자 기기(410)는 사용자의 음성 명령에 대응되는 작업의 일례로 미디어 컨텐츠를 제공할 수 있다. 이때, 미디어 컨텐츠의 일례로는 음성 정보로 구성된 오디오 컨텐츠(600)를 포함할 수 있으며, 도 6을 참조하면 오디오 컨텐츠(600)는 예시적으로 음악, 뉴스, 동화, 라디오 등으로 분류될 수 있다.The electronic device 410 may provide media content as an example of a task corresponding to a voice command of the user. 6, the audio content 600 may be categorized into music, news, animation, radio, and the like, for example. The audio content 600 may include audio information .

전자 기기(410)는 사용자로부터 수신된 음성 명령의 의미를 분석하여 의미 분석 결과에 따른 작업을 수행하게 되는데, 사용자의 음성 명령으로 '뉴스 틀어줘'가 수신되면 오디오 컨텐츠(600) 중 뉴스로 분류된 컨텐츠를 재생할 수 있다.The electronic device 410 analyzes the meaning of the voice command received from the user and performs a task according to the result of the semantic analysis. When the 'news feed' is received by the voice command of the user, The content can be played back.

이와 같이 오디오 컨텐츠(600)는 사용자로부터 별도의 종료 명령이 있을 때까지 지속적으로 수행되는 작업에 해당되며, 이러한 작업에 대해서는 음성 명령 대기 과정을 즉시 종료하고 기기를 비활성화 시킨다.As described above, the audio content 600 corresponds to a task that is continuously performed until a separate termination command is received from the user. For such a task, the voice command standby process is immediately terminated and the apparatus is deactivated.

도 7은 TTS 답변에 속하는 작업 리스트의 예시를 도시한 것이다.Figure 7 shows an example of a task list belonging to the TTS answer.

전자 기기(410)는 사용자의 음성 명령에 대응되는 작업의 일례로 TTS 형태의 답변 정보(700)를 제공할 수 있다. 예를 들어, 사용자의 음성 명령으로 '오늘 일정 뭐 있어'가 수신되면 사용자의 일정 정보 중 오늘 날짜에 해당되는 일정 정보를 TTS로 출력할 수 있다.The electronic device 410 may provide TTS type answer information 700 as an example of a task corresponding to a voice command of the user. For example, if 'today's schedule' is received by voice command of the user, schedule information corresponding to today's date among the schedule information of the user can be outputted as TTS.

정보 검색과 같은 TTS 답변(700)은 별도의 종료 명령 없이도 정보 전달 후 작업이 종료되고 이러한 작업은 단기간 내에 사용자로부터 추가 정보 요청이 있을 가능성이 높다는 점을 고려하여 기기의 활성화를 유지한 상태에서 다음 음성 명령 대기 상태로 바로 진입함으로써 연속 대화 기능을 제공한다.The TTS answer 700, such as information retrieval, may end the operation after information transfer without a separate termination command. In view of the fact that there is a high possibility of requesting additional information from the user in a short period of time, And enters a voice command standby state to provide a continuous conversation function.

도 6과 도 7을 통해 설명한 바와 같이, 명령 종류 별로, 즉 사용자의 음성 명령에 대응되는 작업 유형에 따라 다음 음성 명령 대기 상태(2nd hearing)로의 전환 여부가 결정될 수 있다.As described with reference to FIG. 6 and FIG. 7, whether to switch to the next voice command standby state (2 nd hearing) can be determined according to the command type, that is, the task type corresponding to the voice command of the user.

도 8을 참조하면, 음악과 같은 오디오 컨텐츠를 재생하는 작업, 오디오 컨텐츠의 재생과 관련된 컨트롤 작업(예컨대, 볼륨 조절, 재생 컨텐츠 변경 등) 등은 음성 명령 대기 과정을 즉시 종료하고 다음 음성 명령 대기 상태로 전환하지 않는다. 한편, 단답형의 TTS 답변을 제공하는 작업이나 사용자와 대화를 주고 받는 단순 채팅 작업 등은 기기의 활성화 상태를 유지하여 다음 음성 명령 대기 상태로 바로 전환할 수 있다.8, operations for reproducing audio contents such as music, control operations related to reproduction of audio contents (for example, volume control, change of reproduction contents, and the like) immediately terminate the voice command waiting process, . On the other hand, the operation of providing the short-answer TTS answer or the simple chatting operation of exchanging conversation with the user can be switched to the standby state of the next voice command while maintaining the activated state of the device.

따라서, 전자 기기(410)는 기본적으로 키워드 호출이 필수로 선행되어야 음성 명령 대기 상태로 진입하게 되는데, 일부 유형의 작업의 경우, 즉 단기간에 음성 명령이 다시 이루어질 가능성이 높은 작업의 경우 키워드 호출 없이 음성 명령 대기 상태로 바로 진입할 수 있다.Accordingly, the electronic device 410 basically enters the voice command standby state before the keyword call is required. In the case of some types of jobs, that is, in the case of a job in which voice commands are likely to be re-established in a short period of time, It is possible to directly enter the voice command standby state.

이처럼 본 발명의 실시예들에 따르면, 이전 음성 명령이 이루어진 후 이전 음성 명령에 대응되는 작업에 따라 기기의 활성화 상태를 유지하여 다음 음성 명령 대기 상태로 자동 전환함으로써 단기간에 다시 이루어지는 음성 명령의 경우 기기 활성화를 위한 키워드 호출 없이 바로 진행할 수 있어 사용자 편의와 사용 피로도를 개선할 수 있다.As described above, according to the embodiments of the present invention, after the previous voice command is made, the active state of the device is maintained in accordance with the task corresponding to the previous voice command, and automatically switched to the next voice command standby state. It is possible to proceed directly without a keyword call for activation, thereby 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 apparatus described above may be implemented as a hardware component, a software component, and / or a combination of hardware components and software components. For example, the apparatus and components described in the embodiments may be implemented as a processor, a controller, an arithmetic logic unit (ALU), a digital signal processor, a microcomputer, a field programmable gate array (FPGA), a programmable logic unit, a microprocessor, or any other device capable of executing and responding to instructions. The processing device may execute an operating system (OS) and one or more software applications running on the operating system. The processing device may also access, store, manipulate, process, and generate data in response to execution of the software. For ease of understanding, the processing apparatus may be described as being used singly, but those skilled in the art will recognize that the processing apparatus may have a plurality of processing elements and / As shown in FIG. For example, the processing unit may comprise a plurality of processors or one processor and one controller. Other processing configurations are also possible, such as a parallel processor.

소프트웨어는 컴퓨터 프로그램(computer program), 코드(code), 명령(instruction), 또는 이들 중 하나 이상의 조합을 포함할 수 있으며, 원하는 대로 동작하도록 처리 장치를 구성하거나 독립적으로 또는 결합적으로(collectively) 처리 장치를 명령할 수 있다. 소프트웨어 및/또는 데이터는, 처리 장치에 의하여 해석되거나 처리 장치에 명령 또는 데이터를 제공하기 위하여, 어떤 유형의 기계, 구성요소(component), 물리적 장치, 컴퓨터 저장 매체 또는 장치에 구체화(embody)될 수 있다. 소프트웨어는 네트워크로 연결된 컴퓨터 시스템 상에 분산되어서, 분산된 방법으로 저장되거나 실행될 수도 있다. 소프트웨어 및 데이터는 하나 이상의 컴퓨터 판독 가능 기록 매체에 저장될 수 있다.The software may include a computer program, code, instructions, or a combination of one or more of the foregoing, and may be configured to configure the processing device to operate as desired or to process it collectively or collectively Device can be commanded. The software and / or data may be embodied in any type of machine, component, physical device, computer storage media, or device for interpretation by a processing device or to provide instructions or data to the processing device have. The software may be distributed over a networked computer system and stored or executed in a distributed manner. The software and data may be stored on one or more computer readable recording media.

실시예에 따른 방법은 다양한 컴퓨터 수단을 통하여 수행될 수 있는 프로그램 명령 형태로 구현되어 컴퓨터 판독 가능 매체에 기록될 수 있다. 이때, 매체는 컴퓨터로 실행 가능한 프로그램을 계속 저장하거나, 실행 또는 다운로드를 위해 임시 저장하는 것일 수도 있다. 또한, 매체는 단일 또는 수 개의 하드웨어가 결합된 형태의 다양한 기록수단 또는 저장수단일 수 있는데, 어떤 컴퓨터 시스템에 직접 접속되는 매체에 한정되지 않고, 네트워크 상에 분산 존재하는 것일 수도 있다. 매체의 예시로는, 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CD-ROM 및 DVD와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical medium), 및 ROM, RAM, 플래시 메모리 등을 포함하여 프로그램 명령어가 저장되도록 구성된 것이 있을 수 있다. 또한, 다른 매체의 예시로, 어플리케이션을 유통하는 앱 스토어나 기타 다양한 소프트웨어를 공급 내지 유통하는 사이트, 서버 등에서 관리하는 기록매체 내지 저장매체도 들 수 있다.The method according to an embodiment may be implemented in the form of a program command that can be executed through various computer means and recorded in a computer-readable medium. At this time, the medium may be a program that continuously stores a computer executable program, or temporarily stores the program for execution or downloading. Further, the medium may be a variety of recording means or storage means in the form of a combination of a single hardware or a plurality of hardware, but is not limited to a medium directly connected to any computer system, but may be dispersed on a network. Examples of the medium include a magnetic medium such as a hard disk, a floppy disk and a magnetic tape, an optical recording medium such as CD-ROM and DVD, a magneto-optical medium such as a floptical disk, And program instructions including ROM, RAM, flash memory, and the like. As another example of the medium, a recording medium or a storage medium that is managed by a site or a server that supplies or distributes an application store or various other software is also enumerated.

이상과 같이 실시예들이 비록 한정된 실시예와 도면에 의해 설명되었으나, 해당 기술분야에서 통상의 지식을 가진 자라면 상기의 기재로부터 다양한 수정 및 변형이 가능하다. 예를 들어, 설명된 기술들이 설명된 방법과 다른 순서로 수행되거나, 및/또는 설명된 시스템, 구조, 장치, 회로 등의 구성요소들이 설명된 방법과 다른 형태로 결합 또는 조합되거나, 다른 구성요소 또는 균등물에 의하여 대치되거나 치환되더라도 적절한 결과가 달성될 수 있다.While the present invention has been particularly shown and described with reference to exemplary embodiments thereof, it is to be understood that the invention is not limited to the disclosed exemplary embodiments. For example, it is to be understood that the techniques described may be performed in a different order than the described methods, and / or that components of the described systems, structures, devices, circuits, Lt; / RTI > or equivalents, even if it is replaced or replaced.

그러므로, 다른 구현들, 다른 실시예들 및 특허청구범위와 균등한 것들도 후술하는 특허청구범위의 범위에 속한다.Therefore, other implementations, other embodiments, and equivalents to the claims are also within the scope of the following claims.

Claims (18)

컴퓨터로 구현되는 인공지능 연속 대화 방법에 있어서,
대화 기능이 비활성화 된 상태에서 대화 활성 트리거가 인식되면 상기 대화 기능을 활성화 하여 음성 명령 대기 상태로 진입하는 단계;
상기 음성 명령 대기 상태에서 음성 명령이 수신되면 상기 음성 명령에 대응되는 작업을 수행하는 단계; 및
상기 작업의 유형에 기초하여 다음 음성 명령 대기 상태로 바로 진입함으로써 연속 대화 기능을 제공하는 단계
를 포함하는 인공지능 연속 대화 방법.
A computer-implemented artificial intelligence continuous conversation method,
Activating the conversation function and entering a voice command standby state if the conversation active trigger is recognized in a state that the conversation function is disabled;
Performing a task corresponding to the voice command when the voice command is received in the voice command standby state; And
Providing a continuous conversation function by directly entering a next voice command waiting state based on the type of the task
The method comprising the steps of:
제1항에 있어서,
웨이크업워드(wake up word)로 지정된 키워드를 상기 대화 활성 트리거로 이용하며,
상기 연속 대화 기능을 제공하는 단계는,
상기 음성 명령에 대응되는 작업에 따라 상기 키워드의 호출 없이 상기 대화 기능의 활성화를 유지하여 상기 다음 음성 명령 대기 상태로 자동 전환하는 것
을 특징으로 하는 인공지능 연속 대화 방법.
The method according to claim 1,
A keyword designated by a wake up word is used as the conversation active trigger,
Wherein the step of providing the continuous dialog function comprises:
The activation of the conversation function is maintained without a call of the keyword according to a task corresponding to the voice command, and the system is automatically switched to the next voice command standby state
Wherein said intelligent continuous conversation method comprises the steps of:
제1항에 있어서,
상기 연속 대화 기능을 제공하는 단계는,
상기 음성 명령에 대응되는 작업이 지속적인 동작이 필요한 작업이 아닌 경우 상기 대화 기능의 활성화를 유지하여 상기 다음 음성 명령 대기 상태로 자동 전환하는 것
을 특징으로 하는 인공지능 연속 대화 방법.
The method according to claim 1,
Wherein the step of providing the continuous dialog function comprises:
And if the operation corresponding to the voice command is not a job requiring continuous operation, the activation of the conversation function is maintained to automatically switch to the next voice command standby state
Wherein said intelligent continuous conversation method comprises the steps of:
제1항에 있어서,
상기 연속 대화 기능을 제공하는 단계는,
별도의 종료 명령이 입력되기 전까지 지속되는 제1 작업과 별도의 종료 명령 없이 소정 시점에 종료되는 제2 작업 중 상기 음성 명령에 대응되는 작업이 상기 제2 작업에 해당되는 경우 상기 대화 기능의 활성화를 유지하여 상기 다음 음성 명령 대기 상태로 자동 전환하는 것
을 특징으로 하는 인공지능 연속 대화 방법.
The method according to claim 1,
Wherein the step of providing the continuous dialog function comprises:
When the operation corresponding to the voice command corresponds to the second operation among the first operation lasting until a separate termination command is inputted and the second operation terminated at a predetermined time without a separate termination command, And automatically switches to the next voice command standby state
Wherein said intelligent continuous conversation method comprises the steps of:
제1항에 있어서,
상기 연속 대화 기능을 제공하는 단계는,
상기 음성 명령에 대응되는 작업이 사용자의 답변을 요구하는 대화 형식의 동작을 포함하는 경우 상기 대화 기능의 활성화를 유지하여 상기 다음 음성 명령 대기 상태로 자동 전환하는 것
을 특징으로 하는 인공지능 연속 대화 방법.
The method according to claim 1,
Wherein the step of providing the continuous dialog function comprises:
If the operation corresponding to the voice command includes an interactive mode operation requesting a user's answer, the activation of the interactive function is maintained to automatically switch to the next voice command standby mode
Wherein said intelligent continuous conversation method comprises the steps of:
제1항에 있어서,
상기 연속 대화 기능을 제공하는 단계는,
작업 별 수행 패턴을 학습한 결과에 기초하여 상기 음성 명령에 대응되는 작업이 추가의 음성 명령이 예측되는 작업에 해당되는 경우 상기 대화 기능의 활성화를 유지하여 상기 다음 음성 명령 대기 상태로 자동 전환하는 것
을 특징으로 하는 인공지능 연속 대화 방법.
The method according to claim 1,
Wherein the step of providing the continuous dialog function comprises:
And if the task corresponding to the voice command corresponds to a task for which a further voice command is predicted, based on a result of learning a task-specific performance pattern, the activation of the conversation function is maintained to automatically switch to the next voice command standby state
Wherein said intelligent continuous conversation method comprises the steps of:
제1항에 있어서,
상기 음성 명령에 대응되는 작업이 지속적인 동작이 필요한 작업인 경우에는 상기 대화 기능을 비활성화 상태로 전환하고 상기 음성 명령 대기 상태를 종료하는 단계
를 더 포함하는 인공지능 연속 대화 방법.
The method according to claim 1,
When the task corresponding to the voice command is a task requiring continuous operation, switching the conversation function to the inactive state and ending the voice command standby state
The method comprising the steps of:
제7항에 있어서,
상기 음성 명령 대기 상태를 종료하는 단계는,
상기 음성 명령에 대응되는 작업이 상기 지속적인 동작이 필요한 작업과 연관된 작업인 경우 상기 대화 기능을 비활성화 상태로 전환하고 상기 음성 명령 대기 상태를 종료하는 것
을 특징으로 하는 인공지능 연속 대화 방법.
8. The method of claim 7,
The step of terminating the voice command waiting state comprises:
And switching the conversation function to the inactive state and ending the voice command standby state when the operation corresponding to the voice command is an operation related to the operation requiring the continuous operation
Wherein said intelligent continuous conversation method comprises the steps of:
컴퓨터와 결합되어 제1항 내지 제8항 중 어느 한 항의 인공지능 연속 대화 방법을 컴퓨터에 실행시키기 위해 컴퓨터 판독 가능한 기록매체에 저장된 컴퓨터 프로그램.A computer program stored in a computer-readable medium for causing a computer to execute the artificial intelligent continuous conversation method of any one of claims 1 to 8 in combination with a computer. 제1항 내지 제8항 중 어느 한 항의 인공지능 연속 대화 방법을 컴퓨터에 실행시키기 위한 프로그램이 기록되어 있는 것을 특징으로 하는 컴퓨터에서 판독 가능한 기록매체.A computer-readable recording medium storing a program for causing a computer to execute the artificial intelligent continuous conversation method according to any one of claims 1 to 8. 컴퓨터로 구현되는 인공지능 연속 대화 시스템에 있어서,
컴퓨터에서 판독 가능한 명령을 실행하도록 구현되는 적어도 하나의 프로세서
를 포함하고,
상기 적어도 하나의 프로세서는,
대화 기능이 비활성화 된 상태에서 대화 활성 트리거가 인식되면 상기 대화 기능을 활성화 하여 음성 명령 대기 상태로 진입하는 과정;
상기 음성 명령 대기 상태에서 음성 명령이 수신되면 상기 음성 명령에 대응되는 작업을 수행하는 과정; 및
상기 작업의 유형에 기초하여 다음 음성 명령 대기 상태로 바로 진입함으로써 연속 대화 기능을 제공하는 과정
을 처리하는 인공지능 연속 대화 시스템.
A computer-implemented artificial intelligence continuous conversation system,
At least one processor configured to execute computer readable instructions,
Lt; / RTI >
Wherein the at least one processor comprises:
Activating the conversation function and entering a voice command standby state if the conversation active trigger is recognized while the conversation function is disabled;
Performing a task corresponding to the voice command when the voice command is received in the voice command standby state; And
A process of providing a continuous conversation function by directly entering the next voice command waiting state based on the type of the task
Artificial intelligent continuous conversation system.
제11항에 있어서,
웨이크업워드(wake up word)로 지정된 키워드를 상기 대화 활성 트리거로 이용하며,
상기 연속 대화 기능을 제공하는 과정은,
상기 음성 명령에 대응되는 작업에 따라 상기 키워드의 호출 없이 상기 대화 기능의 활성화를 유지하여 상기 다음 음성 명령 대기 상태로 자동 전환하는 것
을 특징으로 하는 인공지능 연속 대화 시스템.
12. The method of claim 11,
A keyword designated by a wake up word is used as the conversation active trigger,
Wherein the step of providing the continuous dialog function comprises:
The activation of the conversation function is maintained without a call of the keyword according to a task corresponding to the voice command, and the system is automatically switched to the next voice command standby state
Characterized in that the intelligent continuous conversation system comprises:
제11항에 있어서,
상기 연속 대화 기능을 제공하는 과정은,
상기 음성 명령에 대응되는 작업이 지속적인 동작이 필요한 작업이 아닌 경우 상기 대화 기능의 활성화를 유지하여 상기 다음 음성 명령 대기 상태로 자동 전환하는 것
을 특징으로 하는 인공지능 연속 대화 시스템.
12. The method of claim 11,
Wherein the step of providing the continuous dialog function comprises:
And if the operation corresponding to the voice command is not a job requiring continuous operation, the activation of the conversation function is maintained to automatically switch to the next voice command standby state
Characterized in that the intelligent continuous conversation system comprises:
제11항에 있어서,
상기 연속 대화 기능을 제공하는 과정은,
별도의 종료 명령이 입력되기 전까지 지속되는 제1 작업과 별도의 종료 명령 없이 소정 시점에 종료되는 제2 작업 중 상기 음성 명령에 대응되는 작업이 상기 제2 작업에 해당되는 경우 상기 대화 기능의 활성화를 유지하여 상기 다음 음성 명령 대기 상태로 자동 전환하는 것
을 특징으로 하는 인공지능 연속 대화 시스템.
12. The method of claim 11,
Wherein the step of providing the continuous dialog function comprises:
When the operation corresponding to the voice command corresponds to the second operation among the first operation lasting until a separate termination command is inputted and the second operation terminated at a predetermined time without a separate termination command, And automatically switches to the next voice command standby state
Characterized in that the intelligent continuous conversation system comprises:
제11항에 있어서,
상기 연속 대화 기능을 제공하는 과정은,
상기 음성 명령에 대응되는 작업이 사용자의 답변을 요구하는 대화 형식의 동작을 포함하는 경우 상기 대화 기능의 활성화를 유지하여 상기 다음 음성 명령 대기 상태로 자동 전환하는 것
을 특징으로 하는 인공지능 연속 대화 시스템.
12. The method of claim 11,
Wherein the step of providing the continuous dialog function comprises:
If the operation corresponding to the voice command includes an interactive mode operation requesting a user's answer, the activation of the interactive function is maintained to automatically switch to the next voice command standby mode
Characterized in that the intelligent continuous conversation system comprises:
제11항에 있어서,
상기 연속 대화 기능을 제공하는 과정은,
작업 별로 수행 패턴을 학습한 결과에 기초하여 상기 음성 명령에 대응되는 작업이 추가의 음성 명령이 예측되는 작업에 해당되는 경우 상기 대화 기능의 활성화를 유지하여 상기 다음 음성 명령 대기 상태로 자동 전환하는 것
을 특징으로 하는 인공지능 연속 대화 시스템.
12. The method of claim 11,
Wherein the step of providing the continuous dialog function comprises:
When the task corresponding to the voice command corresponds to a task in which a further voice command is predicted, based on a result of learning a performance pattern for each task, the activation of the conversation function is maintained and the system is automatically switched to the next voice command standby state
Characterized in that the intelligent continuous conversation system comprises:
제11항에 있어서,
상기 적어도 하나의 프로세서는,
상기 음성 명령에 대응되는 작업이 지속적인 동작이 필요한 작업인 경우에는 상기 대화 기능을 비활성화 상태로 전환하고 상기 음성 명령 대기 상태를 종료하는 과정
을 더 처리하는 인공지능 연속 대화 시스템.
12. The method of claim 11,
Wherein the at least one processor comprises:
When the task corresponding to the voice command is a task requiring continuous operation, switching the conversation function to the inactive state and terminating the voice command standby state
The artificial intelligence continuous conversation system that processes more.
제17항에 있어서,
상기 음성 명령 대기 상태를 종료하는 과정은,
상기 음성 명령에 대응되는 작업이 상기 지속적인 동작이 필요한 작업과 연관된 작업인 경우 상기 대화 기능을 비활성화 상태로 전환하고 상기 음성 명령 대기 상태를 종료하는 것
을 특징으로 하는 인공지능 연속 대화 시스템.
18. The method of claim 17,
Wherein the step of terminating the voice command standby state comprises:
And switching the conversation function to the inactive state and ending the voice command standby state when the operation corresponding to the voice command is an operation related to the operation requiring the continuous operation
Characterized in that the intelligent continuous conversation system comprises:
KR1020170106057A 2017-08-22 2017-08-22 Continuous coversation function in artificial intelligence device KR102098633B1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
KR1020170106057A KR102098633B1 (en) 2017-08-22 2017-08-22 Continuous coversation function in artificial intelligence device
JP2018152310A JP6619488B2 (en) 2017-08-22 2018-08-13 Continuous conversation function in artificial intelligence equipment
JP2019206132A JP6920398B2 (en) 2017-08-22 2019-11-14 Continuous conversation function in artificial intelligence equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020170106057A KR102098633B1 (en) 2017-08-22 2017-08-22 Continuous coversation function in artificial intelligence device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
KR1020200040101A Division KR102241792B1 (en) 2020-04-02 2020-04-02 Continuous coversation function in artificial intelligence device

Publications (2)

Publication Number Publication Date
KR20190021012A true KR20190021012A (en) 2019-03-05
KR102098633B1 KR102098633B1 (en) 2020-04-08

Family

ID=65727568

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020170106057A KR102098633B1 (en) 2017-08-22 2017-08-22 Continuous coversation function in artificial intelligence device

Country Status (2)

Country Link
JP (2) JP6619488B2 (en)
KR (1) KR102098633B1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112017650A (en) * 2019-05-31 2020-12-01 百度在线网络技术(北京)有限公司 Voice control method and device of electronic equipment, computer equipment and storage medium
KR20220038959A (en) * 2020-09-21 2022-03-29 그루브웍스 주식회사 Personalized artificial intelligence kiosk device and service method using the same

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP6842489B2 (en) * 2019-03-28 2021-03-17 Necパーソナルコンピュータ株式会社 Electronics, control methods and programs
CN113424256B (en) 2019-04-01 2024-06-18 谷歌有限责任公司 Adaptive management of broadcast requests and/or user inputs on rechargeable devices
JP7482640B2 (en) 2020-02-05 2024-05-14 キヤノン株式会社 Voice input device, control method thereof, and program

Citations (6)

* Cited by examiner, † Cited by third party
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
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

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150104615A (en) * 2013-02-07 2015-09-15 애플 인크. Voice trigger for a digital assistant
US9715875B2 (en) * 2014-05-30 2017-07-25 Apple Inc. Reducing the need for manual start/end-pointing and trigger phrases
US10789041B2 (en) * 2014-09-12 2020-09-29 Apple Inc. Dynamic thresholds for always listening speech trigger
US20160365101A1 (en) * 2015-06-15 2016-12-15 Motorola Mobility Llc Enabling Event Driven Voice Interaction with a Device
CN106971718B (en) * 2017-04-06 2020-09-08 四川虹美智能科技有限公司 Air conditioner and control method thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
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
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

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112017650A (en) * 2019-05-31 2020-12-01 百度在线网络技术(北京)有限公司 Voice control method and device of electronic equipment, computer equipment and storage medium
KR20200138644A (en) * 2019-05-31 2020-12-10 바이두 온라인 네트웍 테크놀러지 (베이징) 캄파니 리미티드 Methods and apparatuses for controlling voice of electronic devices, computer device and storage media
CN112017650B (en) * 2019-05-31 2024-05-24 百度在线网络技术(北京)有限公司 Voice control method and device of electronic equipment, computer equipment and storage medium
KR20220038959A (en) * 2020-09-21 2022-03-29 그루브웍스 주식회사 Personalized artificial intelligence kiosk device and service method using the same

Also Published As

Publication number Publication date
JP2020038709A (en) 2020-03-12
JP2019040602A (en) 2019-03-14
JP6619488B2 (en) 2019-12-11
JP6920398B2 (en) 2021-08-18
KR102098633B1 (en) 2020-04-08

Similar Documents

Publication Publication Date Title
KR101949497B1 (en) Method and system for processing user command to provide and adjust operation of device or range of providing contents accoding to analyzing presentation of user speech
JP6752870B2 (en) Methods and systems for controlling artificial intelligence devices using multiple wake words
US11922925B1 (en) Managing dialogs on a speech recognition platform
KR20190021012A (en) Continuous coversation function in artificial intelligence device
JP6731894B2 (en) Device control method and electronic device
KR102209092B1 (en) Method and system for controlling artificial intelligence device using plurality wake up word
JP6567727B2 (en) User command processing method and system for adjusting output volume of sound output based on input volume of received voice input
US11048293B2 (en) Electronic device and system for deciding duration of receiving voice input based on context information
KR101968725B1 (en) Media selection for providing information corresponding to voice query
JP6728319B2 (en) Service providing method and system using a plurality of wake words in an artificial intelligence device
CN108804070B (en) Music playing method and device, storage medium and electronic equipment
CN111640429B (en) Method for providing voice recognition service and electronic device for the same
KR102060775B1 (en) Electronic device for performing operation corresponding to voice input
US11749271B2 (en) Method for controlling external device based on voice and electronic device thereof
KR20200043642A (en) Electronic device for ferforming speech recognition using microphone selected based on an operation state and operating method thereof
JP2019175453A (en) System for processing input voice of user, method for operating the same, and electronic apparatus
KR20190068133A (en) Electronic device and method for speech recognition
KR20190139489A (en) method for operating speech recognition service and electronic device supporting the same
JP2019012506A (en) Method and system for automatic activation of machine
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
CN114639384B (en) Voice control method and device, computer equipment and computer storage medium
KR20210061091A (en) Electronic device for providing intelligent assistance service and operating method thereof
KR102241792B1 (en) Continuous coversation function in artificial intelligence device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
X091 Application refused [patent]
AMND Amendment
X701 Decision to grant (after re-examination)
GRNT Written decision to grant