KR101974129B1 - Speech Recognition Chatbot IFTTT Service System Based on Realtiem Event Processing Module And Chatbot IFTTT Service Method thereof - Google Patents

Speech Recognition Chatbot IFTTT Service System Based on Realtiem Event Processing Module And Chatbot IFTTT Service Method thereof Download PDF

Info

Publication number
KR101974129B1
KR101974129B1 KR1020180011479A KR20180011479A KR101974129B1 KR 101974129 B1 KR101974129 B1 KR 101974129B1 KR 1020180011479 A KR1020180011479 A KR 1020180011479A KR 20180011479 A KR20180011479 A KR 20180011479A KR 101974129 B1 KR101974129 B1 KR 101974129B1
Authority
KR
South Korea
Prior art keywords
voice
user
response information
string data
chatbot
Prior art date
Application number
KR1020180011479A
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 KR1020180011479A priority Critical patent/KR101974129B1/en
Application granted granted Critical
Publication of KR101974129B1 publication Critical patent/KR101974129B1/en

Links

Images

Classifications

    • G06Q50/40
    • 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
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L13/00Speech synthesis; Text to speech systems
    • G10L13/08Text analysis or generation of parameters for speech synthesis out of text, e.g. grapheme to phoneme translation, prosody generation or stress or intonation determination
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems

Abstract

Provided are a voice recognizing chatbot IFTTT service system based on a real-time event processing module and a chatbot IFTTT service method using the same. According to the present invention, a customer service is provided by a chatbot which is an automated method to interwork with a back-end system so as to perform automatic processing based on a rule such that labor costs can be reduced and user requirements can be processed for 24 hours. Also, a user request and inquiry inputted by voice are changed into string data to allow a system to understand requirements so as to process an event generated by requests of users in real time using various service APIs for providing an IFTTT service to increase user convenience by providing voice recognition for the user requirements and response information corresponding thereto through voice synthesis. Thereafter, the user request and inquiry are converted into an EPL format to divide the user request into an event, an attribute, a time condition, an attribute condition, and an action so as to generate a certain rule. Also, response information corresponding to a condition is self-generated in accordance with the generated rule or information is obtained through the various APIs for providing the IFTTT service to transfer the same to a user through voice in real time.

Description

실시간 이벤트 처리 모듈 기반의 음성 인식 챗봇 IFTTT 서비스 시스템 및 이를 이용한 챗봇 IFTTT 서비스 방법{Speech Recognition Chatbot IFTTT Service System Based on Realtiem Event Processing Module And Chatbot IFTTT Service Method thereof}Speech Recognition Chatbot IFTTT Service System Based on Realtiem Event Processing Module And Chatbot IFTTT Service Method

본 발명은 실시간 이벤트 처리 모듈 기반의 음성 인식 챗봇 IFTTT 서비스 시스템 및 이를 이용한 챗봇 IFTTT 서비스 방법에 관한 것으로, 좀 더 구체적으로는 최근 인터넷의 발달로 인하여 사용자들이 언제 어디서나 메신저 기반의 SNS(Socail Network Service)를 이용하여 필요한 정보를 받고자 하고, 기업에서도 고객들에 대한 서비스 향상을 위해 고객의 문의사항에 대하여 자동화된 채팅로봇(이하 챗봇)을 통해 실시간으로 응답하거나 대응할 수 있도록 사용자의 음성입력을 통해 생성되어 지속적으로 발생하는 이벤트에 대하여 시스템에서 이용할 수 있도록 문자열 데이터로 변경한 후, 문자열 데이터로부터 사용자 요청에 따른 규칙을 생성하기 위하여 EPL 포맷으로 변환하여 사용자의 요구사항을 파악하고, 생성된 규칙에 따라 사용자에게 필요한 응답정보를 자체적으로 또는 부가된 응답정보생성모듈을 통해 실시간으로 제공할 수 있는 실시간 이벤트 처리 모듈 기반의 음성 인식 챗봇 IFTTT 서비스 시스템 및 이를 이용한 챗봇 IFTTT 서비스 방법에 관한 것이다.The present invention relates to a voice recognition chatbot IFTTT service system based on a real time event processing module and a chatbot IFTTT service method using the same. In order to receive necessary information through the use of the company and to respond to customer inquiries in real time through an automated chat robot (hereinafter referred to as chatbot) in order to improve service to customers, it is generated through user's voice input and continuously. After changing the string data to be used by the system for the events generated by the system, convert the string data into the EPL format in order to create a rule according to the user's request, and grasp the user's requirements, and then Necessary response information Through the volume, or in addition the response information generation module, real-time event processing module based on speech recognition can be provided in real time chaetbot IFTTT it relates to a service system and service method using the same chaetbot IFTTT.

최근 사용자들이 스마트폰이나 탭과 같은 다양한 휴대단말기기를 통하여 지속적으로 향상되고 있는 유무선 통신을 이용하여 언제 어디서나 자신들의 요구사항을 요청하고, 이를 보다 빠른 시간에 응답을 받고자 하는 욕구가 증가하고 있습니다. 특히 고객이 자신의 요청이나 질의사항에 대하여 웹이나 앱을 통하여 메시지를 보낸 후 이에 대한 답변을 신속하게 받고 있으며, 이를 위한 직원들이 별도로 대응하고 있으나 이를 위해 24시간 동안 직원의 고용해야 하는 문제에 따른 비용 증가와 메시지를 읽고 답을 보내는 경우가 많아 하나의 고객 문의를 처리하는데 시간이 많이 소요되는 문제가 있다.Recently, users are requesting their requirements anytime and anywhere using wired / wireless communication that is continuously improved through various mobile terminal devices such as smartphones and tabs, and there is an increasing desire to receive a response at a faster time. In particular, customers send messages through their web or app for their requests or inquiries, and are quickly responded to them. The employees are responding separately, but according to the problem of having to hire employees for 24 hours Increasing costs and reading and replying messages often lead to time-consuming processing of a single customer inquiry.

이에 다양한 SNS 미디어를 운영하고 있는 트윗, 페이스북, 구글 및 마이크로소프트 등 정보통신기술을 주도하는 많은 글로벌 기업들이 메신저 기반의 챗봇에 대한 관심이 많이 증대되고 있습니다. 챗봇은 대화 시스템에서 고객 서비스 또는 정보 수집을 비롯한 다양한 목적을 위해 설계된 컴퓨터 프로그램으로 최근 법원, 변호사 사무실, 금융 등 다양한 분야에서 챗봇을 이용해 서비스를 제공하고 있다.Accordingly, many global companies leading information and communication technologies such as Tweet, Facebook, Google, and Microsoft, which operate various SNS media, are increasing interest in chat-based chatbots. Chatbots are computer programs designed for a variety of purposes, including customer service or information gathering, in chat systems. Recently, chatbots provide services using chatbots in various fields such as courts, lawyer offices, and finance.

Augello A외 3인은 SNS에서 사용되는 소셜 네트워크의 챗봇 모델을 제안하하였고, A Shaikh 외 4인은 다양한 종류의 대화형 챗봇 시스템에 대해 조사하였으며, 페이스북 CEO 마크주커버그는 ‘F8 2016 컨퍼런스’에서 새로운 앱을 깔지 않고, 메시지를 보내는 방식으로 서비스를 이용할 수 있는 챗봇 서비스를 공개하였다. 그리고 IFTTT(If This Then That)는 인터넷과 컴퓨터에 존재하는 여러 별개의 서비스와 어플 들을 임의로 연동시켜주는 기능을 수행한다.Augello A and three others proposed a chatbot model of social networks used on social media, while A Shaikh and four others investigated various types of interactive chatbot systems, and Facebook CEO Mark Zuckerberg said at the 'F8 2016 Conference'. Has unveiled a chatbot service that can use the service by sending a message without deploying a new app. And IFTTT (If This Then That) performs the function of arbitrarily linking various separate services and applications existing on the Internet and the computer.

하지만 이러한 자동화된 서비스인 챗봇을 통하여 요구사항을 받고 그에 대한 응답을 하는데 있어 정형화된 규칙이 없어 사용자나 고객의 요구에 대하여 정확하게 대응하지 못하는 문제가 있습니다.However, there is no standardized rule in receiving and responding to requirements through chatbot, an automated service, which does not accurately respond to user or customer needs.

종래의 공개특허번호 제10-2018-0003324호 챗봇을 이용한 콘텐트 제공 방법 및 장치는 상기 채팅 프로토콜을 이용해 상기 채팅 서버로부터 상기 채팅 서버의 사용자 식별자를 수신하여 데이터베이스에 저장하는 단계, 상기 채팅 프로토콜을 이용해 상기 채팅 서버로부터 상기 채팅 서버 사용자 식별자에 대한 제1 채팅 메시지를 수신하는 단계, 상기 제1 채팅 메시지에 대응되는 콘텐트 제공 관련 액션 요청을 결정하는 단계, 상기 결정된 콘텐트 제공 관련 액션 요청을 처리하는 단계, 상기 결정된 콘텐트 제공 관련 액션 요청에 대한 처리 결과를 나타내는 제2 채팅 메시지를 생성하는 단계 및 상기 채팅 프로토콜을 이용해 상기 채팅 서버로 상기 채팅 서버 사용자 식별자에 대하여 상기 제2 채팅 메시지를 송신하는 단계를 포함하는 챗봇을 이용한 콘텐트 제공 방법 및 장치에 관한 것이다.Conventional Patent Publication No. 10-2018-0003324 Method and apparatus for providing content using a chatbot receiving the user identifier of the chat server from the chat server using the chat protocol and storing in the database, using the chat protocol Receiving a first chat message for the chat server user identifier from the chat server, determining a content request related action request corresponding to the first chat message, processing the determined content offer related action request; Generating a second chat message indicating a processing result of the determined content providing related action request; and transmitting the second chat message with respect to the chat server user identifier to the chat server using the chat protocol. Content Control Using Chatbots To a method and apparatus.

하지만 이러한 콘텐트 제공 방법 및 장치는 사용자를 식별하고 사용자에 따라 요구하는 콘텐츠를 제공하는 것으로 사용자의 요청에 부합한느 콘텐츠를 제공한는 것으로 그에 따른 일정한 규칙이 없이 비정형화되어 수행할 수 밖에 없는 문제점이 있다.However, such a content providing method and apparatus provides content that satisfies the user's request by identifying the user and providing the content required by the user. have.

종래의 등록특허번호 제10-1731867호 챗봇 간에 사용자의 이벤트를 공유하는 방법 및 장치는 크로스 챗봇 게이트웨이가 수행하는 챗봇 간 이벤트 공유 방법은, 제1 채팅 서버와 제1 채팅 프로토콜로 통신하는 제1 챗봇으로부터 이벤트 메시지를 수신하는 단계로서, 상기 이벤트 메시지는 목적지 정보 및 상기 제1 챗봇의 채팅 상대인 제1 사용자의 이벤트 정보를 포함하는 단계, 및 상기 목적지 정보에 기초하여, 제2 채팅 서버와 제2 채팅 프로토콜로 통신하는 제2 챗봇으로 상기 이벤트 정보를 송신하는 단계를 포함하는 챗봇 간에 사용자의 이벤트를 공유하는 방법 및 장치에 관한 것이다.Conventional Patent No. 10-1731867 Method and apparatus for sharing a user's events between chatbots The method for sharing events between chatbots performed by the cross-chatbot gateway, The first chatbot to communicate with the first chat server in the first chat protocol Receiving an event message from the event message, the event message including destination information and event information of a first user who is a chat partner of the first chatbot, and based on the destination information, a second chat server and a second chat server; A method and apparatus for sharing an event of a user between chatbots comprising transmitting the event information to a second chatbot communicating in a chat protocol.

종래의 특허는 최근 SNS 서비스의 다양성에 따라 존재할 수 있는 각각의 챗봇에 대한 공유를 통하여 특정 사용자에게 발생한 이벤트를 다른 챗봇에서도 공유할 수 있도록 하는 것이지만 이렇게 발생한 이벤트에 대하여 별도로 이에 대한 정보공유가 아닌 이벤트에 따라 발생할 수 있는 요청에 대하여 응답하지 못하는 문제점이 있다.Conventional patents allow the sharing of each chatbot that may exist according to the variety of SNS services in recent years, so that events occurring to a specific user can be shared in other chatbots. There is a problem that can not respond to the request that may occur.

대한민국 공개특허공보 공개번호 제10-2018-0003324호 “챗봇을 이용한 콘텐트 제공 방법 및 장치”Republic of Korea Patent Publication No. 10-2018-0003324 "Method and apparatus for providing content using a chatbot" 대한민국 등록특허공보 등록번호 제10-1731867호 “챗봇 간에 사용자의 이벤트를 공유하는 방법 및 장치”Korean Patent Publication No. 10-1731867 “Method and Device for Sharing User's Event between Chatbots”

따라서 본 발명은 이와 같은 종래 기술의 문제점을 개선하고자, IFTTT 서비스를 제공하는 다양한 서비스 API를 이용하여 사용자들의 요청으로 인하여 발생하는 이벤트를 실시간으로 처리할 수 있도록 음성으로 입력되는 사용자의 요청 및 문의사항에 대하여 시스템에서 요구사항을 이해하기 위하여 문자열 데이터로 변경한 후, EPL 포맷으로 변환하여 사용자의 요청을 이벤트, 속성, 시간조건, 속성조건 및 액션으로 구분하여 일정한 규칙을 생성하고, 생성된 규칙에 따라 조건에 부합하는 응답정보를 자체적으로 생성하거나 IFTTT서비스를 제공하는 다양한 API를 통해 정보를 획득하여 실시간으로 음성을 통하여 사용자에게 전달할 수 있는 실시간 이벤트 처리 모듈 기반의 음성 인식 챗봇 IFTTT 서비스 시스템 및 이를 이용한 챗봇 IFTTT 서비스 방법을 제공하는 것을 목적으로 한다. Accordingly, the present invention is to improve the problems of the prior art, using a variety of service APIs that provide IFTTT service user requests and inquiries that are input by voice to process events generated by the user's request in real time In order to understand the requirements, the system converts the data into string data and converts it into the EPL format to divide the user's request into events, attributes, time conditions, attribute conditions, and actions. Voice recognition chatbot IFTTT service system based on real-time event processing module that can generate information by itself or obtain information through various APIs that provide IFTTT service and deliver it to users through voice in real time To provide a chatbot IFTTT service method For the purpose of

상술한 목적을 달성하기 위한 본 발명의 특징에 의하면, 본 발명은 사용자로부터 채팅의 대상이 되는 내용을 음성으로 입력받아 클라이언트(120)에 전송하고, 클라이언트(120)로부터 응답을 입력받아 음성으로 출력하는 서비스단말기(110);와 상기 서비스단말기(110)로부터 전송받은 음성을 문자열 데이터로 변환하여 서버(130)에 전송하고, 상기 서버(130)로부터 응답으로 제시된 문자열 데이터를 음성으로 변환하여 상기 서비스단말기(110)에 전송하는 클라이언트(120); 및 상기 클라이언트(120)로부터 전송된 문자열 데이터를 EPL포맷으로 변환한 정보데이터를 저장하고, 사용자의 요청에 따른 설정된 규칙에 따라 사용자가 요구하는 응답정보를 생성하여 문자열 데이터로 상기 클라이언트(120)에 전송하는 서버(130);를 포함하는 구성으로 이루어진 것을 특징으로 하는 이벤트 처리 모듈 기반의 음성 인식 챗봇 IFTTT 서비스 시스템을 제공한다.According to a feature of the present invention for achieving the above object, the present invention receives the content to be chat from the user by voice and transmits to the client 120, receives the response from the client 120 and outputs it by voice The service terminal 110 to convert the voice received from the service terminal 110 to the string data to transmit to the server 130, and converts the string data presented in response from the server 130 to the voice to the service A client 120 transmitting to the terminal 110; And storing the information data obtained by converting the string data transmitted from the client 120 into the EPL format, generating response information requested by the user according to a set rule according to the user's request, and generating the response information to the client 120 as the string data. The server 130 for transmitting; provides a voice recognition chatbot IFTTT service system based on the event processing module, characterized in that consisting of a configuration including a.

이와 같은 본 발명에 따른 이벤트 처리 모듈 기반의 음성 인식 챗봇 IFTTT 서비스 시스템의 상기 클라이언트(120)는 상기 서비스단말기(110)로부터 전송된 음성을 인식하여 문자열 데이터로 변환하여 상기 서버(130)에 전송하는 음성인식모듈(121); 및 상기 서버(130)로부터 전송된 문자열 데이터를 음성으로 변환하여 상기 서비스단말기(110)에 전송하는 음성합성모듈(122);를 포함하는 구성으로 이루어지는 것을 특징으로 한다.The client 120 of the event processing module-based voice recognition chatbot IFTTT service system according to the present invention recognizes the voice transmitted from the service terminal 110 and converts it to string data and transmits it to the server 130. Voice recognition module 121; And a voice synthesis module 122 for converting the string data transmitted from the server 130 into voice and transmitting the same to the service terminal 110.

이와 같은 본 발명에 따른 이벤트 처리 모듈 기반의 음성 인식 챗봇 IFTTT 서비스 시스템의 상기 서버(130)는 상기 클라이언트(120)로부터 전송된 문자열 데이터를 EPL포맷의 정보데이터로 변환하는 룰매너저모듈(131);과 상기 룰매너저모듈(131)로부터 정보데이터를 수신하여 데이터베이스(133)에 저장하고, 정보데이터로부터 사용자의 요청을 파악하여 사용자 요청에 따른 규칙을 설정하거나 상기 데이터베이스(133)에 저장된 키워드를 활용하여 규칙을 설정하며, 상기 생성된 규칙에 따라 사용자에게 필요한 응답정보를 생성하거나 응답정보생성모듈(134)에 요청하여 수신한 후, 실시간으로 문자열 데이터로 상기 클라이언트(120)에 전송하는 이벤트처리모듈(132);과 상기 이벤트처리모듈(132)로부터 전송된 EPL포맷으로 변환된 정보데이터를 수신하여 저장하고, 관리자로부터 입력된 키워드를 저장하며, 상기 이벤트처리모듈(132)의 요청에 따라 저장된 키워드를 제공하는 데이터베이스(133); 및 상기 이벤트처리모듈(132)로부터 요청받은 내용에 대하여 검색하여 얻은 응답정보를 상기 이벤트처리모듈(132)에 전송하는 응답정보생성모듈(134);를 포함하는 구성으로 이루어지는 것을 특징으로 한다.The server 130 of the event processing module-based voice recognition chatbot IFTTT service system according to the present invention is a rule manager module 131 for converting string data transmitted from the client 120 into information data in an EPL format. And receive the information data from the rule manager module 131 and store the information data in the database 133, and grasp the user's request from the information data to set a rule according to the user's request or use the keyword stored in the database 133. Set the rule by using the rule, and generate the response information required by the user according to the generated rule or request the response information generation module 134 and receive it, and then transmit the event data to the client 120 in real time as character string data. Module 132; and receives and stores information data converted into the EPL format transmitted from the event processing module 132, and manages the data. A database 133 which stores keywords input from a user and provides stored keywords according to a request of the event processing module 132; And a response information generation module 134 for transmitting the response information obtained by searching for the content requested from the event processing module 132 to the event processing module 132.

이와 같은 본 발명에 따른 챗봇 IFTTT 서비스 방법은 관리자로부터 키워드에 해당하는 단어와 상기 단어에 대한 응답정보를 입력받아 데이터베이스(133)에 저장하는 키워드설정단계(S110);와 사용자로부터 서비스단말기(110)를 통해 채팅의 대상이 되는 내용을 음성으로 입력받아 클라이언트(120)에 전송하는 음성정보입력단계(S120);와 상기 음성정보입력단계를 통해 전송된 음성을 음성인식모듈(121)에서 문자열 데이터로 변환하여 서버(130)에 전송하는 음성인식단계(S130);와 이벤트처리모듈(132)에서 상기 음성인식단계(S130)를 통해 전송된 문자열 데이터를 룰매너저모듈(131)에서 EPL포맷으로 변환한 정보데이터를 데이터베이스(133)에 저장하는 포맷변환단계(S140);와 이벤트처리모듈(132)에서 문자열 데이터를 통해 확인된 사용자의 요청에 따른 설정된 규칙에 따라 사용자가 요구하는 응답정보를 생성하여 문자열 데이터로 상기 클라이언트(120)에 전송하는 응답정보제공단계(S150);와 상기 응답정보제공단계(S150)에서 수신한 응답정보에 대한 문자열 데이터를 음성합성모듈(122)을 통해 음성으로 변환하는 음성합성단계(S160); 및 상기 음성합성단계(S160)에서 생성된 음성을 상기 서비스단말기(110)에 전송하여 사용자에게 응답정보에 대한 음성을 출력하는 응답출력단계(S170);를 포함하는 구성으로 이루어지는 것을 특징으로 한다.The chatbot IFTTT service method according to the present invention includes a keyword setting step (S110) for receiving a word corresponding to a keyword from the administrator and response information for the word in a database 133; and the service terminal 110 from the user. Voice information input step (S120) of receiving the content to be chat via the voice to the client 120 through the voice; and the voice transmitted through the voice information input step as a string data in the voice recognition module 121 Voice recognition step (S130) to convert and transmit to the server 130; and the event processing module 132 converts the string data transmitted through the voice recognition step (S130) from the rule manager module 131 to EPL format Format conversion step of storing one information data in the database 133 (S140); and according to the set rules according to the request of the user confirmed through the string data in the event processing module 132 Response information providing step of generating the response information required by the user to the client 120 as the string data (S150); and the speech synthesis module for the string data for the response information received in the response information providing step (S150) Speech synthesis step (S160) for converting to speech through 122; And a response output step (S170) for transmitting the voice generated in the voice synthesis step (S160) to the service terminal 110 to output a voice for response information to the user.

이와 같은 본 발명에 따른 챗봇 IFTTT 서비스 방법의 상기 응답정보제공단계(S150)는 이벤트처리모듈(132)에서 전송된 문자열 데이터와 상기 데이터베이스(133)에 저장된 키워드와 비교하는 키워드비교단계(S151); 및 상기 키워드비교단계(S151)에서 키워드와 전송된 문자열 데이터가 동일한 경우, 이벤트처리모듈(132)은 해당 키워드에 대한 정해진 응답정보를 상기 데이터베이스(133)에서 추출하여 문자열 데이터로 생성하는 응답정보생성단계(S152);를 포함하는 구성으로 이루어지는 것을 특징으로 한다.The response information providing step (S150) of the chatbot IFTTT service method according to the present invention includes a keyword comparison step (S151) for comparing the string data transmitted from the event processing module 132 with the keywords stored in the database 133; And when the keyword and the transmitted string data are the same in the keyword comparison step (S151), the event processing module 132 extracts the predetermined response information for the corresponding keyword from the database 133 and generates response information to generate the string data. Step S152; characterized in that consisting of a configuration including.

이와 같은 본 발명에 따른 챗봇 IFTTT 서비스 방법의 상기 응답정보제공단계(S150)는 이벤트처리모듈(132)에서 사용자 요청마다 생성된 정보데이터에 대하여 주체(Who), 이벤트(Event), 속성(Attribute), 시간조건(Interval), 속정조건(Condition)으로 구분하여 저장하는 트리거저장단계(S153); 및 새로운 사용자의 요청에서 상기 트리거의 일부 요소가 부족한 경우에는 상기 트리거저장단계(S153)에서 저장된 각 요소에서의 문자열 데이터 중에서 빈도수가 가장 높은 문자열 데이터를 선택하여 요소를 생성하는 요소생성단계(S154);를 더 포함하는 구성으로 이루어지는 것을 특징으로 한다.The response information providing step (S150) of the chatbot IFTTT service method according to the present invention is subject (Who), event (Event), attribute (Attribute) for the information data generated for each user request in the event processing module 132 A trigger storage step (S153) for storing the data in a time condition (Interval) and a fast condition (Condition); And generating a element by selecting a string data having the highest frequency among string data in each element stored in the trigger storage step S153 when a part of the trigger is insufficient in a request of a new user. It is characterized by consisting of a configuration that further comprises;

이와 같은 본 발명에 따른 챗봇 IFTTT 서비스 방법의 상기 응답정보제공단계(S150)는 사용자가 요구하는 응답정보를 응답정보생성모듈(134)에 요청하여 수신한 후, 실시간으로 문자열 데이터로 상기 클라이언트(120)에 전송하는 것을 특징으로 한다.The response information providing step (S150) of the chatbot IFTTT service method according to the present invention requests and receives the response information requested by the user from the response information generation module 134, and then the client 120 with the string data in real time. It is characterized by transmitting to).

본 발명에 의한 실시간 이벤트 처리 모듈 기반의 음성 인식 챗봇 IFTTT 서비스 시스템 및 이를 이용한 챗봇 IFTTT 서비스 방법에 의하면, 종래의 채팅은 비동기 상태에서도 메시지를 주고받을 수 있기 때문에, 사용자가 메시지를 보낸 후 한참 후에 메시지를 읽고 답을 보내는 경우가 많아 하나의 사용자 문의를 처리하는데 시간이 많이 소요될 수 있는 반면에 자동화된 방식인 챗봇을 통한 고객 서비스를 제공하여 백엔드(Back-end) 시스템과 연동하여 규칙 기반으로 자동 처리함으로써, 인건비를 절감하고 24시간 사용자의 요구 사항을 처리할 수 있으며, 또한 사용자의 요구사항에 대하여 음성인식과 그에 따른 응답정보를 음성합성을 통해 제공함으로써, 사용자의 편의성을 향상시키는 장점이 있다.According to the voice recognition chatbot IFTTT service system based on the real-time event processing module and the chatbot IFTTT service method using the same according to the present invention, since a conventional chat can send and receive a message even in an asynchronous state, a message is received after a long time after the user sends a message. In many cases, it can take a long time to process a single user inquiry while reading and sending an answer.While providing customer service through an automated method, chatbot, it is automatically processed based on rules based on interworking with back-end system. By doing so, labor costs can be reduced and the user's requirements can be handled for 24 hours, and voice recognition and response information can be provided through voice synthesis on the user's requirements, thereby improving user convenience.

도 1은 본 발명의 실시예에 따른 이벤트 처리 모듈 기반의 음성 인식 챗봇 IFTTT 서비스 시스템의 구성도;
도 2는 본 발명의 실시예에 따른 이벤트 처리 모듈 기반의 음성 인식 챗봇 IFTTT 서비스 시스템의 클라이언트에 대한 구성도;
도 3은 본 발명의 실시예에 따른 이벤트 처리 모듈 기반의 음성 인식 챗봇 IFTTT 서비스 시스템의 서버에 대한 구성도;
도 4는 본 발명의 실시예에 따른 이벤트 처리 모듈 기반의 음성 인식 챗봇 IFTTT 서비스 시스템에서 문자열 데이터의 변환과정도;
도 5는 본 발명의 실시예에 따른 이벤트 처리 모듈 기반의 음성 인식 챗봇 IFTTT 서비스 시스템을 이용한 챗봇 IFTTT 서비스 방법의 순서도;
도 6은 본 발명의 실시예에 따른 이벤트 처리 모듈 기반의 음성 인식 챗봇 IFTTT 서비스 시스템을 이용한 챗봇 IFTTT 서비스 방법의 응답정보제공단계에 대한 순서도;이다.
1 is a block diagram of an event processing module based voice recognition chatbot IFTTT service system according to an embodiment of the present invention;
2 is a block diagram of a client of an event processing module based voice recognition chatbot IFTTT service system according to an embodiment of the present invention;
3 is a block diagram of a server of an event processing module based voice recognition chatbot IFTTT service system according to an embodiment of the present invention;
4 is a process of converting string data in an event processing module based voice recognition chatbot IFTTT service system according to an embodiment of the present invention;
5 is a flowchart of a chatbot IFTTT service method using an event processing module based voice recognition chatbot IFTTT service system according to an embodiment of the present invention;
6 is a flowchart illustrating a response information providing step of a chatbot IFTTT service method using an event processing module based voice recognition chatbot IFTTT service system according to an embodiment of the present invention;

본 발명을 충분히 이해하기 위해서 본 발명의 바람직한 실시예를 첨부된 도 1 내지 도 6에 의거하여 상세히 설명한다. 본 발명의 실시예는 여러 가지 형태로 변형될 수 있으며, 본 발명의 범위가 아래에서 상세히 설명하는 실시예로 한정되는 것으로 해석되어서는 안 된다. 본 실시예는 당업계에서 통상적인 지식을 가진 자에게 본 발명을 보다 완전하게 설명하기 위하여 제공 되는 것이다. 따라서 도면에서의 요소의 형상 등은 보다 명확한 설명을 강조하기 위해서 과장되어 표현될 수 있다. 각 도면에서 동일한 부재는 동일한 참조부호로 도시한 경우가 있음을 유의하여야 한다. 한편, 도면과 상세한 설명에서 챗봇, 클라이언트, 서버 및 데이터베이스 등 이 분야의 종사자들이 용이하게 알 수 있는 구성 및 작용에 대한 도시 및 언급은 간략히 하거나 생략하였다. 특히, 도면의 도시 및 상세한 설명에 있어서 본 발명의 기술적 특징과 직접적으로 연관되지 않는 요소의 구체적인 기술적 구성 및 작용에 대한 상세한 설명 및 도시는 생략하고, 본 발명과 관련되는 기술적 구성만을 간략하게 도시하거나 설명하였다. 하기에서 본 발명을 설명함에 있어서, 관련된 공지 기능 또는 구성에 대한 구체적인 설명이 본 발명의 요지를 불필요하게 흐릴 수 있다고 판단되는 경우에는 그 상세한 설명을 생략할 수 있다.In order to fully understand the present invention, preferred embodiments of the present invention will be described in detail with reference to FIGS. Embodiment of the present invention may be modified in various forms, the scope of the invention should not be construed as limited to the embodiments described in detail below. This embodiment is provided to more completely explain the present invention to those skilled in the art. Therefore, the shape of the elements in the drawings and the like may be exaggerated to emphasize a more clear description. It should be noted that the same members in each drawing are sometimes shown with the same reference numerals. On the other hand, in the drawings and detailed description, the illustration and the description of the configuration and operation that can be easily known to those skilled in the art, such as chatbots, clients, servers and databases are briefly or omitted. In particular, in the drawings and detailed description of the drawings, detailed descriptions and illustrations of specific technical configurations and operations of elements not directly related to technical features of the present invention will be omitted, and only the technical configurations related to the present invention will be briefly shown. Explained. In the following description of the present invention, if it is determined that a detailed description of a related known function or configuration may unnecessarily obscure the subject matter of the present invention, the detailed description may be omitted.

도 1은 본 발명의 실시예에 따른 이벤트 처리 모듈 기반의 음성 인식 챗봇 IFTTT 서비스 시스템의 구성도이다.1 is a block diagram of a voice recognition chatbot IFTTT service system based on an event processing module according to an embodiment of the present invention.

도 1에 도시된 바와 같이, 챗봇 IFTTT 서비스 시스템(100)은 서비스단말기(110), 클라이언트(120) 및 서버(130)를 포함하는 구성으로 이루어진다. 이벤트 처리 규칙 관리 시스템(100)은 실시간으로 전송되는 서비스단말기(110)로부터 전송되는 사용자 요청에 따른 설정된 규칙에 따라 사용자가 요구하는 응답정보를 생성하여 사용자가 요구하는 정보를 제공한다.As shown in FIG. 1, the chatbot IFTTT service system 100 is configured to include a service terminal 110, a client 120, and a server 130. The event processing rule management system 100 generates response information requested by a user according to a rule set according to a user request transmitted from the service terminal 110 transmitted in real time, and provides information requested by the user.

서비스단말기(110)는 사용자로부터 음성을 입력받을 수 있는 마이크가 있고고, 음성을 출력할 수 있도록 스피커가 내장된다. 서비스단말기(110)는 마이크와 스피커가 있는 스마트폰이나 최근에 많이 사용되고 있는 인공지능 스피커와 같이, 마이크와 스피커가 내장되거나, 종래의 컴퓨터나 노트북과 같이 마이크와 스피커를 외부에서 연결할 수 도 있다. 서비스단말기(110)는 사용자에 따라 요청사항을 구분할 수 있도록 사용자에 대한 인식을 위하여 별도의 아이디와 패스워드를 입력받거나 사용자에 따른 음성의 특징을 이용하여 인식할 수 있다.The service terminal 110 has a microphone that can receive a voice from a user, and a speaker is built to output a voice. The service terminal 110 may have a microphone and a speaker built in, such as a smart phone having a microphone and a speaker or an artificially popular speaker, or a microphone and a speaker may be externally connected like a conventional computer or a laptop. The service terminal 110 may receive a separate ID and password for recognition of the user so as to distinguish the request according to the user, or recognize the request using the voice feature of the user.

도 2는 본 발명의 실시예에 따른 이벤트 처리 모듈 기반의 음성 인식 챗봇 IFTTT 서비스 시스템의 클라이언트에 대한 구성도이다.2 is a block diagram of a client of an event processing module based voice recognition chatbot IFTTT service system according to an embodiment of the present invention.

도 2에 도시된 바와 같이, 클라이언트(120)는 음성인식모듈(121) 및 음성합성모듈(122)을 포함하는 구성으로 이루어진다. 클라이언트(120)는 상기 서비스단말기(110)로부터 전송받은 음성을 문자열 데이터로 변환하여 서버(130)에 전송하고, 상기 서버(130)로부터 응답으로 제시된 문자열 데이터를 음성으로 변환하여 상기 서비스단말기(110)에 전송한다.As shown in FIG. 2, the client 120 is configured to include a voice recognition module 121 and a voice synthesis module 122. The client 120 converts the voice received from the service terminal 110 into string data and transmits the string data to the server 130. The client 120 converts the string data presented in response from the server 130 into voice and the service terminal 110. To be sent).

음성인식모듈(121)은 상기 서비스단말기(110)로부터 전송된 음성을 인식하여 문자열 데이터로 변환하여 상기 서버(130)에 전송한다. 음성인식모듈(121)은 상기 서비스단말기(110)를 통해 사용자의 요구사항에 대하여 입력받은 음성을 상기 서버(130)에서 처리할 수 있도록 문자열 데이터를 변환한다. 음성인식모듈(121)을 통해 인식된 문자열 데이터에는 상기 서비스단말기(110)를 통해 인식된 사용자의 정보도 포함될 수 있다. The voice recognition module 121 recognizes the voice transmitted from the service terminal 110 and converts the voice to string data and transmits it to the server 130. The voice recognition module 121 converts the string data so that the server 130 can process the voice received for the user's requirements through the service terminal 110. The string data recognized by the voice recognition module 121 may also include information of the user recognized by the service terminal 110.

음성합성모듈(122)은 상기 서버(130)로부터 전송된 문자열 데이터를 음성으로 변환하여 상기 서비스단말기(110)에 전송한다. 음성합성모듈(122)은 사용자의 요청에 대하여 상기 서버(130)에서 생성된 응답정보에 대한 문자열 데이터를 사용자에게 제공하기 위하여 서비스단말기(110)의 스피커를 통해 출력할 수 있도록 음성으로 변환한다.The voice synthesis module 122 converts the string data transmitted from the server 130 into voice and transmits the converted voice data to the service terminal 110. The voice synthesis module 122 converts the voice to be output through the speaker of the service terminal 110 in order to provide the user with string data on the response information generated by the server 130 in response to the user's request.

도 3은 본 발명의 실시예에 따른 이벤트 처리 모듈 기반의 음성 인식 챗봇 IFTTT 서비스 시스템의 서버에 대한 구성도이다.3 is a block diagram of a server of an event processing module based voice recognition chatbot IFTTT service system according to an embodiment of the present invention.

도 3에 도시된 바와 같이, 상기 서버(130)는 룰매너저모듈(131), 이벤트처리모듈(132), 데이터베이스(133) 및 응답정보생성모듈(134)을 포함하는 구성으로 이루어진다. 상기 서버(130)는 상기 클라이언트(120)로부터 전송된 문자열 데이터를 EPL포맷으로 변환한 정보데이터를 저장하고, 사용자의 요청에 따른 설정된 규칙에 따라 사용자가 요구하는 응답정보를 생성하여 문자열 데이터로 상기 클라이언트(120)에 전송한다.As shown in FIG. 3, the server 130 includes a rule manager module 131, an event processing module 132, a database 133, and a response information generation module 134. The server 130 stores the information data obtained by converting the string data transmitted from the client 120 into the EPL format, generates the response information requested by the user according to a rule set according to the user's request, and converts the string data into the string data. Send to client 120.

룰매너저모듈(131)은 상기 클라이언트(120)로부터 전송된 문자열 데이터를 EPL포맷의 정보데이터로 변환한다. 룰매너저모듈(131)는 메신저 기반의 SNS 챗봇 UI를 통해 전송되는 메시지 데이터를 룰매니저모듈에 필요한 EPL 문법으로 변환해주는 기능을 수행한다.The rule manager module 131 converts the string data transmitted from the client 120 into information data of the EPL format. The rule manager module 131 converts the message data transmitted through the messenger-based SNS chatbot UI into an EPL grammar required for the rule manager module.

도 4는 본 발명의 실시예에 따른 이벤트 처리 모듈 기반의 음성 인식 챗봇 IFTTT 서비스 시스템에서 문자열 데이터의 변환과정도이다.4 is a flowchart illustrating a process of converting string data in an event processing module based voice recognition chatbot IFTTT service system according to an exemplary embodiment of the present invention.

도 4에 도시된 바와 같이, 룰매너저모듈(131)에서 수신하는 문자열 데이터의 구성은 사용자를 나타내는 Who, 사용자의 의도를 나타내는 Intent, 사용자의 의도에 답하기 위해 필요한 개체를 나타내는 Entity, 대화의 흐름을 위한 맥락파악을 나타내는 Context, 시간조건을 나타내는 Time, Entity의 조건을 나타내는 Condition 및 사용자가 원하는 서비스를 나타내는 Action으로 이루어진다.As shown in FIG. 4, the configuration of the string data received by the rule manager module 131 includes a Who representing a user, an Intent representing a user's intention, an entity representing an entity required to answer the user's intention, and a flow of conversations. It consists of Context indicating context grasping, Time representing time condition, Condition representing entity condition, and Action representing user desired service.

예를 들어, 김철수님이 매일 아침 8시에 날씨 정보를 알려달라는 문자열 데이터에서 Who는 김철수, Intent는 날씨, Entity는 첫 번째 위치와 두 번째 날짜가 되고, Context는 첫 번째 Intent요소인 날씨와 Entity요소인 위치와 날짜가 되며, Time은 하루의 날씨를 나타내는 것이기 때문에 별도의 조건이 없어 null값을 가지며, Condition은 Entity의 첫 번째 조건인 위치로 사용자가 거주하고 있는 위치를 묻거나 종래 정보로부터 가져오고, 두 번째 조건인 날짜는 매일 오전 8시로 설정되며, Action은 응답정보생성모듈(134)에서 날씨 정보를 가져오는 API를 구동하는 것이 된다.For example, in the string data that Kim asks for weather information at 8:00 am every day, Who is Kim Chul-soo, Intent is weather, Entity is the first position and second date, and Context is the first Intent element, Weather and Entity. It is the location and date, which are elements, and since it represents the weather of the day, there is no separate condition and has a null value. The condition is the location of the first condition of the entity. The second condition, the date, is set to 8:00 am every day, and the action is to drive an API to get weather information from the response information generation module 134.

룰매니저모듈(131)은 상기의 문자열 데이터를 EPL 문법으로 변환하는데 있어, 문자열 데이터의 Who에 대응하는 EPL구성요소로 사용자인 Who, 문자열 데이터의 Intent에 대응하는 EPL구성요소로 이벤트인 Event, 문자열 데이터의 Entity에 대응하는 EPL구성요소로 속성인 Attribute, 문자열 데이터의 Time에 대응하는 EPL구성요소로 시간조건인 Interval, 문자열 데이터의 Condition에 대응하는 EPL구성요소로 속성조건인 Condition 및 문자열 데이터의 Action에 대응하는 EPL구성요소로 액션인 Action으로 구성되고, 대화의 흐름을 파악하는 Context는 사용자의 의사를 파악하는데 이용할 뿐 변환되지 않는다.The rule manager module 131 converts the string data into the EPL grammar, who is a user as an EPL component corresponding to a Who of the string data, an event as an event, an EPL component corresponding to an Intent of the string data, and a string. EPL component corresponding to the entity of data, Attribute as attribute, EPL component corresponding to time of string data, Interval as time condition, Condition as attribute condition as EPL component corresponding to Condition of string data, Action of string data EPL component corresponding to is composed of Action which is action, and Context which grasps the flow of dialogue is used to grasp user's intention and not converted.

이벤트처리모듈(132)은 상기 룰매너저모듈(131)로부터 정보데이터를 수신하여 데이터베이스(133)에 저장한다. 이벤트처리모듈(132)은 정보데이터로부터 사용자의 요청을 파악하여 사용자 요청에 따른 규칙을 설정하거나 상기 데이터베이스(133)에 저장된 키워드를 활용하여 규칙을 설정한다.The event processing module 132 receives information data from the rule manager module 131 and stores the information data in the database 133. The event processing module 132 detects the user's request from the information data and sets a rule according to the user's request, or sets a rule by using keywords stored in the database 133.

이벤트처리모듈(132)은 상기 생성된 규칙에 따라 사용자에게 필요한 응답정보를 생성하거나 응답정보생성모듈(134)에 요청하여 수신하여 실시간으로 문자열 데이터로 상기 클라이언트(120)에 전송한다.The event processing module 132 generates response information required by the user according to the generated rule or requests and receives the response information generation module 134 and transmits it to the client 120 in real time as character string data.

데이터베이스(133)는 상기 이벤트처리모듈(132)로부터 전송된 EPL포맷으로 변환된 정보데이터를 수신하여 저장한다. 그리고 상기 데이터베이스(133)는 관리자로부터 입력된 키워드를 저장하며, 상기 이벤트처리모듈(132)의 요청에 따라 저장된 키워드를 제공한다.The database 133 receives and stores information data converted into the EPL format transmitted from the event processing module 132. The database 133 stores the keyword input from the administrator and provides the stored keyword at the request of the event processing module 132.

응답정보생성모듈(134)은 상기 이벤트처리모듈(132)로부터 요청받은 내용에 대하여 검색하여 얻은 응답정보를 상기 이벤트처리모듈(132)에 전송한다. 응답정보생성모듈(134)은 챗봇에서 사용하는 IFTTT(If This Then That) 서비스를 지원하는 다양한 API로 이루어진 프로그램과 연동 시켜 사용자에게 사용자 요청에 따른 규칙에 따라 실시간으로 응답정보를 생성하여 상기 이벤트처리모듈(132)에 전송한다.The response information generation module 134 transmits the response information obtained by searching for the content requested from the event processing module 132 to the event processing module 132. The response information generation module 134 interoperates with a program composed of various APIs supporting the IFTTT (If This Then That) service used by the chatbot, and generates response information in real time according to a rule according to a user's request to the user to process the event. Send to module 132.

예를 들어, 사용자가 매일 아침 8시에 날씨 정보를 알려달라는 요청에 따라 규칙을 설정하면 이벤트처리모듈(132)에 ‘매일 8시’라는 규칙 조건에 따라 날씨 정보를 알려주는 챗봇 API를 통해 상기 응답정보생성모듈(134)에서 생성된 날씨 정보를 상기 이벤트처리모듈(132)에서 수신하여 사용자에게 알려주는 서비스를 수행한다.For example, if a user sets a rule according to a request to inform the weather information at 8:00 am every morning, the event processing module 132 reminds the user through the chatbot API that informs the weather information according to the rule condition of '8 o'clock every day'. The event processing module 132 receives the weather information generated by the response information generating module 134 and informs the user.

도 5는 본 발명의 실시예에 따른 이벤트 처리 모듈 기반의 음성 인식 챗봇 IFTTT 서비스 시스템을 이용한 챗봇 IFTTT 서비스 방법의 순서도이다.5 is a flowchart illustrating a chatbot IFTTT service method using an event processing module based voice recognition chatbot IFTTT service system according to an embodiment of the present invention.

도 5에 도시된 바와 같이, 챗봇 IFTTT 서비스 방법은 키워드설정단계(S110), 음성정보입력단계(S120), 음성인식단계(S130), 포맷변환단계(S140), 응답정보제공단계(S150), 음성합성단계(S160) 및 응답출력단계(S170)를 포함하는 구성으로 이루어진다.As shown in FIG. 5, the chatbot IFTTT service method includes a keyword setting step (S110), a voice information input step (S120), a voice recognition step (S130), a format conversion step (S140), a response information providing step (S150), It consists of a configuration comprising a speech synthesis step (S160) and a response output step (S170).

키워드설정단계(S110)는 관리자로부터 키워드에 해당하는 단어와 상기 단어에 대한 응답정보를 입력받아 데이터베이스(133)에 저장한다. 예를 들어 사용자가 “ㅎㅇ”, “하이”, “안녕”, “HI”, “Hello”, “안뇽”, “하이”, “안녕하세요” 등의 문자열 데이터를 키워드설정단계(S110)에서 키워드로 설정하고, 상기의 키워드가 입력되면 “ㅎㅇ, 안녕하세요 저는 봇입니다”라고 출력하도록 설정한다. The keyword setting step S110 receives a word corresponding to a keyword and response information for the word from an administrator and stores the word in the database 133. For example, a user may input string data such as “ㅎㅇ”, “HI”, “HI”, “HI”, “Hello”, “HONGON”, “HI”, “HI” as a keyword in the keyword setting step (S110). If the above keyword is entered, set it to output "Hey, I'm a bot".

음성정보입력단계(S120)는 사용자로부터 서비스단말기(110)를 통해 채팅의 대상이 되는 내용을 음성으로 입력받아 클라이언트(120)에 전송한다. 음성정보입력단계(S120)는 음성을 입력받은 수 있는 장치인 마이크가 내장되거나 외부에 연결된 장치를 통해서 입력받는다.Voice information input step (S120) receives the contents to be chat via voice from the user through the service terminal 110 and transmits to the client 120. In the voice information input step S120, a microphone which is a device capable of receiving voice is built in or received through an externally connected device.

음성인식단계(S130)는 상기 음성정보입력단계를 통해 전송된 음성을 음성인식모듈(121)에서 문자열 데이터로 변환하여 서버(130)에 전송한다. 음성인식단계(S130)는 음성인식모듈(121)을 통해 인식된 문자열 데이터에는 상기 서비스단말기(110)를 통해 인식된 사용자의 정보도 포함될 수 있다.The voice recognition step S130 converts the voice transmitted through the voice information input step into the string data in the voice recognition module 121 and transmits it to the server 130. In the voice recognition step S130, the string data recognized through the voice recognition module 121 may also include information of the user recognized through the service terminal 110.

포맷변환단계(S140)는 이벤트처리모듈(132)에서 상기 음성인식단계(S130)를 통해 전송된 문자열 데이터를 룰매너저모듈(131)에서 EPL포맷으로 변환한 정보데이터를 데이터베이스(133)에 저장한다. The format conversion step (S140) stores the information data converted from the event processing module 132 through the voice recognition step (S130) into the EPL format by the rule manager module 131 in the database 133. do.

도 6은 본 발명의 실시예에 따른 이벤트 처리 모듈 기반의 음성 인식 챗봇 IFTTT 서비스 시스템을 이용한 챗봇 IFTTT 서비스 방법의 응답정보제공단계에 대한 순서도이다.6 is a flowchart illustrating a response information providing step of a chatbot IFTTT service method using an event processing module based voice recognition chatbot IFTTT service system according to an embodiment of the present invention.

응답정보제공단계(S150)는 키워드비교단계(S151), 응답정보생성단계(S152), 트리거저장단계(S153) 및 요소생성단계(S154)를 포함하는 구성으로 이루어진다. 응답정보제공단계(S150)는 이벤트처리모듈(132)에서 문자열 데이터를 통해 확인된 사용자의 요청에 따른 설정된 규칙에 따라 사용자가 요구하는 응답정보를 생성하여 문자열 데이터로 상기 클라이언트(120)에 전송한다.Response information providing step (S150) consists of a configuration including a keyword comparison step (S151), response information generation step (S152), trigger storage step (S153) and element generation step (S154). Response information providing step (S150) generates the response information requested by the user according to the set rule according to the user's request confirmed through the string data in the event processing module 132 and transmits to the client 120 as the string data. .

응답정보제공단계(S150)는 사용자가 요구하는 응답정보를 응답정보생성모듈(134)에 요청하여 수신한 후, 실시간으로 문자열 데이터로 상기 클라이언트(120)에 전송할 수 있다.The response information providing step (S150) may request and receive the response information requested by the user from the response information generation module 134, and then transmit the character string data to the client 120 in real time.

키워드비교단계(S151)는 이벤트처리모듈(132)에서 전송된 문자열 데이터와 상기 데이터베이스(133)에 저장된 키워드와 비교한다.The keyword comparison step S151 compares the string data transmitted from the event processing module 132 with the keywords stored in the database 133.

응답정보생성단계(S152)는 상기 키워드비교단계(S151)에서 키워드와 전송된 문자열 데이터가 동일한 경우, 이벤트처리모듈(132)은 해당 키워드에 대한 정해진 응답정보를 상기 데이터베이스(133)에서 추출하여 문자열 데이터로 생성한다.In the response information generation step S152, when the keyword and the transmitted string data are the same in the keyword comparison step S151, the event processing module 132 extracts the predetermined response information for the corresponding keyword from the database 133. Create with data.

트리거저장단계(S153)는 이벤트처리모듈(132)에서 사용자 요청마다 생성된 정보데이터에 대하여 주체(Who), 이벤트(Event), 속성(Attribute), 시간조건(Interval), 속정조건(Condition)으로 구분하여 저장한다.The trigger storage step (S153) is a subject (Who), event (Event), attribute (Attribute), time condition (Interval), fast condition (Condition) for the information data generated for each user request in the event processing module 132 Save separately.

요소생성단계(S154)는 새로운 사용자의 요청에서 상기 트리거의 일부 요소가 부족한 경우에는 상기 트리거저장단계(S153)에서 저장된 각 요소에서의 문자열 데이터 중에서 빈도수가 가장 높은 문자열 데이터를 선택하여 요소를 생성한다.When the element generation step (S154) lacks some elements of the trigger in the request of a new user, the element generation step (S154) generates an element by selecting the string data having the highest frequency among the string data of each element stored in the trigger storage step (S153). .

음성합성단계(S160)는 상기 응답정보제공단계(S150)에서 수신한 응답정보에 대한 문자열 데이터를 음성합성모듈(122)을 통해 음성으로 변환한다.Speech synthesis step (S160) converts the string data for the response information received in the response information providing step (S150) to the voice through the speech synthesis module 122.

응답출력단계(S170)는 상기 음성합성단계(S160)에서 생성된 음성을 상기 서비스단말기(110)에 전송하여 사용자에게 응답정보에 대한 음성을 출력한다.Response output step (S170) transmits the voice generated in the voice synthesis step (S160) to the service terminal 110 to output a voice for the response information to the user.

상술한 바와 같은, 본 발명의 실시 예에 따른 이벤트 처리 모듈 기반의 음성 인식 챗봇 IFTTT 서비스 시스템 및 이를 이용한 챗봇 IFTTT 서비스 방법을 상기한 설명 및 도면에 따라 도시하였지만, 이는 예를 들어 설명한 것에 불과하며 본 발명의 기술적 사상을 벗어나지 않는 범위 내에서 다양한 변화 및 변경이 가능하다는 것을 이 분야의 통상적인 기술자들은 잘 이해할 수 있을 것이다.As described above, a voice recognition chatbot IFTTT service system based on an event processing module and a chatbot IFTTT service method using the same according to the above-described description and drawings are illustrated as described above. Those skilled in the art will appreciate that various changes and modifications can be made without departing from the spirit of the invention.

이상과 같이, 본 명세서와 도면에는 본 발명의 바람직한 실시예에 대하여 개시하였으며, 비록 특정 용어들이 사용되었으나, 이는 단지 본 발명의 기술 내용을 쉽게 설명하고 발명의 이해를 돕기 위한 일반적인 의미에서 사용된 것이지, 본 발명의 범위를 한정하고자 하는 것은 아니다. 여기에 개시된 실시예 외에도 본 발명의 기술적 사상에 바탕을 둔 다른 변형 예들이 실시 가능하다는 것은 본 발명이 속하는 기술 분야에서 통상의 지식을 가진 자에게 자명한 것이다.As described above, the present specification and drawings have been described with respect to preferred embodiments of the present invention, although specific terms are used, it is only used in a general sense to easily explain the technical contents of the present invention and to help the understanding of the present invention. It is not intended to limit the scope of the present invention. It will be apparent to those skilled in the art that other modifications based on the technical idea of the present invention can be carried out in addition to the embodiments disclosed herein.

100 : 챗봇 IFTTT 서비스 시스템 110 : 서비스단말기
120 : 클라이언트 121 : 음성인식모듈
122 : 음성합성모듈 130 : 서버
131 : 룰매너저모듈 132 : 이벤트처리모듈
133 : 데이터베이스 134 : 응답정보생성모듈
S110 : 키워드설정단계 S120 : 음성정보입력단계
S130 : 음성인식단계 S140 : 포맷변환단계
S150 : 응답정보제공단계 S151 : 키워드비교단계
S152 : 응답정보생성단계 S153 : 트리거저장단계
S154 : 요소생성단계 S160 : 음성합성단계
S170 : 응답출력단계
100: chatbot IFTTT service system 110: service terminal
120: client 121: voice recognition module
122: voice synthesis module 130: server
131: rule manager module 132: event processing module
133: database 134: response information generation module
S110: keyword setting step S120: voice information input step
S130: speech recognition step S140: format conversion step
S150: response information providing step S151: keyword comparison step
S152: response information generation step S153: trigger storage step
S154: element generation step S160: speech synthesis step
S170: response output step

Claims (7)

사용자로부터 채팅의 대상이 되는 내용을 음성으로 입력받아 클라이언트(120)에 전송하고, 클라이언트(120)로부터 응답을 입력받아 음성으로 출력하는 서비스단말기(110);
서비스단말기(110)로부터 전송된 음성을 인식하여 문자열 데이터로 변환하여 서버(130)에 전송하는 음성인식모듈(121); 및
상기 서버(130)로부터 전송된 문자열 데이터를 음성으로 변환하여 상기 서비스단말기(110)에 전송하는 음성합성모듈(122);을 포함하는 구성으로 이루어져 상기 서비스단말기(110)로부터 전송받은 음성을 문자열 데이터로 변환하여 서버(130)에 전송하고, 상기 서버(130)로부터 응답으로 제시된 문자열 데이터를 음성으로 변환하여 상기 서비스단말기(110)에 전송하는 클라이언트(120); 및
상기 클라이언트(120)로부터 전송된 문자열 데이터를 EPL포맷으로 변환한 정보데이터를 저장하고, 사용자의 요청에 따른 설정된 규칙에 따라 사용자가 요구하는 응답정보를 생성하여 문자열 데이터로 상기 클라이언트(120)에 전송하는 서버(130);를 포함하고,
상기 서버(130)는
클라이언트(120)로부터 전송된 문자열 데이터를 EPL포맷의 정보데이터로 변환하는 룰매너저모듈(131);
상기 룰매너저모듈(131)로부터 정보데이터를 수신하여 데이터베이스(133)에 저장하고, 정보데이터로부터 사용자의 요청을 파악하여 사용자 요청에 따른 규칙을 설정하거나 상기 데이터베이스(133)에 저장된 키워드를 활용하여 규칙을 설정하며, 상기 생성된 규칙에 따라 사용자에게 필요한 응답정보를 생성하거나 응답정보생성모듈(134)에 요청하여 수신한 후, 실시간으로 문자열 데이터로 상기 클라이언트(120)에 전송하는 이벤트처리모듈(132);
상기 이벤트처리모듈(132)로부터 전송된 EPL포맷으로 변환된 정보데이터를 수신하여 저장하고, 관리자로부터 입력된 키워드를 저장하며, 상기 이벤트처리모듈(132)의 요청에 따라 저장된 키워드를 제공하는 데이터베이스(133);
상기 이벤트처리모듈(132)로부터 요청받은 내용에 대하여 검색하여 얻은 응답정보를 상기 이벤트처리모듈(132)에 전송하는 응답정보생성모듈(134);을 포함하는 구성으로 이루어진 것을 특징으로 하는 이벤트 처리 모듈 기반의 음성 인식 챗봇 IFTTT 서비스 시스템.
A service terminal 110 which receives a content to be chatted from a user by voice and transmits it to the client 120, receives a response from the client 120, and outputs the voice by voice;
A voice recognition module 121 for recognizing the voice transmitted from the service terminal 110 and converting the voice into string data and transmitting the same to the server 130; And
The voice synthesis module 122 converts the string data transmitted from the server 130 into voice and transmits the string data to the service terminal 110. The voice received from the service terminal 110 is configured to include string data. A client (120) for converting the data to a server (130), converting the string data presented in response from the server (130) into voice, and transmitting the voice data to the service terminal (110); And
Stores the information data obtained by converting the string data transmitted from the client 120 into the EPL format, generates response information requested by the user according to a set rule according to the user's request, and transmits the response information to the client 120 as the string data. It includes; server 130,
The server 130 is
A rule manager module 131 for converting string data transmitted from the client 120 into information data in an EPL format;
Receive the information data from the rule manager module 131 and store it in the database 133, grasp the user's request from the information data to set rules according to the user's request or use the keywords stored in the database 133 An event processing module for setting a rule, generating response information required by the user according to the generated rule or requesting and receiving the response information generation module 134 and transmitting the received character string data to the client 120 in real time ( 132);
A database for receiving and storing information data converted into an EPL format transmitted from the event processing module 132, storing keywords input from an administrator, and providing stored keywords according to a request of the event processing module 132 ( 133);
An event processing module comprising: a response information generation module 134 for transmitting the response information obtained by searching for the content requested from the event processing module 132 to the event processing module 132. Voice recognition chatbot based IFTTT service system.
삭제delete 삭제delete 키워드에 해당하는 단어와 상기 단어에 대한 응답정보 데이터베이스(133)에 저장되도록 설정하는 키워드설정단계(S110);
서비스단말기(110)를 통해 입력되는 채팅의 대상이 되는 내용을 음성으로 입력받아 클라이언트(120)에 전송하는 음성정보입력단계(S120);
상기 음성정보입력단계를 통해 전송된 음성을 음성인식모듈(121)에서 문자열 데이터로 변환하여 서버(130)에 전송하는 음성인식단계(S130);
이벤트처리모듈(132)에서 상기 음성인식단계(S130)를 통해 전송된 문자열 데이터를 룰매너저모듈(131)에서 EPL포맷으로 변환한 정보데이터를 데이터베이스(133)에 저장하는 포맷변환단계(S140);
이벤트처리모듈(132)에서 문자열 데이터와 상기 데이터베이스(133)에 저장된 키워드와 비교를 통해 키워드와 전송된 문자열 데이터가 동일한 경우, 이벤트처리모듈(132)은 해당 키워드에 대한 정해진 응답정보를 상기 데이터베이스(133)에서 추출하여 문자열 데이터로 생성하여 사용자의 요청에 따른 설정된 규칙에 따라 사용자가 요구하는 응답정보를 응답정보생성모듈(134)에 요청하여 수신한 후, 실시간으로 문자열 데이터로 상기 클라이언트(120)에 전송하는 응답정보제공단계(S150);
상기 응답정보제공단계(S150)에서 수신한 응답정보에 대한 문자열 데이터를 음성합성모듈(122)을 통해 음성으로 변환하는 음성합성단계(S160); 및
상기 음성합성단계(S160)에서 생성된 음성을 상기 서비스단말기(110)에 전송하여 사용자에게 응답정보에 대한 음성을 출력하는 응답출력단계(S170);를 포함하는 구성으로 이루어지는 것을 특징으로 하는 챗봇 IFTTT 서비스 방법.
A keyword setting step (S110) for setting a word corresponding to a keyword and response information for the word to be stored in the database 133;
Voice information input step (S120) of receiving the content to be the subject of the chat input through the service terminal 110 to the client 120 to transmit the voice;
A voice recognition step (S130) of converting the voice transmitted through the voice information input step into a string data in the voice recognition module 121 and transmitting it to the server 130;
Format conversion step (S140) of storing the information data converted in the EPL format by the string manager module 131 in the string data transmitted through the voice recognition step (S130) in the event processing module (132) (S140) ;
When the event data module 132 compares the string data with the keywords stored in the database 133 and the keyword and the transmitted string data are the same, the event processing module 132 transmits the predetermined response information for the keyword to the database ( 133 to generate the character string data, and to request and receive the response information requested by the user according to the set rules according to the user's request to the response information generation module 134, the client 120 in real time as the string data Response information providing step to transmit to (S150);
A voice synthesis step (S160) of converting string data on the response information received in the response information providing step (S150) into voice through the voice synthesis module 122; And
Chatbot IFTTT characterized in that it comprises a; comprising the response output step (S170) for transmitting the voice generated in the voice synthesis step (S160) to the service terminal 110 to output a voice for the response information to the user Service method.
삭제delete 제 4 항에 있어서,
상기 응답정보제공단계(S150)는,
이벤트처리모듈(132)에서 사용자 요청마다 생성된 정보데이터에 대하여 주체(Who), 이벤트(Event), 속성(Attribute), 시간조건(Interval), 속정조건(Condition)으로 구분하여 저장하는 트리거저장단계(S153); 및
새로운 사용자의 요청에서 상기 트리거의 일부 요소가 부족한 경우에는 상기 트리거저장단계(S153)에서 저장된 각 요소에서의 문자열 데이터 중에서 빈도수가 가장 높은 문자열 데이터를 선택하여 요소를 생성하는 요소생성단계(S154);를 더 포함하여,
상기 응답정보제공단계(S150)에서 상기 요소생성단계(S154)를 통해 생성된 요소를 포함한 사용자의 요청에 따른 설정된 규칙에 따라 사용자가 요구하는 응답정보를 생성하여 문자열 데이터로 상기 클라이언트(120)에 전송하는 것을 특징으로 하는 챗봇 IFTTT 서비스 방법.
The method of claim 4, wherein
The response information providing step (S150),
The trigger storage step of storing the information data generated for each user request in the event processing module 132 by separating them into subjects, events, attributes, time conditions, and condition conditions. (S153); And
An element generation step (S154) of generating an element by selecting a string data having the highest frequency among string data in each element stored in the trigger storage step (S153) when a part of the trigger is insufficient in a request of a new user; Including more,
The response information providing step (S150) generates response information requested by the user according to a rule set according to a user's request including an element generated through the element generating step (S154), and transmits the response information to the client 120 as string data. Chatbot IFTTT service method characterized in that the transmission.
삭제delete
KR1020180011479A 2018-01-30 2018-01-30 Speech Recognition Chatbot IFTTT Service System Based on Realtiem Event Processing Module And Chatbot IFTTT Service Method thereof KR101974129B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020180011479A KR101974129B1 (en) 2018-01-30 2018-01-30 Speech Recognition Chatbot IFTTT Service System Based on Realtiem Event Processing Module And Chatbot IFTTT Service Method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020180011479A KR101974129B1 (en) 2018-01-30 2018-01-30 Speech Recognition Chatbot IFTTT Service System Based on Realtiem Event Processing Module And Chatbot IFTTT Service Method thereof

Publications (1)

Publication Number Publication Date
KR101974129B1 true KR101974129B1 (en) 2019-08-23

Family

ID=67763808

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020180011479A KR101974129B1 (en) 2018-01-30 2018-01-30 Speech Recognition Chatbot IFTTT Service System Based on Realtiem Event Processing Module And Chatbot IFTTT Service Method thereof

Country Status (1)

Country Link
KR (1) KR101974129B1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120137425A (en) * 2010-01-18 2012-12-20 애플 인크. Intelligent automated assistant
KR20140111538A (en) * 2013-03-11 2014-09-19 삼성전자주식회사 Interactive sever, display apparatus and control method thereof
KR20170043955A (en) * 2015-10-14 2017-04-24 주식회사 시스트란인터내셔널 Voice conversation system and method of thereof
KR101731867B1 (en) 2016-08-16 2017-05-04 주식회사 엔터플 Method and apparatus for sharing user event between chatbots
KR20180003324A (en) 2016-06-30 2018-01-09 주식회사 엔터플 Method and apparatus for providing content using chatbot

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120137425A (en) * 2010-01-18 2012-12-20 애플 인크. Intelligent automated assistant
KR20140111538A (en) * 2013-03-11 2014-09-19 삼성전자주식회사 Interactive sever, display apparatus and control method thereof
KR20170043955A (en) * 2015-10-14 2017-04-24 주식회사 시스트란인터내셔널 Voice conversation system and method of thereof
KR20180003324A (en) 2016-06-30 2018-01-09 주식회사 엔터플 Method and apparatus for providing content using chatbot
KR101731867B1 (en) 2016-08-16 2017-05-04 주식회사 엔터플 Method and apparatus for sharing user event between chatbots

Similar Documents

Publication Publication Date Title
US10958598B2 (en) Method and apparatus for generating candidate reply message
CN110235154B (en) Associating meetings with items using feature keywords
JP6559802B2 (en) Device identifier dependent operation processing for packet-based data communication
US10785185B2 (en) Automated summary of digital group conversations
EP4009610A1 (en) Multi-modal conversational intercom
US7317788B2 (en) Method and system for providing a voice mail message
KR101733011B1 (en) Apparatus for providing recommendation based social network service and method using the same
US20150100356A1 (en) Systems and methods for automatic generation of a relationship management system
US20140337448A1 (en) System and method for aggregating and responding to communications
US9270622B2 (en) Systems and methods for conveying information to an instant messaging client
US20090210497A1 (en) Selective instant messaging (im) notifications based on sender/receiver relationships
US10491690B2 (en) Distributed natural language message interpretation engine
US11855952B2 (en) Message rerouting from an e-mail environment to a messaging environment
US20160094491A1 (en) Pattern-controlled automated messaging system
CN113364853B (en) Business service system, business request method and gateway equipment
US8583750B1 (en) Inferring identity of intended communication recipient
US20080155030A1 (en) Systems and methods for conveying information to an instant messaging client
KR20200114173A (en) Method, server and computer program for managing natural language processing engines
US10942039B2 (en) Methods and systems for managing communication sessions
KR20190058257A (en) Chatbot trainer platform and method of operating the same
KR101974129B1 (en) Speech Recognition Chatbot IFTTT Service System Based on Realtiem Event Processing Module And Chatbot IFTTT Service Method thereof
CN114244793B (en) Information processing method, device, equipment and storage medium
US10565310B2 (en) Automatic message pre-processing
CN106034157A (en) HTTP transmission method in data exchange, server and storage device
CN112969000A (en) Control method and device of network conference, electronic equipment and storage medium