KR20200006738A - Dialogue system, and dialogue processing method - Google Patents

Dialogue system, and dialogue processing method Download PDF

Info

Publication number
KR20200006738A
KR20200006738A KR1020180080469A KR20180080469A KR20200006738A KR 20200006738 A KR20200006738 A KR 20200006738A KR 1020180080469 A KR1020180080469 A KR 1020180080469A KR 20180080469 A KR20180080469 A KR 20180080469A KR 20200006738 A KR20200006738 A KR 20200006738A
Authority
KR
South Korea
Prior art keywords
user
action
information
situation
conversation
Prior art date
Application number
KR1020180080469A
Other languages
Korean (ko)
Inventor
신동수
석동희
이정엄
김가희
김선아
박정미
노희진
김계윤
Original Assignee
현대자동차주식회사
기아자동차주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 현대자동차주식회사, 기아자동차주식회사 filed Critical 현대자동차주식회사
Priority to KR1020180080469A priority Critical patent/KR20200006738A/en
Publication of KR20200006738A publication Critical patent/KR20200006738A/en

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/037Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for occupant comfort, e.g. for automatic adjustment of appliances according to personal settings, e.g. seats, mirrors, steering wheel
    • B60R16/0373Voice control
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L25/00Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00
    • G10L25/48Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use
    • G10L25/51Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination
    • G10L25/63Speech or voice analysis techniques not restricted to a single one of groups G10L15/00 - G10L21/00 specially adapted for particular use for comparison or discrimination for estimating an emotional state

Abstract

Provided are a dialogue system which correctly grasps a user′s intention based on various kinds of information, such as a user′s dialogue, vehicle condition information, driving environment information, user information and the like, in a vehicle driving environment to provide a service fit to the user′s intention or the most necessary service to the user, a vehicle including the same, and a dialogue processing method thereof. According to one embodiment of the present invention, the dialogue system comprises: a storage unit storing context information including at least one among vehicle condition information related to a condition of a vehicle, user information related to a driver of the vehicle, and driving environment information related to a driving environment of the vehicle; and an input processor determining whether to be in a first speaking situation for determining the depression degree of the user based on the context information, acquiring an action for performing first speaking when the first speaking situation is determined, and determining the depression degree of the user based on a user′s response to the first speaking.

Description

대화 시스템 및 대화 처리 방법{DIALOGUE SYSTEM, AND DIALOGUE PROCESSING METHOD}Dialog system and how to handle it {DIALOGUE SYSTEM, AND DIALOGUE PROCESSING METHOD}

개시된 발명은 사용자와의 대화를 통해 사용자의 의도를 파악하고 사용자에게 필요한 정보나 서비스를 제공하는 대화 시스템, 및 대화 처리 방법에 관한 것이다.The disclosed invention relates to a conversation system for identifying a user's intention through a conversation with a user and providing information or services required by the user, and a conversation processing method.

차량용 AVN이나 대부분의 모바일 기기는 작은 화면 및 작은 버튼으로 인해, 사용자에게 시각적인 정보를 제공하거나 사용자의 입력을 수신함에 있어 불편함이 발생할 수 있다. In a vehicle AVN or most mobile devices, a small screen and a small button may cause inconvenience in providing visual information to a user or receiving a user input.

특히, 사용자가 운전 중 시각적인 정보를 확인하거나 기기를 조작하기 위해, 시선을 이동시키고 스티어링 휠에서 손을 떼는 것은 안전 운전에 위협이 되는 요소로 작용한다. In particular, in order for a user to check visual information or to operate a device while driving, moving eyes and releasing the steering wheel pose a threat to safe driving.

따라서, 사용자와의 대화를 통해 사용자의 의도를 파악하고, 사용자에게 필요한 서비스를 제공하는 대화 시스템이 차량에 적용될 경우 보다 안전하고 편리하게 서비스를 제공할 수 있을 것으로 기대된다.Therefore, it is expected to provide a safer and more convenient service when a conversation system that grasps a user's intention through a dialogue with a user and provides a service required by the user is applied to a vehicle.

한국공개특허문헌 2013-0035983Korean Laid-Open Patent Document 2013-0035983

개시된 발명의 일 측면은, 차량 주행 환경에서 사용자와의 대화 및 차량 상태 정보, 주행 환경 정보, 사용자 정보 등의 다양한 정보를 바탕으로 사용자의 의도를 정확하게 파악함으로써, 사용자의 실제 의도에 부합되는 서비스 또는 사용자에게 가장 필요한 서비스를 제공할 수 있는 대화 시스템 및 대화 처리 방법을 제공한다.One aspect of the disclosed invention is to accurately grasp the user's intention based on various information such as dialogue with the user and vehicle status information, driving environment information, user information, etc. Provides a chat system and a chat processing method that can provide the services most needed by the user.

개시된 발명의 다른 일 측면은, 차량 주행 환경에서 사용자와의 대화 및 차량 상태 정보, 주행 환경 정보, 사용자 정보 등의 다양한 정보를 바탕으로 사용자의 우울감 정도를 판단함으로써, 우울증으로 인한 사고를 예방할 수 있는 대화 시스템 및 대화 처리 방법을 제공한다.Another aspect of the disclosed invention is to determine the degree of depression of the user on the basis of various information such as dialogue with the user and vehicle status information, driving environment information, user information in the vehicle driving environment, it is possible to prevent an accident caused by depression It provides a conversation system and a method of processing a conversation.

상술한 기술적 과제를 달성하기 위한 기술적 수단으로서, 일 측면에 따른 대화 시스템은, 차량의 상태와 관련된 차량 상태 정보, 상기 차량의 운전자와 관련된 사용자 정보 및 상기 차량의 주행 환경과 관련된 주행 환경 정보 중 적어도 하나를 포함하는 상황 정보를 저장하는 저장부; 및 상기 상황 정보에 기초하여 사용자의 우울감 정도를 판단하기 위한 선발화 상황인지 여부를 판단하고, 상기 선발화 상황인 것으로 판단되면 선발화를 수행하기 위한 액션을 획득하고, 상기 선발화에 대한 상기 사용자의 응답에 기초하여 상기 사용자의 우울감 정도를 판단하는 입력 처리기;를 포함한다.As a technical means for achieving the above-described technical problem, the dialogue system according to an aspect includes at least one of vehicle state information related to a state of a vehicle, user information related to a driver of the vehicle, and driving environment information related to a driving environment of the vehicle. A storage unit for storing the situation information including one; And determining whether the user is in a starting situation for determining a degree of depression of the user based on the situation information, and when determined to be the starting situation, acquiring an action for performing the starting process, and the user for the selection. It includes; an input processor for determining the degree of depression of the user based on the response.

또한, 상기 입력 처리기는, 사용자의 음성을 입력 받고, 입력된 사용자의 음성에 대한 톤 분석을 실행하는 톤 분석기;를 더 포함하고, 상기 상황 정보 중 상기 사용자 정보는 상기 톤 분석 결과를 포함할 수 있다.The input processor may further include a tone analyzer configured to receive a voice of a user and to perform tone analysis on the input voice of the user, wherein the user information of the context information may include the tone analysis result. have.

또한, 상기 저장부는, 상기 사용자의 우울감 정도를 판단하기 위한 적어도 하나의 질문, 이에 대한 적어도 하나의 답변 및 상기 적어도 하나의 답변에 대응하는 적어도 하나의 우울 지수를 저장하고, 상기 입력 처리기는, 상기 선발화 조건이 만족되는 경우 상기 저장된 적어도 하나의 질문에 기초한 선발화를 수행하기 위한 액션을 획득할 수 있다.The storage unit may store at least one question for determining a degree of depression of the user, at least one answer thereto, and at least one depression index corresponding to the at least one answer. When the selection condition is satisfied, an action for performing the selection based on the stored at least one question may be obtained.

또한, 상기 입력 처리기는, 상기 저장된 적어도 하나의 질문에 기초한 선발화에 대한 상기 사용자의 답변을 상기 저장된 적어도 하나의 답변에 기초하여 상기 사용자의 우울감 정도를 판단할 수 있다.The input processor may determine the degree of depression of the user based on the stored at least one response of the user's response to the selection based on the stored at least one question.

또한, 상기 입력 처리기는, 상기 저장된 적어도 하나의 답변에 대응하는 적어도 하나의 우울 지수에 기초하여 상기 사용자의 우울 지수를 획득하고, 상기 사용자의 우울감 정도를 상기 획득된 우울 지수에 기초하여 판단할 수 있다.The input processor may acquire the depression index of the user based on the at least one depression index corresponding to the stored at least one answer, and determine the degree of depression of the user based on the obtained depression index. have.

또한, 상기 사용자의 우울감 정도 및 상기 상황 정보에 기초하여 위험 상황인지 여부를 판단하고, 상기 위험 상황인 것으로 판단되면 상기 위험 상황에 대응하는 액션을 획득하는 위험 상황 관리기;를 더 포함할 수 있다.The apparatus may further include a risk situation manager configured to determine whether the user is in a dangerous situation based on the degree of depression of the user and the situation information, and obtain an action corresponding to the dangerous situation.

또한, 상기 저장부는, 우울증으로 인한 사고 발생이 예상되는 위험 상황에 대응하는 적어도 하나의 액션을 포함하는 사고 대응 매뉴얼을 저장하고, 상기 위험 상황 관리기는, 상기 저장된 사고 대응 매뉴얼에 기초하여 상기 위험 상황에 대응하는 액션을 획득할 수 있다.The storage unit may store an accident response manual including at least one action corresponding to a dangerous situation in which an accident due to depression is expected, and the risk situation manager is configured to perform the dangerous situation based on the stored accident response manual. An action corresponding to may be obtained.

또한, 상기 위험 상황 관리기는, 상기 위험 상황인 것으로 판단되면 위험 상황 단계를 결정하고, 상기 결정된 위험 상황 단계에 기초하여 상기 위험 상황에 대응하는 액션을 획득할 수 있다.In addition, if it is determined that the risk situation manager is the dangerous situation, the risk situation manager may determine a risk situation step and obtain an action corresponding to the risk situation based on the determined risk situation step.

또한, 상기 입력 처리기가 획득한 액션과 관련된 적어도 하나의 후보 액션을 상기 저장부로부터 획득하는 대화 관리기;를 더 포함할 수 있다.The apparatus may further include a conversation manager configured to obtain at least one candidate action related to the action acquired by the input processor from the storage.

또한, 상기 저장부는, 차량의 지원 가능한 기능과 관련된 차량 기능 정보를 저장하고, 상기 대화 관리기는, 상기 저장된 차량 기능 정보에 기초하여 상기 적어도 하나의 후보 액션의 수행 가부를 판단하고, 상기 판단 결과에 기초하여 상기 적어도 하나의 후보 액션의 우선순위를 결정할 수 있다.The storage unit may store vehicle function information related to a supportable function of the vehicle, and the conversation manager determines whether to perform the at least one candidate action based on the stored vehicle function information, and determines whether to perform the at least one candidate action. The priority of the at least one candidate action may be determined based on the result.

다른 측면에 따른 대화 처리 방법은 차량의 상태와 관련된 차량 상태 정보, 상기 차량의 운전자와 관련된 사용자 정보 및 상기 차량의 주행 환경과 관련된 주행 환경 정보 중 적어도 하나를 포함하는 상황 정보를 저장하고; 상기 상황 정보에 기초하여 사용자의 우울감 정도를 판단하기 위한 선발화 상황인지 여부를 판단하고; 상기 선발화 상황인 것으로 판단되면 선발화를 수행하기 위한 액션을 획득하고; 및 상기 선발화에 대한 상기 사용자의 응답에 기초하여 상기 사용자의 우울감 정도를 판단하는 것;을 포함한다.According to another aspect of the present invention, there is provided a method for processing a conversation, the method comprising: storing situation information including at least one of vehicle state information related to a state of a vehicle, user information related to a driver of the vehicle, and driving environment information related to a driving environment of the vehicle; Determining whether the user is in a starting situation for determining a degree of depression of the user based on the situation information; If it is determined that the starting situation is obtained, acquire an action for performing the starting method; And determining a degree of depression of the user based on the user's response to the selection.

또한, 사용자의 음성을 입력 받고, 입력된 사용자의 음성에 대한 톤 분석을 실행하는 것;을 더 포함하고, 상기 상황 정보 중 상기 사용자 정보는 상기 톤 분석 결과를 포함할 수 있다.The method may further include receiving a voice of the user and executing tone analysis on the input voice of the user, wherein the user information of the context information may include the tone analysis result.

또한, 상기 사용자의 우울감 정도를 판단하기 위한 적어도 하나의 질문, 이에 대한 적어도 하나의 답변 및 상기 적어도 하나의 답변에 대응하는 적어도 하나의 우울 지수를 저장하는 것;을 더 포함하고, 상기 선발화 상황인 것으로 판단되면 선발화를 수행하기 위한 액션을 획득하는 것은, 상기 선발화 조건이 만족되는 경우 상기 저장된 적어도 하나의 질문에 기초한 선발화를 수행하기 위한 액션을 획득할 수 있다.The method may further include storing at least one question, at least one answer thereto, and at least one depression index corresponding to the at least one answer, for determining a degree of depression of the user. If it is determined that the action to perform the starter can be obtained, the action for performing the starter based on the stored at least one question when the starter condition is satisfied.

또한, 상기 선발화에 대한 상기 사용자의 응답에 기초하여 상기 사용자의 우울감 정도를 판단하는 것은, 상기 저장된 적어도 하나의 질문에 기초한 선발화에 대한 상기 사용자의 답변을 상기 저장된 적어도 하나의 답변에 기초하여 상기 사용자의 우울감 정도를 판단하는 것을 포함할 수 있다.In addition, determining the degree of depression of the user based on the user's response to the selection, the user's response to the selection based on the stored at least one question based on the stored at least one response And determining the degree of depression of the user.

또한, 상기 선발화에 대한 상기 사용자의 응답에 기초하여 상기 사용자의 우울감 정도를 판단하는 것은, 상기 저장된 적어도 하나의 답변에 대응하는 적어도 하나의 우울 지수에 기초하여 상기 사용자의 우울 지수를 획득하고, 상기 사용자의 우울감 정도를 상기 획득된 우울 지수에 기초하여 판단하는 것을 포함할 수 있다.The determining of the degree of depression of the user based on the response of the user to the selection may include obtaining the depression index of the user based on at least one depression index corresponding to the stored at least one answer, And determining the degree of depression of the user based on the obtained depression index.

또한, 상기 사용자의 우울감 정도 및 상기 상황 정보에 기초하여 위험 상황인지 여부를 판단하고; 및 상기 위험 상황인 것으로 판단되면 상기 위험 상황에 대응하는 액션을 획득하는 것;을 더 포함할 수 있다.In addition, based on the degree of depression of the user and the situation information determines whether or not a dangerous situation; And acquiring an action corresponding to the dangerous situation when determined to be the dangerous situation.

또한, 우울증으로 인한 사고 발생이 예상되는 위험 상황에 대응하는 적어도 하나의 액션을 포함하는 사고 대응 매뉴얼을 저장하는 것;을 더 포함하고, 상기 위험 상황인 것으로 판단되면 상기 위험 상황에 대응하는 액션을 획득하는 것은, 상기 저장된 사고 대응 매뉴얼에 기초하여 상기 위험 상황에 대응하는 액션을 획득하는 것을 포함할 수 있다.The method may further include storing an accident response manual including at least one action corresponding to a dangerous situation in which an accident due to depression is expected to occur, and if determined to be a dangerous situation, take an action corresponding to the dangerous situation. Acquiring may include acquiring an action corresponding to the dangerous situation based on the stored accident response manual.

또한, 상기 위험 상황인 것으로 판단되면 상기 위험 상황에 대응하는 액션을 획득하는 것은, 상기 위험 상황인 것으로 판단되면 위험 상황 단계를 결정하고, 상기 결정된 위험 상황 단계에 기초하여 상기 위험 상황에 대응하는 액션을 획득하는 것을 포함할 수 있다.In addition, acquiring an action corresponding to the dangerous situation when determined to be the dangerous situation may include determining a dangerous situation step if determined to be the dangerous situation and based on the determined dangerous situation step, It may include acquiring.

또한, 상기 획득한 액션과 관련된 적어도 하나의 후보 액션을 획득하는 것;을 더 포함할 수 있다.The method may further include acquiring at least one candidate action related to the obtained action.

또한, 차량의 지원 가능한 기능과 관련된 차량 기능 정보를 저장하고; 및 상기 저장된 차량 기능 정보에 기초하여 상기 적어도 하나의 후보 액션의 수행 가부를 판단하고, 상기 판단 결과에 기초하여 상기 적어도 하나의 후보 액션의 우선순위를 결정하는 것;을 더 포함할 수 있다.And storing vehicle function information related to the supportable function of the vehicle; And determining whether to perform the at least one candidate action based on the stored vehicle function information, and determining the priority of the at least one candidate action based on the determination result.

일 측면에 따른 대화 시스템 및 대화 처리 방법에 의하면, 차량 주행 환경에서 사용자와의 대화 및 차량 상태 정보, 주행 환경 정보, 사용자 정보 등의 다양한 정보를 바탕으로 사용자의 의도를 정확하게 파악함으로써, 사용자의 실제 의도에 부합되는 서비스 또는 사용자에게 가장 필요한 서비스를 제공할 수 있다.According to the dialogue system and the dialogue processing method according to an aspect, the user's intention is accurately determined by accurately understanding the user's intention based on various information such as dialogue with the user and vehicle status information, driving environment information, and user information in the vehicle driving environment. It can provide a service that meets the intention or a service that is most needed by the user.

다른 측면에 따른 대화 시스템 및 대화 처리 방법에 의하면, 사용자의 우울감 정도를 판단할 수 있고, 이에 대응하는 기능을 제공함으로써 우울증으로 인한 불의의 사고를 예방할 수 있다.According to the dialogue system and the dialogue processing method according to another aspect, it is possible to determine the degree of depression of the user, it is possible to prevent the accident caused by depression by providing a function corresponding thereto.

도 1은 일 실시예에 따른 대화 시스템의 제어 블록도이다.
도 2는 차량 내부의 구성을 나타낸 도면이다.
도 3 내지 도 5는 대화 시스템과 운전자 사이에 주고 받을 수 있는 대화의 예시를 나타낸 도면이다.
도 6 및 도 7은 대화 시스템과 차량의 구성 요소들 사이의 사이의 연결 관계를 간략하게 나타낸 제어 블록도이다.
도 8 및 도 9는 대화 시스템의 구성 요소와 차량의 구성 요소들 사이의 연결 관계를 간략하게 나타낸 제어 블록도이다.
도 10은 대화 시스템이 차량에 마련되는 차량 단독 방식에 대한 제어 블록도이다.
도 11 및 도 12는 대화 시스템이 원격 서버에 마련되고 차량이 사용자와 대화 시스템을 연결하는 게이트웨이의 역할만 하는 차량 게이트웨이 방식에 대한 제어 블록도이다.
도 13은 차량 게이트웨이 방식에서 차량이 입력 처리와 출력 처리를 일부 수행할 수 있는 경우에 대한 제어 블록도이다.
도 14는 원격 대화 시스템 서버와 차량이 모두 대화 처리를 수행할 수 있는 하이브리드 방식에 대한 제어 블록도이다.
도 15및 도 16은 차량에 연결된 모바일 기기가 사용자와 원격 대화 시스템 서버를 연결하는 모바일 게이트웨이 방식에 대한 제어 블록도이다.
도 17은 모바일 기기에 대화 시스템이 탑재되는 모바일 단독 방식에 대한 제어 블록도이다.
도 18, 도 19A 및 도 19B는 대화 시스템의 구성 중 입력 처리기의 구성이 세분화된 제어 블록도이다.
도 20A 및 도 20B는 상황 이해 테이블에 저장되는 정보의 예시를 나타낸 도면이다.
도 21은 사용자의 입력이 수신되기 전에 대화 시스템이 먼저 발화를 출력하는 경우에 적용 가능한 대화 시스템의 제어 블록도이다.
도 22A, 도 22B, 도 22C, 도 22D, 도 22E 및 도 22F는 선발화 조건 테이블에 저장하는 정보의 예시를 나타낸 도면이다.
도 23은 대화 관리기의 구성이 세분화된 제어 블록도이다.
도 24는 연관 액션 DB에 저장된 정보의 예시를 나타낸 도면이다.
도 25는 액션 수행 조건 DB에 저장된 정보의 예시를 나타낸 도면이다.
도 26은 액션 인자 DB에 저장된 정보의 예시를 나타낸 도면이다.
도 27은 모호성 해소 정보 DB에 저장되는 정보의 예시를 나타내는 도면이다.
도 28a 및 도 28b는 모호성 해결기가 모호성 해소 정보 DB를 참조하여 모호성을 해결하고 액션을 추출하여 차량을 제어하는 다양한 예시들을 정리한 테이블이다.
도 29는 결과 처리기의 구성을 세분화한 제어 블록도이다.
도 30 내지 도 42는 사용자가 길 안내와 관련한 발화를 입력한 경우에 대화 시스템이 입력을 처리하고, 대화를 관리하고, 결과를 출력하는 구체적인 예시를 나타낸 도면이다.
도 43은 일 실시예에 따른 대화 처리 방법에 있어서, 사용자 입력을 처리하는 방법을 나타낸 순서도이다.
도 44a 및 도 44b는 일 실시예에 따른 대화 처리 방법에 있어서, 입력 처리기의 출력을 이용하여 대화를 관리하는 방법을 나타낸 순서도이다.
도 45는 일 실시예에 따른 대화 처리 방법에 있어서, 대화 관리의 결과에 대응되는 응답을 생성하기 위한 결과 처리 방법을 나타낸 순서도이다.
도 46 내지 도 48은 일 실시예에 따른 대화 처리 방법에 있어서, 사용자의 발화 입력 전에 대화 시스템이 선발화를 출력하는 경우를 나타낸 순서도이다.
도 49는 일 실시예에 따른 대화 처리 방법에 있어서, 사용자의 발화 입력 전에 대화 시스템이 선발화를 출력하는 경우에 중복 태스크를 처리하는 과정을 나타낸 순서도이다.
1 is a control block diagram of a conversation system according to an embodiment.
2 is a diagram illustrating a configuration of a vehicle interior.
3 to 5 illustrate examples of conversations that can be exchanged between the conversation system and the driver.
6 and 7 are control block diagrams schematically illustrating the connection relationship between the dialogue system and the components of the vehicle.
8 and 9 are control block diagrams schematically illustrating the connection relationship between the components of the dialogue system and the components of the vehicle.
10 is a control block diagram of a vehicle standalone system in which a conversation system is provided in a vehicle.
11 and 12 are control block diagrams for a vehicle gateway method in which a conversation system is provided in a remote server and the vehicle serves only as a gateway connecting the user and the conversation system.
FIG. 13 is a control block diagram of a case in which a vehicle may perform some input processing and output processing in a vehicle gateway method.
FIG. 14 is a control block diagram of a hybrid scheme in which both a remote conversation system server and a vehicle can perform conversation processing.
15 and 16 are control block diagrams of a mobile gateway method in which a mobile device connected to a vehicle connects a user with a remote conversation system server.
17 is a control block diagram of a mobile standalone system in which a dialogue system is mounted on a mobile device.
18, 19A, and 19B are control block diagrams in which the configuration of the input processor of the configuration of the conversation system is subdivided.
20A and 20B illustrate examples of information stored in a situation understanding table.
FIG. 21 is a control block diagram of a conversation system applicable when the conversation system first outputs a utterance before a user input is received.
22A, 22B, 22C, 22D, 22E and 22F are diagrams showing examples of information stored in the starting condition table.
23 is a control block diagram of the configuration of the conversation manager.
24 is a diagram illustrating an example of information stored in the association action DB.
25 is a diagram illustrating an example of information stored in an action execution condition DB.
26 is a diagram illustrating an example of information stored in an action factor DB.
27 is a diagram illustrating an example of information stored in the ambiguity resolution information DB.
28A and 28B are tables listing various examples in which the ambiguity resolver resolves ambiguities and extracts actions to control a vehicle by referring to the ambiguity resolution information DB.
Fig. 29 is a control block diagram of the configuration of the result processor.
30 to 42 are diagrams illustrating specific examples in which a conversation system processes an input, manages a conversation, and outputs a result when a user inputs a speech related to a road guidance.
43 is a flowchart illustrating a method of processing user input in a conversation processing method according to an embodiment.
44A and 44B are flowcharts illustrating a method of managing a conversation using an output of an input processor according to an embodiment.
45 is a flowchart illustrating a result processing method for generating a response corresponding to a result of conversation management in the conversation processing method according to an exemplary embodiment.
46 to 48 are flowcharts illustrating a case in which a conversation system outputs a selection prior to a user's speech input in a conversation processing method according to an exemplary embodiment.
49 is a flowchart illustrating a process of processing a duplicate task when the conversation system outputs a selection prior to inputting a speech by a user according to an embodiment.

명세서 전체에 걸쳐 동일 참조 부호는 동일 구성요소를 지칭한다. 본 명세서가 실시예들의 모든 요소들을 설명하는 것은 아니며, 본 발명이 속하는 기술분야에서 일반적인 내용 또는 실시예들 간에 중복되는 내용은 생략한다. 명세서에서 사용되는 '부, 모듈, 부재, 블록'이라는 용어는 소프트웨어 또는 하드웨어로 구현될 수 있으며, 실시예들에 따라 복수의 '부, 모듈, 부재, 블록'이 하나의 구성요소로 구현되거나, 하나의 '부, 모듈, 부재, 블록'이 복수의 구성요소들을 포함하는 것도 가능하다. Like reference numerals refer to like elements throughout. This specification does not describe all elements of the embodiments, and overlaps between the general contents or the embodiments in the technical field to which the present invention belongs. As used herein, the term 'part, module, member, block' may be implemented in software or hardware. According to embodiments, a plurality of 'part, module, member, block' may be embodied as one component. It is also possible that one 'part, module, member, block' includes a plurality of components.

명세서 전체에서, 어떤 부분이 다른 부분과 "연결"되어 있다고 할 때, 이는 직접적으로 연결되어 있는 경우뿐 아니라, 간접적으로 연결되어 있는 경우를 포함하고, 간접적인 연결은 무선 통신망을 통해 연결되는 것을 포함한다.Throughout the specification, when a part is said to be "connected" with another part, it includes not only a case where the part is directly connected, but also an indirect connection, and the indirect connection includes connecting through a wireless communication network. do.

또한 어떤 부분이 어떤 구성요소를 "포함"한다고 할 때, 이는 특별히 반대되는 기재가 없는 한 다른 구성요소를 제외하는 것이 아니라 다른 구성요소를 더 포함할 수 있는 것을 의미한다.In addition, when a part is said to "include" a certain component, this means that it may further include other components, except to exclude other components unless otherwise stated.

단수의 표현은 문맥상 명백하게 예외가 있지 않는 한, 복수의 표현을 포함한다.Singular expressions include plural expressions unless the context clearly indicates an exception.

각 단계들에 붙여지는 부호는 각 단계들을 식별하기 위해 사용되는 것으로 이들 부호는 각 단계들 상호 간의 순서를 나타내는 것이 아니며, 각 단계들은 문맥상 명백하게 특정 순서를 기재하지 않는 이상 명기된 순서와 다르게 실시될 수 있다. The symbols attached to the steps are used to identify the steps. These signs do not indicate the order between the steps. Each step is performed in a different order than the stated order unless the context clearly indicates a specific order. Can be.

이하 첨부된 도면들을 참고하여 대화 시스템, 이를 포함하는 차량 및 대화 처리 방법의 실시예를 상세하게 설명한다. Hereinafter, an embodiment of a conversation system, a vehicle including the same, and a conversation processing method will be described in detail with reference to the accompanying drawings.

일 실시예에 따른 대화 시스템은 사용자의 음성 및 음성 외 입력을 이용하여 사용자의 의도를 파악하고 사용자의 의도에 적합한 서비스 또는 사용자에게 필요한 서비스를 제공하는 장치로서, 서비스 제공의 일 수단 또는 사용자의 의도를 명확히 파악하기 위한 일 수단으로 시스템 발화를 출력함으로써 사용자와 대화를 수행할 수 있다. According to an exemplary embodiment, a conversation system is a device that grasps a user's intention by using a voice and a non-voice input of a user and provides a service suitable for the user's intention or a service required by the user. As a means of clarifying the problem, the system utterance can be output to communicate with the user.

당해 실시예에서 사용자에게 제공되는 서비스는 정보의 제공, 차량의 제어, 오디오/비디오/내비게이션 기능의 실행, 외부 서버로부터 가져온 컨텐츠의 제공 등 사용자의 필요나 사용자의 의도에 부응하기 위해 수행되는 모든 동작을 포함할 수 있다.The services provided to the user in this embodiment are all operations performed to meet the needs of the user or the intention of the user, such as providing information, controlling the vehicle, executing audio / video / navigation functions, and providing content obtained from an external server. It may include.

또한, 일 실시예에 따른 대화 시스템은 차량 환경에 특화된 대화 처리 기술을 제공함으로써, 차량이라는 특수한 환경에서 사용자의 의도를 정확히 파악할 수 있다.In addition, the conversation system according to an exemplary embodiment may accurately understand a user's intention in a special environment of a vehicle by providing a conversation processing technology specialized for a vehicle environment.

이러한 대화 시스템과 사용자를 연결하는 게이트 웨이는 차량 또는 차량에 연결된 모바일 기기가 될 수 있다. 후술하는 바와 같이, 대화 시스템은 차량에 마련될 수도 있고, 차량 외부의 원격 서버에 마련되어 차량 또는 차량에 연결된 모바일 기기와의 통신을 통해 데이터를 주고 받을 수도 있다. The gateway connecting the conversation system and the user may be a vehicle or a mobile device connected to the vehicle. As will be described later, the conversation system may be provided in a vehicle, or may be provided in a remote server outside the vehicle to exchange data through communication with the vehicle or a mobile device connected to the vehicle.

또한, 대화 시스템의 구성 요소 중 일부는 차량에 마련되고 일부는 원격 서버에 마련되어 대화 시스템의 동작을 차량과 원격 서버에서 부분적으로 수행하는 것도 가능하다.In addition, some of the components of the conversation system may be provided in the vehicle and some may be provided in the remote server to partially perform operations of the conversation system in the vehicle and the remote server.

도 1은 일 실시예에 따른 대화 시스템의 제어 블록도이다.1 is a control block diagram of a conversation system according to an embodiment.

도 1을 참조하면, 일 실시예에 따른 대화 시스템(100)은 사용자의 음성 및 음성 외 입력을 포함하는 사용자 입력이나 차량과 관련된 정보 또는 사용자와 관련된 정보를 포함하는 입력을 처리하는 입력 처리기(110), 입력 처리기(110)의 처리 결과를 이용하여 사용자의 의도 또는 차량의 상태를 파악하고, 사용자의 의도나 차량의 상태에 대응되는 액션을 결정하는 대화 관리기(120), 대화 관리기(120)의 출력 결과에 따라 특정 서비스를 제공하거나 대화를 계속 이어 나가기 위한 시스템 발화를 출력하는 결과 처리기(130) 및 대화 시스템(100)이 후술하는 동작을 수행하기 위해 필요한 각종 정보를 저장하는 저장부(140)를 포함한다.Referring to FIG. 1, the conversation system 100 according to an exemplary embodiment may include an input processor 110 that processes a user input including a voice and a non-speech input of a user, an input related to a vehicle, or an input including information related to a user. ), Using the processing result of the input processor 110 to determine the user's intention or the state of the vehicle, and determine the action corresponding to the user's intention or the state of the vehicle. The result processor 130 for outputting a system utterance for providing a specific service or continuing the conversation according to the output result, and the storage unit 140 for storing various information necessary for performing the operation described later by the dialog system 100. It includes.

입력 처리기(110)는 사용자 음성과 음성 외 입력, 두 가지 종류의 입력을 수신할 수 있다. 음성 외 입력은 사용자의 제스처 인식이나, 입력 장치의 조작을 통해 입력되는 사용자의 음성 외 입력, 차량의 상태를 나타내는 차량 상태 정보, 차량의 주행 환경과 관련된 주행 환경 정보, 사용자의 상태를 나타내는 사용자 정보 등을 포함할 수 있다. 이러한 정보들 외에도 차량과 사용자와 관련된 정보로서, 사용자의 의도를 파악하거나 사용자 또는 차량에 필요한 서비스를 제공하기 위해 사용될 수 있는 정보이면, 모두 입력 처리기(110)의 입력이 될 수 있다. 사용자는 운전자와 탑승자를 모두 포함할 수 있다.The input processor 110 may receive two types of inputs, a user voice and a non-voice input. The non-speech input may include a user's gesture recognition, a non-speech input of a user input through manipulation of an input device, vehicle state information indicating a state of a vehicle, driving environment information related to a driving environment of a vehicle, and user information indicating a state of a user. And the like. In addition to the information, any information related to the vehicle and the user may be input to the input processor 110 as long as the information may be used to determine the user's intention or provide a service required by the user or the vehicle. The user can include both a driver and a passenger.

입력 처리기(110)는 입력된 사용자 음성을 인식하여 텍스트 형태의 발화문으로 변환하고, 사용자의 발화문에 자연어 이해(Natural Language Understanding) 알고리즘을 적용하여 사용자의 의도를 파악한다. The input processor 110 recognizes the input user's voice and converts it into a text-type speech, and applies a natural language understanding algorithm to the user's speech to grasp the user's intention.

또한, 입력 처리기(110)는 사용자 음성 외에 차량의 상태나 주행 환경과 관련된 정보를 수집하고, 수집된 정보를 이용하여 상황을 이해한다. In addition, the input processor 110 collects information related to the state of the vehicle or the driving environment in addition to the user's voice, and understands the situation using the collected information.

입력 처리기(110)는 자연어 이해를 통해 파악한 사용자의 의도와 상황에 관련된 정보 등을 대화 관리기(120)로 전달한다.The input processor 110 transmits information related to the intention and the situation of the user identified through the understanding of natural language, to the conversation manager 120.

대화 관리기(120)는 입력 처리기(110)로부터 전달된 사용자의 의도, 상황에 관련된 정보 등에 기초하여 사용자의 의도나 현재 상황에 대응되는 액션을 결정하고, 해당 액션을 수행하기 위해 필요한 인자들을 관리한다. The conversation manager 120 determines an action corresponding to the user's intention or the current situation based on the intention of the user, information related to the situation, etc. transmitted from the input processor 110, and manages the factors necessary to perform the action. .

당해 실시예에서 액션은 특정 서비스를 제공하기 위해 수행되는 모든 동작을 의미할 수 있으며, 액션의 종류는 미리 정의될 수 있다. 경우에 따라, 서비스의 제공과 액션의 수행은 동일한 의미일 수 있다. In this embodiment, the action may mean all operations performed to provide a specific service, and the type of action may be predefined. In some cases, providing a service and performing an action may have the same meaning.

예를 들어, 도메인/액션 추론 규칙 DB(141, 도 19A 참조)에 길 안내, 차량 상태 점검, 주유소 추천, 말걸기, 우울 지수 판단, 위험 상황 방지 등과 같은 액션이 미리 정의될 수 있고, 저장된 추론 규칙에 따라 사용자의 발화에 대응되는 액션, 즉 사용자가 의도하는 액션을 미리 정의된 액션 중에서 추출할 수 있다. 또한, 차량에 발생한 이벤트와 연관된 액션이 미리 정의되어 연관 액션 DB(146b, 도 21 참조)에 저장될 수 있다. For example, in the domain / action inference rule DB 141 (see FIG. 19A), actions such as road guidance, vehicle status check, gas station recommendation, speaking, depression index determination, risk avoidance, etc. may be predefined and stored inference According to the rule, an action corresponding to the user's speech, that is, an action intended by the user, may be extracted from the predefined actions. In addition, an action associated with an event occurring in the vehicle may be predefined and stored in the association action DB 146b (see FIG. 21).

액션의 종류에 대해서는 제한을 두지 않으며, 대화 시스템(100)이 차량(200) 또는 모바일 기기(400)를 통해 수행 가능한 것으로서, 미리 정의되고, 그 추론 규칙이나 다른 액션/이벤트와의 관계 등이 저장되어 있으면 액션이 될 수 있다. There is no restriction on the type of action, and the conversation system 100 is performed as the vehicle 200 or the mobile device 400, and is predefined, and the inference rule and the relationship with other actions / events are stored. If it is, it can be an action.

대화 관리기(120)는 결정된 액션에 관한 정보를 결과 처리기(130)로 전달한다.The conversation manager 120 transmits the information about the determined action to the result processor 130.

결과 처리기(130)는 전달된 액션을 수행하기 위해 필요한 대화 응답 및 명령어를 생성하여 출력한다. 대화 응답은 텍스트, 이미지 또는 오디오로 출력될 수 있고, 명령어가 출력되면 출력된 명령어에 대응되는 차량 제어, 외부 컨텐츠 제공 등의 서비스가 수행될 수 있다. The result processor 130 generates and outputs a conversation response and a command necessary to perform the delivered action. The conversation response may be output as text, image, or audio, and when a command is output, services such as vehicle control and external content corresponding to the output command may be performed.

저장부(140)는 대화 처리 및 서비스 제공에 필요한 각종 정보를 저장한다. 예를 들어, 자연어 이해에 사용되는 도메인, 액션, 화행, 개체명과 관련된 정보를 미리 저장할 수 있고, 입력된 정보로부터 상황을 이해하기 위해 사용되는 상황 이해 테이블을 저장할 수도 있으며, 차량에 마련된 센서가 감지한 데이터, 사용자와 관련된 정보, 액션 수행을 위해 필요한 정보를 미리 저장할 수도 있다. 저장부(140)에 저장되는 정보들에 관한 더 자세한 설명은 후술하도록 한다.The storage unit 140 stores various types of information necessary for conversation processing and service provision. For example, information related to domains, actions, acts, and entity names used to understand natural language can be stored in advance, and a situation understanding table used to understand a situation from inputted information can be stored, and a sensor provided in a vehicle can be detected. One data, information related to a user, and information necessary for performing an action may be stored in advance. A more detailed description of the information stored in the storage 140 will be described later.

전술한 바와 같이, 대화 시스템(100)은 차량 환경에 특화된 대화 처리 기술을 제공한다. 대화 시스템(100)의 구성요소가 전부 차량에 포함될 수도 있고, 일부만 포함될 수도 있다. 대화 시스템(100)은 원격 서버에 마련되고 차량은 대화 시스템(100)과 사용자 사이의 게이트웨이의 역할만 할 수도 있다. 어느 경우이던지, 대화 시스템(100)은 차량 또는 차량과 연결된 모바일 기기를 통해 사용자와 연결될 수 있다. As described above, the conversation system 100 provides a conversation processing technique specific to the vehicle environment. All of the components of the dialogue system 100 may be included in the vehicle, or only some of them may be included. The conversation system 100 may be provided on a remote server and the vehicle may serve only as a gateway between the conversation system 100 and the user. In either case, the conversation system 100 may be connected to a user through a vehicle or a mobile device connected to the vehicle.

도 2는 차량 내부의 구성을 나타낸 도면이다.2 is a diagram illustrating a configuration of a vehicle interior.

도 2를 참조하면, 차량(200) 내부의 대시보드(201)의 중앙 영역인 센터페시아(203)에는 오디오 기능, 비디오 기능, 내비게이션 기능 또는 전화 걸기 기능을 포함하는 차량의 제어를 수행하기 위해 필요한 화면을 표시하는 디스플레이(231)와 사용자의 제어 명령을 입력 받기 위한 입력 버튼(221)이 마련될 수 있다. Referring to FIG. 2, the center fascia 203, which is a central area of the dashboard 201 inside the vehicle 200, is required to perform control of a vehicle including audio, video, navigation, and dialing functions. A display 231 displaying a screen and an input button 221 for receiving a user's control command may be provided.

또한, 운전자의 조작 편의성을 위해 스티어링 휠(207)에도 입력 버튼(223)이 마련될 수 있고, 운전석(254a)과 조수석(254b) 사이의 센터 콘솔 영역(202)에 입력 버튼의 역할을 수행하는 조그 셔틀(225)이 마련될 수도 있다. In addition, an input button 223 may also be provided on the steering wheel 207 for the driver's convenience, and serves as an input button in the center console area 202 between the driver's seat 254a and the passenger seat 254b. A jog shuttle 225 may be provided.

디스플레이(231), 입력 버튼(221) 및 각종 기능을 전반적으로 제어하는 프로세서를 포함하는 모듈을 AVN(Audio Video Navigation) 단말이라 할 수도 있고, 헤드유닛(Head Unit)이라 할 수도 있다. A module including a display 231, an input button 221, and a processor for controlling various functions in general may be referred to as an audio video navigation (AVN) terminal or a head unit.

디스플레이(231)는 LCD(Liquid Crystal Display), LED(Light Emitting Diode), PDP(Plasma Display Panel), OLED(Organic Light Emitting Diode), CRT(Cathode Ray Tube) 등의 다양한 디스플레이 장치 중 하나로 구현될 수 있다.The display 231 may be implemented as one of various display devices such as a liquid crystal display (LCD), a light emitting diode (LED), a plasma display panel (PDP), an organic light emitting diode (OLED), and a cathode ray tube (CRT). have.

입력 버튼(221)은 도 2에 도시된 바와 같이 디스플레이(231)와 인접한 영역에 하드 키 타입으로 마련될 수도 있고, 디스플레이(231)가 터치 스크린 타입으로 구현되는 경우에는 디스플레이(231)가 입력 버튼(221)의 기능도 함께 수행할 수 있다. As shown in FIG. 2, the input button 221 may be provided as a hard key type in an area adjacent to the display 231. When the display 231 is implemented as a touch screen type, the display 231 may be an input button. The function of 221 may also be performed.

차량(1)은 사용자의 명령을 음성 입력 장치(210)를 통해 음성으로 입력 받을 수 있다. 음성 입력 장치(210)는 음향을 입력 받아 전기적인 신호로 변환하여 출력하는 마이크로폰을 포함할 수 있다. The vehicle 1 may receive a user's command by voice through the voice input device 210. The voice input device 210 may include a microphone that receives sound and converts the sound into an electrical signal.

효과적인 음성의 입력을 위하여 음성 입력 장치(210)는 도 2에 도시된 바와 같이 헤드라이닝(205)에 마련될 수 있으나, 차량(200)의 실시예가 이에 한정되는 것은 아니며, 대시보드(201) 위에 마련되거나 스티어링 휠(207)에 마련되는 것도 가능하다. 이 외에도 사용자의 음성을 입력 받기에 적합한 위치이면 어디든 제한이 없다.The voice input device 210 may be provided in the headlining 205 as shown in FIG. 2 for effective voice input. However, the exemplary embodiment of the vehicle 200 is not limited thereto. It may be provided or provided in the steering wheel 207. In addition, there is no limit to any location suitable for receiving a user's voice input.

차량(200) 내부에는 사용자와 대화를 수행하거나, 사용자가 원하는 서비스를 제공하기 위해 필요한 음향을 출력하는 스피커(232)가 마련될 수 있다. 일 예로, 스피커(232)는 운전석 도어(253a) 및 조수석 도어(253b) 내측에 마련될 수 있다.A speaker 232 may be provided inside the vehicle 200 to output a sound required to communicate with a user or to provide a service desired by the user. For example, the speaker 232 may be provided inside the driver's seat door 253a and the passenger seat door 253b.

스피커(232)는 내비게이션 경로 안내를 위한 음성, 오디오/비디오 컨텐츠에 포함되는 음향 또는 음성, 사용자가 원하는 정보나 서비스를 제공하기 위한 음성, 사용자의 발화에 대한 응답으로서 생성된 시스템 발화 등을 출력할 수 있다.The speaker 232 may output a voice for navigation path guidance, a sound or voice included in audio / video content, a voice for providing information or service desired by the user, a system speech generated in response to the user's speech, or the like. Can be.

일 실시예에 따른 대화 시스템(100)은 차량 환경에 특화된 대화 처리 기술을 이용하여 사용자의 라이프스타일에 최적화된 서비스를 제공하고, 커넥티드카(Connected Car), 사물인터넷(IoT), 인공지능(AI) 등의 기술을 이용한 새로운 서비스를 구현할 수 있다.The conversation system 100 according to an embodiment provides a service optimized for a user's lifestyle by using a conversation processing technology specialized for a vehicle environment, and connects a connected car, an IoT, an artificial intelligence ( New services can be implemented using technologies such as AI).

일 실시예에 따른 대화 시스템(100)과 같이 차량 환경에 특화된 대화 처리 기술을 적용할 경우, 운전자의 직접 주행 상황에서, 주요 상황(Context)에 대한 인지 및 대응이 용이하다. 유량 부족, 졸음 운전 등 주행에 영향을 미치는 요소 또는 운전자의 우울감 정도에 영향을 미치는 요소에 가중치를 부여하여 서비스를 제공할 수 있고, 대부분의 경우 목적지로 이동 중인 조건을 기반으로 주행 시간, 목적지 정보 등 서비스 제공을 위해 필요한 정보를 용이하게 획득할 수 있다. When the conversation processing technology specialized for the vehicle environment is applied, such as the conversation system 100 according to an exemplary embodiment, the driver may easily recognize and respond to the main context in the direct driving situation. Services can be provided by weighting factors that affect driving, such as lack of flow, drowsy driving, or factors affecting the degree of driver's depression, and in most cases, driving time and destination information based on conditions moving to the destination. Etc., information necessary for providing a service can be easily obtained.

또한, 운전자의 의도를 파악하고, 기능을 제안하는 지능적인 서비스를 용이하게 구현할 수 있다. 이는 운전자의 직접 주행 상황에 있어 실시간 정보와 액션을 우선적으로 고려하기 때문이다. 일 예로, 주행 중에 운전자가 주유소를 검색하면, 이는 지금 주유소에 가겠다는 운전자의 의도로 해석될 수 있다. 그러나, 차량이 아닌 환경에서 주유소를 검색할 경우 지금 주유소를 가겠다는 의도 외에 위치 정보 조회, 전화번호 조회, 가격 조회 등 다른 다양한 의도로도 해석되는 것이 가능하다.In addition, it is possible to easily implement an intelligent service that grasps the driver's intention and proposes a function. This is because real-time information and action are considered first in the driver's direct driving situation. For example, if the driver searches for a gas station while driving, this may be interpreted as the driver's intention to go to the gas station. However, when a gas station is searched in a non-vehicle environment, in addition to the intention of going to a gas station now, it may be interpreted as various intentions such as location information inquiry, telephone number inquiry, price inquiry, and the like.

또한, 차량은 한정적인 공간이지만, 그 안에 다양한 상황이 존재할 수 있다. 예를 들어, 렌터카 등 생소한 인터페이스의 운전 상황, 대리 운전을 맡긴 상황, 세차 등 차량 관리 상황, 유아를 탑승시키는 상황, 특정 목적지를 찾아가는 상황 등에서 대화 시스템(100)을 활용할 수 있다. In addition, the vehicle is a limited space, but there may be various situations therein. For example, the conversation system 100 may be utilized in driving situations of an unfamiliar interface such as a car, a surrogate driving situation, a vehicle management situation such as washing a car, a situation in which an infant is boarded, and a situation in which a specific destination is found.

또한, 차량 점검 단계, 출발 준비 단계, 주행 단계, 주차 단계 등 차량의 주행과 그 전후를 구성하는 각각의 단계에서도 다양한 서비스의 기회와 대화 상황들이 발생한다. 특히, 차량 문제의 대처 방안을 모르는 상황, 차량과 각종 외부 기기 연동 상황, 연비 등 주행 습관 확인 상황, 스마트 크루즈 컨트롤(Smart Cruise Control) 등의 안전 지원 기능 활용 상황, 내비게이션 조작 상황, 졸음 운전 상황, 매일 동일한 경로를 반복해서 주행하는 상황, 주정차가 가능한 곳인지 확인해야 하는 상황 등에서 대화 시스템(100)을 활용할 수 있다. In addition, various service opportunities and conversation situations occur at each stage configuring the driving of the vehicle and before and after the vehicle checking stage, the departure preparation stage, the driving stage, and the parking stage. In particular, the situation of not knowing how to deal with vehicle problems, the situation of interlocking vehicles and various external devices, the situation of checking driving habits such as fuel economy, the use of safety support functions such as Smart Cruise Control, the navigation operation situation, drowsy driving situation, The conversation system 100 may be utilized in a situation in which the same route is repeatedly driven every day, a situation in which it is necessary to check whether parking is possible.

도 3 내지 도 5는 대화 시스템과 운전자 사이에 주고 받을 수 있는 대화의 예시를 나타낸 도면이다.3 to 5 illustrate examples of conversations that can be exchanged between the conversation system and the driver.

도 3을 참조하면, 운전자가 현재 잔유량을 묻거나 주유소 안내를 요청하는 발화를 입력하지 않더라도, 대화 시스템(100)은 스스로 현재 잔유량을 판단하고, 판단된 잔유량이 설정된 기준값 미만인 경우에는 현재 잔유량에 대한 정보를 제공하는 발화(S1: 현재 남은 기름으로 43km 주행 가능합니다)를 먼저 출력할 수 있다. Referring to FIG. 3, even if the driver does not input a ignition for asking the current remaining amount or requesting gas station guidance, the conversation system 100 determines the current remaining amount by itself, and when the determined remaining amount is less than the set reference value, Informational ignition (S1: can travel 43km with the remaining oil) can be output first.

이에 대한 응답으로, 운전자는 주유소로 경로 안내를 받기 위해 근처 주유소를 묻는 발화 (U1: 근처 주유소 알려줘)를 입력할 수 있고, 대화 시스템(100)은 현재 위치에서 가장 가까운 주유소에 대한 정보를 제공하는 발화(S2: 현재 위치에서 가까운 주유소로 A 오일 성림 주유소, B 오일 장대 주유소, C 오일 태평양 주유소가 있습니다)를 출력할 수 있다.In response, the driver may enter an ignition (U1: Tell a nearby gas station) asking for a nearby gas station to get directions to the gas station, and the conversation system 100 may provide information about the gas station closest to the current location. It is possible to output ignition (S2: gas station near the current location, A oil forest gas station, B oil pole gas station, C oil Pacific gas station).

운전자는 추가적으로 기름 가격에 대한 정보를 요청하기 위한 발화 (U2: 그 중 가장 싼 곳은 어디야?)를 입력할 수 있고, 대화 시스템(100)은 유종 별 가격에 대한 정보 제공하는 발화(S3: 휘발유 가격이 가장 낮은 곳은 B 오일 장대 주유소로 리터당 1,294원이고, 경유 가격이 가장 낮은 곳은 A 오일 성림 주유소로 리터당 985원입니다)를 출력할 수 있다.The driver may additionally enter a ignition (U2: where is the cheapest?) For requesting information on the oil price, and the dialogue system 100 may provide a ignition (S3: gasoline) that provides information on prices by oil type. The lowest price is B oil pole gas station at 1,294 won per liter and the lowest price at diesel oil is A oil Sunglim gas station at 985 won per liter.

운전자는 B 오일 장대 주유소로 안내해 달라는 발화(U3)를 입력할 수 있고, 대화 시스템(100)은 운전자가 선택한 주유소로 안내를 시작한다는 발화 (S4: B 오일 장대 주유소로 안내를 시작합니다)를 출력할 수 있다. The driver can enter a utterance (U3) to guide the B oil pole gas station, and the dialogue system 100 outputs a utterance (S4: starts guiding to the B oil pole gas station) that the driver starts to guide the selected gas station. can do.

즉, 대화 시스템(100)이 입력 처리기(110)를 통해 수신한 차량의 상태 정보에 기초하여 현재 필요한 서비스가 주유소 안내 서비스임을 판단하고, 이를 제공하기 위한 선발화를 출력할 수 있다. 또한, 운전자는 대화 시스템(100)과의 대화를 통하여 현재 차량의 유종을 가장 싼 가격에 판매하는 근처의 주유소로 경로 안내를 받을 수 있게 된다. 당해 실시예에서는 사용자가 발화하기 전에 대화 시스템(100)이 먼저 출력하는 발화를 선발화라 하기로 한다.That is, the conversation system 100 may determine that the currently required service is a gas station guide service based on the state information of the vehicle received through the input processor 110, and output a starter for providing the service. In addition, the driver may receive a route guidance to a nearby gas station that sells the current type of vehicle at the lowest price through the dialogue with the conversation system 100. In this embodiment, the speech output by the conversation system 100 before the user speaks will be referred to as starting speech.

한편, 대화 시스템(100)은 전술한 도 3의 예시에서 주유소를 선택함에 있어, 일부 질의를 생략하고 바로 정보를 제공함으로써 대화의 단계와 시간을 단축하는 것도 가능하다. Meanwhile, in selecting the gas station in the example of FIG. 3 described above, the conversation system 100 may shorten the steps and time of the conversation by omitting some queries and providing information immediately.

예를 들어, 대화 시스템(100)은 현재 차량의 유종이 휘발유이고 운전자의 주유소 선택 기준이 가격이라는 정보를 미리 알 수 있다. 차량의 유종에 대한 정보는 차량으로부터 획득할 수 있고, 운전자의 주유소 선택 기준은 운전자에게 미리 입력 받거나 운전자의 대화 이력 또는 주유소 선택 이력을 학습하여 획득할 수 있다. 이러한 정보는 대화 시스템(100)의 저장부(140)에 미리 저장될 수 있다.For example, the conversation system 100 may know in advance that the type of the current vehicle is gasoline and the driver's gas station selection criterion is price. Information about the type of the vehicle may be obtained from the vehicle, and the driver's gas station selection criteria may be obtained by inputting the driver in advance, or by learning the conversation history or the gas station selection history of the driver. Such information may be stored in advance in the storage 140 of the conversation system 100.

이 경우, 도 4에 도시된 바와 같이, 운전자가 기름 가격에 대한 정보를 요청하기 위한 발화(U2)를 입력하지 않더라도(U3 생략) 대화 시스템(100)이 기름 가격에 대한 정보, 특히 현재 차량의 유종인 휘발유의 가격에 대한 정보를 제공하는 발화(S2+S3=S3')을 선제적으로 출력할 수 있다. In this case, as shown in FIG. 4, even if the driver does not input the ignition U2 for requesting information on the oil price (omitted U3), the conversation system 100 may provide information on the oil price, in particular of the current vehicle. It is possible to preemptively output utterances (S2 + S3 = S3 ') that provide information on the price of oil, which is a type of oil.

운전자는 기름 가격에 대한 정보를 요청하기 위한 발화(U2)를 생략할 수 있고, 대화 시스템(100)의 응답은 근처 주유소 안내를 위한 발화(S2)와 기름 가격 안내를 위한 발화(S3)가 하나로 합쳐짐으로써 대화 단계와 시간을 단축할 수 있다. The driver may omit the ignition U2 for requesting information on the oil price, and the response of the dialogue system 100 may include the ignition S2 for guiding the nearby gas station and the ignition S3 for guiding the oil price. By combining, you can shorten the dialogue step and time.

또한, 대화 시스템(100)은 운전자가 현재 잔유량을 물었다는 사실에 기초하여 운전자의 의도가 주유소 검색이라는 점을 스스로 파악할 수도 있다. In addition, the conversation system 100 may determine for itself that the driver's intention is to search for a gas station based on the fact that the driver has asked the current residual amount.

이 경우, 도 5에 도시된 바와 같이, 운전자가 근처 주유소를 묻는 발화(U1)를 입력하지 않더라도(U1 생략), 대화 시스템(100)이 기름 가격에 대한 정보를 제공하는 발화(S2+S3=S3")를 선제적으로 출력할 수 있다. In this case, as shown in FIG. 5, even if the driver does not input the ignition U1 asking for a nearby gas station (omit U1), the utterance system S2 + S3 = provides information on the oil price. S3 ") can be preemptively outputted.

또한, 기름 가격에 대한 정보를 제공하는 발화(S3")에 현재 위치에서 가장 가까우면서 기름 가격이 가장 싼 주유소가 하나인 경우에는 해당 주유소로 안내할 지 여부까지 함께 질의할 수 있다. 따라서, 사용자는 어느 주유소로 안내해달라는 구체적인 발화를 입력하지 않고, 단순히 대화 시스템(100)의 질의에 동의하는 발화(U3': 그래)를 입력함으로써 해당 주유소로의 길 안내를 요청할 수 있다.In addition, if there is one gas station that is closest to the current location and has the lowest oil price to the ignition (S3 ") that provides information on the oil price, the user can also query whether to guide the gas station. Rather than inputting a specific speech for guiding to a gas station, the user may request directions to the corresponding gas station by simply inputting an utterance (U3 ': yeah) agreeing to the query of the conversation system 100.

이와 같이, 대화 시스템(100)은 미리 획득한 정보를 이용하여 사용자가 발화하지 않은 내용까지 고려함으로써, 사용자의 실제 의도를 파악하고 그에 대응되는 정보를 선제적으로 제공할 수 있다. 이를 통해 사용자가 원하는 서비스를 제공하기까지의 대화 단계와 시간을 단축할 수 있다. As described above, the conversation system 100 may consider the contents not uttered by the user by using the previously obtained information, thereby grasping the actual intention of the user and preemptively providing information corresponding thereto. This can shorten the dialogue step and time until the user provides the desired service.

도 6 및 도 7은 대화 시스템과 차량의 구성 요소들 사이의 연결 관계를 간략하게 나타낸 제어 블록도이다.6 and 7 are control block diagrams briefly illustrating the connection relationship between the dialogue system and the components of the vehicle.

도 6을 참조하면, 대화 시스템(100)에 입력되는 사용자의 음성은 차량(200)에 마련된 음성 입력 장치(210)를 통해 입력될 수 있다. 앞서 도 2에서 설명한 바와 같이, 음성 입력 장치(210)는 차량(200) 내부에 마련된 마이크로폰을 포함할 수 있다. Referring to FIG. 6, a voice of a user input to the conversation system 100 may be input through a voice input device 210 provided in the vehicle 200. As described above with reference to FIG. 2, the voice input device 210 may include a microphone provided in the vehicle 200.

사용자 입력 중 음성을 제외한 입력은 음성 외 입력 장치(220)를 통해 입력될 수 있다. 음성 외 입력 장치(220)는 사용자의 조작을 통해 명령을 입력 받는 입력 버튼(221, 223)과 조그 셔틀(225)을 포함할 수 있다. Inputs other than voices among the user inputs may be input through the non-speech input device 220. The non-voice input device 220 may include input buttons 221 and 223 and a jog shuttle 225 for receiving a command through a user's manipulation.

또한, 음성 외 입력 장치(220)는 사용자를 촬영하는 카메라를 포함하는 것도 가능하다. 카메라로 촬영한 영상을 통해, 명령 입력의 일 수단으로 사용되는 사용자의 제스처, 표정 또는 시선 방향을 인식할 수 있다. 또는, 카메라로 촬영한 영상을 통해 사용자의 상태(졸음 상태, 감정 상태 등)를 파악하는 것도 가능하다. In addition, the non-voice input device 220 may include a camera for capturing a user. The user's gesture, facial expression or gaze direction used as a means of command input may be recognized through the image photographed by the camera. Alternatively, the user's state (drowsiness state, emotional state, etc.) may be determined through an image captured by the camera.

차량에 관한 정보는 차량 제어기(240)를 통해 대화 시스템(100)에 입력될 수 있다. 차량에 관한 정보는 차량(200)에 마련된 각종 센서를 통해 획득된 차량 상태 정보 또는 주변 상황 정보를 포함할 수 있고, 차량의 유종과 같이 차량(200)에 기본적으로 저장된 정보도 포함할 수 있다. Information about the vehicle may be input to the conversation system 100 through the vehicle controller 240. The information about the vehicle may include vehicle state information or surrounding situation information obtained through various sensors provided in the vehicle 200, and may also include information basically stored in the vehicle 200, such as the type of the vehicle.

대화 시스템(100)은 음성 입력 장치(210)를 통해 입력된 사용자 음성, 음성 외 입력 장치(220)를 통해 입력된 사용자의 음성 외 입력, 차량 제어기(240)를 통해 입력된 각종 정보를 이용하여 사용자의 의도와 상황을 파악하고, 사용자의 의도에 대응되는 액션을 수행하기 위한 응답을 출력한다.The conversation system 100 may use a user's voice input through the voice input device 210, a non-voice input of the user input through the non-voice input device 220, and various information input through the vehicle controller 240. It grasps the intention and the situation of the user and outputs a response for performing an action corresponding to the intention of the user.

대화자 출력 장치(230)는 대화자에게 시각적, 청각적 또는 촉각적인 출력을 제공하는 장치로서, 차량(200)에 마련된 디스플레이(231) 및 스피커(232)를 포함할 수 있다. 디스플레이(231) 및 스피커(232)는 사용자의 발화에 대한 응답, 사용자에 대한 질의, 또는 사용자가 요청한 정보를 시각적 또는 청각적으로 출력할 수 있다. 또는, 스티어링 휠(207)에 진동기를 장착하여 진동을 출력하는 것도 가능하다.The speaker output device 230 is a device that provides a visual, audio, or tactile output to the speaker. The speaker output device 230 may include a display 231 and a speaker 232 provided in the vehicle 200. The display 231 and the speaker 232 may visually or audibly output a response to the user's speech, a query for the user, or information requested by the user. Alternatively, it is possible to mount a vibrator on the steering wheel 207 to output the vibration.

또한, 차량 제어기(240)는 대화 시스템(100)으로부터 출력되는 응답에 따라, 사용자의 의도나 현재 상황에 대응되는 액션을 수행하기 위해 차량(200)을 제어할 수 있다. In addition, the vehicle controller 240 may control the vehicle 200 to perform an action corresponding to the user's intention or the current situation according to the response output from the conversation system 100.

한편, 차량(200)은 차량(200)에 마련된 센서를 통해 획득된 데이터뿐만 아니라, 통신 장치(280)를 통해 외부 컨텐츠 서버(300) 또는 외부 기기로부터 획득된 정보, 예를 들어 교통 상황, 날씨, 온도, 사고 다발 지역 정보, 위험 지역 정보, 동승자 정보, 운전자 개인 정보 등의 주행 환경 정보와 가족 정보, 일정 정보, 바이오리듬 정보, 수면 정보 등의 사용자 정보도 수집하여 대화 시스템(100)에 전달할 수 있다. 이 외에도 사용자 정보는 학력 정보, 거주지 정보, 근무지 정보, 직업 정보, 선호도 정보 등을 포함할 수 있다.On the other hand, the vehicle 200 is not only data obtained through the sensor provided in the vehicle 200, but also information obtained from the external content server 300 or an external device through the communication device 280, for example, traffic conditions, weather Also, driving environment information such as temperature, accident-prone area information, dangerous area information, passenger information, driver personal information, and family information, schedule information, biorhythm information, sleep information, and the like are collected and transmitted to the conversation system 100. Can be. In addition, the user information may include educational information, residence information, work information, occupation information, preference information, and the like.

도 7에 도시된 바와 같이, 잔유량, 강우량, 강우 속도, 주변 장애물 정보, 속도, 엔진 온도, 타이어 공기압, 현재 위치 등과 같이 차량에 마련된 센서로부터 획득되는 정보 및 재생되는 음원 정보, 음원 재생 시간 등과 같이 차량에 마련된 장치로부터 획득되는 정보를 포함하는 차량 상태 정보는 내부 신호 제어기(241)를 통해 대화 시스템(100)에 입력될 수 있다.As shown in FIG. 7, information obtained from sensors provided in a vehicle such as residual flow rate, rainfall, rainfall speed, ambient obstacle information, speed, engine temperature, tire pressure, current position, and the like, reproduced sound source information, sound source reproduction time, etc. Vehicle state information including information obtained from a device provided in the vehicle may be input to the conversation system 100 through the internal signal controller 241.

이러한 차량 상태 정보와 함께 날씨 정보, 교통 정보, 목적지 정보 및 도로 상황 정보 등을 포함하는 주행 환경 정보 또한 내부 신호 제어기(241)를 통해 대화 시스템(100)에 입력될 수 있다. In addition to the vehicle status information, driving environment information including weather information, traffic information, destination information, road situation information, and the like may also be input to the conversation system 100 through the internal signal controller 241.

V2X(Vehicle to Everything)를 통해 외부에서 획득된 주행 환경 정보는 외부 신호 제어기(242)를 통해 대화 시스템(100)에 입력될 수 있다. V2X는 차량이 주행하면서 도로 인프라 및 다른 차량과 상호 통신하면서 교통 상황 등 각종 유용한 정보를 교환 및 공유하는 것을 의미한다. The driving environment information acquired from the outside through V2X (Vehicle to Everything) may be input to the conversation system 100 through the external signal controller 242. V2X means that vehicles can drive and communicate with road infrastructure and other vehicles, exchanging and sharing useful information such as traffic conditions.

V2X 통신은 차량과 인프라 간(V2I: Vehicle-to-Infrastructure, 이하 V2I) 통신, 차량 간(V2V: Vehicle to-Vehicle) 통신, 차량과 모바일 기기 간(V2N: Vehicle-to-Nomadic devices) 통신을 포함할 수 있다. 따라서, V2X 통신을 이용하면, 차량끼리 직접 통신하거나, 또는 거리에 설치되어 있는 인프라와 통신하여 전방의 교통 정보, 다른 차량의 접근 또는 추돌 가능성 등의 정보를 주고 받아 운전자에게 알려줄 수 있다. V2X communication provides vehicle-to-infrastructure (V2I) communications, vehicle-to-vehicle (V2V) communications, and vehicle-to-Nomadic devices (V2N). It may include. Therefore, using the V2X communication, it is possible to directly communicate with each other, or to communicate with the infrastructure installed on the street to send and receive traffic information in front of the vehicle, the possibility of approaching or colliding with other vehicles, and inform the driver.

따라서, 외부 신호 제어기(242)를 통해 대화 시스템(100)에 입력되는 주행 환경 정보는 전방의 교통 정보, 주변 차량의 접근 정보, 다른 차량과의 추돌 경고, 실시간 교통 상황, 돌방 상황, 교통흐름 제어 상태, 날씨 정보 등을 포함할 수 있다.Accordingly, the driving environment information input to the conversation system 100 through the external signal controller 242 may include traffic information in front of the vehicle, access information of surrounding vehicles, collision warning with other vehicles, real time traffic situation, breakout situation, and traffic flow control. State, weather information, and the like.

도면에 도시되어 있지는 않으나, V2X 를 통해 획득하는 신호 역시 통신 장치(280)를 통해 차량(200)에 입력될 수 있다.Although not shown in the drawing, a signal obtained through V2X may also be input to the vehicle 200 through the communication device 280.

차량 제어기(240)는 전술한 동작과 후술하는 동작을 수행하기 위한 프로그램이 저장되는 메모리 및 저장된 프로그램을 실행시키는 프로세서를 포함할 수 있다. 메모리와 프로세서는 각각 적어도 하나 마련될 수 있고, 복수 개 마련되는 경우에는 이들이 하나의 칩 상에 집적될 수도 있고 물리적으로 분리될 수도 있다.The vehicle controller 240 may include a memory for storing a program for performing the above-described operation and the operation described later, and a processor for executing the stored program. At least one memory and a processor may be provided, and in the case of a plurality of processors, they may be integrated on one chip or physically separated.

또한, 내부 신호 제어기(241)와 외부 신호 제어기(242)는 동일한 프로세서 및 메모리에 의해 구현될 수도 있고, 별도의 프로세서 및 메모리에 의해 구현될 수도 있다. In addition, the internal signal controller 241 and the external signal controller 242 may be implemented by the same processor and memory, or may be implemented by separate processors and memory.

도 8 및 도 9는 대화 시스템의 구성 요소와 차량의 구성 요소들 사이의 연결 관계를 간략하게 나타낸 제어 블록도이다. 8 and 9 are control block diagrams schematically illustrating the connection relationship between the components of the dialogue system and the components of the vehicle.

도 8을 참조하면, 음성 입력 장치(210)로부터 전송된 사용자 음성은 입력 처리기(110) 내의 음성 입력 처리기(111)로 입력되고, 음성 외 입력 장치(220)로부터 전송된 사용자의 음성 외 입력은 입력 처리기(110) 내의 상황 정보 처리기(112)로 입력된다. Referring to FIG. 8, the user voice transmitted from the voice input device 210 is input to the voice input processor 111 in the input processor 110, and the non-voice input of the user transmitted from the non-voice input device 220 is input. It is input to the situation information processor 112 in the input processor 110.

또한, 내부 신호 제어기(241)를 통해 입력된 정보 및 외부 신호 제어기(242)를 통해 입력된 정보는 입력 처리기(110) 내의 상황 정보 처리기(112)로 입력된다.In addition, the information input through the internal signal controller 241 and the information input through the external signal controller 242 are input to the situation information processor 112 in the input processor 110.

상황 정보 처리기(112)에 입력되는 상황 정보는 음성 외 입력 장치(220) 및 차량 제어기(240)로부터 입력된 차량 상태 정보, 주행 환경 정보, 사용자 정보 등을 포함한다. 상황 정보 처리기(112)는 입력된 상황 정보에 기초하여 상황을 이해한다. 대화 시스템(100)은 이러한 상황 이해를 통해 사용자의 의도를 더 정확히 파악하거나 현재 사용자에게 필요한 서비스를 효과적으로 찾을 수 있다. The contextual information input to the contextual information processor 112 includes vehicle state information, driving environment information, user information, and the like input from the non-voice input device 220 and the vehicle controller 240. The situation information processor 112 understands the situation based on the input situation information. The conversation system 100 can more accurately grasp the user's intention or effectively find the service required by the current user through understanding the situation.

일 예로, 상황 정보 처리기(112)에 입력되는 상황 정보에는 주행 지속 시간, 주행 거리, 사용자의 수면 상태, 사용자의 바이오리듬 정보, AVN(255)장치의 재생 목록 정보, 재생 음원 정보, 재생 시간 정보, 목적지 정보 등이 해당될 수 있다. For example, the context information input to the context information processor 112 includes a driving duration, a distance traveled, a sleep state of the user, biorhythm information of the user, playlist information of the AVN 255 device, play sound source information, and play time information. Destination information, and the like.

결과 처리기(130)로부터 출력되는 응답은 대화자 출력 장치(230) 또는 차량 제어기(240)에 입력되어 차량(200)으로 하여금 사용자에게 필요한 서비스를 제공할 수 있게 한다. 또는, 외부 컨텐츠 서버(300)에 전송되어 필요한 서비스를 요청할 수 있다.The response output from the result processor 130 is input to the talker output device 230 or the vehicle controller 240 to enable the vehicle 200 to provide the necessary services to the user. Or, it may be transmitted to the external content server 300 to request a necessary service.

차량 제어기(240)로부터 전송되는 차량 상태 정보, 주행 환경 정보, 사용자 정보 등은 저장부(140)에 저장된다.Vehicle state information, driving environment information, and user information transmitted from the vehicle controller 240 are stored in the storage 140.

도 9를 참조하면, 저장부(140)는 장기 메모리(143)와 단기 메모리(144)를 포함할 수 있다. 저장부(140)에 저장되는 데이터는 데이터의 중요성과 영속성 및 설계자의 의도에 따라 단기, 장기 메모리로 구분되어 저장될 수 있다. Referring to FIG. 9, the storage 140 may include a long term memory 143 and a short term memory 144. The data stored in the storage 140 may be divided into short-term and long-term memories according to the importance, durability, and intention of the designer.

단기 메모리(144)는 이전에 수행한 대화를 저장할 수 있다. 이전에 수행한 대화는 현재 시점으로부터 기준 시간 이내에 수행한 대화일 수 있다. 또는, 사용자와 대화 시스템(100) 사이의 발화 내용의 용량이 기준치가 될 때까지 계속 대화가 저장될 수도 있다.Short-term memory 144 may store a previously performed conversation. The previously performed conversation may be a conversation performed within a reference time from the current time point. Alternatively, the conversation may continue to be stored until the capacity of the utterance content between the user and the conversation system 100 becomes a reference value.

일 예로, 현재 시간이 식사 시간인 경우, 차량(200)은 스피커(232)를 통해 식당으로 안내할지 여부를 묻는 발화를 출력할 수 있다. 식사 시간인지 여부는 현재 시간이 식사 시간으로 미리 설정된 시간 범위에 포함하는지 여부에 기초하여 판단할 수 있다. 사용자가 “강남역 근처 식당 알려줘”라고 발화하거나, 사용자가 "식당 알려줘"라고 발화하고 차량(200)의 현재 위치가 강남역 근처인 경우, 대화 시스템(100)은 외부 컨텐츠 서버(300)를 통해 강남역 근처의 식당을 검색하고, 검색된 강남역 근처의 식당에 관한 정보를 사용자에게 제공한다. 정보 제공의 일 예로, 디스플레이(231)에 식당 목록을 표시할 수 있고, 사용자가 "첫 번째"라고 발화하면, 단기 메모리(144)에 식당에 대한 문의부터 선택까지의 대화 내용이 저장될 수 있다.For example, when the current time is a meal time, the vehicle 200 may output a speech asking whether to guide the restaurant through the speaker 232. Whether or not it is a meal time may be determined based on whether the current time is included in a preset time range as a meal time. If the user utters “let me know the restaurant near Gangnam Station” or the user utters “let me know the restaurant” and the current location of the vehicle 200 is near Gangnam Station, the conversation system 100 may be near the Gangnam Station via an external content server 300. Search for restaurants in the city, and provide information on restaurants near the found Gangnam station to the user. As an example of providing information, the list of restaurants may be displayed on the display 231, and when the user utters "first", the conversation contents from the inquiry about the restaurant to the selection may be stored in the short-term memory 144. .

또는, 대화 내용 전체가 저장되는 것뿐만 아니라, 대화 내용에 포함된 특정 정보를 저장하는 것도 가능하다. 예를 들어, 단기 메모리(144) 또는 장기 메모리(143)에 식당 목록 중 첫 번째의 식당을 사용자가 선택한 식당으로 저장하는 것도 가능하다.Alternatively, not only the entire conversation contents may be stored, but also specific information included in the conversation contents may be stored. For example, it is also possible to store the first restaurant in the restaurant list in the short term memory 144 or the long term memory 143 as the restaurant selected by the user.

강남역 근처의 식당에 대한 대화 뒤에 사용자가 대화 시스템(100)에 “날씨는?”이라고 질문하면, 대화 시스템(100)은 단기 메모리(144)에 저장된 대화로부터 사용자의 관심 위치가 강남역인 것을 추정하여 사용자에게 “강남역에는 비가 오고 있습니다.”라는 응답을 출력할 수 있다. After a conversation about a restaurant near the Gangnam station, when the user asks the conversation system 100, “How is the weather?”, The conversation system 100 estimates that the user's location of interest is the Gangnam station from the conversation stored in the short-term memory 144. The user can output the response "Raining in Gangnam Station."

이후에, 사용자가 “그 식당 메뉴 좀 추천해줘.”라고 발화하면, 대화 시스템(100)은 단기 메모리에 저장된 대화로부터 "그 식당"이 강남역 근처 식당인 것으로 추정하고, 외부 컨텐츠 서버(300)로부터 제공되는 서비스를 통해 해당 식당의 추천 메뉴에 대한 정보를 획득하고, “그 식당은 칼국수가 맛있습니다.”와 같은 응답을 출력할 수 있다.Subsequently, when the user utters, "Recommend the restaurant menu.", The conversation system 100 estimates that "the restaurant" is a restaurant near Gangnam station from the conversation stored in the short-term memory, and from the external content server 300 The service can be used to obtain information about the restaurant's recommended menu, and output a response such as, "The restaurant has delicious kalguksu."

장기 메모리(143)는 데이터의 영속성 유무에 따라 데이터를 저장할 수 있다. 예를 들어, 가족이나 친구의 전화 번호, 집이나 회사와 같은 POI 정보, 특정 인자에 대한 사용자의 선호도 등은 데이터의 영속성이 보장되는 것으로 판단하고, 장기 메모리(143)에 저장할 수 있다. 반면, 데이터의 영속성이 보장되지 않는 것으로 판단되는 데이터는 단기 메모리(144)에 저장될 수 있다.The long term memory 143 may store data depending on whether data is persistent. For example, a phone number of a family member or friend, POI information such as a home or a company, a user's preference for a specific factor, and the like may be determined to ensure data permanence, and may be stored in the long-term memory 143. On the other hand, data that is determined to not be durable may be stored in the short term memory 144.

일 예로, 사용자의 현재 위치는 일시적인 데이터이므로 단기 메모리(144)에 저장될 수 있고, 식당에 대한 사용자의 선호도는 이후에도 사용 가능한 영속적인 데이터로 볼 수 있으므로 장기 메모리(144)에 저장될 수 있다.For example, since the user's current location is temporary data, the user's current location may be stored in the short-term memory 144, and the user's preference for the restaurant may be stored in the long-term memory 144 since the user's preference for the restaurant may be viewed as available data.

사용자가 “근처에 식당 없나?”라고 발화하면, 대화 시스템(100)은 단기 메모리(144)로부터 사용자의 현재 위치를 파악하고 장기 메모리(143)로부터 사용자가 선호하는 식당이 중식당이라는 것을 파악할 수 있다. 따라서, 외부 컨텐츠를 이용하여 현재 위치 주변에서 사용자가 선호하는 중식당 목록을 추천해 줄 수 있다.When the user speaks, "Is there no restaurant nearby?", The conversation system 100 can determine the user's current location from the short-term memory 144 and the user's preferred restaurant from the long-term memory 143. . Therefore, the user can recommend a list of preferred restaurants around the current location using the external content.

또한, 장기 메모리(143)는 상황 정보 처리기(112)가 획득한 차량 상태 정보, 주행 환경 정보 및 사용자 정보를 저장할 수 있다. 예를 들어, 장기 메모리(143)는 주행 지속 시간, 주행 거리, 사용자의 수면 상태, 사용자의 바이오리듬 정보, AVN(255)장치의 재생 목록 정보, 재생 음원 정보, 재생 시간 정보, 목적지 정보 등을 저장할 수 있다. In addition, the long term memory 143 may store the vehicle state information, the driving environment information, and the user information acquired by the situation information processor 112. For example, the long-term memory 143 may include driving duration, driving distance, sleep state of the user, biorhythm information of the user, playlist information of the AVN 255 device, playback sound source information, playback time information, destination information, and the like. Can be stored.

또한, 대화 시스템(100)은 장기 메모리(143)와 단기 메모리(144)에 저장된 데이터를 이용하여 사용자에게 선제적으로 서비스나 정보를 제공해줄 수 있다.In addition, the conversation system 100 may preemptively provide a service or information to a user by using data stored in the long term memory 143 and the short term memory 144.

예를 들어, 장기 메모리(143)에 사용자의 집에 대한 정보가 저장될 수 있다. 대화 시스템(100)은 외부 컨텐츠 서버(300)로부터 사용자의 집과 관련된 정보를 획득하여, 사용자에게 “이번 주 금요일 아파트 단지 청소로 단수 예정입니다.”라는 정보를 제공해줄 수 있다. For example, information about a user's home may be stored in the long term memory 143. The conversation system 100 may obtain information related to the user's house from the external content server 300, and provide the user with the information, "I am planning to clean the apartment complex this Friday."

또는, 단기 메모리(144)에 차량의 배터리 상태에 대한 정보가 저장될 수 있다. 대화 시스템(100)은 단기 메모리(1440)에 저장된 차량의 배터리 상태를 분석하여 “차량의 배터리 상태가 좋지 않습니다. 겨울이 되기 전에 수리를 받으세요.”라는 정보를 제공해 줄 수 있다.Alternatively, information about the battery state of the vehicle may be stored in the short term memory 144. The conversation system (100) analyzes the vehicle's battery status stored in the short-term memory (1440) and says, “The vehicle's battery status is not good. Have it repaired before winter. ”

다른 예로, 장기 메모리(143)에 사용자의 바이오리듬 및 수면 상태에 대한 정보가 저장될 수 있다. 대화 시스템(100)은 외부 컨텐츠 서버(300) 및 외부 기기로부터 사용자의 바이오리듬 및 수면과 관련된 정보를 획득하여, 사용자에게 "최근에 수면이 부족하네요. 걱정이 있으신가요?"라는 질의 서비스를 제공해 줄 수 있다. As another example, information about the biorhythm and the sleep state of the user may be stored in the long term memory 143. The conversation system 100 obtains information related to the user's biorhythm and sleep from the external content server 300 and the external device, and provides the user with a query service, "I'm not enough sleep recently. Are you worried?" Can give

다른 예로, 장기 메모리(143)에 평소 사용자의 음성에 대한 톤 분석값이 저장될 수 있다. 대화 시스템(100)은 사용자의 음성에 대한 톤 분석값이 평소 사용자의 음성에 대한 톤 분석값보다 미리 정해진 값 이상 차이가 나는 경우, 사용자에게 "목소리가 밝지 않으시네요. 기분이 안좋으신가요?"라는 질의 서비스를 제공해 줄 수 있다.도 10은 대화 시스템이 차량에 마련되는 차량 단독 방식에 대한 제어 블록도이다. As another example, the tone analysis value of the user's voice may be stored in the long term memory 143. When the tone analysis value of the user's voice differs from the tone analysis value of the user's voice by more than a predetermined value, the dialog system 100 asks the user, "Your voice is not bright. Do you feel bad?" 10 is a control block diagram of a vehicle-only method in which a conversation system is provided in a vehicle.

차량 단독 방식에서는 도 10에 도시된 바와 같이, 입력 처리기(110), 대화 관리기(120), 결과 처리기(130) 및 저장부(140)를 포함하는 대화 시스템(100)이 차량(200)에 포함될 수 있다. In the vehicle only method, as illustrated in FIG. 10, the vehicle 200 includes a conversation system 100 including an input processor 110, a conversation manager 120, a result processor 130, and a storage 140. Can be.

대화 시스템(100)이 차량(200)에 포함되면, 차량(200)이 자체적으로 사용자와의 대화를 처리하고 사용자에게 필요한 서비스를 제공해줄 수 있다. 다만, 대화 처리 및 서비스 제공을 위해 필요한 정보는 외부 컨텐츠 서버(300)로부터 가져올 수 있다.When the conversation system 100 is included in the vehicle 200, the vehicle 200 may process a conversation with the user by itself and provide a service necessary for the user. However, information necessary for processing a conversation and providing a service may be obtained from an external content server 300.

차량 감지부(260)가 감지한 잔유량, 강우량, 강우 속도, 주변 장애물 정보, 타이어 공기압, 현재 위치, 엔진 온도, 차량 속도, 재생되는 음원 정보, 음원 재생 시간 등과 같은 차량 상태 정보 또는 목적지 정보, 도로 상황 정보 등과 같은 주행 환경 정보는 차량 제어기(240)를 통해 대화 시스템(100)에 입력된다. Vehicle status information or destination information such as residual flow amount, rainfall, rainfall speed, surrounding obstacle information, tire pressure, current position, engine temperature, vehicle speed, reproduced sound source information, sound source playback time, road detected by vehicle detector 260 Driving environment information such as situation information is input to the conversation system 100 through the vehicle controller 240.

또한, 차량 제어기(240)는 대화 시스템(100)이 출력한 응답에 따라 차량(200)에 마련된 공조 장치(251), 윈도우(252), 도어(253), 시트(254) 또는 AVN(255) 등을 제어할 수 있다.In addition, the vehicle controller 240 may control the air conditioner 251, the window 252, the door 253, the seat 254, or the AVN 255 provided in the vehicle 200 according to the response output by the dialogue system 100. Etc. can be controlled.

예를 들어, 대화 시스템(100)이 사용자의 의도 또는 사용자에게 필요한 서비스가 차량(200) 내부의 온도를 낮추는 것이라고 판단하고, 이에 대응되는 명령어를 생성하여 출력하면, 차량 제어기(240)가 공조 장치(251)를 제어하여 차량(200) 내부의 온도를 낮출 수 있다.For example, when the conversation system 100 determines that a user's intention or a service required by the user lowers the temperature inside the vehicle 200, and generates and outputs a command corresponding thereto, the vehicle controller 240 controls the air conditioning apparatus. The temperature inside the vehicle 200 may be lowered by controlling 251.

다른 예로, 대화 시스템(100)이 사용자의 의도 또는 사용자에게 필요한 서비스가 운전석 윈도우(252a)를 올리는 것이라고 판단하고, 이에 대응되는 명령어를 생성하여 출력하면, 차량 제어기(240)가 윈도우(252)를 제어하여 운전석 윈도우(252a)를 올릴 수 있다. As another example, when the conversation system 100 determines that the user's intention or the service required by the user raises the driver's seat window 252a, and generates and outputs a command corresponding thereto, the vehicle controller 240 opens the window 252. The driver's seat window 252a can be raised by controlling.

또 다른 예로, 대화 시스템(100)이 사용자의 의도에 대응되는 서비스 또는 사용자에게 필요한 서비스가 특정 목적지로의 경로 안내라고 판단하고, 이에 대응되는 명령어를 생성하여 출력하면, 차량 제어기(240)가 AVN(255)을 제어하여 경로 안내를 수행할 수 있다. 필요한 경우, 통신 장치(280)가 외부 컨텐츠 서버(300)로부터 지도 데이터, POI 정보 등을 가져와 서비스 제공에 이용할 수 있다. As another example, when the conversation system 100 determines that a service corresponding to a user's intention or a service required by the user is a route guidance to a specific destination, and generates and outputs a command corresponding thereto, the vehicle controller 240 displays the AVN. Route control may be performed by controlling 255. If necessary, the communication device 280 may obtain map data, POI information, and the like from the external content server 300 and use the same to provide a service.

또 다른 예로, 대화 시스템(100)이 사용자가 우울 상태에 있는 것으로 판단한 경우, 사용자의 의도에 대응되는 서비스 또는 사용자에게 필요한 서비스가 위로 제공이라고 판단하고, 이에 대응되는 음원을 재생하는 명령어를 생성하여 출력하면, 차량 제어기(240)가 AVN(255)을 제어하여 해당 음원을 재생할 수 있다. 필요한 경우, 통신 장치(280)가 외부 컨텐츠 서버(300)로부터 음원 등을 가져와 서비스 제공에 이용할 수 있다. As another example, when the conversation system 100 determines that the user is in a depressed state, it is determined that a service corresponding to the user's intention or a service required by the user is provided upward, and generates a command to play a corresponding sound source. When output, the vehicle controller 240 may control the AVN 255 to reproduce the sound source. If necessary, the communication device 280 may obtain a sound source or the like from the external content server 300 and use it to provide a service.

또 다른 예로, 대화 시스템(100)이 사용자가 우울 상태에 있는 것으로 판단한 경우, 사용자에게 맑은 공기가 필요한 것으로 판단하면, 차량 제어기(240)가 윈도우(252)를 제어하여 환기를 유도하거나 공조 장치(251)를 제어하여 차량(200) 내부의 온도를 낮추거나, 외기모드로 변환하도록 할 수 있다.As another example, when the conversation system 100 determines that the user is in a depressed state, when the user determines that the user needs fresh air, the vehicle controller 240 controls the window 252 to induce ventilation or to provide an air conditioning device ( 251 may be controlled to lower the temperature inside the vehicle 200 or to convert to the outdoor mode.

또 다른 예로, 대화 시스템(100)이 사용자가 우울 상태, 위험 상황에 있는 것으로 판단한 경우, 사용자에게 자율 주행 기능 사용이 필요한 것으로 판단하며, 자율 주행 기능을 안내하는 명령어를 생성하여 출력하고, 차량 제어기(240)가 AVN(255)을 제어하여 자율 주행 기능을 표시할 수 있다.As another example, when the conversation system 100 determines that the user is in a depressed state or a dangerous situation, the dialog system 100 determines that the user needs to use the autonomous driving function, generates and outputs a command for guiding the autonomous driving function, and outputs the vehicle controller. The 240 may control the AVN 255 to display the autonomous driving function.

도 11 및 도 12는 대화 시스템이 원격 서버에 마련되고 차량이 사용자와 대화 시스템을 연결하는 게이트웨이의 역할만 하는 차량 게이트웨이 방식에 대한 제어 블록도이다.11 and 12 are control block diagrams for a vehicle gateway method in which a conversation system is provided in a remote server and the vehicle serves only as a gateway connecting the user and the conversation system.

차량 게이트웨이 방식에서는 도 11에 도시된 바와 같이, 차량(200) 외부에 원격 대화 시스템 서버(1)가 마련되고, 차량(200)에는 원격 대화 시스템 서버(1)와 통신 장치(280)를 통해 연결되는 대화 시스템 클라이언트(270)가 마련된다. 통신 장치(280)가 차량(200)과 원격 대화 시스템 서버(1)를 연결하는 게이트웨이의 역할을 수행한다.In the vehicle gateway method, as shown in FIG. 11, a remote conversation system server 1 is provided outside the vehicle 200, and the vehicle 200 is connected to the remote conversation system server 1 through a communication device 280. Conversation system client 270 is provided. The communication device 280 serves as a gateway connecting the vehicle 200 and the remote conversation system server 1.

대화 시스템 클라이언트(270)는 입출력 장치와 연결된 인터페이스로써 기능하며, 데이터 수집과 송수신을 수행할 수 있다.The conversation system client 270 functions as an interface connected to an input / output device, and may perform data collection and transmission and reception.

차량(200)에 마련된 음성 입력 장치(210)와 음성 외 입력 장치(220)가 사용자 입력을 수신하고 대화 시스템 클라이언트(270)에 전달하면, 대화 시스템 클라이언트(270)가 통신 장치(280)를 통해 원격 대화 시스템 서버(1)로 입력 데이터를 전송할 수 있다. When the voice input device 210 and the non-voice input device 220 provided in the vehicle 200 receive a user input and transmit the user input to the chat system client 270, the chat system client 270 communicates through the communication device 280. The input data can be sent to the remote conversation system server 1.

차량 제어기(240) 역시 차량 감지부(260)에서 감지한 데이터를 대화 시스템 클라이언트(270)에 전달할 수 있고, 대화 시스템 클라이언트(270)가 통신 장치(280)를 통해 원격 대화 시스템 서버(1)로 차량 감지부(260)에서 감지한 데이터를 전송할 수 있다. The vehicle controller 240 may also transmit data sensed by the vehicle detection unit 260 to the conversation system client 270, and the conversation system client 270 may communicate with the remote conversation system server 1 through the communication device 280. The data detected by the vehicle detector 260 may be transmitted.

원격 대화 시스템 서버(1)에는 전술한 대화 시스템(100)이 마련되어 입력 데이터의 처리, 입력 데이터의 처리 결과를 바탕으로 한 대화 처리 및 대화 처리 결과에 기초한 결과 처리를 모두 수행할 수 있다. The remote conversation system server 1 may be provided with the above-described conversation system 100 to perform both input data processing, dialog processing based on the processing result of the input data, and result processing based on the conversation processing result.

또한, 원격 대화 시스템 서버(1)는 입력 데이터의 처리, 대화 관리 또는 결과 처리에 있어 필요한 정보나 컨텐츠를 외부 컨텐츠 서버(300)로부터 가져올 수 있다.In addition, the remote chat system server 1 may import information or content necessary for processing input data, chat management, or result processing from the external content server 300.

차량(200) 역시 원격 대화 시스템 서버(1)로부터 전송되는 응답에 따라 사용자에게 필요한 서비스를 제공하기 위해 필요한 컨텐츠를 외부 컨텐츠 서버(300)로부터 가져올 수 있다.The vehicle 200 may also import content required to provide a service required by the user from the external content server 300 according to a response transmitted from the remote conversation system server 1.

도 12를 참조하면, 통신 장치(280)는 외부 장치와 통신을 가능하게 하는 하나 이상의 통신 모듈을 포함할 수 있으며, 예를 들어 근거리 통신 모듈(281), 유선 통신 모듈(282) 및 무선 통신 모듈(283)를 포함할 수 있다.Referring to FIG. 12, the communication device 280 may include one or more communication modules that enable communication with an external device, for example, a short range communication module 281, a wired communication module 282, and a wireless communication module. (283).

근거리 통신 모듈(281)은 블루투스 모듈, 적외선 통신 모듈, RFID(Radio Frequency Identification) 통신 모듈, WLAN(Wireless Local Access Network) 통신 모듈, NFC 통신 모듈, 직비(Zigbee) 통신 모듈 등 근거리에서 무선 통신망을 이용하여 신호를 송수신하는 다양한 근거리 통신 모듈 중 적어도 하나를 포함할 수 있다.The short range communication module 281 uses a wireless communication network in a short distance such as a Bluetooth module, an infrared communication module, a radio frequency identification (RFID) communication module, a wireless local access network (WLAN) communication module, an NFC communication module, and a Zigbee communication module. It may include at least one of a variety of short-range communication module for transmitting and receiving a signal.

유선 통신 모듈(282)은 지역 통신(Local Area Network; LAN) 모듈, 광역 통신(Wide Area Network; WAN) 모듈 또는 부가가치 통신(Value Added Network; VAN) 모듈 등 다양한 유선 통신 모듈뿐만 아니라, USB(Universal Serial Bus), HDMI(High Definition Multimedia Interface), DVI(Digital Visual Interface), RS-232(recommended standard232), 전력선 통신, 또는 POTS(plain old telephone service) 등 다양한 케이블 통신 모듈 중 적어도 하나를 포함할 수 있다. The wired communication module 282 may be connected to a variety of wired communication modules such as a local area network (LAN) module, a wide area network (WAN) module, or a value added network (VAN) module, as well as universal USB. It may include at least one of various cable communication modules such as a serial bus (HDMI), high definition multimedia interface (HDMI), digital visual interface (DVI), reduced standard232 (RS-232), power line communication, or plain old telephone service (POTS). have.

무선 통신 모듈(283)은 와이파이(Wifi) 모듈, 와이브로(Wireless broadband) 모듈 외에도, GSM(Global System for Mobile Communication), CDMA(Code Division Multiple Access), WCDMA(Wideband Code Division Multiple Access), UMTS(Universal Mobile Telecommunications System), TDMA(Time Division Multiple Access), LTE(Long Term Evolution), 4G, 5G 등 무선 통신 방식으로 인터넷망과 연결될 수 있는 다양한 무선 통신 모듈 중 적어도 하나를 포함할 수 있다.The wireless communication module 283 includes a Wi-Fi module and a wireless broadband module, as well as a global system for mobile communication (GSM), code division multiple access (CDMA), wideband code division multiple access (WCDMA), and universal communication system (UMTS). It may include at least one of a variety of wireless communication modules that can be connected to the Internet network in a wireless communication scheme such as Mobile Telecommunications System (TDMA), Time Division Multiple Access (TDMA), Long Term Evolution (LTE), 4G, 5G.

한편, 통신 장치(280)는 차량(200) 내부의 전자 장치들 사이의 통신을 위한 내부 통신 모듈(미도시)을 더 포함할 수도 있다. 차량(200)의 내부 통신 프로토콜로는 CAN(Controller Area Network), LIN(Local Interconnection Network), 플렉스레이(FlexRay), 이더넷(Ethernet) 등을 사용할 수 있다. Meanwhile, the communication device 280 may further include an internal communication module (not shown) for communication between electronic devices inside the vehicle 200. As an internal communication protocol of the vehicle 200, a controller area network (CAN), a local interconnection network (LIN), a flexray, an Ethernet, or the like may be used.

대화 시스템(100)은 무선 통신 모듈(283)을 이용하여 외부 컨텐츠 서버(300) 또는 원격 대화 시스템 서버(1)와 데이터를 주고 받을 수 있다. 또한, 무선 통신 모듈(283)을 이용하여V2X 통신을 수행할 수 있다. 또한, 근거리 통신 모듈(281) 또는 유선 통신 모듈(282)을 이용하여 차량(200)에 연결되는 모바일 기기와 데이터를 주고 받을 수 있다. The conversation system 100 may exchange data with the external content server 300 or the remote conversation system server 1 using the wireless communication module 283. In addition, V2X communication may be performed using the wireless communication module 283. In addition, the local area communication module 281 or the wired communication module 282 may exchange data with a mobile device connected to the vehicle 200.

도 13은 차량 게이트웨이 방식에서 차량이 입력 처리와 출력 처리를 일부 수행할 수 있는 경우에 대한 제어 블록도이다.FIG. 13 is a control block diagram of a case in which a vehicle may perform some input processing and output processing in a vehicle gateway method.

전술한 바와 같이, 차량(200)의 대화 시스템 클라이언트(270)가 데이터의 수집 및 송수신의 기능만 수행하는 것도 가능하나, 도 13에 도시된 바와 같이, 대화 시스템 클라이언트(270)에 입력 처리기(271), 결과 처리기(273) 및 저장부(274)가 포함되어, 사용자나 차량으로부터 입력되는 데이터의 처리나 사용자에게 필요한 것으로 판단된 서비스 제공과 관련된 처리를 차량(200)에서도 수행하는 것이 가능하다. 즉, 입력 처리기(110)와 결과 처리기(130)의 동작을 원격 대화 시스템 서버(1)뿐만 아니라 차량(200)에서도 수행할 수 있다. As described above, the conversation system client 270 of the vehicle 200 may perform only the functions of collecting and transmitting data, but as shown in FIG. 13, an input processor 271 is input to the conversation system client 270. ), The result processor 273 and the storage unit 274 may be included, and the vehicle 200 may perform processing related to the processing of data input from the user or the vehicle or the provision of a service determined to be necessary for the user. That is, the operations of the input processor 110 and the result processor 130 may be performed in the vehicle 200 as well as the remote conversation system server 1.

이 경우, 전술한 입력 처리기(110)의 동작을 대화 시스템 클라이언트(270)가 일부만 수행하는 것도 가능하고 전부 수행하는 것도 가능하다. 또한, 전술한 결과 처리기(130)의 동작을 대화 시스템 클라이언트(270)가 일부만 수행하는 것도 가능하고 전부 수행하는 것도 가능하다.In this case, the above-described operation of the input processor 110 may be performed by the chat system client 270 only partially or entirely. In addition, the conversation system client 270 may perform only part of the operation of the processor 130 as described above, or may perform all of the operations.

처리해야 할 데이터의 용량 및 데이터 처리 속도 등을 고려하여 원격 대화 시스템 서버(1)와 대화 시스템 클라이언트(270) 사이의 태스크 분담을 결정할 수 있다. The task sharing between the remote conversation system server 1 and the conversation system client 270 may be determined in consideration of the capacity of the data to be processed, the data processing speed, and the like.

도 14는 원격 대화 시스템 서버와 차량이 모두 대화 처리를 수행할 수 있는 하이브리드 방식에 대한 제어 블록도이다.FIG. 14 is a control block diagram of a hybrid scheme in which both a remote conversation system server and a vehicle can perform conversation processing.

하이브리드 방식에서는 도 14에 도시된 바와 같이, 원격 대화 시스템 서버(1)에도 입력 처리기(110), 대화 관리기(120), 결과 처리기(130) 및 저장부(140)가 마련되어 대화 처리를 수행할 수 있고, 차량(200)에도 입력 처리기(291), 대화 관리기(292), 결과 처리기(293) 및 저장부(294)를 포함하는 단말 대화 시스템(290)이 마련되어 대화 처리를 수행할 수 있다. In the hybrid method, as illustrated in FIG. 14, an input processor 110, a conversation manager 120, a result processor 130, and a storage 140 may also be provided in the remote conversation system server 1 to perform conversation processing. In addition, the vehicle 200 may also be provided with a terminal conversation system 290 including an input processor 291, a conversation manager 292, a result processor 293, and a storage 294.

다만, 차량(200)에 마련된 프로세서나 메모리는 원격 대화 시스템 서버(1)에 마련된 프로세서나 메모리와 용량이나 성능 측면에서 차이가 있을 수 있다. 따라서, 단말 대화 시스템(290)에서 모든 입력 데이터를 처리하고 대화를 관리하여 결과를 출력할 수 있는 경우에는 단말 대화 시스템(290)에서 전 과정을 수행하고, 그렇지 않은 경우에는 원격 대화 시스템 서버(1)에 처리를 요청할 수 있다. However, the processor or memory provided in the vehicle 200 may have a difference in capacity or performance from the processor or memory provided in the remote conversation system server 1. Therefore, if the terminal conversation system 290 can process all input data and manage the conversation and output the result, the terminal conversation system 290 performs the whole process, otherwise the remote conversation system server 1 ) Can be processed.

단말 대화 시스템(290)에서 대화 처리를 수행하기 전에, 입력 데이터의 종류에 기초하여 단말 대화 시스템(290)의 처리 가부를 판단하고, 판단 결과에 따라 직접 처리하거나 원격 대화 시스템 서버(1)에 처리를 요청할 수 있다.Before performing the conversation processing in the terminal conversation system 290, it is determined whether the terminal conversation system 290 is processed based on the type of input data, and is directly processed or processed by the remote conversation system server 1 according to the determination result. You can request

또는, 단말 대화 시스템(290)이 대화 처리를 수행하다가 처리가 불가능한 상황이 발생하였을 때, 원격 대화 시스템 서버(1)에 처리를 요청하면서 자신이 처리한 결과를 함께 전송하는 것도 가능하다. Alternatively, when a situation in which the terminal conversation system 290 is unable to process a conversation while performing a conversation process, the terminal conversation system 290 may transmit the result of the processing together while requesting the process to the remote conversation system server 1.

예를 들어, 고성능의 컴퓨팅 파워, 장기간 데이터의 처리가 필요한 경우는 원격 대화 시스템 서버(1)에서 처리하고, 실시간으로 처리해야 하는 것은 단말 대화 시스템(290)에서 처리할 수 있다. 예를 들어, 즉시 처리가 필요한 인스턴스가 발생하여 동기화 이전 데이터를 처리해야 하는 경우에는 단말 대화 시스템(290)에서 우선적으로 처리되도록 설정할 수 있다. For example, when the high performance computing power and the long-term data processing are required, the remote conversation system server 1 may process, and the terminal conversation system 290 may process what should be processed in real time. For example, when an instance requiring immediate processing occurs and needs to process data before synchronization, the terminal conversation system 290 may be set to be preferentially processed.

또한, 차량 내 미등록 발화자가 있어 사용자 확인이 필요한 경우에는 원격 대화 시스템 서버(1)에서 대화를 처리하도록 할 수 있다. In addition, when there is an unregistered talker in the vehicle and needs to confirm the user, the remote conversation system server 1 may process the conversation.

또한, 통신 장치(280)를 통해 원격 대화 시스템 서버(1)와 연결이 불가능한 상황에서 단말 대화 시스템(290)이 자체적으로 대화 처리를 완료할 수 없는 경우에는, 대화자 출력 장치(230)를 통해 사용자에게 대화 처리가 수행될 수 없음을 안내할 수 있다. In addition, when the terminal conversation system 290 cannot complete the conversation process by itself in a situation where it is impossible to connect with the remote conversation system server 1 through the communication device 280, the user through the speaker output device 230. It may be informed that the conversation process cannot be performed.

단말 대화 시스템(290)에 저장되는 데이터와 원격 대화 시스템 서버(1)에 저장되는 데이터는 데이터의 용량이나 데이터의 종류와 같은 기준에 따라 결정될 수 있다. 예를 들어, 개인 식별이 가능하여 프라이버시 침해 우려가 있는 데이터의 경우에는 단말 대화 시스템(290)의 저장부(294)에 저장할 수 있다. 또한, 대용량의 데이터는 원격 대화 시스템 서버(1)의 저장부(140)에 저장하고, 소용량의 데이터는 단말 대화 시스템(290)의 저장부(294)에 저장할 수 있다. 또는, 소용량의 데이터가 원격 대화 시스템 서버(1)의 저장부(140)와 단말 대화 시스템(290)의 저장부(294) 양쪽에 모두 저장되는 것도 가능하다.Data stored in the terminal conversation system 290 and data stored in the remote conversation system server 1 may be determined according to criteria such as the capacity of the data or the type of the data. For example, data that may be personally identified and may cause privacy infringement may be stored in the storage unit 294 of the terminal conversation system 290. In addition, a large amount of data may be stored in the storage 140 of the remote conversation system server 1, and a small amount of data may be stored in the storage 294 of the terminal conversation system 290. Alternatively, a small amount of data may be stored in both the storage 140 of the remote conversation system server 1 and the storage 294 of the terminal conversation system 290.

도 15및 도 16은 차량에 연결된 모바일 기기가 사용자와 원격 대화 시스템 서버를 연결하는 모바일 게이트웨이 방식에 대한 제어 블록도이다.15 and 16 are control block diagrams of a mobile gateway method in which a mobile device connected to a vehicle connects a user with a remote conversation system server.

모바일 게이트웨이 방식에서는 도 15에 도시된 바와 같이, 모바일 기기(400)가 차량(200)으로부터 차량 상태 정보, 주행 환경 정보 등을 수신하고, 사용자 입력과 차량 상태 정보를 원격 대화 시스템 서버(1)로 전송한다. 즉, 모바일 기기(400)가 사용자와 원격 대화 시스템 서버(1) 또는 차량(200)와 원격 대화 시스템 서버(1)를 연결하는 게이트웨이의 역할을 수행한다.In the mobile gateway method, as illustrated in FIG. 15, the mobile device 400 receives vehicle state information, driving environment information, and the like from the vehicle 200, and transmits user input and vehicle state information to the remote conversation system server 1. send. That is, the mobile device 400 serves as a gateway connecting the user with the remote conversation system server 1 or the vehicle 200 and the remote conversation system server 1.

모바일 기기(400)는 스마트 폰, 스마트 워치, 스마트 글래스, PDA, 태플릿 PC 등과 같이 휴대가 가능하며 외부 서버 및 차량과 통신하여 데이터를 주고 받을 수 있는 전자 기기일 수 있다.The mobile device 400 may be an electronic device that is portable such as a smart phone, a smart watch, a smart glass, a PDA, a tablet PC, and the like, and communicates with an external server and a vehicle to exchange data.

모바일 기기(400)는 사용자 음성을 입력 받는 음성 입력 장치(410), 사용자의 음성 외 입력을 수신하는 음성 외 입력 장치(420), 시각적, 청각적 또는 촉각적으로 응답을 출력하는 출력 장치(430), 원격 대화 시스템 서버(1) 및 차량(200)과 통신하여 데이터를 송수신하는 통신 장치(480) 및 차량(200)과 사용자로부터 입력 데이터를 수집하여 통신 장치(480)를 통해 원격 대화 시스템 서버(1)로 전송하는 대화 시스템 클라이언트(470)를 포함한다.The mobile device 400 may include a voice input device 410 that receives a user voice, a non-voice input device 420 that receives a user's non-speech input, and an output device 430 that outputs a response visually, audibly, or tactilely. ), A communication device 480 that communicates with the remote conversation system server 1 and the vehicle 200 to transmit and receive data, and collects input data from the vehicle 200 and a user to communicate with the remote conversation system server through the communication device 480. (1) includes a conversation system client 470 to transmit.

음성 입력 장치(410)는 음향을 입력 받아 전기적인 신호로 변환하여 출력하는 마이크로폰을 포함할 수 있다.The voice input device 410 may include a microphone that receives sound and converts the sound into an electrical signal.

음성 외 입력 장치(420)는 모바일 기기(400)에 마련된 입력 버튼, 터치 스크린 또는 카메라를 포함할 수 있다.The non-voice input device 420 may include an input button, a touch screen, or a camera provided in the mobile device 400.

출력 장치(430)는 모바일 기기(400)에 마련된 디스플레이, 스피커 또는 진동기를 포함할 수 있다.The output device 430 may include a display, a speaker, or a vibrator provided in the mobile device 400.

사용자에 대한 입출력 인터페이스로 모바일 기기(400)에 마련된 음성 입력 장치(410), 음성 외 입력 장치(420) 및 출력 장치(430)를 이용하는 것뿐만 아니라, 차량(200)에 마련된 음성 입력 장치(210), 음성 외 입력 장치(220) 및 대화자 출력 장치(230)를 이용하는 것도 가능하다. In addition to using the voice input device 410, the non-voice input device 420, and the output device 430 provided in the mobile device 400 as an input / output interface for a user, the voice input device 210 provided in the vehicle 200 is provided. ), The non-voice input device 220 and the speaker output device 230 may be used.

차량(200)이 차량 감지부(260)가 감지한 데이터와 사용자 입력을 모바일 기기(400)에 전달하면, 모바일 기기(400)의 대화 시스템 클라이언트(470)가 이를 원격 대화 시스템 서버(1)로 전송한다. When the vehicle 200 transmits the data and the user input detected by the vehicle detecting unit 260 to the mobile device 400, the chat system client 470 of the mobile device 400 sends the data to the remote chat system server 1. send.

또한, 대화 시스템 클라이언트(470)는 원격 대화 시스템 서버(1)로부터 전송되는 응답이나 명령어를 차량(200)에 전달할 수 있다. 사용자에 대한 입출력 인터페이스로 차량(200)에 마련된 대화자 출력 장치(230)를 이용하는 경우에는, 대화자 출력 장치(230)를 통해 대화 시스템(100)의 발화를 출력하거나, 사용자의 발화에 대한 응답을 출력할 수 있다. 모바일 기기(400)에 마련된 출력 장치(430)를 이용하는 경우에는, 모바일 기기(400)의 출력 장치(430)를 통해 대화 시스템(100)의 발화를 출력하거나, 사용자의 발화에 대한 응답을 출력할 수 있다.In addition, the chat system client 470 may transmit a response or a command transmitted from the remote chat system server 1 to the vehicle 200. When using the dialogue output device 230 provided in the vehicle 200 as an input / output interface to the user, the dialogue output device 230 outputs the speech of the dialogue system 100 or outputs a response to the speech of the user. can do. When the output device 430 provided in the mobile device 400 is used, the speech of the conversation system 100 may be output through the output device 430 of the mobile device 400, or a response to the user's speech may be output. Can be.

차량 제어를 위한 명령어는 차량(200)에 전달되고, 차량 제어기(240)는 전달된 명령어에 대응되는 제어를 수행하여 사용자에게 필요한 서비스를 제공할 수 있다. The command for controlling the vehicle is transmitted to the vehicle 200, and the vehicle controller 240 may provide a service necessary for the user by performing a control corresponding to the transmitted command.

한편, 대화 시스템 클라이언트(470)는 입력 데이터를 수집하여 원격 대화 시스템 서버(1)로 전달하는 것뿐만 아니라, 대화 시스템(100)의 입력 처리기(110) 및 결과 처리기(130)의 기능을 일부 또는 전부 수행하는 것도 가능하다. On the other hand, the conversation system client 470 not only collects and transmits input data to the remote conversation system server 1, but also performs some or all of the functions of the input processor 110 and the result processor 130 of the conversation system 100. It is also possible to do it all.

도 16을 참조하면, 모바일 기기(400)의 통신 장치(480)는 외부 장치와 통신을 가능하게 하는 하나 이상의 통신 모듈을 포함할 수 있으며, 예를 들어 근거리 통신 모듈(481), 유선 통신 모듈(482) 및 무선 통신 모듈(483)를 포함할 수 있다.Referring to FIG. 16, the communication device 480 of the mobile device 400 may include one or more communication modules that enable communication with an external device, for example, a short range communication module 481 and a wired communication module ( 482 and wireless communication module 483.

근거리 통신 모듈(481)은 블루투스 모듈, 적외선 통신 모듈, RFID(Radio Frequency Identification) 통신 모듈, WLAN(Wireless Local Access Network) 통신 모듈, NFC 통신 모듈, 직비(Zigbee) 통신 모듈 등 근거리에서 무선 통신망을 이용하여 신호를 송수신하는 다양한 근거리 통신 모듈 중 적어도 하나를 포함할 수 있다.The short range communication module 481 uses a wireless communication network at a short distance such as a Bluetooth module, an infrared communication module, a radio frequency identification (RFID) communication module, a wireless local access network (WLAN) communication module, an NFC communication module, and a Zigbee communication module. It may include at least one of a variety of short-range communication module for transmitting and receiving a signal.

유선 통신 모듈(482)은 지역 통신(Local Area Network; LAN) 모듈, 광역 통신(Wide Area Network; WAN) 모듈 또는 부가가치 통신(Value Added Network; VAN) 모듈 등 다양한 유선 통신 모듈뿐만 아니라, USB(Universal Serial Bus), HDMI(High Definition Multimedia Interface), DVI(Digital Visual Interface), RS-232(recommended standard232), 전력선 통신, 또는 POTS(plain old telephone service) 등 다양한 케이블 통신 모듈 중 적어도 하나를 포함할 수 있다. The wired communication module 482 may be connected to a variety of wired communication modules such as a local area network (LAN) module, a wide area network (WAN) module, or a value added network (VAN) module, as well as universal USB. It may include at least one of various cable communication modules such as a serial bus (HDMI), high definition multimedia interface (HDMI), digital visual interface (DVI), reduced standard232 (RS-232), power line communication, or plain old telephone service (POTS). have.

무선 통신 모듈(483)은 와이파이(Wifi) 모듈, 와이브로(Wireless broadband) 모듈 외에도, GSM(Global System for Mobile Communication), CDMA(Code Division Multiple Access), WCDMA(Wideband Code Division Multiple Access), UMTS(Universal Mobile Telecommunications System), TDMA(Time Division Multiple Access), LTE(Long Term Evolution), 4G, 5G 등 무선 통신 방식으로 인터넷망과 연결될 수 있는 다양한 무선 통신 모듈 중 적어도 하나를 포함할 수 있다.The wireless communication module 483 includes a Wi-Fi module and a wireless broadband module, as well as a Global System for Mobile Communication (GSM), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), and UMTS (Universal). It may include at least one of a variety of wireless communication modules that can be connected to the Internet network in a wireless communication scheme such as Mobile Telecommunications System (TDMA), Time Division Multiple Access (TDMA), Long Term Evolution (LTE), 4G, 5G.

예를 들어, 모바일 기기(400)는 근거리 통신 모듈(481) 또는 유선 통신 모듈(482)을 통해 차량(200)과 연결될 수 있고, 무선 통신 모듈(483)을 통해 원격 대화 시스템 서버(1) 또는 외부 컨텐츠 서버(300)와 연결될 수 있다. For example, the mobile device 400 may be connected to the vehicle 200 via the short range communication module 481 or the wired communication module 482, and may be connected to the remote conversation system server 1 through the wireless communication module 483. It may be connected to the external content server 300.

도 17은 모바일 기기에 대화 시스템이 탑재되는 모바일 단독 방식에 대한 제어 블록도이다.17 is a control block diagram of a mobile standalone system in which a dialogue system is mounted on a mobile device.

모바일 단독 방식에서는, 도 17에 도시된 바와 같이, 대화 시스템(100)이 모바일 기기(400)에 마련된다. In the mobile only mode, as shown in FIG. 17, a dialogue system 100 is provided in the mobile device 400.

따라서, 대화 처리를 수행하기 위해 원격 대화 시스템 서버(1)와 연결될 필요가 없고, 모바일 기기(400)가 자체적으로 사용자와의 대화를 처리하고 사용자에게 필요한 서비스를 제공해줄 수 있다. 다만, 대화 처리 및 서비스 제공을 위해 필요한 정보 중 일부는 외부 컨텐츠 서버(300)로부터 가져올 수 있다.Accordingly, it is not necessary to be connected to the remote conversation system server 1 to perform the conversation processing, and the mobile device 400 may process the conversation with the user and provide the necessary service to the user. However, some of information necessary for processing a conversation and providing a service may be obtained from an external content server 300.

또한, 전술한 방식 중 어느 방식에서든, 대화 시스템(100)을 구성하는 구성요소들이 물리적으로 분리되어 마련되는 것도 가능하고, 구성요소 중 일부가 생략되는 것도 가능하다. 예를 들어, 대화 시스템(100)이 원격 대화 시스템 서버(1)에 마련되는 경우에도, 대화 시스템(100)을 구성하는 구성요소들 중 일부가 별도의 서버나 차량에 마련될 수 있다. 이 때, 별도의 서버는 운영 또는 관리 주체가 원격 대화 시스템 서버(1)와 동일할 수도 있고, 다를 수도 있다. 예를 들어, 후술하는 음성 인식기 또는 자연어 이해기는 별도의 서버에 마련될 수 있고, 대화 시스템(100)은 별도의 서버로부터 사용자 발화에 대한 음성 인식 결과 또는 자연어 이해 결과를 제공받을 수 있다. 또는, 저장부(140)가 별도의 서버에 마련되는 것도 가능하다.In addition, in any of the above-described manner, the components constituting the dialogue system 100 may be physically separated, and some of the components may be omitted. For example, even when the conversation system 100 is provided in the remote conversation system server 1, some of the components constituting the conversation system 100 may be provided in a separate server or a vehicle. In this case, the separate server may be the same as or different from the remote conversation system server 1 in an operation or management entity. For example, the speech recognizer or natural language reader to be described later may be provided in a separate server, and the conversation system 100 may receive a speech recognition result or natural language understanding result for user speech from a separate server. Alternatively, the storage 140 may be provided in a separate server.

이하, 대화 시스템(100)의 세부적인 구성 및 각 구성요소 별 구체적인 동작을 상세하게 설명한다. 후술하는 실시예에서는 설명의 편의를 위해, 대화 시스템(100)이 차량(200)에 마련된 경우를 가정하여 설명한다. 후술하는 대화 시스템(100)의 세부적인 구성들은 수행하는 동작에 따라 구분한 것으로서, 이들이 동일한 프로세서와 메모리에 의해 구현되는지 여부, 프로세서와 메모리의 물리적인 위치 등에 대해서는 제한을 두지 않는다. Hereinafter, the detailed configuration of the conversation system 100 and the specific operations for each component will be described in detail. In the following embodiments, for convenience of description, it is assumed that the dialog system 100 is provided in the vehicle 200. Detailed configurations of the dialog system 100 to be described below are classified according to operations to be performed, and are not limited to whether they are implemented by the same processor and memory, physical locations of the processor and memory, and the like.

도 18, 도 19A 및 도 19B는 대화 시스템의 구성 중 입력 처리기의 구성이 세분화된 제어 블록도이다.18, 19A, and 19B are control block diagrams in which the configuration of the input processor of the configuration of the conversation system is subdivided.

도 18을 참조하면, 입력 처리기(110)는 음성 입력을 처리하는 음성 입력 처리기(111) 및 상황 정보를 처리하는 상황 정보 처리기(112)를 포함할 수 있다. Referring to FIG. 18, the input processor 110 may include a voice input processor 111 that processes a voice input and a context information processor 112 that processes context information.

또한, 입력 처리기(110)는 사용자가 위험 상황에 처했는지 여부를 판단하는 위험 상황 관리기(119)를 더 포함할 수 있다.In addition, the input processor 110 may further include a risk situation manager 119 that determines whether the user is in a dangerous situation.

음성 입력 장치(210)를 통해 입력된 사용자 음성은 음성 입력 처리기(111)로 전송되고, 음성 외 입력 장치(220)를 통해 입력된 음성 외 사용자 입력은 상황 정보 처리기(112)로 전송된다. The user's voice input through the voice input device 210 is transmitted to the voice input processor 111, and the non-voice user input input through the non-voice input device 220 is transmitted to the situation information processor 112.

차량 제어기(240)는 차량 상태 정보, 주행 환경 정보 및 사용자 정보를 상황 정보 처리기(112)로 전송한다. 주행 환경 정보 및 사용자 정보는 외부 컨텐츠 서버(300) 또는 차량(200)에 연결된 모바일 기기(400)로부터 제공될 수도 있다. The vehicle controller 240 transmits the vehicle state information, the driving environment information, and the user information to the situation information processor 112. The driving environment information and the user information may be provided from the external content server 300 or the mobile device 400 connected to the vehicle 200.

음성 외 입력은 모두 상황 정보에 포함될 수 있다. 즉, 상황 정보는 차량 상태 정보, 주행 환경 정보, 사용자 정보를 포함할 수 있다. All non-voice input may be included in the context information. That is, the situation information may include vehicle state information, driving environment information, and user information.

차량 상태 정보는 차량(200)에 마련된 센서에 의해 획득된 정보로서 차량의 상태를 나타내는 정보를 포함할 수도 있고, 차량의 유종과 같이 차량에 관련된 정보로서 차량에 저장되어 있는 정보 등을 포함할 수도 있다. The vehicle state information may include information indicating the state of the vehicle as information obtained by a sensor provided in the vehicle 200, or may include information stored in the vehicle as information related to the vehicle, such as the type of the vehicle. have.

또한, 차량 상태 정보는 재생되는 음원 정보, 음원 재생 시간 등과 같이 차량에 마련된 장치로부터 획득되는 정보를 포함할 수도 있다.In addition, the vehicle state information may include information obtained from a device provided in the vehicle, such as sound source information to be reproduced, sound source reproduction time, and the like.

주행 환경 정보는 차량(200)에 마련된 센서에 의해 획득된 정보로서 전방 카메라, 후방 카메라 또는 스테레오 카메라가 획득한 영상 정보, 레이더(radar), 라이다(Lidar), 초음파 센서 등의 센서가 획득한 장애물 정보, 강우 센서가 획득한 강우량/강우속도 정보 등을 포함할 수 있다. The driving environment information is information obtained by a sensor provided in the vehicle 200, and image information obtained by a front camera, a rear camera or a stereo camera, and a sensor such as a radar, a lidar, an ultrasonic sensor, and the like. It may include obstacle information, rainfall / rainfall speed information obtained by the rainfall sensor.

또한, 주행 환경 정보는 V2X를 통해 획득된 정보로서 교통 상황 정보, 신호등 정보, 주변 차량의 접근 또는 추돌 가능성 정보 등을 더 포함할 수 있다.The driving environment information may further include traffic condition information, traffic light information, possibility of approaching or colliding with surrounding vehicles, and the like as information obtained through the V2X.

사용자 정보는 차량에 마련된 카메라 또는 생체 신호 측정 장치를 통해 측정한 사용자의 상태와 관련된 정보, 사용자가 차량에 마련된 입력 장치를 이용하여 직접 입력한 사용자와 관련된 정보, 외부 컨텐츠 서버(300)에 저장된 사용자와 관련된 정보, 차량에 연결된 모바일 기기(400)에 저장된 정보 등을 포함할 수 있다.The user information includes information related to a user's state measured by a camera or a biosignal measuring device provided in a vehicle, information related to a user directly input by using an input device provided in a vehicle, and a user stored in an external content server 300. And information stored in the mobile device 400 connected to the vehicle.

특히 사용자 정보는 외부로부터 전송된 사용자 개인 정보, 바이오리듬 정보 및 사용자의 수면과 관련된 정보를 포함할 수 있으며, 톤 분석기(111d)로부터 전송받은 사용자 음성에 대한 톤 분석값을 포함하는 톤 정보를 포함할 수 있다.In particular, the user information may include user personal information, biorhythm information, and sleep related information transmitted from the outside, and may include tone information including a tone analysis value of the user voice received from the tone analyzer 111d. can do.

특히, 사용자 정보는 전술한 음성 외 입력뿐만 아니라 음성 입력 처리기(111)에 의해 입력된 사용자의 음성과 관련된 정보, 예를 들어 사용자의 음성 요청, 톤 분석기(111d)에 의해 분석된 사용자 음성의 톤 정보 등을 더 포함할 수도 있다.In particular, the user information includes information related to the user's voice input by the voice input processor 111 as well as the aforementioned non-voice input, for example, the user's voice request, the tone of the user's voice analyzed by the tone analyzer 111d. Information may be further included.

음성 입력 처리기(111)는 입력된 사용자 음성을 인식하여 텍스트 형태의 발화문으로 출력하는 음성 인식기(111a), 발화문에 대해 자연어 이해 기술(Natural Language Understanding)을 적용하여 발화문이 내포하는 사용자의 의도를 파악하는 자연어 이해기(111b) 및 자연어 이해 결과와 상황 정보를 대화 관리기(120)로 전달하는 대화 입력 관리기(111c)를 포함할 수 있다. The voice input processor 111 recognizes the inputted user's voice and outputs the spoken text in a text form, and the natural language understanding is applied to the spoken text so that the spoken text includes the user's speech. It may include a natural language reader 111b that grasps the intention, and a conversation input manager 111c that delivers the natural language understanding result and situation information to the conversation manager 120.

또한, 음성 입력 처리기(111)는 사용자의 음성을 입력 받아 사용자가 평소보다 기분이 좋지 않은 상태인지, 우울한 상태인지 여부를 판단하기 위해 톤 분석을 실행하는 톤 분석기(111d)를 더 포함할 수 있다.In addition, the voice input processor 111 may further include a tone analyzer 111d that receives a voice of a user and performs tone analysis to determine whether the user is in a bad mood or a depressed state than usual. .

또한, 음성 입력 처리기(111)는 대화 시스템(100)의 질문에 대한 사용자의 응답에 기초하여 사용자가 우울 상태인지 여부 및 우울감 정도를 판단하는 응답 분석기(111e)를 더 포함할 수 있다.음성 인식기(111a)는 음성 인식 엔진(speech recognition engine)을 포함하고, 음성 인식 엔진은 입력된 음성에 음성 인식 알고리즘을 적용하여 사용자가 발화한 음성을 인식하고, 인식 결과를 생성할 수 있다. In addition, the voice input processor 111 may further include a response analyzer 111e that determines whether the user is in a depressed state and a degree of depression based on the user's response to the question of the conversation system 100. 111a includes a speech recognition engine, and the speech recognition engine may apply a speech recognition algorithm to the input speech to recognize the speech spoken by the user and generate a recognition result.

이 때, 입력된 음성은 음성 인식을 위한 더 유용한 형태로 변환될 수 있는바, 음성 신호로부터 시작 지점과 끝 지점을 검출하여 입력된 음성에 포함된 실제 음성 구간을 검출한다. 이를 EPD(End Point Detection)이라 한다.At this time, the input voice may be converted into a more useful form for speech recognition, and the starting and ending points are detected from the speech signal to detect the actual speech section included in the input speech. This is called end point detection (EPD).

그리고, 검출된 구간 내에서 켑스트럼(Cepstrum), 선형 예측 코딩(Linear Predictive Coefficient: LPC), 멜프리퀀시켑스트럼(Mel Frequency Cepstral Coefficient: MFCC) 또는 필터 뱅크 에너지(Filter Bank Energy) 등의 특징 벡터 추출 기술을 적용하여 입력된 음성의 특징 벡터를 추출할 수 있다. In the detected section, features such as Cepstrum, Linear Predictive Coefficient (LPC), Mel Frequency Cepstral Coefficient (MFCC), Filter Bank Energy, etc. A vector extraction technique may be applied to extract a feature vector of an input voice.

그리고, 추출된 특징 벡터와 훈련된 기준 패턴과의 비교를 통하여 인식 결과를 얻을 수 있다. 이를 위해, 음성의 신호적인 특성을 모델링하여 비교하는 음향 모델(Acoustic Model) 과 인식 어휘에 해당하는 단어나 음절 등의 언어적인 순서 관계를 모델링하는 언어 모델(Language Model)이 사용될 수 있다. 이를 위해, 저장부(140)에는 음향 모델/언어 모델 DB가 저장될 수 있다. The recognition result may be obtained by comparing the extracted feature vector with the trained reference pattern. To this end, an acoustic model for modeling and comparing signal characteristics of speech and a language model for modeling linguistic order relations such as words or syllables corresponding to a recognized vocabulary may be used. To this end, the storage unit 140 may store the acoustic model / language model DB.

음향 모델은 다시 인식 대상을 특징 벡터 모델로 설정하고 이를 음성 데이터의 특징 벡터와 비교하는 직접 비교 방법과 인식 대상의 특징 벡터를 통계적으로 처리하여 이용하는 통계 방법을 나뉠 수 있다. The acoustic model may be further divided into a direct comparison method for setting a recognition object as a feature vector model and comparing it with a feature vector of speech data and a statistical method for statistically processing the feature vector of the recognition object.

직접 비교 방법은 인식 대상이 되는 단어, 음소 등의 단위를 특징 벡터 모델로 설정하고 입력 음성이 이와 얼마나 유사한지를 비교하는 방법으로서, 대표적으로 벡터 양자화(Vector Quantization) 방법이 있다. 벡터 양자화 방법에 의하면 입력된 음성 데이터의 특징 벡터를 기준 모델인 코드북(codebook)과 매핑시켜 대표 값으로 부호화함으로써 이 부호 값들을 서로 비교하는 방법이다.The direct comparison method is a method of setting a unit of a word, a phoneme, or the like to be recognized as a feature vector model and comparing how similar the input speech is. As a representative example, a vector quantization method is used. According to the vector quantization method, a feature vector of input speech data is mapped with a codebook, which is a reference model, and encoded into a representative value to compare the code values.

통계적 모델 방법은 인식 대상에 대한 단위를 상태 열(State Sequence)로 구성하고 상태 열 간의 관계를 이용하는 방법이다. 상태 열은 복수의 노드(node)로 구성될 수 있다. 상태 열 간의 관계를 이용하는 방법은 다시 동적 시간 와핑(Dynamic Time Warping: DTW), 히든 마르코프 모델(Hidden Markov Model: HMM), 신경 회로망을 이용한 방식 등이 있다. The statistical model method is a method of constructing a unit for a recognition object into a state sequence and using a relationship between state columns. The status column may consist of a plurality of nodes. Methods using the relationship between the state columns again include Dynamic Time Warping (DTW), Hidden Markov Model (HMM), and neural networks.

동적 시간 와핑은 같은 사람이 같은 발음을 해도 신호의 길이가 시간에 따라 달라지는 음성의 동적 특성을 고려하여 기준 모델과 비교할 때 시간 축에서의 차이를 보상하는 방법이고, 히든 마르코프 모델은 음성을 상태 천이 확률 및 각 상태에서의 노드(출력 심볼)의 관찰 확률을 갖는 마르코프 프로세스로 가정한 후에 학습 데이터를 통해 상태 천이 확률 및 노드의 관찰 확률을 추정하고, 추정된 모델에서 입력된 음성이 발생할 확률을 계산하는 인식 기술이다. Dynamic time warping is a method of compensating for differences in the time axis when considering the dynamic characteristics of speech whose length varies over time even when the same person pronounces the same. Assuming a Markov process with probability and observed probability of nodes (output symbols) in each state, we estimate state transition probability and observed probability of the node from the training data, and calculate the probability that the input voice will occur in the estimated model. Is a recognition technology.

한편, 단어나 음절 등의 언어적인 순서 관계를 모델링하는 언어 모델은 언어를 구성하는 단위들 간의 순서 관계를 음성 인식에서 얻어진 단위들에 적용함으로써 음향적인 모호성을 줄이고 인식의 오류를 줄일 수 있다. 언어 모델에는 통계적 언어 모델과 유한 상태 네트워크(Finite State Automata: FSA)에 기반한 모델이 있고, 통계적 언어 모델에는 Unigram, Bigram, Trigram 등 단어의 연쇄 확률이 이용된다. On the other hand, a language model that models linguistic ordinal relationships such as words or syllables may apply acoustic relations between units constituting language to units obtained in speech recognition, thereby reducing acoustic ambiguity and reducing recognition errors. The linguistic model has a model based on a statistical language model and a finite state automata (FSA), and the statistical linguistic model uses a chain probability of words such as Unigram, Bigram, and Trigram.

음성 인식기(111a)는 음성을 인식함에 있어 상술한 방식 중 어느 방식을 사용해도 무방하다. 예를 들어, 히든 마르코프 모델이 적용된 음향 모델을 사용할 수도 있고, 음향 모델과 음성 모델을 통합한 N-best 탐색법을 사용할 수 있다. N-best 탐색법은 음향 모델과 언어 모델을 이용하여 N개까지의 인식 결과 후보를 선택한 후, 이들 후보의 순위를 재평가함으로써 인식 성능을 향상시킬 수 있다. The voice recognizer 111a may use any of the above-described methods in recognizing the voice. For example, an acoustic model with a hidden Markov model may be used, or an N-best search method that integrates the acoustic model and the speech model. The N-best search method can improve recognition performance by selecting up to N recognition result candidates using acoustic models and language models, and then re-evaluating the ranks of these candidates.

음성 인식기(111a)는 인식 결과의 신뢰성을 확보하기 위해 신뢰값(confidence value)을 계산할 수 있다. 신뢰값은 음성 인식 결과에 대해서 그 결과를 얼마나 믿을 만한 것인가를 나타내는 척도이다. 일 예로, 인식된 결과인 음소나 단어에 대해서, 그 외의 다른 음소나 단어로부터 그 말이 발화되었을 확률에 대한 상대값으로 정의할 수 있다. 따라서, 신뢰값은 0 에서 1 사이의 값으로 표현할 수도 있고, 0 에서 100 사이의 값으로 표현할 수도 있다. The speech recognizer 111a may calculate a confidence value in order to secure the reliability of the recognition result. The confidence value is a measure of how reliable the result is for a speech recognition result. For example, a phoneme or a word that is a recognized result may be defined as a relative value of the probability that the word is spoken from other phonemes or words. Therefore, the confidence value may be represented by a value between 0 and 1, and may be represented by a value between 0 and 100.

신뢰값이 미리 설정된 임계값(threshold)을 초과하는 경우에는 인식 결과를 출력하여 인식 결과에 대응되는 동작이 수행되도록 할 수 있고, 신뢰값이 임계값 이하인 경우에는 인식 결과를 거절(rejection)할 수 있다. If the confidence value exceeds a preset threshold, the recognition result may be output so that an operation corresponding to the recognition result may be performed. If the confidence value is less than or equal to the threshold value, the recognition result may be rejected. have.

음성 인식기(111a)의 인식 결과인 텍스트 형태의 발화문은 자연어 이해기(111b)로 입력된다. The spoken text in the form of text that is a result of the recognition of the speech recognizer 111a is input to the natural language recognizer 111b.

자연어 이해기(111b)는 자연어 이해 기술을 적용하여 발화문에 내포된 사용자의 의도를 파악할 수 있다. 따라서, 사용자는 자연스러운 대화(Dialogue)를 통해 명령을 입력할 수 있고, 대화 시스템(100) 역시 대화를 통해 명령의 입력을 유도하거나 사용자가 필요로 하는 서비스를 제공할 수 있다. The natural language reader 111b may grasp the intention of the user included in the speech by applying the natural language understanding technology. Accordingly, a user may input a command through a natural dialog, and the dialog system 100 may also induce input of a command through a dialog or provide a service required by the user.

먼저, 자연어 이해기(111b)는 텍스트 형태의 발화문에 대해 형태소 분석을 수행한다. 형태소는 의미의 최소 단위로써, 더 이상 세분화할 수 없는 가장 작은 의미 요소를 나타낸다. 따라서, 형태소 분석은 자연어 이해의 첫 단계로서, 입력 문자열을 형태소열로 바꿔준다. First, the natural language reader 111b performs morphological analysis on the spoken text in a text form. A morpheme is the smallest unit of meaning and represents the smallest semantic element that can no longer be subdivided. Thus, morphological analysis is the first step in understanding natural language, converting input strings into morphological sequences.

자연어 이해기(111b)는 형태소 분석 결과에 기초하여 발화문으로부터 도메인을 추출한다. 도메인은 사용자가 발화한 언어의 주제를 식별할 수 있는 것으로서, 예를 들어, 경로 안내, 날씨 검색, 교통 검색, 일정 관리, 주유 안내, 공조 제어, 기분 전환, 사고 예방 등의 다양한 주제를 나타내는 도메인이 데이터베이스화 되어 있다. The natural language recognizer 111b extracts a domain from the spoken text based on the morphological analysis result. Domains can identify the subject of the language spoken by the user. For example, domains representing various topics such as route guidance, weather search, traffic search, scheduling, refueling guidance, air conditioning control, diversion, and accident prevention. This is a database.

자연어 이해기(111b)는 발화문으로부터 개체명을 인식할 수 있다. 개체명은 인명, 지명, 조직명, 시간, 날짜, 화폐 등의 고유 명사로서, 개체명 인식은 문장에서 개체명을 식별하고 식별된 개체명의 종류를 결정하는 작업이다. 개체명 인식을 통해 문장에서 중요한 키워드를 추출하여 문장의 의미를 파악할 수 있다. The natural language reader 111b can recognize the individual name from the spoken text. The entity name is a proper noun such as a person's name, place name, organization name, time, date, currency, etc. The entity name recognition is the task of identifying the entity name in the sentence and determining the type of the entity name identified. By recognizing individual names, we can extract important keywords from sentences to understand the meaning of sentences.

자연어 이해기(111b)는 발화문이 갖는 화행을 분석할 수 있다. 화행 분석은 사용자 발화에 대한 의도를 분석하는 작업으로, 사용자가 질문을 하는 것인지, 요청을 하는 것인지, 응답을 하는 것인지, 단순한 감정 표현을 하는 것인지 등에 관한 발화의 의도를 파악하는 것이다. The natural language reader 111b may analyze the speech act of the spoken text. Speech act analysis is to analyze the intention of the user's speech, and to grasp the intention of the speech regarding whether the user asks a question, makes a request, makes a response, or expresses a simple emotion.

자연어 이해기(111b)는 사용자의 발화 의도에 대응하는 액션을 추출한다. 발화문에 대응되는 도메인, 개체명, 화행 등의 정보에 기초하여 사용자의 발화 의도를 파악하고, 발화 의도에 대응되는 액션을 추출할 수 있다. 액션은 오브젝트(Object)와 오퍼레이터(Operator)에 의해 정의될 수 있다. The natural language reader 111b extracts an action corresponding to the user's intention to speak. A user's speech intent may be grasped based on information on a domain, an entity name, and a speech act corresponding to the speech text, and an action corresponding to the speech intent may be extracted. An action may be defined by an object and an operator.

또한, 자연어 이해기(111b)는 액션 수행과 관련된 인자를 추출하는 것도 가능하다. 액션 수행과 관련된 인자는 액션을 수행하는데 직접적으로 필요한 유효 인자일 수도 있고, 이러한 유효 인자를 추출하기 위해 사용되는 비유효 인자일 수도 있다.In addition, the natural language reader 111b may extract a factor related to performing an action. The arguments associated with performing the action may be valid arguments directly required to perform the action, or may be invalid arguments used to extract such valid arguments.

예를 들어, 사용자의 발화문이 "서울역 가자"인 경우에, 자연어 이해기(111b)는 발화문에 대응되는 도메인으로 "내비게이션"을 추출하고, 액션으로 "길안내"를 추출할 수 있다. 화행은 "요청"에 해당한다. For example, when the user's utterance is "Let's go in Seoul," the natural language reader 111b may extract "navigation" into a domain corresponding to the utterance and extract "direction" as an action. A speech act corresponds to a "request".

개체명인 "서울역"은 액션 수행과 관련된 [인자: 목적지]에 해당하나, 실제 내비게이션을 통한 길안내를 위해서는 구체적인 출구 번호나 GPS 정보가 필요할 수 있다. 이 경우, 자연어 이해기(111b)가 추출한 [인자: 목적지: 서울역]은 다수의 서울역 POI 중 실제 사용자가 원하는 서울역을 검색하기 위한 후보 인자가 될 수 있다. The entity name "Seoul Station" corresponds to [Factor: Destination] associated with performing an action, but may require a specific exit number or GPS information for navigating through actual navigation. In this case, [Factor: Destination: Seoul Station] extracted by the natural language reader 111b may be a candidate factor for searching for Seoul Station desired by a real user among a plurality of Seoul Station POIs.

또한, 자연어 이해기(111b)는 파스트리(Parse-tree)와 같이 단어와 단어, 문장과 문장의 수식 관계를 표현할 수 있는 수단도 추출할 수 있다. In addition, the natural language interpreter 111b may extract a means for expressing a mathematical relationship between a word, a word, a sentence, and a sentence, such as a parse-tree.

자연어 이해기(111b)의 처리 결과인, 형태소 분석 결과, 도메인 정보, 액션 정보, 화행 정보, 추출된 인자 정보, 개체명 정보, 파스트리 등은 대화 입력 관리기(111c)로 전달된다. The morphological analysis result, domain information, action information, speech act information, extracted factor information, entity name information, pastry, and the like, which are the processing results of the natural language understander 111b, are transmitted to the conversation input manager 111c.

톤 분석기(111d)는 입력된 음성에 대한 톤을 분석할 수 있고, 사용자의 평소 톤과 비교하여 입력된 음성 톤의 고저를 판단할 수 있다. 이러한 톤 분석기(111d)에 의해 생성된 톤 분석 정보는 후술할 응답 분석기(111e)에 의하여 사용자의 우울감 정도를 판단하는데 제어 기초로써 활용될 수 있다.The tone analyzer 111d may analyze the tone of the input voice and determine the height of the input voice tone by comparing with the user's usual tone. The tone analysis information generated by the tone analyzer 111d may be used as a control basis for determining the degree of depression of the user by the response analyzer 111e to be described later.

또한, 톤 분석기(111d)가 음성 톤의 고저를 판단하는데 있어서 기준 정보가 되는 사용자의 평소 톤의 분석 정보는 장기 메모리(143)에 저장될 수 있다. Also, the analysis information of the user's usual tone, which is the reference information when the tone analyzer 111d determines the height of the voice tone, may be stored in the long-term memory 143.

응답 분석기(111e)는 사용자의 우울감 정도를 판단하기 위한 질문에 대한 사용자의 응답을 미리 저장된 데이터와 비교할 수 있고, 비교 결과에 기초하여 사용자의 우울감 정도를 판단할 수 있다. 이 때, 미리 저장된 데이터는 후술할 Q&A 목록(146g)에 저장된 Q&A 데이터일 수 있다.The response analyzer 111e may compare the user's response to the question for determining the degree of depression of the user with previously stored data, and determine the degree of depression of the user based on the comparison result. In this case, the previously stored data may be Q & A data stored in the Q & A list 146g to be described later.

구체적으로, 응답 분석기(111e)는 자연어 이해기(111b)로부터 처리 결과를 전달받을 수 있고, 이러한 처리 결과를 미리 저장된 Q&A 데이터와 비교할 수 있고, 비교 결과에 기초하여 사용자의 우울감 정도를 판단할 수 있다.Specifically, the response analyzer 111e may receive the processing result from the natural language reader 111b, compare the processing result with pre-stored Q & A data, and determine the degree of depression of the user based on the comparison result. have.

이 때, 응답 분석기(111e)는 사용자의 우울감 정도를 나타내는 우울 지수를 이용하여 사용자의 우울감 정도를 수치화할 수 있으며, 이러한 응답 분석기(111e)에 의해 분석된 사용자의 우울 지수 정보는 대화 입력 관리기(111c)로 전달된다. In this case, the response analyzer 111e may quantify the degree of depression of the user by using the depression index indicating the degree of depression of the user, and the depression index information of the user analyzed by the response analyzer 111e may be a conversation input manager ( 111c).

응답 분석기(111e)는 사용자의 우울감 정도를 판단하기 위한 적어도 하나의 질문 데이터가 포함된 데이터 베이스인 Q&A 목록(146g)으로부터 질문 문항을 획득할 수 있다. 이 때, Q&A 목록(146g)는 [질문, 답, 답변]에 대한 목록을 저장하고, [질문, 답, 답변]에 대한 우울증 지수, 또는 '답변'에 포함된 '단어'에 대한 우울 지수 정보를 포함할 수 있다. 또한, 응답 분석기(111e)는 질문 문항에 대한 사용자의 답에 대하여 자연어 이해기(111b)를 통하여 자연어 정보를 전달받을 수도 있다.The response analyzer 111e may obtain a question item from the Q & A list 146g which is a database including at least one question data for determining a degree of depression of the user. At this time, the Q & A list (146g) stores a list of [questions, answers, answers], the depression index for [questions, answers, answers], or the depression index information for the 'word' included in the 'answers' It may include. In addition, the response analyzer 111e may receive natural language information through the natural language reader 111b with respect to the user's answer to the question.

예를 들어, 응답 분석기(111e)는 대화 시스템(100)이 사용자에게 제공한 "오늘 기분이 어떠신가요?"라는 질문에 대한 응답으로 사용자가 "별로 안 좋아"라는 답변을 하는 경우, 해당 답변에 대하여 미리 저장된 우울 지수 정보에 기초하여 사용자에 대한 우울 지수를 결정할 수 있다. For example, the response analyzer 111e responds to the question "How are you feeling today?" Provided by the conversation system 100 to the user. The depression index for the user may be determined based on previously stored depression index information.

또한, 응답 분석기(111e)는 '질문'에 대한 사용자의 '답변'에 포함된 단어를 Q&A 목록(146g)에 저장된 단어에 대한 우울 지수 정보에 기초하여 사용자의 우울 지수를 결정할 수도 있다. In addition, the response analyzer 111e may determine the depression index of the user based on the depression index information for the word stored in the Q & A list 146g of the word included in the user's 'answer' to the 'question'.

응답 분석기(111e)는 Q&A 목록(146g)으로부터 질문에 대한 사용자의 답변에 기초하여 획득한 우울 지수 정보를 대화 입력 관리기(111c)로 전달할 수 있다. The response analyzer 111e may transmit the depression index information obtained based on the user's answer to the question from the Q & A list 146g to the conversation input manager 111c.

또한, 응답 분석기(111e)는 획득된 우울 지수 정보를 별도의 저장 공간에 저장할 수 있으며, 단기 메모리(144)에 저장할 수 있다. 또한, 응답 분석기(111e)는 평소 사용자의 우울감 정도를 나타내는 정보로서 획득된 사용자의 우울 지수의 평균값을 장기 메모리(143)에 저장할 수도 있다.In addition, the response analyzer 111e may store the obtained depression index information in a separate storage space, and may store the acquired depression index information in the short term memory 144. In addition, the response analyzer 111e may store, in the long-term memory 143, the average value of the depression index of the user, which is obtained as information representing the degree of depression of the user.

상황 정보 처리기(112)는 음성 외 입력 장치(220)와 차량 제어기(240)로부터 정보를 수집하는 상황 정보 수집기(112a), 상황 정보의 수집을 관리하는 상황 정보 수집 관리기(112b) 및 자연어 이해 결과와 수집된 상황 정보에 기초하여 상황을 이해하는 상황 이해기(112c)를 포함할 수 있다. The contextual information processor 112 includes a contextual information collector 112a that collects information from the non-voice input device 220 and the vehicle controller 240, a contextual information collection manager 112b that manages the collection of contextual information, and a natural language understanding result. And a context comparator 112c for understanding the context based on the collected context information.

상황 정보 수집기(112a)는 전술한 정보 외에도 톤 분석기(111d)에 의해 분석된 사용자의 음성에 대한 톤 분석 정보를 더 수집할 수도 있다. 상황 정보 수집기(112a)가 톤 분석기(111d)로부터 획득한 톤 분석 정보는 사용자 정보에 포함되어 상황 정보 DB(142)에 저장될 수 있다. 이 때, 톤 분석기(111d)가 음성 톤의 고저를 판단하는데 있어서 기준 정보가 되는 사용자의 평소 톤의 분석 정보는 장기 메모리(143)에 저장될 수 있다.In addition to the above-described information, the situation information collector 112a may further collect tone analysis information about the voice of the user analyzed by the tone analyzer 111d. The tone analysis information acquired by the situation information collector 112a from the tone analyzer 111d may be included in the user information and stored in the situation information DB 142. At this time, the analysis information of the user's usual tone, which is the reference information when the tone analyzer 111d determines the height of the voice tone, may be stored in the long-term memory 143.

이러한 상황 정보 수집기(112a)는 톤 분석기(111d)로부터 톤 분석 정보를 수집하는 경우, 상황 정보 수집 관리기(112b)에 확인 신호를 전송할 수 있다.When the situation information collector 112a collects tone analysis information from the tone analyzer 111d, the situation information collector 112a may transmit a confirmation signal to the situation information collection manager 112b.

또한, 상황 정보 수집 관리기(112b)도 상황 이해기(112c)에 확인 신호를 전송하고, 상황 이해기(112c)는 필요한 정보를 상황 정보 DB(142), 장기 메모리(143) 또는 단기 메모리(144)로부터 가져와 대화 입력 관리기(111c)로 전달한다. In addition, the situation information collection manager 112b also sends a confirmation signal to the situation understanding 112c, and the situation understanding 112c sends necessary information to the situation information DB 142, the long-term memory 143, or the short-term memory 144. ) Is transferred to the conversation input manager 111c.

위험 상황 관리기(119)는 수집된 상황 정보에 기초하여 위험 상황인지 여부를 판단할 수 있다. 이 때, 위험 상황은 사용자의 우울감 정도가 높아 우울증으로 인한 사고가 발생할 가능성이 높은 상황을 의미한다. The dangerous situation manager 119 may determine whether the dangerous situation is based on the collected situation information. At this time, the dangerous situation refers to a situation in which a high degree of depression of the user is high, and an accident due to depression is likely to occur.

위험 상황 관리기(119)는 수집된 상황 정보를 기초로 미리 정해진 위험 상황 조건이 충족되는지 여부를 판단할 수 있고, 이러한 조건 충족 여부에 기초하여 사용자가 위험 상황에 처했는지 여부를 판단할 수 있다.The dangerous situation manager 119 may determine whether a predetermined dangerous situation condition is satisfied based on the collected situation information, and may determine whether the user is in a dangerous situation based on whether the condition is satisfied.

이를 위해, 위험 상황 관리기(119)는 상황 정보 수집 관리기(112b)에 위험 상황 조건의 충족 여부를 판단하기 위해 필요한 상황 정보의 요청 신호를 전송할 수 있다. To this end, the dangerous situation manager 119 may transmit a request signal of situation information necessary for determining whether the dangerous situation condition is satisfied to the situation information collection manager 112b.

예를 들어, 위험 상황 관리기(119)는 '사용자가 동승자 없이, 연고지가 먼 곳으로 주행하는 경우'라는 위험 상황 조건의 충족 여부를 판단할 수 있고, 이를 위해 상황 정보 중 동승자 정보, 목적지 정보, 연고지 정보를 수집할 수 있다.For example, the dangerous situation manager 119 may determine whether the dangerous condition condition 'when the user travels to a far place without a passenger' is satisfied, and for this, the passenger information, destination information, You can collect notice information.

다른 예로, 위험 상황 관리기(119)는 '사용자가 동승자 없이, 사고 다발 지역에 위치하는 경우'라는 위험 상황 조건의 충족 여부를 판단할 수 있고, 이를 위해 상황 정보 중 동승자 정보, 사고 다발 지역 정보를 수집할 수 있다.As another example, the risk situation manager 119 may determine whether the risk condition condition 'when a user is located in an accident-prone area without a passenger' is met, and for this purpose, the passenger information and accident-prone area information may be used. Can be collected.

다른 예로, 위험 상황 관리기(119)는 '사용자가 동승자 없이, 연고지가 먼 곳으로 주행하는 경우', '사용자가 동승자 없이, 사고 다발 지역에 위치하는 경우', '목적지 없이 주행하는 경우', '사용자의 최근 한 달 동안의 평균 수면 시간이 평균 수면 시간 미만인 경우', '30분에 1번 이상 한숨을 쉬는 경우' 및 '의미를 알 수 없는 혼잣말을 하는 경우'라는 조건 중 적어도 하나의 조건이 만족되는지 여부를 위험 상황 조건으로 하여 사용자가 위험 상황에 처했는지 여부를 판단할 수 있다. As another example, the risk situation manager 119 may be configured to 'when the user travels far away without a passenger, and the site is far away', 'when the user is located without a passenger, in an accident-prone area', 'when driving without a destination', ' At least one of the following conditions: "If your average sleep time during the last month is less than your average sleep time," "I sigh at least once every 30 minutes," and "I am talking to an unknown self." It is possible to determine whether or not the user is in a dangerous situation based on whether or not it is satisfied.

또한, 위험 상황 관리기(119)는 응답 분석기(111e)에 의해 획득된 사용자의 우울 지수 정보에 기초하여 위험 상황인지 여부를 판단할 수 있고, 전술한 상황 정보와 함께 사용자의 우울 지수 정보에 기초하여 위험 상황인지 여부를 판단할 수도 있다. In addition, the risk situation manager 119 may determine whether it is a risk situation based on the depression index information of the user acquired by the response analyzer 111e, and based on the depression index information of the user together with the above-described situation information. You can also determine whether it is a dangerous situation.

예를 들어, 위험 상황 관리기(119)는 획득된 사용자의 우울 지수 정보가 미리 정해진 기준값보다 큰 경우 또는 미리 정해진 기준 범위에 벗어나는 경우에 사용자가 위험 상황에 처한 것으로 판단할 수 있다.For example, the dangerous situation manager 119 may determine that the user is in a dangerous situation when the obtained depression index information of the user is larger than a predetermined reference value or is out of the predetermined reference range.

다른 예로, 위험 상황 관리기(119)는 평소 우울 지수가 높은 사용자가 '사용자가 동승자 없이, 연고지가 먼 곳으로 주행하는 경우', '사용자가 동승자 없이, 사고 다발 지역에 위치하는 경우', '목적지 없이 주행하는 경우', '사용자의 최근 한 달 동안의 평균 수면 시간이 평균 수면 시간 미만인 경우', '30분에 1번 이상 한숨을 쉬는 경우' 및 '의미를 알 수 없는 혼잣말을 하는 경우'라는 조건 중 적어도 하나의 조건을 만족하는 경우, 사용자가 위험 상황에 처한 것으로 판단할 수 있다. 이 때, 평소 우울 지수가 높은 사용자는 저장된 우울 지수의 평균값이 미리 정해진 기준값보다 높은 사용자를 의미한다. As another example, the risk situation manager 119 is a user with a high index of depression usually 'when the user is driving without a passenger, the connection is far away', 'user is located without a passenger, in an accident-prone area', 'destination destination Driving without "," if your average sleep during the last month is less than your average sleep, "" if you sigh at least once every 30 minutes, "and" if you speak unintelligible loneliness. " If at least one of the conditions is satisfied, it may be determined that the user is in danger. In this case, the user who has a high depression index usually means a user whose average value of the stored depression index is higher than a predetermined reference value.

위험 상황 관리기(119)는 위험 상황 조건이 충족되어 사용자가 위험 상황에 처한 것으로 판단하면, 실제 상황 판단을 위한 선발화가 수행되도록 상황 이해기(112c)에 액션 트리거 신호를 전송할 수 있다. When the dangerous situation manager 119 determines that the dangerous situation is satisfied and the user is in a dangerous situation, the dangerous situation manager 119 may transmit an action trigger signal to the situation understander 112c so that the selection for the actual situation determination is performed.

이 때, 실제 상황 판단을 위하여 수행되는 선발화의 내용은 Q&A 저장소(146)에 저장된 질문일 수 있고, 위험 상황 관리기(119)는 이러한 질문에 대한 사용자의 답변과 연계되는 액션 트리거 신호를 상황 이해기(112c)에 전송할 수 있다. At this time, the content of the selection that is performed to determine the actual situation may be a question stored in the Q & A repository 146, and the risk situation manager 119 may understand the action trigger signal associated with the user's answer to the question. To device 112c.

또한, 위험 상황 관리기(119)는 미리 정해진 위험 상황 조건 중 충족되는 조건의 개수에 기초하여 위험 상황 단계를 결정할 수 있고, 결정되는 위험 상황 단계에 대응하는 액션 트리거 신호를 상황 이해기(112c)에 전송할 수 있다.In addition, the risk situation manager 119 may determine the risk situation step based on the number of conditions that are satisfied among the predetermined risk situation conditions, and transmits an action trigger signal corresponding to the determined risk situation step to the situation understanding 112c. Can transmit

예를 들어, 위험 상황 관리기(119)는 위험 상황 단계를 5단계로 구별할 수 있고, 위험 상황 단계가3단계보다 큰 경우 사고 예방을 위한 액션 트리거 신호를 전송할 수 있고, 위험 상황 단계가 3단계 이하인 경우에는 사용자에게 사고 예방의 권유를 위한 액션 트리거 신호를 전송할 수 있다. For example, the risk situation manager 119 may distinguish the risk situation stage into five stages, and may transmit an action trigger signal for preventing an accident if the risk stage is greater than three stages, and the risk situation stage has three stages. In the following case, an action trigger signal for recommending accident prevention may be transmitted to the user.

입력 처리기(110)는 전술 또는 후술하는 동작을 수행하기 위한 프로그램이 저장되는 메모리 및 저장된 프로그램을 실행시키는 프로세서를 포함할 수 있다. 메모리와 프로세서는 각각 적어도 하나 마련될 수 있고, 복수 개 마련되는 경우에는 이들이 하나의 칩 상에 집적될 수도 있고 물리적으로 분리될 수도 있다.The input processor 110 may include a memory for storing a program for performing the above-described or later operations, and a processor for executing the stored program. At least one memory and a processor may be provided, and in the case of a plurality of processors, they may be integrated on one chip or physically separated.

또한, 입력 처리기(110)에 포함되는 음성 입력 처리기(111)와 상황 정보 처리기(112)는 동일한 프로세서 및 메모리에 의해 구현되는 것도 가능하고, 별개의 프로세서 및 메모리에 의해 구현되는 것도 가능하다.In addition, the voice input processor 111 and the context information processor 112 included in the input processor 110 may be implemented by the same processor and memory, or may be implemented by separate processors and memories.

이하, 도 19A 및 도 19B를 참조하여 입력 처리기(110)의 구성요소들이 저장부(140)에 저장된 정보를 이용하여 어떻게 입력 데이터를 처리하는지 구체적으로 설명한다. Hereinafter, with reference to FIGS. 19A and 19B, how the components of the input processor 110 process the input data using the information stored in the storage 140 will be described in detail.

도 19A를 참조하면, 자연어 이해기(111b)는 도메인 추출, 개체명 인식, 화행 분석 및 액션 추출을 위해 도메인/액션 추론 규칙 DB(141)를 이용할 수 있다. Referring to FIG. 19A, the natural language interpreter 111b may use the domain / action inference rule DB 141 for domain extraction, entity name recognition, speech act analysis, and action extraction.

도메인/액션 추론 규칙 DB(141)에는 도메인 추출 규칙, 화행 분석 규칙, 개체명 변환 규칙, 액션 추출 규칙 등이 저장될 수 있다. The domain / action inference rule DB 141 may store domain extraction rules, speech act analysis rules, entity name conversion rules, action extraction rules, and the like.

음성 외 사용자 입력, 차량 상태 정보, 주행 환경 정보, 사용자 정보와 같은 기타 정보는 상황 정보 수집기(112a)로 입력되고, 상황 정보 DB(142), 장기 메모리(143) 또는 단기 메모리(144)에 저장될 수 있다. Other information such as non-voice user input, vehicle status information, driving environment information, and user information is input to the situation information collector 112a and stored in the situation information DB 142, the long term memory 143, or the short term memory 144. Can be.

예를 들어, 상황 정보 DB(142)에는 차량 감지부(260)가 감지한 로우 데이터(raw data)가 센서 타입과 센서 값으로 구분되어 저장될 수 있다. For example, raw data detected by the vehicle detecting unit 260 may be classified into a sensor type and a sensor value in the situation information DB 142.

단기 메모리(144)와 장기 메모리(143)에는 사용자의 현재 상태, 사용자의 선호도/성향 또는 이를 판단할 수 있는 데이터와 같이 사용자에게 의미가 있는 데이터가 저장될 수 있다.The short-term memory 144 and the long-term memory 143 may store data meaningful to the user, such as the current state of the user, the user's preference / propensity, or data that can determine the user's preference.

전술한 바와 같이, 장기 메모리(143)에는 사용자의 전화번호부, 일정, 선호도, 학력, 성격, 직업, 가족 관련 정보 등과 같이 영속성이 보장되어 장기적으로 사용 가능한 정보가 저장될 수 있다. 또한, 장기 메모리(143)에는 평소 사용자 음성의 톤과 관련된 정보가 저장될 수 있다.As described above, the long-term memory 143 may store information that can be used for a long period of time, such as a user's phone book, schedule, preference, education, personality, occupation, family related information, and the like. In addition, the long-term memory 143 may store information related to the tone of the usual user voice.

단기 메모리(144)에는 현재/이전 위치, 오늘 일정, 이전 대화 내용, 대화 참여자, 주변 상황, 도메인, 운전자 상태 등과 같이 영속성이 보장되지 않거나 불확실하여 단기적으로 사용되는 정보가 저장될 수 있다. 데이터의 종류에 따라 상황 정보 DB(142), 단기 메모리(144) 및 장기 메모리(143) 중 두 개 이상의 저장소에 중복되어 저장되는 데이터도 있을 수 있다. 또한, 단기 메모리(144)에는 사용자가 발화한 당시의 입력된 음성에 대한 톤 정보가 저장될 수 있다.The short-term memory 144 may store information that is used in the short term because of the non-persistence or uncertainty such as the current / previous location, the today's schedule, the contents of the previous conversation, the participants of the conversation, the surrounding situation, the domain, the driver's status, and the like. Depending on the type of data, there may be data that is duplicated and stored in two or more storages of the situation information DB 142, the short term memory 144, and the long term memory 143. In addition, the short-term memory 144 may store tone information of the input voice at the time of the user's speech.

또한, 단기 메모리(144)에 저장된 정보 중 영속성이 보장되는 것으로 판단된 정보는 장기 메모리(143)로 보내질 수 있다. In addition, the information stored in the short-term memory 144, which is determined to be durable, may be sent to the long-term memory 143.

또한, 단기 메모리(144)나 상황 정보 DB(142)에 저장된 정보를 이용하여 장기 메모리(143)에 저장될 정보를 획득하는 것도 가능하다. 예를 들어, 일정 기간 축적된 목적지 정보 또는 대화 내용을 분석하여 사용자의 선호도를 획득하고, 획득된 사용자의 선호도를 장기 메모리(143)에 저장할 수 있다. It is also possible to obtain information to be stored in the long term memory 143 using the information stored in the short term memory 144 or the contextual information DB 142. For example, the user's preference may be obtained by analyzing destination information or conversation contents accumulated for a certain period, and the obtained user's preference may be stored in the long-term memory 143.

단기 메모리(144)나 상황 정보 DB(142)에 저장된 정보를 이용하여 장기 메모리(143)에 저장될 정보를 획득하는 것은 대화 시스템(100) 내부에서 수행되는 것도 가능하고, 별도의 외부 시스템에서 수행되는 것도 가능하다.Acquiring information to be stored in the long-term memory 143 using the information stored in the short-term memory 144 or the contextual information DB 142 may be performed in the dialogue system 100, or may be performed in a separate external system. It is also possible.

전자의 경우, 후술하는 결과 처리기(130)의 메모리 관리기(135)에서 수행 가능하다. 이 경우, 단기 메모리(144)나 상황 정보 DB(142)에 저장된 데이터 중에서 사용자의 선호도나 성향과 같이 의미 있는 정보 또는 영속성 있는 정보를 획득하는데 사용되는 데이터는 장기 메모리(143)에 로그 파일 형태로 저장될 수 있다. In the former case, the memory manager 135 of the result processor 130 to be described later may be performed. In this case, among the data stored in the short-term memory 144 or the contextual information DB 142, data used to obtain meaningful or persistent information, such as user preference or disposition, may be stored in the long-term memory 143 in the form of a log file. Can be stored.

메모리 관리기(135)는 일정 기간 이상 축적된 데이터를 분석하여 영속성이 있는 데이터를 획득하고 장기 메모리(143)에 다시 저장한다. 장기 메모리(143) 내에서 영속성 있는 데이터가 저장되는 위치와 로그 파일 형태로 저장되는 데이터가 저장되는 위치를 서로 다를 수 있다. The memory manager 135 analyzes the data accumulated for a predetermined period of time to obtain data having persistentness and to store the data in the long term memory 143 again. In the long term memory 143, a location where persistent data is stored and a location where data stored in a log file form are stored may be different from each other.

또는, 메모리 관리기(135)가 단기 메모리(144)에 저장된 데이터 중에서 영속성 있는 데이터를 판단하고, 판단된 데이터를 장기 메모리(143)로 옮겨 저장하는 것도 가능하다. Alternatively, the memory manager 135 may determine persistent data among the data stored in the short-term memory 144 and transfer the determined data to the long-term memory 143 for storage.

별도의 외부 시스템에서 수행하는 경우에는, 도 19B에 도시된 바와 같이 통신부(810), 저장부(820) 및 제어부(830)를 포함하는 데이터 관리 시스템(800)이 사용될 수 있다. When performed in a separate external system, as illustrated in FIG. 19B, a data management system 800 including a communication unit 810, a storage unit 820, and a control unit 830 may be used.

통신부(810)가 상황 정보 DB(142) 또는 단기 메모리(144)에 저장된 데이터를 수신한다. 저장된 데이터 전부가 통신부(810)에 전송될 수도 있고, 사용자의 선호도나 성향과 같이 의미 있는 정보 또는 영속성 있는 정보를 획득하는데 사용되는 데이터만 선별되어 전송될 수도 있다. 수신된 데이터는 저장부(820)에 저장된다.The communication unit 810 receives data stored in the situation information DB 142 or the short term memory 144. All of the stored data may be transmitted to the communication unit 810, or only data used to acquire meaningful information or persistent information, such as a user's preference or disposition, may be selected and transmitted. The received data is stored in the storage 820.

제어부(830)는 축적된 데이터를 분석하여 영속성이 있는 데이터를 획득하고, 획득된 데이터는 다시 통신부(810)를 통해 대화 시스템(100)으로 전송한다. 전송된 데이터는 대화 시스템(100)의 장기 메모리(143)에 저장된다.The controller 830 analyzes the accumulated data to obtain persistent data, and transmits the acquired data to the conversation system 100 through the communication unit 810. The transmitted data is stored in the long term memory 143 of the conversation system 100.

또한, 대화 입력 관리기(111c)가 자연어 이해기(111b)의 출력 결과를 상황 이해기(112c)에 전달하여 액션 수행과 관련된 상황 정보를 얻을 수도 있다. In addition, the conversation input manager 111c may transfer the output result of the natural language reader 111b to the situation understander 112c to obtain context information related to performing an action.

상황 이해기(112c)는 상황 이해 테이블(145)에 저장된 액션 별 상황 정보를 참조하여, 사용자의 발화 의도에 대응되는 액션 수행과 관련된 상황 정보가 무엇인지 판단할 수 있다. The context comparator 112c may determine what context information is associated with performing an action corresponding to the user's intention of speaking, with reference to the contextual information for each action stored in the context understanding table 145.

도 20A 및 도 20B는 상황 이해 테이블에 저장되는 정보의 예시를 나타낸 도면이다.20A and 20B illustrate examples of information stored in a situation understanding table.

도 20A 의 예시를 참조하면, 상황 이해 테이블(145)에는 액션 수행과 관련된 상황 정보와 상황 정보 타입이 각각의 액션 별로 저장될 수 있다.Referring to the example of FIG. 20A, the context understanding table 145 may store context information and context information types related to performing an action for each action.

예를 들어, 길 안내가 액션인 경우에는 상황 정보로 현재 위치가 필요하고, 상황 정보 타입은 GPS 정보일 수 있다. 차량 상태 점검이 액션인 경우에는 상황 정보로 이동거리가 필요하고, 상황 정보 타입은 정수일 수 있다. 주유소 추천이 액션인 경우에는 상황 정보로 잔유량과 주행 가능 거리(DTE: Distance To Empty)이 필요하고, 상황 정보 타입은 정수일 수 있다. For example, when the road guidance is an action, the current location is needed as the context information, and the context information type may be GPS information. When the vehicle condition check is an action, a moving distance is required as the situation information, and the situation information type may be an integer. When the gas station recommendation is an action, the remaining oil amount and the distance to empty (DTE) are required as the situation information, and the situation information type may be an integer.

다른 예로, 사용자의 우울 지수 판단을 위한 선발화 상황에서 우울 지수 판단이 액션인 경우에는 상황 정보로 수면 시간이 필요하고, 상황 정보 타입은 정수일 수 있다. 또한, 위험 상황 판단을 위한 선발화 상황에서 위험 상황 판단이 액션인 경우에는 상황 정보로 목적지 정보가 필요하고, 상황 정보 타입은 GPS 정보일 수 있다.As another example, when the depression index determination is an action in the starting situation for determining the depression index of the user, sleep time is required as the situation information, and the situation information type may be an integer. In addition, when the dangerous situation determination is an action in the starting situation for determining the dangerous situation, destination information is needed as the situation information, and the situation information type may be GPS information.

사용자 발화 의도에 대응되는 액션 수행과 관련된 상황 정보가 상황 정보 DB(142), 장기 메모리(143) 또는 단기 메모리(144)에 이미 저장되어 있는 경우, 상황 이해기(112c)는 상황 정보 DB(142), 장기 메모리(143) 또는 단기 메모리(144)로부터 해당 정보를 가져와 대화 입력 관리기(111c)에 전달한다.When the situation information related to the action performed corresponding to the user's utterance intention is already stored in the situation information DB 142, the long term memory 143, or the short term memory 144, the situation reader 112c may request the situation information DB 142. ), The information is taken from the long term memory 143 or the short term memory 144 and transferred to the conversation input manager 111c.

사용자 발화 의도에 대응되는 액션 수행과 관련된 상황 정보가 상황 정보 DB(142), 장기 메모리(143) 또는 단기 메모리(144)에 저장되어 있지 않은 경우, 상황 이해기(112c)는 상황 정보 수집 관리기(112b)에 필요한 정보를 요청한다. 상황 정보 수집 관리기(112b)는 상황 정보 수집기(112a)가 필요한 정보를 수집하도록 한다. When the situation information related to performing an action corresponding to the user's utterance intention is not stored in the situation information DB 142, the long term memory 143, or the short term memory 144, the situation understanding unit 112c may use the situation information collection manager ( Request the information required in 112b). The contextual information collection manager 112b allows the contextual information collector 112a to collect necessary information.

상황 정보 수집기(112a)는 주기적으로 데이터를 수집할 수도 있고, 특정 이벤트 발생 시에 수집할 수도 있으며, 주기적으로 수집하다가 특정 이벤트 발생 시에 추가적으로 더 수집할 수도 있다. 또한, 상황 정보 수집 관리기(112b)로부터 데이터 수집 요청이 입력되는 경우에 데이터를 수집할 수도 있다. The situation information collector 112a may periodically collect data, may collect at a specific event occurrence, or may additionally collect at a specific event occurrence. In addition, data may be collected when a data collection request is input from the situation information collection manager 112b.

상황 정보 수집기(112a)는 필요한 정보를 수집하여 상황 정보 DB(142) 또는 단기 메모리(144)에 저장하고, 상황 정보 수집 관리기(112b)에 확인 신호를 전송한다. The contextual information collector 112a collects the necessary information, stores it in the contextual information DB 142 or the short-term memory 144, and transmits a confirmation signal to the contextual information collection manager 112b.

상황 정보 수집 관리기(112b)도 상황 이해기(112c)에 확인 신호를 전송하고, 상황 이해기(112c)는 필요한 정보를 상황 정보 DB(142), 장기 메모리(143) 또는 단기 메모리(144)로부터 가져와 대화 입력 관리기(111c)로 전달한다. The situation information collection manager 112b also transmits a confirmation signal to the situation understanding 112c, and the situation understanding 112c sends necessary information from the situation information DB 142, the long-term memory 143, or the short-term memory 144. Take it and pass it to the dialog input manager 111c.

구체적인 예로, 사용자 발화 의도에 대응되는 액션이 길안내인 경우, 상황 이해기(112c)는 상황 이해 테이블(145)을 검색하여 길안내와 관련된 상황 정보가 현재 위치임을 알 수 있다. As a specific example, when the action corresponding to the user's uttering intention is a road guide, the situation understanding unit 112c may search the situation understanding table 145 to know that the situation information related to the road guide is the current location.

단기 메모리(144)에 현재 위치가 이미 저장되어 있는 경우, 상황 이해기(112c)는 단기 메모리(144)로부터 현재 위치를 가져와 대화 입력 관리기(111c)에 전달한다.If the current position is already stored in the short term memory 144, the situation understander 112c takes the current position from the short term memory 144 and transfers it to the conversation input manager 111c.

단기 메모리(144)에 현재 위치가 저장되어 있지 않은 경우에는, 상황 정보 수집 관리기(112b)에 현재 위치를 요청하고, 상황 정보 수집 관리기(112b)는 상황 정보 수집기(112a)로 하여금 차량 제어기(240)로부터 현재 위치를 획득하게 한다. If the current location is not stored in the short-term memory 144, the current location request is requested from the situation information collection manager 112b, and the situation information collection manager 112b causes the situation information collector 112a to execute the vehicle controller 240. ) To get the current position.

상황 정보 수집기(112a)가 현재 위치를 획득하여 단기 메모리(144)에 저장하고, 상황 정보 수집 관리기(112b)에 확인 신호를 전송한다. 상황 정보 수집 관리기(112b)도 상황 이해기(112c)에 확인 신호를 전송하고, 상황 이해기(112c)는 단기 메모리(144)로부터 현재 위치 정보를 가져와 대화 입력 관리기(111c)로 전달한다. The contextual information collector 112a obtains the current location and stores the current location in the short-term memory 144, and transmits a confirmation signal to the contextual information collection manager 112b. The contextual information collection manager 112b also transmits a confirmation signal to the contextual reader 112c, which obtains the current position information from the short-term memory 144 and delivers it to the conversation input manager 111c.

대화 입력 관리기(111c)는 자연어 이해기(111b)의 출력과 상황 이해기(112c)의 출력을 대화 관리기(120)로 전달하고, 중복된 입력이 대화 관리기(120)로 들어가지 않도록 관리할 수 있다. 이 때, 자연어 이해기(111b)의 출력과 상황 이해기(112c)의 출력은 하나로 합쳐져서 대화 관리기(120)에 전달될 수도 있고, 각각 독립적으로 전달될 수도 있다.The conversation input manager 111c may transmit the output of the natural language reader 111b and the output of the situation understanding 112c to the conversation manager 120, and manage the duplicate input to prevent the input from entering the conversation manager 120. have. In this case, the output of the natural language reader 111b and the output of the situation reader 112c may be combined into one and delivered to the conversation manager 120, or may be delivered independently of each other.

한편, 상황 정보 수집 관리기(112b)는 상황 정보 수집기(112a)가 수집한 데이터가 미리 설정된 조건을 만족하여 특정 이벤트가 발생한 것으로 판단하면 상황 이해기(112c)에 액션 트리거 신호를 전송할 수 있다. Meanwhile, the situation information collection manager 112b may transmit an action trigger signal to the situation understander 112c when it is determined that a specific event occurs because the data collected by the situation information collector 112a satisfies a preset condition.

상황 이해기(112c)는 상황 이해 테이블(145)을 검색하여 해당 이벤트와 관련된 상황 정보를 검색하고, 검색된 상황 정보가 저장되어 있지 않으면 다시 상황 정보 수집 관리기(112b)에 상황 정보의 요청 신호를 전송한다. The context comparator 112c searches the context comprehension table 145 to search for context information related to the corresponding event, and if the searched context information is not stored, transmits a request signal of the context information to the context information collection manager 112b. do.

도 20B의 예시와 같이, 상황 이해 테이블(145)에는 이벤트와 관련된 상황 정보와 상황 정보의 타입이 각각의 이벤트 별로 저장될 수 있다.As illustrated in FIG. 20B, the context understanding table 145 may store context information related to an event and types of context information for each event.

예를 들어, 발생된 이벤트가 엔진 온도 경고인 경우에는 관련된 상황 정보로 정수 타입의 엔진 온도가 저장될 수 있다. 발생된 이벤트가 운전자 졸음 감지인 경우에는 관련된 상황 정보로 정수 타입의 운전자 졸음 단계가 저장될 수 있다. 발생된 이벤트가 타이어 공기압 부족인 경우에는 관련된 상황 정보로 정수 타입의 타이어 공기 압력이 저장될 수 있다. 발생된 이벤트가 연료 경고인 경우에는 관련된 상황 정보로 정수 타입의 주행 가능 거리가 저장될 수 있다. 발생된 이벤트가 센서 이상인 경우에는 관련된 상황 정보로 문자 타입의 센서 명칭이 저장될 수 있다. 또한, 발생된 이벤트가 사용자 우울 지수 판단인 경우에는 관련된 상황 정보로 정수 타입의 우울 지수가 저장될 수 있고, 발생된 이벤트가 위험 상황 판단인 경우에는 관련된 상황 정보로 정수 타입의 위험 상황 단계가 저장될 수 있다. For example, when the generated event is an engine temperature warning, the engine type of the integer type may be stored as related context information. When the generated event is driver drowsiness detection, an integer type driver drowsiness step may be stored as related context information. If the generated event is a tire inflation pressure, the tire type air pressure of the integer type may be stored as related context information. If the generated event is a fuel warning, the integer type of driving distance that can be stored may be stored as related context information. If the generated event is a sensor error, the sensor name of the character type may be stored as related context information. In addition, when the generated event is a user depression index determination, an integer type depression index may be stored as related situation information. When the generated event is a risk situation determination, an integer type dangerous situation step is stored as related situation information. Can be.

상황 정보 수집 관리기(112b)는 상황 정보 수집기(112a)를 통해 필요한 상황 정보를 수집하고, 상황 이해기(112c)에 확인 신호를 전송한다. 상황 이해기(112c)는 상황 정보 DB(142), 장기 메모리(143) 또는 단기 메모리(144)로부터 필요한 상황 정보를 가져와 액션 정보와 함께 대화 입력 관리기(111c)로 전달한다.The contextual information collecting manager 112b collects the necessary contextual information through the contextual information collector 112a and transmits a confirmation signal to the contextual understanding 112c. The situation understanding unit 112c takes necessary situation information from the situation information DB 142, the long term memory 143, or the short term memory 144, and transfers the necessary situation information to the conversation input manager 111c together with the action information.

대화 입력 관리기(111c)는 상황 이해기(112c)의 출력을 대화 관리기(120)로 입력한다. The conversation input manager 111c inputs the output of the situation understanding 112c to the conversation manager 120.

이하, 사용자의 발화가 입력되기 전에 대화 시스템(100)이 스스로 선발화를 출력하는 경우에 대해 설명한다. Hereinafter, a description will be given of a case in which the dialogue system 100 outputs the starting speech by itself before the user's speech is input.

도 21은 사용자의 입력이 수신되기 전에 대화 시스템이 먼저 발화를 출력하는 경우에 적용 가능한 대화 시스템의 제어 블록도이고, 도 22A, 도 22B 및 도 22C는 선발화 조건 테이블에 저장하는 정보의 예시를 나타낸 도면이다.FIG. 21 is a control block diagram of a conversation system applicable when the conversation system first outputs a utterance before a user input is received, and FIGS. 22A, 22B and 22C illustrate examples of information stored in the selection condition table. The figure shown.

도 21을 참조하면, 대화 시스템(100)의 입력 처리기(110)는 선발화 상황인지 여부를 판단하는 선발화 판단기(151)와 중복 태스크 처리기(152)를 더 포함할 수 있고, 저장부(140)는 선발화 조건을 저장하는 선발화 조건 테이블(145a)과 태스크 처리 DB(145b)를 더 포함할 수 있다.Referring to FIG. 21, the input processor 110 of the conversation system 100 may further include a starter determiner 151 and a duplicate task processor 152 that determine whether the starter is in a starting state. 140 may further include a starting condition table 145a for storing the starting condition and a task processing DB 145b.

상황 정보 DB(142), 장기 메모리(143) 및 단기 메모리(144)에 저장된 데이터는 선발화 판단기(151)에 전달될 수 있다. 선발화 판단기(151)는 전달된 데이터를 분석하여 선발화 조건 테이블(145a)에 저장된 선발화 조건이 충족되는지 여부를 판단할 수 있다. Data stored in the contextual information DB 142, the long term memory 143, and the short term memory 144 may be transferred to the starter determiner 151. The starter determiner 151 may analyze the transmitted data to determine whether the starter condition stored in the starter condition table 145a is satisfied.

도 22A의 예시를 참조하면, 선발화 조건 테이블(145a)에는 상황 정보와 관련된 선발화 조건 및 해당 선발화 조건이 만족되었을 때 출력되는 선발화 메시지가 상황 정보 별로 저장될 수 있다. Referring to the example of FIG. 22A, the starting condition table 145a may store the starting condition related to the situation information and the starting message output when the corresponding starting condition is satisfied for each situation information.

선발화 판단기(151)는 상황 정보 DB(142)로부터 전달된 상황 정보가 선발화 조건을 만족하면, 선발화 상황인 것으로 판단하고 선발화 트리거 신호를 발생시킨다. The starter determination unit 151 determines that the starter situation is generated when the situation information transmitted from the situation information DB 142 satisfies the starter condition and generates a starter trigger signal.

선발화 판단기(151)는 선발화 트리거 신호를 해당 선발화 상황에 대응되는 선발화 메시지와 함께 상황 이해기(112c)로 전달할 수 있다. 또한, 해당 선발화 상황에 대한 정보를 함께 전달할 수 있다. 선발화 상황에 대한 정보는 해당 선발화 상황에 대응되는 선발화 조건 또는 후술하는 선발화 상황에 대응되는 액션을 포함할 수 있다.The starter determiner 151 may transmit the starter trigger signal to the situation understander 112c together with the starter message corresponding to the starter situation. In addition, it is possible to convey the information on the starting situation. The information on the starting situation may include a starting condition corresponding to the starting situation or an action corresponding to the starting situation to be described later.

예를 들어, 상황 정보가 타이어 공기압인 경우에는 타이어 공기압이 미리 설정된 기준값 이하인 경우에 선발화 조건을 만족할 수 있다. 선발화 판단기(151)는 타이어 공기압이 선발화 조건을 만족하는 경우, 타이어 공기압 부족으로 인한 선발화 상황인 것으로 판단하고, 선발화 트리거 신호를 발생시킬 수 있다. For example, when the situation information is tire inflation pressure, the selection condition may be satisfied when the tire inflation pressure is equal to or less than a preset reference value. When the tire pneumatic pressure satisfies the starting condition, the starter judging unit 151 may determine that the starting condition is due to insufficient tire pressure, and generate a starting trigger signal.

선발화 판단기(151)는 선발화 트리거 신호를 선발화 메시지와 함께 상황 이해기(112c)로 전달할 수 있다. 일 예로, 타이어 공기압 부족으로 인한 선발화 상황에서는 "타이어 공기압이 너무 낮습니다"와 같이 타이어 공기압이 부족하다는 정보를 알려주는 선발화 메시지가 상황 이해기(112c)에 전달될 수 있다.The starter determiner 151 may transfer the starter trigger signal to the situation understander 112c together with the starter message. For example, in the starting situation due to insufficient tire pressure, a starting message that informs that the tire pressure is insufficient, such as “tire air pressure is too low,” may be transmitted to the situation understanding unit 112c.

또한, 상황 정보가 엔진 온도인 경우에는 엔진 온도가 미리 설정된 기준값 이상인 경우에 선발화 조건을 만족할 수 있다. 선발화 판단기(151)는 엔진 온도가 선발화 조건을 만족하는 경우, 엔진 온도 이상으로 인한 선발화 상황인 것으로 판단하고, 선발화 트리거 신호를 발생시킬 수 있다. In addition, when the situation information is the engine temperature, the starting condition may be satisfied when the engine temperature is equal to or greater than a preset reference value. When the engine temperature satisfies the starting condition, the starter determiner 151 may determine that the starting condition is caused by the engine temperature or more, and generate the starting trigger signal.

선발화 판단기(151)는 선발화 트리거 신호를 선발화 메시지와 함께 상황 이해기(112c)로 전달할 수 있다. 일 예로, 엔진 온도 이상으로 인한 선발화 상황에서는 "엔진 온도가 너무 높습니다"와 같이 엔진이 과열됐다는 정보를 알려주는 선발화 메시지가 상황 이해기(112c)로 전달될 수 있다.The starter determiner 151 may transfer the starter trigger signal to the situation understander 112c together with the starter message. For example, in a starting situation due to an engine temperature or more, a starting message that informs the engine that the engine is overheated, such as “engine temperature is too high,” may be transmitted to the situation understanding unit 112c.

또한, 상황 정보가 잔유량인 경우에는 잔유량이 기준값 이하인 경우에 선발화 조건을 만족할 수 있다. 사용자가 차량의 내비게이션 서비스를 이용하여 목적지를 설정한 경우에는 현재 위치로부터 설정된 목적지까지의 거리에 기초하여 기준값이 설정될 수 있다. 목적지가 설정되지 않은 경우에는 목적지와 무관하게 디폴트로 설정된 기준값이 사용될 수 있는바, 일 예로 연료 부족 경고등을 표시하는 기준값보다 작은 값을 잔유량 부족에 의한 선발화 조건의 기준값으로 설정할 수 있다. 선발화 판단기(151)는 잔유량이 선발화 조건을 만족하는 경우, 잔유량 부족으로 인한 선발화 상황인 것으로 판단하고, 선발화 트리거 신호를 발생시킬 수 있다.In addition, when the situation information is the residual amount, the selection condition may be satisfied when the residual amount is less than or equal to the reference value. When the user sets the destination using the vehicle's navigation service, the reference value may be set based on the distance from the current location to the set destination. When the destination is not set, a reference value set as a default may be used regardless of the destination. For example, a value smaller than the reference value indicating the low fuel warning lamp may be set as the reference value of the starting condition due to the insufficient amount of residual oil. When the remaining amount of water satisfies the starting condition, the starter determiner 151 may determine that the starting state is due to the lack of the remaining amount, and may generate a starting trigger signal.

선발화 판단기(151)는 선발화 트리거 신호를 선발화 메시지와 함께 상황 이해기(112c)로 전달할 수 있다. 일 예로, 잔유량 부족으로 인한 선발화 상황에서는 "목적지까지의 잔유량이 부족합니다"와 같이 잔유량이 부족하다는 정보를 알려주는 선발화 메시지가 상황 이해기(112c)로 전달될 수 있다. The starter determiner 151 may transfer the starter trigger signal to the situation understander 112c together with the starter message. For example, in the starting situation due to insufficient residual amount, a starting message that informs that the residual amount is insufficient, such as "the amount of residual amount to the destination" is insufficient, may be transmitted to the situation understanding unit 112c.

또한, 사용자의 우울 지수 판단을 위한 선발화 상황에서 상황 정보가 수면 정보인 경우에는 수면 시간이 미리 설정된 기준값(5시간) 미만인 경우에 선발화 조건을 만족할 수 있다. 선발화 판단기(151)는 주행 시간이 선발화 조건을 만족하는 경우, 우울 지수 판단을 위한 선발화 트리거 신호와 함께 "최근에 수면이 부족하시네요. 걱정이 있으신가요?"와 같이 수면 시간이 부족하다는 정보와 함께 사용자의 우울 지수를 판단하기 위한 간접적인 질의를 하는 선발화 메시지를 상황 이해기(112c)에 전달할 수 있다. In addition, when the situation information is sleep information in the selection situation for determining the depression index of the user, the selection condition may be satisfied when the sleep time is less than a preset reference value (5 hours). When the running time satisfies the starting condition, the starter judging unit 151 lacks the sleep time such as, "I'm having sleep lately. Are you worried?" With the starting trigger signal for determining the depression index. In addition to the information, the initiation message for the indirect query for determining the depression index of the user may be transmitted to the situation understandr 112c.

또한, 사용자의 위험 상황 판단을 위한 선발화 상황에서 위험 상황 단계가 미리 정해진 단계 이하인 경우 실제 상황 판단을 위한 선발화 조건을 만족할 수 있다. 선발화 판단기(151)는 위험 상황 단계가 선발화 조건을 만족하는 경우, 실제 상황 판단을 위한 선발화 트리거 신호와 함께 "목적지를 설정하시는건 어때요?"와 같이 목적지 설정을 권유하는 선발화 메시지를 상황 이해기(112c)에 전달할 수 있다. In addition, when the risk situation step is less than or equal to a predetermined level in the selection situation for the user to determine the risk situation, the selection condition for the actual situation determination may be satisfied. The starter determination unit 151 selects a destination message such as "How do you set the destination?" Together with the starter trigger signal for determining the actual situation when the dangerous situation step satisfies the starter condition. May be passed to the situation understanding 112c.

다만, 도 22A 및 도 22E에 도시된 선발화 조건과 선발화 메시지는 대화 시스템(100)에 적용될 수 있는 예시에 불과하다. 전술한 예시에서는 선발화 상황에 대응되는 선발화 메시지가 현재 상황을 알려주는 내용인 경우를 예로 들어 설명하였으나, 대화 시스템(100)이 선발화 상황에 필요한 특정 기능 또는 서비스의 실행을 먼저 제안하는 것도 가능하다. However, the starting condition and the starting message shown in FIGS. 22A and 22E are merely examples that may be applied to the conversation system 100. In the above-described example, the case where the starting message corresponding to the starting situation is a content indicating the current situation has been described as an example. However, the dialogue system 100 first suggests execution of a specific function or service required for the starting situation. It is possible.

도 22B의 예시를 참조하면, 타이어 공기압 부족으로 인한 선발화 상황인 경우 또는 엔진 온도 이상으로 인한 선발화 상황인 경우에 이에 대응되는 선발화 메시지로 "정비소를 예약할까요?"와 같이 정비소 예약 서비스를 선제적으로 제안하는 내용을 저장할 수 있다. Referring to the example of FIG. 22B, when the starting situation is caused by insufficient tire pressure or the starting situation is caused by an abnormal engine temperature, a starting point reservation service such as "Should I reserve a repair shop?" You can save what you offer proactively.

또한, 잔유량 부족으로 인한 선발화 상황인 경우에는 이에 대응되는 선발화 메시지로 "주유소를 안내할까요?"와 같이 주유소 안내 서비스를 선제적으로 제안하는 내용을 저장할 수 있다.In addition, in the case of the starter situation due to the insufficient amount of residual oil, a content for proactively proposing a gas station guide service, such as "Do you want to guide a gas station?", May be stored as a starter message corresponding thereto.

또한, 상황 정보가 차량 내부 온도인 경우에는 차량 내부 온도가 미리 설정된 기준 범위를 벗어나는 경우에 선발화 조건을 만족할 수 있다. 상황 이해기(112c)는 차량 내부 온도가 선발화 조건을 만족하는 경우, 차량 내부 온도 이상으로 인한 선발화 상황인 것으로 판단하고, 선발화 트리거 신호를 발생시킬 수 있다.In addition, when the situation information is the vehicle internal temperature, the starting condition may be satisfied when the vehicle internal temperature is out of a preset reference range. When the vehicle internal temperature satisfies the starting condition, the situation understanding unit 112c may determine that the starting condition is due to the vehicle internal temperature or higher and generate a starting trigger signal.

차량 내부 온도 이상으로 인한 선발화 상황에서는 "공기 조화기를 작동할까요?"와 같이 내부 온도 조절 기능을 선제적으로 제안하는 내용이 선발화 메시지로 저장될 수 있다. In a starting situation due to an abnormal temperature inside the vehicle, a preliminary suggestion of an internal temperature control function may be stored as a starting message such as "will the air conditioner be operated?".

또한, 상황 정보가 마이크 입력인 경우에는 마이크 입력 값이 미리 설정된 기준값 이하인 경우에 선발화 조건을 만족할 수 있다. 상황 이해기(112c)는 마이크 입력이 선발화 조건을 만족하는 경우, 분위기 전환을 위한 선발화 상황인 것으로 판단하고, 선발화 트리거 신호를 발생시킬 수 있다. 이에 대응되는 선발화 메시지로는 "음악을 재생할까요?"와 같이 멀티 미디어 재생 서비스를 선제적으로 제안하는 내용이 저장될 수 있다.In addition, when the situation information is a microphone input, the start condition may be satisfied when the microphone input value is equal to or less than a preset reference value. When the microphone input 112 satisfies the starting condition, the situation understanding unit 112c may determine that the starting condition for changing the atmosphere is generated and generate the starting trigger signal. As the corresponding starter message, contents which preemptively propose a multimedia playback service may be stored, such as "play music?"

또한, 상황 정보가 윈도우 개폐 여부와 강수 여부인 경우에, 윈도우가 오픈되어 있고 강수 상황인 경우에 선발화 조건을 만족할 수 있다. 상황 이해기(112c)는 윈도우가 오픈되어 있고 강수 상황인 경우에 윈도우 오픈으로 인한 선발화 상황인 것으로 판단하고, 선발화 트리거 신호를 발생시킬 수 있다.In addition, when the situation information is whether the window is opened or closed, the start condition may be satisfied when the window is open and the precipitation situation. The situation understanding unit 112c may determine that the starting situation is due to the window opening when the window is open and the precipitation situation, and generate the starting trigger signal.

윈도우 오픈으로 인한 선발화 상황에서는 "윈도우를 클로즈할까요?"와 같이 윈도우 클로즈 기능을 선제적으로 제안하는 내용이 선발화 메시지로 저장될 수 있다. In the starting situation due to the opening of the window, the contents of preemptively suggesting the window closing function, such as "Do you want to close the window?", May be stored as the starting message.

전술한 도 22A 및 도 22B의 예시에서는, 선발화 조건 테이블(145a)에 선발화 상황에 대응되는 선발화 메시지가 미리 저장되는 경우를 예로 들었다. 그러나, 대화 시스템(100)의 예시가 이에 한정되는 것은 아닌바, 선발화 상황에 대응되는 액션이 미리 저장되는 것도 가능하다. In the example of FIGS. 22A and 22B described above, the case in which the selection message corresponding to the selection situation is previously stored in the selection condition table 145a is taken as an example. However, the example of the dialogue system 100 is not limited thereto, and an action corresponding to the selection situation may be stored in advance.

전술한 바와 같이, 사용자의 발화가 입력되는 경우에는 자연어 이해기(111b)가 도메인/액션 추론 규칙 DB(141)를 참조하여 사용자의 발화에 대응되는 액션을 추출하였다. 대화 시스템(100)이 선발화를 출력하는 경우에는 도 22C에 도시된 바와 같이, 선발화 상황마다 그에 대응되는 액션이 미리 저장될 수 있다. As described above, when the user's utterance is input, the natural language interpreter 111b extracts an action corresponding to the user's utterance with reference to the domain / action inference rule DB 141. When the conversation system 100 outputs the starter, as shown in FIG. 22C, an action corresponding to the starter may be stored in advance.

예를 들어, 타이어 공기압 이상으로 인한 선발화 상황 및 엔진 온도 이상으로 인한 선발화 상황의 경우에는 정비소 안내가 그에 대응되는 액션으로 저장될 수 있고, 잔유량 부족으로 인한 선발화 상황에서는 주유소 안내가 그에 대응되는 액션으로 저장될 수 있다.For example, in the case of a starter situation due to an abnormal tire inflation pressure and a starter situation due to an engine temperature abnormality, the shop guide may be stored as a corresponding action, and in a starter situation due to a lack of residual oil, a gas station guide may respond to it. Can be stored as an action.

또한, 차량 내부 온도 이상으로 인한 선발화 상황의 경우에는 공기 조화기 작동이 그에 대응되는 액션으로 저장될 수 있고, 분위기 전환을 위한 선발화 상황의 경우에는 멀티미디어 재생이 그에 대응되는 액션으로 저장될 수 있다. 윈도우 오픈으로 인한 선발화 상황의 경우에는 윈도우 개폐가 그에 대응되는 액션으로 저장될 수 있다.전술한 바와 같이 선발화 상황에 대응되는 액션이 미리 저장되어 있는 경우에는, 선발화 트리거 신호와 함께 그에 대응되는 액션이 상황 이해기(112c)에 전달되고, 대화 입력 관리기(111c)는 선발화 트리거 신호와 그에 대응되는 액션을 대화 관리기(120)에 입력할 수 있다. 이 경우, 대화 관리기(120)에서는 사용자의 발화가 입력된 경우와 동일한 동작이 수행될 수 있다.In addition, the air conditioner operation may be stored as an action corresponding to the starter situation due to an abnormal temperature inside the vehicle, and multimedia playback may be stored as an action corresponding to the starter situation for changing the atmosphere. have. In the case of the starting situation due to the window opening, opening / closing the window may be stored as an action corresponding thereto. As described above, when an action corresponding to the starting situation is previously stored, the window opening and closing action may be performed together with the starting trigger signal. The action is transmitted to the situation understanding unit 112c, and the conversation input manager 111c may input the start trigger signal and the action corresponding thereto to the conversation manager 120. In this case, the conversation manager 120 may perform the same operation as when the user's speech is input.

다른 예로, 선발화 조건 테이블(145a)에 선발화 상황마다 그에 대응되는 가상의 사용자 발화를 매칭시켜 저장하거나, 선발화 판단기(151)가 선발화 상황에 대응되는 가상의 사용자 발화를 생성하는 것도 가능하다. 선발화 판단기(151)는 선발화 조건 테이블(145a)에 저장되거나 자신이 생성한 사용자 발화를 텍스트 형태로 자연어 이해기(111b)에 전달할 수 있다. 예를 들어, 타이어 공기압 이상으로 인한 선발화 상황의 경우, "타이어 공기압 확인해줘"나 "정비소 안내해줘"와 같은 가상의 사용자 발화가 저장되거나 생성될 수 있다. 또는, 차량 내부 온도 이상으로 인한 선발화 상황의 경우에는 "에어컨 켜줘"와 같은 가상의 사용자 발화가 저장되거나 생성될 수 있다.As another example, a virtual user utterance corresponding to each starting situation may be matched and stored in the starting condition table 145a, or the starting decision 151 may generate a virtual user utterance corresponding to the starting situation. It is possible. The starter determiner 151 may transfer the user speech stored in the starter condition table 145a or generated by the starter determiner 151a in text form to the natural language reader 111b. For example, in the case of starting shoes due to abnormal tire pressure, virtual user utterances such as "Please check tire pressure" or "Guide me the repair shop" may be stored or generated. Alternatively, in the case of a start-up situation due to an abnormal temperature inside the vehicle, a virtual user utterance such as “turn on the air conditioner” may be stored or generated.

또는, 모바일 기기(400)가 차량(100)과 대화 시스템(100) 사이의 게이트웨이 역할을 수행하는 모바일 게이트웨이 방식에 있어서, 모바일 기기(400)의 대화 시스템 클라이언트(470)가 선발화 판단기(151)의 동작 중 일부를 수행할 수 있다. 이 경우, 대화 시스템 클라이언트(470)가 선발화 상황에 대응되는 가상의 사용자 발화를 생성하여 자연어 이해기(111b)에 전달할 수 있다.Alternatively, in the mobile gateway method in which the mobile device 400 serves as a gateway between the vehicle 100 and the conversation system 100, the conversation system client 470 of the mobile device 400 selects the starter determiner 151. Some of the operations of) can be performed. In this case, the conversation system client 470 may generate a virtual user speech corresponding to the selection situation and deliver the virtual user speech to the natural language reader 111b.

도 22D 내지 도 22F는 선발화 조건 테이블에 저장하는 정보의 다른 예시를 나타낸 도면이다. 22D to 22F are diagrams showing another example of information stored in the starting condition table.

도 22D를 참조하면, 선발화 조건 테이블(145a)에는 사용자의 우울감 판단이 필요한 상황임을 추정할 수 있는 상황 정보와 관련된 선발화 조건 및 이러한 선발화 조건이 만족되었을 때 출력되는 선발화 메시지가 상황 별로 저장될 수 있다. Referring to FIG. 22D, in the selection condition table 145a, the selection condition related to the situation information for estimating that the user needs to determine the depression and the selection message output when the selection condition is satisfied for each situation are described. Can be stored.

예를 들어, 상황 정보가 차량 속도인 경우에는 차량이 정지하는 경우에 선발화 조건을 만족할 수 있다. 선발화 판단기(151)는 차량 속도가 선발화 조건을 만족하는 경우, 사용자의 우울감 판단이 필요한 상황인 것으로 판단하고, 선발화 트리거 신호와 함께 "오늘 기분이 어떠신가요?"와 같이 사용자의 우울감을 판단하기 위한 선발화 메시지를 상황 이해기(112c)에 전달할 수 있다. For example, when the situation information is the vehicle speed, the starting condition may be satisfied when the vehicle is stopped. When the vehicle speed satisfies the starting condition, the starter judging unit 151 determines that the user's depression is necessary, and the user's feeling of depression such as "How are you feeling today" with the starting trigger signal. The starter message for judgment may be forwarded to the situation understanding 112c.

또한, 상황 정보가 라디오/TV/신문 내용인 경우, 출력되는 라디오/TV/신문 내용이 우울감과 관련있는 선발화 조건을 만족하면, 선발화 트리거 신호와 함께 "요새 우울증 있는 사람이 많은가봐요. 괜찮으신가요?"라는 선발화 메시지가 전달될 수 있다.In addition, if the situation information is radio / TV / newspaper content, if the output radio / TV / newspaper content satisfies the selection condition related to depression, it is accompanied by the selection trigger signal. Can be delivered. "

또한, 상황 정보가 바이오리듬 정보이고, 바이오리듬 지수가 기준값보다 낮은 경우, 선발화 트리거 신호와 함께 "바이오리듬이 안 좋으시네요. 무슨 일 있으신가요?"라는 선발화 메시지가 전달될 수 있다. In addition, when the situation information is biorhythm information and the biorhythm index is lower than the reference value, the start message may be transmitted along with the start trigger signal, "Biorhythm is not good. What is happening?"

또한, 상황 정보가 수면 정보이고, 최근 수면 시간이 기준값보다 낮은 경우, 선발화 트리거 신호와 함께 "최근에 수면이 부족하시네요. 무슨 일 있으신가요?"라는 선발화 메시지가 전달될 수 있다.In addition, when the situation information is sleep information and the recent sleep time is lower than the reference value, a starter message, such as, "You have recently gone to sleep. What is happening?" May be transmitted with the starter trigger signal.

또한, 상황 정보가 재생 음원인 경우, 재생되는 음원의 BPM(Beats Per Minute)이 미리 정해진 기준값보다 낮은 경우, "음악이 슬픈데요. 슬픈 일이 있으신가요?"라는 선발화 메시지가 출력될 수 있다.In addition, when the situation information is a playback sound source, when the BPM (Beats Per Minute) of the played music sound is lower than a predetermined reference value, a start message may be output, "The music is sad. Do you have a sad day?" .

또한, 상황 정보가 사용자 표정 정보인 경우, 사용자가 우는 경우, "왜 울어요?"라는 선발화 메시지가 출력될 수 있으며, 상황 정보가 마이크 입력인 경우, 사용자가 한숨을 쉬는 경우 "한숨을 많이 쉬어서 땅이 꺼지겠어요. 안좋은 일이 있으신가요?"라는 선발화 메시지가 출력될 수 있다. In addition, when the situation information is user facial expression information, when the user cries, a starting message "Why cry?" May be output. When the situation information is a microphone input, when the user sighs, "a lot of sighs" may be output. The ground will go off due to rest. Is there a bad thing? "

또한, 상황정보가 날씨 정보인 경우, 우천시 "비가 오는 날에는 기분이 다운되기 마련이죠. 오늘 기분은 어떠신가요?"라는 선발화 메시지가 출력될 수 있다. In addition, when the situation information is weather information, a starter message, such as rainy weather, "the mood falls on a rainy day. How are you feeling today?" May be output.

이 외에도, 상황 정보가 사용자 정보의 제어명령인 경우, 우울 지수 판단 명령이 입력되는 경우, "안 좋은 일이 있으신가요?"라는 선발화 메시지가 출력되어 사용자의 우울 지수 판단을 위한 대화를 시작할 수 있다. In addition, when the situation information is a control command of the user information, when a depression index determination command is input, a starting message "Are there any bad things?" Is output and a conversation for determining the depression index of the user may be started. have.

도 22E를 참조하면, 선발화 조건 테이블(145a)에는 사용자의 우울감 판단이 필요한 상황임을 추정할 수 있는 상황 정보와 관련된 선발화 조건 및 이러한 선발화 조건이 만족되었을 때 수행되는 액션이 미리 저장될 수 있다. Referring to FIG. 22E, the starting condition table 145a may store, in advance, a starting condition related to situation information for estimating that the user needs to determine depression and an action performed when the starting condition is satisfied. have.

이 때, 사용자의 우울감 판단이 필요한 상황임을 추정할 수 있는 상황 정보와 관련된 선발화 조건이 만족되는 경우에 대응되는 액션으로 [우울 지수 판단]이 저장될 수 있다. At this time, [depression index determination] may be stored as an action corresponding to the case where the selection condition related to the situation information for estimating that the user needs to determine the depression is satisfied.

예를 들어, 차량이 정지하는 상황, 라디오/TV/신문 내용이 우울감과 관련되는 상황, 바이오리듬 지수가 낮은 상황, 수면 시간이 부족한 상황, 재생 음원의 템포가 느린 상황, 사용자가 우는 상황, 사용자의 한숨이 감지되는 상황, 날씨가 우천시인 상황 및 우울 지수 판단 명령이 입력되는 상황의 경우에는 우울 지수 판단이 이에 대응되는 액션으로 저장될 수 있다. For example, when the vehicle is stopped, the radio / TV / newspaper is related to depression, the biorhythm index is low, the sleep time is insufficient, the tempo of the playback source is slow, the user is crying, the user Depression index determination may be stored as a corresponding action in a situation where a sigh is detected, when the weather is rainy, and when a depression index determination command is input.

이처럼, 선발화 조건 테이블(145a)에는 [우울 지수 판단]에 대응되는 하나 이상의 선발화 조건이 저장될 수도 있다.As such, one or more selection conditions corresponding to [depression index determination] may be stored in the selection condition table 145a.

선발화 판단기(151)는 전술한 사용자의 우울감 판단이 필요한 상황임을 추정할 수 있는 상황 정보와 관련된 선발화 조건이 만족되는 경우에, 선발화 트리거 신호와 함께 그에 대응되는 액션으로 [우울 지수 판단]을 상황 이해기(112c)에 전달할 수 있다. 상황 이해기(112c)는 이러한 [우울 지수 판단] 액션을 대화 관리기(120)에 입력할 수 있다. If the starter conditioner 151 is satisfied with the starter condition related to the situation information for estimating that the above-described user's depression judgment is required, the starter determiner 151 determines the depression index as an action corresponding to the starter trigger signal. ] Can be passed to the situation understanding 112c. The situation understanding 112c may input such [depression index determination] action into the conversation manager 120.

이러한 우울 지수 판단을 위한 선발화 메시지는 Q&A 목록(146g)에 저장될 수 있으며, 대화 관리기(120)는 해당 상황 정보에 기초하여 Q&A 목록(146g)에 저장된 질문 데이터 중에서 선발화 메시지를 추출하거나 생성할 수 있다. 또한, 도 22F에 도시된 바와 같이, 선발화 조건 테이블(145a)에는 사용자가 위험 상황인지 여부를 판단하기 위한 상황 정보에 대한 선발화 조건 및 이러한 선발화 조건이 만족되었을 때 수행되는 액션으로 위험 상황 판단이 저장될 수 있다. 이 때, 위험 상황 판단을 위한 선발화 조건과 관련된 적어도 하나의 상황 정보가 저장될 수 있다.The starting message for determining the depression index may be stored in the Q & A list 146g, and the conversation manager 120 extracts or generates the starting message from the question data stored in the Q & A list 146g based on the situation information. can do. In addition, as illustrated in FIG. 22F, the starting condition table 145a includes a starting condition for the situation information for determining whether the user is in a dangerous situation and an action performed when the starting condition is satisfied. The judgment can be stored. At this time, at least one situation information related to the starting condition for the risk situation determination may be stored.

선발화 판단기(151)는 상황 정보 중 동승자 정보, 목적지 정보 및 연고지 정보에 기초하여 '동승자 없이, 연고가 없는 먼 지역이 목적지인 경우'라는 선발화 조건을 만족하는 경우, [위험 상황 판단] 액션을 상황 이해기(112c)에 전달할 수 있다. When the starter judging unit 151 satisfies the starter condition of 'if the distant area without a passenger is the destination' based on the passenger information, the destination information and the connection site information among the situation information, the [dangerous situation determination] The action may be passed to the situation understanding 112c.

또한, 상황 정보 중 동승자 정보, 사고 다발 지역 정보에 기초하여 '동승자 없이, 사고 다발 지역에 위치하는 경우'라는 선발화 조건을 만족하는 경우, [위험 상황 판단] 액션을 상황 이해기(112c)에 전달할 수 있다.Also, when the selection condition of 'if no passenger is located in the accident occurrence area' is satisfied based on the passenger information and the accident occurrence area information among the situation information, the [dangerous situation determination] action is sent to the situation understanding unit 112c. I can deliver it.

또한, 상황 정보 중 동승자 정보 및 목적지 정보에 기초하여 '동승자 없이, 목적지 없이 주행하는 경우'라는 선발화 조건을 만족하는 경우, [위험 상황 판단] 액션을 상황 이해기(112c)에 전달할 수 있다.In addition, when the starting condition 'when driving without a passenger and without a destination' is satisfied based on the passenger information and the destination information, the [dangerous situation determination] action may be transmitted to the situation understanding unit 112c.

또한, 상황 정보 중 수면 정보에 기초하여 '최근 한 달 동안의 평균 수면 시간이 기준값 이하인 경우'라는 선발화 조건을 만족하는 경우, [위험 상황 판단] 액션을 상황 이해기(112c)에 전달할 수 있다.In addition, when the selection condition, 'when the average sleep time during the last month is less than or equal to the reference value', is satisfied based on the sleep information in the situation information, the [risk situation determination] action may be transmitted to the situation understandr 112c. .

또한, 상황 정보 중 마이크 입력에 기초하여 '사용자가 30분에 1번 이상 한숨을 쉬는 경우'라는 선발화 조건을 만족하는 경우 또는 '사용자가 의미를 알 수 없는 혼잣말을 하는 경우'라는 선발화 조건을 만족하는 경우, [위험 상황 판단] 액션을 상황 이해기(112c)에 전달할 수 있다.In addition, based on the microphone input of the situation information, if the user satisfies the starting condition of 'if the user sighs more than once every 30 minutes' or the case of 'if the user speaks a message of unknown meaning' If satisfactory, the [risk situation determination] action can be passed to the situation understanding (112c).

상황 이해기(112c)는 이러한 [위험 상황 판단] 액션을 대화 관리기(120)에 입력할 수 있고, 대화 관리기(120)는 사고 대응 매뉴얼 DB(148b)에 저장된 데이터에 기초하여 사용자가 위험 상황인지 여부를 판단하기 위한 선발화 메시지를 추출하거나 생성할 수 있다.자연어 이해기(111b)는 전달된 가상의 사용자 발화에 대응되는 도메인, 액션 등을 추출하여 대화 입력 관리기(111c)에 전달할 수 있다. 자연어 이해기(111b)가 추출한 액션은 선발화 상황에 대응되는 액션이 된다. 선발화 상황에 대응되는 액션이 대화 관리기(120)에 전달된 이후의 과정은 사용자가 먼저 발화한 경우와 동일하게 진행될 수 있다. The situation understanding 112c may input such a [risk situation determination] action into the conversation manager 120, and the conversation manager 120 may determine whether the user is in a dangerous situation based on the data stored in the accident response manual DB 148b. The verbalization message for determining whether or not to be extracted may be generated or generated. The natural language reader 111b may extract a domain, an action, and the like corresponding to the delivered virtual user speech and transmit the extracted domain message to the conversation input manager 111c. The action extracted by the natural language reader 111b becomes an action corresponding to the selection situation. After the action corresponding to the starting situation is transmitted to the conversation manager 120, the process may be performed in the same manner as when the user first speaks.

전술한 상황 정보, 선발화 조건, 선발화 메시지 및 액션은 대화 시스템(100)의 실시예에 적용 가능한 예시들에 불과하고, 대화 시스템(100)의 실시예가 전술한 예시들에 한정되는 것은 아니다. 이 외에도 다양한 상황 정보, 선발화 조건, 선발화 메시지 및 액션이 저장될 수 있다.The above-described situation information, starting condition, starting message and action are only examples applicable to the embodiment of the conversation system 100, and the embodiment of the conversation system 100 is not limited to the above examples. In addition, various situation information, starting conditions, starting messages and actions may be stored.

선발화 판단기(151)가 선발화 트리거 신호와 선발화 상황에 관한 정보를 상황 이해기(112c)에 전달하면, 상황 이해기(112c)는 중복 태스크 처리기(152)에 선발화 상황에 관한 정보를 전달한다. When the starter determiner 151 transmits the starter trigger signal and the information on the starter situation to the situation understander 112c, the situation understander 112c informs the duplicate task processor 152 about the starter situation. To pass.

중복 태스크 처리기(152)는 태스크 처리 DB(145b)에 저장된 정보에 기초하여, 현재 발생한 선발화 상황과 관련된 태스크가 이미 처리되었거나, 진행 중인 중복 태스크인지 여부를 판단할 수 있다. The duplicate task processor 152 may determine whether a task related to the currently occurring starting situation is already processed or a duplicate task in progress based on the information stored in the task processing DB 145b.

태스크 처리 DB(145b)에는 대화 시스템(100)에서 처리되었거나 진행 중인 태스크에 관한 정보가 저장된다. 예를 들어, 대화 이력(대화 내용과 각각의 대화 시점 포함), 대화 시점에서의 차량 상태, 태스크 완료 여부 등을 저장할 수 있다. 또한, 대화와 관계없이 내비게이션 기능을 이용한 길 안내와 같은 태스크의 진행 및 처리 결과도 저장될 수 잇다.The task processing DB 145b stores information about tasks processed or in progress in the conversation system 100. For example, the conversation history (including the conversation contents and each conversation time point), the vehicle state at the time of the conversation, and whether the task is completed may be stored. In addition, the progress and processing results of tasks such as driving directions using the navigation function may be stored regardless of the conversation.

구체적인 예로, 잔유량 부족으로 인한 선발화 상황에서는, 중복 태스크 처리기(152)가 태스크 처리 DB(145b)에 저장된 정보에 기초하여 주유소 안내 태스크가 진행 중인지 여부를 판단할 수 있다. 주유소 안내를 위한 대화가 진행 중이거나 주유소 안내 액션이 진행 중인 경우, 중복 태스크 처리기(152)는 현재 선발화 상황과 관련된 태스크를 중복 태스크로 판단하고, 선발화 상황을 종료시킬 수 있다.As a specific example, in the starting situation due to insufficient residual amount, the redundant task processor 152 may determine whether the gas station guide task is in progress based on the information stored in the task processing DB 145b. When a conversation for a gas station guide is in progress or a gas station guide action is in progress, the duplicate task processor 152 may determine a task related to the current starting situation as a duplicate task and terminate the starting situation.

또는, 이전에 주유소 안내를 위한 발화를 출력하였고, 사용자가 주유소 안내를 거부한 대화 이력이 존재하는 경우에도, 중복 태스크 처리기(152)는 현재 선발화 상황과 관련된 태스크를 중복 태스크로 판단하고, 선발화 상황을 종료시킬 수 있다. Alternatively, even when the speech for the gas station guide has been previously output and there is a conversation history in which the user rejects the gas station guidance, the duplicate task processor 152 determines the task related to the current starting situation as a duplicate task, and selects it. You can end the fire situation.

또는, 주유소 안내를 위한 대화 이력과 관계 없이, 현재 내비게이션 기능을 이용한 주유소 안내 태스크가 진행 중인 경우에도, 중복 태스크 처리기(152)는 현재 선발화 상황과 관련된 태스크를 중복 태스크로 판단하고, 선발화 상황을 종료시킬 수 있다. 중복 태스크 처리기(152)는 태스크 처리 DB(14b)에 저장된 정보로부터 현재 내비게이션 기능을 이용한 주유소 안내 태스크가 진행 중임을 알 수 있다. Alternatively, even when the gas station guide task using the navigation function is currently in progress, the duplicate task processor 152 determines the task related to the current starting situation as a duplicate task regardless of the conversation history for the gas station guidance. Can be terminated. The duplicate task processor 152 may know from the information stored in the task processing DB 14b that a gas station guide task using the navigation function is in progress.

또는, 잔유량 안내와 관련된 대화가 수행된 시점으로부터 기준 시간이 경과하지 않은 경우에는 주유소 안내 태스크가 진행 중이지 않더라도 사용자가 스스로 주유소를 향해 주행 중인 경우도 있을 수 있다는 점을 고려하여 현재 선발화 상황과 관련된 태스크를 중복 태스크로 판단하고, 선발화 상황을 종료시킬 수 있다. Alternatively, if the reference time has not elapsed since the conversation related to the residual flow guidance, the user may be driving toward the gas station by himself even if the gas station guide task is not in progress. The related task may be determined as a duplicate task, and the starting situation may be terminated.

또한, 사용자의 생일 또는 사용자 가족의 생일 등 장기 메모리(143)에 저장된 정보에 기초하여 일정을 안내하기 위한 선발화 상황인 경우, 이전에 동일한 일정을 안내한 대화 이력이 존재하고, 해당 대화가 수행된 시점으로부터 기준 시간만큼 경과하지 않았으면, 중복 태스크 처리기(152)는 현재 선발화 상황과 관련된 태스크를 중복 태스크로 판단하고, 선발화 상황을 종료시킬 수 있다. In addition, in the case of a selection situation for guiding a schedule based on information stored in the long-term memory 143 such as a user's birthday or a family's birthday, a conversation history of guiding the same schedule previously exists, and the conversation is performed. If the elapsed time has not elapsed by the reference time, the duplicate task processor 152 may determine that the task related to the current starting situation is a duplicate task and terminate the starting situation.

즉, 중복 태스크 처리기(152)는 태스크 처리 DB(145b)에 저장된 대화 이력에 기초하여 이미 출력된 선발화 인지 여부, 선발화 상황에 대한 사용자의 의사 등을 판단할 수 있고, 저장된 대화 시점, 사용자의 의사, 차량 상태 또는 태스크 완료 여부에 기초하여 중복 태스크 여부를 판단할 수 있다. That is, the duplicate task processor 152 may determine whether the starting information is already output, the user's intention about the starting situation, and the like based on the conversation history stored in the task processing DB 145b. It may be determined whether a duplicate task is based on the intention of the user, the vehicle state, or whether the task is completed.

중복 태스크 처리기(152)에는 태스크 처리 DB(145b)에 저장된 정보에 기초하여 중복 태스크인지 여부 즉, 선발화 상황을 종료시킬 지 여부를 판단하는 정책이 저장될 수 있다. 중복 태스크 처리기(152)는 저장된 정책에 따라 현재 선발화 상황에 관련된 태스크가 중복 태스크인지 여부를 판단하고, 중복 태스크인 것으로 판단되면, 선발화 상황을 종료시킬 수 있다.The duplicate task processor 152 may store a policy for determining whether the task is a duplicate task or not, based on the information stored in the task processing DB 145b. The duplicate task processor 152 may determine whether a task related to the current starting situation is a duplicate task according to the stored policy, and if the duplicate task processor 152 determines that the task is a duplicate task, the duplicate task processor 152 may terminate the starting situation.

한편, 전술한 예시에서는 선발화 처리를 위해 선발화 판단기(151), 중복 태스크 처리기(152), 선발화 조건 테이블(145a), 태스크 처리 DB(145b)의 구성요소를 포함하는 경우에 대해 설명하였다. On the other hand, the above-described example will be described for the case of including the components of the starter determination unit 151, the duplicate task processor 152, the starter condition table 145a, the task processing DB 145b for the starter processing. It was.

그러나, 대화 시스템(100)의 예시가 이에 한정되는 것은 아니며, 상기 추가된 구성요소들의 동작을 도 19A 및 도 19B에 도시된 구성요소들이 수행하는 것도 가능함은 물론이다.However, the example of the dialogue system 100 is not limited thereto, and it is of course possible that the components shown in FIGS. 19A and 19B perform the operations of the added components.

예를 들어, 상황 이해기(112c)가 선발화 조건의 만족 여부를 판단하는 선발화 판단기(151)의 동작 및 중복 태스크를 처리하는 중복 태스크 처리시(152)의 동작을 수행할 수 있다.For example, the situation understander 112c may perform an operation of the starter determiner 151 that determines whether the starter condition is satisfied and an operation of the duplicate task process 152 that processes the duplicated task.

또한, 선발화 조건 테이블(145a)에 저장되는 정보는 상황 이해 테이블(145)에 저장될 수도 있으며, 태스크 처리 DB(145b)에 저장되는 정보는 후술하는 대화/액션 상태 DB(147)에 저장되는 것도 가능하다. In addition, the information stored in the start condition table 145a may be stored in the situation understanding table 145, and the information stored in the task processing DB 145b may be stored in the conversation / action status DB 147 described later. It is also possible.

도 23은 대화 관리기의 구성이 세분화된 제어 블록도이고, 도 24는 연관 액션 DB에 저장된 정보의 예시를 나타낸 도면이고, 도 25은 액션 수행 조건 DB에 저장된 정보의 예시를 나타낸 도면이며, 도 26은 액션 인자 DB에 저장된 정보의 예시를 나타낸 도면이다.FIG. 23 is a block diagram illustrating a detailed configuration of a conversation manager, FIG. 24 illustrates an example of information stored in the associated action DB, FIG. 25 illustrates an example of information stored in the action performing condition DB, and FIG. 26. Is a diagram illustrating an example of information stored in the action factor DB.

도 23을 참조하면, 대화 관리기(120)는 대화 또는 액션을 생성/삭제/업데이트하도록 요청하는 대화 흐름 관리기(121), 대화 흐름 관리기(121)의 요청에 따라 대화 또는 액션을 생성/삭제/업데이트하는 대화 액션 관리기(122), 상황에 대한 모호성과 대화에 대한 모호성을 해결하여 궁극적으로 사용자의 의도를 명확히 하는 모호성 해결기(123), 액션 수행에 필요한 인자를 관리하는 인자 관리기(124), 복수의 후보 액션들에 대해 액션 수행 가부를 판단하고, 이들의 우선 순위를 결정하는 액션 우선순위 결정기(125) 및 외부 컨텐츠 목록 및 관련 정보를 관리하고 외부 컨텐츠 쿼리에 필요한 인자 정보를 관리하는 외부 정보 관리기(126)를 포함할 수 있다.Referring to FIG. 23, the conversation manager 120 may create / delete / update a conversation or action according to a request of the conversation flow manager 121 and the conversation flow manager 121 that request to create / delete / update a conversation or action. The dialogue action manager 122, the ambiguity resolver 123 to resolve the ambiguity of the situation and the ambiguity of the conversation ultimately to clarify the user's intention, the argument manager 124 for managing the factors necessary to perform the action, a plurality The action priority determiner 125 determines whether to perform actions on candidate actions of the user, and determines the priority of the actions, and an external information manager that manages an external content list and related information and manages factor information required for an external content query. 126 may include.

대화 관리기(120)는 전술 또는 후술하는 동작을 수행하기 위한 프로그램이 저장되는 메모리 및 저장된 프로그램을 실행시키는 프로세서를 포함할 수 있다. 메모리와 프로세서는 각각 적어도 하나 마련될 수 있고, 복수 개 마련되는 경우에는 이들이 하나의 칩 상에 집적될 수도 있고 물리적으로 분리될 수도 있다.The conversation manager 120 may include a memory for storing a program for performing the above-described or later operation, and a processor for executing the stored program. At least one memory and a processor may be provided, and in the case of a plurality of processors, they may be integrated on one chip or physically separated.

또한, 대화 관리기(120)에 포함되는 각각의 구성요소들이 단일 프로세서에 의해 구현되는 것도 가능하고, 별개의 프로세서에 의해 구현되는 것도 가능하다.In addition, each component included in the conversation manager 120 may be implemented by a single processor, or may be implemented by a separate processor.

또한, 대화 관리기(120)와 입력 처리기(110) 역시 단일 프로세서에 의해 구현되는 것도 가능하고, 별개의 프로세서에 의해 구현되는 것도 가능하다.In addition, the conversation manager 120 and the input processor 110 may also be implemented by a single processor or may be implemented by separate processors.

사용자의 발화가 입력된 경우 또는 선발화 상황에 매칭된 사용자 발화가 자연어 이해기(111b)에 전달된 경우에는, 대화 입력 관리기(111c)가 자연어 이해 결과(자연어 이해기의 출력)와 상황 정보(상황 이해기의 출력)를 대화 흐름 관리기(121)에 전달한다. 또한, 선발화 상황이 발생한 경우에는 선발화 트리거 신호를 함께 전달하는 것도 가능하다. When the user's utterance is input or when the user utterance matched to the starting situation is transmitted to the natural language understanding 111b, the conversation input manager 111c transmits the natural language understanding result (output of the natural language understanding) and the situation information ( Output of the context comparator) to the conversation flow manager 121. In addition, when a starting situation occurs, the starting trigger signal may be transmitted together.

자연어 이해기(111b)의 출력은 도메인, 액션 등의 정보 외에도 형태소 분석 결과와 같은 사용자의 발화 내용 자체에 대한 정보도 포함한다. 상황 이해기(112c)의 출력은 상황 정보 외에도 상황 정보 수집 관리기(112b)에서 판단한 이벤트도 포함할 수 있다. The output of the natural language recognizer 111b includes information about the user's speech content, such as the result of the morpheme analysis, in addition to information such as a domain and an action. The output of the situation understandr 112c may include an event determined by the situation information collection manager 112b in addition to the situation information.

대화 흐름 관리기(121)는 대화 입력 관리기(111c)로부터의 입력에 대응되는 대화 태스크 또는 액션 태스크가 대화/액션 DB(147)에 존재하는지 검색한다. The conversation flow manager 121 searches whether the conversation task or the action task corresponding to the input from the conversation input manager 111c exists in the conversation / action DB 147.

대화/액션 DB(147)는 대화의 상태와 액션의 상태를 관리하기 위한 저장 공간으로서, 현재 진행 중인 대화, 액션들과 앞으로 진행할 예비 액션들에 대한 대화 상태 및 액션 상태를 저장할 수 있다. 예를 들어, 종료된 대화/액션, 정지된 대화/액션, 진행 중인 대화/액션, 진행될 대화/액션의 상태가 저장될 수 있다.The conversation / action DB 147 is a storage space for managing the state of the conversation and the state of the action. The conversation / action DB 147 may store a conversation state and an action state of a conversation in progress, actions, and preliminary actions in the future. For example, the status of a conversation / action that has ended, a conversation / action that has been stopped, a conversation / action in progress, or a conversation / action to be processed may be stored.

또한, 액션의 스위칭/네스팅 여부, 스위칭된 액션 인덱스, 액션 변경 시간, 화면/음성/명령어 등의 마지막 출력 상태 등을 저장할 수 있다. In addition, whether the action is switched / nested, the switched action index, the action change time, and the last output state such as the screen / voice / command can be stored.

예를 들어, 사용자 발화에 대응되는 도메인과 액션이 추출된 경우에는, 가장 최근에 저장된 대화 중 해당 도메인과 액션에 대응되는 대화 또는 액션이 존재하면 이를 대화 입력 관리기(111c)로부터의 입력에 대응되는 대화 태스크 또는 액션 태스크로 판단할 수 있다. For example, when a domain and an action corresponding to a user's utterance are extracted, if a dialogue or an action corresponding to the domain and the action exists among the most recently stored conversations, it corresponds to an input from the dialog input manager 111c. It can be determined as a dialog task or an action task.

사용자 발화에 대응되는 도메인과 액션이 추출되지 않은 경우에는, 임의의 태스크를 생성하거나, 가장 최근에 저장된 태스크를 참조하도록 대화 액션 생성기(122)에 요청할 수 있다.If the domain and the action corresponding to the user's utterance are not extracted, the task may be generated to request the dialogue action generator 122 to generate an arbitrary task or to refer to the most recently stored task.

대화/액션 DB(147)에 입력 처리기(110)의 출력에 대응되는 대화 태스크 또는 액션 태스크가 존재하지 않으면, 대화 흐름 관리기(121)는 대화 액션 관리기(122)에 새로운 대화 태스크와 액션 태스크를 생성하도록 요청한다.If there is no chat task or action task corresponding to the output of the input processor 110 in the chat / action DB 147, the chat flow manager 121 creates a new chat task and action task in the chat action manager 122. Ask.

또한, 입력 처리기(110)로부터 선발화 트리거 신호가 전달된 경우에는, 이미 진행중인 대화 태스크나 액션 태스크가 존재하더라도, 일시적으로 이를 중단하고 선발화 상황에 대응되는 대화 태스크 또는 액션 태스크를 우선적으로 생성할 수 있다. 또는, 정해진 규칙에 따라 우선 순위를 결정하는 것도 가능하다.In addition, when the start trigger signal is transmitted from the input processor 110, even if a conversation task or action task already in progress exists, it is temporarily stopped and a dialog task or action task corresponding to the starting situation is preferentially generated. Can be. Alternatively, the priority may be determined according to a predetermined rule.

대화 입력 관리기(111c)로부터 선발화 트리거 신호와 함께 그에 대응되는 액션이 입력된 경우에는, 사용자의 발화로부터 액션을 추출한 경우와 마찬가지로 대화 흐름 관리기(121)가 대화 액션 관리기(122)에 새로운 대화 태스크와 액션 태스크를 생성하도록 요청할 수 있다.When the action corresponding to the start trigger signal is input from the conversation input manager 111c and the corresponding action is input, the conversation flow manager 121 performs a new conversation task on the conversation action manager 122 similarly to the case where the action is extracted from the user's speech. And request to create an action task.

또는, 대화 입력 관리기(111c)로부터 선발화 트리거 신호와 함께 그에 대응되는 선발화 메시지가 입력된 경우에는, 입력된 선발화 메시지를 출력하기 위한 새로운 대화 태스크를 생성하도록 요청할 수 있다.Alternatively, when the selection message corresponding to the selection trigger signal is input together with the selection trigger signal from the conversation input manager 111c, the conversation input manager 111c may request to generate a new conversation task for outputting the input selection message.

대화 흐름 관리기(121)가 대화의 흐름을 관리함에 있어서, 대화 정책 DB(148)를 참조할 수 있다. 대화 정책 DB(148)는 대화를 전개하기 위한 정책을 저장하며, 구체적으로 대화를 선택/시작/제안/정지/종료하기 위한 정책을 저장한다. The conversation flow manager 121 may refer to the conversation policy DB 148 in managing the flow of the conversation. The conversation policy DB 148 stores a policy for deploying a conversation and specifically stores a policy for selecting / starting / proposing / stopping / ending a conversation.

또한, 대화 정책 DB(148)는 시스템이 응답을 출력하는 시점과 방법론에 대한 정책도 저장할 수 있으며, 다수의 서비스를 연계하여 응답을 만드는 정책과 기존의 액션을 삭제하고 다른 액션으로 교체하기 위한 정책을 저장할 수 있다. In addition, the dialog policy DB 148 may store a policy on when and how the system outputs a response, and a policy for creating a response by linking multiple services and a policy for deleting an existing action and replacing it with another action. Can be saved.

예를 들어, 후보 액션이 복수이거나, 사용자의 의도나 상황에 대응되는 액션이 복수일 때(A 액션, B액션), "A 액션을 수행하고 B 액션을 수행하겠습니까?"와 같이 두 액션에 대한 응답을 한 번에 생성하는 정책과, "A액션을 수행합니다"

Figure pat00001
"B액션을 수행할까요?"와 같이 하나의 액션에 대한 응답을 생성한 이후에, B 액션에 대해서도 별도의 응답을 생성하는 정책이 모두 가능하다. For example, if there are multiple candidate actions, or multiple actions corresponding to the user's intent or situation (A actions, B actions), do you want to perform two actions such as "Do you want to perform A action and B action?" A policy that generates a response all at once, and performs "A action"
Figure pat00001
After generating a response for one action, such as "Would you like to perform a B action?", It is possible to create a separate response for a B action.

또한, 대화 정책 DB(147)는 후보 액션들 간의 우선 순위를 결정하는 정책도 저장할 수 있다. 우선 순위 결정 정책에 대해서는 후술하도록 한다.The conversation policy DB 147 may also store a policy that determines the priority among candidate actions. The prioritization policy will be described later.

대화 액션 관리기(122)는 대화/액션 DB(147)에 저장 공간을 할당하여, 입력 처리기(110)의 출력에 대응되는 대화 태스크와 액션 태스크를 생성한다. The conversation action manager 122 allocates storage space to the conversation / action DB 147 to generate a conversation task and an action task corresponding to the output of the input processor 110.

한편, 사용자의 발화로부터 도메인과 액션을 추출할 수 없는 경우, 대화 액션 관리기(122)는 임의의 대화 상태를 생성할 수 있다. 이 경우, 후술하는 바와 같이, 모호성 해결기(123)가 사용자의 발화 내용, 주변 상황, 차량 상태, 사용자 정보 등에 기초하여 사용자의 의도를 파악하고 이에 대응되는 적절한 액션을 판단할 수 있다.Meanwhile, when the domain and the action cannot be extracted from the user's speech, the conversation action manager 122 may generate an arbitrary conversation state. In this case, as described below, the ambiguity resolver 123 may determine the user's intention based on the user's utterance, surrounding conditions, vehicle status, user information, and the like, and determine an appropriate action corresponding thereto.

대화/액션 DB(147)에 입력 처리기(110)의 출력에 대응되는 대화 태스크와 액션 태스크가 존재하면, 대화 흐름 관리기(121)는 대화 액션 관리기(122)가 해당 대화 태스크와 액션 태스크를 참조하도록 요청한다. If there is a dialogue task and an action task corresponding to the output of the input processor 110 in the conversation / action DB 147, the dialogue flow manager 121 causes the dialogue action manager 122 to refer to the conversation task and the action task. request.

또한, 대화 흐름 관리기(121)는 대화 입력 관리기(111a)의 출력 결과를 입력값으로 하여 대화 액션 관리기(122)가 위험 상황에서 발생할 수 있는 사고를 예방하기 위한 대화 태스크와 액션 태스크를 추출 또는 생성할 수 있다. In addition, the dialog flow manager 121 extracts or generates a dialog task and an action task for preventing the accident that may occur in a dangerous situation by the dialog action manager 122 using the output result of the dialog input manager 111a as an input value. can do.

이 때, 위험 상황에서 발생할 수 있는 사고란 사용자의 우울증에 따른 불의의 사고를 의미하며, 사용자의 우울감 정도가 큰 경우에 발생할 수 있는 모든 사고를 포함할 수 있다.In this case, an accident that may occur in a dangerous situation may mean an accident due to a user's depression, and may include all accidents that may occur when the degree of depression of the user is large.

이 때, 대화 흐름 관리기(121)는 사고 대응 매뉴얼 DB(148b)에 입력 처리기(110)의 출력에 대응되는 대화 태스크와 액션 태스크가 존재하면, 대화 액션 관리기(122)가 해당 대화 태스크와 액션 태스크를 참조하도록 요청할 수 있다. At this time, if the dialog flow manager 121 has a dialog task and an action task corresponding to the output of the input processor 110 in the incident response manual DB 148b, the dialog action manager 122 performs the dialog task and the action task. You may request to refer to

사고 대응 매뉴얼 DB(148b)은 사용자의 우울 상태로 인한 불의의 사고를 예방하기 위한 매뉴얼을 저장하기 위한 공간을 의미한다. The accident response manual DB 148b refers to a space for storing a manual for preventing an accident caused by a depressed state of a user.

사고 대응 매뉴얼 DB(148b)에는 위험 상황에 대응하기 위한 액션으로, 대화 태스크와 액션 태스크가 저장될 수 있다. 또한, 사고 대응 매뉴얼 DB(148b)에는 위험 상황에 대응하기 위한 액션으로, 위험 상황 단계별로 대화 태스크와 액션 태스크가 저장될 수도 있다. 또한, 사고 대응 매뉴얼 DB(148b)에는 사용자의 우울 지수에 따라 제공될 대화 태스크와 액션 태스크가 저장될 수도 있다.The accident response manual DB 148b may store a dialog task and an action task as an action for responding to a dangerous situation. In addition, the accident response manual DB 148b may store a conversation task and an action task for each dangerous situation step as an action for responding to a dangerous situation. In addition, the incident response manual DB 148b may store a conversation task and an action task to be provided according to a user's depression index.

예를 들어, 사고 대응 매뉴얼 DB(148b)은 5단계로 구분된 위험 상황 단계에 대한 대응 액션이 저장될 수 있고, 3단계까지는 사용자에게 특정 기능을 권유하는 대응 액션이 대응되어 저장되고, 4단계부터는 사고 예방 액션이 대응되어 저장될 수 있다. For example, the accident response manual DB 148b may store a response action for a dangerous situation step divided into five steps, and up to step 3, a response action for recommending a specific function is stored in response to a fourth step. The accident prevention action can be stored in response.

대화 액션 관리기(122)는 대화 입력 관리기(111c)로부터 전달받은 사용자의 우울 지수 및 위험 상태 단계 중 적어도 하나를 고려하여 사용자의 우울증에 따라 발생할 수 있는 사고를 예방할 수 있는 적절한 사고 대응 액션을 취하도록 할 수 있다. The conversation action manager 122 may take an appropriate incident response action to prevent an accident that may occur due to the user's depression in consideration of at least one of the user's depression index and the risk state stage received from the conversation input manager 111c. can do.

액션 우선순위 결정기(125)는 연관 액션 DB(146b)에서 입력 처리기(110)의 출력에 포함된 액션 또는 이벤트와 연관된 액션 목록을 검색하여 후보 액션을 추출한다. 도 24의 예시와 같이, 연관 액션 DB(146b)는 상호 연관된 액션들과 그들 사이의 관계 및 이벤트와 연관된 액션과 그들 사이의 관계를 나타낼 수 있다. 예를 들어, 길안내, 차량 상태 점검, 주유소 추천과 같은 액션이 연관된 액션으로 분류될 수 있고, 이들의 관계는 상호 연계에 해당할 수 있다. The action priority determiner 125 retrieves a list of actions associated with the action or event included in the output of the input processor 110 in the associated action DB 146b and extracts the candidate action. As in the example of FIG. 24, associative action DB 146b may represent interrelated actions and relationships between them and actions associated with events and relationships between them. For example, actions such as directions, vehicle condition checks, gas station recommendations, and the like may be classified as associated actions, and their relationships may correspond to each other.

따라서, 길안내 액션을 수행함에 있어, 차량 상태 점검, 주유소 추천 등의 액션이 함께 수행될 수 있다. 여기서 함께 수행된다는 것은 길안내 액션의 전후로 수행되는 것과 길안내 액션의 수행 중에(경유지로 추가) 수행되는 것을 모두 포함할 수 있다.Therefore, in performing the road guidance action, actions such as vehicle status check and gas station recommendation may be performed together. Here, to be performed together may include both before and after the road guide action and during the execution of the road guide action (added as a stop).

경고등 출력 이벤트는 정비소 안내 액션이 연관된 이벤트-액션으로 저장될 수 있고, 이들의 관계 역시 상호 연계에 해당할 수 있다. Warning light output events may be stored as event-actions associated with workshop guidance actions, and their relationships may also be correlated.

따라서, 경고등 출력 이벤트가 발생한 경우에, 경고등의 종류 또는 정비의 필요 여부에 따라 정비소 안내 액션을 수행할 수 있다.Therefore, when the warning light output event occurs, the workshop guidance action can be performed depending on the type of warning light or whether maintenance is necessary.

입력 처리기(110)로부터 사용자 발화에 대응되는 액션뿐만 아니라 상황 수집 관리기(112b)에서 판단한 이벤트도 함께 전송한 경우에는, 사용자 발화에 대응되는 액션과 연관된 액션과 함께 이벤트와 연관된 액션도 후보 액션이 될 수 있다. In addition to the action corresponding to the user utterance from the input processor 110, when the event determined by the situation collection manager 112b is also transmitted, the action associated with the event may be a candidate action together with the action associated with the action corresponding to the user utterance. Can be.

추출된 후보 액션 목록은 대화 액션 관리기(122)로 전달되고, 대화 액션 관리기(122)는 후보 액션 목록을 추가하여 대화/액션 상태 DB(147)의 액션 상태를 업데이트한다. The extracted candidate action list is transferred to the dialogue action manager 122, and the dialogue action manager 122 adds the candidate action list to update the action state of the dialogue / action state DB 147.

액션 우선순위 결정기(125)는 액션 수행 조건 DB(146c)에서 각각의 후보 액션을 수행하기 위한 조건을 검색한다. 도 25의 예시와 같이, 액션 수행 조건 DB(146c)는 액션을 수행하기 위해 필요한 조건과 해당 조건의 만족 여부를 판단하기 위해 사용되는 인자를 각각의 액션 별로 저장할 수 있다. The action priority determiner 125 retrieves a condition for performing each candidate action in the action performing condition DB 146c. As illustrated in FIG. 25, the action performing condition DB 146c may store a condition necessary for performing an action and a factor used to determine whether the corresponding condition is satisfied for each action.

예를 들어, 차량 상태 점검 액션의 수행 조건은 목적지 거리가 100km 이상인 경우일 수 있고, 조건 판단을 위해 사용되는 인자는 목적지 거리에 해당한다. 주유소 추천 액션의 수행 조건은 목적지 거리가 주행 가능 거리(DTE)보다 먼 경우일 수 있고, 조건 판단을 위해 사용되는 인자는 목적지 거리와 주행 가능 거리(DTE)에 해당한다. For example, the execution condition of the vehicle condition checking action may be a case where the destination distance is 100 km or more, and a factor used for determining the condition corresponds to the destination distance. The performance condition of the gas station recommendation action may be a case where the destination distance is farther than the driving distance (DTE), and the factors used for determining the condition correspond to the destination distance and the driving distance (DTE).

액션 우선순위 결정기(125)는 후보 액션의 수행 조건을 대화 액션 관리기(122)로 전달하고, 대화 액션 관리기(122)는 각 후보 액션 별 액션 수행 조건을 추가하여 대화/액션 상태 DB(147)의 액션 상태를 업데이트한다. The action priority determiner 125 transmits the execution condition of the candidate action to the conversation action manager 122, and the dialog action manager 122 adds the action execution condition for each candidate action to the conversation / action state DB 147. Update the action state.

액션 우선순위 결정기(125)는 상황 정보 DB(142), 장기 메모리(143), 단기 메모리(144) 또는 대화/액션 상태 DB(147)에서 액션 수행 조건 판단을 위해 필요한 인자(이하, 조건 판단 인자라 한다)를 검색하고, 검색된 인자를 이용하여 각 후보 액션의 수행 가부를 판단할 수 있다The action priority determiner 125 is a factor necessary for determining an action performing condition in the context information DB 142, the long term memory 143, the short term memory 144, or the conversation / action state DB 147 (hereinafter, the condition determining factor). Search), and it is possible to determine whether to perform each candidate action by using the found factor.

액션 수행 조건 판단을 위해 사용되는 인자가 상황 정보 DB(142), 장기 메모리(143), 단기 메모리(144) 또는 대화/액션 상태 DB(147)에 저장되지 않은 경우, 외부 정보 관리기(126)를 통해 외부 컨텐츠 서버(300)로부터 필요한 인자를 가져올 수 있다. If the factor used for determining the action execution condition is not stored in the situation information DB 142, the long term memory 143, the short term memory 144, or the conversation / action state DB 147, the external information manager 126 The necessary factor may be obtained from the external content server 300.

또한, 액션 우선순위 결정기(125)는 차량 기능 DB(146f)에서 액션 수행 조건 판단을 위해 필요한 인자를 검색하고, 검색된 인자를 이용하여 각 후보 액션의 수행 가부를 판단할 수도 있다. In addition, the action priority determiner 125 may search for a factor necessary for determining an action execution condition in the vehicle function DB 146f and determine whether to perform each candidate action using the found factor.

차량 기능 DB(146f)에는 차량이 사용자에게 제공할 수 있는 기능에 대한 정보가 저장될 수 있고, 차량 내부 또는 외부의 장치와 이들이 제공하는 기능의 종류, 설정값 등의 정보가 저장될 수 있다. The vehicle function DB 146f may store information about a function that the vehicle can provide to the user, and store information such as types of devices and setting values provided by devices inside or outside the vehicle and functions provided by the vehicle.

액션 우선순위 결정기(125)는 이러한 차량 기능 DB(146f)를 참조하여 각 후보 액션이 차량에 탑승한 사용자에게 제공될 수 있는지, 즉 각 후보 액션의 수행 가부를 판단할 수 있다. 액션 우선순위 결정기(125)는 액션 수행 조건 판단을 위해 필요한 인자를 이용하여 각 후보 액션의 수행 가부를 판단할 수 있다. 또한, 각 후보 액션의 수행 가부 및 대화 정책 DB(148)에 저장된 우선 순위 결정 규칙에 기초하여 각 후보 액션의 우선 순위를 결정할 수 있다. The action priority determiner 125 may refer to the vehicle function DB 146f to determine whether each candidate action may be provided to a user in the vehicle, that is, whether to perform each candidate action. The action priority determiner 125 may determine whether to perform each candidate action by using a factor necessary for determining an action execution condition. In addition, the priority of each candidate action may be determined based on whether to perform each candidate action and the prioritization rule stored in the dialogue policy DB 148.

현재 상황에 따라 각 후보 액션에 대한 점수가 계산될 수 있다. 계산된 점수가 높은 순으로 높은 우선순위가 할당된다. 예를 들어, 아래 [수학식 1]에 나타낸 바와 같이, 사용자 발화에 대응되는 액션, 안전도 점수, 편의 점수, 처리 시간, 처리 시점(지금 당장 처리해야 하는지 여부), 사용자 선호도(서비스 제안 시 사용자의 수용 정도 또는 사용자가 사전에 정의한 선호도), 관리자 점수, 차량 상태 연관 점수, 액션 성공률(대화 성공률)이 점수 계산의 인자로 사용될 수 있다. w1, w2, w3, w4, w5, w6, w7, w8, w9는 각 인자 별 가중치를 나타낸다.The score for each candidate action may be calculated according to the current situation. The higher the priority, the higher the calculated score is. For example, as shown in [Equation 1] below, the action corresponding to the user's utterance, safety score, convenience score, processing time, processing time (whether it should be processed right now), user preference (user at the time of service proposal) Acceptance level or user-defined preference), manager score, vehicle status related score, and action success rate (conversation success rate) may be used as factors of score calculation. w1, w2, w3, w4, w5, w6, w7, w8 and w9 represent weights for each factor.

[수학식 1][Equation 1]

우선순위 점수 = w1*사용자 발화 액션 + w2*안전도 점수 + w3*편의점수 + w4*처리시간 + w5*처리시점 + w6*사용자 선호도 + w7*관리자 점수 + w8*차량 상태 연관 점수 + w9*액션 성공률*액션 수행 가능 여부(1:가능, 미정 0:불가능) *액션 완료 여부(완료:1, 미완료:0)Priority Score = w1 * User Spoken Action + w2 * Safety Score + w3 * Comfort Score + w4 * Processing Time + w5 * Processing Point + w6 * User Preference + w7 * Manager Score + w8 * Vehicle Status Association Score + w9 * Action success rate * Action can be performed (1: possible, tentatively 0: impossible) * Action completed (completed: 1, incomplete: 0)

전술한 바와 같이, 액션 우선순위 결정기(125)가 사용자의 발화나 상황 정보에 직접적으로 관련된 액션뿐만 아니라 이와 연관된 액션 목록까지 검색하고 이들 사이의 우선 순위를 결정함으로써 사용자에게 가장 필요한 서비스를 제공할 수 있게 된다.As described above, the action priority determiner 125 may provide not only the actions directly related to the user's utterance or context information, but also the action list associated with the user and determine the priority among them to provide the service most needed by the user. Will be.

액션 우선순위 결정기(125)는 각 후보 액션의 수행 가부 및 우선 순위를 대화 액션 관리기(122)로 전달하고, 대화 액션 관리기(122)는 전달된 정보를 추가하여 대화/액션 상태 DB(147)의 액션 상태를 업데이트한다. The action priority determiner 125 transmits the performance and priority of each candidate action to the dialogue action manager 122, and the dialogue action manager 122 adds the transmitted information to the conversation / action state DB 147. Update the action state.

인자 관리기(124)는 액션 인자 DB(146a)에서 각 후보 액션을 수행하는데 사용되는 인자(이하, 액션 인자라 한다.)를 검색할 수 있다. The argument manager 124 may search for an argument (hereinafter, referred to as an action factor) used to perform each candidate action in the action factor DB 146a.

도 26의 예시와 같이, 액션 인자 DB(146a)는 액션 별로 필수 인자, 선택 인자, 인자의 초기값 및 인자를 가져올 수 있는 참조 위치를 저장할 수 있다. 인자의 초기값이 저장되어 있는 경우에, 입력 처리기(110)로부터 출력된 사용자의 발화나 상황 정보에 해당 인자에 대응되는 인자 값이 포함되어 있지 않고 상황 정보 DB(142)에도 해당 인자 값이 저장되어 있지 않으면, 저장된 초기값에 따라 액션을 수행하거나, 저장된 초기값에 따라 액션을 수행할 지 사용자에게 확인할 수 있다. As illustrated in FIG. 26, the action factor DB 146a may store a mandatory factor, a selection factor, an initial value of the factor, and a reference position from which the factor can be obtained for each action. When the initial value of the argument is stored, the argument value corresponding to the corresponding factor is not included in the user's utterance or situation information output from the input processor 110, and the corresponding argument value is also stored in the situation information DB 142. If not, the user may check whether the action is performed according to the stored initial value or whether the action is performed according to the stored initial value.

예를 들어, 길안내 액션을 수행하는데 사용되는 필수 인자는 현재 위치와 목적지를 포함할 수 있고, 선택 인자는 경로 타입을 포함할 수 있다. 선택 인자의 초기값으로 빠른 경로가 저장될 수 있다. 현재 위치와 목적지는 대화/액션 상태 DB(147), 상황 정보 DB(142), 단기 메모리(144) 또는 장기 메모리(143)를 순차적으로 검색하여 획득할 수 있다. For example, a mandatory argument used to perform a directions action may include a current location and a destination, and an optional argument may include a route type. Fast paths can be stored as initial values of the selection parameters. The current location and the destination may be obtained by sequentially searching the conversation / action status DB 147, the situation information DB 142, the short term memory 144, or the long term memory 143.

차량 상태 점검 액션을 수행하는데 사용되는 필수 인자는 차량 상태 정보를 포함하고, 선택 인자는 점검 파트를 포함할 수 있다. 선택 인자의 초기값으로는 전체 파트가 저장될 수 있다. 차량 상태 정보는 상황 정보 DB(142)로부터 획득할 수 있다.The essential factor used to perform the vehicle condition checking action may include vehicle condition information, and the selection factor may include an inspection part. The entire part may be stored as an initial value of the selection factor. Vehicle state information may be obtained from the situation information DB 142.

주유소 추천 액션을 수행하는데 사용되는 선택 인자는 선호 주유소를 포함할 수 있고, 선택 인자의 초기값으로 A 오일이 저장될 수 있다. 선호 주유소는 장기 메모리(143)로부터 획득할 수 있다. 선택 인자에 차량의 유종, 기름 가격 등이 더 포함되는 것도 가능하다.The selection factor used to perform the gas station recommendation action may include a preferred gas station, and A oil may be stored as an initial value of the selection factor. The preferred gas station may be obtained from the long term memory 143. It is also possible to further include the type of vehicle, oil price, etc. in the selection factor.

전술한 바와 같이, 인자 관리기(124)는 액션 인자 DB(146a)에서 검색한 인자의 인자 값을 해당 참조 위치에서 가져온다. 인자 값을 가져올 수 있는 참조 위치는 상황 정보 DB(142), 장기 메모리(143), 단기 메모리(144), 대화/액션 상태 DB(147) 및 외부 컨텐츠 서버(300) 중 적어도 하나일 수 있다. As described above, the argument manager 124 obtains the argument value of the argument retrieved from the action argument DB 146a at the corresponding reference position. The reference position from which the argument value may be obtained may be at least one of the situation information DB 142, the long term memory 143, the short term memory 144, the conversation / action state DB 147, and the external content server 300.

인자 관리기(124)가 외부 컨텐츠 서버(300)로부터 인자 값을 가져오는 경우에는, 외부 정보 관리기(126)를 통할 수 있다. 외부 정보 관리기(126)는 외부 서비스 집합 DB(146d)를 참조하여 어디에서 정보를 가져올 지 판단할 수 있다. When the argument manager 124 obtains the argument value from the external content server 300, it may be via the external information manager 126. The external information manager 126 may determine where to get information by referring to the external service set DB 146d.

외부 서비스 집합 DB(146d)는 대화 시스템(100)과 연계된 외부 컨텐츠 서버에 대한 정보를 저장한다. 예를 들어, 외부 서비스 명칭, 외부 서비스 에 대한 설명, 외부 서비스 가 제공하는 정보의 타입, 외부 서비스 사용 방법, 외부 서비스 의 제공 주체 등에 대한 정보를 저장할 수 있다. The external service set DB 146d stores information about an external content server associated with the conversation system 100. For example, information about an external service name, a description of the external service, a type of information provided by the external service, a method of using the external service, and an entity providing the external service may be stored.

인자 관리기(124)가 획득한 인자 값은 대화 액션 관리기(122)로 전달되고, 대화 액션 관리기(122)는 각 후보 액션 별 인자 값을 액션 상태에 추가하여 대화/액션 상태 DB(147)를 업데이트 한다. The argument value obtained by the argument manager 124 is transferred to the dialogue action manager 122, and the dialogue action manager 122 updates the dialogue / action state DB 147 by adding argument values for each candidate action to the action state. do.

인자 관리기(124)는 모든 후보 액션의 인자 값을 획득하는 것도 가능하고, 액션 우선순위 결정기(125)에서 수행이 가능한 것으로 판단된 후보 액션의 인자 값만 획득하는 것도 가능하다. The argument manager 124 may obtain argument values of all candidate actions, or may obtain only argument values of candidate actions determined to be performed by the action priority determiner 125.

또한, 인자 관리기(124)는 동일한 정보를 나타내는 다양한 종류의 인자 값을 선택적으로 사용할 수 있다. 예를 들어, 목적지를 나타내는 텍스트 형태의 서울역은 내비게이션의 목적지 검색 서비스를 이용하여 POI 형태의 서울역으로 변환될 수 있다. In addition, the parameter manager 124 may selectively use various kinds of factor values indicating the same information. For example, a Seoul station in a text form representing a destination may be converted into a Seoul station in POI form using a destination search service of navigation.

대화나 상황에 모호성이 없는 경우에는 전술한 액션 우선순위 결정기(125), 인자 관리기(124) 및 외부 정보 관리기(126)의 동작에 따라 필요한 정보를 얻고 대화와 액션을 관리할 수 있다. 그러나, 대화나 상황에 모호성이 있는 경우에는 액션 우선순위 결정기(125), 인자 관리기(124) 및 외부 정보 관리기(126)의 동작만으로는 사용자에게 필요한 적절한 서비스를 제공하기 어렵다. If there is no ambiguity in a conversation or situation, it is possible to obtain necessary information and manage conversations and actions according to the operations of the action priority determiner 125, the factor manager 124, and the external information manager 126 described above. However, when there is ambiguity in a conversation or situation, it is difficult to provide a proper service necessary for a user by only the actions of the action priority determiner 125, the argument manager 124, and the external information manager 126.

이러한 경우, 모호성 해결기(123)가 대화에 대한 모호성 또는 상황에 대한 모호성을 해결할 수 있다. 예를 들어, 대화에 그 사람, 어제 거기, 아빠, 엄마, 할머니, 며느리 등과 같은 조응어가 포함되어 무엇을 지칭하는지 모호한 경우에 모호성 해결기(123)가 상황 정보 DB(142), 장기 메모기(143) 또는 단기 메모리(144)를 참조하여 이러한 모호성을 해결하거나 이를 해결하기 위한 가이드를 제시할 수 있다. In this case, the ambiguity resolver 123 may resolve the ambiguity about the conversation or the ambiguity about the situation. For example, if the conversation includes what people, yesterday, dad, mom, grandmother, daughter-in-law, and the like are ambiguous, the ambiguity resolver 123 is the situation information DB 142, the long-term memo ( 143) or short-term memory 144 may provide a guide to resolve this ambiguity or to resolve it.

예를 들어, "어제 거기", "집 근처 A마트", "어제 간 서울역" 등과 같이 대화에 포함된 모호한 단어가 액션 인자의 인자 값이거나 조건 판단 인자의 인자 값에 해당할 수 있다. 그러나, 이 경우, 해당 단어 자체만으로는 그 모호성으로 인해 실제로 액션을 수행하거나 액션 수행 조건을 판단할 수가 없다.For example, an ambiguous word included in a conversation, such as “Yesterday there”, “A-mart near home”, “Seoul station between yesterday”, and the like may correspond to an argument value of an action argument or an argument value of a condition determination factor. However, in this case, the word itself alone cannot perform the action or determine the action execution condition due to its ambiguity.

모호성 해결기(123)는 상황 정보 DB(142), 장기 메모리(143) 또는 단기 메모리(144)에 저장된 정보를 참조하여 인자 값의 모호성을 해결할 수 있다. 또는, 필요에 따라 외부 정보 관리기(126)를 이용하여 외부 컨텐츠 서버(300)로부터 필요한 정보를 가져오는 것도 가능하다. The ambiguity resolver 123 may solve the ambiguity of the factor value by referring to the information stored in the context information DB 142, the long term memory 143, or the short term memory 144. Alternatively, if necessary, the external information manager 126 may be used to import necessary information from the external content server 300.

예를 들어, 단기 메모리(144)를 참조하여 사용자가 어제 갔던 장소를 검색함으로써 "어제 거기"를 길 안내 액션의 목적지로 사용 가능한 정보로 변환할 수 있다. 또는, 장기 메모리(143)를 참조하여 사용자의 집 주소를 검색하고 외부 컨텐츠 서버(300)로부터 집 주소 근처의 A마트에 관한 위치 정보를 가져옴으로써 "집 근처 A마트"를 길 안내 액션의 목적지로 사용 가능한 정보로 변환할 수 있다. For example, by referring to the short-term memory 144, a user may search for a place where he or she went yesterday, thereby converting "yesterday there" into information that can be used as a destination for a road guide action. Alternatively, by referring to the long-term memory 143, the user's home address is retrieved, and the location information about the A-mart near the home address is obtained from the external content server 300, thereby making the "A-mart near the home" a destination of the road guide action. Can be converted into usable information.

또한, 입력 처리기(110)에서 액션(오브젝트, 오퍼레이터)이 명확하게 추출되지 않거나 사용자의 의도가 모호한 상황에서, 모호성 해결기(123)가 모호성 해소 정보 DB(146e)를 참조하여 사용자의 의도를 파악하고, 이에 대응되는 액션을 결정하는 것도 가능하다. In addition, when an action (object or operator) is not clearly extracted from the input processor 110 or the user's intention is ambiguous, the ambiguity solver 123 refers to the ambiguity resolution information DB 146e to determine the user's intention. It is also possible to determine the action corresponding thereto.

도 27은 모호성 해소 정보 DB에 저장되는 정보의 예시를 나타내는 도면이다. 27 is a diagram illustrating an example of information stored in the ambiguity resolution information DB.

모호성 해소 정보 DB(146e)는 차량 상태 정보와 주변 상황 정보에 기초하여, 발화문과 그에 대응되는 액션을 매칭시켜 저장할 수 있다. 모호성 해소 정보 DB(146e)에 저장되는 발화문은 자연어 이해를 통해 액션을 추출할 수 없는 발화문일 수 있다. 도 27의 예시에서는 형태소 분석 결과에 따른 발화 내용이 손이 시리거나 손이 춥다는 내용인 경우에 대해 설명한다.The ambiguity resolution information DB 146e may match and store the utterance door and the corresponding action based on the vehicle state information and the surrounding situation information. The utterance text stored in the ambiguity resolution information DB 146e may be a utterance statement in which an action cannot be extracted through natural language understanding. In the example of FIG. 27, a description will be given of a case in which the utterance content according to the morphological analysis result is a hand cold or hand cold.

주변 상황 정보는 차량 외부 온도와 강우 여부를 포함할 수 있고, 차량 상태 정보는 에어컨/히터의 온/오프 여부와 풍량, 풍향, 스티어링 열선의 온/오프 여부를 포함할 수 있다.The surrounding situation information may include the vehicle external temperature and rainfall, and the vehicle state information may include whether the air conditioner / heater is on / off and whether the air volume, the wind direction, and the steering heating wire are on / off.

구체적인 예로, 외부 온도가 20도가 넘으면서 비가 오는 경우, 에어컨이 온(On)되어 있으면 에어컨 온도가 너무 낮게 설정되어 손이 시린 것으로 파악할 수 있고, 대응되는 차량 제어 액션으로 에어컨 온도 3도 높이기를 저장할 수 있다.As a specific example, when the outside temperature is more than 20 degrees of rain, if the air conditioner is On, the air conditioner temperature is set too low, so it can be seen that the hand is cold, and the corresponding vehicle control action can store an increase of the air conditioner temperature 3 degrees. have.

외부 온도가 20도가 넘으면서 비가 오는 경우, 에어컨이 오프되어 있으면 강우로 인해 추위를 느끼는 것으로 파악할 수 있고, 대응되는 차량 제어 액션으로 히터 On 을 저장할 수 있다.If the outside temperature is more than 20 degrees of rain, when the air conditioner is off, it can be seen that it feels cold due to the rain, and the heater On can be stored as a corresponding vehicle control action.

외부 온도가 20도가 넘으면서 비가 오지 않는 경우, 에어컨이 온되어 있고, 에어컨 풍향이 상향(Up)으로 설정되어 있으면 에어컨 바람이 손을 직접 향하여 손이 시린 것으로 파악할 수 있고, 대응되는 차량 제어 액션으로 에어컨 풍향을 하향(Down)으로 변경하는 것을 저장할 수 있다.If the outside temperature is over 20 degrees and there is no rain, if the air conditioner is turned on and the air conditioner wind direction is set to Up, the air conditioner wind can be regarded as the hand directly hitting the hand. You can save changing the wind direction to Down.

외부 온도가 20도가 넘으면서 비가 오지 않는 경우, 에어컨이 온되어 있고, 에어컨 풍향이 하향으로, 풍량이 중 이상으로 설정되어 있으면 에어컨 풍향이 너무 강하여 추위를 느끼는 것으로 파악할 수 있고, 대응되는 차량 제어 액션으로 에어컨 풍량을 낮추는 것을 저장할 수 있다.If the outside temperature is over 20 degrees and there is no rain, if the air conditioner is turned on and the air conditioner wind direction is set downward and the air volume is set to the middle or higher, the air conditioner wind direction is too strong to feel cold, and the corresponding vehicle control action It can save to lower air conditioner air volume.

외부 온도가 20도가 넘으면서 비가 오지 않는 경우, 에어컨이 온 되어 있고, 에어컨 풍향이 하향으로, 에어컨 풍량이 약하게(하) 설정되어 있으면 대응되는 차량 제어 액션으로 에어컨 온도를 3도 올리는 것을 저장할 수 있다.If the rain does not rain when the outside temperature is more than 20 degrees, when the air conditioner is turned on, the air conditioner wind direction is set downward, and the air conditioner air volume is set low (lower), it is possible to store raising the air conditioner temperature by 3 degrees with the corresponding vehicle control action.

외부 온도가 20도보다 낮으면서 히터가 오프되어 있는 경우에는, 추운 날씨로 인해 손이 시린 것으로 파악할 수 있고, 대응되는 차량 제어 액션으로 터 온을 저장할 수 있다.When the heater is turned off while the outside temperature is lower than 20 degrees, it can be seen that the hand is cold due to cold weather, and the on-state can be stored by the corresponding vehicle control action.

외부 온도가 20도보다 낮으면서 히터가 온되어 있고 스티어링 열선이 오프되어 있는 경우, 온기가 손에 전달되지 않아 손이 시린 것으로 파악할 수 있고, 대응되는 차량 제어 액션을 스티어링 열선 온으로 저장할 수 있다.When the external temperature is lower than 20 degrees and the heater is turned on and the steering heating wire is turned off, the warmth is not transmitted to the hand, so it can be seen that the hand is cold, and the corresponding vehicle control action can be stored as the steering heating wire on.

외부 온도가 20도보다 낮으면서 히터와 스티어링 열선이 모두 온 되어 있고, 히터 풍향이 하향으로 설정된 경우에는 히터 바람이 손으로 전달되지 않아 손이 시린 것으로 파악할 수 있고, 대응되는 차량 제어 액션을 히터 풍향의 양방향 변경으로 저장할 수 있다.When the outside temperature is lower than 20 degrees and both the heater and the steering heating wire are turned on, and the heater wind direction is set downward, the wind of the heater is not transmitted to the hand and it can be seen that the hand is cold, and the corresponding vehicle control action is the heater wind direction. It can be saved as a bidirectional change of.

외부 온도가 20도보다 낮으면서 히터와 스티어링 열선이 모두 온되어 있고, 히터 풍향이 상향으로 설정되어 있는 경우, 히터 온도가 최대치보다 낮게 설정되어 있으면, 대응되는 차량 제어 액션을 히터 온도 높이기로 저장할 수 있다.If the outside temperature is lower than 20 degrees and both the heater and the steering heating wire are on, and the heater wind direction is set upward, if the heater temperature is set lower than the maximum, the corresponding vehicle control action can be stored as the heater temperature increaser. have.

외부 온도가 20도보다 낮으면서 히터와 스티어링 열선이 모두 온되어 있고, 히터 풍향이 상향으로 설정되어 있고 히터 온도가 최대치로 설정되어 있으며, 히터 풍량은 최대치로 설정되어 있지 않은 경우에는, 대응되는 차량 제어 액션을 히터 풍량 증가로 저장할 수 있다.If the outside temperature is lower than 20 degrees and both the heater and the steering heating wire are on, the heater wind direction is set upward, the heater temperature is set to the maximum value, and the heater air flow rate is not set to the maximum value, the corresponding vehicle The control action can be saved as increasing the heater wind volume.

외부 온도가 20도보다 낮으면서 히터와 스티어링 열선이 모두 온되어 있고, 히터 풍향이 상향으로, 히터 온도와 히터 풍향이 모두 최대치로 설정되어 있는 경우에, 열선 시트가 오프되어 있으면, 대응되는 차량 제어 액션으로 열선 시트 온을 저장할 수 있다.If both the heater and the steering heating wire are turned on while the outside temperature is lower than 20 degrees, the heater wind direction is set upward, and both the heater temperature and the heater wind direction are set to the maximum value, the corresponding vehicle control is performed. You can save heated sheet on as an action.

외부 온도가 20도보다 낮으면서 히터와 스티어링 열선이 모두 온되어 있고, 히터 풍향이 상향으로, 히터 온도와 히터 풍량이 모두 최대치로 설정되어 있으며, 열선 시트도 온되어 있는 경우에는, 대응되는 차량 제어 액션으로 현재 히터가 풀가동 중이므로 잠시 기다려 달라는 안내를 출력할 수 있다. When the outside temperature is lower than 20 degrees and both the heater and the steering heating wire are turned on, the heater wind direction is set upward, both the heater temperature and the heater air flow are set to the maximum value, and the heating wire sheet is also turned on, the corresponding vehicle control As the action, the heater is currently running, so you can output a guide to wait for a while.

도 28a 및 도 28b는 모호성 해결기가 모호성 해소 정보 DB를 참조하여 모호성을 해결하고 액션을 추출하여 차량을 제어하는 다양한 예시들을 정리한 테이블이다.28A and 28B are tables listing various examples in which the ambiguity resolver resolves ambiguities and extracts actions to control a vehicle by referring to the ambiguity resolution information DB.

예를 들어, 도 28a 및 도 28b에 도시된 바와 같이, 형태소 분석 결과에 따른 발화 내용이 손이 시리거나 손이 춥다는 내용인 경우, 주변 상황이 여름이면서 차량 상태는 에어컨의 풍향이 탑승자의 머리 쪽(상향)을 향하고, 에어컨 설정 온도가 19도이며, 풍량이 상황인 경우에는 손으로 향하는 에어컨 바람으로 인해 손이 시린 것으로 파악할 수 있다. 따라서, 풍향을 발 쪽(하향)으로 변경하면서 풍량 세기를 줄이기 위한 에어컨 제어 액션을 해당 발화에 대응되는 액션으로 추출하고, 추출된 액션에 따라 차량을 제어할 수 있다. For example, as illustrated in FIGS. 28A and 28B, when the content of ignition according to the morphological analysis results in cold or cold hands, the wind condition of the air conditioner is the head of the passenger while the surrounding situation is summer. If the air conditioner set temperature is 19 degrees, and the air volume is a situation, it can be seen that the hand is cold due to the air conditioner wind toward the hand. Accordingly, the air conditioner control action for reducing the air volume intensity while changing the wind direction toward the foot side (downward) may be extracted as an action corresponding to the corresponding ignition, and the vehicle may be controlled according to the extracted action.

또한, 같은 내용의 발화에서, 주변 상황이 겨울이면서 차량 상태는 히터의 풍향이 탑승자의 발 쪽을 향하고, 에어컨 설정 온도는 25이며, 풍량이 강하게 설정된 상황인 경우에는 온기가 사용자의 손에 전달되지 않아 손이 시린 것으로 파악할 수 있다. 따라서, 스티어링 휠의 열선 온(On) 액션을 해당 발화에 대응되는 액션으로 추출하고, 추출된 액션에 따라 차량을 제어할 수 있다.In addition, in the ignition of the same content, when the surrounding situation is winter and the vehicle condition is the wind direction of the heater toward the passenger's foot, the air conditioner setting temperature is 25, and in a situation where the air volume is strongly set, the warmth is not delivered to the user's hand. It can be seen that the hand is cold. Therefore, the hot wire on action of the steering wheel may be extracted as an action corresponding to the utterance, and the vehicle may be controlled according to the extracted action.

형태소 분석 결과에 따른 발화 내용이 답답하다는 내용인 경우, 차량 상태가 차량 속도 시속 30km 이하, 차량 앞뒤 간격이 30cm 미만인 상황인 경우, 교통 체증으로 인해 느끼는 답답함인 것으로 파악할 수 있다. 따라서, 길안내 액션에서 경로 옵션(빠른 경로 안내)을 변경하거나 음악과 같은 멀티미디어 컨텐츠를 재생하거나, 채팅 기능을 온(On)시키는 액션을 해당 발화에 대응되는 액션으로 액션으로 추출하고, 추출된 액션에 따라 차량을 제어할 수 있다. In the case where the content of the utterance according to the morphological analysis results in frustration, when the vehicle condition is less than 30 km / h and the distance between the front and rear of the car is less than 30 cm, it may be determined that the frustration is felt by traffic jams. Accordingly, an action of changing a route option (fast route guidance), playing multimedia content such as music, or turning on a chat function in an action guide action as an action corresponding to the corresponding speech is extracted and extracted action. Can control the vehicle.

형태소 분석 결과에 따른 발화 내용이 졸리다는 내용인 경우, 차량 상태가 내기모드인 상황이면, 공기 순환이 안됨에 따라 졸음이 유발된 것으로 파악할 수 있다. 따라서, 외기모드로 변경하는 액션을 해당 발화에 대응되는 액션으로 추출하고, 추출된 액션에 따라 차량을 제어할 수 있다.When the content of the utterance according to the morphological analysis results in sleepiness, when the vehicle state is in the betting mode, it can be understood that drowsiness is caused by the lack of air circulation. Accordingly, the action of changing to the outdoor mode may be extracted as an action corresponding to the utterance, and the vehicle may be controlled according to the extracted action.

또한, 같은 내용의 발화에서, 차량 상태가 외기모드이고 히터가 온(On)되어 있는 상황인 경우에는, 히터에서 방출되는 온기로 인해 졸음이 유발된 것으로 파악할 수 있다. 따라서, 창문 열기를 해당 발화에 대응되는 액션으로 추출하고, 추출된 액션에 따라 차량을 제어할 수 있다. In addition, in the utterance of the same content, when the vehicle state is in the outdoor mode and the heater is on (On), it can be seen that the drowsiness caused by the warmth emitted from the heater. Therefore, the window opening may be extracted as an action corresponding to the corresponding speech, and the vehicle may be controlled according to the extracted action.

형태소 분석 결과에 따른 발화 내용이 땀이 난다거나 덥다는 내용인 경우, 주변 상황이 겨울이면서 차량 상태는 히터가 온(On)되어 있는 상황이면, 히터의 온기로 인해 더위가 유발된 것으로 파악할 수 있다. 따라서, 히터의 온도 낮추기나 풍량 줄이기를 해당 발화에 대응되는 액션으로 저장할 수 있다.  In case that the ignition content according to the morphological analysis results in sweat or hotness, if the surrounding condition is winter and the vehicle condition is the heater on state, it can be understood that the heat is caused by the warmth of the heater. . Therefore, the lowering of the temperature of the heater or the reduction of the amount of air may be stored as an action corresponding to the ignition.

또한, 같은 내용의 발화에서 주변 상황이 겨울이면서 히터가 오프(Off)되어 있는 상황이면, 사용자의 신체 열기로 인해 더위가 유발된 것으로 파악할 수 있다. 따라서, 창문 열기 또는 창문 열기 제안을 해당 발화에 대응되는 액션으로 추출하고, 추출된 액션에 따라 차량을 제어할 수 있다.In addition, when the surrounding situation is winter and the heater is off (Off) in the same utterance, it can be seen that the heat is caused by the user's body heat. Therefore, the window opening or the window opening proposal may be extracted as an action corresponding to the corresponding speech, and the vehicle may be controlled according to the extracted action.

또한, 같은 내용의 발화에서 주변 상황이 여름이면서 차량 상태가 에어컨이 오프되어 있는 상황이면, 차량 내부 온도가 높아서 더위가 유발된 것으로 파악할 수 있다. 따라서, 에어컨 실행(On)을 해당 발화에 대응되는 액션으로 추출하고, 추출된 액션에 따라 차량을 제어할 수 있다.In addition, when the surrounding condition is summer and the condition of the vehicle is the air conditioner is turned off in the same ignition, it can be seen that the heat caused by the high temperature inside the vehicle. Accordingly, the air conditioner execution On may be extracted as an action corresponding to the corresponding speech, and the vehicle may be controlled according to the extracted action.

또한, 같은 내용의 발화에서 주변 상황이 여름이면서 차량 상태가 에어컨이 온(On)되어 있는 상황이면, 에어컨의 온도가 높게 설정되어 있어서 더위가 유발된 것으로 파악할 수 있다. 따라서, 에어컨 온도 낮추기 또는 풍량 증가를 해당 발화에 대응되는 액션으로 추출하고, 추출된 액션에 따라 차량을 제어할 수 있다. In addition, when the surrounding condition is summer and the condition of the vehicle is in the condition that the air conditioner is turned on, the air conditioner is set to have a high temperature, so it can be understood that heat is caused. Therefore, the air conditioner temperature decrease or the air volume increase may be extracted as an action corresponding to the utterance, and the vehicle may be controlled according to the extracted action.

형태소 분석 결과에 따른 발화 내용이 춥다는 내용인 경우, 주변 상황이 여름이면서 차량 상태가 에어컨이 온(On)되어 있는 상황이면, 에어컨 온도가 지나치게 낮게 설정되어 있거나 에어컨 바람이 지나치게 강하기 때문에 추위가 유발된 것으로 파악할 수 있다. 따라서, 에어컨 온도 높이기나 풍량 감소를 해당 발화에 대응되는 액션으로 추출하고, 추출된 액션에 따라 차량을 제어할 수 있다. If the ignition according to the result of the morphological analysis is cold, if the surrounding situation is summer and the condition of the air conditioner is on, the air condition is set too low or the air conditioner wind is too strong. It can be seen that. Accordingly, the air conditioner temperature increase or air volume decrease may be extracted as an action corresponding to the utterance, and the vehicle may be controlled according to the extracted action.

또한, 같은 내용의 발화에서 주변 상황이 여름이면서 차량 상태가 에어컨이 오프되어 있는 상황이면, 사용자의 신체 컨디션에 문제가 있어 추위가 유발된 것으로 파악할 수 있다. 따라서, 히터의 실행이나 사용자의 바이오 리듬 체크를 해당 발화에 대응되는 액션으로 추출하고, 추출된 액션에 따라 차량을 제어할 수 있다. In addition, when the surrounding condition is summer and the condition of the vehicle is the air conditioner is turned off in the same utterance, it can be determined that the user is in a cold condition due to a problem in the physical condition of the user. Accordingly, the execution of the heater or the biorhythm check of the user may be extracted as an action corresponding to the utterance, and the vehicle may be controlled according to the extracted action.

또한, 같은 내용의 발화에서 주변 상황이 겨울이면서 차량 상태가 히터가 온(On)되어 있는 상황이면, 히터의 온도가 낮게 설정되어 있거나 풍량이 약하기 때문에 추위가 유발된 것으로 파악할 수 있다. 따라서, 히터 온도 높이기나 풍량 증가를 해당 발화에 대응되는 액션으로 추출하고, 추출된 액션에 따라 차량을 제어할 수 있다.In addition, when the surrounding condition is winter and the vehicle is in a state in which the heater is turned on in the same ignition, it can be understood that the cold is caused because the temperature of the heater is set low or the air volume is weak. Therefore, the heater temperature increase or the air volume increase may be extracted as an action corresponding to the ignition, and the vehicle may be controlled according to the extracted action.

또한, 같은 내용의 발화에서 주변 상황이 겨울이면서 히터가 오프되어 있는 상황이면, 히터의 미실행으로 인해 추위가 유발된 것으로 파악할 수 있다. 따라서, 히터 실행을 해당 발화에 대응되는 액션으로 추출하고, 추출된 액션에 따라 차량을 제어할 수 있다. In addition, in the ignition of the same content, if the surrounding situation is the situation that the heater is off in winter, it can be seen that the cold caused by the non-execution of the heater. Accordingly, the heater execution may be extracted as an action corresponding to the utterance, and the vehicle may be controlled according to the extracted action.

형태소 분석 결과에 따른 발화 내용이 머리가 아프다는 내용인 경우, 주변 상황이 겨울이면서 차량 상태가 히터가 온(On) 되어 있는 상황이면, 공기 순환이 되지 않아 두통이 유발된 것으로 파악할 수 있다. 따라서, 외기모드 변환 또는 창문 열기를 해당 발화에 대응되는 액션으로 추출하고, 추출된 액션에 따라 차량을 제어할 수 있다.If the ignition according to the morphological analysis results in the head hurts, if the surrounding situation is winter and the vehicle is in a state in which the heater is turned on, it can be understood that the headache is caused by the lack of air circulation. Therefore, the air mode change or window opening may be extracted as an action corresponding to the corresponding speech, and the vehicle may be controlled according to the extracted action.

또한, 같은 내용의 발화에서 주변 상황이 겨울이면서 차량 상태가 히터가 오프되어 있는 상황이면, 추위로 인해 두통이 유발된 것으로 파악할 수 있다. 따라서, 히터 실행을 해당 발화에 대응되는 액션으로 추출하고, 추출된 액션에 따라 차량을 제어할 수 있다.In addition, when the surrounding situation is winter and the vehicle state is the heater is turned off in the same ignition, it can be seen that the headache caused by the cold. Accordingly, the heater execution may be extracted as an action corresponding to the utterance, and the vehicle may be controlled according to the extracted action.

또한, 같은 내용의 발화에서 주변 상황이 여름이면서 차량 상태가 에어컨이 오프되어 있는 상황이면, 더위로 인해 두통이 유발된 것으로 파악할 수 있다. 따라서, 에어컨 실행을 해당 발화에 대응되는 액션으로 추출하고, 추출된 액션에 따라 차량을 제어할 수 있다. In addition, if the surrounding condition is summer and the vehicle condition is off the air conditioner in the same ignition, it can be seen that the headache caused by the heat. Therefore, the air conditioner execution may be extracted as an action corresponding to the utterance, and the vehicle may be controlled according to the extracted action.

또한, 같은 내용의 발화에서 주변 상황이 여름이면서 차량 상태가 에어컨이 온(On)되어 있는 상황이면, 냉방병으로 인해 두통이 유발된 것으로 파악할 수 있다. 따라서, 에어컨의 풍향이나 풍량의 변경을 해당 발화에 대응되는 액션으로 추출하고, 추출된 액션에 따라 차량을 제어할 수 있다. In addition, when the surrounding condition is summer and the vehicle condition is on (On) in the same ignition, it can be seen that the headache caused by the cooling disease. Accordingly, it is possible to extract a change in the wind direction or the air volume of the air conditioner as an action corresponding to the utterance, and control the vehicle according to the extracted action.

형태소 분석 결과에 따른 발화 내용이 찝찝하다는 내용인 경우, 주변 상황이 겨울이고 비가 오는 상황이면, 높은 습도로 인해 불쾌함이 유발된 것으로 파악할 수 있다. 따라서, 디포그 기능의 실행이나 제습 기능의 실행을 해당 발화에 대응되는 액션으로 추출하고, 추출된 액션에 따라 차량을 제어할 수 있다.In the case that the content of the utterance according to the morphological analysis results are awful, if the surrounding situation is winter and rainy conditions, it can be understood that the high humidity causes unpleasantness. Therefore, the execution of the defog function or the execution of the dehumidification function can be extracted as an action corresponding to the utterance, and the vehicle can be controlled according to the extracted action.

또한, 같은 내용의 발화에서 주변 상황이 여름이고 비가 오지 않는 상황이면, 계절적 특성과 더위로 인해 불쾌함이 유발된 것으로 파악할 수 있다. 따라서, 에어컨을 최저 온도로 실행시키는 것이 해당 발화에 대응되는 액션으로 추출하고, 추출된 액션에 따라 차량을 제어할 수 있다.In addition, if the surrounding situation is summer and no rain in the same ignition, it can be seen that the discomfort caused by seasonal characteristics and heat. Therefore, running the air conditioner at the lowest temperature may extract the action corresponding to the utterance, and control the vehicle according to the extracted action.

또한, 같은 내용의 발화에서 주변 상황이 여름이고 비가 오는 상황이면, 더위와 높은 습도로 인해 불쾌함이 유발된 것으로 파악할 수 있다. 따라서, 에어컨을 제습 모드로 실행하는 것이 해당 발화에 대응되는 액션으로 추출하고, 추출된 액션에 따라 차량을 제어할 수 있다. In addition, when the surrounding situation is summer and rainy conditions in the same ignition, it can be seen that the discomfort caused by the heat and high humidity. Therefore, running the air conditioner in the dehumidification mode may extract the action corresponding to the utterance, and control the vehicle according to the extracted action.

전술한 모호성 해결기(123)의 동작에 의하면, 사용자의 발화나 상황에 모호성이 있는 경우이더라도 주변 상황 정보와 차량 상태 정보를 사용자의 발화와 함께 통합적으로 고려함으로써 사용자가 실제로 원하는 액션 또는 사용자에게 실제로 필요한 액션을 정확하게 파악하여 제공할 수 있다. According to the operation of the ambiguity solver 123 described above, even when there is an ambiguity in the user's speech or situation, the surrounding situation information and the vehicle state information are considered together with the user's speech to actually give the user the desired action or action. Accurately identify and provide the required action.

모호성 해결기(123)가 판단한 액션에 관한 정보는 대화 액션 관리기(122)로 전달될 수 있고, 대화 액션 관리기(122)는 전달된 정보에 기초하여 대화/액션 DB(147)를 업데이트할 수 있다. Information about the action determined by the ambiguity resolver 123 may be transmitted to the conversation action manager 122, and the conversation action manager 122 may update the conversation / action DB 147 based on the transmitted information. .

액션 우선순위 결정기(125)와 인자 관리기(124)는 모호성 해결기(123)가 판단한 액션에 대해서도 전술한 바와 같이 액션 수행 조건을 판단하고, 우선 순위를 결정하고, 인자 값을 가져오는 동작을 수행한다. The action priority determiner 125 and the argument manager 124 determine an action execution condition, determine a priority, and obtain an argument value as described above with respect to the action determined by the ambiguity resolver 123. do.

각 액션을 수행하는데 사용되는 인자 값들 중 현재 상황과 대화를 통해 획득 가능한 값들이 모두 획득되면, 대화 액션 관리기(122)는 대화 흐름 관리기(121)에 신호를 전송한다. If all of the argument values used to perform each action are available through the current situation and the dialogue, the dialogue action manager 122 sends a signal to the dialogue flow manager 121.

한편, 액션 수행이나 조건 판단에 있어 필요한 인자 값이 대화/액션 DB(147), 외부 컨텐츠 서버(300), 장기 메모리(143), 단기 메모리(144) 및 상황 정보 DB(142)에 존재하지 않고, 사용자를 통해서만 획득될 수 있는 경우에는 결과 처리기(130)가 사용자에게 인자 값을 질의하기 위한 대화 응답을 생성하는 것도 가능하다.On the other hand, the parameter values necessary for performing the action or determining the condition do not exist in the dialogue / action DB 147, the external content server 300, the long term memory 143, the short term memory 144, and the context information DB 142. In the case where it can be obtained only through the user, the result processor 130 may generate a conversation response for querying the user with the argument value.

대화 흐름 관리기(121)는 1순위에 해당하는 액션에 관한 정보와 대화 상태를 결과 처리기(130)로 전달한다. 대화 정책에 따라 복수의 후보 액션에 관한 정보를 전달하는 것도 가능하다. The conversation flow manager 121 transmits information on the action corresponding to the first priority and the conversation state to the result processor 130. It is also possible to convey information about a plurality of candidate actions according to the dialogue policy.

대화 시스템(100)이 선발화를 출력하는 경우 즉, 입력 처리기(110)에서 선발화 트리거 신호가 생성된 경우에는, 결과 처리기(130)로 전달되는 대화 상태에 선발화 트리거 신호가 포함될 수 있다. 다만, 대화 상태에 반드시 선발화 트리거 신호가 포함되어야 하는 것은 아니고, 선발화 상황임을 나타낼 수 있는 정보이면 어떤 형태의 것이든 대화 상태에 포함될 수 있다. 대화 상태에 선발화 상황임을 나타내는 정보가 포함된 경우에는, 결과 처리기(130)가 대화 응답을 다른 형태의 응답에 우선하여 출력하거나, 다른 형태의 응답과 함께 출력할 수 있다.When the conversation system 100 outputs the starter, that is, when the starter trigger signal is generated in the input processor 110, the starter trigger signal may be included in the conversation state transmitted to the result processor 130. However, the start state trigger signal does not necessarily need to be included in the conversation state, and any type of information that may indicate that the start situation may be included in the conversation state. When the conversation state includes information indicating that the starting situation is included, the result processor 130 may output the conversation response in preference to the other type of response or may be output together with the other type of response.

또한, 대화 시스템(100)이 선발화를 출력하는 경우에 있어서, 대화 입력 관리기(111c)로부터 선발화 상황에 대응되는 선발화 메시지가 입력된 경우에는 전술한 모호성 해결, 인자 관리, 액션 순위 결정 등의 과정을 거치지 않고 선발화 메시지를 결과 처리기(130)에 전달할 수 있다. In addition, when the conversation system 100 outputs the starter, when the starter message corresponding to the starter situation is input from the dialog input manager 111c, the above-mentioned ambiguity resolution, factor management, action ranking, and the like are described. The selection message may be transmitted to the result processor 130 without going through the process of.

또한, 대화 시스템(100)이 선발화를 출력하는 경우에 있어서, 대화 입력 관리기(111c)로부터 선발화 상황에 대응되는 액션이 입력된 경우에는 전술한 모호성 해결, 인자 관리, 액션 순위 결정 등의 과정을 거치는 것도 가능하고, 이러한 과정을 거치지 않고 선발화 상황에 대응되는 액션을 결과 처리기(130)에 전달하는 것도 가능하다. In addition, in the case where the conversation system 100 outputs the starter, when an action corresponding to the starter situation is input from the dialog input manager 111c, the above-described ambiguity resolution, factor management, and action ranking are determined. It is also possible to pass through, and it is also possible to deliver the action corresponding to the starting situation to the result processor 130 without going through this process.

도 29는 결과 처리기의 구성을 세분화한 제어 블록도이다.Fig. 29 is a control block diagram of the configuration of the result processor.

도 29를 참조하면, 결과 처리기(130)는 대화 관리기(120)로부터 입력된 액션을 수행하기 위해 필요한 응답의 생성을 관리하는 응답 생성 관리기(131), 응답 생성 관리기(131)의 요청에 따라 텍스트 응답, 이미지 응답 또는 오디오 응답을 생성하는 대화 응답 생성기(132), 응답 생성 관리기(131)의 요청에 따라 차량 제어를 위한 명령어 또는 외부 컨텐츠를 이용한 서비스를 제공하기 위한 명령어를 생성하는 명령어 생성기(136), 사용자가 원하는 서비스를 제공하기 위해 다수의 서비스를 순차적 또는 산발적으로 실행하고 결과값을 취합해주는 서비스 편집기(134), 생성된 텍스트 응답, 이미지 응답 또는 오디오 응답을 출력하거나 명령어 생성기(136)가 생성한 명령어를 출력하고, 출력이 복수인 경우에는 출력 순서를 결정하는 출력 관리기(133), 응답 생성 관리기(131)와 출력 관리기(133)의 출력에 기초하여 장기 메모리(143)와 단기 메모리(144), 사고 대응 매뉴얼 DB(148b), 차량 기능 DB(146f)를 관리하는 메모리 관리기(135)를 포함한다. Referring to FIG. 29, the result processor 130 may generate a text according to a request of the response generation manager 131 and the response generation manager 131 that manage generation of a response required to perform an action input from the conversation manager 120. A conversation response generator 132 for generating a response, an image response or an audio response, a command generator 136 for generating a command for controlling a vehicle or a command for providing a service using external content according to a request of the response generation manager 131. ), A service editor 134 for executing a plurality of services sequentially or sporadically and collecting result values to provide a service desired by a user, and outputting a generated text response, image response or audio response, or the command generator 136 An output manager 133 and a response generation manager 131 which output the generated command and determine the output order when there are a plurality of outputs; It based on the output of the output manager 133, and includes a long-term memory 143 and the short-term memory 144, the corresponding manual DB accident (148b), a memory manager 135 to manage the vehicle functions DB (146f).

결과 처리기(130)는 전술 또는 후술하는 동작을 수행하기 위한 프로그램이 저장되는 메모리 및 저장된 프로그램을 실행시키는 프로세서를 포함할 수 있다. 메모리와 프로세서는 각각 적어도 하나 마련될 수 있고, 복수 개 마련되는 경우에는 이들이 하나의 칩 상에 집적될 수도 있고 물리적으로 분리될 수도 있다.The result processor 130 may include a memory for storing a program for performing the above-described or later operations, and a processor for executing the stored program. At least one memory and a processor may be provided, and in the case of a plurality of processors, they may be integrated on one chip or physically separated.

또한, 결과 처리기(130)에 포함되는 각각의 구성요소들이 단일 프로세서에 의해 구현되는 것도 가능하고, 별개의 프로세서에 의해 구현되는 것도 가능하다.In addition, each component included in the result processor 130 may be implemented by a single processor or may be implemented by a separate processor.

또한, 결과 처리기(130)와, 대화 관리기(120) 및 입력 처리기(110) 역시 단일 프로세서에 의해 구현되는 것도 가능하고, 별개의 프로세서에 의해 구현되는 것도 가능하다.In addition, the result processor 130, the conversation manager 120, and the input processor 110 may also be implemented by a single processor, or may be implemented by separate processors.

사용자의 발화나 상황에 대응하여 출력되는 응답은 대화 응답, 차량 제어, 외부 컨텐츠 제공 등을 포함할 수 있다. 대화 응답은 초기 대화, 질의, 정보 제공을 포함하는 답변 등의 형식을 가질 수 있고 응답 템플릿(149)에 데이터베이스화되어 저장될 수 있다. The response output in response to the user's speech or situation may include a conversation response, vehicle control, and external content provision. The conversation response may be in the form of an initial conversation, a query, an answer including providing information, and the like, and may be stored in a database in the response template 149.

응답 생성 관리기(131)는 대화 응답 생성기(132)와 명령어 생성기(136)에 대화 관리기(120)에서 결정된 액션을 수행하기 위해 필요한 응답의 생성을 요청한다. 이를 위해, 수행될 액션에 관한 정보를 대화 응답 생성기(132)와 명령어 생성기(136)에 전송할 수 있고, 수행될 액션에 관한 정보는 액션명, 인자 값 등을 포함할 수 있다. 응답을 생성함에 있어, 대화 응답 생성기(132)와 명령어 생성기(136)는 현재 대화 상태와 액션 상태를 참조할 수 있다. The response generation manager 131 requests the conversation response generator 132 and the command generator 136 to generate a response required to perform the action determined by the conversation manager 120. To this end, information about an action to be performed may be transmitted to the conversation response generator 132 and the command generator 136, and the information about the action to be performed may include an action name, an argument value, and the like. In generating the response, the conversation response generator 132 and the command generator 136 may refer to the current conversation state and the action state.

대화 응답 생성기(132)는 응답 템플릿(149)을 검색하여 대화 응답 서식을 추출할 수 있고, 추출된 대화 응답 서식에 필요한 인자 값을 채워 대화 응답을 생성한다. 생성된 대화 응답은 응답 생성 관리기(131)로 전달된다. 대화 응답 생성에 필요한 인자 값이 대화 관리기(120)로부터 전달되지 않거나, 외부 컨텐츠를 이용하라는 지시가 전달된 경우에는 외부 컨텐츠 서버(300)로부터 제공받거나 장기 메모리(143), 단기 메모리(144) 또는 상황 정보 DB(142)에서 검색할 수 있다.The conversation response generator 132 may search the response template 149 to extract a conversation response form, and generate a conversation response by filling in argument values necessary for the extracted conversation response form. The generated conversation response is transmitted to the response generation manager 131. If a parameter value required to generate a chat response is not delivered from the chat manager 120 or an instruction to use external content is received from the external content server 300 or the long-term memory 143, the short-term memory 144, or the like. The situation information DB 142 can be searched.

예를 들어, 대화 관리기(120)에서 결정된 액션이 길 안내에 해당하는 경우, 응답 템플릿(149)을 검색하여 "[현재 위치:-]에서 [목적지:-]까지 [소요 시간:-]이 소요될 것으로 예상됩니다. 안내를 시작할까요?"를 대화 응답 서식으로 추출할 수 있다. For example, if the action determined in the conversation manager 120 corresponds to the directions, search the response template 149 and search for "time required:-" from "[current location:-] to [destination:-]". Is expected. "Can we start the announcement?"

대화 응답 서식에 채워져야 할 인자 중에서 [현재 위치]와 [목적지]의 인자 값은 대화 관리기(120)로부터 전달되고, [소요 시간]의 인자 값은 전달되지 않을 수 있다. 이 경우, 대화 응답 생성기(132)는 외부 컨텐츠 서버(300)에 [현재 위치]에서 [목적지]까지 소요되는 시간을 요청할 수 있다. Among the factors to be filled in the dialogue response form, the argument values of [the current position] and the [destination] are transmitted from the dialogue manager 120, and the argument values of the [time required] may not be transmitted. In this case, the conversation response generator 132 may request the external content server 300 from the current location to the destination.

또한, 대화 응답 생성기(132)는 Q&A 목록(146g)에 사용자의 발화나 상황에 대한 응답과 관련된 질문 또는 답이 있는 경우, Q&A 목록(146g)의 해당 질문 또는 답을 참조하여 질문 서식을 추출 또는 생성할 수도 있다. In addition, when the Q & A list 146g has a question or answer related to a user's speech or response to a situation, the conversation response generator 132 may extract a question form by referring to the corresponding question or answer in the Q & A list 146g. You can also create

예를 들어, 대화 응답 생성기(132)는 대화 관리기(120)에서 결정된 액션이 우울 지수 판단에 해당하는 경우, 선발화로 "오늘 기분이 어떠신가요?"를 대화 응답 서식으로 추출할 수 있다.명령어 생성기(136)는 사용자의 발화나 상황에 대한 응답이 차량 제어 또는 외부 컨텐츠 제공을 포함하는 경우, 이를 실행하기 위한 명령어를 생성한다. 예를 들어, 대화 관리기(120)에서 결정된 액션이 공조 장치, 윈도우, 시트, AVN 등의 제어인 경우에 해당 제어를 실행하기 위한 명령어를 생성하여 응답 생성 관리기(131)에 전달한다. For example, when the action determined by the conversation manager 120 corresponds to the depression index determination, the conversation response generator 132 may extract, “How are you feeling today?” As the conversation response form by selecting the command. 136 generates a command for executing the response to the user's utterance or the situation includes vehicle control or external content provision. For example, when the action determined by the conversation manager 120 is a control of an air conditioner, a window, a sheet, or an AVN, a command for executing the control is generated and transmitted to the response generation manager 131.

또는, 대화 관리기(120)에서 결정된 액션이 외부 컨텐츠의 제공을 필요로 하는 경우에는 외부 컨텐츠 서버(300)로부터 해당 컨텐츠를 제공받기 위한 명령어를 생성하여 응답 생성 관리기(131)에 전달한다.Alternatively, when the action determined by the conversation manager 120 requires the provision of external content, a command for receiving the corresponding content from the external content server 300 is generated and transmitted to the response generation manager 131.

또한, 명령어 생성기(136)는 Q&A 목록(146g)에 사용자의 발화나 상황에 대한 응답과 관련된 질문 또는 답이 있는 경우, 해당 질문 또는 답을 참조하여 명령어를 생성할 수 있다. In addition, if there is a question or answer related to the user's speech or response to the situation in the Q & A list 146g, the command generator 136 may generate a command by referring to the question or answer.

예를 들어, 대화 관리기(120)에서 결정된 액션이 우울 지수 판단에 해당하고, 우울 지수 판단 액션이 바이오리듬 정보를 필요로 하는 경우에는 해당 정보를 제공받기 위한 명령어를 생성하여 상황 정보 수집 관리기(112b)로 전달한다. For example, when the action determined by the conversation manager 120 corresponds to the depression index determination, and the depression index determination action requires biorhythm information, a command for receiving the information is generated to generate a situation information collection manager 112b. To pass).

또한, 명령어 생성기(136)는 대화 관리기(120)에서 결정된 액션이 사고 대응 매뉴얼 DB(148b) 및 차량 기능 DB(146f) 중 적어도 하나와 관련되는 경우에는 해당 DB에 저장된 관련 정보를 참조하여 명령어를 생성할 수 있다. In addition, when the action determined by the conversation manager 120 is related to at least one of the accident response manual DB 148b and the vehicle function DB 146f, the command generator 136 may refer to the related information stored in the DB to execute the command. Can be generated.

예를 들어, 대화 관리기(120)에서 결정된 액션이 사고 예방에 해당하여 가족에게 전화를 걸려면, 전화 걸기 기능을 수행하는 명령어를 생성하여 AVN(255)에 전달할 수 있다.For example, if the action determined by the conversation manager 120 is to call a family in response to accident prevention, a command for performing a call function may be generated and transmitted to the AVN 255.

명령어 생성기(136)에서 생성한 명령어가 복수인 경우, 서비스 편집기(134)가 복수의 명령어를 실행하는 방법과 순서를 결정하여 응답 생성 관리기(131)에 전달한다. When there are a plurality of commands generated by the command generator 136, the service editor 134 determines the method and order of executing the plurality of commands and transmits them to the response generation manager 131.

응답 생성 관리기(131)는 대화 응답 생성기(132), 명령어 생성기(136) 또는 서비스 편집기(134)로부터 전달받은 응답을 출력 관리기(133)에 전달한다.The response generation manager 131 transfers the response received from the conversation response generator 132, the command generator 136, or the service editor 134 to the output manager 133.

출력 관리기(133)는 대화 응답 생성기(132)가 생성한 대화 응답과 명령어 생성기(136)가 생성한 명령어의 출력 타이밍, 출력 순서, 출력 위치 등을 결정한다. The output manager 133 determines an output timing, an output order, an output position, and the like of the dialogue response generated by the dialogue response generator 132 and the instruction generated by the instruction generator 136.

출력 관리기(133)는 응답 생성기(132)가 생성한 대화 응답과 명령어 생성기(136)가 생성한 명령어를 적절한 타이밍에 적절한 순서로 적절한 출력 위치에 전송하여 응답을 출력한다. TTS(Text to Speech) 응답은 스피커(232)를 통해 출력할 수 있고, 텍스트 응답은 디스플레이(231)를 통해 출력할 수 있다. 대화 응답을 TTS 형태로 출력하는 경우에는 차량(200)에 마련된 TTS 모듈을 이용하거나 출력 관리기(133)가 TTS 모듈을 포함할 수도 있다.The output manager 133 outputs the response by transmitting the conversation response generated by the response generator 132 and the command generated by the command generator 136 to an appropriate output location in an appropriate order at an appropriate timing. The text to speech (TTS) response may be output through the speaker 232, and the text response may be output through the display 231. When outputting a conversation response in a TTS form, the TTS module provided in the vehicle 200 may be used or the output manager 133 may include a TTS module.

명령어는 그 제어 대상에 따라 차량 제어기(240)로 전송될 수도 있고, 외부 컨텐츠 서버(300)와 통신하기 위한 통신 장치(280)로 전송될 수도 있다.The command may be transmitted to the vehicle controller 240 according to the control target, or may be transmitted to the communication device 280 for communicating with the external content server 300.

응답 생성 관리기(131)는 대화 응답 생성기(132), 명령어 생성기(136) 또는 서비스 편집기(134)로부터 전달받은 응답을 메모리 관리기(135)에도 전달할 수 있다. The response generation manager 131 may also transmit the response received from the conversation response generator 132, the command generator 136, or the service editor 134 to the memory manager 135.

또한, 출력 관리기(133)도 자신이 출력한 응답을 메모리 관리기(135)에 전달할 수 있다. In addition, the output manager 133 may also transmit a response outputted by the output manager 133 to the memory manager 135.

메모리 관리기(135)는 응답 생성 관리기(131) 및 출력 관리기(133)로부터 전달받은 내용에 기초하여 장기 메모리(143)와 단기 메모리(144)를 관리한다. 예를 들어, 메모리 관리기(135)는 생성 및 출력된 대화 응답에 기초하여 사용자와 시스템 간 대화 내용을 저장하여 단기 메모리(144)를 업데이트할 수 있고, 사용자와의 대화를 통해 획득된 사용자 관련 정보를 저장하여 장기 메모리(143)를 업데이트할 수 있다. The memory manager 135 manages the long term memory 143 and the short term memory 144 based on the contents received from the response generation manager 131 and the output manager 133. For example, the memory manager 135 may update the short-term memory 144 by storing the conversation contents between the user and the system based on the generated and outputted conversation response, and may obtain user-related information obtained through the conversation with the user. The long term memory 143 may be updated by storing the same.

또한, 단기 메모리(144)에 저장된 정보 중 사용자의 성향이나 선호도와 같이 의미 있고 영속성이 있는 정보 또는 이러한 정보를 획득하는데 사용될 수 있는 정보를 장기 메모리(143)에 저장할 수도 있다.In addition, information stored in the short-term memory 144 may be stored in the long-term memory 143 such as meaningful and persistent information such as a user's disposition or preference, or information that may be used to obtain such information.

또한, 생성 및 출력된 명령어에 대응되는 차량 제어나 외부 컨텐츠 요청에 기초하여 장기 메모리(143)에 저장된 사용자의 선호도나 차량 제어 이력 등을 업데이트할 수도 있다. In addition, the user's preference or vehicle control history stored in the long-term memory 143 may be updated based on the vehicle control or the external content request corresponding to the generated and output command.

한편, 사용자의 발화 입력 이전에 대화 시스템(100)이 선발화를 출력하는 경우에 있어서, 대화 입력 관리기(111c)로부터 선발화 상황에 대응되는 액션을 입력 받은 경우에는, 액션에 관한 정보를 입력 받은 대화 응답 생성기(132)가 응답 템플릿(149)을 검색하여 대화 응답 서식을 추출할 수 있고, 추출된 대화 응답 서식에 필요한 인자 값을 채워 대화 응답을 생성할 수 있다. 생성된 대화 응답은 응답 생성 관리기(131)로 전달된다. 여기서의 대화 응답은 대화 시스템(100)의 선발화가 된다.On the other hand, when the conversation system 100 outputs the selection prior to the user's speech input, when the action corresponding to the selection situation is input from the conversation input manager 111c, the information regarding the action is received. The conversation response generator 132 may search for the response template 149 to extract a conversation response form, and generate a conversation response by filling in argument values required for the extracted conversation response form. The generated conversation response is transmitted to the response generation manager 131. The conversation response here is the start of the conversation system 100.

응답 생성 관리기(131)는 대화 응답 생성기(132)로부터 전달받은 대화 응답을 출력 관리기(133)에 전달한다. The response generation manager 131 transfers the conversation response received from the conversation response generator 132 to the output manager 133.

출력 관리기(133)는 대화 응답 생성기(132)가 생성한 대화 응답을 스피커(232)를 통해 출력할 수 있다.The output manager 133 may output the conversation response generated by the conversation response generator 132 through the speaker 232.

결과 처리기(130)가 대화 흐름 관리기(121)로부터 선발화 상황에 대응되는 선발화 메시지 자체를 입력 받은 경우에는, 입력된 선발화 메시지가 대화 응답이 되고, 입력된 선발화 메시지는 출력 관리기(133)에 전달될 수 있다. When the result processor 130 receives the selection message itself corresponding to the selection situation from the conversation flow manager 121, the input selection message is a conversation response, and the input selection message is an output manager 133. Can be delivered.

출력 관리기(133)는 전달된 선발화 메시지를 스피커(232)를 통해 출력할 수 있다. The output manager 133 may output the delivered starter message through the speaker 232.

또한, 대화 시스템(100)이 선발화를 출력한 이후에 사용자의 발화가 입력되면, 그 이후에는 앞서 설명한 사용자의 발화를 처리하는 동작이 동일하게 수행될 수 있다. In addition, if the user's utterance is input after the conversation system 100 outputs the starter, the operation of processing the user's utterance described above may be performed in the same manner.

전술한 실시예에 따른 대화 시스템(100)에 의하면, 차량 내부에서 발생하는 다양한 상황을 고려하여 사용자에게 필요한 최적의 서비스를 제공할 수 있다. 특히, 사용자의 발화가 입력되지 않더라도 대화 시스템(100)이 수집한 상황 정보 또는 운전자 정보에 기초하여 사용자에게 필요한 서비스를 스스로 판단하고 이를 선제적으로 제공하는 것이 가능하다. According to the dialogue system 100 according to the above-described embodiment, it is possible to provide an optimal service necessary for a user in consideration of various situations occurring inside the vehicle. In particular, even if the user's utterance is not input, it is possible to determine a service necessary for the user based on the situation information or the driver information collected by the conversation system 100 and provide it preemptively.

예를 들어, 차량 시동 시의 상황에 따라 차량 상태의 평가 기준을 가변화하고 이에 대한 피드백을 선제적으로 제공할 수 있다. 주행 시작 시점을 차량 시동 시, EPB(Electronic Parking Brake) 해제 시 또는 내비게이션 목적지 설정 시 등으로 정의한다. 주행 가능 점수를 계산하는 차량 상태 평가 시스템 및 개별 장치에 가중치를 주고, 상황 요소에 따라 개별 장치에 적용되는 가변적인 가중치를 변화시킨다. 차량 상태에 문제가 있는 것으로 판단될 경우, 정비소 안내 등 개별 장치에 대한 문제 해결 방안을 제공할 수 있다.For example, it is possible to vary the evaluation criteria of the vehicle state according to the situation at the time of starting the vehicle and to provide feedback about this preemptively. The starting point of driving is defined as when the vehicle is started, when the EPB (Electronic Parking Brake) is released, or when a navigation destination is set. Weights are applied to the vehicle condition evaluation system and the individual device for calculating the driving possible score, and the variable weight applied to the individual device is changed according to the situation factor. If it is determined that there is a problem with the vehicle condition, it may be possible to provide a solution for the individual device, such as a workshop guidance.

또한, 차량 시동 인가 시 목적지 대비 유량 부족 여부를 판단하고, 유량이 부족할 경우 이에 대한 피드백으로 목적지까지의 경로 내에 사용자 선호 주유소를 자동 경유지로 추가하고, 이를 사용자에게 안내할 수 있다. 또한, 사용자의 응답에 따라 자동 경유지로 추가되는 주유소가 변경될 수도 있다.In addition, when the vehicle is authorized to start, it may be determined whether the flow rate is insufficient compared to the destination, and if the flow rate is insufficient, the user may add the user's preferred gas station as an automatic waypoint in the route to the destination, and guide the user. In addition, the gas station to be added to the automatic waypoint according to the user's response may be changed.

또한, 현재 차량 상태가 유량 부족을 나타내지 않더라도, 사용자의 향후 일정이나 주요 이동 기록, 잔유량 등을 종합적으로 고려하여 주유 장소나 시점을 선제적으로 제공할 수도 있다.In addition, even if the current state of the vehicle does not indicate a lack of flow rate, it is possible to preemptively provide a fueling location or time point in consideration of the user's future schedule, major movement records, remaining amount, and the like.

또한, 운전자의 신체 상태 및 수면 기록에 관한 정보를 획득하고, 획득된 정보에 기초하여 차량 시동 인가를 조건부로 허가할 수 있다. 예를 들어, 차량 외부에서 신체 상태와 수면 기록을 인식하여 졸음 운전 가능성이 인지되면 비운전을 추천할 수 있다. 또는 신체 상태나 수면 기록에 따라 권장 운전 시간에 대한 정보를 제공할 수도 있다.In addition, it is possible to obtain information regarding the physical condition of the driver and the sleep record, and conditionally permit the vehicle starting authorization based on the obtained information. For example, non-driving may be recommended if the driver may recognize drowsy driving by recognizing a physical condition and a sleep record outside the vehicle. Or, depending on your physical condition or sleep record, you can provide information about recommended driving times.

또한, 졸음 운전 가능성을 나타내는 트리거가 반복적으로 발생할 경우, 졸음 운전 가능성을 감지하고 감지된 가능성의 정도에 따라 경고를 출력하거나 자동으로 경로를 변경(휴게소)하는 피드백을 제공할 수 있다. 졸음 운전 가능성을 나타내는 트리거는 심박 저하가 나타난 경우, 선행 차량과의 거리가 기준 거리 이상인 경우, 속도가 기준 속도 이하인 경우와 같이 운전자의 상태나 차량의 상태를 수동적으로 측정하여 획득하는 것도 가능하고, 운전자에게 질의를 발화하고 이에 대한 운전자의 응답 속도를 측정하는 등 대화를 통해 능동적으로 획득하는 것도 가능하다. In addition, when a trigger indicating drowsy driving possibility repeatedly occurs, the drowsy driving possibility may be detected, and a feedback may be provided to output a warning or automatically change (rest stop) according to the degree of the detected possibility. The trigger indicating drowsy driving possibility may be acquired by manually measuring the driver's state or the state of the vehicle, such as when the heartbeat decreases, when the distance to the preceding vehicle is greater than or equal to the reference distance, and when the speed is less than or equal to the reference speed. It is also possible to proactively acquire through conversations, such as firing a question to the driver and measuring the driver's response speed.

또한, 사용자가 감정을 표현하는 발화를 입력한 경우, 사용자의 발화로부터 특정 도메인이나 액션은 추출할 수 없지만 대화 시스템(100)은 주변 상황 정보, 차량 상태 정보, 사용자 상태 정보 등을 이용하여 사용자의 의도를 파악하고 대화를 전개할 수 있다. 당해 예시는 전술한 바와 같이 모호성 해결기(230)에서 사용자 발화의 모호성을 해결함으로써 수행될 수 있다. In addition, when a user inputs a speech that expresses emotion, a specific domain or action cannot be extracted from the user's speech, but the conversation system 100 uses the surrounding situation information, the vehicle status information, the user status information, and the like. Identify intentions and develop conversations. This example may be performed by solving the ambiguity of user speech in the ambiguity resolver 230 as described above.

이하 일 실시예에 따른 대화 시스템(100)을 이용한 구체적인 대화 처리의 예시를 상세하게 설명하도록 한다.Hereinafter, an example of a specific conversation process using the conversation system 100 according to an embodiment will be described in detail.

도 30 내지 도 42는 사용자가 길 안내와 관련한 발화를 입력한 경우에 대화 시스템(100)이 입력을 처리하고, 대화를 관리하고, 결과를 출력하는 구체적인 예시를 나타낸 도면이다. 30 to 42 illustrate a specific example in which the conversation system 100 processes an input, manages a conversation, and outputs a result when a user inputs a utterance related to a road guidance.

도 30에 도시된 바와 같이, 사용자가 "어제 간 서울역으로 가자"는 발화를 입력한 경우, 음성 인식기(111a)는 사용자의 음성을 텍스트 형태의 발화문(어제 간 서울역으로 가자)으로 출력한다.As shown in FIG. 30, when the user inputs a speech of "Let's go to Seoul Station yesterday", the voice recognizer 111a outputs the user's voice as a text-type speech (let's go to Seoul Station yesterday).

자연어 이해기(111b)는 형태소를 분석하고, 도메인/액션 추론 규칙 DB(141)를 참조하여, 형태소 분석 결과(어제/NNG, 간/VV, 서울역/NNP, 가자/VV)로부터 [도메인: 내비게이션], [액션: 길안내], [화행: 요청], [인자:NLU 목적지: 서울역]을 추출하여 대화 입력 관리기(111c)에 입력할 수 있다. The natural language understander 111b analyzes the morphemes, referring to the domain / action inference rule DB 141, from the morphological analysis results (yesterday / NNG, liver / VV, Seoul station / NNP, Gaza / VV). ], [Action: directions], [speech act: request], [factor: NLU destination: Seoul Station] can be extracted and input to the conversation input manager (111c).

도 31을 참조하면, 대화 입력 관리기(111c)는 자연어 이해기(111b)의 자연어 이해 결과를 상황 이해기(112c)에 전달하면서 추가 정보가 있으면 보내줄 것을 요청한다. Referring to FIG. 31, the conversation input manager 111c transmits a natural language understanding result of the natural language reader 111b to the contextual reader 112c and requests to send additional information.

상황 이해기(112c)는 상황 이해 테이블(145)을 검색하여 [도메인: 내비게이션], [액션: 길안내]와 관련된 상황 정보는 현재 위치이고 상황 정보 타입은 GPS 값임을 추출할 수 있다. The context comparator 112c may search the context comprehension table 145 to extract that context information related to [domain: navigation] and [action: directions] is a current location and a context information type is a GPS value.

상황 이해기(112c)는 상황 정보 DB(142)를 검색하여 현재 위치의 GPS 값을 추출한다. 상황 정보 DB(142)에 현재 위치의 GPS 값이 저장되어 있지 않은 경우에는, 상황 정보 수집 관리기(112b)에 현재 위치의 GPS 값을 요청한다. The context comparator 112c searches the context information DB 142 and extracts the GPS value of the current location. When the GPS value of the current position is not stored in the situation information DB 142, the GPS information of the current position is requested to the situation information collection manager 112b.

상황 정보 수집 관리기(112b)는 상황 정보 수집기(112a)에 신호를 보내 현재 위치의 GPS 값을 수집하도록 하고, 상황 정보 수집기(112a)는 차량 제어기(240)로부터 GPS 값을 수집하여 상황 정보 DB(142)에 저장하면서 GPS 값 수집 확인 신호를 상황 정보 수집 관리기(112b)에 전송한다. 상황 정보 수집 관리기(112b)가 상황 이해기(112c)에 GPS 값 수집 확인 신호를 전달하면, 상황 이해기(112c)는 상황 정보 DB(142)로부터 현재 위치의 GPS 값을 추출하여 대화 입력 관리기(111c)에 전달한다. The situation information collection manager 112b sends a signal to the situation information collector 112a to collect the GPS value of the current location, and the situation information collector 112a collects the GPS value from the vehicle controller 240 and collects the situation information DB ( In step 142, the GPS value collection confirmation signal is transmitted to the situation information collection manager 112b. When the contextual information collection manager 112b transmits the GPS value collection confirmation signal to the contextual understanding 112c, the contextual understanding 112c extracts the GPS value of the current location from the contextual information DB 142 and uses the dialog input manager ( 111c).

대화 입력 관리기(111c)는 자연어 이해 결과인 [도메인: 내비게이션], [액션: 길안내], [화행: 요청], [인자: NLU: 목적지: 서울역]와 [상황 정보: 현재 위치: 의왕역(GPS 값)]를 통합하여 대화 관리기(120)에 전달한다. Conversation input manager 111c is the result of understanding natural language [Domain: Navigation], [Action: Directions], [Action: Request], [Factor: NLU: Destination: Seoul Station] and [Status information: Current location: Uiwang Station (GPS) Value)] to the conversation manager 120.

도 32를 참조하면, 대화 흐름 관리기(121)는 대화/액션 상태 DB(147)를 검색하여 진행 중인 대화 태스크나 액션 태스크가 있는지 판단한다. 이 때, 대화 정책 DB(148)를 참조할 수 있다. 당해 예시에서는 진행 중인 대화 태스크나 액션 태스크가 없는 상태인 것으로 가정한다.Referring to FIG. 32, the conversation flow manager 121 searches the conversation / action state DB 147 to determine whether there is a conversation task or an action task in progress. At this time, the dialogue policy DB 148 may be referred to. In this example, it is assumed that there is no conversation task or action task in progress.

대화 흐름 관리기(121)는 대화 액션 관리기(122)에 입력 처리기(110)의 출력에 대응되는 액션 태스크와 대화 태스크를 생성하도록 요청한다. 액션 태스크와 대화 태스크를 생성하는 것은 액션 상태와 대화 상태에 대한 정보를 저장하고 관리하기 위한 저장 공간을 할당하는 것을 의미한다.The dialog flow manager 121 requests the dialog action manager 122 to generate an action task and a dialog task corresponding to the output of the input processor 110. Creating an action task and a conversation task means allocating a storage space for storing and managing information about the action state and the conversation state.

따라서, 대화 액션 관리기(122)는 대화/액션 상태 DB(147) 내에 저장 공간을 할당하여 액션 상태에 대한 정보와 대화 상태에 대한 정보를 저장한다. Accordingly, the dialogue action manager 122 allocates a storage space in the dialogue / action state DB 147 to store information about the action state and information about the conversation state.

대화 액션 관리기(122)는 액션 상태와 대화 상태를 액션 우선순위 결정기(125)에 전달한다. The conversation action manager 122 communicates the action state and the conversation state to the action priority determiner 125.

액션 우선순위 결정기(125)는 연관 액션 DB(146b)에서 길 안내와 연계된 액션인 차량 상태 점검, 주유소 추천을 검색한다. 길 안내 액션 및 연계 액션들은 후보 액션이 된다.The action priority determiner 125 retrieves a vehicle status check and a gas station recommendation, which are actions associated with road guidance, in the associated action DB 146b. The road guide action and the association action become candidate actions.

액션 우선순위 결정기(125)는 미리 저장된 규칙에 따라 각 후보 액션들의 우선 순위를 결정할 수 있다. 우선 순위는 각 후보 액션 별 수행 조건이 판단되기 전에 결정될 수도 있고, 수행 조건이 판단된 이후에 수행 조건을 만족하는 후보 액션들에 대해서만 결정될 수도 있다.The action priority determiner 125 may determine the priority of each candidate action according to a pre-stored rule. The priority may be determined before the execution condition for each candidate action is determined, or may be determined only for candidate actions satisfying the execution condition after the execution condition is determined.

후보 액션 목록은 다시 대화 액션 관리기(122)로 전달되고, 대화 액션 관리기(122)는 검색된 연계 액션들을 추가하여 액션 상태를 업데이트한다. The candidate action list is passed back to the conversation action manager 122, which adds the retrieved association actions to update the action state.

도 33a를 참조하면, 액션 우선순위 결정기(125)는 액션 수행 조건 DB(146c)에서 각각의 후보 액션에 대한 수행 조건 및 수행 조건을 판단하기 위한 인자를 검색한다. 또한, 각 후보 액션들 사이의 우선 순위도 결정할 수 있다. Referring to FIG. 33A, the action priority determiner 125 searches for an execution condition for each candidate action and a factor for determining an execution condition in the action execution condition DB 146c. It may also determine the priority between each candidate action.

예를 들어, 차량 상태 점검을 수행하기 위한 조건은 목적지 거리가 100km 이상인 경우일 수 있고, 수행 조건을 판단하기 위해 필요한 인자는 목적지 거리이다.For example, the condition for performing the vehicle condition check may be the case where the destination distance is 100 km or more, and a factor required for determining the execution condition is the destination distance.

주유소 추천을 수행하기 위한 조건은 목적지 거리가 주행 가능 거리(DTE)보다 먼 경우일 수 있고, 수행 조건을 판단하기 위해 필요한 인자는 목적지 거리와 주행 가능 거리이다.The condition for performing the gas station recommendation may be a case where the destination distance is farther than the driving distance (DTE), and the factors necessary for determining the execution condition are the destination distance and the driving distance.

대화 액션 관리기(122)는 대화/액션 상태 DB(147)에 각 후보 액션을 수행하기 위한 조건과 조건 판단에 필요한 인자를 추가하여 액션 상태를 업데이트한다.The dialog action manager 122 updates the action state by adding a condition for performing each candidate action and a factor necessary for condition determination to the dialog / action state DB 147.

액션 우선순위 결정기(125)는 각 후보 액션의 수행 조건 만족 여부를 판단하기 위해 필요한 인자 값을 대화/액션 상태 DB(147), 상황 정보 DB(142), 장기 메모리(143) 또는 단기 메모리(144)에서 검색하여 가져올 수 있다. The action priority determiner 125 determines the argument values necessary for determining whether the candidate action satisfies the execution condition. The conversation / action state DB 147, the situation information DB 142, the long-term memory 143, or the short-term memory 144. Can be retrieved from).

인자 값이 이전 대화 내용에 포함되었거나, 대화 내용에 관련된 상황 정보에 포함되었거나, 발생된 이벤트에 관련된 상환 정보에 포함된 경우, 대화/액션 상태 DB(147)로부터 인자 값을 가져올 수 있다.If the argument value is included in the previous conversation content, the context information related to the conversation content, or included in the redemption information related to the generated event, the argument value may be obtained from the conversation / action status DB 147.

인자 값을 대화/액션 상태 DB(147), 상황 정보 DB(142), 장기 메모리(143) 또는 단기 메모리(144)에서 가져올 수 없는 경우에는 외부 정보 관리기(126)에 요청할 수 있다.If the argument value cannot be obtained from the conversation / action status DB 147, the situation information DB 142, the long term memory 143, or the short term memory 144, the external information manager 126 may be requested.

예를 들어, 목적지 거리는 외부 정보 관리기(126)를 통해, 내비게이션 서비스를 제공하는 외부 컨텐츠 서버(300)로부터 가져올 수 있고, DTE는 상황 정보 DB(142)로부터 가져올 수 있다. 한편, 목적지 거리를 검색하기 위해서는 내비게이션 서비스에서 사용되는 정확한 목적지 정보가 필요하다. 당해 예시에서 사용자의 발화로부터 입력된 목적지는 "서울역"에 해당하는바, 서울역은 서울역으로 시작되는 다양한 종류의 장소를 나타내거나 특정한 의미의 서울역일 수 있다. 따라서, "서울역"만으로는 정확한 목적지 거리를 검색하기 어렵다. For example, the destination distance may be obtained from the external content server 300 providing the navigation service through the external information manager 126, and the DTE may be obtained from the context information DB 142. Meanwhile, in order to search for a destination distance, accurate destination information used in a navigation service is required. In this example, the destination input from the user's speech corresponds to "Seoul Station", which may represent various kinds of places starting with Seoul Station or may be Seoul Station having a specific meaning. Therefore, it is difficult to search the exact destination distance only by "Seoul station".

또한, 필요에 따라 인자 값을 차량(200)과 연결된 모바일 기기(400)에서 가져오는 것도 가능하다. 예를 들어, 장기 메모리(143)에 저장되지 않은 연락처, 스케줄 등과 같은 사용자 정보가 인자 값으로 필요할 경우, 외부 정보 관리기(126)가 모바일 기기(400)에 필요한 정보를 요청하여 필요한 인자 값을 획득할 수 있다. In addition, it is possible to obtain the print value from the mobile device 400 connected to the vehicle 200 as needed. For example, if user information, such as a contact or schedule, which is not stored in the long-term memory 143, is required as a parameter value, the external information manager 126 requests necessary information from the mobile device 400 to obtain necessary parameter values. can do.

또한, 저장부(140), 외부 컨텐츠 서버(300) 및 모바일 기기(400)를 통해서도 인자 값을 획득할 수 없는 경우에는 사용자에게 질의하여 필요한 인자 값을 획득할 수 있다.In addition, when the factor value cannot be obtained through the storage 140, the external content server 300, and the mobile device 400, the user may obtain a necessary factor value by querying the user.

액션 우선순위 결정기(125)는 인자 값을 이용하여 각 후보 액션의 수행 조건을 판단한다. 목적지 거리는 검색되지 않았으므로, 일단 차량 상태 점검 액션과 주유소 추천 액션에 대해서는 수행 조건의 판단을 보류한다. The action priority determiner 125 determines an execution condition of each candidate action using the factor value. Since the destination distance has not been retrieved, the determination of the execution condition is suspended for the vehicle condition check action and the gas station recommendation action.

도 33b는 기분 전환 도메인에서 검색된 액션에 대한 우선 순위를 결정하는 방법을 설명한다. 33B illustrates a method of determining priorities for actions retrieved from the diversion domain.

예를 들어, 도 33b를 참조하면, 액션 우선순위 결정기(125)는 액션 수행 조건 DB(146c) 및 차량 기능 DB(146f)에서 각각의 후보 액션에 대한 수행 조건 및 수행 조건을 판단하기 위한 인자를 검색한다. 또한, 각 후보 액션들 사이의 우선 순위도 결정할 수 있다. For example, referring to FIG. 33B, the action priority determiner 125 determines an execution condition and an execution condition for each candidate action in the action execution condition DB 146c and the vehicle function DB 146f. Search. It may also determine the priority between each candidate action.

예를 들어, 창문 열기를 수행하기 위한 조건은 차량 내부 온도가 범위 밖인 경우이고, 수행 조건을 판단하기 위해 필요한 인자는 내부 온도일 수 있다. For example, the condition for performing the window opening is when the vehicle internal temperature is out of range, and a factor necessary for determining the execution condition may be the internal temperature.

휴게소 안내를 수행하기 위한 조건은 차량이 자율 주행 기능이 가능해야 하고, 수행 조건을 판단하기 위해 필요한 인자는 자율 주행 기능이 탑재된 경우 이어야 한다. The condition for performing the rest area guidance should be that the vehicle should be capable of autonomous driving, and the necessary factor for determining the performance condition should be when the autonomous driving function is installed.

대화 액션 관리기(122)는 대화/액션 상태 DB(147)에 각 후보 액션을 수행하기 위한 조건과 조건 판단에 필요한 인자를 추가하여 액션 상태를 업데이트한다.The dialog action manager 122 updates the action state by adding a condition for performing each candidate action and a factor necessary for condition determination to the dialog / action state DB 147.

액션 우선순위 결정기(125)는 각 후보 액션의 수행 조건 만족 여부를 판단하기 위해 필요한 인자 값을 대화/액션 상태 DB(147), 상황 정보 DB(142), 장기 메모리(143) 또는 단기 메모리(144)에서 검색하여 가져올 수 있다. The action priority determiner 125 determines the argument values necessary for determining whether the candidate action satisfies the execution condition. The conversation / action state DB 147, the situation information DB 142, the long-term memory 143, or the short-term memory 144. Can be retrieved from).

인자 값이 이전 대화 내용에 포함되었거나, 대화 내용에 관련된 상황 정보에 포함되었거나, 발생된 이벤트에 관련된 상황 정보에 포함된 경우, 대화/액션 상태 DB(147)로부터 인자 값을 가져올 수 있다.When the argument value is included in the previous conversation content, the context information related to the conversation content, or the context information related to the generated event, the argument value may be obtained from the conversation / action status DB 147.

인자 값을 대화/액션 상태 DB(147), 상황 정보 DB(142), 장기 메모리(143) 또는 단기 메모리(144)에서 가져올 수 없는 경우에는 외부 정보 관리기(126)에 요청할 수 있다.If the argument value cannot be obtained from the conversation / action status DB 147, the situation information DB 142, the long term memory 143, or the short term memory 144, the external information manager 126 may be requested.

따라서, 액션 우선순위 결정기(125)는 만일 차량이 자율 주행 기능이 탑재되지 않은 경우, 휴게소 안내를 추천하는 액션에 대해서는 수행 조건의 판단을 보류할 수 있다.Therefore, the action priority determiner 125 may suspend the determination of the execution condition for the action recommending the rest area guidance if the vehicle is not equipped with the autonomous driving function.

도 34에 도시된 바와 같이, 대화 액션 관리기(122)는 대화/액션 상태 DB(147)에 획득된 인자 값과 해당 인자 값을 이용하여 판단된 액션 수행 조건 만족 여부를 추가하여 액션 상태를 업데이트한다. As illustrated in FIG. 34, the dialogue action manager 122 updates the action state by adding the acquired argument value to the conversation / action state DB 147 and whether the action execution condition determined by using the corresponding argument value is satisfied. .

대화 액션 관리기(122)는 인자 관리기(124)에 각 후보 액션의 수행에 사용되는 인자 목록을 요청한다. The dialog action manager 122 requests the argument manager 124 for a list of factors used to perform each candidate action.

인자 관리기(124)는 액션 인자(146a)로부터 길 안내 액션의 수행에 사용되는 필수 인자로 현위치와 목적지를 추출하고, 선택 인자로 경로 타입(초기값: 빠른 경로)을 추출할 수 있다. The parameter manager 124 may extract the current location and the destination as an essential factor used to perform the road guidance action from the action factor 146a, and may extract a path type (initial value: fast path) as an optional factor.

차량 상태 점검 액션의 수행에 사용되는 선택 인자로 점검파트(초기값: 전체 파트)를 추출하고, 주유소 추천 액션의 수행에 사용되는 선택 인자로 선호 주유소(초기값: A오일)를 추출할 수 있다.An inspection part (initial value: all parts) may be extracted as an optional parameter used to perform a vehicle condition inspection action, and a preferred gas station (initial value: A oil) may be extracted as an optional parameter used to perform a gas station recommendation action. .

추출된 인자 목록은 대화 액션 관리기(122)로 전달되어 액션 상태를 업데이트하는데 사용될 수 있다.The extracted argument list can be passed to dialog action manager 122 and used to update the action state.

인자 관리기(124)는 각 후보 액션의 필수 인자와 선택 인자에 대응되는 인자 값을 획득하기 위해 대화/액션 상태 DB(147), 상황 정보 DB(142), 장기 메모리(143) 및 단기 메모리(144) 중 각 인자의 참조 위치에서 해당 인자 값을 검색하고, 인자 값이 외부 서비스를 통해 제공되어야 하는 경우에는 외부 정보 관리기(126)를 통해 외부 컨텐츠 서버(300)에 필요한 인자 값을 요청할 수 있다.The argument manager 124 may be configured to acquire the argument values corresponding to the required and optional arguments of each candidate action, the dialogue / action status DB 147, the situation information DB 142, the long term memory 143, and the short term memory 144. In the reference position of each factor, the relevant factor value is searched out, and if the factor value is to be provided through an external service, an external factor manager 126 may request a necessary factor value from the external content server 300.

후보 액션의 수행 조건을 판단하기 위해 사용되는 인자와, 후보 액션을 수행하는데 사용되는 인자가 상호 겹칠 수 있다. 액션 우선순위 결정기(125)가 획득하여 대화/액션 상태 DB(147)에 저장한 인자 값 중에 후보 액션을 수행하는데 사용되는 인자(필수 인자, 선택 인자)와 대응되는 것이 있으면, 이를 사용할 수 있다. The factors used to determine the execution condition of the candidate action and the factors used to perform the candidate action may overlap each other. If any of the argument values obtained by the action priority determiner 125 and stored in the conversation / action state DB 147 correspond to the factors (mandatory and optional factors) used to perform the candidate action, they may be used.

도 35를 참조하면, 대화 액션 관리기(122)는 인자 관리기(124)가 획득한 인자 값을 추가하여 액션 상태를 업데이트한다. Referring to FIG. 35, the dialogue action manager 122 updates the action state by adding a factor value obtained by the argument manager 124.

전술한 바와 같이, 사용자 발화로부터 추출한 목적지(서울역)이 길 안내 액션의 인자로 사용되기에는 모호성이 있다. 따라서, 길 안내 액션의 인자(목적지), 차량 상태 점검 액션의 인자(목적지 거리), 주유소 추천 액션의 인자(목적지 거리)의 인자 값이 아직 획득되지 않았다.As described above, there is an ambiguity that the destination (Seoul station) extracted from the user's speech is used as a factor of the road guide action. Therefore, the values of the factors of the road guidance action (destination), the vehicle condition checking action (destination distance) and the parameters of the gas station recommended action (destination distance) have not yet been obtained.

모호성 해결기(123)는 [인자:NLU:목적지:서울역]이 길 안내 액션에 적합한 목적지 인자로 변환하는데 모호성이 있는지 확인한다. 전술한 바와 같이 "서울역"은 서울역으로 시작되는 다른 종류의 장소를 의미할 수도 있고, 사용자가 의미하는 특정 위치의 서울역일 수도 있다. The ambiguity resolver 123 checks whether there is ambiguity in converting [Factor: NLU: Destination: Seoul Station] into a destination factor suitable for the road guidance action. As described above, "Seoul Station" may mean another kind of place starting with Seoul Station, or may be Seoul Station of a specific location that the user means.

모호성 해결기(123)는 형태소 분석 결과를 참조하여 사용자 발화 중 서울역의 수식어가 있음을 확인한다. 모호성 해결기(123)는 "어제 간 서울역"의 위치를 파악하기 위해 장기 메모리(143), 단기 메모리(144)에서 일정, 이동 위치, 연락처 등을 검색한다. The ambiguity resolver 123 determines that there is a modifier of Seoul station during user utterance with reference to the result of the morpheme analysis. The ambiguity resolver 123 searches for a schedule, a moving location, a contact point, etc. in the long-term memory 143 and the short-term memory 144 in order to determine the location of “Seoul Station in Seoul yesterday”.

예를 들어, 모호성 해결기(123)는 사용자의 어제 이동 위치로부터 "어제 간 서울역"이 "서울역 4번 출구"임을 확인할 수 있다. "서울역 4번 출구"의 POI가 있음을 확인하고 해당 값을 가져온다. For example, the ambiguity resolver 123 may confirm that "Seoul station between yesterday" is "Seoul station exit 4" from the user's moving position yesterday. Check that there is a POI at "Exit 4 of Seoul Station" and get the value.

모호성 해결기(123)가 획득한 목적지 정보는 대화 액션 관리기(122)로 전달되고, 대화 액션 관리기(122)는 후보 액션의 목적지 인자에 "서울역 4번 출구"를 추가하여 액션 상태를 업데이트한다. The destination information obtained by the ambiguity resolver 123 is transmitted to the dialogue action manager 122, and the dialogue action manager 122 adds "Seoul Station 4 exit" to the destination factor of the candidate action to update the action state.

인자 관리기(124)는 대화/액션 DB(147)로부터 목적지 정보(서울역 4번 출구)를 가져오고, 외부 정보 관리기(126)를 통해 내비게이션 서비스를 제공하는 외부 컨텐츠 서버(300)에 목적지 거리 값을 요청한다. The argument manager 124 gets destination information (Seoul Station 4 exit) from the conversation / action DB 147 and provides a destination distance value to an external content server 300 that provides a navigation service through the external information manager 126. request.

도 36을 참조하면, 외부 정보 관리기(126)가 외부 컨텐츠 서버(300)로부터 목적지 거리 값(80km)을 획득하여 인자 관리기(124)에 전달하면, 인자 관리기(124)는 이를 대화 액션 관리기(122)에 전달하여 액션 상태가 업데이트될 수 있도록 한다. Referring to FIG. 36, when the external information manager 126 obtains a destination distance value (80 km) from the external content server 300 and transmits the destination distance value (80 km) to the parameter manager 124, the parameter manager 124 may communicate this to the conversation action manager 122. ) So that the action status can be updated.

액션 우선순위 결정기(125)는 액션 상태를 참조하여 후보 액션의 수행 가능 여부를 판단하고, 우선 순위를 조절할 수 있다. 길 안내 액션은 필수 인자인 현재 위치와 목적지의 인자 값이 획득되었으므로, 수행 가능하고, 차량 상태 점검 액션은 목적지 거리(70km)가 100km 미만이므로 수행이 불가한 것으로 판단할 수 있다. 주유소 추천 액션은 목적지 거리(80km)가 주행 가능 거리(DTE)보다 멀기 때문에 수행이 가능한 것으로 판단할 수 있다. The action priority determiner 125 may determine whether the candidate action may be performed with reference to the action state and adjust the priority. The road guidance action may be performed because the current location and the parameter values of the destination, which are essential factors, are acquired, and the vehicle condition checking action may be determined to be impossible because the destination distance (70 km) is less than 100 km. The gas station recommendation action may be determined to be possible because the destination distance (80 km) is farther than the driving distance (DTE).

차량 상태 점검 액션은 수행이 불가하므로 우선순위 결정에서 제외한다. 따라서, 길 안내 액션이 우선순위 1번으로, 주유소 추천 액션이 우선순위 2번으로 조절된다. The vehicle condition check action cannot be performed and therefore is excluded from prioritization. Therefore, the road guidance action is adjusted to priority 1 and the gas station recommendation action is adjusted to priority 2.

대화 액션 관리기(122)는 후보 액션의 수행 가부와 조절된 우선 순위에 따라 액션 상태를 업데이트한다.The dialog action manager 122 updates the action state according to whether the candidate action is performed and the adjusted priority.

대화 흐름 관리기(121)는 대화/액션 상태 DB(147)에 저장된 대화 상태 및 액션 상태를 확인하고, 대화 정책 DB(148)를 참조하여 대화를 진행하기 위한 대화 전략을 전개한다. 예를 들어, 수행 가능한 액션 중 우선 순위가 가장 높은 액션을 선택하고, 대화 정책 DB(148)에 따라 대화를 진행하기 위한 응답을 생성하도록 응답 생성 관리기(131)에 요청할 수 있다. The conversation flow manager 121 confirms the conversation state and action state stored in the conversation / action state DB 147, and develops a conversation strategy for conducting a conversation with reference to the conversation policy DB 148. For example, the response generation manager 131 may be selected to select an action having the highest priority among the actions that can be performed, and generate a response for conducting a conversation according to the dialogue policy DB 148.

대화/액션 DB(147)에 저장된 대화 상태와 액션 상태는 [상태: 길안내 시작 확인]으로 각각 업데이트될 수 있다.The conversation state and action state stored in the conversation / action DB 147 may be updated with [Status: Direction Start Confirmation].

도 37을 참조하면, 응답 생성 관리기(131)는 대화 흐름 관리기(121)의 요청에 따라 대화 응답 생성기(132)에 응답 생성을 요청한다. Referring to FIG. 37, the response generation manager 131 requests the response response generator 132 to generate a response in response to a request of the conversation flow manager 121.

대화 응답 생성기(132)는 응답 템플릿(149)를 검색하여 TTS 응답, 텍스트 응답을 생성한다. 예를 들어, "의왕역에서 서울역 4번 출구까지 30분이 소요될 것으로 예상됩니다. 안내를 시작할까요?"를 TTS와 텍스트로 출력할 수 있는 대화 응답을 생성할 수 있다.The conversation response generator 132 searches the response template 149 to generate a TTS response and a text response. For example, you can generate a conversation response that can be printed in TTS and text: "It is expected to take 30 minutes from Uiwang Station to Exit 4 of Seoul Station.

응답 생성 관리기(131)는 대화 응답 생성기(132)가 생성한 TTS 응답과 텍스트 응답을 출력 관리기(133)와 메모리 관리기(135)에 전달하고, 출력 관리기(133)는 TTS응답을 스피커(232)에 전송하고 텍스트 응답을 디스플레이(231)에 전송한다. 이 때, 출력 관리기(133)는 텍스트를 음성으로 합성하는 TTS모듈을 거쳐 TTS응답을 스피커(232)로 전송할 수 있다. The response generation manager 131 transmits the TTS response and the text response generated by the conversation response generator 132 to the output manager 133 and the memory manager 135, and the output manager 133 transmits the TTS response to the speaker 232. And a text response to the display 231. At this time, the output manager 133 may transmit the TTS response to the speaker 232 via the TTS module for synthesizing the text into voice.

메모리 관리기(135)는 사용자가 길 안내를 요청했음을 단기 메모리(144) 또는 장기 메모리(143)에 저장할 수 있다. The memory manager 135 may store in the short term memory 144 or the long term memory 143 that the user requested a directions.

디스플레이(231)와 스피커(232)를 통해 "의왕역에서 서울역 4번 출구까지 30분이 소요될 것으로 예상됩니다. 안내를 시작할까요?"라고 묻는 대화 응답이 출력된다. 도 38에 도시된 바와 같이, 사용자가 "그래"라고 발화하면, 사용자의 발화는 음성 인식기(111a)로 입력되어 [텍스트: 그래]로 출력되고, 자연어 이해기(111b)는 사용자의 발화로부터 [도메인:-], [액션:-], [화행: -], [형태소 분석 결과: 그래/IC]를 출력한다.Through the display 231 and the speaker 232, a dialog response is output, asking, "It is expected to take 30 minutes from Uiwang Station to Exit 4 of Seoul Station. Do you want to start the guidance?" As shown in FIG. 38, when the user speaks "Yes", the user's speech is inputted to the speech recognizer 111a and output as [text: yes], and the natural language reader 111b is read from the user's speech. Domain:-], [action:-], [speech act:-], [morphological analysis result: yes / IC].

자연어 이해 결과는 대화 입력 관리기(111c)로 전달되고, 대화 입력 관리기(111c)는 이를 대화 관리기(120)에 전달한다.The natural language understanding result is transmitted to the conversation input manager 111c, and the conversation input manager 111c delivers it to the conversation manager 120. FIG.

도 39를 참조하면, 대화 흐름 관리기(121)는 대화/액션 상태 DB를 검색하여 이전 대화 상태를 분석하고, 진행 중인 [길 안내] 관련 대화/액션을 업데이트하도록 대화 액션 관리기(122)에 요청한다. Referring to FIG. 39, the conversation flow manager 121 searches the conversation / action state DB to analyze a previous conversation state and requests the conversation action manager 122 to update an ongoing [direction of directions] related conversation / action. .

대화 액션 관리기(122)는 대화 상태와 액션 상태를 [상태: 길 안내 시작]으로 업데이트한다. The dialogue action manager 122 updates the dialogue state and the action state to [state: start of directions].

대화 흐름 관리기(121)는 결과 처리기(130)에 길 안내 시작을 위한 응답 생성을 요청한다. The dialog flow manager 121 requests the result processor 130 to generate a response for starting the directions.

도 40을 참조하면, 대화 액션 관리기(122)는 대화 상태를 [상태: 다음 대화 진행]으로 업데이트하고, 액션 상태를 [상태: execute]로 업데이트한다.Referring to FIG. 40, the dialogue action manager 122 updates the dialogue state to [state: next conversation progress], and updates the action state to [state: execute].

대화 흐름 관리기(121)는 응답 생성 관리기(131)에 길 안내를 위한 응답 생성을 요청한다. The dialog flow manager 121 requests the response generation manager 131 to generate a response for guiding a road.

응답 생성기(132)는 "길 안내를 시작합니다"를 TTS와 텍스트로 출력할 수 있는 대화 응답을 생성하여 응답 생성 관리기(131)에 전달할 수 있다.The response generator 132 may generate a conversation response capable of outputting the TTS and the text as “starts the directions” and transmits the conversation response to the response generation manager 131.

명령어 생성기(136)는 길 안내를 수행하기 위한 명령어 [대상: 내비게이션, 명령: 길안내, 목적지: 서울역 4번 출구, 출발지: 의왕역]를 생성하여 응답 생성 관리기(131)에 전달할 수 있다. The command generator 136 may generate a command (target: navigation, command: directions, destination: Seoul Station Exit 4, departure place: Uiwang Station) for performing the road guidance and transmit the generated command to the response generation manager 131.

응답 생성 관리기(131)는 생성된 대화 응답과 명령어를 출력 관리기(133)에 전달한다. 출력 관리기(133)는 디스플레이(231) 및 스피커(232)를 통해 대화 응답을 출력하고, 길안내 명령어는 제어부(240)를 통해 차량(200)의 AVN(230)에 전송하거나 내비게이션 서비스를 제공하는 외부 컨텐츠 서버(300)에 전송할 수 있다. The response generation manager 131 transfers the generated conversation response and command to the output manager 133. The output manager 133 outputs a conversation response through the display 231 and the speaker 232, and the directions guidance command is transmitted to the AVN 230 of the vehicle 200 or provides a navigation service through the control unit 240. It may transmit to the external content server 300.

도 41을 참조하면, 대화 흐름 관리기(121)는 다음으로 실행 가능한 액션으로 주유소 추천을 선택하고, 주유소 추천 여부를 사용자에게 문의하는 응답을 생성하도록 응답 생성 관리기(131)에 요청한다. Referring to FIG. 41, the conversation flow manager 121 next selects a gas station recommendation as an executable action, and requests the response generation manager 131 to generate a response inquiring the user of the gas station recommendation.

대화 상태와 액션 상태는 [상태: 연계 서비스 추천 확인]으로 업데이트될 수 있다. The conversation state and the action state may be updated to [Status: Confirmation of Linked Service Recommendation].

응답 생성 관리기(131)는 대화 응답 생성기(132)에 TTS 응답 및 텍스트 응답 생성을 요청하고, 대화 응답 생성기(132)는 "목적지까지 이동하기 위한 연료가 부족합니다. 경유지로 A오일 주유소 추가할까요?"를 TTS와 텍스트로 출력할 수 있는 대화 응답을 생성하여 응답 생성 관리기(131)에 전달할 수 있다.The response generation manager 131 requests the conversation response generator 132 to generate a TTS response and a text response, and the conversation response generator 132 runs out of fuel for moving to the destination. Would you like to add an oil station A to the stop? "Can be generated and transmitted to the response generation manager 131 to generate a conversation response that can be output as a TTS and text.

응답 생성 관리기(131)는 대화 응답 생성기(132)가 생성한 TTS 응답과 텍스트 응답을 출력 관리기(133)와 메모리 관리기(135)에 전달하고, 출력 관리기(133)는 TTS응답을 스피커(232)에 전송하고 텍스트 응답을 디스플레이(231)에 전송한다. The response generation manager 131 transmits the TTS response and the text response generated by the conversation response generator 132 to the output manager 133 and the memory manager 135, and the output manager 133 transmits the TTS response to the speaker 232. And a text response to the display 231.

디스플레이(231)와 스피커(232)를 통해 "목적지까지 이동하기 위한 연료가 부족합니다. 경유지로 A오일 주유소 추가할까요?"라고 묻는 대화 응답이 출력된다. 도 42에 도시된 바와 같이, 사용자가 "아니"라고 발화하면, 사용자의 발화는 음성 인식기(111a)로 입력되어 [텍스트: 아니]로 출력되고, 자연어 이해기(111b)는 사용자의 발화로부터 [도메인:-], [액션:-], [화행: -], [형태소 분석 결과: 아니/IC]를 출력한다.Through the display 231 and the speaker 232, a dialogue response is output, asking, "There is not enough fuel to move to the destination. Do you want to add A oil service station to the waypoint?" As shown in FIG. 42, when the user speaks "no", the user's speech is inputted to the speech recognizer 111a and output as [text: no], and the natural language interpreter 111b is read from the user's speech. Outputs domain:-], [action:-], [speech act:-], [morphological analysis result: no / IC].

대화 흐름 관리기(121)는 대화 액션 관리기(122)에 대화 상태 및 액션 상태의 업데이트를 요청한다. The dialogue flow manager 121 requests the dialogue action manager 122 to update the dialogue state and the action state.

대화 액션 관리기(122)는 대화 상태를 [상태: 다음 대화 진행]으로 업데이트하고, 액션 상태를 [상태: CANCEL]로 업데이트할 수 있다. The conversation action manager 122 may update the conversation state to [state: next conversation progress], and update the action state to [state: CANCEL].

대화 흐름 관리기(121)는 응답 생성 관리기(131)에 주유소 추천 서비스를 취소했다는 응답을 생성하도록 요청하고, 다음으로 진행 가능한 대화가 있는지 확인한다. 더 진행 가능한 대화가 없으면, 대화 상태를 [상태: IDLE]로 업데이트하고, 사용자의 입력을 기다린다. The conversation flow manager 121 requests the response generation manager 131 to generate a response indicating that the service station recommendation service has been canceled, and checks whether there is a conversation that can proceed next. If no further progress is available, update the conversation status to [Status: IDLE] and wait for user input.

앞서 설명한 데이터 처리의 흐름은 대화 시스템(100)에 적용되는 일 예시에 불과하다. 따라서, 대화 시스템(100)의 각 구성요소들이 데이터를 처리하는 순서가 전술한 예시에 한정되는 것은 아니며, 복수의 구성요소들이 동시에 데이터를 처리하는 것도 가능하고, 전술한 예시와 다른 순서로 처리하는 것도 가능하다. The flow of data processing described above is just one example applied to the dialogue system 100. Therefore, the order in which the components of the conversation system 100 process data is not limited to the above-described example, and it is also possible for a plurality of components to process the data at the same time. It is also possible.

이하, 일 실시예에 따른 대화 처리 방법에 대해 설명한다. 일 실시예에 따른 대화 처리 방법에는 전술한 대화 시스템(100) 또는 이를 포함하는 차량(200)이 적용될 수 있다. 따라서, 도 1 내지 도 42에 대한 설명은 일 실시예에 따른 대화 처리 방법에 대해서도 동일하게 적용될 수 있다. Hereinafter, a conversation processing method according to an embodiment will be described. In the conversation processing method according to an exemplary embodiment, the above-described conversation system 100 or the vehicle 200 including the same may be applied. Therefore, the description of FIGS. 1 to 42 may be equally applied to the method of processing a conversation according to an exemplary embodiment.

도 43은 일 실시예에 따른 대화 처리 방법에 있어서, 사용자 입력을 처리하는 방법을 나타낸 순서도이다. 사용자 입력을 처리하는 방법은 대화 시스템(100)의 입력 처리기(110)에서 수행될 수 있다. 43 is a flowchart illustrating a method of processing user input in a conversation processing method according to an embodiment. The method of processing the user input may be performed by the input processor 110 of the conversation system 100.

도 43을 참조하면, 사용자의 발화가 입력되면(500의 예), 톤 분석기(111d)가 사용자의 톤을 분석한다(505). 또한, 사용자의 발화가 입력되면(500의 예), 음성 인식기(111a)가 입력된 사용자의 발화를 인식한다(510). 사용자의 발화는 차량(200)에 마련된 음성 입력 장치(210) 또는 모바일 기기(400)에 마련된 음성 입력 장치(410)를 통해 입력될 수 있다. Referring to FIG. 43, when a user's speech is input (Yes of 500), the tone analyzer 111d analyzes the user's tone (505). In addition, when the user's speech is input (Yes of 500), the voice recognizer 111a recognizes the input user's speech (510). The user's speech may be input through the voice input device 210 provided in the vehicle 200 or the voice input device 410 provided in the mobile device 400.

톤 분석기(111d)는 사용자의 톤을 분석하여 평소보다 낮은 톤이 입력되었는지를 판단하고, 판단결과를 포함하는 톤 분석 정보를 출력할 수 있다.The tone analyzer 111d may analyze the tone of the user to determine whether a tone lower than usual is input, and output tone analysis information including the determination result.

음성 인식기(111a)는 입력된 사용자의 발화를 인식하여 텍스트 형태의 발화문으로 출력한다. The voice recognizer 111a recognizes the input speech of the user and outputs the speech in a text form.

자연어 이해기(111b)는 텍스트 형태의 발화문에 자연어 이해 기술을 적용하여(520), 그 결과를 출력한다.The natural language reader 111b applies the natural language understanding technique to the text-type spoken text (520) and outputs the result.

구체적으로, 자연어 이해(520) 과정은 텍스트 형태의 발화문에 기초하여 형태소 분석(521)을 수행하고, 형태소 분석 결과에 기초하여 도메인을 추출(522)하고, 개체명을 인식(523)하고, 화행을 분석(524)하고, 액션을 추출(525)하고, 인자를 추출(526)하는 것을 포함할 수 있다. Specifically, the natural language understanding process 520 performs a morphological analysis 521 based on the spoken text in a text form, extracts a domain 522 based on the morphological analysis result, recognizes an entity name 523, Analyzing the speech act 524, extracting the action 525, and extracting the factor 526.

도메인 추출, 개체명 인식 및 액션 추출을 위해 도메인/액션 추론 규칙DB(141)을 참조할 수 있다. The domain / action inference rule DB 141 may be referred to for domain extraction, entity name recognition, and action extraction.

자연어 이해기(111b)의 출력, 즉 자연어 이해 결과는 사용자의 발화에 대응되는 도메인, 액션, 화행, 형태소 분석 결과 등을 포함할 수 있다.추출된 액션과 관련된 상황 정보를 검색한다(530). 추출된 액션과 관련된 상황 정보는 상황 이해 테이블(145)에 저장될 수 있고, 상황 이해기(112c)가 상황 이해 테이블(145)에서 추출된 액션과 관련된 상황 정보를 검색하고, 검색된 상황 정보의 정보 값을 상황 정보DB(142), 장기 메모리(143) 또는 단기 메모리(144)로부터 가져온다. The output of the natural language comparator 111b, that is, the natural language comprehension result, may include a domain, an action, a speech act, a morphological analysis result, etc. corresponding to the user's speech. The situation information related to the extracted action may be stored in the situation understanding table 145, and the situation understanding 112c retrieves the situation information related to the action extracted from the situation understanding table 145, and the information of the retrieved situation information. The value is taken from the situation information DB 142, the long term memory 143 or the short term memory 144.

추가 상황 정보가 필요한 경우(530의 예), 즉 상황 정보DB(142), 장기 메모리(143) 또는 단기 메모리(144)로부터 가져올 수 없는 상황 정보가 있는 경우, 해당 상황 정보의 수집을 요청함으로써 해당 상황 정보를 수집한다(540). 차량 상태 정보, 주변 환경 정보, 운전자 정보 등의 음성 외 입력은 사용자의 발화 입력과 독립적으로 상황 정보 수집기(111a)를 통해 입력될 수 있다. If additional situation information is needed (example of 530), that is, if there is situation information that cannot be obtained from the situation information DB 142, the long term memory 143, or the short term memory 144, the relevant situation information may be requested by collecting the situation information. The situation information is collected (540). Non-voice input such as vehicle status information, surrounding environment information, driver information, and the like may be input through the situation information collector 111a independently of the user's speech input.

사용자의 답변에 대한 자연어 이해 결과와 수집된 상황 정보는 응답 분석기(111e)에 전송될 수 있다(550). 응답 분석기(111e)는 자연어 이해기(111b)로부터 전달받은 처리 결과를 Q&A 목록(146g)에 저장된 Q&A 데이터와 비교할 수 있고, 비교 결과에 기초하여 사용자의 우울감 정도를 판단함으로써 사용자의 응답을 분석할 수 있다. 응답 분석기(111e)는 사용자의 우울감 정도를 수치화하여 우울 지수를 판단할 수 있으며(560), 이러한 우울 지수는 대화 입력 관리기(111c)로 전달된다. The natural language understanding result and the collected situation information about the user's answer may be transmitted to the response analyzer 111e (550). The response analyzer 111e may compare the processing result received from the natural language reader 111b with the Q & A data stored in the Q & A list 146g, and analyze the user's response by determining the degree of depression of the user based on the comparison result. Can be. The response analyzer 111e may determine the depression index by quantifying the degree of depression of the user (560), and the depression index is transmitted to the conversation input manager 111c.

이러한 정보들은 주기적으로 입력될 수도 있고, 특정 이벤트 발생 시에 입력될 수도 있으며, 주기적으로 입력되다가 특정 이벤트 발생 시에 추가적으로 더 입력될 수도 있다. 어느 경우이던지 정보의 수집이 요청되면 능동적으로 해당 정보를 수집할 수 있다. Such information may be input periodically, or may be input when a specific event occurs, or may be additionally input when the specific event occurs periodically. In either case, when the collection of information is requested, the information can be actively collected.

따라서, 액션과 관련된 상황 정보가 이미 수집되어 있는 경우에는 상황 정보 DB(142), 장기 메모리(143) 또는 단기 메모리(144)로부터 해당 정보를 가져오고, 그렇지 않은 경우에는 상황 정보 수집기(111a)를 통해 해당 정보를 수집한다. Therefore, when the situation information related to the action has already been collected, the information is taken from the situation information DB 142, the long term memory 143, or the short term memory 144. Otherwise, the situation information collector 111a is taken. Collect this information through.

상황 정보의 수집을 요청 받은 상황 정보 수집기(111a)가 해당 상황 정보를 수집하여 상황 정보 DB(142)에 저장하면, 상황 이해기(112c)는 상황 정보 DB(142)로부터 해당 상황 정보를 가져올 수 있다.When the situation information collector 111a, which is requested to collect the situation information, collects the relevant situation information and stores the situation information in the situation information DB 142, the situation understanding unit 112c may obtain the situation information from the situation information DB 142. have.

한편, 상황 정보 수집 관리기(112b)는 상황 정보 수집기(112a)가 수집한 데이터가 미리 설정된 조건을 만족하여 특정 이벤트가 발생한 것으로 판단하면 상황 이해기(112c)에 액션 트리거 신호를 전송할 수 있다. Meanwhile, the situation information collection manager 112b may transmit an action trigger signal to the situation understander 112c when it is determined that a specific event occurs because the data collected by the situation information collector 112a satisfies a preset condition.

상황 이해기(112c)는 상황 이해 테이블(145)을 검색하여 해당 이벤트와 관련된 상황 정보를 검색하고, 검색된 상황 정보가 저장되어 있지 않으면 다시 상황 정보 수집 관리기(112b)에 상황 정보의 요청 신호를 전송한다. The context comparator 112c searches the context comprehension table 145 to search for context information related to the corresponding event, and if the searched context information is not stored, transmits a request signal of the context information to the context information collection manager 112b. do.

필요한 상황 정보의 수집이 완료되면, 자연어 이해 결과와 상황 정보를 대화 관리기(120)로 전송한다. 이벤트가 발생된 경우에는, 이벤트와 관련된 정보(어떤 이벤트가 발생되었는지)와 발생된 이벤트와 관련된 상황 정보도 함께 전송할 수 있다. 도 44a 및 도 44b는 일 실시예에 따른 대화 처리 방법에 있어서, 입력 처리기의 출력을 이용하여 대화를 관리하는 방법을 나타낸 순서도이다. 대화를 관리하는 방법은 대화 시스템(100)의 대화 관리기(120)에서 수행될 수 있다. When the collection of the necessary situation information is completed, the natural language understanding result and the situation information is transmitted to the conversation manager 120. When an event occurs, information related to the event (what event occurred) and situation information related to the generated event may be transmitted together. 44A and 44B are flowcharts illustrating a method of managing a conversation using an output of an input processor according to an embodiment. The method of managing a conversation may be performed in the conversation manager 120 of the conversation system 100.

도 44a를 참조하면, 대화 흐름 관리기(121)가 대화/액션 상태 DB(147)에 관련 대화 이력이 있는지 검색한다(600).Referring to FIG. 44A, the conversation flow manager 121 searches 600 for a conversation history in a conversation / action status DB 147.

당해 예시에서는 사용자의 발화로부터 도메인과 액션을 추출할 수 있는 경우를 예로 들어 설명하나, 발화 내용 자체나 상황이 모호하여 사용자의 발화로부터 도메인과 액션을 추출할 수 없는 경우도 있을 수 있다. 이 경우, 대화 액션 관리기(122)는 임의의 대화 상태를 생성하고, 모호성 해결기(123)가 사용자의 발화 내용, 주변 상황, 차량 상태, 사용자 정보 등에 기초하여 사용자의 의도를 파악하고 이에 대응되는 적절한 액션을 판단할 수 있다.In this example, a case in which the domain and the action can be extracted from the user's speech will be described as an example. However, in some cases, the domain and the action may not be extracted from the user's speech because the content or situation of the speech is ambiguous. In this case, the conversation action manager 122 generates an arbitrary conversation state, and the ambiguity solver 123 grasps the user's intention based on the user's speech contents, surrounding conditions, vehicle status, user information, and the like, Determine the appropriate action.

관련 대화 이력이 존재하면(600의 예) 이를 참조하고(690), 존재하지 않으면(600의 아니오), 새로운 대화 태스크 및 액션 태스크를 생성한다(610). If the relevant conversation history exists (YES of 600), it is referenced 690, and if it does not exist (NO of 600), a new conversation task and action task are created (610).

연관 액션 DB(146b)에서 사용자 발화로부터 추출된 액션(이하, 입력 액션이라 한다)과 연관된 연관 액션 목록을 검색하여 후보 액션 목록을 생성한다(620). 입력 액션 및 이와 연관된 액션들이 후보 액션 목록이 된다.The association action DB 146b generates a candidate action list by searching for an association action list associated with an action extracted from the user's speech (hereinafter referred to as an input action) (620). The input action and the actions associated with it become a candidate action list.

액션 수행조건 DB(146c)에서 후보 액션 별 수행 조건을 검색한다(620). 수행 조건은 액션을 수행하기 위해 필요한 조건으로서, 해당 조건이 만족되면 액션 수행이 가능한 것으로 판단하고, 만족되지 않으면 액션 수행이 불가한 것으로 판단한다. 액션 수행조건 DB(146c)에는 액션 수행 조건 판단에 사용되는 인자의 종류에 대한 정보도 함께 저장된다.The execution condition for each candidate action is searched for in the action execution condition DB 146c (620). The execution condition is a condition necessary to perform the action. If the corresponding condition is satisfied, it is determined that the action can be performed. The action execution condition DB 146c also stores information on the type of the factor used for determining the action execution condition.

액션 수행 조건 판단에 사용되는 인자 값을 획득한다(640). 액션 수행 조건 판단에 사용되는 인자는 조건 판단 인자라 하기로 한다. 상황 정보 DB(142), 장기 메모리(143), 단기 메모리(144) 또는 대화/액션 상태 DB(147)를 검색하여 조건 판단 인자의 인자 값을 획득할 수 있다. 조건 판단 인자의 인자 값이 외부 서비스를 통해 제공되어야 하는 경우에는, 외부 정보 관리기(126)를 통해 외부 컨텐츠 서버(300)로부터 필요한 인자 값을 제공받을 수 있다.An argument value used to determine an action execution condition is obtained (640). A factor used to determine an action execution condition will be referred to as a condition judgment factor. The condition value DB 142, the long term memory 143, the short term memory 144, or the conversation / action state DB 147 may be searched to obtain a factor value of the condition determination factor. When the argument value of the condition determination factor is to be provided through an external service, the necessary factor value may be provided from the external content server 300 through the external information manager 126.

또한, 상황이나 발화가 모호하여 필요한 인자 값을 획득할 수 없는 경우에는 모호성 해결기(230)를 통해 모호성을 해결하여 필요한 인자 값을 획득할 수 있다. In addition, when a situation or speech is ambiguous and a necessary factor value cannot be obtained, the ambiguity resolver 230 may be used to resolve the ambiguity to obtain a necessary factor value.

또한, 획득된 인자가 액션 수행 조건 판단에 사용되기 어려운 비유효 인자인 경우에도 모호성 해결기(230)가 비유효 인자로부터 유효 인자를 획득할 수 있다. In addition, even if the acquired factor is an ineffective factor that is difficult to use in determining the action execution condition, the ambiguity solver 230 may obtain an effective factor from the ineffective factor.

획득된 조건 판단 인자에 기초하여 후보 액션 별로 수행 가부를 판단하고(650), 후보 액션들의 우선 순위를 결정한다(660). 후보 액션들의 우선 순위를 결정하는 규칙은 미리 저장될 수 있다. 액션 우선순위 결정기(125)는 액션 수행 가부가 판단된 이후에 액션 수행이 가능한 후보 액션들만 고려하여 우선 순위를 결정할 수 있다. 또는, 액션들의 수행 가부에 상관없이 우선 순위를 결정한 이후에, 액션 수행 가부에 기초하여 우선 순위를 조절할 수도 있다.Based on the obtained condition determination factor, it is determined whether to perform each candidate action (650), and the priority of candidate actions is determined (660). The rule for determining the priority of candidate actions may be stored in advance. After determining whether to perform an action, the action priority determiner 125 may determine the priority by considering only candidate actions capable of performing the action. Alternatively, after determining the priority regardless of whether the actions are performed, the priority may be adjusted based on the action execution.

액션 인자 DB(146a)에서 후보 액션의 수행에 사용되는 인자 목록을 검색한다(670). 액션의 수행에 사용되는 인자는 액션 인자라 하기로 한다. 액션 인자는 필수 인자와 선택 인자를 포함할 수 있다.The action factor DB 146a retrieves a list of factors used to perform candidate actions (670). An argument used to perform an action is called an action argument. Action arguments can include required and optional arguments.

후보 액션의 수행에 사용되는 액션 인자의 인자 값을 획득한다(680). 상황 정보 DB(142), 장기 메모리(143), 단기 메모리(144) 또는 대화/액션 상태 DB(147)를 검색하여 액션 인자의 인자 값을 획득할 수 있다. 액션 인자의 인자 값이 외부 서비스를 통해 제공되어야 하는 경우에는, 외부 정보 관리기(126)를 통해 외부 컨텐츠 서버(300)로부터 필요한 인자 값을 제공받을 수 있다.An argument value of an action argument used to perform a candidate action is obtained (680). The argument value of the action factor may be obtained by searching the context information DB 142, the long term memory 143, the short term memory 144, or the conversation / action state DB 147. When the argument value of the action factor is to be provided through an external service, the necessary argument value may be provided from the external content server 300 through the external information manager 126.

또한, 상황이나 발화가 모호하여 필요한 인자 값을 획득할 수 없는 경우에는 모호성 해결기(230)를 통해 모호성을 해결하여 필요한 인자 값을 획득할 수 있다. In addition, when a situation or speech is ambiguous and a necessary factor value cannot be obtained, the ambiguity resolver 230 may be used to resolve the ambiguity to obtain a necessary factor value.

또한, 획득된 인자가 액션의 수행에 사용되기 어려운 비유효 인자인 경우에도 모호성 해결기(230)가 비유효 인자로부터 유효 인자를 획득할 수 있다.In addition, even when the acquired factor is an ineffective factor that is difficult to use in performing an action, the ambiguity solver 230 may obtain a valid factor from the ineffective factor.

대화 액션 관리기(122)에 의해 관리되는 대화 상태 및 액션 상태는 전술한 단계들이 수행되면서 상태가 변경될 때마다 업데이트될 수 있다. The conversation state and action state managed by the conversation action manager 122 may be updated whenever the state changes as the above-described steps are performed.

획득 가능한 인자 값들이 모두 획득되면 대화 흐름 관리기(121)가 결과 처리기(130)에 후보 액션에 관한 정보와 대화 상태를 전달한다. 대화 정책에 따라 1순위에 해당하는 액션에 관한 정보만 전달하는 것도 가능하고, 복수의 후보 액션에 관한 정보를 전달하는 것도 가능하다.When all of the obtainable argument values are acquired, the conversation flow manager 121 transmits information on the candidate action and the conversation state to the result processor 130. According to the dialogue policy, only information on actions corresponding to the first rank may be delivered, and information on a plurality of candidate actions may be delivered.

한편, 필요한 인자 값이 외부 컨텐츠 서버(300), 장기 메모리(143), 단기 메모리(144) 및 상황 정보 DB(142)에 존재하지 않고, 사용자를 통해서만 획득될 수 있는 경우에는 사용자에게 인자 값을 질의하기 위한 대화 응답을 출력하는 것도 가능하다.On the other hand, if the necessary parameter value does not exist in the external content server 300, the long term memory 143, the short term memory 144, and the context information DB 142, and can be obtained only through the user, It is also possible to output a dialogue response to query.

도 44b를 참조하면, 위험 상황 관리기(119)는 위험 상황인지 여부, 즉 사용자가 위험 상황에 처했는지 여부를 판단할 수 있다(850). 구체적으로, 위험 상황 관리기(119)는 수집된 상황 정보 및 사용자의 우울 지수 중 적어도 하나에 기초하여 위험 상황인지 여부를 판단할 수 있다. Referring to FIG. 44B, the dangerous situation manager 119 may determine whether the dangerous situation, that is, whether the user is in a dangerous situation (850). In detail, the dangerous situation manager 119 may determine whether the dangerous situation is based on at least one of the collected situation information and the user's depression index.

위험 상황으로 판단되는 경우, 대화 흐름 관리기(121)는 사고 대응 매뉴얼 DB(148b)에 관련 사고 대응 매뉴얼이 있는지 검색할 수 있다(851).If it is determined that the dangerous situation, the conversation flow manager 121 may search (851) whether there is an associated accident response manual in the accident response manual DB 148b.

관련 사고 대응 매뉴얼이 존재하는 경우(851의 예), 사고 대응 매뉴얼 DB(148b)에 저장된 관련 사고 대응 매뉴얼, 즉 위험 상황에 대응하기 위한 대화 태스크와 액션 태스크를 참조할 수 있다(852).If there is an associated accident response manual (Yes of 851), the associated accident response manual stored in the accident response manual DB 148b, that is, a dialogue task and an action task for responding to a dangerous situation may be referred to (852).

관련 사고 대응 매뉴얼이 존재하지 않으면(852의 아니오), 새로운 대화 태스크 및 액션 태스크를 생성할 수 있다(853). 이 경우, 사고 대응 매뉴얼 DB(148b)에 저장된 데이터에 기초하여 새로운 대화 태스크 및 액션 태스크를 생성할 수도 있다. If the associated incident response manual does not exist (NO in 852), a new conversation task and action task may be created (853). In this case, new conversation tasks and action tasks may be generated based on the data stored in the accident response manual DB 148b.

사고 대응 매뉴얼 DB(148b)에서 판단된 위험 상황과 연관된 연관 액션 목록을 검색할 수 있고, 후보 액션 목록을 생성할 수 있다(854). 이 때, 사고 대응 매뉴얼 DB(148b)는 위험 상황에 대응하기 위한 적어도 하나의 액션을 포함하는 액션 목록을 더 저장할 수 있으며, 위험 상황과 연관된 액션들이 후보 액션 목록이 된다.In the accident response manual DB 148b, a list of related actions associated with the determined risk situation may be retrieved, and a candidate action list may be generated (854). In this case, the accident response manual DB 148b may further store an action list including at least one action for responding to a dangerous situation, and the actions associated with the dangerous situation become a candidate action list.

액션 수행조건 DB(146c)에서 후보 액션 별 수행 조건을 검색할 수 있다(855). 이 때, 차량 기능 DB(146f)에서도 후보 액션 별 수행 조건을 검색할 수 있다. 차량 기능 DB(146f)에는 차량이 제공 가능한 기능에 대한 정보가 저장될 수 있고, 제공 가능한 기능에 대한 수행 조건 판단에 사용되는 인자의 종류에 대한 정보도 함께 저장된다.The execution condition for each candidate action may be searched for in the action execution condition DB 146c (855). At this time, the vehicle function DB 146f may also search for the execution condition for each candidate action. The vehicle function DB 146f may store information on a function that can be provided by the vehicle, and also store information on the type of a factor used to determine an execution condition for the function that can be provided.

액션 수행 조건 판단에 사용되는 인자 값을 획득하고(856), 획득된 조건 판단 인자에 기초하여 후보 액션 별로 수행 가부를 판단하고(857), 후보 액션들의 우선 순위를 결정할 수 있다(858). An argument value used for determining an action execution condition may be acquired (856), whether to perform execution for each candidate action based on the obtained condition determination factor (857), and the priority of candidate actions may be determined (858).

액션 인자 DB(146a)에서 후보 액션의 수행에 사용되는 인자 목록을 검색하고(859), 후보 액션의 수행에 사용되는 액션 인자의 인자 값을 획득할 수 있다(860).In the action factor DB 146a, the argument list used to perform the candidate action may be retrieved (859), and an argument value of the action factor used to perform the candidate action may be obtained (860).

도 45는 일 실시예에 따른 대화 처리 방법에 있어서, 대화 관리의 결과에 대응되는 응답을 생성하기 위한 결과 처리 방법을 나타낸 순서도이다. 결과 처리 방법은 대화 시스템(100)의 결과 처리기(130)에 의해 수행될 수 있다. 45 is a flowchart illustrating a result processing method for generating a response corresponding to a result of conversation management in the conversation processing method according to an exemplary embodiment. The result processing method may be performed by the result processor 130 of the conversation system 100.

도 45를 참조하면, 대화 응답의 생성이 필요한 경우(700의 예), 대화 응답 생성기(132)가 응답 템플릿(149)을 검색한다(710). 응답 템플릿(149)에서 현재 대화 상태와 액션 상태에 대응되는 대화 응답 서식을 추출하고, 대화 응답 서식에 필요한 인자 값을 채워 대화 응답을 생성한다(720). Referring to FIG. 45, when generation of a chat response is required (Yes of 700), the chat response generator 132 searches for a response template 149 (710). The response template 149 extracts a dialogue response form corresponding to the current dialogue state and action state, and generates a dialogue response by filling in argument values necessary for the dialogue response form (720).

대화 응답 생성에 필요한 인자 값이 대화 관리기(120)로부터 전달되지 않거나, 외부 컨텐츠를 이용하라는 지시가 전달된 경우에는 외부 컨텐츠 서버(300)로부터 제공받거나 장기 메모리(143), 단기 메모리(144) 또는 상황 정보 DB(142)에서 검색할 수 있다. 필요한 인자 값이 외부 컨텐츠 서버(300), 장기 메모리(143), 단기 메모리(144) 및 상황 정보 DB(142)에 존재하지 않고, 사용자를 통해서만 획득될 수 있는 경우에는 사용자에게 인자 값을 질의하기 위한 대화 응답을 생성하는 것도 가능하다. If a parameter value required to generate a chat response is not delivered from the chat manager 120 or an instruction to use external content is received from the external content server 300 or the long-term memory 143, the short-term memory 144, or the like. The situation information DB 142 can be searched. If the necessary argument values do not exist in the external content server 300, the long term memory 143, the short term memory 144, and the context information DB 142, and can only be obtained through the user, query the user with the argument values. It is also possible to generate a conversation response for the user.

명령어 생성이 필요한 경우(760)에는, 명령어 생성기(136)가 차량 제어 또는 외부 컨텐츠 이용을 위한 명령어를 생성한다(770). If command generation is required (760), the command generator 136 generates a command for vehicle control or external content use (770).

생성된 대화 응답 또는 명령어는 출력 관리기(133)로 입력되고, 출력 관리기(133)는 대화 응답과 명령어 사이의 출력 순서 또는 복수의 명령어 사이의 출력 순서를 결정할 수 있다(730).The generated conversation response or command is input to the output manager 133, and the output manager 133 may determine an output order between the conversation response and the command or an output order between the plurality of commands (730).

생성된 대화 응답 또는 명령어에 기초하여 메모리를 업데이트한다(740). 메모리 관리기(135)는 생성 및 출력된 대화 응답에 기초하여 사용자와 시스템 간 대화 내용을 저장하여 단기 메모리(144)를 업데이트할 수 있고, 사용자와의 대화를 통해 획득된 사용자 관련 정보를 저장하여 장기 메모리(143)를 업데이트할 수 있다. 또한, 생성 및 출력된 차량 제어나 외부 컨텐츠 요청에 기초하여 장기 메모리(143)에 저장된 사용자의 선호도나 차량 제어 이력 등을 업데이트할 수 있다.The memory is updated based on the generated conversation response or command (740). The memory manager 135 may update the short-term memory 144 by storing the conversation contents between the user and the system based on the generated and outputted dialogue response, and may store user-related information obtained through the dialogue with the user for a long term. The memory 143 may be updated. In addition, the user's preference or vehicle control history stored in the long-term memory 143 may be updated based on the generated and output vehicle control or an external content request.

출력 관리기(133)는 대화 응답과 명령어를 적절한 출력 위치로 전송하여 응답을 출력한다(750). TTS 응답은 스피커(232)를 통해 출력할 수 있고, 텍스트 응답은 디스플레이(231)를 통해 출력할 수 있다. 명령어는 그 제어 대상에 따라 차량 제어기(240)로 전송될 수도 있고, 외부 컨텐츠 서버(300)로 전송될 수도 있으며, 외부 컨텐츠 서버(300)와 통신하기 위한 통신 장치(280)로 전송될 수도 있다. The output manager 133 outputs the response by sending the conversation response and the command to an appropriate output location (750). The TTS response may be output through the speaker 232 and the text response may be output through the display 231. The command may be transmitted to the vehicle controller 240, the external content server 300, or the communication device 280 for communicating with the external content server 300 according to the control target. .

도 46 내지 도 48은 일 실시예에 따른 대화 처리 방법에 있어서, 사용자의 발화 입력 전에 대화 시스템이 선발화를 출력하는 경우를 나타낸 순서도이다.46 to 48 are flowcharts illustrating a case in which a conversation system outputs a selection prior to a user's speech input in a conversation processing method according to an exemplary embodiment.

도 46을 참조하면, 상황 수집기(112a)와 상황 수집 관리기(112b)가 상황 정보를 수집한다(810). 구체적으로, 차량 제어기(240)는 잔유량, 강우량, 강우 속도, 주변 장애물 정보, 속도, 엔진 온도, 타이어 공기압, 현재 위치 등과 같이 차량에 마련된 센서로부터 획득되는 차량 상태 정보와 주변 환경 정보를 상황 처리기(112)에 입력할 수 있고, 음성 외 입력 장치(220)에 입력된 사용자 정보나 외부 컨텐츠 서버(300) 또는 외부 기기로부터 획득된 정보 역시 상황 처리기(112)에 입력될 수 있다. 수집된 상황 정보는 상황 정보 DB(142), 장기 메모리(143) 또는 단기 메모리(144)에 저장될 수 있다. Referring to FIG. 46, the situation collector 112a and the situation collection manager 112b collect situation information (810). In detail, the vehicle controller 240 may display the vehicle status information and the surrounding environment information obtained from a sensor provided in the vehicle, such as residual flow rate, rainfall, rainfall speed, ambient obstacle information, speed, engine temperature, tire pressure, and current location. The user information input to the non-speech input device 220 or the information obtained from the external content server 300 or an external device may also be input to the situation processor 112. The collected situation information may be stored in the situation information DB 142, the long term memory 143, or the short term memory 144.

선발화 판단기(151)는 상황 정보에 기초하여 선발화 조건을 판단한다(811). 선발화 조건은 선발화 조건 테이블(145a)에 저장될 수 있다. 전술한 도 22A 내지 도 22C의 예시와 같이, 선발화 조건 테이블(145a)에는 상황 정보와 관련된 선발화 조건이 상황 정보 별로 저장될 수 있다. The starter determination unit 151 determines the starter condition based on the situation information (S811). The starting conditions may be stored in the starting conditions table 145a. As illustrated in FIGS. 22A to 22C described above, the starting condition related to the situation information may be stored for each situation information in the starting condition table 145a.

선발화 판단기(151)는 상황 정보 DB(142), 장기 메모리(143) 또는 단기 메모리(144)로부터 전달된 상황 정보가 선발화 조건을 만족하면(812의 예), 선발화 상황인 것으로 판단하고 선발화 트리거 신호를 생성한다(813).The starter determination unit 151 determines that the starter situation is satisfied when the situation information transmitted from the situation information DB 142, the long term memory 143, or the short term memory 144 satisfies the starter condition (Yes of 812). In operation 813, the start trigger signal is generated.

선발화 판단기(151)는 선발화 상황에 대응되는 액션을 추출한다(814). 전술한 도 22C의 예시와 같이, 선발화 조건 테이블(145a)에는 선발화 상황마다 그에 대응되는 액션이 미리 저장될 수 있다. 선발화 판단기(151)는 선발화 조건 테이블(145a)로부터 선발화 상황에 대응되는 액션을 추출할 수 있다. 또는, 선발화 판단기(151)가 정해진 규칙에 따라 선발화 상황에 대응되는 액션을 생성하는 것도 가능하다. The starter determiner 151 extracts an action corresponding to the starter situation (814). As illustrated in FIG. 22C described above, the action corresponding to the selection situation may be previously stored in the selection condition table 145a. The starter determiner 151 may extract an action corresponding to the starter situation from the starter condition table 145a. Alternatively, the starter determiner 151 may generate an action corresponding to the starter situation according to a predetermined rule.

선발화 판단기(151)가 선발화 트리거 신호와 선발화 상황에 대응되는 액션을 대화 입력 관리기(111c)에 전달하면, 대화 입력 관리기(111c)는 대화 관리기(120)에 선발화 상황에 대응되는 액션을 전달한다(815). 이 때, 선발화 트리거 신호 또는 선발화 상황임을 나타내는 신호가 함께 전달되는 것도 가능하다.When the starter determiner 151 transmits the start trigger signal and the action corresponding to the starter situation to the conversation input manager 111c, the conversation input manager 111c corresponds to the starter situation to the conversation manager 120. Pass the action (815). At this time, it is also possible to transmit a start trigger signal or a signal indicating a start situation.

선발화 상황에 대응되는 액션이 대화 관리기(120)에 전달된 이후에는 전술한 도 44에 도시된 바와 같이 대화 태스크 및 액션 태스크를 생성하고 액션 인자를 획득하는 일련의 과정들이 수행될 수 있다. 이 때, 다른 대화 태스크나 액션 태스크가 수행중인 경우, 대화 흐름 관리기(121)가 선발화 상황에 대한 태스크를 우선적으로 생성 및 처리하는 것도 가능하고, 정해진 규칙에 따라 우선 순위를 결정하는 것도 가능하다.After the action corresponding to the starting situation is transferred to the conversation manager 120, a series of processes for generating a conversation task and an action task and obtaining an action factor may be performed as illustrated in FIG. 44. At this time, when another chat task or action task is being performed, the chat flow manager 121 may preferentially generate and process a task for the starting situation, and determine the priority according to a predetermined rule. .

대화 관리기(120)가 우선적으로 처리될 액션에 관한 정보를 결과 처리기(130)에 전달하면, 응답 생성기(132)는 응답 템플릿(149)을 검색하여 대화 응답 서식을 추출할 수 있다. 응답 생성기(132)는 추출된 응답 서식에 필요한 인자 값을 채워 대화 응답을 생성할 수 있고, 생성된 대화 응답은 응답 생성 관리기(131)를 통해 출력 관리기(133)에 전달될 수 있다. 출력 관리기(133)는 생성된 대화 응답을 차량(200)이나 모바일 기기(400)에 마련된 스피커를 통해 출력할 수 있다.When the conversation manager 120 first transmits information about an action to be processed to the result processor 130, the response generator 132 may retrieve the response template 149 and extract a conversation response form. The response generator 132 may generate a conversation response by filling in a factor value required for the extracted response form, and the generated conversation response may be delivered to the output manager 133 through the response generation manager 131. The output manager 133 may output the generated conversation response through a speaker provided in the vehicle 200 or the mobile device 400.

또는, 선발화 상황에 대응되는 선발화 메시지 자체를 추출하거나 생성하는 것도 가능하다. 도 47을 참조하면, 상황 수집기(112a)와 상황 수집 관리기(112b)가 상황 정보를 수집하고(820), 선발화 판단기(151)는 상황 정보에 기초하여 선발화 조건을 판단한다(821). Alternatively, it is also possible to extract or generate the starting message itself corresponding to the starting situation. Referring to FIG. 47, the situation collector 112a and the situation collection manager 112b collect situation information (820), and the starter determiner 151 determines the starting condition based on the situation information (821). .

선발화 판단기(151)는 상황 정보 DB(142), 장기 메모리(143) 또는 단기 메모리(144)로부터 전달된 상황 정보가 선발화 조건을 만족하면(822의 예), 선발화 상황인 것으로 판단하고 선발화 트리거 신호를 생성한다(823).선발화 판단기(151)는 선발화 상황에 대응되는 선발화 메시지를 추출한다(824). 전술한 도 22A 및 도 22B의 예시와 같이, 선발화 조건 테이블(145a)에는 선발화 상황마다 그에 대응되는 선발화 메시지가 미리 저장될 수 있다. 미리 저장되는 선발화 메시지는 현재 상황을 알려주는 내용일 수도 있고, 선발화 상황에 필요한 특정 기능 또는 서비스의 실행을 먼저 제안하는 내용일 수도 있다. 또는 선발화 판단기(151)가 미리 정해진 규칙에 따라 선발화 메시지를 생성하는 것도 가능하다. The starter determination unit 151 determines that the starter situation is satisfied when the situation information transmitted from the situation information DB 142, the long term memory 143, or the short term memory 144 satisfies the starter condition (YES in 822). In operation 823, the starter determiner 151 extracts a starter message corresponding to the starter situation. As illustrated in FIGS. 22A and 22B, the starting condition table 145a may store a starting message corresponding to each starting situation in advance. The starter message stored in advance may be content indicating a current situation, or may be content that first suggests execution of a specific function or service required for the starter situation. Alternatively, the starter determiner 151 may generate the starter message according to a predetermined rule.

선발화 판단기(151)가 선발화 트리거 신호와 선발화 메시지를 대화 입력 관리기(111c)에 전달하면, 대화 입력 관리기(111c)는 대화 관리기(120)에 선발화 메시지를 전달한다(825). 이 때, 선발화 트리거 신호 또는 선발화 상황임을 나타내는 신호가 함께 전달되는 것도 가능하다.When the starter determiner 151 transfers the starter trigger signal and the starter message to the conversation input manager 111c, the conversation input manager 111c transfers the starter message to the conversation manager 120 (825). At this time, it is also possible to transmit a start trigger signal or a signal indicating a start situation.

대화 관리기(120)는 전달된 선발화 메시지를 출력하기 위한 대화 태스크를 생성하고, 선발화 메시지를 결과 처리기(130)에 전달할 수 있다. 결과 처리기(130)는 입력된 선발화 메시지를 스피커(232)를 통해 출력할 수 있다.The conversation manager 120 may generate a conversation task for outputting the delivered starter message, and deliver the starter message to the result processor 130. The result processor 130 may output the input starter message through the speaker 232.

또는, 선발화 상황에 대응되는 가상의 사용자의 발화를 추출하거나 생성하는 것도 가능하다. 도 48을 참조하면, 상황 수집기(112a)와 상황 수집 관리기(112b)가 상황 정보를 수집하고(830), 선발화 판단기(151)는 상황 정보에 기초하여 선발화 조건을 판단한다(831). Alternatively, the speech of the virtual user corresponding to the starting situation may be extracted or generated. Referring to FIG. 48, the situation collector 112a and the situation collection manager 112b collect situation information (830), and the starter determiner 151 determines the start condition based on the situation information (831). .

상황 이해기(112c)는 상황 정보 DB(142), 장기 메모리(143) 또는 단기 메모리(144)로부터 전달된 상황 정보가 선발화 조건을 만족하면(832의 예), 선발화 상황인 것으로 판단하고 선발화 트리거 신호를 생성한다(833).The situation understanding 112c determines that the situation information DB 142, the long-term memory 143, or the short-term memory 144 satisfies the selection condition (Yes of 832), and is a selection situation. A start trigger signal is generated (833).

선발화 판단기(151)는 선발화 상황에 대응되는 가상의 사용자 발화를 추출한다(834). 도면에 도시되지는 않았으나, 선발화 조건 테이블(145a)에는 선발화 상황마다 그에 대응되는 가상의 사용자 발화가 미리 저장될 수 있다. 선발화 판단기(151)는 선발화 조건 테이블(145a)로부터 선발화 상황에 대응되는 가상의 사용자 발화를 추출할 수 있다. 또는, 선발화 판단기(151)가 정해진 규칙에 따라 선발화 상황에 대응되는 가상의 사용자 발화를 생성하는 것도 가능하다. The starter determiner 151 extracts a virtual user speech corresponding to the starter situation (834). Although not shown in the drawing, a virtual user speech corresponding to the starting condition may be stored in advance in the starting condition table 145a. The starter determiner 151 may extract a virtual user speech corresponding to the starter situation from the starter condition table 145a. Alternatively, the starter determiner 151 may generate a virtual user speech corresponding to the starter situation according to a predetermined rule.

선발화 판단기(151)가 텍스트 형태의 가상의 사용자 발화를 자연어 이해기(111b)에 전달하면(835), 자연어 이해기(111b)는 사용자가 실제로 발화한 경우와 마찬가지로 가상의 사용자 발화로부터 도메인, 액션 등을 추출할 수 있다. When the starter determination unit 151 transmits the virtual user utterance in text form to the natural language reader 111b (835), the natural language reader 111b receives the domain from the virtual user utterance as if the user actually uttered it. , Extract actions, etc.

대화 입력 관리기(111c)는 선발화 트리거 신호와 자연어 이해 결과를 대화 관리기(120)에 전달한다(836). 여기서, 자연어 이해 결과는 가상의 사용자 발화로부터 추출된 도메인, 액션 등을 포함할 수 있고, 추출된 도메인, 액션은 선발화 상황에 대응되는 도메인, 액션이 된다. The conversation input manager 111c transmits the start trigger signal and the natural language understanding result to the conversation manager 120 (836). Here, the natural language understanding result may include a domain, an action, and the like extracted from the virtual user speech, and the extracted domain and the action may be a domain or action corresponding to the selection situation.

예를 들어, 모바일 기기(400)가 차량(100)과 대화 시스템(100) 사이의 게이트웨이 역할을 수행하는 모바일 게이트웨이 방식에 있어서, 모바일 기기(400)의 대화 시스템 클라이언트(470)가 선발화 판단기(151)의 동작 중 일부를 수행할 수 있다. 이 경우, 대화 시스템 클라이언트(470)가 선발화 상황에 대응되는 가상의 사용자 발화를 생성하여 자연어 이해기(111b)에 전달할 수 있다For example, in the mobile gateway method in which the mobile device 400 serves as a gateway between the vehicle 100 and the conversation system 100, the conversation system client 470 of the mobile device 400 may select a starter determiner. Some of operations of 151 may be performed. In this case, the conversation system client 470 may generate a virtual user speech corresponding to the selection situation and transmit the virtual user speech to the natural language reader 111b.

선발화 트리거 신호와 자연어 이해 결과가 대화 관리기(120)에 전달된 이후에는 전술한 도 44에 도시된 바와 같이 대화 태스크 및 액션 태스크를 생성하고 액션 인자를 획득하는 일련의 과정들이 수행될 수 있다. 이 때, 다른 대화 태스크나 액션 태스크가 수행중인 경우, 대화 흐름 관리기(121)가 선발화 상황에 대한 태스크를 우선적으로 생성 및 처리하는 것도 가능하고, 정해진 규칙에 따라 우선 순위를 결정하는 것도 가능하다.After the start trigger signal and the natural language understanding result are transmitted to the conversation manager 120, a series of processes for generating a conversation task and an action task and obtaining an action factor may be performed as illustrated in FIG. 44. At this time, when another chat task or action task is being performed, the chat flow manager 121 may preferentially generate and process a task for the starting situation, and determine the priority according to a predetermined rule. .

대화 관리기(120)가 우선적으로 처리될 액션에 관한 정보를 결과 처리기(130)에 전달하면, 응답 생성기(132)는 응답 템플릿(149)을 검색하여 대화 응답 서식을 추출할 수 있다. 응답 생성기(132)는 추출된 응답 서식에 필요한 인자 값을 채워 대화 응답을 생성할 수 있고, 생성된 대화 응답은 응답 생성 관리기(131)를 통해 출력 관리기(133)에 전달될 수 있다. 출력 관리기(133)는 생성된 대화 응답을 차량(200) 또는 모바일 기기(400)에 마련된 스피커를 통해 출력할 수 있다.When the conversation manager 120 first transmits information about an action to be processed to the result processor 130, the response generator 132 may retrieve the response template 149 and extract a conversation response form. The response generator 132 may generate a conversation response by filling in a factor value required for the extracted response form, and the generated conversation response may be delivered to the output manager 133 through the response generation manager 131. The output manager 133 may output the generated conversation response through a speaker provided in the vehicle 200 or the mobile device 400.

도 49는 일 실시예에 따른 대화 처리 방법에 있어서, 사용자의 발화 입력 전에 대화 시스템이 선발화를 출력하는 경우에 중복 태스크를 처리하는 과정을 나타낸 순서도이다.49 is a flowchart illustrating a process of processing a duplicate task when the conversation system outputs a selection prior to inputting a speech by a user according to an embodiment.

도 49를 참조하면, 상황 수집기(112a)와 상황 수집 관리기(112b)가 상황 정보를 수집하고(840), 선발화 판단기(151)는 상황 정보에 기초하여 선발화 조건을 판단한다(841). Referring to FIG. 49, the situation collector 112a and the situation collection manager 112b collect situation information (840), and the starter determiner 151 determines the start condition based on the situation information (841). .

선발화 판단기(151)는 상황 정보 DB(142), 장기 메모리(143) 또는 단기 메모리(144)로부터 전달된 상황 정보가 선발화 조건을 만족하는지 여부를 판단하고, 선발화 조건이 만족되면(842의 예), 중복 태스크 처리기(152)가 현재 발생한 선발화 상황에 관련된 태스크의 중복 여부를 판단한다(843). The starter determination unit 151 determines whether the situation information transmitted from the situation information DB 142, the long term memory 143, or the short term memory 144 satisfies the starting condition, and if the starting condition is satisfied ( In operation 842, the duplicate task processor 152 determines whether a task related to the current starting situation is duplicated (843).

구체적으로, 중복 태스크 처리기(152)는 태스크 처리 DB(145b)에 저장된 대화 시스템(100)에서 처리되었거나 진행 중인 태스크에 관한 정보에 기초하여 현재 발생한 선발화 상황과 관련된 대화, 액션 등의 태스크가 이미 처리되었거나, 진행 중인지 여부를 판단할 수 있다. In detail, the duplicate task processor 152 may have already completed a task such as a conversation, an action, etc. related to the current starting situation based on the information about the task processed or in progress in the conversation system 100 stored in the task processing DB 145b. It can be determined whether it has been processed or is in progress.

예를 들어, 현재 발생한 선발화 상황에 관련된 대화가 이미 수행되었고, 대화 수행 시점으로부터 기준 시간이 경과하지 않았으면, 현재 선발화 상황에 관련된 태스크를 중복 태스크로 판단할 수 있다. 또는, 현재 발생한 선발화 상황에 관련된 대화나 관련된 액션이 진행 중인 경우에도 중복 태스크로 판단할 수 있다. For example, if a conversation related to the current starting situation has already been performed and the reference time has not elapsed since the execution of the conversation, the task related to the current starting situation may be determined as a duplicate task. Alternatively, a duplicate task may be determined even when a conversation or an action related to the current starting situation occurs.

즉, 중복 태스크 처리기(152)는 태스크 처리 DB(145b)에 저장된 대화 이력 및 태스크 수행 여부에 기초하여 이미 출력된 선발화 인지 여부, 선발화 상황에 대한 사용자의 의사 등을 판단할 수 있고, 저장된 대화 시점, 사용자의 의사 또는 태스크 진행 여부에 기초하여 중복 태스크 여부를 판단할 수 있다.That is, the duplicate task processor 152 may determine whether the starting information is already output, the user's intention about the starting situation, and the like, based on the conversation history stored in the task processing DB 145b and whether the task is performed. It may be determined whether a duplicate task is based on the time of the conversation, the intention of the user, or whether the task is performed.

현재 선발화 상황에 관련된 태스크가 중복 태스크인 것으로 판단되면(843의 예), 중복 태스크 처리기(152)는 선발화 상황을 종료시킨다. If it is determined that the task related to the current starting situation is a duplicate task (YES in 843), the duplicate task processor 152 ends the starting situation.

중복 태스크가 아닌 것으로 판단되면(843의 아니오), 전술한 실시예와 같이 선발화 동작을 수행할 수 있다(844). 예를 들어, 선발화 트리거 신호와 선발화 상황에 대응되는 액션 또는 선발화 메시지를 대화 관리기(120)에 전달할 수 있다. 또는, 선발화 상황에 대응되는 가상의 사용자 발화를 자연어 이해기(111b)에 전달하고, 자연어 이해 결과와 선발화 트리거 신호를 대화 관리기(120)에 전달할 수도 있다. If it is determined that the task is not a duplicate task (NO in 843), the start operation may be performed as in the above-described embodiment (844). For example, the starter trigger signal and the action or starter message corresponding to the starter situation may be transmitted to the conversation manager 120. Alternatively, the virtual user utterance corresponding to the starting situation may be transmitted to the natural language reader 111b, and the natural language understanding result and the starting trigger signal may be transmitted to the conversation manager 120.

전술한 실시예에서는, 선발화를 위한 대화 처리 방법을 수행하기 위해 선발화 판단기(151), 중복 태스크 처리기(152)와 같은 별도의 구성요소와 선발화 조건 테이블(145a), 태스크 처리 DB(145b)와 같은 별도의 저장소가 사용되는 것으로 가정하여 설명하였다. 그러나, 대화 처리 방법의 실시예가 이에 한정되는 것은 아니고, 상황 이해기(112c)가 선발화 판단기(151) 및 중복 태스크 처리기(152)의 동작을 수행하거나, 상황 이해 테이블(145)에 선발화 조건 테이블(145a), 태스크 처리 DB(145b)에 저장되는 정보가 저장되는 것도 가능하다. In the above-described embodiment, separate components such as the starter determination unit 151 and the redundant task processor 152, the starter condition table 145a, the task processing DB It is assumed that a separate storage such as 145b) is used. However, the embodiment of the conversation processing method is not limited thereto, and the situation understander 112c performs the operations of the selection determiner 151 and the duplicate task processor 152 or selects the situation understanding table 145. Information stored in the condition table 145a and the task processing DB 145b may be stored.

일 실시예에 따른 대화 처리 방법은 전술한 순서도 상의 순서에 의해 제한되지 않는다. 도 41 내지 도 49의 순서도에 따른 흐름은 대화 처리 방법에 적용될 수 있는 일 예시에 불과하며, 복수의 단계가 동시에 수행되는 것도 가능하고, 각 단계들의 순서가 바뀌는 것도 가능하다. The conversation processing method according to an embodiment is not limited by the order in the above-described flowchart. 41 to 49 are only examples of flows that can be applied to the conversation processing method, a plurality of steps may be performed simultaneously, and the order of the steps may be changed.

상기의 설명은 기술적 사상을 예시적으로 설명한 것에 불과한 것으로서, 본 발명의 기술 분야에서 통상의 지식을 가진 자라면 본질적인 특성에서 벗어나지 않는 범위 내에서 다양한 수정, 변경 및 치환이 가능할 것이다. 따라서, 상기에 개시된 실시예 및 첨부된 도면들은 기술적 사상을 한정하기 위한 것이 아니라 설명하기 위한 것이고, 이러한 실시예 및 첨부된 도면에 의하여 기술적 사상의 범위가 한정되는 것은 아니다. 그 보호 범위는 아래의 청구범위에 의하여 해석되어야 하며, 그와 동등한 범위 내에 있는 모든 기술적 사상은 권리범위에 포함되는 것으로 해석되어야 할 것이다. The above description is merely illustrative of the technical idea, and various modifications, changes, and substitutions may be made by those skilled in the art without departing from the essential characteristics. Accordingly, the above-described embodiments and the accompanying drawings are not intended to limit the technical spirit, but rather to describe it, and the scope of the technical spirit is not limited by the embodiments and the accompanying drawings. The scope of protection shall be interpreted by the following claims, and all technical ideas within the scope of equivalent shall be interpreted as being included in the scope of rights.

지금까지 설명한 대화 시스템, 이를 포함하는 차량 및 대화 처리 방법에 의하면, 차량 환경에 특화된 대화 처리 기술을 이용하여 사용자의 의도에 부합되거나 사용자에게 필요한 최적의 서비스를 제공할 수 있다. According to the dialog system described above, the vehicle and the conversation processing method including the same, it is possible to provide an optimal service that meets the intention of the user or is necessary for the user by using the conversation processing technology specialized for the vehicle environment.

또한, 차량 내부에서 발생하는 다양한 상황을 고려하여 사용자에게 필요한 최적의 서비스를 제공할 수 있다. 특히, 사용자의 발화와 무관하게 대화 시스템(100)이 수집한 상황 정보 또는 운전자 정보에 기초하여 사용자에게 필요한 서비스를 스스로 판단하고 이를 선제적으로 제공하는 것이 가능하다.In addition, in consideration of various situations occurring inside the vehicle, it is possible to provide an optimal service required by the user. In particular, regardless of the user's utterance, it is possible to determine the service required by the user based on the situation information or the driver information collected by the conversation system 100 and provide it preemptively.

100: 대화 시스템
110: 입력 처리기
120: 대화 관리기
130: 결과 처리기
200: 차량
210: 음성 입력 장치
220: 음성 외 입력 장치
230: 대화자 출력 장치
280: 통신 장치
100: conversation system
110: input handler
120: conversation manager
130: Result handler
200: vehicle
210: voice input device
220: non-voice input device
230: dialog output device
280: communication device

Claims (20)

차량의 상태와 관련된 차량 상태 정보, 상기 차량의 운전자와 관련된 사용자 정보 및 상기 차량의 주행 환경과 관련된 주행 환경 정보 중 적어도 하나를 포함하는 상황 정보를 저장하는 저장부; 및
상기 상황 정보에 기초하여 사용자의 우울감 정도를 판단하기 위한 선발화 상황인지 여부를 판단하고, 상기 선발화 상황인 것으로 판단되면 선발화를 수행하기 위한 액션을 획득하고, 상기 선발화에 대한 상기 사용자의 응답에 기초하여 상기 사용자의 우울감 정도를 판단하는 입력 처리기;를 포함하는 대화 시스템.
A storage unit for storing situation information including at least one of vehicle state information related to a state of a vehicle, user information related to a driver of the vehicle, and driving environment information related to a driving environment of the vehicle; And
Determining whether the user is in a starting situation for determining a degree of depression of the user based on the situation information, and if determined to be the starting situation, acquiring an action for performing the starting, and And an input processor that determines a degree of depression of the user based on a response.
제 1 항에 있어서,
상기 입력 처리기는,
사용자의 음성을 입력 받고, 입력된 사용자의 음성에 대한 톤 분석을 실행하는 톤 분석기;를 더 포함하고,
상기 상황 정보 중 상기 사용자 정보는 상기 톤 분석 결과를 포함하는 대화 시스템.
The method of claim 1,
The input processor,
And a tone analyzer configured to receive a voice of a user and perform tone analysis on the input voice of the user.
And the user information of the situation information includes the tone analysis result.
제1항에 있어서,
상기 저장부는,
상기 사용자의 우울감 정도를 판단하기 위한 적어도 하나의 질문, 이에 대한 적어도 하나의 답변 및 상기 적어도 하나의 답변에 대응하는 적어도 하나의 우울 지수를 저장하고,
상기 입력 처리기는,
상기 선발화 조건이 만족되는 경우 상기 저장된 적어도 하나의 질문에 기초한 선발화를 수행하기 위한 액션을 획득하는 대화 시스템.
The method of claim 1,
The storage unit,
At least one question for determining a degree of depression of the user, at least one answer thereto, and at least one depression index corresponding to the at least one answer;
The input processor,
And if the starting condition is satisfied, acquiring an action for performing the starting based on the stored at least one question.
제3항에 있어서,
상기 입력 처리기는,
상기 저장된 적어도 하나의 질문에 기초한 선발화에 대한 상기 사용자의 답변을 상기 저장된 적어도 하나의 답변에 기초하여 상기 사용자의 우울감 정도를 판단하는 대화 시스템.
The method of claim 3,
The input processor,
And the user's response to the selection based on the stored at least one question to determine the degree of depression of the user based on the stored at least one answer.
제4항에 있어서,
상기 입력 처리기는,
상기 저장된 적어도 하나의 답변에 대응하는 적어도 하나의 우울 지수에 기초하여 상기 사용자의 우울 지수를 획득하고, 상기 사용자의 우울감 정도를 상기 획득된 우울 지수에 기초하여 판단하는 대화 시스템.
The method of claim 4,
The input processor,
And acquire a depression index of the user based on at least one depression index corresponding to the stored at least one answer, and determine a degree of depression of the user based on the obtained depression index.
제1항에 있어서,
상기 사용자의 우울감 정도 및 상기 상황 정보 중 적어도 하나에 기초하여 위험 상황인지 여부를 판단하고, 상기 위험 상황인 것으로 판단되면 상기 위험 상황에 대응하는 액션을 획득하는 위험 상황 관리기;를 더 포함하는 대화 시스템.
The method of claim 1,
And a risk situation manager for determining whether the user is in a dangerous situation based on at least one of the user's depression and the situation information, and obtaining an action corresponding to the dangerous situation. .
제6항에 있어서,
상기 저장부는,
우울증으로 인한 사고 발생이 예상되는 위험 상황에 대응하는 적어도 하나의 액션을 포함하는 사고 대응 매뉴얼을 저장하고,
상기 위험 상황 관리기는,
상기 저장된 사고 대응 매뉴얼에 기초하여 상기 위험 상황에 대응하는 액션을 획득하는 대화 시스템.
The method of claim 6,
The storage unit,
Save an incident response manual that includes at least one action that responds to a dangerous situation in which an accident due to depression is expected,
The risk situation manager,
And a dialog system for obtaining an action corresponding to the dangerous situation based on the stored accident response manual.
제7항에 있어서,
상기 위험 상황 관리기는,
상기 위험 상황인 것으로 판단되면 위험 상황 단계를 결정하고, 상기 결정된 위험 상황 단계에 기초하여 상기 위험 상황에 대응하는 액션을 획득하는 대화 시스템.
The method of claim 7, wherein
The risk situation manager,
And if determined to be a dangerous situation, determine a dangerous situation step and obtain an action corresponding to the dangerous situation based on the determined dangerous situation step.
제1항에 있어서,
상기 입력 처리기가 획득한 액션과 관련된 적어도 하나의 후보 액션을 상기 저장부로부터 획득하는 대화 관리기;를 더 포함하는 대화 시스템.
The method of claim 1,
And a conversation manager for obtaining from the storage at least one candidate action related to the action obtained by the input processor.
제9항에 있어서,
상기 저장부는,
차량의 지원 가능한 기능과 관련된 차량 기능 정보를 저장하고,
상기 대화 관리기는,
상기 저장된 차량 기능 정보에 기초하여 상기 적어도 하나의 후보 액션의 수행 가부를 판단하고, 상기 판단 결과에 기초하여 상기 적어도 하나의 후보 액션의 우선순위를 결정하는 대화 시스템.
The method of claim 9,
The storage unit,
Store vehicle feature information related to the vehicle's supportable features,
The conversation manager,
And determine whether to perform the at least one candidate action based on the stored vehicle function information, and determine the priority of the at least one candidate action based on the determination result.
차량의 상태와 관련된 차량 상태 정보, 상기 차량의 운전자와 관련된 사용자 정보 및 상기 차량의 주행 환경과 관련된 주행 환경 정보 중 적어도 하나를 포함하는 상황 정보를 저장하고;
상기 상황 정보에 기초하여 사용자의 우울감 정도를 판단하기 위한 선발화 상황인지 여부를 판단하고;
상기 선발화 상황인 것으로 판단되면 선발화를 수행하기 위한 액션을 획득하고; 및
상기 선발화에 대한 상기 사용자의 응답에 기초하여 상기 사용자의 우울감 정도를 판단하는 것;을 포함하는 대화 처리 방법.
Store state information including at least one of vehicle state information related to a state of a vehicle, user information related to a driver of the vehicle, and driving environment information related to a driving environment of the vehicle;
Determining whether the user is in a starting situation for determining a degree of depression of the user based on the situation information;
If it is determined that the starting situation is obtained, acquire an action for performing the starting method; And
And determining the degree of depression of the user based on the user's response to the selection.
제 11 항에 있어서,
사용자의 음성을 입력 받고, 입력된 사용자의 음성에 대한 톤 분석을 실행하는 것;을 더 포함하고,
상기 상황 정보 중 상기 사용자 정보는 상기 톤 분석 결과를 포함하는 대화 처리 방법.
The method of claim 11,
Receiving a voice of a user and executing tone analysis on the input voice of the user;
And the user information of the situation information includes the tone analysis result.
제11항에 있어서,
상기 사용자의 우울감 정도를 판단하기 위한 적어도 하나의 질문, 이에 대한 적어도 하나의 답변 및 상기 적어도 하나의 답변에 대응하는 적어도 하나의 우울 지수를 저장하는 것;을 더 포함하고,
상기 선발화 상황인 것으로 판단되면 선발화를 수행하기 위한 액션을 획득하는 것은,
상기 선발화 조건이 만족되는 경우 상기 저장된 적어도 하나의 질문에 기초한 선발화를 수행하기 위한 액션을 획득하는 대화 처리 방법.
The method of claim 11,
Storing at least one question for determining the degree of depression of the user, at least one answer thereto, and at least one depression index corresponding to the at least one answer;
If it is determined that the starting situation is to obtain the action for performing the starting,
And if the selection condition is satisfied, obtaining an action for performing the selection based on the stored at least one question.
제13항에 있어서,
상기 선발화에 대한 상기 사용자의 응답에 기초하여 상기 사용자의 우울감 정도를 판단하는 것은,
상기 저장된 적어도 하나의 질문에 기초한 선발화에 대한 상기 사용자의 답변을 상기 저장된 적어도 하나의 답변에 기초하여 상기 사용자의 우울감 정도를 판단하는 것을 포함하는 대화 처리 방법.
The method of claim 13,
Determining the degree of depression of the user based on the user's response to the selection,
And determining the degree of depression of the user based on the stored at least one answer by the user's answer to the selection based on the stored at least one question.
제14항에 있어서,
상기 선발화에 대한 상기 사용자의 응답에 기초하여 상기 사용자의 우울감 정도를 판단하는 것은,
상기 저장된 적어도 하나의 답변에 대응하는 적어도 하나의 우울 지수에 기초하여 상기 사용자의 우울 지수를 획득하고, 상기 사용자의 우울감 정도를 상기 획득된 우울 지수에 기초하여 판단하는 것을 포함하는 대화 처리 방법.
The method of claim 14,
Determining the degree of depression of the user based on the user's response to the selection,
And obtaining the depression index of the user based on at least one depression index corresponding to the stored at least one answer, and determining the degree of depression of the user based on the obtained depression index.
제11항에 있어서,
상기 사용자의 우울감 정도 및 상기 상황 정보 중 적어도 하나에 기초하여 위험 상황인지 여부를 판단하고; 및
상기 위험 상황인 것으로 판단되면 상기 위험 상황에 대응하는 액션을 획득하는 것;을 더 포함하는 대화 처리 방법.
The method of claim 11,
Determining whether the user is at risk based on at least one of the degree of depression of the user and the situation information; And
If it is determined that the dangerous situation, acquiring an action corresponding to the dangerous situation.
제16항에 있어서,
우울증으로 인한 사고 발생이 예상되는 위험 상황에 대응하는 적어도 하나의 액션을 포함하는 사고 대응 매뉴얼을 저장하는 것;을 더 포함하고,
상기 위험 상황인 것으로 판단되면 상기 위험 상황에 대응하는 액션을 획득하는 것은,
상기 저장된 사고 대응 매뉴얼에 기초하여 상기 위험 상황에 대응하는 액션을 획득하는 것을 포함하는 대화 처리 방법.
The method of claim 16,
Storing an accident response manual that includes at least one action corresponding to a dangerous situation in which an accident due to depression is anticipated;
If it is determined that the dangerous situation is to obtain an action corresponding to the dangerous situation,
And obtaining an action corresponding to the dangerous situation based on the stored accident response manual.
제17항에 있어서,
상기 위험 상황인 것으로 판단되면 상기 위험 상황에 대응하는 액션을 획득하는 것은,
상기 위험 상황인 것으로 판단되면 위험 상황 단계를 결정하고, 상기 결정된 위험 상황 단계에 기초하여 상기 위험 상황에 대응하는 액션을 획득하는 것을 포함하는 대화 처리 방법.
The method of claim 17,
If it is determined that the dangerous situation is to obtain an action corresponding to the dangerous situation,
If it is determined that the dangerous situation is determined, the step of determining a dangerous situation, and obtaining an action corresponding to the dangerous situation based on the determined dangerous situation step.
제11항에 있어서,
상기 획득한 액션과 관련된 적어도 하나의 후보 액션을 획득하는 것;을 더 포함하는 대화 처리 방법.
The method of claim 11,
Acquiring at least one candidate action related to the obtained action.
제19항에 있어서,
차량의 지원 가능한 기능과 관련된 차량 기능 정보를 저장하고; 및
상기 저장된 차량 기능 정보에 기초하여 상기 적어도 하나의 후보 액션의 수행 가부를 판단하고, 상기 판단 결과에 기초하여 상기 적어도 하나의 후보 액션의 우선순위를 결정하는 것;을 더 포함하는 대화 처리 방법.
The method of claim 19,
Store vehicle function information related to a supportable function of the vehicle; And
And determining whether to perform the at least one candidate action based on the stored vehicle function information, and determining the priority of the at least one candidate action based on the determination result.
KR1020180080469A 2018-07-11 2018-07-11 Dialogue system, and dialogue processing method KR20200006738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180080469A KR20200006738A (en) 2018-07-11 2018-07-11 Dialogue system, and dialogue processing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180080469A KR20200006738A (en) 2018-07-11 2018-07-11 Dialogue system, and dialogue processing method

Publications (1)

Publication Number Publication Date
KR20200006738A true KR20200006738A (en) 2020-01-21

Family

ID=69369558

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180080469A KR20200006738A (en) 2018-07-11 2018-07-11 Dialogue system, and dialogue processing method

Country Status (1)

Country Link
KR (1) KR20200006738A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112201250A (en) * 2020-09-30 2021-01-08 中移(杭州)信息技术有限公司 Semantic analysis method and device, electronic equipment and storage medium
KR20220012470A (en) * 2020-07-22 2022-02-04 주식회사 원더풀플랫폼 Method and system for providing talk service
CN114743384A (en) * 2022-03-25 2022-07-12 京东方科技集团股份有限公司 Alarm method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130035983A (en) 2011-09-30 2013-04-09 애플 인크. Using context information to facilitate processing of commands in a virtual assistant

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130035983A (en) 2011-09-30 2013-04-09 애플 인크. Using context information to facilitate processing of commands in a virtual assistant

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20220012470A (en) * 2020-07-22 2022-02-04 주식회사 원더풀플랫폼 Method and system for providing talk service
CN112201250A (en) * 2020-09-30 2021-01-08 中移(杭州)信息技术有限公司 Semantic analysis method and device, electronic equipment and storage medium
CN112201250B (en) * 2020-09-30 2024-03-19 中移(杭州)信息技术有限公司 Semantic analysis method and device, electronic equipment and storage medium
CN114743384A (en) * 2022-03-25 2022-07-12 京东方科技集团股份有限公司 Alarm method and device
CN114743384B (en) * 2022-03-25 2024-03-08 京东方科技集团股份有限公司 Alarm method and device

Similar Documents

Publication Publication Date Title
KR102562227B1 (en) Dialogue system, Vehicle and method for controlling the vehicle
KR102338990B1 (en) Dialogue processing apparatus, vehicle having the same and dialogue processing method
US10733994B2 (en) Dialogue system, vehicle and method for controlling the vehicle
KR102426171B1 (en) Dialogue processing apparatus, vehicle having the same and dialogue service processing method
US10937424B2 (en) Dialogue system and vehicle using the same
US10991368B2 (en) Dialogue system and dialogue processing method
US10997974B2 (en) Dialogue system, and dialogue processing method
US10861460B2 (en) Dialogue system, vehicle having the same and dialogue processing method
US10950233B2 (en) Dialogue system, vehicle having the same and dialogue processing method
US11004450B2 (en) Dialogue system and dialogue processing method
KR20200098079A (en) Dialogue system, and dialogue processing method
KR102403355B1 (en) Vehicle, mobile for communicate with the vehicle and method for controlling the vehicle
CN110503947A (en) Conversational system, the vehicle including it and dialog process method
KR20200006738A (en) Dialogue system, and dialogue processing method
KR102487669B1 (en) Dialogue processing apparatus, vehicle having the same and dialogue processing method
KR102448719B1 (en) Dialogue processing apparatus, vehicle and mobile device having the same, and dialogue processing method
KR20200000621A (en) Dialogue processing apparatus, vehicle having the same and dialogue processing method
CN110562260A (en) Dialogue system and dialogue processing method
KR20190036018A (en) Dialogue processing apparatus, vehicle having the same and dialogue processing method
KR20190135676A (en) Dialogue system, vehicle having the same and dialogue processing method
KR20200123495A (en) Dialogue processing apparatus, vehicle having the same and dialogue processing method