KR102310963B1 - Apparatus for providing answer - Google Patents

Apparatus for providing answer Download PDF

Info

Publication number
KR102310963B1
KR102310963B1 KR1020190134805A KR20190134805A KR102310963B1 KR 102310963 B1 KR102310963 B1 KR 102310963B1 KR 1020190134805 A KR1020190134805 A KR 1020190134805A KR 20190134805 A KR20190134805 A KR 20190134805A KR 102310963 B1 KR102310963 B1 KR 102310963B1
Authority
KR
South Korea
Prior art keywords
query
nodes
tree
response
answer
Prior art date
Application number
KR1020190134805A
Other languages
Korean (ko)
Other versions
KR20210050329A (en
Inventor
유태준
류근재
이원문
최홍섭
Original Assignee
주식회사 마인즈랩
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 주식회사 마인즈랩 filed Critical 주식회사 마인즈랩
Priority to KR1020190134805A priority Critical patent/KR102310963B1/en
Publication of KR20210050329A publication Critical patent/KR20210050329A/en
Application granted granted Critical
Publication of KR102310963B1 publication Critical patent/KR102310963B1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • G06F16/2228Indexing structures
    • G06F16/2246Trees, e.g. B+trees
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/248Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/901Indexing; Data structures therefor; Storage structures
    • G06F16/9027Trees
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

본 발명의 일 실시예에 따른 사용자의 쿼리와 관련된 응답 만을 포함하는 응답 트리를 생성하고, 상기 응답 트리에 기초하여 상기 쿼리에 대한 응답을 제공하는 답변 제공 장치는, 원본 트리에서 상기 쿼리와 관련된 리프 노드들을 후보 노드들로 추출하고, 상기 원본 트리의 루트 노드로부터 상기 후보 노드들 각각에 이르는 경로상에 있는 가지 노드들을 포함하는 응답 트리를 생성하고, 상기 응답 트리의 루트 노드로부터 상기 쿼리에 대한 응답에 대응되는 리프 노드로 진행하는 과정 중 둘 이상의 노드가 존재하는 레벨을 만나는 경우, 상기 둘 이상의 노드 중 어느 하나의 노드를 선택하기 위한 질의를 생성하고, 상기 질의에 대한 답변에 따라 상기 둘 이상의 노드 중 어느 하나의 노드를 선택하고, 상기 선택된 노드가 상기 후보 노드들 중 어느 하나인 경우, 상기 선택된 노드를 상기 쿼리에 대한 응답으로 제공할 수 있다.The answer providing apparatus for generating a response tree including only responses related to a user's query according to an embodiment of the present invention and providing a response to the query based on the response tree includes, in an original tree, a leaf related to the query extracting nodes as candidate nodes, generating a response tree including branch nodes on a path from the root node of the original tree to each of the candidate nodes, and responding to the query from the root node of the response tree When a level in which two or more nodes exist is met during the process of proceeding to a leaf node corresponding to When any one node is selected and the selected node is any one of the candidate nodes, the selected node may be provided as a response to the query.

Description

답변 제공 장치{APPARATUS FOR PROVIDING ANSWER}ANSWER PROVIDING DEVICE {APPARATUS FOR PROVIDING ANSWER}

본 발명은 사용자의 쿼리와 관련된 응답을 포함하는 응답 트리를 생성하고, 생성된 응답 트리에 기초하여 사용자의 쿼리에 대한 응답을 제공하는 답변 제공 장치에 관한 것이다.The present invention relates to an answer providing apparatus that generates a response tree including a response related to a user's query, and provides a response to a user's query based on the generated response tree.

정보통신 기술의 비약적인 발전으로 인해 이동통신 단말, 개인용 컴퓨터 등과 같은 다양한 종류의 단말들은 다양한 기능을 수행할 수 있도록 구현되고 있다.Due to the rapid development of information and communication technology, various types of terminals such as mobile communication terminals and personal computers are being implemented to perform various functions.

이동통신 단말을 예로 들어 설명하면, 이동통신 단말은 기본적인 음성 통신 기능에서 더 나아가 최근에는 데이터 통신, 카메라를 이용한 사진이나 동영상 촬영, 음악 또는 동영상 파일 재생, 게임, 방송 시청 등 다양한 기능들을 이용할 수 있도록 구현되고 있다.Taking the mobile communication terminal as an example, the mobile communication terminal goes beyond the basic voice communication function, and recently, data communication, taking pictures or videos using a camera, playing music or video files, playing games, watching broadcasts, etc. is being implemented.

최근에는 이러한 단말을 통하여 질의를 시스템상에 업로드함으로써 답을 얻고자 하는 사용자의 수가 증가하였으며, 이에 따른 문제점이 대두되고 있다. Recently, the number of users who want to obtain an answer by uploading a query to the system through such a terminal has increased, and thus a problem is emerging.

일 예로 다수의 서비스 제공 업체들이 상담사에 의한 답변을 제공하는 방식에서 사용자가 검색을 통해 원하는 답변을 검색하도록 하는 방식으로 전환하고 있는 가운데, 이러한 방식의 도입에 따라 사용자의 검색 과정이 복잡해지고 번거로워지는 문제점이 발생하였다.For example, while a number of service providers are shifting from a method of providing an answer by a counselor to a method of allowing users to search for a desired answer through a search, the introduction of this method makes the user's search process complicated and cumbersome. A problem occurred.

특히 세분화된 답변을 제공하기 위해 많은 시스템들이 복수의 단계에 대한 선택 과정을 거쳐서 사용자가 원하는 답변을 얻을 수 있도록 하고 있는데, 일부 단계의 경우 사용자의 선택이 불필요함에도 불구하고 이를 생략할 수 있는 방법이 존재하지 않아 사용자의 검색 과정이 번거로워지는 문제점이 있었다.In particular, in order to provide a detailed answer, many systems allow the user to obtain the desired answer by going through a selection process for a plurality of steps. There was a problem that the user's search process became cumbersome because it did not exist.

본 발명은 상술한 문제점을 해결하기 위한 것으로 사용자가 자신의 질의에 대한 답변을 획득하는 과정에 있어서, 선택이 필요 없는 내용에 대한 선택 과정을 생략함으로써 응답 검색의 절차를 간소화하고자 한다.The present invention is to solve the above-described problem, and in a process for a user to obtain an answer to his/her query, the process of searching for a response is simplified by omitting a process for selecting content that does not require selection.

또한 본 발명은 사용자의 최초 쿼리로부터 사용자의 질의 사항을 대략적으로 특정하고, 특정된 내용에 따라 대략적인 응답의 범위를 결정함으로써 질의응답 과정의 효율성을 향상시키고자 한다.In addition, the present invention aims to improve the efficiency of the question answering process by roughly specifying the user's query from the user's initial query and determining the approximate range of the response according to the specified content.

또한 본 발명은 상술한 간소화 및 효율화에도 불구하고 사용자의 질의에 대한 응답 정확도를 향상시키고자 한다.In addition, the present invention aims to improve the accuracy of response to a user's query in spite of the above-described simplification and efficiency.

본 발명의 일 실시예에 따른 사용자의 쿼리와 관련된 응답 만을 포함하는 응답 트리를 생성하고, 상기 응답 트리에 기초하여 상기 쿼리에 대한 응답을 제공하는 답변 제공 장치에 있어서, 상기 장치는 원본 트리에서 상기 쿼리와 관련된 리프 노드들을 후보 노드들로 추출하고, 상기 원본 트리의 루트 노드로부터 상기 후보 노드들 각각에 이르는 경로상에 있는 가지 노드들을 포함하는 응답 트리를 생성하고, 상기 응답 트리의 루트 노드로부터 상기 쿼리에 대한 응답에 대응되는 리프 노드로 진행하는 과정 중 둘 이상의 노드가 존재하는 레벨을 만나는 경우, 상기 둘 이상의 노드 중 어느 하나의 노드를 선택하기 위한 질의를 생성하고, 상기 질의에 대한 답변에 따라 상기 둘 이상의 노드 중 어느 하나의 노드를 선택하고, 상기 선택된 노드가 상기 후보 노드들 중 어느 하나인 경우, 상기 선택된 노드를 상기 쿼리에 대한 응답으로 제공할 수 있다.In the answer providing apparatus for generating a response tree including only responses related to a user's query according to an embodiment of the present invention, and providing a response to the query based on the response tree, the apparatus includes: Extracting leaf nodes related to a query as candidate nodes, generating a response tree including branch nodes on a path from a root node of the original tree to each of the candidate nodes, and from the root node of the response tree When a level in which two or more nodes exist is met during the process of proceeding to a leaf node corresponding to a response to a query, a query for selecting any one node among the two or more nodes is generated, and according to the answer to the query Any one of the two or more nodes may be selected, and when the selected node is any one of the candidate nodes, the selected node may be provided as a response to the query.

상기 응답 트리는 하나의 노드만 포함하는 레벨인 질의 생략 레벨을 적어도 하나 이상 포함하고, 상기 장치는 상기 과정 중 상기 질의 생략 레벨을 만나는 경우, 상기 둘 이상의 노드 중 어느 하나의 노드를 선택하는 과정을 생략하고, 다음 레벨로 이동할 수 있다.The response tree includes at least one query elision level, which is a level including only one node, and the device skips the process of selecting any one of the two or more nodes when the query elision level is met during the process and move to the next level.

상기 응답 트리는 N(N은 자연수)개의 레벨로 구성되고, M개(M은 N 미만의 자연수)의 질의응답 생략 레벨을 포함하고, 상기 장치는 N-M개의 레벨 각각에 대한 질의를 생성하고, 그에 대한 답변에 따라 각각의 레벨 상의 둘 이상의 노드 중 어느 하나의 노드를 선택할 수 있다.The response tree is composed of N (N is a natural number) levels, and M (M is a natural number less than N) Q&A elided levels, and the device generates a query for each of the NM levels, and Depending on the answer, any one of the two or more nodes on each level can be selected.

상기 원본 트리의 적어도 하나의 리프 노드들 각각에는 후보 질의, 상기 후보 질의에 대한 답변이 태깅(Tagging)되어 있고, 상기 장치는 상기 사용자의 쿼리와 상기 적어도 하나의 리프 노드들 각각에 태깅된 후보 질의 및 상기 답변 중 적어도 하나를 이용하여 상기 후보 노드들을 추출할 수 있다.A candidate query and an answer to the candidate query are tagged in each of the at least one leaf nodes of the original tree, and the apparatus provides the user's query and the candidate query tagged to each of the at least one leaf nodes. and at least one of the answers may be used to extract the candidate nodes.

상기 쿼리는 상기 사용자가 답변을 얻고자 하는 내용에 대한 사용자 질의를 포함하고, 상기 장치는 소정의 우선순위에 따라 상기 사용자 질의와 상기 적어도 하나의 리프 노드들 각각에 태깅 된 항목들을 비교하여 상기 후보 노드들을 추출할 수 있다.The query includes a user query for a content for which the user wants to obtain an answer, and the device compares the user query with items tagged in each of the at least one leaf node according to a predetermined priority to determine the candidate. Nodes can be extracted.

상기 원본 트리의 적어도 하나의 리프 노드들 각각에는 상기 후보 질의 및 상기 답변 외에 상기 후보 질의 및 상기 답변 중 적어도 하나와 관련된 개체명이 더 태깅 되어 있고, 상기 장치는 후보 질의 및 상기 답변을 이용하여 추출된 후보 노드들의 수가 소정의 제1 임계 수량 미만인 경우, 상기 사용자의 쿼리와 상기 개체명을 이용하여 상기 후보 노드들을 추출할 수 있다.Each of the at least one leaf nodes of the original tree is further tagged with an entity name related to at least one of the candidate query and the answer in addition to the candidate query and the answer, and the device extracts the extracted query using the candidate query and the answer. When the number of candidate nodes is less than a predetermined first threshold quantity, the candidate nodes may be extracted using the user's query and the entity name.

상기 장치는 상기 후보 노드들을 추출함에 있어서, 추출된 후보 노드들의 수가 소정의 제2 임계 수량 미만인 경우, 미리 구축된 사전을 이용하여 상기 쿼리에 포함되는 요청어와 관련이 있는 변형 요청어를 포함하는 변형 쿼리를 생성하고, 상기 변형 쿼리를 이용하여 상기 후보 노드들을 추출할 수 있다.When the apparatus extracts the candidate nodes, when the number of extracted candidate nodes is less than a predetermined second threshold quantity, the apparatus includes a modification request word related to the request word included in the query by using a pre-built dictionary. A query may be generated and the candidate nodes may be extracted using the modified query.

본 발명에 따르면 사용자가 자신의 질의에 대한 답변을 획득하는 과정에 있어서, 선택이 필요 없는 내용에 대한 선택 과정이 생략되어 응답 검색의 절차가 간소화된다.According to the present invention, in the process of the user obtaining an answer to his/her query, the process of selecting content that does not require selection is omitted, thereby simplifying the process of searching for an answer.

또한 사용자의 최초 쿼리로부터 사용자의 질의 사항을 대략적으로 특정하고, 특정된 내용에 따라 대략적인 응답의 범위를 결정함으로써 질의응답 과정의 효율성을 향상시킬 수 있다.In addition, the efficiency of the question answering process can be improved by roughly specifying the user's query from the user's initial query and determining the approximate range of the response according to the specified content.

또한 상술한 간소화 및 효율화에도 불구하고 사용자의 질의에 대한 응답 정확도를 향상시킬 수 있다.In addition, in spite of the above-described simplification and efficiency, it is possible to improve the accuracy of response to a user's query.

도 1은 본 발명의 일 실시예에 따른 시스템의 구성을 개략적으로 도시한 도면이다.
도 2는 본 발명의 일 실시예에 따른 서버(100)에 구비되는 답변 제공 장치(110)의 구성을 개략적으로 도시한 도면이다.
도 3은 인터넷 뱅킹 시스템에서 사용되는 예시적인 원본 트리(510)를 도시한 도면이다.
도 4는 도 3의 원본 트리(510)로부터 생성된 응답 트리(610)를 도시한 도면이다.
도 5는 본 발명의 일 실시예에 따른 사용자 단말(200)에 표시되는 화면(710)의 예시이다.
도 6은 본 발명의 일 실시예에 따른 답변 제공 장치(110)에 의해 수행되는 질의응답 제공 방법을 설명하기 위한 흐름도이다.
1 is a diagram schematically illustrating the configuration of a system according to an embodiment of the present invention.
2 is a diagram schematically illustrating the configuration of an answer providing apparatus 110 provided in the server 100 according to an embodiment of the present invention.
3 is a diagram illustrating an exemplary source tree 510 used in an Internet banking system.
FIG. 4 is a diagram illustrating a response tree 610 generated from the original tree 510 of FIG. 3 .
5 is an example of a screen 710 displayed on the user terminal 200 according to an embodiment of the present invention.
6 is a flowchart illustrating a question answer providing method performed by the answer providing apparatus 110 according to an embodiment of the present invention.

본 발명은 다양한 변환을 가할 수 있고 여러 가지 실시예를 가질 수 있는 바, 특정 실시예들을 도면에 예시하고 상세한 설명에 상세하게 설명하고자 한다. 본 발명의 효과 및 특징, 그리고 그것들을 달성하는 방법은 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다. 그러나 본 발명은 이하에서 개시되는 실시예들에 한정되는 것이 아니라 다양한 형태로 구현될 수 있다. Since the present invention can apply various transformations and can have various embodiments, specific embodiments are illustrated in the drawings and described in detail in the detailed description. Effects and features of the present invention, and a method of achieving them, will become apparent with reference to the embodiments described below in detail in conjunction with the drawings. However, the present invention is not limited to the embodiments disclosed below and may be implemented in various forms.

이하, 첨부된 도면을 참조하여 본 발명의 실시예들을 상세히 설명하기로 하며, 도면을 참조하여 설명할 때 동일하거나 대응하는 구성 요소는 동일한 도면부호를 부여하고 이에 대한 중복되는 설명은 생략하기로 한다.Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings, and when described with reference to the drawings, the same or corresponding components are given the same reference numerals, and the overlapping description thereof will be omitted. .

이하의 실시예에서, 제1, 제2 등의 용어는 한정적인 의미가 아니라 하나의 구성 요소를 다른 구성 요소와 구별하는 목적으로 사용되었다. 이하의 실시예에서, 단수의 표현은 문맥상 명백하게 다르게 뜻하지 않는 한, 복수의 표현을 포함한다. 이하의 실시예에서, 포함하다 또는 가지다 등의 용어는 명세서상에 기재된 특징, 또는 구성요소가 존재함을 의미하는 것이고, 하나 이상의 다른 특징들 또는 구성요소가 부가될 가능성을 미리 배제하는 것은 아니다. 도면에서는 설명의 편의를 위하여 구성 요소들이 그 크기가 과장 또는 축소될 수 있다. 예컨대, 도면에서 나타난 각 구성의 크기 및 형태는 설명의 편의를 위해 임의로 나타내었으므로, 본 발명이 반드시 도시된 바에 한정되지 않는다. In the following embodiments, terms such as first, second, etc. are used for the purpose of distinguishing one component from another, not in a limiting sense. In the following examples, the singular expression includes the plural expression unless the context clearly dictates otherwise. In the following embodiments, terms such as include or have means that the features or components described in the specification are present, and the possibility of adding one or more other features or components is not excluded in advance. In the drawings, the size of the components may be exaggerated or reduced for convenience of description. For example, since the size and shape of each configuration shown in the drawings are arbitrarily indicated for convenience of description, the present invention is not necessarily limited to the illustrated bar.

도 1은 본 발명의 일 실시예에 따른 시스템의 구성을 개략적으로 도시한 도면이다.1 is a diagram schematically illustrating the configuration of a system according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 일 실시예에 따른 시스템은 서버(100), 사용자 단말(200) 및 통신망(300)을 포함할 수 있다.Referring to FIG. 1 , a system according to an embodiment of the present invention may include a server 100 , a user terminal 200 , and a communication network 300 .

본 발명의 일 실시예에 따른 시스템은 원본 트리에 기초하여 사용자의 쿼리와 관련된 응답 만을 포함하는 응답 트리를 생성하고, 생성된 응답 트리에 기초하여 사용자의 쿼리에 대한 응답을 제공할 수 있다.The system according to an embodiment of the present invention may generate a response tree including only responses related to the user's query based on the original tree, and may provide a response to the user's query based on the generated response tree.

본 발명에서 '트리(Tree)'는 계층적인 구조의 자료를 나타내기 위한 수단으로, 적어도 하나 이상의 노드(Node)로 구성되는 자료 구조를 의미할 수 있다. 본 발명에서 트리는 하나의 루트 노드(Root Node)를 가지며, 루트 노드는 0개 이상의 자식 노드(Child Node)를 가질 수 있다. 또한 0개 이상의 자식 노드 각각 또한 0개 이상의 자식 노드를 가질 수 있으며 이는 각각의 자식 노드에 대해서 반복적으로 정의될 수 있다. 트리에 포함된 노드들 간에는 간선(Edge)으로 연결될 수 있으나, 트리는 사이클(Cycle)(또는 폐회로)을 포함하지 않는다. In the present invention, a 'tree' is a means for representing data having a hierarchical structure, and may mean a data structure composed of at least one node. In the present invention, a tree has one root node, and the root node may have zero or more child nodes. In addition, each of the 0 or more child nodes may also have 0 or more child nodes, which may be repeatedly defined for each child node. Nodes included in the tree may be connected by edges, but the tree does not include a cycle (or closed circuit).

본 발명에서 '루트 노드'(Root Node)는 부모 노드(Parent Node, 또는 상위 노드)가 없는 최상위 노드를 의미할 수 있다. 이와 같은 루트 노드는 1개의 트리에서 1개만 존재할 수 있다.In the present invention, a 'root node' may mean an uppermost node without a parent node (or a parent node). Only one such root node can exist in one tree.

본 발명에서 '리프 노드'(Leaf Node)는 자식 노드(Child Node, 또는 하위 노드)가 없는 노드를 의미할 수 있다. 이와 같은 리프 노드는 1개의 트리에서 복수개일 수 있다. 본 발명에서 리프 노드에는 후보 질의, 그에 대한 답변 및 기타 태그들이 태깅되어 있을 수 있으며, 이에 대한 상세한 설명은 후술한다.In the present invention, a 'leaf node' may mean a node having no child nodes (or child nodes). Such leaf nodes may be plural in one tree. In the present invention, candidate queries, answers, and other tags may be tagged in leaf nodes, and a detailed description thereof will be provided later.

본 발명에서 노드의 '레벨'(Level)은 트리에서 특정 깊이를 가지는 노드의 집합을 의미할 수 있다. 이때 '깊이'는 루트 노드에서 어떤 노드에 도달하기 위해 거쳐야 하는 간선(Edge)의 수를 의미할 수 있다.In the present invention, a 'level' of a node may mean a set of nodes having a specific depth in the tree. In this case, the 'depth' may mean the number of edges that the root node must pass through to reach a certain node.

본 발명에서 '원본 트리'는 질의응답 제공 시스템에서 제공 가능한 모든 리프 노드들을 포함하는 트리를 의미할 수 있다. 가령 질의응답 제공 시스템에서 제공 가능한 질의-응답 셋이 100개 인 경우, 원본 트리는 100개의 리프 노드들을 포함하는 트리를 의미할 수 있다.In the present invention, the 'original tree' may refer to a tree including all leaf nodes that can be provided by the question and answer providing system. For example, when the number of Q&A sets available in the Q&A system is 100, the original tree may mean a tree including 100 leaf nodes.

본 발명에서 '응답 트리'는 사용자의 쿼리와 관련된 응답을 포함하는 리프 노드들만 포함하는 트리를 의미할 수 있다. 가령 질의응답 제공 시스템에서 제공 가능한 100개의 질의-응답 셋 중에 사용자의 쿼리와 관련된 질의-응답 셋이 10개 인경우, 응답 트리는 10개의 리프 노드들을 포함하는 트리를 의미할 수 있다. 이와 같은 응답 트리는 사용자의 쿼리에 기초하여 생성될 수 있으며, 이에 대한 상세한 설명은 후술한다.In the present invention, the 'response tree' may mean a tree including only leaf nodes including responses related to a user's query. For example, when the number of query-response sets related to a user's query is 10 among 100 question-response sets that can be provided by the question-and-answer system, the response tree may mean a tree including 10 leaf nodes. Such a response tree may be generated based on a user's query, and a detailed description thereof will be described later.

본 발명에서 '사용자의 쿼리'(Query)는 서버(100)로 전송되는 사용자의 요청을 의미할 수 있다. 가령 사용자의 쿼리는 자신의 문의사항에 대한 답변을 구하는 요청일 수 있다. 다만 이와 같은 요청은 예시적인것으로 본 발명의 사상이 이에 한정되는 것은 아니다. In the present invention, a 'user's query' may mean a user's request transmitted to the server 100 . For example, a user's query may be a request for an answer to his/her inquiry. However, such a request is exemplary and the spirit of the present invention is not limited thereto.

본 발명의 일 실시예에 따른 사용자 단말(200)은 서버(100)에 의해 제공되는 질의응답 제공 서비스를 이용할 수 있도록 사용자와 서버(100)를 매개하는 다양한 형태의 장치를 의미할 수 있다. 바꾸어 말하면, 본 발명의 일 실시예에 따른 사용자 단말(200)은 사용자의 질의 및 그에 대한 답변과 관련된 데이터를 서버(100)와 송수신 하는 다양한 장치를 의미할 수 있다. 이와 같은 사용자 단말(200)은 도 1에 도시된 바와 같이, 휴대용 단말(201, 202, 203)을 의미할 수도 있고, 컴퓨터(204)를 의미할 수도 있다. The user terminal 200 according to an embodiment of the present invention may refer to various types of devices that mediate the user and the server 100 to use the question and answer providing service provided by the server 100 . In other words, the user terminal 200 according to an embodiment of the present invention may refer to various devices that transmit and receive data related to a user's query and an answer thereto with the server 100 . As shown in FIG. 1 , such a user terminal 200 may mean portable terminals 201 , 202 , and 203 , or may mean a computer 204 .

한편 사용자 단말(200)은 상술한 기능을 수행하기 위해 콘텐츠 등을 표시하기 위한 표시수단, 이러한 콘텐츠에 대한 사용자의 입력을 획득하기 위한 입력수단을 구비할 수 있다. 이 때 입력수단 및 표시수단은 다양하게 구성될 수 있다. 가령 입력수단은 키보드, 마우스, 트랙볼, 마이크, 버튼, 터치패널 등을 포함할 수 있으나 이에 한정되지 않는다. Meanwhile, the user terminal 200 may include a display means for displaying content and the like in order to perform the above-described function, and an input means for obtaining a user's input for the content. In this case, the input means and the display means may be configured in various ways. For example, the input means may include, but is not limited to, a keyboard, a mouse, a trackball, a microphone, a button, a touch panel, and the like.

본 발명의 일 실시예에 따른 통신망(300)은 시스템의 각 구성 간의 데이터 송수신을 매개하는 통신망을 의미할 수 있다. 가령 통신망(300)은 LANs(Local Area Networks), WANs(Wide Area Networks), MANs(Metropolitan Area Networks), ISDNs(Integrated Service Digital Networks) 등의 유선 네트워크나, 무선 LANs, CDMA, 블루투스, 위성 통신 등의 무선 네트워크를 망라할 수 있으나, 본 발명의 범위가 이에 한정되는 것은 아니다.The communication network 300 according to an embodiment of the present invention may refer to a communication network that mediates data transmission and reception between respective components of the system. For example, the communication network 300 may include wired networks such as LANs (Local Area Networks), WANs (Wide Area Networks), MANs (Metropolitan Area Networks), ISDNs (Integrated Service Digital Networks), wireless LANs, CDMA, Bluetooth, satellite communication, etc. may cover a wireless network, but the scope of the present invention is not limited thereto.

본 발명의 일 실시예에 따른 서버(100)는 원본 트리에 기초하여 사용자의 쿼리와 관련된 응답 만을 포함하는 응답 트리를 생성하고, 생성된 응답 트리에 기초하여 사용자의 쿼리에 대한 응답을 제공할 수 있다.The server 100 according to an embodiment of the present invention may generate a response tree including only responses related to the user's query based on the original tree, and provide a response to the user's query based on the generated response tree. have.

도 2는 본 발명의 일 실시예에 따른 서버(100)에 구비되는 답변 제공 장치(110)의 구성을 개략적으로 도시한 도면이다.2 is a diagram schematically illustrating the configuration of an answer providing apparatus 110 provided in the server 100 according to an embodiment of the present invention.

도 2를 참조하면, 본 발명의 일 실시예에 따른 답변 제공 장치(110)는 통신부(111), 제어부(112) 및 메모리(113)를 포함할 수 있다. 또한 도면에는 도시되지 않았으나, 본 실시예에 따른 답변 제공 장치(110)는 입/출력부, 프로그램 저장부 등을 더 포함할 수 있다. Referring to FIG. 2 , the answer providing apparatus 110 according to an embodiment of the present invention may include a communication unit 111 , a control unit 112 , and a memory 113 . Also, although not shown in the drawings, the answer providing apparatus 110 according to the present embodiment may further include an input/output unit, a program storage unit, and the like.

통신부(111)는 답변 제공 장치(110)가 사용자 단말(200) 및/또는 외부장치(미도시)와 같은 다른 네트워크 장치와 유무선 연결을 통해 제어 신호 또는 데이터 신호와 같은 신호를 송수신하기 위해 필요한 하드웨어 및 소프트웨어를 포함하는 장치일 수 있다. The communication unit 111 includes hardware necessary for the answer providing device 110 to transmit and receive signals such as control signals or data signals through wired/wireless connection with other network devices such as the user terminal 200 and/or an external device (not shown). and software.

제어부(112)는 프로세서(Processor)와 같이 데이터를 처리할 수 있는 모든 종류의 장치를 포함할 수 있다. 여기서, '프로세서(Processor)'는, 예를 들어 프로그램 내에 포함된 코드 또는 명령으로 표현된 기능을 수행하기 위해 물리적으로 구조화된 회로를 갖는, 하드웨어에 내장된 데이터 처리 장치를 의미할 수 있다. 이와 같이 하드웨어에 내장된 데이터 처리 장치의 일 예로써, 마이크로프로세서(Microprocessor), 중앙처리장치(Central Processing Unit: CPU), 프로세서 코어(Processor Core), 멀티프로세서(Multiprocessor), ASIC(Application-Specific Integrated Circuit), FPGA(Field Programmable Gate Array) 등의 처리 장치를 망라할 수 있으나, 본 발명의 범위가 이에 한정되는 것은 아니다.The controller 112 may include all kinds of devices capable of processing data, such as a processor. Here, the 'processor' may refer to, for example, a data processing device embedded in hardware having a physically structured circuit to perform a function expressed as a code or command included in a program. As an example of the data processing device embedded in the hardware as described above, a microprocessor, a central processing unit (CPU), a processor core, a multiprocessor, an application-specific integrated (ASIC) Circuit) and a processing device such as an FPGA (Field Programmable Gate Array) may be included, but the scope of the present invention is not limited thereto.

메모리(113)는 답변 제공 장치(110)가 처리하는 데이터를 일시적 또는 영구적으로 저장하는 기능을 수행한다. 메모리는 자기 저장 매체(Magnetic Storage Media) 또는 플래시 저장 매체(Flash Storage Media)를 포함할 수 있으나, 본 발명의 범위가 이에 한정되는 것은 아니다. 가령 메모리(113)는 원본 트리를 구성하는 데이터들(가령 데이터의 구조, 리프 노드들 각각에 태깅된 정보들 등) 및 응답 트리를 구성하는 데이터들을 일시적 및/또는 영구적으로 저장할 수 있다. 다만 이는 예시적인것으로 본 발명의 사상이 이에 한정되는 것은 아니다.The memory 113 performs a function of temporarily or permanently storing data processed by the answer providing device 110 . The memory may include a magnetic storage medium or a flash storage medium, but the scope of the present invention is not limited thereto. For example, the memory 113 may temporarily and/or permanently store data constituting the original tree (eg, data structure, information tagged to each leaf node, etc.) and data constituting the response tree. However, this is an example, and the spirit of the present invention is not limited thereto.

이하에서는 본 발명의 일 실시예에 따른 답변 제공 장치(110)가 서버(100)에 구비되고, 사용자가 사용자 단말(200)을 이용하여 서버(100)로 쿼리를 전송하는 것을 전제로 답변 제공 장치(110)의 동작을 설명한다. 다만 이와 같은 구성은 예시적인것으로, 답변 제공 장치(110)는 사용자 단말(200)에 구비될 수도 외부장치(미도시)에 구비될 수도 있다.Hereinafter, it is assumed that the answer providing apparatus 110 according to an embodiment of the present invention is provided in the server 100 , and a user transmits a query to the server 100 using the user terminal 200 . The operation of (110) will be described. However, such a configuration is exemplary, and the answer providing apparatus 110 may be provided in the user terminal 200 or may be provided in an external device (not shown).

도 3은 인터넷 뱅킹 시스템에서 사용되는 예시적인 원본 트리(510)를 도시한 도면이다.3 is a diagram illustrating an exemplary source tree 510 used in an Internet banking system.

예시적인 원본 트리(510)는 도 3에 도시된 바와 같이 3개의 레벨(Level 1, Level 2, Level 3)로 구성되고, 각각의 레벨은 하나 이상의 노드들을 포함할 수 있다. 가령 첫 번째 레벨(Level 1)의 경우 루트 노드(N11)를 포함할 수 있고, 두 번째 레벨(Level 2)의 경우 루트 노드(N11)에 대한 세 개의 자식 노드들(N21, N22, N23)을 포함할 수 있다. 물론 세 번째 레벨(Leve 3)의 경우 두 번째 레벨(Level 2)의 노드들(N21, N22, N23)에 대한 자식 노드들(N31 내지 N36)을 포함할 수 있다.The exemplary original tree 510 is composed of three levels (Level 1, Level 2, and Level 3) as shown in FIG. 3 , and each level may include one or more nodes. For example, the first level (Level 1) may include a root node (N11), and in the second level (Level 2), three child nodes (N21, N22, N23) of the root node (N11) are may include Of course, in the case of the third level (Leve 3), child nodes N31 to N36 of the nodes N21, N22, and N23 of the second level (Level 2) may be included.

한편 세 번째 레벨(Leve 3)에 포함되는 노드들(N31 내지 N36)은 원본 트리(510)에 대한 리프 노드들에 해당할 수 있으며, 각각의 노드에는 후보 질의, 그에 대한 답변 및 기타 태그들(T1 내지 T6)이 태깅(Tagging)되어 있을 수 있다. 가령 노드(N31)는 OTP 등록에 관한 정보를 포함하는 노드로써, 노드(N31)에는 OTP 등록에 관한 질의들(Q1 내지 Q3), 그에 대한 답변(A1) 및 기타 태그들(Tag 1, Tag 2)이 태깅되어 있을 수 있다.Meanwhile, nodes N31 to N36 included in the third level (Leve 3) may correspond to leaf nodes for the original tree 510, and each node includes candidate queries, answers, and other tags ( T1 to T6) may be tagged. For example, the node N31 is a node including information about OTP registration, and the node N31 includes queries (Q1 to Q3) related to OTP registration, answers A1, and other tags (Tag 1, Tag 2). ) may be tagged.

다만 도 3에 도시된 바와 같은 트리의 구조 및/또는 내용은 예시적인 것으로 본 발명의 사상이 이에 한정되는 것은 아니다. 따라서 트리는 도 3에 도시된 것 보다 더 많거나 더 적은 레벨로 구성될 수 있고, 리프 노드들이 서로 다른 레벨에 위치할 수도 있다. 다만 이하에서는 설명의 편의를 위하여 원본 트리가 도 3에 도시된 바와 같음을 전제로 설명한다.However, the structure and/or contents of the tree as shown in FIG. 3 are exemplary and the spirit of the present invention is not limited thereto. Accordingly, the tree may be composed of more or fewer levels than shown in FIG. 3 , and leaf nodes may be located at different levels. However, hereinafter, for convenience of explanation, it is assumed that the original tree is as shown in FIG. 3 .

본 발명의 일 실시예에 따른 답변 제공 장치(110)는 사용자의 쿼리를 수신할 수 있다. 전술한 바와 같이 본 발명에서 사용자의 쿼리는 답변 제공 장치(110)로 전송되는 사용자의 요청을 의미할 수 있다. 가령 사용자의 쿼리는 사용자의 문의사항에 대한 답변을 구하는 요청일 수 있다. 따라서 본 발명의 일 실시예에서 사용자의 쿼리는 사용자의 질의(또는 질의 내용)를 포함할 수 있다.The answer providing apparatus 110 according to an embodiment of the present invention may receive a user's query. As described above, in the present invention, a user's query may mean a user's request transmitted to the answer providing apparatus 110 . For example, the user's query may be a request to obtain an answer to the user's inquiry. Accordingly, in an embodiment of the present invention, the user's query may include the user's query (or query content).

본 발명의 일 실시예에 따른 답변 제공 장치(110)는 원본 트리(510)에서 수신된 사용자의 쿼리와 관련된 리프 노드들을 후보 노드들로 추출할 수 있다. 이때 '후보 노드들'은 사용자의 쿼리에 대한 응답으로써 제공될 답변을 포함하는 것으로 예상되는 노드들을 의미할 수 있다.The answer providing apparatus 110 according to an embodiment of the present invention may extract leaf nodes related to the user's query received from the original tree 510 as candidate nodes. In this case, 'candidate nodes' may mean nodes expected to include an answer to be provided as a response to a user's query.

본 발명의 일 실시예에 따른 답변 제공 장치(110)는 사용자의 쿼리(또는 쿼리 내용)와 원본 트리(510)의 적어도 하나의 리프 노드들(N31 내지 N36) 각각에 태깅된 정보들을 이용하여 후보 노드들을 추출할 수 있다.The answer providing apparatus 110 according to an embodiment of the present invention uses information tagged to each of the user's query (or query content) and at least one leaf node N31 to N36 of the original tree 510 as a candidate. Nodes can be extracted.

일 실시예에서 답변 제공 장치(110)는 사용자의 쿼리에 포함된 질의와 리프 노드들(N31 내지 N36) 각각에 태깅된 항목들을 비교하여 후보 노드들을 추출할 수 있다. 이때 답변 제공 장치(110)는 소정의 우선순위에 따라 쿼리에 포함될 질의와 리프 노드들(N31 내지 N36) 각각에 태깅된 항목들을 비교하여 후보 노드들을 추출할 수 있다. In an embodiment, the answer providing apparatus 110 may extract candidate nodes by comparing the query included in the user's query with items tagged in each of the leaf nodes N31 to N36. In this case, the answer providing apparatus 110 may extract candidate nodes by comparing the items tagged in each of the leaf nodes N31 to N36 with the query to be included in the query according to a predetermined priority.

가령 답변 제공 장치(110)는 사용자의 쿼리에 포함될 질의와 리프 노드들(N31 내지 N36)에 태깅된 질의(예를 들어 N31의 Q1, Q2, Q3), 답변(예를 들어 N31의 A1), 기타 태그(예를 들어 N31의 Tag 1, Tag 2) 순으로 비교하여 후보 노드들을 추출할 수 있다. For example, the answer providing device 110 includes a query to be included in the user's query and a query tagged to the leaf nodes N31 to N36 (eg, Q1, Q2, Q3 of N31), an answer (eg, A1 of N31), Candidate nodes can be extracted by comparing in order of other tags (eg, Tag 1 and Tag 2 of N31).

바꾸어 말하면 답변 제공 장치(110)는 사용자 단말(200)로부터 수신된 질의와 리프 노드들(N31 내지 N36) 상의 질의를 먼저 비교하고, 그 다음 답변을 비교하고, 그 다음 기타 태그를 교하여 후보 노드들을 추출할 수 있다. 다만 이와 같은 순서는 예시적인것으로 본 발명의 사상이 이에 한정되는 것은 아니다.In other words, the answer providing apparatus 110 first compares the query received from the user terminal 200 with the query on the leaf nodes N31 to N36, then compares the answers, and then exchanges other tags to be a candidate node. can be extracted. However, such an order is exemplary and the spirit of the present invention is not limited thereto.

예를 들어 사용자의 쿼리에 "오티피 등록 어떻게 하나요?"라는 질의가 포함되어 있는 경우, 답변 제공 장치(110)는 리프 노드들(N31 내지 N36) 중 사용자의 질의에 대응되는 질의를 포함하는 리프 노드들(N31, N32)을 후보 노드들로 추출할 수 있다.For example, if the user's query includes a query "How do I register OTP?", the answer providing apparatus 110 provides a leaf including a query corresponding to the user's query among the leaf nodes N31 to N36. The nodes N31 and N32 may be extracted as candidate nodes.

선택적 실시예에서, 본 발명의 일 실시예에 따른 답변 제공 장치(110)는 사용자의 쿼리로부터 파악된 개체명(또는 소정의 키워드)과 리프 노드들에 태깅된 개체명(또는 소정의 키워드)을 비교하는 방식으로 후보 노드들을 추출할 수도 있다. 이를 위해서 리프 노드들(N31 내지 N36)에는 기타 태그로써 개체명이 태깅 되어 있을 수 있다. 다만 이는 예시적인것으로 본 발명의 사상이 이에 한정되는 것은 아니다.In an optional embodiment, the answer providing apparatus 110 according to an embodiment of the present invention provides the entity name (or predetermined keyword) identified from the user's query and the entity name (or predetermined keyword) tagged to the leaf nodes. Candidate nodes may be extracted by comparison. To this end, the leaf nodes N31 to N36 may have entity names tagged with other tags. However, this is an example, and the spirit of the present invention is not limited thereto.

선택적 실시예에서, 답변 제공 장치(110)는 리프 노드들(N31 내지 N36)에 태깅된 질의 및 답변을 이용하여 추출된 후보 노드들의 수가 소정의 제1 임계 수량 미만인 경우에만 개체명을 이용하여 후보 노드들을 추출할 수 있다. 이때 제1 임계 수량은 시스템의 구성 및/또는 용도에 따라 적절하게 설정될 수 있다.In an optional embodiment, the answer providing apparatus 110 uses the entity name only when the number of candidate nodes extracted using the query and answer tagged to the leaf nodes N31 to N36 is less than a predetermined first threshold quantity. Nodes can be extracted. In this case, the first threshold quantity may be appropriately set according to the configuration and/or use of the system.

본 발명의 일 실시예에 따른 답변 제공 장치(110)는 상술한 과정에 의해 추출횐 후보 노드들의 수량이 제2 임계 수량 미만인 경우, 미리 구축된 사전을 이용하여 수신된 쿼리에 포함되는 요청어와 관련이 있는 변형 요청어를 포함하는 변형 쿼리를 생성하고, 변형 쿼리를 이용하여 후보 노드들을 추출할 수도 있다. 이때 요청어 간에 '관련이 있는'것은 상호간에 동의어이거나 상호간에 소정의 관계에 있는 것으로, 미리 설정된 것을 의미할 수 있다. 또한 제2 임계 수량은 시스템의 구성 및/또는 용도에 따라 적절하게 설정될 수 있다.When the number of candidate nodes extracted by the above-described process is less than the second threshold quantity, the answer providing apparatus 110 according to an embodiment of the present invention relates to a request word included in a received query using a pre-built dictionary. It is also possible to generate a transformation query including a transformation request word with In this case, the 'relationship' between the requested words is synonymous with each other or has a predetermined relationship with each other, and may mean a preset. In addition, the second threshold quantity may be appropriately set according to the configuration and/or use of the system.

본 발명에서 답변 제공 장치(110)는 다양한 방식으로 두 개의 항목 간을 비교할 수 있다. 가령 답변 제공 장치(110)는 사용자의 쿼리에 포함된 질의와 리프 노드들(N31 내지 N36)에 태깅된 질의들을 비교함에 있어서, 각각의 항목에 대한 특징 벡터(Feature Vector)들의 거리를 산출하는 방식으로 비교할 수 있다. 다만 이와 같은 방식은 예시적인것으로 본 발명의 사상이 이에 한정되는 것은 아니다.In the present invention, the answer providing apparatus 110 may compare two items in various ways. For example, when the answer providing apparatus 110 compares the query included in the user's query with the queries tagged in the leaf nodes N31 to N36, the distance between the feature vectors for each item is calculated. can be compared with However, such a method is exemplary and the spirit of the present invention is not limited thereto.

본 발명의 일 실시예에 따른 답변 제공 장치(110)는 원본 트리(510)의 루트 노드(N11)로부터 추출된 후보 노드들 각각에 이르는 경로상에 있는 가지 노드들을 포함하는 응답 트리를 생성할 수 있다.The answer providing apparatus 110 according to an embodiment of the present invention may generate a response tree including branch nodes on a path from the root node N11 of the original tree 510 to each of the extracted candidate nodes. have.

도 4는 도 3의 원본 트리(510)로부터 생성된 응답 트리(610)를 도시한 도면이다.FIG. 4 is a diagram illustrating a response tree 610 generated from the original tree 510 of FIG. 3 .

설명의 편의를 위해 원본 트리(510)가 도 3에 도시된 바와 같으며, 사용자의 쿼리에 "오티피 등록 어떻게 하나요?"라는 질의가 포함되어 있고, 이에 따라 답변 제공 장치(110)가 오티피 등록과 관련된 정보를 포함하는 리프 노드들(N31, N32)을 후보 노드들로 추출하였음을 가정하여 설명한다.For convenience of explanation, the original tree 510 is as shown in FIG. 3 , and the user's query includes a query "How do I register OTP?" It is assumed that leaf nodes N31 and N32 including registration-related information are extracted as candidate nodes.

상술한 가정 하에, 본 발명의 일 실시예에 따른 답변 제공 장치(110)는 원본 트리(510)의 루트 노드(N11)로부터 추출된 후보 노드들(N31, N32)들 각각에 이르는 경로상에 있는 가지 노드들(N21)을 포함하는 응답 트리(610)를 생성할 수 있다. 이때 응답 트리(610)는 원본 트리(510) 상의 노드들로써 선택된 노드들(N11, N21, N31, N32) 각각에 대응되는 노드들(N'11, N'21, N'31, N'32)을 포함하도록 구성될 수 있다.Under the above-mentioned assumption, the answer providing apparatus 110 according to an embodiment of the present invention is located on a path from the root node N11 of the original tree 510 to each of the candidate nodes N31 and N32. A response tree 610 including branch nodes N21 may be generated. At this time, the response tree 610 is nodes N'11, N'21, N'31, N'32 corresponding to each of the nodes N11, N21, N31, and N32 selected as nodes on the original tree 510. It may be configured to include

본 발명의 일 실시예에 따른 답변 제공 장치(110)는 생성된 응답 트리(610)를 이용하여 사용자의 쿼리에 대한 응답을 제공할 수 있다. 이를 위하여 답변 제공 장치(110)는 응답 트리(610)의 루트 노드(N'11)로부터 응답 트리(610)의 리프 노드들(N'31, N'32)의 방향(P)으로 진행하면서, 최종적으로 리프 노드들(N'31, N'32) 중 어느 하나를 응답으로써 선택할 수 있다. 이때 방향(P)은 응답 트리(610)의 낮은 레벨에서 높은 레벨로 이동하는 방향 또는 루트 노드에서 리프 노드로 이동하는 방향을 의미할 수 있다.The answer providing apparatus 110 according to an embodiment of the present invention may provide a response to the user's query by using the generated response tree 610 . To this end, the answer providing apparatus 110 proceeds from the root node N'11 of the response tree 610 in the direction P of the leaf nodes N'31 and N'32 of the response tree 610, Finally, any one of the leaf nodes N'31 and N'32 may be selected as a response. In this case, the direction P may mean a direction moving from a low level to a high level of the response tree 610 or a direction moving from a root node to a leaf node.

보다 구체적으로 답변 제공 장치(110)는 상술한 방향(P)으로의 진행 과정 중 둘 이상의 노드가 존재하는 레벨을 만나는 경우, 둘 이상의 노드 중 어느 하나의 노드를 선택하기 위한 질의를 생성하여 사용자 단말(200)에 제공할 수 있다. 또한 답변 제공 장치(110)는 제공된 질의에 대한 사용자의 답변을 수신하여 둘 이상의 노드 중 어느 하나의 노드를 선택할 수 있다. In more detail, the answer providing apparatus 110 generates a query for selecting any one of the two or more nodes when meeting a level in which two or more nodes exist during the process in the above-described direction P, and the user terminal (200) can be provided. Also, the answer providing apparatus 110 may receive a user's answer to the provided query and select any one of the two or more nodes.

한편 답변 제공 장치(110)는 하나의 노드만을 포함하는 레벨인 질의 생략 레벨을 만나는 경우, 둘 이상의 노드 중 어느 하나의 노드를 선택하는 과정을 생략하고 다음 레벨로 이동할 수 있다. 가령 답변 제공 장치(110)가 응답 트리(610)에서 노드(N'21)만을 포함하는 질의 생략 레벨(Level 2)을 만나는 경우, 둘 이상의 노드 중 어느 하나의 노드를 선택하는 과정을 생략 다음 레벨(Level 3)로 이동할 수 있다.Meanwhile, when the answer providing apparatus 110 meets the query elision level, which is a level including only one node, the process of selecting any one node from among two or more nodes may be omitted and move to the next level. For example, when the answer providing device 110 meets the query omission level (Level 2) including only the node N'21 in the response tree 610, the process of selecting any one node from among two or more nodes is omitted. You can move to (Level 3).

본 발명의 일 실시예에 따른 답변 제공 장치(110)는 응답 트리(610)의 리프 노드들(N'31, N'32)에 대한 질의를 생성하여 그에 대한 답변을 수신할 때까지 상술한 동작을 반복하여 수행할 수 있다. 바꾸어말하면 답변 제공 장치(110)는 사용자의 답변에 따라 선택된 노드가 리프 노드들(N'31, N'32) 중 어느 하나인 경우, 선택된 노드를 사용자의 쿼리에 대한 응답으로써 사용자 단말에 제공할 수 있다.The answer providing apparatus 110 according to an embodiment of the present invention generates a query for the leaf nodes N'31 and N'32 of the response tree 610 and operates the above-described operation until an answer is received. can be performed repeatedly. In other words, when the node selected according to the user's answer is any one of the leaf nodes N'31 and N'32, the answer providing apparatus 110 provides the selected node to the user terminal as a response to the user's query. can

이와 같이 본 발명은 사용자의 쿼리에 따라 특정된 정보를 이용하여 모든 내용을 포함하는 원본 트리로부터 사용자의 쿼리에 관련된 내용만을 포함하는 응답 트리를 생성하고, 생성된 응답 트리를 이용하여 사용자의 쿼리에 대한 응답을 검색하되, 생략 가능한 레벨에 대한 질의는 생략하여 응답 검색의 절차를 간소화할 수 있다.As described above, the present invention generates a response tree including only the contents related to the user's query from the original tree including all contents using information specified according to the user's query, and uses the generated response tree to respond to the user's query. A response search procedure can be simplified by searching for a response to the answer, but omitting a query for an omissible level.

종래기술에 따를 경우 사용자는 도 3에 도시된 원본 트리(510)로부터 자신이 원하는 정보를 획득하기 위해, 총 2회의 선택 과정을 거쳐야 했다. 즉 사용자는 자신의 쿼리가 Level 2에 속하는 노드 중 어느 노드에 관한 것인지 선택하는 첫 번째 선택 과정과, Level 3에 속하는 노드 중 어느 노드에 관한 것인지 선택하는 두 번째 선택 과정을 거쳐야 최종적으로 자신의 요청사항에 대한 응답을 얻을 수 있었다.According to the prior art, the user had to go through a total of two selection processes in order to obtain the desired information from the original tree 510 shown in FIG. 3 . That is, the user must go through the first selection process of selecting which node his query relates to among the nodes belonging to Level 2, and the second selection process of selecting which node among the nodes belonging to Level 3 to finally request his/her request. I was able to get a response to the question.

그러나 본 발명은 사용자의 쿼리에 따라 도 4에 도시된 응답 트리(610)를 생성하고 이를 이용하여 응답을 제공하되, 사용자의 선택이 필요 없는 레벨(Level 2)에 대한 선택 과정을 생략함으로써 응답 검색의 절차를 간소화할 수 있다. However, the present invention generates a response tree 610 shown in FIG. 4 according to a user's query and provides a response using it, but searches for a response by omitting the selection process for a level (Level 2) that does not require the user's selection. process can be simplified.

도 3 및 도 4에 도시된 예시에서는 종래기술과 본 발명에 따른 선택 과정에 1회 밖에 차이가 나지 않지만, 이는 예시적인 트리 구조에 기인한 것으로 원본 트리가 보다 많은 레벨을 포함하는 경우 선택 과정의 수량 차이는 보다 증가될 수 있다. 가령 응답 트리가 N(N은 자연수)개의 레벨로 구성되고, M개(M은 N 미만의 자연수)의 질의응답 생략 레벨을 포함하는 경우, 답변 제공 장치(110)는 N-M 개의 레벨 각각에 대한 질의를 생성하고, 그에 대한 답변에 따라 각각의 레벨 상의 둘 이상의 노드 중 어느 하나의 노드를 선택할 수 있다. 이에 따라 M개의 선택 과정이 생략될 수 있다.In the examples shown in FIGS. 3 and 4, there is only one difference between the prior art and the selection process according to the present invention, but this is due to the exemplary tree structure. The quantity difference can be further increased. For example, if the response tree is composed of N (N is a natural number) level and includes M (M is a natural number less than N) Q&A omitting levels, the answer providing apparatus 110 may provide a query for each of the NM levels. , and depending on the answer, it is possible to select any one node among two or more nodes on each level. Accordingly, M selection processes may be omitted.

도 5는 본 발명의 일 실시예에 따른 사용자 단말(200)에 표시되는 화면(710)의 예시이다. 설명의 편의를 위하여, 도 3 및 도 4에서 설명한 과정에 따라 응답 트리(610)가 생성되어 있음을 전제로 설명한다.5 is an example of a screen 710 displayed on the user terminal 200 according to an embodiment of the present invention. For convenience of description, it is assumed that the response tree 610 is generated according to the process described with reference to FIGS. 3 and 4 .

본 발명의 일 실시예에서, 답변 제공 장치(110)와 사용자 단말(200)은 도 5에 도시된 바와 같이 채팅 창의 형색으로 쿼리 및 그에 대한 응답을 송수신할 수 있다. 가령 사용자는 사용자 단말(200) 상에 "안녕하세요. OTP 등록 방법이 궁급함니다."와 같이 메시지의 형태로 쿼리를 발송할 수 있고, 답변 제공 장치(110)는 "안녕하세요. 홍길동님 OTP 등록과 OTP 재등록 중 어떤게 궁금하세요?"와 같이 메시지의 형태로 질의를 발송할 수 있다. 또한 답변 제공 장치(110)는 질의에 대한 사용자의 입력을 획득하기 위한 인터페이스를 질의 메시지와 함께 제공할 수 있다.In an embodiment of the present invention, the answer providing apparatus 110 and the user terminal 200 may transmit and receive a query and a response thereto in the form of a chatting window as shown in FIG. 5 . For example, the user may send a query in the form of a message on the user terminal 200 such as "Hello. I'm curious about how to register OTP", and the answer providing device 110 says "Hello. You can send a query in the form of a message, such as "What are you curious about during re-registration?" Also, the answer providing apparatus 110 may provide an interface for obtaining a user's input for a query together with the query message.

이때 답변 제공 장치(110)가 발송하는 질의는 도 4에서 설명한 과정에 따라 답변 제공 장치(110)가 응답 트리의 루트 노드로부터 쿼리에 대한 응답에 대응되는 리프 노드로 진행하는 과정 중 둘 이상의 노드가 존재하는 레벨을 만났을 때, 둘 이상의 노드 중 어느 하나의 노드를 선택하기 위해 생성된 것 일 수 있다.In this case, the query sent by the answer providing device 110 is transmitted from the root node of the response tree to the leaf node corresponding to the response to the query by the answer providing device 110 according to the process described in FIG. When an existing level is met, it may be created to select any one node among two or more nodes.

또한 질의에 따른 사용자의 입력에 따라 답변 제공 장치(110)는 둘 이상의 노드가 존재하는 레벨 상의 어느 하나의 노드를 선택하고, 해당 노드의 자식 노드를 포함하는 다음 레벨로 이동하여 상술한 과정을 반복하여 수행할 수 있다.In addition, according to a user's input according to the query, the answer providing apparatus 110 selects any one node on a level where two or more nodes exist, moves to the next level including the child nodes of the corresponding node, and repeats the above-described process. can be done by

물론 답변 제공 장치(110)는 선택된 노드가 후보 노드들(또는 리프 노드들)중 어느 하나인 경우, 해당 노드에 태그된 정보를 사용자 단말(200)로 전송하여 채팅창에 표시되도록 할 수 있다.Of course, when the selected node is any one of the candidate nodes (or leaf nodes), the answer providing apparatus 110 may transmit information tagged to the corresponding node to the user terminal 200 to be displayed in the chat window.

도 6은 본 발명의 일 실시예에 따른 답변 제공 장치(110)에 의해 수행되는 질의응답 제공 방법을 설명하기 위한 흐름도이다. 이하에서는 도 1 내지 도 5와 중복되는 내용의 설명은 생략하되, 도 1 내지 도 5를 함께 참조하여 설명한다.6 is a flowchart illustrating a question answer providing method performed by the answer providing apparatus 110 according to an embodiment of the present invention. Hereinafter, a description of the content overlapping with FIGS. 1 to 5 will be omitted, but will be described with reference to FIGS. 1 to 5 together.

본 발명의 일 실시예에 따른 답변 제공 장치(110)는 원본 트리를 생성할 수 있다.(S610) 가령 답변 제공 장치(110)는 계층화된 데이터로부터 원본 트리를 생성할 수 있다. 이때 원본 트리는 전술한바와 같이 시스템에서 제공하고자 하는 모든 응답을 포함하는 트리일 수 있다.The answer providing apparatus 110 according to an embodiment of the present invention may generate an original tree ( S610 ). For example, the answer providing apparatus 110 may generate an original tree from layered data. In this case, the original tree may be a tree including all responses to be provided by the system as described above.

본 발명의 일 실시예에 따른 답변 제공 장치(110)는 사용자의 쿼리를 수신할 수 있다.(S620) 전술한 바와 같이 본 발명에서 사용자의 쿼리는 답변 제공 장치(110)로 전송되는 사용자의 요청을 의미할 수 있다. 가령 사용자의 쿼리는 사용자의 문의사항에 대한 답변을 구하는 요청일 수 있다. 따라서 본 발명의 일 실시예에서 사용자의 쿼리는 사용자의 질의(또는 질의 내용)를 포함할 수 있다.The answer providing apparatus 110 according to an embodiment of the present invention may receive a user's query ( S620 ). As described above, in the present invention, the user's query is a user's request transmitted to the answer providing apparatus 110 . can mean For example, the user's query may be a request to obtain an answer to the user's inquiry. Accordingly, in an embodiment of the present invention, the user's query may include the user's query (or query content).

본 발명의 일 실시예에 따른 답변 제공 장치(110)는 원본 트리(510)에서 수신된 사용자의 쿼리와 관련된 리프 노드들을 후보 노드들로 추출할 수 있다.(S630) 이때 '후보 노드들'은 사용자의 쿼리에 대한 응답으로써 제공될 답변을 포함하는 것으로 예상되는 노드들을 의미할 수 있다.The answer providing apparatus 110 according to an embodiment of the present invention may extract leaf nodes related to the user's query received from the original tree 510 as candidate nodes (S630). In this case, 'candidate nodes' are It may mean nodes expected to include an answer to be provided as a response to a user's query.

본 발명의 일 실시예에 따른 답변 제공 장치(110)는 사용자의 쿼리(또는 쿼리 내용)와 원본 트리(510)의 적어도 하나의 리프 노드들(N31 내지 N36) 각각에 태깅된 정보들을 이용하여 후보 노드들을 추출할 수 있다.The answer providing apparatus 110 according to an embodiment of the present invention uses information tagged to each of the user's query (or query content) and at least one leaf node N31 to N36 of the original tree 510 as a candidate. Nodes can be extracted.

일 실시예에서 답변 제공 장치(110)는 사용자의 쿼리에 포함된 질의와 리프 노드들(N31 내지 N36) 각각에 태깅된 항목들을 비교하여 후보 노드들을 추출할 수 있다. 이때 답변 제공 장치(110)는 소정의 우선순위에 따라 쿼리에 포함될 질의와 리프 노드들(N31 내지 N36) 각각에 태깅된 항목들을 비교하여 후보 노드들을 추출할 수 있다. In an embodiment, the answer providing apparatus 110 may extract candidate nodes by comparing the query included in the user's query with items tagged in each of the leaf nodes N31 to N36. In this case, the answer providing apparatus 110 may extract candidate nodes by comparing the items tagged in each of the leaf nodes N31 to N36 with the query to be included in the query according to a predetermined priority.

가령 답변 제공 장치(110)는 사용자의 쿼리에 포함될 질의와 리프 노드들(N31 내지 N36)에 태깅된 질의(예를 들어 N31의 Q1, Q2, Q3), 답변(예를 들어 N31의 A1), 기타 태그(예를 들어 N31의 Tag 1, Tag 2) 순으로 비교하여 후보 노드들을 추출할 수 있다. For example, the answer providing device 110 includes a query to be included in the user's query and a query tagged to the leaf nodes N31 to N36 (eg, Q1, Q2, Q3 of N31), an answer (eg, A1 of N31), Candidate nodes can be extracted by comparing in order of other tags (eg, Tag 1 and Tag 2 of N31).

바꾸어 말하면 답변 제공 장치(110)는 사용자 단말(200)로부터 수신된 질의와 리프 노드들(N31 내지 N36) 상의 질의를 먼저 비교하고, 그 다음 답변을 비교하고, 그 다음 기타 태그를 교하여 후보 노드들을 추출할 수 있다. 다만 이와 같은 순서는 예시적인것으로 본 발명의 사상이 이에 한정되는 것은 아니다.In other words, the answer providing apparatus 110 first compares the query received from the user terminal 200 with the query on the leaf nodes N31 to N36, then compares the answers, and then exchanges other tags to be a candidate node. can be extracted. However, such an order is exemplary and the spirit of the present invention is not limited thereto.

예를 들어 사용자의 쿼리에 "오티피 등록 어떻게 하나요?"라는 질의가 포함되어 있는 경우, 답변 제공 장치(110)는 리프 노드들(N31 내지 N36) 중 사용자의 질의에 대응되는 질의를 포함하는 리프 노드들(N31, N32)을 후보 노드들로 추출할 수 있다.For example, if the user's query includes a query "How do I register OTP?", the answer providing apparatus 110 provides a leaf including a query corresponding to the user's query among the leaf nodes N31 to N36. The nodes N31 and N32 may be extracted as candidate nodes.

선택적 실시예에서, 본 발명의 일 실시예에 따른 답변 제공 장치(110)는 사용자의 쿼리로부터 파악된 개체명(또는 소정의 키워드)과 리프 노드들에 태깅된 개체명(또는 소정의 키워드)을 비교하는 방식으로 후보 노드들을 추출할 수도 있다. 이를 위해서 리프 노드들(N31 내지 N36)에는 기타 태그로써 개체명이 태깅 되어 있을 수 있다. 다만 이는 예시적인것으로 본 발명의 사상이 이에 한정되는 것은 아니다.In an optional embodiment, the answer providing apparatus 110 according to an embodiment of the present invention provides the entity name (or predetermined keyword) identified from the user's query and the entity name (or predetermined keyword) tagged to the leaf nodes. Candidate nodes may be extracted by comparison. To this end, the leaf nodes N31 to N36 may have entity names tagged with other tags. However, this is an example, and the spirit of the present invention is not limited thereto.

선택적 실시예에서, 답변 제공 장치(110)는 리프 노드들(N31 내지 N36)에 태깅된 질의 및 답변을 이용하여 추출된 후보 노드들의 수가 소정의 제1 임계 수량 미만인 경우에만 개체명을 이용하여 후보 노드들을 추출할 수 있다. 이때 제1 임계 수량은 시스템의 구성 및/또는 용도에 따라 적절하게 설정될 수 있다.In an optional embodiment, the answer providing apparatus 110 uses the entity name only when the number of candidate nodes extracted using the query and answer tagged to the leaf nodes N31 to N36 is less than a predetermined first threshold quantity. Nodes can be extracted. In this case, the first threshold quantity may be appropriately set according to the configuration and/or use of the system.

본 발명의 일 실시예에 따른 답변 제공 장치(110)는 상술한 과정에 의해 추출횐 후보 노드들의 수량이 제2 임계 수량 미만인 경우, 미리 구축된 사전을 이용하여 수신된 쿼리에 포함되는 요청어와 관련이 있는 변형 요청어를 포함하는 변형 쿼리를 생성하고, 변형 쿼리를 이용하여 후보 노드들을 추출할 수도 있다. 이때 요청어 간에 '관련이 있는'것은 상호간에 동의어이거나 상호간에 소정의 관계에 있는 것으로, 미리 설정된 것을 의미할 수 있다. 또한 제2 임계 수량은 시스템의 구성 및/또는 용도에 따라 적절하게 설정될 수 있다.When the number of candidate nodes extracted by the above-described process is less than the second threshold quantity, the answer providing apparatus 110 according to an embodiment of the present invention relates to a request word included in a received query using a pre-built dictionary. It is also possible to generate a transformation query including a transformation request word with In this case, the 'relationship' between the requested words is synonymous with each other or has a predetermined relationship with each other, and may mean a preset. In addition, the second threshold quantity may be appropriately set according to the configuration and/or use of the system.

본 발명에서 답변 제공 장치(110)는 다양한 방식으로 두 개의 항목 간을 비교할 수 있다. 가령 답변 제공 장치(110)는 사용자의 쿼리에 포함된 질의와 리프 노드들(N31 내지 N36)에 태깅된 질의들을 비교함에 있어서, 각각의 항목에 대한 특징 벡터(Feature Vector)들의 거리를 산출하는 방식으로 비교할 수 있다. 다만 이와 같은 방식은 예시적인것으로 본 발명의 사상이 이에 한정되는 것은 아니다.In the present invention, the answer providing apparatus 110 may compare two items in various ways. For example, when the answer providing apparatus 110 compares the query included in the user's query with the queries tagged in the leaf nodes N31 to N36, the distance between the feature vectors for each item is calculated. can be compared with However, such a method is exemplary and the spirit of the present invention is not limited thereto.

본 발명의 일 실시예에 따른 답변 제공 장치(110)는 원본 트리(510)의 루트 노드(N11)로부터 추출된 후보 노드들 각각에 이르는 경로상에 있는 가지 노드들을 포함하는 응답 트리를 생성할 수 있다.(S640)The answer providing apparatus 110 according to an embodiment of the present invention may generate a response tree including branch nodes on a path from the root node N11 of the original tree 510 to each of the extracted candidate nodes. There is (S640)

도 4는 도 3의 원본 트리(510)로부터 생성된 응답 트리(610)를 도시한 도면이다.FIG. 4 is a diagram illustrating a response tree 610 generated from the original tree 510 of FIG. 3 .

설명의 편의를 위해 원본 트리(510)가 도 3에 도시된 바와 같으며, 사용자의 쿼리에 "오티피 등록 어떻게 하나요?"라는 질의가 포함되어 있고, 이에 따라 답변 제공 장치(110)가 오티피 등록과 관련된 정보를 포함하는 리프 노드들(N31, N32)을 후보 노드들로 추출하였음을 가정하여 설명한다.For convenience of explanation, the original tree 510 is as shown in FIG. 3 , and the user's query includes a query "How do I register OTP?" It is assumed that leaf nodes N31 and N32 including registration-related information are extracted as candidate nodes.

상술한 가정 하에, 본 발명의 일 실시예에 따른 답변 제공 장치(110)는 원본 트리(510)의 루트 노드(N11)로부터 추출된 후보 노드들(N31, N32)들 각각에 이르는 경로상에 있는 가지 노드들(N21)을 포함하는 응답 트리(610)를 생성할 수 있다. 이때 응답 트리(610)는 원본 트리(510) 상의 노드들로써 선택된 노드들(N11, N21, N31, N32) 각각에 대응되는 노드들(N'11, N'21, N'31, N'32)을 포함하도록 구성될 수 있다.Under the above-mentioned assumption, the answer providing apparatus 110 according to an embodiment of the present invention is located on a path from the root node N11 of the original tree 510 to each of the candidate nodes N31 and N32. A response tree 610 including branch nodes N21 may be generated. At this time, the response tree 610 is nodes N'11, N'21, N'31, N'32 corresponding to each of the nodes N11, N21, N31, and N32 selected as nodes on the original tree 510. It may be configured to include

본 발명의 일 실시예에 따른 답변 제공 장치(110)는 생성된 응답 트리(610)를 이용하여 사용자의 쿼리에 대한 응답을 제공할 수 있다. The answer providing apparatus 110 according to an embodiment of the present invention may provide a response to the user's query by using the generated response tree 610 .

이를 위하여 답변 제공 장치(110)는 응답 트리(610)의 루트 노드(N'11)로부터 응답 트리(610)의 리프 노드들(N'31, N'32)의 방향(P)으로 진행하면서, 최종적으로 리프 노드들(N'31, N'32) 중 어느 하나를 응답으로써 선택할 수 있다. 이때 방향(P)은 응답 트리(610)의 낮은 레벨에서 높은 레벨로 이동하는 방향 또는 루트 노드에서 리프 노드로 이동하는 방향을 의미할 수 있다.To this end, the answer providing apparatus 110 proceeds from the root node N'11 of the response tree 610 in the direction P of the leaf nodes N'31 and N'32 of the response tree 610, Finally, any one of the leaf nodes N'31 and N'32 may be selected as a response. In this case, the direction P may mean a direction moving from a low level to a high level of the response tree 610 or a direction moving from a root node to a leaf node.

보다 구체적으로 답변 제공 장치(110)는 상술한 방향(P)으로의 진행 과정 중 둘 이상의 노드가 존재하는 레벨을 만나는 경우, 둘 이상의 노드 중 어느 하나의 노드를 선택하기 위한 질의를 생성하고(S650), 생성된 질의를 사용자 단말(200)에 제공할 수 있다.(S660)More specifically, the answer providing apparatus 110 generates a query for selecting any one of the two or more nodes when meeting a level in which two or more nodes exist during the process in the direction P described above (S650). ), the generated query may be provided to the user terminal 200 (S660).

또한 답변 제공 장치(110)는 제공된 질의에 대한 사용자의 답변을 수신하여(S670) 둘 이상의 노드 중 어느 하나의 노드를 선택할 수 있다.(S680) In addition, the answer providing apparatus 110 may receive a user's answer to the provided query (S670) and select any one of the two or more nodes (S680).

한편 답변 제공 장치(110)는 하나의 노드만을 포함하는 레벨인 질의 생략 레벨을 만나는 경우, 둘 이상의 노드 중 어느 하나의 노드를 선택하는 과정을 생략하고 다음 레벨로 이동할 수 있다. 가령 답변 제공 장치(110)가 응답 트리(610)에서 노드(N'21)만을 포함하는 질의 생략 레벨(Level 2)을 만나는 경우, 둘 이상의 노드 중 어느 하나의 노드를 선택하는 과정을 생략 다음 레벨(Level 3)로 이동할 수 있다.Meanwhile, when the answer providing apparatus 110 meets the query elision level, which is a level including only one node, the process of selecting any one node from among two or more nodes may be omitted and move to the next level. For example, when the answer providing device 110 meets the query omission level (Level 2) including only the node N'21 in the response tree 610, the process of selecting any one node from among two or more nodes is omitted. You can move to (Level 3).

본 발명의 일 실시예에 따른 답변 제공 장치(110)는 응답 트리(610)의 리프 노드들(N'31, N'32)에 대한 질의를 생성하여 그에 대한 답변을 수신할 때까지 상술한 동작을 반복하여 수행할 수 있다. The answer providing apparatus 110 according to an embodiment of the present invention generates a query for the leaf nodes N'31 and N'32 of the response tree 610 and operates the above-described operation until an answer is received. can be performed repeatedly.

바꾸어말하면 답변 제공 장치(110)는 사용자의 답변에 따라 선택된 노드가 리프 노드들(N'31, N'32) 중 어느 하나인지 여부를 판단하고(S690), 선택된 노드가 리프 노드들(N'31, N'32) 중 어느 하나가 아닌 경우 다음 레벨로 이동하면서 단계 S650 내지 단계 S680에 따른 동작을 반복하여 수행할 수 있다.In other words, the answer providing apparatus 110 determines whether the selected node is one of the leaf nodes N'31 and N'32 according to the user's answer (S690), and the selected node is the leaf node N' 31, N'32), the operation according to steps S650 to S680 may be repeatedly performed while moving to the next level.

한편 선택된 노드가 리프 노드들(N'31, N'32) 중 어느 하나인 경우, 답변 제공 장치(110)는 선택된 노드(즉 노드에 태깅된 정보)를 사용자의 쿼리에 대한 응답으로써 사용자 단말에 제공할 수 있다.(S700)On the other hand, when the selected node is any one of the leaf nodes N'31 and N'32, the answer providing apparatus 110 provides the selected node (that is, information tagged to the node) to the user terminal as a response to the user's query. It can be provided. (S700)

이와 같이 본 발명은 사용자의 쿼리에 따라 특정된 정보를 이용하여 모든 내용을 포함하는 원본 트리로부터 사용자의 쿼리에 관련된 내용만을 포함하는 응답 트리를 생성하고, 생성된 응답 트리를 이용하여 사용자의 쿼리에 대한 응답을 검색하되, 생략 가능한 레벨에 대한 질의는 생략하여 응답 검색의 절차를 간소화할 수 있다.As described above, the present invention generates a response tree including only the contents related to the user's query from the original tree including all contents using information specified according to the user's query, and uses the generated response tree to respond to the user's query. A response search procedure can be simplified by searching for a response to the answer, but omitting a query for an omissible level.

종래기술에 따를 경우 사용자는 도 3에 도시된 원본 트리(510)로부터 자신이 원하는 정보를 획득하기 위해, 총 2회의 선택 과정을 거쳐야 했다. 즉 사용자는 자신의 쿼리가 Level 2에 속하는 노드 중 어느 노드에 관한 것인지 선택하는 첫 번째 선택 과정과, Level 3에 속하는 노드 중 어느 노드에 관한 것인지 선택하는 두 번째 선택 과정을 거쳐야 최종적으로 자신의 요청사항에 대한 응답을 얻을 수 있었다.According to the prior art, the user had to go through a total of two selection processes in order to obtain the desired information from the original tree 510 shown in FIG. 3 . That is, the user must go through the first selection process of selecting which node his query relates to among the nodes belonging to Level 2, and the second selection process of selecting which node among the nodes belonging to Level 3 to finally request his/her request. I was able to get a response to the matter.

그러나 본 발명은 사용자의 쿼리에 따라 도 4에 도시된 응답 트리(610)를 생성하고 이를 이용하여 응답을 제공하되, 사용자의 선택이 필요 없는 레벨(Level 2)에 대한 선택 과정을 생략함으로써 응답 검색의 절차를 간소화할 수 있다. However, the present invention generates a response tree 610 shown in FIG. 4 according to a user's query and provides a response using it, but searches for a response by omitting the selection process for a level (Level 2) that does not require the user's selection. process can be simplified.

도 3 및 도 4에 도시된 예시에서는 종래기술과 본 발명에 따른 선택 과정에 1회 밖에 차이가 나지 않지만, 이는 예시적인 트리 구조에 기인한 것으로 원본 트리가 보다 많은 레벨을 포함하는 경우 선택 과정의 수량 차이는 보다 증가될 수 있다. 가령 응답 트리가 N(N은 자연수)개의 레벨로 구성되고, M개(M은 N 미만의 자연수)의 질의응답 생략 레벨을 포함하는 경우, 답변 제공 장치(110)는 N-M 개의 레벨 각각에 대한 질의를 생성하고, 그에 대한 답변에 따라 각각의 레벨 상의 둘 이상의 노드 중 어느 하나의 노드를 선택할 수 있다. 이에 따라 M개의 선택 과정이 생략될 수 있다.In the examples shown in FIGS. 3 and 4, there is only one difference between the prior art and the selection process according to the present invention, but this is due to the exemplary tree structure. The quantity difference can be further increased. For example, if the response tree is composed of N (N is a natural number) level and includes M (M is a natural number less than N) Q&A omitting levels, the answer providing apparatus 110 may provide a query for each of the NM levels. , and according to the answer, it is possible to select any one node among two or more nodes on each level. Accordingly, M selection processes may be omitted.

이상 설명된 본 발명에 따른 실시예는 컴퓨터 상에서 다양한 구성요소를 통하여 실행될 수 있는 컴퓨터 프로그램의 형태로 구현될 수 있으며, 이와 같은 컴퓨터 프로그램은 컴퓨터로 판독 가능한 매체에 기록될 수 있다. 이때, 매체는 컴퓨터로 실행 가능한 프로그램을 저장하는 것일 수 있다. 매체의 예시로는, 하드 디스크, 플로피 디스크 및 자기 테이프와 같은 자기 매체, CD-ROM 및 DVD와 같은 광기록 매체, 플롭티컬 디스크(floptical disk)와 같은 자기-광 매체(magneto-optical medium), 및 ROM, RAM, 플래시 메모리 등을 포함하여 프로그램 명령어가 저장되도록 구성된 것이 있을 수 있다. The embodiment according to the present invention described above may be implemented in the form of a computer program that can be executed through various components on a computer, and such a computer program may be recorded in a computer-readable medium. In this case, the medium may be to store a program executable by a computer. Examples of the medium include a hard disk, a magnetic medium such as a floppy disk and a magnetic tape, an optical recording medium such as CD-ROM and DVD, a magneto-optical medium such as a floppy disk, and those configured to store program instructions, including ROM, RAM, flash memory, and the like.

한편, 상기 컴퓨터 프로그램은 본 발명을 위하여 특별히 설계되고 구성된 것이거나 컴퓨터 소프트웨어 분야의 당업자에게 공지되어 사용 가능한 것일 수 있다. 컴퓨터 프로그램의 예에는, 컴파일러에 의하여 만들어지는 것과 같은 기계어 코드뿐만 아니라 인터프리터 등을 사용하여 컴퓨터에 의해서 실행될 수 있는 고급 언어 코드도 포함될 수 있다.Meanwhile, the computer program may be specially designed and configured for the present invention, or may be known and used by those skilled in the computer software field. Examples of the computer program may 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.

본 발명에서 설명하는 특정 실행들은 일 실시 예들로서, 어떠한 방법으로도 본 발명의 범위를 한정하는 것은 아니다. 명세서의 간결함을 위하여, 종래 전자적인 구성들, 제어 시스템들, 소프트웨어, 상기 시스템들의 다른 기능적인 측면들의 기재는 생략될 수 있다. 또한, 도면에 도시된 구성 요소들 간의 선들의 연결 또는 연결 부재들은 기능적인 연결 및/또는 물리적 또는 회로적 연결들을 예시적으로 나타낸 것으로서, 실제 장치에서는 대체 가능하거나 추가의 다양한 기능적인 연결, 물리적인 연결, 또는 회로 연결들로서 나타내어질 수 있다. 또한, "필수적인", "중요하게" 등과 같이 구체적인 언급이 없다면 본 발명의 적용을 위하여 반드시 필요한 구성 요소가 아닐 수 있다.The specific implementations described in the present invention are only examples, and do not limit the scope of the present invention in any way. For brevity of the specification, descriptions of conventional electronic components, control systems, software, and other functional aspects of the systems may be omitted. In addition, the connection or connection members of the lines between the components shown in the drawings exemplarily represent functional connections and/or physical or circuit connections, and in an actual device, various functional connections, physical connections that are replaceable or additional may be referred to as connections, or circuit connections. In addition, unless there is a specific reference such as "essential", "importantly", etc., it may not be a necessary component for the application of the present invention.

따라서, 본 발명의 사상은 상기 설명된 실시예에 국한되어 정해져서는 아니 되며, 후술하는 특허청구범위뿐만 아니라 이 특허청구범위와 균등한 또는 이로부터 등가적으로 변경된 모든 범위는 본 발명의 사상의 범주에 속한다고 할 것이다.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

100: 서버
110: 답변 제공 장치
111: 통신부
112: 제어부
113: 메모리
200: 사용자 단말
300: 통신망
100: server
110: answer providing device
111: communication department
112: control unit
113: memory
200: user terminal
300: communication network

Claims (7)

사용자의 쿼리와 관련된 응답 만을 포함하는 응답 트리를 생성하고, 상기 응답 트리에 기초하여 상기 쿼리에 대한 응답을 제공하는 답변 제공 장치에 있어서, 상기 장치는,
원본 트리에서 상기 쿼리와 관련된 리프 노드들을 후보 노드들로 추출하고, 상기 원본 트리는 상기 답변 제공 장치에서 제공 가능한 모든 리프 노드들을 포함하는 트리이고,
상기 원본 트리의 루트 노드로부터 상기 후보 노드들 각각에 이르는 경로상에 있는 가지 노드들을 포함하는 응답 트리를 생성하고, 상기 응답 트리는 리프 노드로써 상기 쿼리와 관련된 응답을 포함하는 리프 노드들만 포함하는 트리이고,
상기 응답 트리의 루트 노드로부터 상기 쿼리에 대한 응답에 대응되는 리프 노드로 진행하는 과정 중 둘 이상의 노드가 존재하는 레벨을 만나는 경우, 상기 둘 이상의 노드 중 어느 하나의 노드를 선택하기 위한 질의를 생성하고, 상기 질의에 대한 답변에 따라 상기 둘 이상의 노드 중 어느 하나의 노드를 선택하고,
상기 선택된 노드가 상기 후보 노드들 중 어느 하나인 경우, 상기 선택된 노드를 상기 쿼리에 대한 응답으로 제공하는, 답변 제공 장치.
An answer providing device for generating a response tree including only responses related to a user's query and providing a response to the query based on the response tree, the device comprising:
Extracting leaf nodes related to the query as candidate nodes from the original tree, the original tree is a tree including all leaf nodes that can be provided by the answer providing device,
generate a response tree including branch nodes on a path from the root node of the original tree to each of the candidate nodes, wherein the response tree is a tree including only leaf nodes containing a response related to the query as leaf nodes, ,
In the process of moving from the root node of the response tree to a leaf node corresponding to the response to the query, when a level in which two or more nodes exist is met, a query is generated for selecting any one node from among the two or more nodes, and , select any one of the two or more nodes according to the answer to the query,
If the selected node is any one of the candidate nodes, providing the selected node as a response to the query.
청구항 1에 있어서
상기 응답 트리는
하나의 노드만 포함하는 레벨인 질의 생략 레벨을 적어도 하나 이상 포함하고,
상기 장치는
상기 과정 중 상기 질의 생략 레벨을 만나는 경우, 상기 둘 이상의 노드 중 어느 하나의 노드를 선택하는 과정을 생략하고, 다음 레벨로 이동하는, 답변 제공 장치.
The method according to claim 1
The response tree is
It includes at least one query elision level, which is a level that includes only one node,
the device is
If the query skipping level is met during the process, the process of selecting any one node among the two or more nodes is omitted, and the answer providing apparatus moves to the next level.
청구항 2에 있어서
상기 응답 트리는 N(N은 자연수)개의 레벨로 구성되고, M개(M은 N 미만의 자연수)의 질의응답 생략 레벨을 포함하고,
상기 장치는
N-M 개의 레벨 각각에 대한 질의를 생성하고, 그에 대한 답변에 따라 각각의 레벨 상의 둘 이상의 노드 중 어느 하나의 노드를 선택하는, 답변 제공 장치.
3. The method according to claim 2
The response tree is composed of N (N is a natural number) level, and M (M is a natural number less than N) Q&A omission levels,
the device is
An answer providing apparatus for generating a query for each of the NM levels, and selecting any one node among two or more nodes on each level according to an answer thereto.
청구항 1에 있어서
상기 원본 트리의 적어도 하나의 리프 노드들 각각에는
후보 질의 및 상기 후보 질의에 대한 답변이 태깅(Tagging)되어 있고,
상기 장치는
상기 사용자의 쿼리와 상기 적어도 하나의 리프 노드들 각각에 태깅된 후보 질의 및 상기 답변 중 적어도 하나를 이용하여 상기 후보 노드들을 추출하는, 답변 제공 장치.
The method according to claim 1
Each of the at least one leaf node of the original tree has
Candidate queries and answers to the candidate queries are tagged,
the device is
and extracting the candidate nodes by using at least one of the user's query, a candidate query tagged to each of the at least one leaf node, and the answer.
청구항 4에 있어서
상기 쿼리는 상기 사용자가 답변을 얻고자 하는 내용에 대한 사용자 질의를 포함하고,
상기 장치는
소정의 우선순위에 따라 상기 사용자 질의와 상기 적어도 하나의 리프 노드들 각각에 태깅 된 항목들을 비교하여 상기 후보 노드들을 추출하는, 답변 제공 장치.
5. The method according to claim 4
The query includes a user query about the content for which the user wants to obtain an answer,
the device is
and extracting the candidate nodes by comparing the user query with items tagged in each of the one or more leaf nodes according to a predetermined priority.
청구항 4에 있어서
상기 원본 트리의 적어도 하나의 리프 노드들 각각에는
상기 후보 질의 및 상기 답변 외에
상기 후보 질의 및 상기 답변 중 적어도 하나와 관련된 개체명이 더 태깅 되어 있고,
상기 장치는
후보 질의 및 상기 답변을 이용하여 추출된 후보 노드들의 수가 소정의 제1 임계 수량 미만인 경우, 상기 사용자의 쿼리와 상기 개체명을 이용하여 상기 후보 노드들을 추출하는, 답변 제공 장치.
5. The method according to claim 4
Each of the at least one leaf node of the original tree has
In addition to the above candidate questions and above answers
An entity name related to at least one of the candidate query and the answer is further tagged,
the device is
When the number of candidate nodes extracted using a candidate query and the answer is less than a predetermined first threshold quantity, the answer providing apparatus extracts the candidate nodes by using the user's query and the entity name.
청구항 1에 있어서
상기 장치는
상기 후보 노드들을 추출함에 있어서, 추출된 후보 노드들의 수가 소정의 제2 임계 수량 미만인 경우,
미리 구축된 사전을 이용하여 상기 쿼리에 포함되는 요청어와 관련이 있는 변형 요청어를 포함하는 변형 쿼리를 생성하고,
상기 변형 쿼리를 이용하여 상기 후보 노드들을 추출하는, 답변 제공 장치.
The method according to claim 1
the device is
In extracting the candidate nodes, when the number of extracted candidate nodes is less than a predetermined second threshold quantity,
generating a variant query including a variant request word related to a request word included in the query using a pre-built dictionary;
and extracting the candidate nodes by using the variant query.
KR1020190134805A 2019-10-28 2019-10-28 Apparatus for providing answer KR102310963B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020190134805A KR102310963B1 (en) 2019-10-28 2019-10-28 Apparatus for providing answer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020190134805A KR102310963B1 (en) 2019-10-28 2019-10-28 Apparatus for providing answer

Publications (2)

Publication Number Publication Date
KR20210050329A KR20210050329A (en) 2021-05-07
KR102310963B1 true KR102310963B1 (en) 2021-10-12

Family

ID=75916707

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020190134805A KR102310963B1 (en) 2019-10-28 2019-10-28 Apparatus for providing answer

Country Status (1)

Country Link
KR (1) KR102310963B1 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101097660B1 (en) * 2009-12-21 2011-12-22 고려대학교 산학협력단 XML Query Processing Method On Wireless Broadcasting Stream
KR101958729B1 (en) * 2017-04-06 2019-03-18 네이버 주식회사 Auto-extraction and structuring for sub-topic of subject inquiry

Also Published As

Publication number Publication date
KR20210050329A (en) 2021-05-07

Similar Documents

Publication Publication Date Title
US11012386B2 (en) Non-transitory computer-readable recording medium, method, system, and apparatus for exchanging message
Gu et al. Insertion-based decoding with automatically inferred generation order
JP2020518861A (en) Speech recognition method, apparatus, device, and storage medium
CN105592343B (en) Display device and method for question and answer
US10860289B2 (en) Flexible voice-based information retrieval system for virtual assistant
CN111695345B (en) Method and device for identifying entity in text
WO2020177592A1 (en) Painting question answering method and device, painting question answering system, and readable storage medium
CN102770859A (en) Cross-language search options
KR101832816B1 (en) Apparatus and method for generating answer for question
TW200937236A (en) Expanding a query to include terms associated through visual content
US20210234814A1 (en) Human-machine interaction
CN108846030B (en) method, system, electronic device and storage medium for visiting official website
KR102104294B1 (en) Sign language video chatbot application stored on computer-readable storage media
CN109600646B (en) Voice positioning method and device, smart television and storage medium
CN109348262B (en) Calculation method, device, equipment and storage medium for anchor similarity
WO2017092493A1 (en) Ambiance music searching method and device
JP2023165769A (en) Video timed anchor
CN110209780B (en) Question template generation method and device, server and storage medium
US20170169102A1 (en) Method and electronic device for controlling data query
CN111539217B (en) Method, equipment and system for disambiguation of natural language content titles
KR102310963B1 (en) Apparatus for providing answer
CN116561271A (en) Question and answer processing method and device
KR102471063B1 (en) Apparatus for providing answer
JP6081702B2 (en) Information processing apparatus, information processing method, and program
KR20230083553A (en) Methods and computer programs for providing search results

Legal Events

Date Code Title Description
E90F Notification of reason for final refusal
E701 Decision to grant or registration of patent right