KR102308261B1 - Method for providing chatbot service based on task transfer of chatbot and device for performing the method - Google Patents

Method for providing chatbot service based on task transfer of chatbot and device for performing the method Download PDF

Info

Publication number
KR102308261B1
KR102308261B1 KR1020210014375A KR20210014375A KR102308261B1 KR 102308261 B1 KR102308261 B1 KR 102308261B1 KR 1020210014375 A KR1020210014375 A KR 1020210014375A KR 20210014375 A KR20210014375 A KR 20210014375A KR 102308261 B1 KR102308261 B1 KR 102308261B1
Authority
KR
South Korea
Prior art keywords
chatbot
conversation information
relevance probability
sub
response
Prior art date
Application number
KR1020210014375A
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 코메디에이아이 주식회사
Application granted granted Critical
Publication of KR102308261B1 publication Critical patent/KR102308261B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0631Resource planning, allocation, distributing or scheduling for enterprises or organisations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Systems or methods specially adapted for specific business sectors, e.g. utilities or tourism
    • G06Q50/30Transportation; Communications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services

Abstract

The present invention relates to a chatbot service providing method based on business transfer between chatbots and an apparatus for performing the method. The service providing method based on business transfer between chatbots comprises the following steps of: receiving, by a chatbot service apparatus, target sub-conversation information from a user apparatus; determining, by the chatbot service apparatus, a response chatbot based on the target sub-conversation information; and transmitting, by the chatbot service apparatus, a chatbot message to the user apparatus in response to the target sub-conversation information via the response chatbot.

Description

챗봇 간 업무 이관을 기반으로 한 챗봇 서비스 제공 방법 및 이러한 방법을 수행하는 장치{Method for providing chatbot service based on task transfer of chatbot and device for performing the method}Method for providing chatbot service based on task transfer of chatbot and device for performing the method

본 발명은 챗봇 간 업무 이관을 기반으로 한 챗봇 서비스 제공 방법 및 이러한 방법을 수행하는 장치에 관한 것이다.The present invention relates to a method of providing a chatbot service based on business transfer between chatbots, and an apparatus for performing such a method.

기존의 봇(bot)의 운영 방식은 하나의 봇이 특정 서비스를 제공하는데 초점을 두고 있거나 하나의 봇이 다양한 모든 서비스를 제공하는 방식이다. 기술적으로는 모든 분야의 지식베이스를 구축하여 하나의 챗봇으로 올인원 서비스를 제공하는 것이 가능하지만 사용자의 입장에서는 기계적으로 느껴질수 있어 공감되지 않을 수 있고 만능인 챗봇에 오히려 거부감을 느낄 수 있다. 챗봇의 목표는 사람들과 친밀감을 형성하여 가상의 비서로써 업무 부담을 덜어주고 다양한 분야에 실시간으로 도움을 줄 수 있는 역할을 수행할 수 있어야 한다. The existing bot operation method is a method in which one bot focuses on providing a specific service or a single bot provides all various services. Technically, it is possible to provide an all-in-one service with a single chatbot by building a knowledge base in all fields, but from the user's point of view, it may feel mechanical, so it may not be sympathetic and may rather resist the all-round chatbot. The goal of chatbots should be to form intimacy with people, to relieve the burden of work as a virtual assistant, and to be able to perform a role that can help in various fields in real time.

따라서, 챗봇에 전담 역할과 업무을 지정하여 사용자가 본연의 역할을 넘는 업무를 질의를 하는 경우 챗봇 간의 상호 작용을 통해 서비스를 제공하는 방법에 대한 연구가 필요하다.Therefore, it is necessary to study how to provide services through interaction between chatbots when a user inquires about a task that exceeds their original role by assigning an exclusive role and task to the chatbot.

본 발명은 상술한 문제점을 모두 해결하는 것을 그 목적으로 한다.An object of the present invention is to solve all of the above problems.

또한, 본 발명은, 복수의 챗봇 간의 상호 업무 이관을 기반으로 복수의 챗봇을 기반으로 사용자에게 개별적인 서비스를 제공하는 것을 목적으로 한다.Another object of the present invention is to provide individual services to users based on the plurality of chatbots based on mutual business transfer between the plurality of chatbots.

또한, 본 발명은, 사용자 위치, 사용자 현재 상황을 고려하여 사용자에게 챗봇을 기반으로 필요한 정보를 적극적으로 전달하는 것을 목적으로 한다.Another object of the present invention is to actively deliver necessary information to a user based on a chatbot in consideration of the user's location and the user's current situation.

상기 목적을 달성하기 위한 본 발명의 대표적인 구성은 다음과 같다.A representative configuration of the present invention for achieving the above object is as follows.

본 발명의 실시예에 따르면, 챗봇 간 업무 이관을 기반으로 한 서비스 제공 방법은 챗봇 서비스 장치가 사용자 장치로부터 타겟 하위 대화 정보를 수신하는 단계, 상기 챗봇 서비스 장치가 상기 타겟 하위 대화 정보를 기반으로 응답 챗봇을 결정하는 단계와 상기 챗봇 서비스 장치가 상기 응답 챗봇을 통해 상기 타겟 하위 대화 정보에 대한 응답으로 챗봇 메시지를 상기 사용자 장치로 전송하는 단계를 포함할 수 있다. According to an embodiment of the present invention, in a service providing method based on business transfer between chatbots, the chatbot service device receives target sub-conversation information from a user device, and the chatbot service device responds based on the target sub-conversation information determining a chatbot; and sending, by the chatbot service device, a chatbot message to the user device in response to the target sub-conversation information through the response chatbot.

한편, 챗봇 간 업무 이관을 기반으로 한 서비스 제공 방법은 상기 챗봇 서비스 장치가 현재 챗봇이 상기 응답 챗봇이 아닌 경우, 상기 현재 챗봇에서 상기 응답 챗봇으로 챗봇 업무 이관을 수행하는 단계를 더 포함할 수 있다.On the other hand, the service providing method based on business transfer between chatbots may further include, by the chatbot service device, performing a chatbot business transfer from the current chatbot to the responding chatbot when the current chatbot is not the responsive chatbot. .

또한, 상기 응답 챗봇을 결정하는 단계는 상기 챗봇 서비스 장치가 상기 타겟 하위 대화 정보의 단어 정보 및 문맥 정보를 기반으로 1차 챗봇 관련성 확률을 결정하는 단계, 상기 챗봇 서비스 장치가 이전 하위 대화 정보 및 상기 1차 챗봇 관련성 확률을 기반으로 챗봇 관련성 확률을 결정하는 단계와 상기 챗봇 서비스 장치가 상기 챗봇 관련성 확률을 기반으로 상기 응답 챗봇을 결정하는 단계를 포함할 수 있다.In addition, the determining of the response chatbot may include: determining, by the chatbot service device, a primary chatbot relevance probability based on word information and context information of the target sub-conversation information; determining a chatbot relevance probability based on a primary chatbot relevance probability; and determining, by the chatbot service device, the response chatbot based on the chatbot relevance probability.

본 발명의 실시예에 따르면, 챗봇 서비스를 제공하는 챗봇 서비스 장치는 사용자 장치와 통신하도록 구현되는 통신부와 상기 통신부와 동작 가능하게(operatively) 연결된 프로세서를 포함할 수 있되, 상기 프로세서는 사용자 장치로부터 타겟 하위 대화 정보를 수신하고, 상기 타겟 하위 대화 정보를 기반으로 응답 챗봇을 결정하고, 상기 응답 챗봇을 통해 상기 타겟 하위 대화 정보에 대한 응답으로 챗봇 메시지를 상기 사용자 장치로 전송하도록 구현될 수 있다.According to an embodiment of the present invention, a chatbot service apparatus providing a chatbot service may include a communication unit configured to communicate with a user device and a processor operatively connected to the communication unit, wherein the processor is configured to receive a target from the user device. Receive sub-conversation information, determine a response chatbot based on the target sub-conversation information, and transmit a chatbot message to the user device in response to the target sub-conversation information through the response chatbot.

한편, 상기 프로세서가 현재 챗봇이 상기 응답 챗봇이 아닌 경우, 상기 현재 챗봇에서 상기 응답 챗봇으로 챗봇 업무 이관을 수행하도록 구현될 수 있다.Meanwhile, when the current chatbot is not the response chatbot, the processor may be implemented to transfer the chatbot business from the current chatbot to the response chatbot.

또한, 상기 프로세서가 상기 타겟 하위 대화 정보의 단어 정보 및 문맥 정보를 기반으로 1차 챗봇 관련성 확률을 결정하고, 이전 하위 대화 정보 및 상기 1차 챗봇 관련성 확률을 기반으로 챗봇 관련성 확률을 결정하고, 상기 챗봇 관련성 확률을 기반으로 상기 응답 챗봇을 결정하도록 구현될 수 있다.In addition, the processor determines a primary chatbot relevance probability based on word information and context information of the target sub-conversation information, and determines a chatbot relevance probability based on previous sub-conversation information and the primary chatbot relevance probability, and It may be implemented to determine the responsive chatbot based on a chatbot relevance probability.

본 발명에 의하면, 복수의 챗봇 간의 상호 업무 이관을 기반으로 복수의 챗봇을 기반으로 사용자에게 개별적인 서비스를 제공할 수 있다.According to the present invention, it is possible to provide individual services to users based on the plurality of chatbots based on mutual business transfer between the plurality of chatbots.

또한, 본 발명에 의하면, 사용자 위치, 사용자 현재 상황을 고려하여 사용자에게 챗봇을 기반으로 필요한 정보가 적극적으로 전달될 수 있다.In addition, according to the present invention, necessary information can be actively delivered to the user based on the chatbot in consideration of the user's location and the user's current situation.

도 1은 본 발명의 실시예에 따른 챗봇 서비스 장치를 나타낸 개념도이다.
도 2는 본 발명의 실시예에 따른 챗봇 결정부의 동작을 나타낸 개념도이다.
도 3은 본 발명의 실시예에 따른 챗봇 결정부의 동작을 나타낸 개념도이다.
도 4는 본 발명의 실시예에 따른 챗봇 결정부의 동작을 나타낸 개념도이다.
도 5는 본 발명의 실시예에 따른 챗봇 업무 이관부의 동작을 나타낸 개념도이다.
도 6은 본 발명의 실시예에 따른 챗봇 결정부의 동작을 나타낸 개념도이다.
도 7은 본 발명의 실시예에 따른 챗봇 서비스를 나타낸 개념도이다.
도 8은 본 발명의 실시예에 따른 챗봇 서비스를 나타낸 개념도이다.
1 is a conceptual diagram illustrating a chatbot service apparatus according to an embodiment of the present invention.
2 is a conceptual diagram illustrating an operation of a chatbot determining unit according to an embodiment of the present invention.
3 is a conceptual diagram illustrating an operation of a chatbot determining unit according to an embodiment of the present invention.
4 is a conceptual diagram illustrating an operation of a chatbot decision unit according to an embodiment of the present invention.
5 is a conceptual diagram illustrating an operation of a chatbot task transfer unit according to an embodiment of the present invention.
6 is a conceptual diagram illustrating an operation of a chatbot decision unit according to an embodiment of the present invention.
7 is a conceptual diagram illustrating a chatbot service according to an embodiment of the present invention.
8 is a conceptual diagram illustrating a chatbot service according to an embodiment of the present invention.

후술하는 본 발명에 대한 상세한 설명은, 본 발명이 실시될 수 있는 특정 실시예를 예시로서 도시하는 첨부 도면을 참조한다. 이러한 실시예는 당업자가 본 발명을 실시할 수 있기에 충분하도록 상세히 설명된다. 본 발명의 다양한 실시예는 서로 다르지만 상호 배타적일 필요는 없음이 이해되어야 한다. 예를 들어, 본 명세서에 기재되어 있는 특정 형상, 구조 및 특성은 본 발명의 정신과 범위를 벗어나지 않으면서 일 실시예로부터 다른 실시예로 변경되어 구현될 수 있다. 또한, 각각의 실시예 내의 개별 구성요소의 위치 또는 배치도 본 발명의 정신과 범위를 벗어나지 않으면서 변경될 수 있음이 이해되어야 한다. 따라서, 후술하는 상세한 설명은 한정적인 의미로서 행하여 지는 것이 아니며, 본 발명의 범위는 특허청구범위의 청구항들이 청구하는 범위 및 그와 균등한 모든 범위를 포괄하는 것으로 받아들여져야 한다. 도면에서 유사한 참조부호는 여러 측면에 걸쳐서 동일하거나 유사한 구성요소를 나타낸다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS [0010] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS [0010] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS [0023] Reference is made to the accompanying drawings, which show by way of illustration specific embodiments in which the present invention may be practiced. These embodiments are described in sufficient detail to enable those skilled in the art to practice the present invention. It should be understood that the various embodiments of the present invention are different but need not be mutually exclusive. For example, certain shapes, structures, and characteristics described herein may be implemented with changes from one embodiment to another without departing from the spirit and scope of the present invention. In addition, it should be understood that the location or arrangement of individual components within each embodiment may be changed without departing from the spirit and scope of the present invention. Accordingly, the detailed description given below is not to be taken in a limiting sense, and the scope of the present invention should be taken to cover the scope of the claims and all equivalents thereto. In the drawings, like reference numerals refer to the same or similar elements throughout the various aspects.

이하에서는, 본 발명이 속하는 기술분야에서 통상의 지식을 가진 자가 본 발명을 용이하게 실시할 수 있도록 하기 위하여, 본 발명의 여러 바람직한 실시예에 관하여 첨부된 도면을 참조하여 상세히 설명하기로 한다.Hereinafter, various preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings in order to enable those of ordinary skill in the art to easily practice the present invention.

기존의 챗봇 서비스는 하나의 챗봇이 특정 서비스를 제공하는데 초점을 두고 있거나 하나의 봇을 통해 다양한 모든 서비스를 제공하는 방식이다. 기술적으로는 이러한 챗봇 서비스는 사용자의 입장에서는 기계적으로 느껴질 수 있어 챗봇 서비스를 친숙하지 않게 느낄 수 있다. 챗봇의 목표는 사람들과 친밀감을 형성하여 가상의 비서로써 업무 부담을 덜어주고 다양한 분야에서 실시간으로 도움을 줄 수 있는 역할을 수행할 수 있어야 한다. 챗봇 간 업무 이관을 기반으로 한 서비스 제공 방법 및 이러한 방법을 수행하는 장치에서는 챗봇 서비스를 제공하되, 복수의 업무 영역 각각에 대응되는 복수의 챗봇 각각이 설정되고, 사용자와의 대화 내용, 사용자의 위치 및/또는 사용자의 상황을 기준으로 업무 영역에 맞는 챗봇과 사용자간의 대화가 진행될 수 있다.Existing chatbot service is a method in which one chatbot focuses on providing a specific service or provides all various services through one bot. Technically, these chatbot services can feel mechanical from the user's point of view, making the chatbot service unfamiliar. The goal of chatbots should be to form intimacy with people, to relieve the burden of work as a virtual assistant, and to be able to perform a role that can help in various fields in real time. A service providing method based on business transfer between chatbots and a device for performing such a method provide a chatbot service, wherein a plurality of chatbots corresponding to each of a plurality of business areas are set, conversation contents with a user, and a user's location And/or a conversation between the chatbot and the user suitable for the work area may be conducted based on the user's situation.

복수의 챗봇을 통해 챗봇 서비스가 제공됨에 있어서 챗봇을 통한 업무의 단순 이관이 아닌 기존 대화 정보와 향후 효율적 상담을 위해 필요한 정보가 자동으로 복수의 챗봇 간에 전달되어 복수의 챗봇 간에 원활한 핸드 오프(hand-off)를 통해 복수의 챗봇을 기반으로 한 챗봇 서비스를 제공하여 기존의 챗봇 서비스보다 향상된 고객 경험이 사용자에게 제공될 수 있다.As the chatbot service is provided through multiple chatbots, existing conversation information and information necessary for future efficient consultation are automatically transferred between the multiple chatbots, rather than simply transferring work through the chatbots, resulting in a smooth hand-off between the multiple chatbots. off) by providing a chatbot service based on multiple chatbots, an improved customer experience than the existing chatbot service can be provided to users.

본 발명의 실시예에 따른 챗봇 간 업무 이관을 기반으로 한 서비스 제공 방법 및 이러한 방법을 수행하는 장치에서는 챗봇 서비스가 의료 및 관광을 위한 서비스라고 가정하는 경우, 의료 관광객들의 현지 생활 편의성을 제공함과 동시에 위치 기반 정보를 바탕으로 보다 다양한 로컬 서비스를 추천해줌으로써 직접적인 로컬 경제 활성화 효과가 있다.In the method for providing a service based on business transfer between chatbots according to an embodiment of the present invention and a device for performing such a method, assuming that the chatbot service is a service for medical and tourism purposes, it is possible to provide local living convenience for medical tourists and at the same time It has a direct effect of revitalizing the local economy by recommending more diverse local services based on location-based information.

이하, 본 발명의 실시예에서는 챗봇 간의 업무 이관의 예시로서 의료를 위한 챗봇과 관광을 위한 챗봇이 개시된다. 하지만, 본 발명의 실시예에 따른 챗봇 간 업무 이관을 기반으로 한 서비스 제공 방법 및 이러한 방법을 수행하는 장치에서 개시되는 챗봇 간의 업무 이관 방법은 의료, 관광뿐만 아니라 다양한 챗봇 서비스 영역에서 활용될 수 있고, 이러한 실시예 또한 본 발명의 권리 범위에 포함될 수 있다.Hereinafter, in an embodiment of the present invention, a chatbot for medical treatment and a chatbot for tourism are disclosed as examples of business transfer between chatbots. However, the service providing method based on the business transfer between chatbots according to an embodiment of the present invention and the business transfer method between chatbots disclosed in the apparatus for performing such a method can be used in various chatbot service areas as well as medical and tourism. , these embodiments may also be included in the scope of the present invention.

도 1은 본 발명의 실시예에 따른 챗봇 서비스 장치를 나타낸 개념도이다. 1 is a conceptual diagram illustrating a chatbot service apparatus according to an embodiment of the present invention.

도 1에서는 복수의 챗봇 간의 업무 이관을 가능하게 하는 챗봇 서비스 장치가 개시된다.In FIG. 1, a chatbot service device that enables business transfer between a plurality of chatbots is disclosed.

도 1을 참조하면, 챗봇 서비스 장치는 통신부(100), 챗봇 결정부(120), 챗봇 업무 이관부(140), 챗봇 서비스부(160), 프로세서(미도시)를 포함할 수 있다.Referring to FIG. 1 , the chatbot service apparatus may include a communication unit 100 , a chatbot determination unit 120 , a chatbot task transfer unit 140 , a chatbot service unit 160 , and a processor (not shown).

통신부(100)는 챗봇 서비스의 제공 대상인 사용자 장치와 통신하기 위해 구현될 수 있다.The communication unit 100 may be implemented to communicate with a user device that is a target of providing the chatbot service.

챗봇 결정부(120)는 사용자 장치와 통신을 기반으로 사용자와 챗봇 간의 대화 정보를 수집하고, 대화 정보를 기반으로 대화 정보와 관련된 챗봇을 결정하기 위해 구현될 수 있다. 예를 들어, 챗봇 서비스가 의료 서비스와 관광 서비스인 경우, 대화 정보를 기반으로 의료 서비스를 위한 제1 챗봇이 대응할지, 관광 서비스를 위한 제2 챗봇이 대응할지 여부에 대한 판단이 수행될 수 있다. 챗봇 결정부(120)의 구체적인 챗봇 업무 결정 방법은 후술된다.The chatbot determining unit 120 may be implemented to collect conversation information between the user and the chatbot based on communication with the user device, and to determine a chatbot related to the conversation information based on the conversation information. For example, if the chatbot service is a medical service and a tourism service, a determination may be made based on the conversation information as to whether the first chatbot for the medical service or the second chatbot for the tourism service will respond. . A specific chatbot task determination method of the chatbot determination unit 120 will be described later.

챗봇 업무 이관부(140)는 챗봇 결정부(120)의 판단을 기반으로 사용자와 대화를 진행할 챗봇 간의 업무 이관을 위해 구현될 수 있다. 챗봇 업무 이관부(140)는 챗봇 결정부(120)의 판단을 기반으로 최종적으로 답변을 수행할 챗봇으로의 업무 이관 절차를 수행할 수 있다. 챗봇 업무 이관부(140)는 현재 사용자와 대화하는 챗봇의 변화가 필요한 경우 챗봇 업무 이관 절차를 진행할 수 있다. 챗봇 업무 이관 절차는 기존에 사용자와 대화하던 챗봇을 다른 챗봇으로 전환하는 절차일 수 있다. 이에 대해서는 구체적으로 후술한다.The chatbot task transfer unit 140 may be implemented to transfer tasks between chatbots that will conduct a conversation with a user based on the determination of the chatbot decision unit 120 . The chatbot task transfer unit 140 may perform a task transfer procedure to a chatbot that will finally perform an answer based on the determination of the chatbot decision unit 120 . The chatbot task transfer unit 140 may proceed with the chatbot task transfer procedure when a change in the chatbot currently communicating with the user is required. The chatbot business transfer procedure may be a procedure for converting a chatbot that has been talking with a user to another chatbot. This will be described in detail later.

챗봇 서비스부(160)는 챗봇의 동작을 위한 데이터 학습을 위해 구현될 수 있다. 예를 들어, 챗봇 서비스부(160)는 대화 정보를 기반으로 챗봇의 동작을 위한 학습을 수행할 수 있다. 구체적으로 챗봇 서비스부(160)는 챗봇 결정부에서 챗봇을 결정하기 위한 단어 정보, 문맥 정보에 대한 머신러닝 기반의 학습을 수행하고, 챗봇 간 업무 영역에 대한 배타성에 대한 판단 등을 수행할 수 있다. 즉, 챗봇 서비스부(160)은 챗봇 결정부(120)와 챗봇 업무 이관부(140)의 동작을 위한 학습을 수행할 수 있다.The chatbot service unit 160 may be implemented to learn data for the operation of the chatbot. For example, the chatbot service unit 160 may perform learning for the operation of the chatbot based on the conversation information. Specifically, the chatbot service unit 160 may perform machine learning-based learning on word information and context information for determining the chatbot in the chatbot decision unit, and may determine the exclusivity of the work area between the chatbots. . That is, the chatbot service unit 160 may perform learning for the operations of the chatbot determination unit 120 and the chatbot task transfer unit 140 .

프로세서는 통신부(100), 챗봇 결정부(120), 챗봇 업무 이관부(140), 챗봇 서비스부(160)의 동작을 제어하기 위해 구현될 수 있다.The processor may be implemented to control operations of the communication unit 100 , the chatbot determination unit 120 , the chatbot task transfer unit 140 , and the chatbot service unit 160 .

도 2는 본 발명의 실시예에 따른 챗봇 결정부의 동작을 나타낸 개념도이다.2 is a conceptual diagram illustrating an operation of a chatbot determining unit according to an embodiment of the present invention.

도 2에서는 챗봇 결정부의 챗봇 업무 판단 방법이 개시된다.2 discloses a chatbot task determination method of a chatbot decision unit.

도 2를 참조하면, 챗봇 결정부는 사용자와 챗봇 간의 대화 정보를 기반으로 대화 정보와 관련된 챗봇을 결정할 수 있다.Referring to FIG. 2 , the chatbot determiner may determine the chatbot related to the conversation information based on conversation information between the user and the chatbot.

챗봇 결정부는 대화 정보를 기반으로 사용자에 응답할 챗봇(이하, 응답 챗봇)의 업무를 판단할 수 있다. 챗봇 결정부는 대화 정보에 포함되는 복수의 하위 대화 정보(210, 220)를 분석하여 타겟 하위 대화 정보(220)와 관련된 챗봇을 결정할 수 있다. 하위 대화 정보는 사용자에 의해 입력되어 전송된 텍스트 단위로서 한번에 전송된 텍스트 단위일 수 있다. 예를 들어, 일반 메신저를 가정하는 경우, 사용자에 의해 입력된 텍스트 정보가 전송 버튼을 누름으로써 전달되는 하나의 대화 단위가 하위 대화 정보에 대응될 수 있다. 타겟 하위 대화 정보는 복수의 하위 대화 정보 중 챗봇이 응답할 대상인 하위 대화 정보일 수 있다. 다른 표현으로 응답 챗봇(240)의 응답 대상인 하위 대화 정보는 타겟 하위 대화 정보라는 용어로 표현될 수 있다. The chatbot determining unit may determine the task of the chatbot to respond to the user (hereinafter, the response chatbot) based on the conversation information. The chatbot determining unit may determine a chatbot related to the target sub-conversation information 220 by analyzing the plurality of sub-conversation information 210 and 220 included in the conversation information. The sub-conversation information may be a text unit input and transmitted by a user, and may be a text unit transmitted at once. For example, in the case of a general messenger, one conversation unit in which text information input by the user is transmitted by pressing a transmit button may correspond to sub-conversation information. The target sub-conversation information may be sub-conversation information to which the chatbot responds among the plurality of sub-conversation information. In other words, sub-conversation information that is a response target of the response chatbot 240 may be expressed in terms of target sub-conversation information.

챗봇 결정부는 챗봇 서비스 장치에서 서비스되는 복수의 챗봇 중 어떠한 챗봇이 사용자에 의해 전송된 타겟 하위 대화 정보(220)에 응답할 응답 챗봇(240)이 될지에 대해 결정할 수 있다.The chatbot determining unit may determine which chatbot among a plurality of chatbots serviced by the chatbot service device will be the response chatbot 240 to respond to the target sub-conversation information 220 sent by the user.

챗봇 결정부는 대화의 시작에 있어서 디폴트 챗봇을 결정하고, 디폴트 챗봇을 기준으로 사용자와 대화를 시작할 수 있다. 이후, 챗봇 결정부는 사용자에 의해 입력되는 타겟 하위 대화 정보(220) 및 이전 하위 대화 정보(210)의 분석 결과를 기반으로 타겟 하위 대화 정보(220)에 대한 응답 챗봇(240)을 결정할 수 있다.The chatbot determining unit may determine a default chatbot at the start of a conversation, and start a conversation with the user based on the default chatbot. Thereafter, the chatbot determining unit may determine the chatbot 240 responding to the target sub-conversation information 220 based on the analysis result of the target sub-conversation information 220 and the previous sub-conversation information 210 input by the user.

챗봇 결정부는 타겟 하위 대화 정보(220)에 포함된 단어, 문맥에 대한 정보를 기반으로 타겟 하위 대화 정보(220)에 대한 각각의 챗봇의 대응 가능성에 대한 확률값인 챗봇 관련성 확률(230)을 결정할 수 있다.The chatbot determination unit may determine the chatbot relevance probability 230, which is a probability value for the corresponding possibility of each chatbot to the target sub-conversation information 220, based on the information on the word and context included in the target sub-conversation information 220. have.

예를 들어, 의료 정보를 제공하기 위한 제1 챗봇과 관광 정보를 제공하기 위한 제2 챗봇이 존재하는 경우가 가정될 수 있다. 챗봇 결정부는 분석 대상이 되는 타겟 하위 대화 정보(220)에 대한 분석을 통해 타겟 하위 대화 정보(220)를 챗봇 관련성 확률(230)인 (제1 챗봇 관련성 확률, 제2 챗봇 관련성 확률)로 변환할 수 있다. 챗봇 서비스에서 제1 챗봇 내지 제n 챗봇이 존재하는 경우, 타겟 하위 대화 정보(220)에 대한 제1 챗봇 내지 제n 챗봇의 (제1 챗봇 관련성 확률, ?, 제n 챗봇 관련성 확률)은 챗봇 관련성 확률(230)이라는 용어로 표현될 수 있다. 예를 들어, 제1 챗봇과 제2 챗봇이 존재하는 경우, 타겟 하위 대화 정보(220)의 챗봇 관련성 확률(230)은 (0.9, 0.05)와 같이 (제1 챗봇 관련성 확률, 제2 챗봇 관련성 확률)로 표현될 수 있다.For example, it may be assumed that a first chatbot for providing medical information and a second chatbot for providing tourism information exist. The chatbot decision unit converts the target sub-conversation information 220 into the chatbot relevance probability 230 (first chatbot relevance probability, second chatbot relevance probability) through analysis of the target sub-conversation information 220 to be analyzed. can When the first chatbot to the n-th chatbot exists in the chatbot service, (the first chatbot relevance probability, ?, the n-th chatbot relevance probability) of the first chatbot to the n-th chatbot for the target sub-conversation information 220 is the chatbot relevance It can be expressed in terms of probability 230 . For example, when the first chatbot and the second chatbot exist, the chatbot relevance probability 230 of the target sub-conversation information 220 is (0.9, 0.05) (the first chatbot relevance probability, the second chatbot relevance probability) ) can be expressed as

챗봇 결정부는 타겟 하위 대화 정보(220)의 제1 챗봇 관련성 확률이 제1 판단 임계값 이상이고, 제2 챗봇 관련성 확률이 제2 판단 임계값 이하인 경우, 타겟 하위 대화 정보(220)에 대한 응답을 제1 챗봇의 업무로 결정하고 제1 챗봇을 응답 챗봇으로 결정할 수 있다. 만약 현재 챗봇이 제1 챗봇인 경우, 계속적으로 제1 챗봇이 응답하고, 현재 챗봇이 제2 챗봇인 경우, 챗봇 업무 이관부를 통한 제1 챗봇으로의 챗봇 이관 절차가 수행될 수 있다.When the first chatbot relevance probability of the target sub-conversation information 220 is greater than or equal to the first determination threshold and the second chatbot relevance probability is less than or equal to the second determination threshold, a response to the target sub-conversation information 220 is provided. It may be determined as the task of the first chatbot, and the first chatbot may be determined as the response chatbot. If the current chatbot is the first chatbot, the first chatbot continuously responds, and if the current chatbot is the second chatbot, the chatbot transfer procedure to the first chatbot through the chatbot task transfer unit may be performed.

챗봇 결정부는 타겟 하위 대화 정보(220)의 제1 챗봇 관련성 확률이 제3 판단 임계값 이하이고, 제2 챗봇 관련성 확률이 제4 판단 임계값 이상인 경우, 타겟 하위 대화 정보(220)에 대한 응답을 제2 챗봇의 업무로 결정하고 제2 챗봇을 응답 챗봇으로 결정할 수 있다. 만약 현재 챗봇이 제2 챗봇인 경우, 계속적으로 제2 챗봇이 응답하고, 현재 챗봇이 제1 챗봇인 경우, 챗봇 결정부를 통한 제2 챗봇으로의 챗봇 이관 절차가 수행될 수 있다.The chatbot determination unit determines a response to the target sub-conversation information 220 when the first chatbot relevance probability of the target sub-conversation information 220 is less than or equal to the third determination threshold and the second chatbot relevance probability is greater than or equal to the fourth determination threshold. It may be determined as the task of the second chatbot, and the second chatbot may be determined as the response chatbot. If the current chatbot is the second chatbot, the second chatbot continuously responds, and if the current chatbot is the first chatbot, the chatbot transfer procedure to the second chatbot through the chatbot decision unit may be performed.

챗봇 결정부는 타겟 하위 대화 정보(220)의 제1 챗봇 관련성 확률이 제3 판단 임계값 초과 제1 판단 임계값 미만이고, 제2 챗봇 관련성 확률이 제4 판단 임계값 초과 제2 판단 임계값 미만인 경우, 타겟 하위 대화 정보(220)에 대한 응답을 특정 챗봇의 업무로 결정하지 않고, 기존 챗봇이 계속적으로 응답하도록 할 수 있다.When the chatbot determination unit has a first chatbot relevance probability of the target sub-conversation information 220 exceeds a third determination threshold value and is less than a first determination threshold value, and a second chatbot relevance probability exceeds a fourth determination threshold value and is less than a second determination threshold value , instead of determining a response to the target sub-conversation information 220 as a task of a specific chatbot, the existing chatbot may continuously respond.

이러한 방식으로 타겟 하위 대화 정보(220)에 대한 분석을 통해 타겟 하위 대화 정보(220)에 대해 응답할 응답 챗봇이 결정될 수 있다.In this way, a response chatbot to respond to the target sub-conversation information 220 may be determined through analysis of the target sub-conversation information 220 .

챗봇 관련성 확률(230) 및 챗봇의 업무를 결정하기 위한 판단 임계값의 결정 방법은 구체적으로 후술된다.A method of determining the chatbot relevance probability 230 and the judgment threshold for determining the chatbot's task will be described in detail below.

도 3은 본 발명의 실시예에 따른 챗봇 결정부의 동작을 나타낸 개념도이다.3 is a conceptual diagram illustrating an operation of a chatbot determining unit according to an embodiment of the present invention.

도 3에서는 챗봇 결정부의 챗봇 관련성 확률을 결정하는 방법이 개시된다.3 discloses a method for determining a chatbot relevance probability of a chatbot decision unit.

도 3을 참조하면, 챗봇 결정부는 챗봇 관련성 확률(330)을 결정하기 위해 타겟 하위 대화 정보(300)에 포함된 단어를 분리하고, 타겟 하위 대화 정보(300) 상의 문맥을 고려하여 1차 챗봇 관련성 확률(310)을 결정할 수 있다. 이후, 타겟 하위 대화 정보(300) 이전의 이전 하위 대화 정보(320)를 고려하여 최종적으로 타겟 하위 대화 정보(300)의 챗봇 관련성 확률(330)을 결정할 수 있다.Referring to FIG. 3 , the chatbot determination unit separates words included in the target sub-conversation information 300 to determine the chatbot relevance probability 330 , and considers the context on the target sub-conversation information 300 to determine the primary chatbot relevance. A probability 310 may be determined. Thereafter, the chatbot relevance probability 330 of the target sub-conversation information 300 may be finally determined in consideration of the previous sub-conversation information 320 before the target sub-conversation information 300 .

단어 학습을 통해 결정된 단어별 챗봇 관련성 확률을 통해 1차 챗봇 관련성 확률이 결정될 수 있다. 예를 들어, 의료 서비스와 관련된 단어, 관광 서비스와 관련된 단어 각각에 대한 학습이 단어 라벨링을 기반으로 한 지도 학습을 통해 수행되는 경우, 특정 단어가 어떠한 챗봇과 관련이 있는지를 나타내는 확률값인 챗봇 관련성 확률(단어)(305)가 결정될 수 있다. 챗봇 서비스가 제1 챗봇과 제2 챗봇를 기반으로 제공되는 경우, 특정 단어의 챗봇 관련성 확률(단어)(305)는 (제1 챗봇 관련성 확률(단어), 제2 챗봇 관련성 확률(단어))로 표현되어 특정 챗봇과 관련된 단어임을 나타낼 수 있다.The primary chatbot relevance probability may be determined through the chatbot relevance probability for each word determined through word learning. For example, when learning for each word related to medical service and each word related to tourism service is performed through supervised learning based on word labeling, chatbot relevance probability, which is a probability value indicating which chatbot a specific word is related to (word) 305 may be determined. When the chatbot service is provided based on the first chatbot and the second chatbot, the chatbot relevance probability (word) 305 of a specific word is (first chatbot relevance probability (word), second chatbot relevance probability (word)) It can be expressed to indicate that it is a word related to a specific chatbot.

타겟 하위 대화 정보 상에서 추출된 복수의 단어 각각에 대한 챗봇 관련성 확률(단어)(305)가 결정되고, 복수의 단어 중 타겟 단어에 관련된 문맥을 분석하여 긍정 또는 부정 여부를 판단할 수 있다. 타겟 단어는 단어 챗봇 관련성 확률을 기반으로 특정 챗봇과 관련성이 상대적으로 높은 단어일 수 있다.A chatbot relevance probability (word) 305 for each of the plurality of words extracted from the target sub-conversation information is determined, and the context related to the target word among the plurality of words may be analyzed to determine whether it is affirmative or negative. The target word may be a word having relatively high relevance to a specific chatbot based on the word chatbot relevance probability.

예를 들어, '가까운 관광지 없어?' 라는 타겟 하위 대화 정보는 '가까운', '관광지', '없어?'인 복수의 단어로 분리될 수 있고, '가까운', '관광지', '없어?' 각각에 대한 챗봇 관련성 확률(단어)(305)로서 (제1 챗봇 관련성 확률(단어), 제2 챗봇 관련성 확률(단어))가 결정될 수 있다. For example, 'Isn't there a tourist attraction nearby?' The target sub-conversation information of 'near', 'tourist', and 'none?' can be separated into plural words 'near', 'tourist' As the chatbot relevance probability (word) 305 for each (first chatbot relevance probability (word), second chatbot relevance probability (word)) may be determined.

'가까운'의 챗봇 관련성 확률(단어)(305)는 (0.49, 0.51), '관광지'의 챗봇 관련성 확률(단어)(305)는 (0.09, 0.91), '없어'의 챗봇 관련성 확률(단어)(305)는 (0.49, 0.51)로 가정할 수 있다. 이러한 경우, '관광지'와 같이 제2 챗봇과 관련성이 설정된 임계값 이상인 단어는 타겟 단어(307)로 결정될 수 있다.Chatbot relevance probability (word) of 'near' (305) is (0.49, 0.51), chatbot relevance probability (word) of 'tourist' (305) is (0.09, 0.91), and chatbot relevance probability (word) of 'not present'. (305) can be assumed to be (0.49, 0.51). In this case, a word greater than or equal to a threshold value set for relevance to the second chatbot, such as 'tourist site', may be determined as the target word 307 .

타겟 단어(307)의 결정 이후, 타겟 단어(307)와 관련된 문맥인 '없어?'가 타겟 단어에 대한 긍정 표현인지 부정 표현인지 여부가 결정될 수 있다. '없어?'의 경우 문의로서 '긍정 표현'일 수 있다. 이러한 경우, 타겟 단어(307)의 챗봇 관련성 확률(단어)(305)를 기반으로 1차 챗봇 관련성 확률(310)이 결정될 수 있다. 예를 들어, '관광지'의 챗봇 관련성 확률(단어)(305)인 (0.09, 0.91)가 1차 챗봇 관련성 확률(310)로 결정될 수 있다.After the target word 307 is determined, it may be determined whether a context related to the target word 307, 'no?', is a positive expression or a negative expression for the target word. In the case of 'No?', it may be a 'positive expression' as an inquiry. In this case, the primary chatbot relevance probability 310 may be determined based on the chatbot relevance probability (word) 305 of the target word 307 . For example, (0.09, 0.91), which is the chatbot relevance probability (word) 305 of 'tourist site', may be determined as the primary chatbot relevance probability 310 .

만약, '관광 싫어'와 같이 '싫어'라는 단어가 타겟 단어(307)와 관련된 문맥인 경우, '싫어'는 '부정 표현'으로 인식될 수 있다. 이러한 경우, 1과 타겟 단어(307)의 챗봇 관련성 확률(단어)(305)의 차가 1차 챗봇 관련성 확률(310)로 결정될 수 있다. 예를 들어, '관광지'의 챗봇 관련성 확률(단어)(305)가 (0.09, 0.91)이고, '관광지 싫어'와 같이 부정 표현이 연결된 경우, (1-0.09, 1-0.91)인 (0.91, 0.09)가 1차 챗봇 관련성 확률(310)로 결정될 수 있다.If the word 'dislike' is a context related to the target word 307, such as 'dislike tourism', 'dislike' may be recognized as a 'negative expression'. In this case, the difference between 1 and the chatbot relevance probability (word) 305 of the target word 307 may be determined as the primary chatbot relevance probability 310 . For example, if the chatbot relevance probability (word) (305) of 'tourist site' is (0.09, 0.91), and a negative expression such as 'I hate tourist destination' is connected, (0.91, (1-0.09, 1-0.91) 0.09) may be determined as the primary chatbot relevance probability 310 .

이러한 문맥에 따른 1차 챗봇 관련성 확률(310)을 결정하는 방식은 하나의 예시로서 다른 다양한 방식이 사용될 수도 있고, 이러한 실시예 또한 본 발명의 권리 범위에 포함될 수 있다.The method of determining the primary chatbot relevance probability 310 according to this context is an example, and other various methods may be used, and this embodiment may also be included in the scope of the present invention.

만약, 타겟 단어(307)가 복수개인 경우, 복수개 타겟 단어(307) 각각의 복수의 챗봇 관련성 확률(단어)(305) 각각을 기반으로 1차 챗봇 관련성 확률(310)이 결정될 수 있다. 예를 들어, 타겟 하위 대화 정보(300)가 '여기서 가까운 관광지와 음식점을 알려줘'인 경우, '관광지', '음식점' 각각이 타겟 단어(307)일 수 있고, '관광지', '음식점' 각각의 챗봇 관련성 확률(단어)(305)를 기반으로 1차 챗봇 관련성 확률(310)이 결정될 수 있다.If there are a plurality of target words 307 , the primary chatbot relevance probability 310 may be determined based on each of the plurality of chatbot relevance probabilities (words) 305 of each of the plurality of target words 307 . For example, if the target sub-conversation information 300 is 'Tell me about tourist attractions and restaurants near here', 'tourist spots' and 'restaurants' may each be the target words 307, and 'tourism sites' and 'restaurants', respectively A primary chatbot relevance probability 310 may be determined based on the chatbot relevance probability (word) 305 of

타겟 하위 대화 정보(300)의 1차 챗봇 관련성 확률(310)의 결정 이후, 이전 하위 대화 정보(320)를 반영하여 최종적으로 타겟 하위 대화 정보(300)의 챗봇 관련성 확률(330)이 결정될 수 있다.After the determination of the primary chatbot relevance probability 310 of the target sub-conversation information 300, the chatbot relevance probability 330 of the target sub-conversation information 300 may be finally determined by reflecting the previous sub-conversation information 320. .

이전 하위 대화 정보(320)는 타겟 하위 대화 정보(300)를 기준으로 시간적으로 이전에 발생한 n개의 하위 대화 정보일 수 있다. 이전 하위 대화 정보(320) 각각의 챗봇 관련성 확률을 기준으로 이전 챗봇 관련성 확률(325)이 결정되고, 이전 챗봇 관련성 확률(325)을 기반으로 타겟 하위 대화 정보의 1차 챗봇 관련성 확률(310)이 보정되어 챗봇 관련성 확률(330)이 결정될 수 있다.The previous sub-conversation information 320 may be n pieces of sub-conversation information that occurred previously in time based on the target sub-conversation information 300 . The previous chatbot relevance probability 325 is determined based on the respective chatbot relevance probability of the previous sub-conversation information 320, and the primary chatbot relevance probability 310 of the target sub-conversation information based on the previous chatbot relevance probability 325 is It may be calibrated to determine the chatbot relevance probability 330 .

예를 들어, n=3이고, 이전 하위 대화 정보1의 챗봇 관련성 확률이 (0.9, 0.1), 이전 하위 대화 정보2의 챗봇 관련성 확률이 (0.7, 0.3), 이전 하위 대화 정보3의 챗봇 관련성 확률이 (0.6, 0.2)인 경우, 타겟 하위 대화 정보(300)를 기준으로 최근에 발생된 하위 대화 정보일수록 높은 가중치를 부여하여 아래의 수학식1을 기반으로 이전 챗봇 관련성 확률(325)이 결정될 수 있다.For example, if n=3, the probability of relevance of the chatbot of the previous sub-conversation information 1 is (0.9, 0.1), the probability of the chatbot relevance of the previous sub-conversation information 2 is (0.7, 0.3), and the probability of the chatbot relevance of the previous sub-conversation information 3 is (0.7, 0.3). If this is (0.6, 0.2), the higher the weight is given to the more recently generated sub-conversation information based on the target sub-conversation information 300, and the previous chatbot relevance probability 325 can be determined based on Equation 1 below. have.

<수학식 1><Equation 1>

(이전 하위 대화 정보1의 챗봇 관련성 확률x 제1 가중치)/n+(이전 하위 대화 정보2의 챗봇 관련성 확률x 제2 가중치)/n+?+(이전 하위 대화 정보n의 챗봇 관련성 확률x 제n 가중치)/n(Chatbot relevance probability of previous sub-conversation information 1 x 1st weight)/n+ (Chatbot relevance probability of previous sub-conversation information 2 x 2nd weight)/n+?+ (Chatbot relevance probability of previous sub-conversation information n x nth weight) )/n

이후, 이전 챗봇 관련성 확률(325)을 기반으로 1차 챗봇 관련성 확률(310)이 보정될 수 있다. 예를 들어, 이전 챗봇 관련성 확률(325)과 1차 챗봇 관련성 확률(310)의 평균값으로 타겟 하위 대화 정보(300)의 챗봇 관련성 확률(330)이 결정될 수 있다. 이러한 방식을 통해 대화의 흐름을 반영하여 타겟 하위 대화 정보(300)에 응답할 응답 챗봇(340)이 결정될 수 있다.Thereafter, the primary chatbot relevance probability 310 may be corrected based on the previous chatbot relevance probability 325 . For example, the chatbot relevance probability 330 of the target sub-conversation information 300 may be determined as an average value of the previous chatbot relevance probability 325 and the primary chatbot relevance probability 310 . In this way, the response chatbot 340 to respond to the target sub-conversation information 300 may be determined by reflecting the flow of the conversation.

도 4는 본 발명의 실시예에 따른 챗봇 결정부의 동작을 나타낸 개념도이다.4 is a conceptual diagram illustrating an operation of a chatbot decision unit according to an embodiment of the present invention.

도 4에서는 챗봇 결정부의 챗봇 관련성 확률에 판단 임계값을 적용하여 챗봇의 업무를 결정하는 방법이 개시된다.4 discloses a method of determining the task of a chatbot by applying a judgment threshold value to the chatbot relevance probability of the chatbot determining unit.

도 4를 참조하면, 타겟 하위 대화 정보의 챗봇 관련성 확률이 결정되는 경우, 타겟 하위 대화 정보의 챗봇 관련성 확률을 기반으로 어떤 챗봇의 업무인지 여부가 결정될 수 있다.Referring to FIG. 4 , when the chatbot relevance probability of the target sub-conversation information is determined, it may be determined whether the job of the chatbot is based on the chatbot relevance probability of the target sub-conversation information.

전술한 바와 같이 제1 서비스를 위한 제1 챗봇, 제2 서비스를 위한 제2 챗봇이 존재하는 경우, 챗봇 관련성 확률은 (제1 챗봇 관련성 확률(410), 제2 챗봇 관련성 확률(420))일 수 있다.As described above, when the first chatbot for the first service and the second chatbot for the second service exist, the chatbot relevance probability is (the first chatbot relevance probability 410, the second chatbot relevance probability 420) can

본 발명의 실시예에 따르면 챗봇 별로 챗봇 관련성 확률을 기준으로 챗봇의 업무인지 여부를 판단하기 위한 판단 임계값이 서로 다르게 설정될 수 있다.According to an embodiment of the present invention, a judgment threshold value for determining whether the chatbot is a business of the chatbot based on the chatbot relevance probability may be set differently for each chatbot.

전술한 바와 같이 챗봇 결정부는 타겟 하위 대화 정보의 제1 챗봇 관련성 확률(410)이 제1 판단 임계값(411) 이상이고, 제2 챗봇 관련성 확률(420)이 제2 판단 임계값(412) 이하인 경우, 타겟 하위 대화 정보에 대한 응답을 제1 챗봇(416)의 업무로 결정하고 제1 챗봇(411)을 응답 챗봇(430)으로 결정할 수 있다. As described above, in the chatbot determination unit, the first chatbot relevance probability 410 of the target sub-conversation information is equal to or greater than the first determination threshold 411, and the second chatbot relevance probability 420 is the second determination threshold 412 or less. In this case, the response to the target sub-conversation information may be determined as the task of the first chatbot 416 , and the first chatbot 411 may be determined as the response chatbot 430 .

챗봇 결정부는 타겟 하위 대화 정보의 제1 챗봇 관련성 확률(420)이 제3 판단 임계값 이하(431)이고, 제2 챗봇 관련성 확률(420)이 제4 판단 임계값(414) 이상인 경우, 타겟 하위 대화 정보에 대한 응답을 제2 챗봇(426)의 업무로 결정하고 제2 챗봇(426)을 응답 챗봇(430)으로 결정할 수 있다.The chatbot determining unit is the target lower level when the first chatbot relevance probability 420 of the target sub-conversation information is below the third determination threshold 431 and the second chatbot relevance probability 420 is greater than or equal to the fourth determination threshold 414 A response to the conversation information may be determined as the task of the second chatbot 426 , and the second chatbot 426 may be determined as the response chatbot 430 .

이때, 제1 챗봇(416), 제2 챗봇(426)인지 여부를 결정하기 위한 제1 판단 임계값(411)과 제4 판단 임계값(414)은 서로 다르게 설정될 수 있고, 제1 판단 임계값(411)과 제4 판단 임계값(414)은 챗봇 할당 임계값이라는 용어로 표현될 수 있다.At this time, the first judgment threshold 411 and the fourth judgment threshold 414 for determining whether the first chatbot 416 or the second chatbot 426 may be set differently, and the first judgment threshold The value 411 and the fourth judgment threshold 414 may be expressed in terms of a chatbot allocation threshold.

이때, 제1 챗봇, 제2 챗봇의 업무가 아님을 결정하기 위한 제2 판단 임계값(412)과 제3 판단 임계값(413)도 서로 다르게 설정될 수 있고, 제2 판단 임계값(412)과 제3 판단 임계값(413)은 챗봇 비할당 임계값이라는 용어로 표현될 수 있다.In this case, the second judgment threshold 412 and the third judgment threshold 413 for determining that the first chatbot and the second chatbot are not the business may be set differently, and the second judgment threshold 412 may be set differently. and the third judgment threshold 413 may be expressed in terms of a chatbot unassigned threshold.

챗봇의 챗봇 할당 임계값/챗봇 비할당 임계값은 복수의 챗봇 간의 업무 영역의 배타성이 높을수록 낮게 설정되고, 복수의 챗봇 간의 업무 영역의 배타성이 낮을수록 높게 설정될 수 있다. The chatbot allocation threshold/chatbot non-allocation threshold of the chatbot may be set lower as the exclusivity of the work area between the plurality of chatbots is higher, and may be set higher as the exclusivity of the work area between the plurality of chatbots is lower.

만약, 챗봇 서비스에서 복수의 챗봇 각각을 기반으로 제공되는 서비스의 업무 영역 간의 배타성이 상대적으로 높은 경우, 챗봇 할당 임계값/챗봇 비할당 임계값이 낮게 설정되더라도 챗봇 관련성 확률을 기반으로 한 판단의 정확도가 상대적으로 높을 수 있다.If the chatbot service has a relatively high exclusivity between the work areas of the service provided based on each of a plurality of chatbots, even if the chatbot allocation threshold/chatbot non-allocation threshold is set low, the accuracy of judgment based on the chatbot relevance probability can be relatively high.

반대로, 챗봇 서비스에서 복수의 챗봇 각각을 기반으로 제공되는 서비스의 업무 영역 간의 배타성이 상대적으로 낮고, 챗봇 할당 임계값/챗봇 비할당 임계값이 낮게 설정되는 경우, 복수의 챗봇 간 상호 겹치는 업무 영역으로 인해 잘못된 챗봇이 응답할 가능성이 있다. 따라서, 업무 영역이 배타적이지 않은 경우, 챗봇 할당 임계값/챗봇 비할당 임계값을 높게 설정하여 챗봇 관련성 확률을 기반으로 한 판단의 정확도가 향상될 수 있다.Conversely, if the exclusivity between the work areas of the service provided based on each of the plurality of chatbots is relatively low in the chatbot service, and the chatbot allocation threshold/chatbot non-allocation threshold is set low, the There is a chance that the wrong chatbot will respond. Therefore, when the work area is not exclusive, the accuracy of the judgment based on the chatbot relevance probability can be improved by setting the chatbot assignment threshold/chatbot non-allocation threshold high.

업무 영역의 배타성은 업무 영역상 상호 겹치는 단어의 중첩도를 고려하여 결정될 수 있다. 예를 들어, 의료 서비스를 위한 제1 챗봇, 관광 서비스를 위한 제2 챗봇, 음식점 서비스를 위한 제3 챗봇이 존재하는 경우, 관광 서비스와 음식점 서비스는 업무 영역상 상호 겹치는 단어의 중첩도가 상대적으로 높을 수 있고, 의료 서비스와 관광 서비스, 의료 서비스와 음식점 서비스는 업무 영역 상 상호 겹치는 단어의 중첩도가 상대적으로 낮을 수 있다.The exclusivity of the work area may be determined by considering the degree of overlap of words overlapping each other in the work area. For example, if a first chatbot for medical service, a second chatbot for a tourism service, and a third chatbot for a restaurant service exist, the degree of overlap of words overlapping each other in the business area of the tourism service and the restaurant service is relatively high. In the case of medical service and tourism service, medical service and restaurant service, the overlapping degree of mutually overlapping words in the business area may be relatively low.

이러한 업무 영역의 배타성을 고려하여 제1 챗봇 내지 제n 챗봇의 판단 임계값이 조정되어 타겟 하위 대화 정보에 대해 어떠한 챗봇이 응답할지 여부가 결정될 수 있다.In consideration of the exclusivity of this work area, the judgment thresholds of the first chatbot to the nth chatbot may be adjusted to determine which chatbot responds to the target sub-conversation information.

이뿐만 아니라, 챗봇 결정부가 응답 챗봇(430)을 결정하고, 타겟 하위 대화 정보에 대해 응답 챗봇(430)이 응답한 후, 사용자의 하위 타겟 대화 정보를 수집하고 응답 챗봇(430)의 결정 정확도를 피드백 받아서 챗봇 할당 임계값/챗봇 비할당 임계값의 범위를 확장할 수도 있다.In addition, after the chatbot decision unit determines the response chatbot 430, and the response chatbot 430 responds to the target sub-conversation information, the user's sub-target conversation information is collected and the determination accuracy of the response chatbot 430 is determined. You can also expand the range of chatbot allocation threshold/chatbot non-allocation threshold by receiving feedback.

응답 챗봇(430)의 결정 정확도는 챗봇 결정부의 응답 챗봇(430)의 결정 정확도에 관련된 값이다. 판단 정확도가 높을수록 챗봇 할당 임계값/챗봇 비할당 임계값을 확장하여 응답 챗봇(430)을 결정하도록 재설정할 수 있다.The determination accuracy of the response chatbot 430 is a value related to the determination accuracy of the response chatbot 430 of the chatbot decision unit. As the determination accuracy is higher, the chatbot allocation threshold/chatbot non-allocation threshold may be extended to reset to determine the response chatbot 430 .

도 5는 본 발명의 실시예에 따른 챗봇 업무 이관부의 동작을 나타낸 개념도이다.5 is a conceptual diagram illustrating an operation of a chatbot task transfer unit according to an embodiment of the present invention.

도 5에서는 챗봇 업무 이관부의 챗봇 업무 이관 동작이 개시된다.In FIG. 5 , the chatbot business transfer operation of the chatbot business transfer unit is started.

도 5를 참조하면, 챗봇 업무 이관부는 현재 사용자와 대화하는 챗봇의 변화가 필요한 경우 챗봇 이관 절차를 진행할 수 있다. 챗봇 이관 절차는 기존에 사용자와 대화하던 챗봇을 다른 챗봇으로 전환하는 절차일 수 있다. Referring to FIG. 5 , the chatbot business transfer unit may perform a chatbot transfer procedure when a change in the chatbot that currently communicates with the user is required. The chatbot migration procedure may be a procedure for converting a chatbot that has been talking with a user to another chatbot.

챗봇 업무 이관부는 챗봇 결정부의 챗봇 결정 결과에 따라 현재 챗봇을 유지할지 새로운 챗봇으로 업무 이관할지 여부에 대해 결정할 수 있다.The chatbot task transfer unit may decide whether to keep the current chatbot or transfer the business to a new chatbot according to the chatbot decision result of the chatbot decision unit.

현재 챗봇과 챗봇 결정부의 결정 결과에 따른 챗봇이 동일할 경우, 별도의 이관 절차 없이 챗봇 서비스가 진행될 수 있다.If the current chatbot and the chatbot according to the decision result of the chatbot decision unit are the same, the chatbot service can proceed without a separate transfer procedure.

현재 챗봇과 챗봇 결정부의 판단 결과 따른 챗봇이 동일하지 않을 경우, 챗봇 간 업무 이관이 수행될 수 있다. 챗봇 간 업무 이관이 수행되는 경우, 현재 챗봇이 아닌 챗봇 결정부의 결정 결과에 따른 챗봇으로 응답 챗봇을 설정하고, 응답 챗봇을 통해 타겟 하위 대화 정보에 대한 응답을 전송할 수 있다.If the current chatbot and the chatbot according to the determination result of the chatbot decision unit are not the same, business transfer may be performed between the chatbots. When task transfer is performed between chatbots, a response chatbot may be set as a chatbot according to the decision result of the chatbot decision unit rather than the current chatbot, and a response to the target sub-conversation information may be transmitted through the response chatbot.

챗봇 이관 절차를 진행시 복수의 챗봇 간에 필요한 정보가 전달되어 복수의 챗봇 간에 원활한 핸드 오프가 일어날 수 있다.During the chatbot transfer procedure, necessary information is transferred between the plurality of chatbots, so that a smooth handoff can occur between the plurality of chatbots.

예를 들어, 제1 챗봇(510)에서 제2 챗봇(520)으로의 업무 이관이 필요한 경우, 제1 챗봇(510)과의 사용자와의 전체 대화 정보 또는 사용자와의 대화 정보 중 제2 챗봇(520)과의 대화에서 필요한 이관 대화 정보(550)가 전달될 수 있다.For example, when it is necessary to transfer work from the first chatbot 510 to the second chatbot 520 , the second chatbot ( Transfer conversation information 550 necessary for the conversation with the 520 may be transmitted.

이관 대화 정보(550)는 제2 챗봇(520)과의 대화에서 필요한 하위 대화 정보로서 제2 챗봇(520)과 관련성이 높은 챗봇 관련성 확률을 가지는 대화 정보일 수 있다.The transfer conversation information 550 is sub-conversation information necessary for a conversation with the second chatbot 520 , and may be conversation information having a high chatbot relevance probability with the second chatbot 520 .

제2 챗봇(520)은 전달받은 전체 대화 정보 또는 이관 대화 정보(550)를 기초로 타겟 하위 대화 정보에 대해 사용자에게 응답할 수 있다. The second chatbot 520 may respond to the user for the target sub-conversation information based on the received overall conversation information or the transferred conversation information 550 .

도 6은 본 발명의 실시예에 따른 챗봇 결정부의 동작을 나타낸 개념도이다. 6 is a conceptual diagram illustrating an operation of a chatbot decision unit according to an embodiment of the present invention.

도 6에서는 챗봇 결정부의 챗봇 결정 방법이 개시된다. 특히, 사용자의 현재 위치 및 업무 진행 상황을 고려하여 챗봇 결정부의 챗봇 결정 동작이 개시된다.6 discloses a chatbot determination method of the chatbot determination unit. In particular, the chatbot decision operation of the chatbot decision unit is started in consideration of the user's current location and work progress.

도 6을 참조하면, 챗봇 결정부는 타겟 하위 대화 정보(600)가 아닌 사용자의 현재 위치 및/또는 사용자의 현재 상황에 반응하여 챗봇이 사용자에게 먼저 대화 정보를 전달하도록 할 수 있다. 즉, 사용자에 의해 생성된 타겟 하위 대화 정보(600)를 기반으로 한 응답이 아닌 챗봇에 의해 시작되는 대화 정보가 챗봇에 의해 생성될 수 있다.Referring to FIG. 6 , the chatbot determiner may cause the chatbot to first deliver the conversation information to the user in response to the user's current location and/or the user's current situation rather than the target sub-conversation information 600 . That is, conversation information initiated by the chatbot rather than a response based on the target sub-conversation information 600 generated by the user may be generated by the chatbot.

즉, 사용자에 의해 생성된 타겟 하위 대화 정보(600)를 기반으로 한 응답에 의해 생성된 챗봇 메시지는 소극적 대화 정보(챗봇)(610), 챗봇에 의해 시작되는 챗봇 메시지는 적극적 대화 정보(챗봇)(620)이라는 용어로 표현될 수 있다.That is, the chatbot message generated by the response based on the target sub-conversation information 600 generated by the user is passive conversation information (chatbot) 610, and the chatbot message initiated by the chatbot is active conversation information (chatbot) It can be expressed in terms of (620).

예를 들어, 중국에서 한국의 의료 서비스를 받고자 하는 경우, 챗봇을 통해 의료 상담 및 숙소, 관광에 대한 상담 등이 미리 진행되고 항공 스케줄, 의료 스케줄, 관광 스케줄(예를 들어, 숙박 스케줄, 식사 스케줄) 등이 설정될 수 있다.For example, if you want to receive Korean medical services in China, medical consultation, accommodation, and tourism are conducted in advance through the chatbot, and flight schedules, medical schedules, and tour schedules (e.g., accommodation schedules, meal schedules, etc.) ) may be set.

이후, 의료 서비스를 위해 외국에서 국내로 공항을 통해 진입하는 경우, 사용자가 공항에 위치하였다는 위치 정보를 기반으로 사용자에게 다음 장소(예를 들어, 숙박 장소, 병원) 등으로 안내를 하기 위한 챗봇 서비스가 제공될 수 있다. 이때 챗봇은 적극적 대화 정보(챗봇)(620)를 사용자 장치로 전달하여 공항에서 다음 장소까지의 가는 방법에 대한 정보를 전달할 수 있다.After that, when entering through an airport from a foreign country to Korea for medical service, a chatbot for guiding the user to the next place (eg, accommodation, hospital), etc. based on the location information that the user is located at the airport Services may be provided. In this case, the chatbot may transmit active conversation information (chatbot) 620 to the user device to deliver information on how to get from the airport to the next place.

또한, 챗봇은 병원 스케줄을 고려하여 미리 사용자가 준수해야 할 사항(예를 들어, 금주, 금식 등)을 전달하고, 병원까지의 경로에 대한 정보를 전달할 수 있다. 예를 들어, 챗봇은 적극적 대화 정보(챗봇)(620)를 사용자 장치로 전달하여 수술 전 지켜야 할 사항 및 숙소에서 병원까지의 이동 방법에 대해 계속적으로 안내할 수 있다.In addition, the chatbot may transmit information that the user must comply with in advance (eg, abstinence from alcohol, fasting, etc.) in consideration of the hospital schedule, and may deliver information on the route to the hospital. For example, the chatbot may deliver the active conversation information (chatbot) 620 to the user device to continuously guide information on things to be observed before surgery and a method of moving from the accommodation to the hospital.

또한, 챗봇은 병원에서 수술이 끝난 경우, 약국으로의 경로, 약국의 위치, 식사가 가능한 장소 등에 대한 정보를 적극적 대화 정보(챗봇)(620)로서 전달할 수 있다.In addition, the chatbot may deliver information on a route to a pharmacy, a location of a pharmacy, a place where meals are available, etc. as active conversation information (chatbot) 620 when surgery is completed in a hospital.

복수의 챗봇이 사용자에 의해 생성된 타겟 하위 대화 정보(600)를 기반으로 한 소극적 대화 정보(챗봇)(610), 사용자의 현재 위치 및/또는 사용자의 상황을 기반으로 한 적극적 대화 정보(챗봇)(620)을 전달하여 사용자에게 맞춤형 챗봇 서비스를 제공할 수 있다.Passive conversation information (chatbot) 610 based on target sub-conversation information 600 generated by a plurality of chatbots by the user, active conversation information based on the user's current location and/or user's situation (chatbot) By delivering 620 , a customized chatbot service may be provided to the user.

도 7은 본 발명의 실시예에 따른 챗봇 서비스를 나타낸 개념도이다.7 is a conceptual diagram illustrating a chatbot service according to an embodiment of the present invention.

도 7에서는 의료 서비스 및 관광 서비스를 위한 챗봇 서비스가 개시된다. In FIG. 7, a chatbot service for a medical service and a tourism service is disclosed.

도 7을 참조하면, 챗봇은 사용자가 미리 의료 및 관광에 관한 예약을 위한 대화를 나눌 수 있다. Referring to FIG. 7 , the chatbot allows the user to have a conversation for reservations about medical care and tourism in advance.

도 7(a)와 도 7(b)는 초기 화면으로서 디폴트로 사용자가 미리 의료 및 관광에 관한 예약을 위한 설정을 진행하는 화면일 수 있다. 자주 필요한 질문 및 입력되어야 할 사항들은 별도의 대화 없이도 사용자 인터페이스를 통해 입력하도록 할 수 있다.7(a) and 7(b) are initial screens, which by default may be screens in which the user proceeds with settings for reservations related to medical care and tourism in advance. Frequently needed questions and items to be entered can be entered through the user interface without a separate conversation.

도 8은 본 발명의 실시예에 따른 챗봇 서비스를 나타낸 개념도이다.8 is a conceptual diagram illustrating a chatbot service according to an embodiment of the present invention.

도 8에서는 의료 서비스 및 관광 서비스를 위한 챗봇 서비스가 개시된다. In FIG. 8, a chatbot service for a medical service and a tourism service is disclosed.

도 8(a)에서는 사용자에 의해 별도의 문의가 있을 경우, 챗봇을 통해 챗봇과 대화 하는 과정으로서 소극적 대화 정보(챗봇)이 챗봇에 의해 제공되는 과정이 개시된다. In FIG. 8(a) , when a separate inquiry is made by the user, a process in which passive conversation information (chatbot) is provided by the chatbot as a process of having a conversation with the chatbot through the chatbot is started.

사용자가 의료에 대해 질문하는 경우, 의료 서비스를 위한 의료 서비스와 관련된 제1 챗봇(의료)이 답변을 제공하고, 사용자가 관광에 대해 질문하는 경우, 제2 챗봇(관광)이 답변을 제공하는 과정이 개시된다.When the user asks about medical care, the first chatbot (medical) related to the medical service for medical service provides an answer, and when the user asks about tourism, the second chatbot (tourism) provides an answer This is initiated.

도 8의 (b) 및 도 8의 (c)를 참조하면, 사용자의 위치 및 사용자의 상황을 기반으로 사용자에게 적극적 대화 정보(챗봇)를 전달하는 과정이 개시된다.Referring to FIGS. 8B and 8C , a process of delivering active conversation information (chatbot) to the user based on the user's location and the user's situation is disclosed.

구체적으로 도 8의 (b)에서는 사용자가 의료 서비스를 받기 위해 공항에 도착한 경우, 공항에서 숙소까지의 경로를 안내해주는 적극적 대화 정보(챗봇)가 개시된다.Specifically, in FIG. 8B , when the user arrives at the airport to receive medical service, active conversation information (chatbot) that guides the route from the airport to the accommodation is disclosed.

도 8의 (c)에서는 사용자가 의료 서비스를 받은 이후, 약국과 식사를 위한 정보를 제공해주는 적극적 대화 정보(챗봇)가 개시된다.In (c) of FIG. 8 , active conversation information (chatbot) that provides information for a meal with a pharmacy after a user receives medical services is started.

이상 설명된 본 발명에 따른 실시예는 다양한 컴퓨터 구성요소를 통하여 실행될 수 있는 프로그램 명령어의 형태로 구현되어 컴퓨터 판독 가능한 기록 매체에 기록될 수 있다. 상기 컴퓨터 판독 가능한 기록 매체는 프로그램 명령어, 데이터 파일, 데이터 구조 등을 단독으로 또는 조합하여 포함할 수 있다. 상기 컴퓨터 판독 가능한 기록 매체에 기록되는 프로그램 명령어는 본 발명을 위하여 특별히 설계되고 구성된 것이거나 컴퓨터 소프트웨어 분야의 당업자에게 공지되어 사용 가능한 것일 수 있다. 컴퓨터 판독 가능한 기록 매체의 예에는, 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CD-ROM 및 DVD와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical medium), 및 ROM, RAM, 플래시 메모리 등과 같은, 프로그램 명령어를 저장하고 실행하도록 특별히 구성된 하드웨어 장치가 포함된다. 프로그램 명령어의 예에는, 컴파일러에 의하여 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용하여 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드도 포함된다. 하드웨어 장치는 본 발명에 따른 처리를 수행하기 위하여 하나 이상의 소프트웨어 모듈로 변경될 수 있으며, 그 역도 마찬가지이다.The embodiments according to the present invention described above may be implemented in the form of program instructions that can be executed through various computer components and recorded in a computer-readable recording medium. The computer-readable recording medium may include program instructions, data files, data structures, etc. alone or in combination. The program instructions recorded on the computer-readable recording medium may be specially designed and configured for the present invention, or may be known and available to those skilled in the art of computer software. Examples of the computer-readable recording medium include hard disks, magnetic media such as floppy disks and magnetic tapes, optical recording media such as CD-ROMs and DVDs, and magneto-optical media such as floppy disks. medium), and hardware devices specially configured to store and execute program instructions, such as ROM, RAM, flash memory, and the like. Examples of program instructions include not only machine language codes such as those generated by a compiler, but also high-level language codes that can be executed by a computer using an interpreter or the like. A hardware device may be converted into one or more software modules to perform processing in accordance with the present invention, and vice versa.

이상에서 본 발명이 구체적인 구성요소 등과 같은 특정 사항과 한정된 실시예 및 도면에 의하여 설명되었으나, 이는 본 발명의 보다 전반적인 이해를 돕기 위하여 제공된 것일 뿐, 본 발명이 상기 실시예에 한정되는 것은 아니며, 본 발명이 속하는 기술분야에서 통상적인 지식을 가진 자라면 이러한 기재로부터 다양한 수정과 변경을 꾀할 수 있다.In the above, the present invention has been described with reference to specific matters, such as specific components, and limited embodiments and drawings, but these are only provided to help a more general understanding of the present invention, and the present invention is not limited to the above embodiments. Those of ordinary skill in the art to which the invention pertains can make various modifications and changes from these descriptions.

따라서, 본 발명의 사상은 상기 설명된 실시예에 국한되어 정해져서는 아니 되며, 후술하는 특허청구범위뿐만 아니라 이 특허청구범위와 균등한 또는 이로부터 등가적으로 변경된 모든 범위는 본 발명의 사상의 범주에 속한다고 할 것이다.Therefore, the spirit of the present invention should not be limited to the above-described embodiments, and the scope of the spirit of the present invention is not limited to the scope of the scope of the present invention. will be said to belong to

Claims (6)

챗봇 서비스 제공 방법은,
챗봇 서비스 장치가 사용자 장치로부터 타겟 하위 대화 정보를 수신하는 단계;
상기 챗봇 서비스 장치가 상기 타겟 하위 대화 정보를 기반으로 응답 챗봇을 결정하는 단계;
상기 챗봇 서비스 장치가 상기 응답 챗봇을 통해 상기 타겟 하위 대화 정보에 대한 응답으로 챗봇 메시지를 상기 사용자 장치로 전송하는 단계; 및
상기 챗봇 서비스 장치가 현재 챗봇이 상기 응답 챗봇이 아닌 경우, 상기 현재 챗봇에서 상기 응답 챗봇으로 챗봇 업무 이관을 수행하는 단계를 더 포함하고,
상기 응답 챗봇을 결정하는 단계는,
상기 챗봇 서비스 장치가 상기 타겟 하위 대화 정보의 단어 정보 및 문맥 정보를 기반으로 1차 챗봇 관련성 확률을 결정하는 단계;
상기 챗봇 서비스 장치가 이전 하위 대화 정보 및 상기 1차 챗봇 관련성 확률을 기반으로 상기 타겟 하위 대화 정보의 챗봇 관련성 확률을 결정하는 단계; 및
상기 챗봇 서비스 장치가 상기 챗봇 관련성 확률을 기반으로 상기 응답 챗봇을 결정하는 단계를 포함하고,
상기 응답 챗봇은 n개의 챗봇 각각에 대한 제n 챗봇 관련성 확률과 상기 n개의 챗봇 각각에 대해 설정된 판단 임계값을 기반으로 결정되고,
상기 이전 하위 대화 정보는 상기 타겟 하위 대화 정보를 기준으로 시간적으로 이전에 발생한 n개의 하위 대화 정보이고,
이전 챗봇 관련성 확률은 상기 이전 하위 대화 정보 각각의 챗봇 관련성 확률을 기반으로 결정되고,
상기 이전 챗봇 관련성 확률은 상기 n개의 하위 대화 정보 중 상기 타겟 하위 대화 정보를 기준으로 최근에 발생된 하위 대화 정보일수록 높은 가중치를 부여하여 결정되고,
상기 타겟 하위 대화 정보의 상기 챗봇 관련성 확률은 상기 이전 챗봇 관련성 확률을 기반으로 상기 1차 챗봇 관련성 확률을 보정하여 결정되는 것을 특징으로 하는 방법.
How to provide chatbot service,
receiving, by the chatbot service device, target sub-conversation information from the user device;
determining, by the chatbot service device, a response chatbot based on the target sub-conversation information;
transmitting, by the chatbot service device, a chatbot message to the user device in response to the target sub-conversation information through the response chatbot; and
The method further comprising the step of, by the chatbot service device, transferring the chatbot business from the current chatbot to the responding chatbot when the current chatbot is not the response chatbot;
The step of determining the response chatbot includes:
determining, by the chatbot service device, a primary chatbot relevance probability based on word information and context information of the target sub-conversation information;
determining, by the chatbot service device, a chatbot relevance probability of the target sub-conversation information based on the previous sub-conversation information and the primary chatbot relevance probability; and
determining, by the chatbot service device, the response chatbot based on the chatbot relevance probability;
The response chatbot is determined based on an nth chatbot relevance probability for each of the n chatbots and a judgment threshold set for each of the n chatbots;
The previous sub-conversation information is n sub-conversation information that occurred previously in time based on the target sub-conversation information,
The previous chatbot relevance probability is determined based on the chatbot relevance probability of each of the previous sub-conversation information,
The previous chatbot relevance probability is determined by giving a higher weight to the more recently generated sub-conversation information based on the target sub-conversation information among the n sub-conversation information,
The chatbot relevance probability of the target sub-conversation information is determined by correcting the primary chatbot relevance probability based on the previous chatbot relevance probability.
제1항에 있어서,
상기 판단 임계값은 챗봇 할당 임계값 및 챗봇 비할당 임계값을 포함하고,
상기 챗봇 할당 임계값 및 상기 챗봇 비할당 임계값은 상기 n개의 챗봇 간의 업무 영역의 배타성이 상대적으로 높을수록 상대적으로 낮게 설정되고, 상기 n개의 챗봇 간의 업무 영역의 배타성이 상대적으로 낮을수록 상대적으로 높게 설정되고,
상기 배타성은 업무 영역상 상호 겹치는 단어의 중첩도를 고려하여 결정되는 것을 특징으로 하는 방법.
According to claim 1,
The judgment threshold includes a chatbot assignment threshold and a chatbot unassignment threshold,
The chatbot allocation threshold value and the chatbot non-allocation threshold value are set to be relatively low as the exclusivity of the work area between the n chatbots is relatively high, and relatively high as the exclusivity of the work area between the n chatbots is relatively low. is set,
The exclusivity method, characterized in that determined in consideration of the degree of overlap of mutually overlapping words in the work area.
삭제delete 챗봇 서비스를 제공하는 챗봇 서비스 장치는,
사용자 장치와 통신하도록 구현되는 통신부; 및
상기 통신부와 동작 가능하게(operatively) 연결된 프로세서를 포함하되,
상기 프로세서는 사용자 장치로부터 타겟 하위 대화 정보를 수신하고,
상기 타겟 하위 대화 정보를 기반으로 응답 챗봇을 결정하고,
상기 응답 챗봇을 통해 상기 타겟 하위 대화 정보에 대한 응답으로 챗봇 메시지를 상기 사용자 장치로 전송하도록 구현되고,
상기 챗봇 서비스 장치가 현재 챗봇이 상기 응답 챗봇이 아닌 경우, 상기 현재 챗봇에서 상기 응답 챗봇으로 챗봇 업무 이관을 수행하는 단계를 더 포함하고,
상기 프로세서는 상기 응답 챗봇을 결정하기 위해 상기 타겟 하위 대화 정보의 단어 정보 및 문맥 정보를 기반으로 1차 챗봇 관련성 확률을 결정하고, 이전 하위 대화 정보 및 상기 1차 챗봇 관련성 확률을 기반으로 상기 타겟 하위 대화 정보의 챗봇 관련성 확률을 결정하고, 상기 챗봇 서비스 장치가 상기 챗봇 관련성 확률을 기반으로 상기 응답 챗봇을 결정하도록 구현되고,
상기 응답 챗봇은 n개의 챗봇 각각에 대한 제n 챗봇 관련성 확률과 상기 n개의 챗봇 각각에 대해 설정된 판단 임계값을 기반으로 결정되고,
상기 이전 하위 대화 정보는 상기 타겟 하위 대화 정보를 기준으로 시간적으로 이전에 발생한 n개의 하위 대화 정보이고,
이전 챗봇 관련성 확률은 상기 이전 하위 대화 정보 각각의 챗봇 관련성 확률을 기반으로 결정되고,
상기 이전 챗봇 관련성 확률은 상기 n개의 하위 대화 정보 중 상기 타겟 하위 대화 정보를 기준으로 최근에 발생된 하위 대화 정보일수록 높은 가중치를 부여하여 결정되고,
상기 타겟 하위 대화 정보의 상기 챗봇 관련성 확률은 상기 이전 챗봇 관련성 확률을 기반으로 상기 1차 챗봇 관련성 확률을 보정하여 결정되는 것을 특징으로 하는 챗봇 서비스 장치.
A chatbot service device that provides a chatbot service,
a communication unit implemented to communicate with the user device; and
Including a processor operatively connected to the communication unit,
The processor receives target sub-conversation information from the user device,
determine a response chatbot based on the target sub-conversation information,
is implemented to transmit a chatbot message to the user device in response to the target sub-conversation information through the response chatbot;
The method further comprising the step of, by the chatbot service device, transferring the chatbot business from the current chatbot to the responding chatbot when the current chatbot is not the response chatbot;
The processor determines the primary chatbot relevance probability based on the word information and context information of the target sub-conversation information to determine the response chatbot, and the target sub-conversation information based on the previous sub-conversation information and the primary chatbot relevance probability is implemented to determine a chatbot relevance probability of conversation information, and the chatbot service device determines the response chatbot based on the chatbot relevance probability;
The response chatbot is determined based on an nth chatbot relevance probability for each of the n chatbots and a judgment threshold set for each of the n chatbots;
The previous sub-conversation information is n sub-conversation information that occurred previously in time based on the target sub-conversation information,
The previous chatbot relevance probability is determined based on the chatbot relevance probability of each of the previous sub-conversation information,
The previous chatbot relevance probability is determined by giving a higher weight to the more recently generated sub-conversation information based on the target sub-conversation information among the n sub-conversation information,
The chatbot relevance probability of the target sub-conversation information is determined by correcting the primary chatbot relevance probability based on the previous chatbot relevance probability.
제4항에 있어서,
상기 판단 임계값은 챗봇 할당 임계값 및 챗봇 비할당 임계값을 포함하고,
상기 챗봇 할당 임계값 및 상기 챗봇 비할당 임계값은 상기 n개의 챗봇 간의 업무 영역의 배타성이 상대적으로 높을수록 상대적으로 낮게 설정되고, 상기 n개의 챗봇 간의 업무 영역의 배타성이 상대적으로 낮을수록 상대적으로 높게 설정되고,
상기 배타성은 업무 영역상 상호 겹치는 단어의 중첩도를 고려하여 결정되는 것을 특징으로 하는 챗봇 서비스 장치.
5. The method of claim 4,
The judgment threshold includes a chatbot assignment threshold and a chatbot unassignment threshold,
The chatbot allocation threshold value and the chatbot non-allocation threshold value are set to be relatively low as the exclusivity of the work area between the n chatbots is relatively high, and relatively high as the exclusivity of the work area between the n chatbots is relatively low. is set,
The chatbot service apparatus, characterized in that the exclusivity is determined in consideration of the degree of overlap of mutually overlapping words in the work area.
삭제delete
KR1020210014375A 2020-11-20 2021-02-01 Method for providing chatbot service based on task transfer of chatbot and device for performing the method KR102308261B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR1020200156372 2020-11-20
KR20200156372 2020-11-20

Publications (1)

Publication Number Publication Date
KR102308261B1 true KR102308261B1 (en) 2021-10-06

Family

ID=78077130

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020210014375A KR102308261B1 (en) 2020-11-20 2021-02-01 Method for providing chatbot service based on task transfer of chatbot and device for performing the method

Country Status (1)

Country Link
KR (1) KR102308261B1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101840420B1 (en) * 2017-04-21 2018-05-04 주식회사 닐리리아 Method and apparatus for providing chatbot platform

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101840420B1 (en) * 2017-04-21 2018-05-04 주식회사 닐리리아 Method and apparatus for providing chatbot platform

Similar Documents

Publication Publication Date Title
Rodriguez-Sanchez et al. Accessible smartphones for blind users: A case study for a wayfinding system
US11030422B2 (en) Information display device and information display system
EP1335620B1 (en) System and method for providing location-based translation services
JP2021072137A (en) Cross-device handoffs
US20030093419A1 (en) System and method for querying information using a flexible multi-modal interface
CN107004413A (en) Expanding digital personal assistant acts supplier
KR20190047867A (en) User-customized accommodation recommendation device and method using big data
US20210041246A1 (en) Method and system for intelligent and adaptive indoor navigation for users with single or multiple disabilities
EP3244166B1 (en) System and method for identifying socially relevant landmarks
US20200394935A1 (en) Augmented reality techniques for simultaneously learning multiple languages
JP6920773B1 (en) Information provision method, information provision system, information provision device and computer program
WO2015162960A1 (en) Information-processing device, control method, and program
JP6847487B1 (en) Consultation matching system, consultation matching program and consultation matching method
KR102308261B1 (en) Method for providing chatbot service based on task transfer of chatbot and device for performing the method
JP6689953B2 (en) Interpreter service system, interpreter service method, and interpreter service program
US20180018403A1 (en) Method and system for analyzing emotion on basis of position related document, and non-transitory computer-readable recording medium
KR102282798B1 (en) Apparatus for Intellectual Learning Service and Driving Method Thereof
KR102102201B1 (en) Apparatus and method for providing query-response service related to funeral process
Minhat et al. TacTalk: Talking tactile map for the visually impaired
JP6141624B2 (en) Hospital map display system
KR102412643B1 (en) Personalized artificial intelligence kiosk device and service method using the same
JP2018077599A (en) Information processing device
KR20210101504A (en) System for providing moblie device based travel guidance service with travel secretary
JP2020032529A (en) System, program, method and device for guide service
KR20200127289A (en) The platform system for reservation of scrubbing service

Legal Events

Date Code Title Description
GRNT Written decision to grant