KR20230161825A - An artificial intelligence-based hierarchical question and answer operation method through natural language processing - Google Patents

An artificial intelligence-based hierarchical question and answer operation method through natural language processing Download PDF

Info

Publication number
KR20230161825A
KR20230161825A KR1020220061662A KR20220061662A KR20230161825A KR 20230161825 A KR20230161825 A KR 20230161825A KR 1020220061662 A KR1020220061662 A KR 1020220061662A KR 20220061662 A KR20220061662 A KR 20220061662A KR 20230161825 A KR20230161825 A KR 20230161825A
Authority
KR
South Korea
Prior art keywords
patient
question
hierarchical
artificial intelligence
answer
Prior art date
Application number
KR1020220061662A
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 KR1020220061662A priority Critical patent/KR20230161825A/en
Publication of KR20230161825A publication Critical patent/KR20230161825A/en

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H10/00ICT specially adapted for the handling or processing of patient-related medical or healthcare data
    • G16H10/20ICT specially adapted for the handling or processing of patient-related medical or healthcare data for electronic clinical trials or questionnaires
    • 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
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H10/00ICT specially adapted for the handling or processing of patient-related medical or healthcare data
    • G16H10/60ICT specially adapted for the handling or processing of patient-related medical or healthcare data for patient-specific data, e.g. for electronic patient records
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H50/00ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
    • G16H50/20ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for computer-aided diagnosis, e.g. based on medical expert systems
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H50/00ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
    • G16H50/70ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for mining of medical data, e.g. analysing previous cases of other patients

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Theoretical Computer Science (AREA)
  • Public Health (AREA)
  • Data Mining & Analysis (AREA)
  • Biomedical Technology (AREA)
  • Databases & Information Systems (AREA)
  • Epidemiology (AREA)
  • Physics & Mathematics (AREA)
  • Primary Health Care (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Artificial Intelligence (AREA)
  • Software Systems (AREA)
  • Pathology (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Biophysics (AREA)
  • Evolutionary Computation (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

본 발명은 인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법을 공개한다. 이 방법은 (a) 의료진 단말이 환자의 데이터를 수신하여 진단 관련 자료를 병원 서버에 전달하는 단계; (b) 상기 병원 서버가 상기 수신된 환자의 데이터로부터 키워드를 추출하여 질문을 도출하고, 상기 전달받은 자료를 기반으로 상기 환자 단말에 계층적 질의를 제공하는 단계; (c) 상기 환자 단말이 상기 계층적 질의에 대응되는 답변을 전송하는 단계; (d) 상기 병원 서버가 상기 답변으로부터 키워드를 추출하여 인공지능 기반 기계학습을 수행하여 진단명을 도출하는 학습 모델을 생성하는 단계; 및 (e) 상기 의료진 단말에 상기 계층적 질의에 없는 질문이 수신된 경우, 상기 계층적 질의를 업데이트하는 단계; 를 포함하는 것을 특징으로 한다.The present invention discloses a hierarchical query and question-and-answer operation method through artificial intelligence-based natural language processing. This method includes (a) a medical staff terminal receiving patient data and transmitting diagnosis-related data to the hospital server; (b) the hospital server extracting keywords from the received patient data to derive a question, and providing a hierarchical query to the patient terminal based on the received data; (c) the patient terminal transmitting an answer corresponding to the hierarchical query; (d) the hospital server extracting keywords from the answers and performing artificial intelligence-based machine learning to create a learning model that derives a diagnosis; and (e) when a question that is not in the hierarchical query is received at the medical staff terminal, updating the hierarchical query; It is characterized by including.

Description

인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법{An artificial intelligence-based hierarchical question and answer operation method through natural language processing}{An artificial intelligence-based hierarchical question and answer operation method through natural language processing}

본 발명은 계층적 질의 및 문답 운용 방법에 관한 것으로서, 특히 짧은 시간 동안에 이루어지는 환자와 의료진 간의 의사소통에 있어서 환자 단말과 의료진 단말 간 계층적 질의 문답을 통해 키워드를 추출하여 학습모델을 생성함으로써, 전문 지식이 부족한 환자가 인식하지 못하여 누락될 수 있는 정보나, 다양한 진료 환경적인 이유로 환자가 제공한 정보를 해당 의료진이 누락하거나, 혹은 판단 오류로 인한 부정확한 방향으로의 진료를 미연에 방지하고, 학습모델을 통해서 얻는 지식으로 각각의 상황에 관련된 질문이 누락되는 경우가 없도록 상시 유지하여 환자의 진단을 효율적이고 정확하게 진행할 수 있는 인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법에 관한 것이다.The present invention relates to a hierarchical inquiry and question-and-answer operation method. In particular, in communication between patients and medical staff that occurs in a short period of time, keywords are extracted through hierarchical questions and answers between the patient terminal and the medical staff terminal to generate a learning model, Information that may be omitted due to lack of knowledge in the patient's awareness, information provided by the patient due to various medical conditions may be omitted by the relevant medical staff, or treatment in an incorrect direction due to errors in judgment may be omitted, and learning This is about a hierarchical query and question-and-answer operation method through artificial intelligence-based natural language processing that can efficiently and accurately diagnose patients by maintaining knowledge obtained through the model at all times to ensure that questions related to each situation are not missed.

일반적으로, 인공 신경망은 시냅스(synapse)의 결합으로 네트워크를 형성한 인공 뉴런(neuron)이 학습을 통해 시냅스의 결합 세기를 변화시켜, 문제 해결 능력을 가지는 모델 전반을 가리킨다. In general, an artificial neural network refers to a model in which artificial neurons, which form a network through the combination of synapses, change the strength of the synapse connection through learning and have problem-solving capabilities.

데이터로부터 학습하는 다른 기계 학습과 같이, 신경망은 일반적으로 규칙 기반 프로그래밍으로 텍스트뿐만 아니라 풀기 어려운 이미지 인식 또는 음성 인식과 같은 다양한 범위의 문제를 푸는 데 이용된다.Like other machine learning methods that learn from data, neural networks are typically rule-based programming and are used to solve a wide range of problems, such as difficult-to-solve image recognition or speech recognition, as well as text.

즉, 어떠한 데이터가 있을 때 이를 컴퓨터가 인지할 수 있는 형태(예를 들어 이미지의 경우 픽셀정보를 열 벡터로 표현하는 툴)로 표현하고 이를 학습에 적용하기 위해 많은 연구가 진행되고 있으며, 이러한 노력의 결과로 심층 신경망(deep neural networks), 합성 곱 신경망(convolutional neural network), 순환 신경망(Recurrent neural network)와 같은 다양한 딥 러닝 기법들이 컴퓨터 비전, 음성 인식, 자연어 처리, 음성/신호 처리 등의 분야에 적용되어 우수한 성능의 응용 프로그램들이 개발되고 있다.In other words, when there is data, a lot of research is being done to express it in a form that a computer can recognize (for example, in the case of images, a tool that expresses pixel information as a column vector) and apply it to learning, and these efforts are being made. As a result, various deep learning techniques such as deep neural networks, convolutional neural networks, and recurrent neural networks have been used in fields such as computer vision, speech recognition, natural language processing, and voice/signal processing. Application programs with excellent performance are being developed.

그 중에서 자연어 처리(NLP, Natural Language Processing)는 사람들이 일상적으로 쓰는 언어인 자연어를 컴퓨터가 인식할 수 있도록 인공어로 만들어주는 기술로서, 수집된 수많은 데이터 속에서 실제 분석에 필요한 것만 추출해내는 과정에서 빅데이터 분석에 매우 중요한 기법이다.Among them, Natural Language Processing (NLP) is a technology that turns natural language, the language that people use on a daily basis, into artificial language so that computers can recognize it. This is a very important technique for data analysis.

자연어 처리는, 자연어 등 기존 데이터를 형태소로 바꾸는 형태소 분석(Morphological Analysis), 구문 분석(Syntactic Parsing), 의미 분석(Semantic Analysis), 담화 분석(Discourse Analysis) 등으로 이루어지며, 이러한 분석들을 통하여 자연어 이해 과정을 거쳐, 자연어를 대표하는 핵심 키워드인 검색어를 추출할 수 있다.Natural language processing consists of Morphological Analysis, Syntactic Parsing, Semantic Analysis, and Discourse Analysis, which convert existing data such as natural language into morphemes, and understand natural language through these analyses. Through this process, search terms, which are key keywords representing natural language, can be extracted.

한편, 의료 진료를 예로 들면 의료 진료에 있어서 환자의 정보를 얻는 것은 매우 중요한데, 환자가 말하는 것에는 중요한 것과 중요하지 않은 것이 있고 중요한 것 중에는 가장 중요한 것으로부터 덜 중요한 것으로 나눌 수 있다. Meanwhile, taking medical treatment as an example, it is very important to obtain patient information. What the patient says includes important and unimportant things, and the important things can be divided from the most important to the least important.

이 중에 중요한 것을 추려내어 정리하는 것이 가장 핵심적인 부분으로서, 환자가 말한 것 중 중요하다고 여겨지는 사항에 대해, 관련된 질문을 하여 환자의 증상이나 징후를 잘 파헤쳐 나가는 것이 의료 진단의 핵심이다.Among these, the most important part is to select and organize the important things, and the core of medical diagnosis is to dig into the patient's symptoms and signs by asking related questions about what is considered important among what the patient said.

그런데, 이때 질문하는 의료진도 환자가 말하는 내용에 따라 관련된 질문을 할 수 있는데, 대부분 전문적인 지식과 오랜 기간의 경험에 의해서 당시의 상황에 따라 판단하지만, 의료진의 개인적인 차이로 인해 가능성 있는 경우들 중에서 중요한 가능성이 생각나지 않을 수도 있어서 진료 방향이 엉뚱한 데로 흐르게 될 가능성이 있다.However, the medical staff asking questions at this time may also ask related questions depending on what the patient says. In most cases, they are judged according to the situation at the time based on professional knowledge and long-term experience, but due to individual differences in medical staff, there are many possible cases. There is a possibility that important possibilities may not come to mind, leading to treatment taking a wrong direction.

그렇게 될 경우, 불필요한 진단 검사의 처방을 하거나 핵심 검사 처방을 누락하게 되어서, 환자의 정확한 질병명을 확진하는데 시간이 오래 걸리거나 정확한 진단명을 찾지 못하는 경우가 발생할 위험이 있다. In that case, there is a risk that unnecessary diagnostic tests may be prescribed or key test prescriptions may be omitted, which may result in cases where it takes a long time to confirm the patient's exact disease name or the correct diagnosis cannot be found.

또한, 환자는 의학적인 지식이 부족하고, 무엇이 중요한지 무엇이 중요하지 않는지 잘 모르는 경우가 많기 때문에, 본인의 경험이나 주변의 권유 혹은 본인 만의 지식에 기반하여 말하게 되는데, 이때 아주 중요한 내용을 의도치 않게 누락할 수도 있다.In addition, patients lack medical knowledge and often do not know what is important and what is not important, so they speak based on their own experience, recommendations from those around them, or their own knowledge, and at this time, very important information is unintentionally omitted. You may.

한편, 의료진 측에서는, 중요한 증상이나 징후가 정리되면, 보다 쉽고 안전하게 진단하고 치료할 수 있는데, 현재까지의 현실적인 의료 현장에서는 이런 정보를 얻는데 많은 시간과 노력뿐 아니라, 해당 진료 분야에 다양하고 오랜 경험과 방대한 지식을 가지고 작용하는 전문가의 감성이 필요한 한계가 있다.On the other hand, on the medical staff's side, once important symptoms or signs are sorted out, diagnosis and treatment can be made more easily and safely. However, in realistic medical settings up to now, not only does it take a lot of time and effort to obtain such information, but it also requires a lot of time and effort, as well as extensive and diverse experience in the relevant medical field. There are limitations that require the sensitivity of an expert to act with knowledge.

따라서, 외래나 입원 중에 짧은 시간 내에 이러한 한계를 해결하기 어려우므로, 이러한 질문 시스템을 효과적으로 체계화하여 임상에 적용한다면 환자의 증상 또는 징후에 관한 정보를 얻는데 소요되는 시간과 노력을 줄이는데 또 정확한 진단을 하는 데 많은 도움을 줄 수 있을 것으로 예상된다.Therefore, since it is difficult to solve these limitations in a short period of time during outpatient or hospitalization, if this questioning system is effectively systematized and applied clinically, it will reduce the time and effort required to obtain information about the patient's symptoms or signs and help make an accurate diagnosis. It is expected that it can be of great help.

또한, 환자와 의료진 간에 전달되는 언어들과 최종적 진단 또는 결과를 연계하여, 기존에 이미 데이터베이스화된 결과와 의료진 및 환자 간의 오고 간 대화를 바탕으로 인공지능 시스템을 학습한다면, 인공지능 시스템은 보다 정확한 지능을 가지게 될 것으로 예상된다.In addition, if the artificial intelligence system learns based on the results already databased and the conversations between the medical staff and patients by linking the final diagnosis or results with the languages communicated between the patient and the medical staff, the artificial intelligence system will be more accurate. It is expected that it will have intelligence.

USUS 10769138 10769138 B2B2 (2020.09.08)(2020.09.08)

본 발명이 해결하고자 하는 과제는 환자 단말과 의료진 단말 간에 송수신하는 문답에서 키워드를 추출하고, 의료진의 적절한 질문 및 이에 대응되는 환자 답변 중에서 키워드를 파악하여 학습모델을 생성하고, 실제 진료 현장에서 새로 경험한 환자 증례의 진단 및 치료 과정에서 얻은 학습모델을 생성함으로써, 환자의 진단을 효율적이고 정확하게 진행할 수 있는 인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법을 제공하는데 있다.The problem that the present invention aims to solve is to extract keywords from the questions and answers transmitted between the patient terminal and the medical staff terminal, identify keywords from the appropriate questions of the medical staff and the corresponding patient answers, create a learning model, and create new experiences in actual treatment sites. The goal is to provide a hierarchical query and question-and-answer operation method through artificial intelligence-based natural language processing that can efficiently and accurately diagnose a patient by creating a learning model obtained during the diagnosis and treatment of a patient case.

상술한 과제를 해결하기 위한 본 발명의 일 면에 따른 인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법은 (a) 의료진 단말이 환자의 데이터를 수신하여 진단 관련 자료를 병원 서버에 전달하는 단계; (b) 상기 병원 서버가 상기 수신된 환자의 데이터로부터 키워드를 추출하여 질문을 도출하고, 상기 전달받은 자료를 기반으로 상기 환자 단말에 계층적 질의를 제공하는 단계; (c) 상기 환자 단말이 상기 계층적 질의에 대응되는 답변을 전송하는 단계; (d) 상기 병원 서버가 상기 답변으로부터 키워드를 추출하여 인공지능 기반 기계학습을 수행하여 진단명을 도출하는 학습 모델을 생성하는 단계; 및 (e) 상기 의료진 단말에 상기 계층적 질의에 없는 질문이 수신된 경우, 상기 계층적 질의를 업데이트하는 단계;를 포함하는 것을 특징으로 한다.In order to solve the above-described problem, the hierarchical query and question-and-answer operation method through artificial intelligence-based natural language processing according to one aspect of the present invention is (a) a medical staff terminal receives patient data and transmits diagnosis-related data to the hospital server. step; (b) the hospital server extracting keywords from the received patient data to derive a question, and providing a hierarchical query to the patient terminal based on the received data; (c) the patient terminal transmitting an answer corresponding to the hierarchical query; (d) the hospital server extracting keywords from the answers and performing artificial intelligence-based machine learning to create a learning model that derives a diagnosis; and (e) updating the hierarchical query when a question that is not included in the hierarchical query is received at the medical staff terminal.

본 발명의 기타 구체적인 사항들은 상세한 설명 및 도면들에 포함되어 있다.Other specific details of the invention are included in the detailed description and drawings.

본 발명에 의할 경우, 의료 진료에 있어서 환자의 증상이나 징후에 대한 정보를 환자 단말과 의료진 단말 사이의 질의 답변 과정을 통해 정확하게 정리함으로써, 환자가 중요한 정보를 누락할 수 있는 가능성이나 의료진이 인지하지 못하는 중요한 정보나 예상되는 가능성을 누락하는 일을 감소시킬 수 있다.According to the present invention, in medical treatment, information about a patient's symptoms or signs is accurately organized through a question-and-answer process between the patient terminal and the medical staff terminal, thereby eliminating the possibility that the patient may omit important information or the medical staff being aware of it. It can reduce the omission of important information or expected possibilities.

또한, 보다 정확하고 쉽고 안전하게 환자를 진단 및 치료를 진행하게 됨에 따라, 환자의 증상이나 징후에 관한 정보를 얻는데 소요되는 시간과 노력을 획기적으로 절약할 수 있을 뿐만 아니라, 의료진의 판단 오류를 줄이고 정확한 진단 결정과 정확한 치료 방향을 정할 수 있게 된다.In addition, by diagnosing and treating patients more accurately, easily and safely, not only can the time and effort required to obtain information about a patient's symptoms or signs be dramatically saved, but it can also reduce errors in judgment by medical staff and provide accurate treatment. It is possible to make a diagnostic decision and determine an accurate treatment direction.

본 발명의 효과들은 이상에서 언급된 효과로 제한되지 않으며, 언급되지 않은 또 다른 효과들은 아래의 기재로부터 통상의 기술자에게 명확하게 이해될 수 있을 것이다.The effects of the present invention are not limited to the effects mentioned above, and other effects not mentioned will be clearly understood by those skilled in the art from the description below.

도 1은 본 발명의 일 실시예에 따른 인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법을 구현하기 위한 시스템의 블록도이다.
도 2는 본 발명의 일 실시예에 따른 인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법의 전반적인 동작을 설명하기 위한 구성도이다.
도 3은 본 발명의 일 실시예에 따른 인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법의 전반적인 동작을 좀 더 상세히 설명하기 위한 블록도이다.
도 4a는 도 1에 도시된 시스템에서 프로세서가 기계학습을 수행하여 학습 모델을 생성하는 전반적인 동작을 간략하게 설명하기 위한 구성도이다.
도 4b는 도 1에 도시된 시스템에서 프로세서가 기계학습을 수행하는 과정에서 인공지능이 질의 시스템과 진단 및 치료 시스템과 연동되는 동작을 설명하기 위한 구성도이다.
도 5는 도 1에 도시된 시스템에서 프로세서가 BERT에 따라 기계학습을 수행하는 흐름도이다.
도 6은 도 1에 도시된 시스템에서 프로세서가 진단명을 고려하여 중요 질문을 결정하고 이를 기초로 단계적인 계층적 질의서를 작성하는 기계학습을 수행하는 흐름도이다.
도 7은 도 1에 도시된 시스템에서 프로세서가 의료진 질문과 환자 답변을 라벨링하여 학습 모델을 생성하는 부분 동작을 설명하기 위한 구성도이다.
도 8은 도 1에 도시된 시스템에서 프로세서가 환자 답변과 진단명을 라벨링하여 학습 모델을 생성하는 부분 동작을 설명하기 위한 구성도이다.
도 9는 본 발명의 일 실시예에 따른 인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법의 전반적인 동작을 설명하기 위한 순서도이다.
도 10은 도 9에 도시된 계층적 질의 및 문답 운용 방법 중 단계(S500)의 세부적인 동작을 설명하기 위한 순서도이다.
도 11은 도 1에 도시된 시스템의 각 구성요소들이 송수신하는 데이터 및 동작을 설명하기 위한 래더 차트이다.
이상의 각각의 도면들은, 후술할 발명의 설명을 명확하게 하기 위해 의료 관련 내용으로 예를 들어 도시하였으나, 의료 관련 내용에 한정되지 않는다.
Figure 1 is a block diagram of a system for implementing a hierarchical query and question-and-answer operation method through artificial intelligence-based natural language processing according to an embodiment of the present invention.
Figure 2 is a configuration diagram for explaining the overall operation of a hierarchical query and question-and-answer operation method through artificial intelligence-based natural language processing according to an embodiment of the present invention.
Figure 3 is a block diagram to explain in more detail the overall operation of the hierarchical query and question-and-answer operation method through artificial intelligence-based natural language processing according to an embodiment of the present invention.
FIG. 4A is a configuration diagram briefly explaining the overall operation in which a processor performs machine learning to create a learning model in the system shown in FIG. 1.
FIG. 4b is a configuration diagram illustrating the operation in which artificial intelligence is linked with the inquiry system and the diagnosis and treatment system while the processor performs machine learning in the system shown in FIG. 1.
FIG. 5 is a flowchart of a processor performing machine learning according to BERT in the system shown in FIG. 1.
FIG. 6 is a flowchart in which a processor determines important questions by considering the diagnosis in the system shown in FIG. 1 and performs machine learning to create a step-by-step hierarchical questionnaire based on them.
FIG. 7 is a configuration diagram illustrating a partial operation in which a processor creates a learning model by labeling medical staff questions and patient answers in the system shown in FIG. 1.
FIG. 8 is a configuration diagram illustrating a partial operation in which a processor creates a learning model by labeling patient answers and diagnoses in the system shown in FIG. 1.
Figure 9 is a flow chart to explain the overall operation of the hierarchical query and question-and-answer operation method through artificial intelligence-based natural language processing according to an embodiment of the present invention.
FIG. 10 is a flowchart for explaining the detailed operation of step S500 in the hierarchical query and question-and-answer operation method shown in FIG. 9.
FIG. 11 is a ladder chart to explain data and operations transmitted and received by each component of the system shown in FIG. 1.
Each of the drawings above illustrates medical-related content as an example to clarify the description of the invention to be described later, but is not limited to medical-related content.

본 발명의 이점 및 특징, 그리고 그것들을 달성하는 방법은 첨부되는 도면과 함께 상세하게 후술되어 있는 실시예들을 참조하면 명확해질 것이다.The advantages and features of the present invention and methods for achieving them will become clear by referring to the embodiments described in detail below along with the accompanying drawings.

여기에서, 이하의 첨부된 각각의 도면은 발명의 설명을 명확하게 하기 위해, 설명의 편의상, 의료 관련 내용으로 예를 들어 도시하였으나, 의료 관련 내용에 한정되지 않는다.Here, each of the accompanying drawings below illustrates medical-related content as an example for convenience of explanation in order to clarify the description of the invention, but is not limited to medical-related content.

본 발명은 이하에서 개시되는 실시예들에 제한되는 것이 아니라 서로 다른 다양한 형태로 구현될 수 있으며, 단지 본 실시예들은 본 발명의 개시가 완전하도록 하고, 본 발명이 속하는 기술 분야의 통상의 기술자에게 본 발명의 범주를 완전하게 알려주기 위해 제공되는 것이며, 본 발명은 청구항의 범주에 의해 정의될 뿐이다. The present invention is not limited to the embodiments disclosed below, but may be implemented in various different forms. The present embodiments are merely provided to ensure that the disclosure of the present invention is complete and to those skilled in the art to which the present invention pertains. It is provided to fully inform the scope of the present invention, and the present invention is defined only by the scope of the claims.

본 명세서에서 사용된 용어는 실시예들을 설명하기 위한 것이며 본 발명을 제한하고자 하는 것은 아니다. 본 명세서에서, 단수형은 문구에서 특별히 언급하지 않는 한 복수형도 포함한다. 명세서에서 사용되는 "포함한다 (comprises)" 및/또는 "포함하는(comprising)"은 언급된 구성요소 외에 하나 이상의 다른 구성요소의 존재 또는 추가를 배제하지 않는다. 명세서 전체에 걸쳐 동일한 도면 부호는 동일한 구성 요소를 지칭하며, "및/또는"은 언급된 구성요소들의 각각 및 하나 이상의 모든 조합을 포함한다. 비록 "제1", "제2" 등이 다양한 구성요소들을 서술하기 위해서 사용되나, 이들 구성요소들은 이들 용어에 의해 제한되지 않음은 물론이다. 이들 용어들은 단지 하나의 구성요소를 다른 구성요소와 구별하기 위하여 사용하는 것이다. 따라서, 이하에서 언급되는 제1 구성요소는 본 발명의 기술적 사상 내에서 제2 구성요소일 수도 있음은 물론이다.The terminology used herein is for describing embodiments and is not intended to limit the invention. As used herein, singular forms also include plural forms, unless specifically stated otherwise in the context. As used in the specification, “comprises” and/or “comprising” does not exclude the presence or addition of one or more other elements in addition to the mentioned elements. Like reference numerals refer to like elements throughout the specification, and “and/or” includes each and every combination of one or more of the referenced elements. Although “first”, “second”, etc. are used to describe various components, these components are of course not limited by these terms. These terms are merely used to distinguish one component from another. Therefore, it goes without saying that the first component mentioned below may also be a second component within the technical spirit of the present invention.

다른 정의가 없다면, 본 명세서에서 사용되는 모든 용어(기술 및 과학적 용어를 포함)는 본 발명이 속하는 기술분야의 통상의 기술자에게 공통적으로 이해될 수 있는 의미로 사용될 수 있을 것이다. 또한, 일반적으로 사용되는 사전에 정의되어 있는 용어들은 명백하게 특별히 정의되어 있지 않는 한 이상적으로 또는 과도하게 해석되지 않는다.Unless otherwise defined, all terms (including technical and scientific terms) used in this specification may be used with meanings commonly understood by those skilled in the art to which the present invention pertains. Additionally, terms defined in commonly used dictionaries are not interpreted ideally or excessively unless clearly specifically defined.

공간적으로 상대적인 용어인 "아래(below)", "아래(beneath)", "하부(lower)", "위(above)", "상부(upper)" 등은 도면에 도시되어 있는 바와 같이 하나의 구성요소와 다른 구성요소들과의 상관관계를 용이하게 기술하기 위해 사용될 수 있다. 공간적으로 상대적인 용어는 도면에 도시되어 있는 방향에 더하여 사용시 또는 동작시 구성요소들의 서로 다른 방향을 포함하는 용어로 이해되어야 한다. 예를 들어, 도면에 도시되어 있는 구성요소를 뒤집을 경우, 다른 구성요소의 "아래(below)"또는 "아래(beneath)"로 기술된 구성요소는 다른 구성요소의 "위(above)"에 놓여질 수 있다. 따라서, 예시적인 용어인 "아래"는 아래와 위의 방향을 모두 포함할 수 있다. 구성요소는 다른 방향으로도 배향될 수 있으며, 이에 따라 공간적으로 상대적인 용어들은 배향에 따라 해석될 수 있다.Spatially relative terms such as “below”, “beneath”, “lower”, “above”, “upper”, etc. are used as a single term as shown in the drawing. It can be used to easily describe the correlation between a component and other components. Spatially relative terms should be understood as terms that include different directions of components during use or operation in addition to the directions shown in the drawings. For example, if a component shown in a drawing is flipped over, a component described as “below” or “beneath” another component will be placed “above” the other component. You can. Accordingly, the illustrative term “down” may include both downward and upward directions. Components can also be oriented in other directions, so spatially relative terms can be interpreted according to orientation.

본 발명에서 병원 서버(300)는 외부 장치와 통신을 수행하여 정보를 처리하는 구성 요소로서, 애플리케이션 서버, 컴퓨팅 서버, 파일 서버, 메일 서버, 프록시 서버 및 웹 서버 등을 포함할 수 있다.In the present invention, the hospital server 300 is a component that processes information by communicating with external devices, and may include an application server, computing server, file server, mail server, proxy server, and web server.

본 발명에서 통신부(310)는 외부 장치와 통신을 가능하게 하는 하나 이상의 구성 요소를 포함할 수 있으며, 예를 들어, 유선통신 모듈, 무선통신 모듈, 근거리 통신 모듈 중 적어도 하나를 포함할 수 있다.In the present invention, the communication unit 310 may include one or more components that enable communication with an external device, and may include, for example, at least one of a wired communication module, a wireless communication module, and a short-distance communication module.

본 발명에서 프로세서(320)는 컨트롤러(controller), 마이크로 컨트롤러(microcontroller), 마이크로 프로세서(microprocessor), 마이크로 컴퓨터(microcomputer) 등으로서, 통신부(310) 및 데이터베이스(320)의 유기적인 동작을 전반적으로 제어하고, 각종 판단 및 연산을 수행하는 구성요소를 의미하고, 하드웨어(hardware) 또는 펌웨어(firmware), 소프트웨어 또는 이들의 결합에 의해 구현될 수 있다.In the present invention, the processor 320 is a controller, microcontroller, microprocessor, microcomputer, etc., and overall controls the organic operation of the communication unit 310 and the database 320. It refers to components that perform various decisions and calculations, and may be implemented by hardware, firmware, software, or a combination of these.

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

도 1은 본 발명의 일 실시예에 따른 인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법을 구현하기 위한 시스템의 블록도로서, 환자 단말(100), 의료진 단말(200) 및 병원 서버(300)를 포함하고, 병원 서버(300)는 통신부(310), 프로세서(320) 및 데이터베이스(330)를 포함한다.Figure 1 is a block diagram of a system for implementing a hierarchical query and question-and-answer operation method through artificial intelligence-based natural language processing according to an embodiment of the present invention, which includes a patient terminal 100, a medical staff terminal 200, and a hospital server ( 300), and the hospital server 300 includes a communication unit 310, a processor 320, and a database 330.

도 2는 본 발명의 일 실시예에 따른 인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법의 전반적인 동작을 설명하기 위한 구성도이다.Figure 2 is a configuration diagram for explaining the overall operation of a hierarchical query and question-and-answer operation method through artificial intelligence-based natural language processing according to an embodiment of the present invention.

도 3은 본 발명의 일 실시예에 따른 인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법의 전반적인 동작을 좀 더 상세히 설명하기 위한 블록도로서, 환자 단말(100), 환자 파일 저장공간(250) 및 병원 서버(300)를 포함한다.Figure 3 is a block diagram to explain in more detail the overall operation of the hierarchical query and question-and-answer operation method through artificial intelligence-based natural language processing according to an embodiment of the present invention, which includes a patient terminal 100 and a patient file storage space ( 250) and a hospital server 300.

도 4a는 도 1에 도시된 시스템에서 프로세서가 기계학습을 수행하여 학습 모델을 생성하는 전반적인 동작을 간략하게 설명하기 위한 구성도이다.FIG. 4A is a configuration diagram briefly explaining the overall operation in which a processor performs machine learning to create a learning model in the system shown in FIG. 1.

도 4b는 도 1에 도시된 시스템에서 프로세서가 기계학습을 수행하는 과정에서 인공지능이 질의 시스템과 진단 및 치료 시스템과 연동되는 동작을 설명하기 위한 구성도이다.FIG. 4b is a configuration diagram illustrating the operation in which artificial intelligence is linked with the inquiry system and the diagnosis and treatment system while the processor performs machine learning in the system shown in FIG. 1.

도 5는 도 1에 도시된 시스템에서 프로세서가 BERT에 따라 기계학습을 수행하는 흐름도이다.FIG. 5 is a flowchart of a processor performing machine learning according to BERT in the system shown in FIG. 1.

도 6은 도 1에 도시된 시스템에서 프로세서가 진단명을 고려하여 중요 질문을 결정하고 이를 기초로 단계적인 계층적 질의서를 작성하는 기계학습을 수행하는 흐름도이다.FIG. 6 is a flowchart in which a processor determines important questions by considering the diagnosis in the system shown in FIG. 1 and performs machine learning to create a step-by-step hierarchical questionnaire based on them.

도 7은 도 1에 도시된 시스템에서 프로세서가 의료진 질문과 환자 답변을 라벨링하여 학습 모델을 생성하는 부분 동작을 설명하기 위한 구성도이다.FIG. 7 is a configuration diagram illustrating a partial operation in which a processor creates a learning model by labeling medical staff questions and patient answers in the system shown in FIG. 1.

도 8은 도 1에 도시된 시스템에서 프로세서가 환자 답변과 진단명을 라벨링하여 학습 모델을 생성하는 부분 동작을 설명하기 위한 구성도이다.FIG. 8 is a configuration diagram illustrating a partial operation in which a processor creates a learning model by labeling patient answers and diagnoses in the system shown in FIG. 1.

도 9는 본 발명의 일 실시예에 따른 인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법의 전반적인 동작을 설명하기 위한 순서도이다.Figure 9 is a flow chart to explain the overall operation of the hierarchical query and question-and-answer operation method through artificial intelligence-based natural language processing according to an embodiment of the present invention.

도 10은 도 9에 도시된 계층적 질의 및 문답 운용 방법 중 단계(S500)의 세부적인 동작을 설명하기 위한 순서도이다.FIG. 10 is a flowchart for explaining the detailed operation of step S500 in the hierarchical query and question-and-answer operation method shown in FIG. 9.

도 11은 도 1에 도시된 시스템의 각 구성요소들이 송수신하는 데이터 및 동작을 설명하기 위한 래더 차트이다.FIG. 11 is a ladder chart to explain data and operations transmitted and received by each component of the system shown in FIG. 1.

도 1 내지 도 11을 참조하여 본 발명의 일 실시예에 따른 인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법의 동작을 개략적으로 설명하면 다음과 같다. With reference to FIGS. 1 to 11, the operation of the hierarchical query and question-and-answer operation method through artificial intelligence-based natural language processing according to an embodiment of the present invention is briefly described as follows.

먼저, 의료진 단말(200)이 환자의 데이터를 수신하여 진단 관련 자료를 병원 서버(300)에 전달한다(S100).First, the medical staff terminal 200 receives the patient's data and transmits the diagnosis-related data to the hospital server 300 (S100).

즉, 환자의 증상을 전자 파일 형태로 환자 파일 저장공간(250)에 임시 저장하고, 환자가 병원에 방문하여 진료실 내에서 임시 저장된 전자 파일이 활성화될 때에 병원 서버(300)에 기 저장된 환자의 의무기록에 저장된다.In other words, the patient's symptoms are temporarily stored in the patient file storage space 250 in the form of an electronic file, and when the patient visits the hospital and the temporarily stored electronic file is activated in the medical office, the patient's obligation is already stored in the hospital server 300. It is saved in the record.

여기에서, 전자 파일은 환자의 증상을 텍스트로 기록한 문서 파일, 환자의 음성을 녹취한 음성 파일, 음성-텍스트 전환 프로그램을 이용하여 텍스트로 변환한 문서 파일, 환자의 증상 또는 징후에 대한 동영상 파일 또는 사진 파일, 미리 준비된 질의서에 답한 문서 파일 중 어느 하나 이상을 포함할 수 있다. Here, the electronic file includes a document file recording the patient's symptoms in text, an audio file recording the patient's voice, a document file converted to text using a voice-to-text conversion program, Video files or photo files of the patient's symptoms or signs; It may include one or more of the document files that answered the pre-prepared questionnaire.

또한, 환자의 데이터는 환자 또는 환자의 보호자가 촬영한 이미지 또는 동영상, 환자의 음성을 녹취한 보이스 및 텍스트 중 어느 하나 이상을 포함할 수 있다.Additionally, the patient's data may include one or more of images or videos taken by the patient or the patient's guardian, voice recordings of the patient's voice, and text.

다음으로, 병원 서버(300)가 수신된 환자의 데이터로부터 키워드를 추출하여 질문을 도출하고(S200), 전달받은 자료를 기반으로 환자 단말(100)에 계층적 질의를 제공한다(S300).Next, the hospital server 300 extracts keywords from the received patient data to derive a question (S200) and provides a hierarchical query to the patient terminal 100 based on the received data (S300).

여기에서, 계층적 질의는 진단명을 도출하기 위하여 복수개의 질문이 계층적 트리 구조로 형성되는 진단용 질문 프로토콜일 수 있다. Here, the hierarchical query may be a diagnostic question protocol in which a plurality of questions are formed in a hierarchical tree structure to derive a diagnosis.

다음으로, 환자 단말(100)이 계층적 질의에 대응되는 답변을 전송한다(S400).Next, the patient terminal 100 transmits an answer corresponding to the hierarchical query (S400).

병원 서버(300)가 답변으로부터 키워드를 추출하여 인공지능 기반 기계학습을 수행하여 진단명을 도출하는 학습 모델을 생성한다(S500).The hospital server 300 extracts keywords from the answers and performs artificial intelligence-based machine learning to create a learning model that derives a diagnosis (S500).

즉, 계층적 질의에 대응되는 환자의 답변에 대해 학습하고(S510), 환자의 답변에 포함된 키워드를 이용하여 환자의 진단명을 도출한다(S520).That is, the patient's answer corresponding to the hierarchical query is learned (S510), and the patient's diagnosis is derived using keywords included in the patient's answer (S520).

단계(S510)에서, 프로세서(320)는 계층적 질의와 환자의 답변을 라벨링한 전처리 데이터를 생성하고, 이를 이용하여 학습 데이터를 생성하여, 추후 의료진 단말(200)이 질문을 입력할 경우, 학습 데이터를 이용하여 예상되는 환자의 답변을 출력한다.In step S510, the processor 320 generates preprocessed data labeling the hierarchical query and the patient's answer, and uses this to generate learning data, so that when the medical staff terminal 200 inputs a question later, the processor 320 generates preprocessed data labeling the hierarchical query and the patient's answer. Using the data, the expected patient response is output.

단계(S510)에서, 프로세서(320)는 환자의 답변에 포함된 키워드와 진단명을 라벨링하고, 계층적 질의에서 추출된 단어를, 환자를 진단하는 학습 데이터로 생성한다.In step S510, the processor 320 labels keywords and diagnosis names included in the patient's answers and generates words extracted from the hierarchical query as learning data to diagnose the patient.

또한, 계층적 질의 중 핵심적인 질문을 결정하고(S530), 계층적 질의의 순번과 진단명을 라벨링하여 매칭한다(S540).In addition, the core question among the hierarchical queries is determined (S530), and the order and diagnosis name of the hierarchical query are labeled and matched (S540).

한편, 병원 서버(300)가 환자의 답변을 데이터베이스(330)에 저장하되, 핵심적인 항목이 표시되어 체크된 부분과 도출된 진단명과의 관련성을, 인공지능을 통한 판단으로 환자의 추후 증상 진단에 활용할 수 있다.Meanwhile, the hospital server 300 stores the patient's answer in the database 330, and key items are displayed to determine the relationship between the checked part and the derived diagnosis through artificial intelligence to diagnose the patient's future symptoms. You can utilize it.

만일, 의료진 단말(200)에 계층적 질의에 없는 질문이 수신된 경우, 프로세서(320)는 계층적 질의를 업데이트한다.If a question that is not included in the hierarchical query is received at the medical staff terminal 200, the processor 320 updates the hierarchical query.

도 1 내지 도 11을 참조하여 본 발명의 일 실시예에 따른 인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법의 유기적인 동작을 실시예를 들어 상세하게 설명하면 다음과 같다.1 to 11, the organic operation of the hierarchical query and question-and-answer operation method through artificial intelligence-based natural language processing according to an embodiment of the present invention will be described in detail by way of example as follows.

본 발명은 환자와 의료진 간의 의사 소통에 있어서, 환자의 정확한 진단과 치료에 꼭 필요하고 정확한 정보를 얻는 방법에 관한 것이다.The present invention relates to a method of obtaining accurate information essential for accurate diagnosis and treatment of patients in communication between patients and medical staff.

즉, 본 발명은 환자와 의료진 간에 짧은 시간 동안 오고 가는 의사소통에 있어서, 환자 단말과 의료진 단말 간 계층적 질의 문답을 통해 키워드를 추출하여 학습모델을 생성한다.That is, the present invention generates a learning model by extracting keywords through hierarchical questions and answers between the patient terminal and the medical staff terminal in short-term communication between the patient and the medical staff.

예를 들어, 짧은 시간에 호소하는 환자의 설명에 아주 중요한 내용이 누락될 수도 있고, 의료진 역시 환자의 설명을 듣거나 자료를 검토하고서 전문지식에 의거하여 필요한 질문을 하지만, 경우에 따라 환자의 설명 중에 중요한 것을 인식하지 못하거나 여러가지의 가능성 있는 진단들 중에서 생각하지 못한 것이 있을 수 있다.For example, very important information may be omitted in the explanation of a patient who complains in a short period of time, and medical staff also listen to the patient's explanation or review the data and ask necessary questions based on their expertise, but in some cases, the patient's explanation may be omitted. You may not be aware of something important, or you may not have considered one of the many possible diagnoses.

이럴 경우, 의료진의 판단이 잘못되고 부정확한 방향으로 진료가 진행될 가능성이 있으므로, 본 발명은 이를 미연에 방지하기 위하여 학습모델을 통해서 얻는 지식으로, 각각의 상황에 관련된 질문이 누락되는 경우가 없도록 상시에 유지함으로써, 환자의 진단을 효율적이고 정확하게 진행할 수 있게 된다.In this case, there is a possibility that the medical staff's judgment may be wrong and the treatment may proceed in an inaccurate direction, so the present invention provides knowledge obtained through a learning model to prevent this in advance, and is always provided to ensure that questions related to each situation are not missed. By maintaining this, it is possible to efficiently and accurately diagnose the patient.

먼저, 환자가 본 발명의 인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법을 이용하여 의료진의 임상의와 여러가지 질의와 답변을 주고받는 상황이라고 가정한다.First, assume that the patient is exchanging various questions and answers with the medical staff clinician using the hierarchical question and answer operation method through artificial intelligence-based natural language processing of the present invention.

임상의는 환자의 정확한 진단을 위해 복수개의 질문, 예를 들어, 도 4b에서 보는 바와 같이, 의료진 단말(200)을 통해 제1 질문(①)부터 제7 질문(⑦)까지 질문하는 진단용 질문 프로토콜을 이용한다.A diagnostic question protocol in which a clinician asks a plurality of questions, for example, from the first question (①) to the seventh question (⑦), through the medical staff terminal 200, as shown in FIG. 4B, in order to accurately diagnose a patient. Use .

즉, 진단용 질문 프로토콜은 복수개의 질문이 계층적 트리 구조로 형성되는 질의 시스템, 인공지능과 진단 및 치료 시스템으로 구성된다.In other words, the diagnostic question protocol consists of a query system in which multiple questions are formed in a hierarchical tree structure, artificial intelligence, and a diagnosis and treatment system.

인공지능은 질의 시스템으로부터 핵심적인 질문들을 입력받아 키워드를 기초로 기계학습을 수행하여 학습모델을 생성한다.Artificial intelligence receives key questions from the query system and performs machine learning based on keywords to create a learning model.

예를 들어, 도 4b에서 보는 바와 같이, 환자의 진술을 기반으로 하여 질의 시스템은 제1 단계에서 복수개의 질의를 생성하고, 그 중에서 핵심적인 제1 질문(①)을 이용하여 제2 단계에서 또다른 복수개의 질의를 생성한다.For example, as shown in Figure 4b, based on the patient's statement, the query system generates a plurality of queries in the first step, and among them, the key first question (①) is used to ask another question in the second step. Create multiple other queries.

마찬가지로, 질의 시스템은 바로 전 단계에서의 핵심적인 질문을 이용하여 제4 단계까지 복수개의 질의를 생성하는 형식으로, 계층적 질의의 트리 구조를 형성한다.Likewise, the query system uses key questions from the previous step to generate multiple queries up to the fourth step, forming a hierarchical query tree structure.

본 실시예에서는 이해의 편의를 위해 제1 내지 제4 단계, 제1 내지 제7 질문(①~⑦)을 예시하였으나, 제5 단계 이상과 제8 질문 이상을 생성할 수도 있다. In this embodiment, the 1st to 4th steps and the 1st to 7th questions (① to ⑦) are illustrated for ease of understanding, but the 5th step and higher and the 8th question and higher can also be created.

이와 같이 생성된 핵심적인 질문들은 인공지능에 입력되고, 인공지능은 이를 이용하여 진단 및 치료 시스템으로 하여금 환자의 정확한 진단명을 도출하게 한다.The key questions generated in this way are input into artificial intelligence, and artificial intelligence uses them to enable the diagnosis and treatment system to derive an accurate diagnosis for the patient.

또한, 질의 시스템에서 질문은 중요한 증상으로 대분류하고 그 대분류 질문에 해당하는 다음 소분류 질문을 하고, 소분류 질문에 따른 더 자세한 질문을 하는 계층적 분류 체계를 만드는데, 어떤 경우에는 질의 시스템에 없던 새로운 질문을 하는 경우도 있다.In addition, in the query system, questions are categorized into important symptoms, the next subcategory question corresponding to the major category question is asked, and a hierarchical classification system is created in which more detailed questions are asked according to the subcategory question. In some cases, new questions that did not exist in the query system are created. There are cases where it is done.

따라서, 이러한 경우를 대비하여 새로운 질문이 발생하면, 질의 시스템에 반영하여 새로 업데이트하는 방식도 중요하고, 환자가 똑같은 증상을 느낄지라도 환자의 주거지역이나 사투리가 달라서 다르게 표현하는 경우도 있으므로, 그때마다 업데이트가 필요하다.Therefore, in preparation for such cases, when a new question arises, it is important to update it by reflecting it in the inquiry system. Even if the patient feels the same symptoms, there are cases where the patient's residential area or dialect is different and it is expressed differently, so each time. An update is needed.

또한, 전체적인 질의 시스템은 너무 방대할 수 있으므로, 의료진의 전문분야에 따라 전체 중 일부만 운영하고, 업데이트할 때마다 전체 시스템에 즉시 반영하는 것도 필요하다.Additionally, because the overall inquiry system may be too vast, it is necessary to operate only a portion of the entire system depending on the medical staff's specialty and immediately reflect it in the entire system whenever an update is made.

이를 위하여, 인공지능은 도 4b에서 보는 바와 같이, 상기 업데이트한 내용들 중 제2 단계의 질문들과 관련된 질문들을 제2 단계에 추가할 수 있다. To this end, as shown in Figure 4b, artificial intelligence can add questions related to the questions of the second stage among the updated contents to the second stage.

한편, 환자가 계층적 질의에 답변하기 어려운 상황인 경우, 예를 들어, 고령의 환자만 병원에 내원했을 때 환자가 논리에 맞게 설명하지 못하는 경우가 발생할 수 있다.On the other hand, in situations where it is difficult for the patient to answer hierarchical questions, for example, when only elderly patients visit the hospital, there may be cases where the patient is unable to explain logically.

이때에는, 환자의 보호자가 대신 환자의 증상이나 징후를 자유기고식으로 핸드폰 등의 사용자 단말기 또는 USB 등의 메모리 매체에 기록하여 내원하게 되면, 그 내용을 의료진 단말(200)인 병원의 PC에 저장하고, 본 발명의 계층적 질의 및 문답 운용 방법을 탑재한 프로그램에 의해 중요한 키워드를 추출하여 자동으로 입력하고, 환자 또는 환자의 보호자로 하여금 추가로 질문 또는 답변을 할 수 있도록 유도할 수도 있다.In this case, when the patient's guardian records the patient's symptoms or signs in a freelance manner on a user terminal such as a mobile phone or a memory medium such as a USB, the patient's guardian visits the hospital and stores the contents on the hospital's PC, which is the medical staff terminal 200. Additionally, a program equipped with the hierarchical inquiry and question-and-answer operation method of the present invention can extract important keywords, automatically enter them, and guide the patient or the patient's guardian to ask additional questions or answers.

또한, 환자의 증상을 집에서 미리 텍스트로 전자 파일에 기록하거나, 도 3에서 보는 바와 같이, 제한된 시간 동안만 음성 파일로 녹취하여 음성-텍스트(voice to test) 전환 프로그램을 이용하여 문자로 변환하거나, 미리 준비된 질의서에 답한 내용 등을 환자 파일 저장공간(250)에 임시 저장하여, 환자가 병원의 진료실 내에서 활성화될 때만 유효하도록 하여 병원 서버(300)에 기 저장된 환자의 의무기록에 저장되게 할 수도 있다.In addition, the patient's symptoms can be recorded in advance as text in an electronic file at home, or, as shown in Figure 3, recorded as a voice file for a limited time and converted to text using a voice-to-text (voice to test) conversion program. , the contents of answers to pre-prepared questionnaires, etc., are temporarily stored in the patient file storage space 250, so that they are valid only when the patient is activated within the hospital's medical room, and are stored in the patient's medical record previously stored in the hospital server 300. It may be possible.

그리고, 병원 서버(300) 내 프로세서(320)는 제1 단계에서 상기 파일들의 내용으로부터 단어들을 추출하여 핵심이 되는 키워드들을 중심으로 해당 키워드에 대한 제2 단계의 질문들에 답변하도록 하고, 이 답변들을 토대로 제3 단계의 질문들을 생성하여 환자로 하여금 답변하도록 한다.Then, the processor 320 in the hospital server 300 extracts words from the contents of the files in the first step and answers questions in the second step about the keywords focusing on key keywords, and answers these answers. Based on these questions, the third stage of questions is created and the patient is asked to answer them.

답변은 객관식 또는 주관식 형태의 텍스트 형식이 될 수도 있고, 음성 형식으로 답변하여 음성-텍스트 전환 프로그램으로 변환된 텍스트 형식이 될 수도 있다. The answers may be in text format in the form of multiple choice or subjective answers, or they may be in text format converted by a voice-to-text conversion program.

프로세서(320)는 상기 다양한 형식들의 답변을 통합 정리하여, 해당 환자에 대한 질의서가 완성이 된다.The processor 320 integrates and organizes the answers in the various formats to complete the questionnaire for the patient.

한편, 인공지능은 진단 및 치료 시스템으로 하여금 제1 내지 제4 단계에서의 의료진의 다양한 질문에 대한 환자의 답변을 기초로 진단을 수행하게 한다. Meanwhile, artificial intelligence allows the diagnosis and treatment system to perform diagnosis based on the patient's answers to various questions from the medical staff in the first to fourth steps.

의료진의 질문들(Q1~Q4)과 이들에 대한 환자의 답변들(A1~A4)을 예로 들면 다음과 같다. Examples of the medical staff's questions (Q1~Q4) and the patient's answers (A1~A4) are as follows.

하나의 실시예로서, 한 환자가 결핵약을 복용하는 중에 갑자기 간 기능이 악화되어서 의료진이 그 원인을 찾기 위해 환자에게 질문하는 경우라고 가정한다. As an example, assume that a patient's liver function suddenly worsens while taking tuberculosis medication, and the medical staff questions the patient to find the cause.

Q1: 환자가 혹시 최근에 어떤 건강식품이나 몸에 영향을 주는 약을 먹은 일이 있나요?Q1: Has the patient recently taken any health food or medicine that affects the body?

A1: 절대로 없어요. A1: Absolutely not.

Q2: 한약 같은 것은요?Q2: What about herbal medicine?

A2: 절대로 없어요. A2: Absolutely not.

Q3: 삼계탕은요? Q3: What about samgyetang?

A3: 아, 그거 먹었는데요? A3: Oh, you ate that?

Q4: 삼계탕에 들어간 인삼도 한약인데요? 다른 것 먹은 일 없어요? Q4: Is the ginseng in samgyetang also an herbal medicine? Have you ever eaten anything else?

A4: 절대로 없어요. A4: Absolutely not.

Q5: 혹시 다려 먹은 것 없나요? Q5: Have you ever cooked anything?

A5: 도라지에 헛깨나무 뿌리 넣고 고아 먹었는데요. A5: I boiled bellflower root with sesame root and ate it.

Q6: 그 것 한약이잖아요?Q6: That’s herbal medicine, right?

A6: 아, 그래요? 도라지와 헛깨나무 뿌리가 한약인 줄 몰랐네요.A6: Oh, really? I didn't know that bellflower root and sesame root were herbal medicine.

상기 실시예의 경우, 처음에 환자는 간 기능이 악화되었으므로 환자 혹은 환자 측에서 답변하도록 질의서가 제공되는데, 해당 환자의 경우 질문에 한약을 먹은 일 있냐고 묻는 질문에 안 먹었다고 표시할 것이다. In the above example, since the patient's liver function has worsened at first, a questionnaire is provided for the patient or the patient to answer. When the patient is asked whether he has ever taken herbal medicine, he will indicate that he has not taken it.

그러나, 의료진이 삼계탕을 먹는 일이 있느냐고 질문하여 삼계탕을 먹었다고 하면, 원인은 삼계탕에 포함된 인삼이 원인이라는 결론을 내게 된다.However, when the medical staff asks if you ever eat samgyetang and you say you ate samgyetang, they conclude that the cause is the ginseng contained in samgyetang.

만일, 상기와 같은 적당한 관련 질문이 없었다면, 환자는 한약 등 다른 약은 복용한 일이 없는 것으로 정보가 기록되었을 것이고, 결론적으로 의료진의 판단이 잘못 결정되었을 것이다. If there were no appropriate related questions as above, the information would have been recorded as if the patient had never taken any other medicines, such as herbal medicine, and ultimately the medical staff's judgment would have been incorrect.

이에 따라, 추후 다른 환자의 치료 중에 간 기능이 증가된 경우, 이전에는 질의서 대답에 한약이라는 리스트 밖에 없었는데, 해당 환자와의 면담 이후에는 질의서 답변에 한약 이외 삼계탕이라는 답변 리스트가 추가된다.Accordingly, if liver function increases during the treatment of another patient, previously the only list of answers to the questionnaire was herbal medicine, but after the interview with the patient, a list of answers other than herbal medicine and samgyetang is added to the questionnaire.

따라서, 의료진이 동일한 진료 케이스를 겪었을 경우에, 환자가 받아본 질의서에는 삼계탕이라는 답변 리스트가 있어서 의료진이 삼계탕 먹었는지를 확인 질문하는 것을 잊고 말하지 않아도, 질의서가 이미 업데이트 및 수정되어서 동일한 진료 케이스의 추후 환자부터는 환자가 질의서에 있는 질문에 삼계탕을 답변하게 되는 것이다.Therefore, when the medical staff has experienced the same medical case, the questionnaire received by the patient has a list of answers called samgyetang, so the medical staff does not have to forget to ask whether they ate samgyetang or not, because the questionnaire has already been updated and modified, so it can be used in the future for the same medical case. The patient is asked to answer the questions in the questionnaire using samgyetang.

즉, 상황에 따라 인간에 의해서 발생되는 오류(예를 들어, 당시 상황마다 질문이 포함되거나 안되거나 하는 휴먼 에러 등)를 최소화하고, 질의서가 상시적으로 자동 업데이트됨으로서 최상의 질의서가 만들어지는 것이다.In other words, the best questionnaire is created by minimizing errors caused by humans depending on the situation (for example, human error in whether or not a question is included in each situation, etc.) and by automatically updating the questionnaire on a regular basis.

상기 실시예의 환자 경우처럼, 병원 서버(300)가 환자의 답변으로부터 키워드를 추출하여 인공지능을 이용해 기계학습을 수행하는 동작은 다음과 같다.As in the case of the patient in the above example, The operation of the hospital server 300 to extract keywords from the patient's answers and perform machine learning using artificial intelligence is as follows.

의료진 단말(200)이 환자의 데이터를 수신하여 진단 관련 자료를 병원 서버(300)에 전달하면, 도 4b에서 보는 바와 같이, 질의 시스템은 수신한 환자의 데이터로부터 키워드를 추출하여 복수개의 질문을 도출한다.When the medical staff terminal 200 receives the patient's data and transmits the diagnosis-related data to the hospital server 300, as shown in Figure 4b, the inquiry system extracts keywords from the received patient data and generates a plurality of questions. do.

또한, 도 11에서 보는 바와 같이, 의료진 단말(200)로부터 전달받은 자료를 기반으로 환자 단말(100)에 계층적 질의를 제공한다. In addition, as shown in FIG. 11, hierarchical queries are provided to the patient terminal 100 based on data received from the medical staff terminal 200.

이때, 환자 단말(100)에 제공되는 계층적 질의의 순서(sequence)는 도 5에 도시된 바와 같이, BERT(Bidirectional Encoder Representation from Transformer, 이하 BERT)에 의해 학습된다.At this time, the sequence of hierarchical queries provided to the patient terminal 100 is learned by BERT (Bidirectional Encoder Representation from Transformer, hereinafter BERT), as shown in FIG. 5.

여기에서, BERT는 광범위하게 수집된 다량의 자연어 데이터를 트랜스포머(transformer) 구조를 응용한 딥러닝 모델을 통해서 일반적인 과제를 해결하는 비지도 방식의 사전 학습모델로서, 학습 과정에서 생성된 가중치를 기반으로 특정 분야에서 산출된 비교적 소량의 자연어 데이터를 가지고 추가적인 학습을 수행하여 기존 가중치들을 재차 정교하게 수정하는 학습모델을 의미한다. Here, BERT is an unsupervised dictionary learning model that solves general tasks through a deep learning model that applies a transformer structure to a large amount of widely collected natural language data. It is based on the weights generated during the learning process. It refers to a learning model that performs additional learning with a relatively small amount of natural language data produced in a specific field and elaborately revises the existing weights.

환자 단말(100)이 계층적 질의에 대응되는 답변을 전송하면, 프로세서(320)가 도 7에서 보는 바와 같이, 의료진 질문과 이에 대응되는 환자 답변을 라벨링한 전처리 데이터를 생성하여 학습모델에 반영한다.When the patient terminal 100 transmits an answer corresponding to a hierarchical query, the processor 320 generates preprocessed data labeling the medical staff question and the corresponding patient answer and reflects it in the learning model, as shown in FIG. 7. .

프로세서(320)는 전처리 데이터를 이용하여 학습 데이터를 생성하고, 추후 의료진 단말(200)이 질문을 입력할 경우, 학습 데이터를 이용하여 예상되는 환자의 답변을 출력할 수 있다.The processor 320 generates learning data using preprocessed data, and later, when the medical staff terminal 200 inputs a question, it can output the patient's expected answer using the learning data.

다음으로, 병원 서버(300) 내 프로세서(320)가 환자의 답변으로부터 키워드를 추출하여 진단명을 도출하는 학습 모델을 생성한다.Next, the processor 320 in the hospital server 300 extracts keywords from the patient's answers and creates a learning model that derives a diagnosis.

즉, 프로세서(320)가 도 8에서 보는 바와 같이, 환자의 답변과 이에 대응되는 진단명을 라벨링한 데이터를 생성하여 학습모델에 반영한다.That is, as shown in FIG. 8, the processor 320 generates data labeling the patient's answers and the corresponding diagnosis and reflects them in the learning model.

또한, 복수개의 질문이 계층적 트리 구조로 형성되는 도 4b에 도시된 진단용 질문 프로토콜에서 추출된 단어를 이용하여 환자를 진단하는 학습데이터를 생성한다.In addition, learning data for diagnosing a patient is generated using words extracted from the diagnostic question protocol shown in FIG. 4B in which a plurality of questions are formed in a hierarchical tree structure.

다음으로, 병원 서버(300) 내 프로세서(320)가 도 4b에 도시된 계층적 질의 중 핵심적인 질문을 결정하여 계층적 질의의 순번과 진단명을 매칭시킨다.Next, the processor 320 within the hospital server 300 determines key questions among the hierarchical queries shown in FIG. 4B and matches the order number of the hierarchical queries with the diagnosis name.

예를 들어, 해당 환자의 진단명이 '폐렴'인 경우, 도 4b에 도시된 제1 질문(①), 제3 질문(③) 및 제5 질문(⑤)에 대응되는 환자의 답변에 포함된 키워드로 폐렴 진단이 용이할 경우, [폐렴-1,3,5 질문]과 같이 라벨링하여 전처리 데이터를 생성하고 학습모델에 반영한다.For example, if the patient's diagnosis is 'pneumonia', keywords included in the patient's answers corresponding to the first question (①), third question (③), and fifth question (⑤) shown in Figure 4b If it is easy to diagnose pneumonia, preprocessing data is generated by labeling it as [Pneumonia-questions 1, 3, and 5] and reflected in the learning model.

아울러, 해당 질병인 '폐렴'과 관련된 최신 의학기술이 공개된 경우, 병원 서버(300)는 통신부(310)를 통해 외부 서버와 통신하여 데이터베이스(330)를 업데이트할 수도 있다.In addition, when the latest medical technology related to the disease 'pneumonia' is disclosed, the hospital server 300 may update the database 330 by communicating with an external server through the communication unit 310.

또한, 의료진의 계층적 질의에 대한 환자의 답변 데이터는 병원 서버(300) 내 데이터베이스(330)에 저장되는데, 의료진에 의해 중요하고 핵심적인 항목으로 표시되어 체크된 항목과, 후에 해당 질병이 확진 되었을 ‹š의 진단명과의 관련성을, 인공지능이 판단하여 환자의 추후 증상 진단에 활용할 수도 있다.In addition, the patient's response data to the medical staff's hierarchical inquiries are stored in the database 330 within the hospital server 300, including items marked as important and core by the medical staff and checked, and items that were later confirmed to have the disease. Artificial intelligence can determine the relevance of the patient's diagnosis and use it to diagnose the patient's symptoms later.

따라서, 본 발명은 인공지능으로 학습된 내용이 질의서를 상시적으로 업데이트하게 되고, 의료진이 어떤 질문으로 했든지 혹은 업데이트된 질의서로 질문했든지, 환자의 모든 답변과 의료진의 결론인 최종 확진 2가지를 매칭하여 무슨 단어가 가장 중요했고, 해당 단어(또는 단어들의 조합)가 나오면 이러한 진단을 해야 한다는 결론이 도출되게 되어 해당 질문이 반드시 포함되어야 한다는 학습모델이 생성된다.Therefore, in the present invention, the content learned through artificial intelligence constantly updates the questionnaire, and regardless of the question asked by the medical staff or the updated questionnaire, all of the patient's answers and the two final confirmations that are the conclusion of the medical staff are confirmed. By matching, a conclusion is drawn that which word was most important and that such a diagnosis should be made when that word (or combination of words) appears, creating a learning model that the question must be included.

이와 같이, 본 발명은 환자 단말과 의료진 단말 간에 송수신하는 문답에서 키워드를 추출하고, 의료진의 적절한 질문 및 이에 대응되는 환자 답변 중에서 키워드를 파악하여 학습모델을 생성함으로써, 실제 임상의 상황처럼 짧은 시간에 설명하는 환자의 답변 내용에서 누락되거나 의료진의 판단에 따른 가능성들의 경우, 목록에서 누락되거나 환자가 설명함에도 인지하지 못하고 넘어가는 실수의 가능성을 줄이고, 상시적으로 보다 더 향상된 질의서를 일관되게 적용하게 되므로, 환자의 진단을 효율적이고 정확하게 진행할 수 있는 인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법을 제공한다.In this way, the present invention extracts keywords from the questions and answers transmitted between the patient terminal and the medical staff terminal, identifies keywords among the medical staff's appropriate questions and the corresponding patient answers, and creates a learning model in a short time, like an actual clinical situation. In the case of possibilities omitted from the patient's explanation or based on the medical staff's judgment, the possibility of mistakes being omitted from the list or overlooked even when the patient is explaining is reduced, and an improved questionnaire is consistently applied on a regular basis. , Provides a hierarchical query and question-and-answer operation method through artificial intelligence-based natural language processing that can efficiently and accurately diagnose patients.

이를 통하여, 본 발명은 의료 진료에 있어서 환자의 증상이나 징후에 대한 정보를 환자 단말과 의료진 단말 사이의 질의 답변 과정을 통해 정확하게 정리함으로써, 보다 쉽고 안전하게 환자를 진단 및 치료를 진행하게 됨에 따라, 환자의 증상이나 징후에 관한 정보를 얻는데 소요되는 시간과 노력을 획기적으로 절약할 수 있게 된다.Through this, the present invention accurately organizes information about the patient's symptoms or signs in medical treatment through a question-and-answer process between the patient terminal and the medical staff terminal, making it easier and safer to diagnose and treat the patient. The time and effort required to obtain information about symptoms or signs can be dramatically saved.

본 발명의 실시예와 관련하여 설명된 방법 또는 알고리즘의 단계들은 하드웨어로 직접 구현되거나, 하드웨어에 의해 실행되는 소프트웨어 모듈로 구현되거나, 또는 이들의 결합에 의해 구현될 수 있다. 소프트웨어 모듈은 RAM(Random Access Memory), ROM(Read Only Memory), EPROM(Erasable Programmable ROM), EEPROM(Electrically Erasable Programmable ROM), 플래시 메모리(Flash Memory), 하드 디스크, 착탈형 디스크, CD-ROM, 또는 본 발명이 속하는 기술 분야에서 잘 알려진 임의의 형태의 컴퓨터 판독가능 기록매체에 상주할 수도 있다.The steps of the method or algorithm described in connection with embodiments of the present invention may be implemented directly in hardware, implemented as a software module executed by hardware, or a combination thereof. The software module may be RAM (Random Access Memory), ROM (Read Only Memory), EPROM (Erasable Programmable ROM), EEPROM (Electrically Erasable Programmable ROM), Flash Memory, hard disk, removable disk, CD-ROM, or It may reside on any type of computer-readable recording medium well known in the art to which the present invention pertains.

이상, 첨부된 도면을 참조로 하여 본 발명의 실시예를 설명하였지만, 본 발명이 속하는 기술분야의 통상의 기술자는 본 발명이 그 기술적 사상이나 필수적인 특징을 변경하지 않고서 다른 구체적인 형태로 실시될 수 있다는 것을 이해할 수 있을 것이다. 그러므로, 이상에서 기술한 실시예들은 모든 면에서 예시적인 것이며, 제한적이 아닌 것으로 이해해야만 한다.Above, embodiments of the present invention have been described with reference to the attached drawings, but those skilled in the art will understand that the present invention can be implemented in other specific forms without changing its technical idea or essential features. You will be able to understand it. Therefore, the embodiments described above should be understood in all respects as illustrative and not restrictive.

예를 들어, 본 발명의 상기 기술된 실시예들에서는 환자와 의료진과의 질의와 답변을 예시하여 설명되었으나, 범죄 수사를 비롯한 각종 문답 과정이 이루어지는 사회 분야, 국정 감사나 청문회를 비롯한 각종 문답 과정이 이루어지는 정치 분야 등에서도 인공지능을 기반으로 해서 자연어 처리를 통해 문답을 운용하는 다양한 경우에 대하여 본 발명이 활용될 수 있다. For example, in the above-described embodiments of the present invention, questions and answers between patients and medical staff are exemplified, but in social fields where various question-and-answer processes, including criminal investigations, are conducted, and various question-and-answer processes, including state inspections and hearings, In the field of politics, etc., the present invention can be used in various cases where questions and answers are operated through natural language processing based on artificial intelligence.

100: 환자 단말 200: 의료진 단말
250: 환자 파일 저장공간 300: 병원 서버
310: 통신부 320: 프로세서
330: 데이터베이스
100: Patient terminal 200: Medical staff terminal
250: Patient file storage space 300: Hospital server
310: Communication unit 320: Processor
330: database

Claims (10)

(a) 의료진 단말이 환자의 데이터를 수신하여 진단 관련 자료를 병원 서버에 전달하는 단계;
(b) 상기 병원 서버가 상기 수신된 환자의 데이터로부터 키워드를 추출하여 질문을 도출하고, 상기 전달받은 자료를 기반으로 상기 환자 단말에 계층적 질의를 제공하는 단계;
(c) 상기 환자 단말이 상기 계층적 질의에 대응되는 답변을 전송하는 단계;
(d) 상기 병원 서버가 상기 답변으로부터 키워드를 추출하여 인공지능 기반 기계학습을 수행하여 진단명을 도출하는 학습 모델을 생성하는 단계; 및
(e) 상기 의료진 단말에 상기 계층적 질의에 없는 질문이 수신된 경우, 상기 계층적 질의를 업데이트하는 단계;
를 포함하는 것을 특징으로 하는,
인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법.
(a) a medical staff terminal receiving patient data and transmitting diagnosis-related data to the hospital server;
(b) the hospital server extracting keywords from the received patient data to derive a question, and providing a hierarchical query to the patient terminal based on the received data;
(c) the patient terminal transmitting an answer corresponding to the hierarchical query;
(d) the hospital server extracting keywords from the answers and performing artificial intelligence-based machine learning to create a learning model that derives a diagnosis; and
(e) when a question that is not in the hierarchical query is received at the medical staff terminal, updating the hierarchical query;
Characterized in that it includes,
Hierarchical question and answer operation method using artificial intelligence-based natural language processing.
제 1 항에 있어서,
상기 (a) 단계는,
상기 환자의 증상을 전자 파일 형태로 환자 파일 저장공간에 임시 저장하는 단계; 및
상기 환자가 병원에 방문하여 진료실 내에서 상기 임시 저장된 전자 파일이 활성화될 때에 상기 병원 서버에 기 저장된 환자의 의무기록에 저장되는 단계;
를 포함하는 것을 특징으로 하는,
인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법.
According to claim 1,
In step (a),
Temporarily storing the patient's symptoms in the form of an electronic file in a patient file storage space; and
When the patient visits the hospital and the temporarily stored electronic file is activated in the medical office, storing it in the patient's medical record previously stored on the hospital server;
Characterized in that it includes,
Hierarchical question and answer operation method using artificial intelligence-based natural language processing.
제 2 항에 있어서,
상기 전자 파일은,
상기 환자의 증상을 텍스트로 기록한 문서 파일, 상기 환자의 음성을 녹취한 음성 파일, 음성-텍스트 전환 프로그램을 이용하여 텍스트로 변환한 문서 파일, 상기 환자의 증상 또는 징후에 대한 동영상 파일 또는 사진 파일, 미리 준비된 질의서에 답한 문서 파일 중 어느 하나 이상을 포함하는 것을 특징으로 하는,
인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법.
According to claim 2,
The electronic file is,
A document file recording the patient's symptoms in text, an audio file recording the patient's voice, a document file converted to text using a voice-to-text conversion program, a video file or photo file about the patient's symptoms or signs, Characterized by including one or more of the document files that answer a pre-prepared questionnaire,
Hierarchical question and answer operation method using artificial intelligence-based natural language processing.
제 1 항에 있어서,
상기 (a) 단계에서,
상기 환자의 데이터는,
상기 환자 또는 상기 환자의 보호자가 촬영한 이미지 또는 동영상, 상기 환자의 음성을 녹취한 보이스 및 텍스트 중 어느 하나 이상을 포함하는 것을 특징으로 하는,
인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법.
According to claim 1,
In step (a) above,
The patient's data is,
Characterized in that it includes at least one of an image or video taken by the patient or the patient's guardian, a voice recording of the patient's voice, and text,
Hierarchical question and answer operation method using artificial intelligence-based natural language processing.
제 1 항에 있어서,
상기 (b) 단계에서,
상기 계층적 질의는
상기 진단명을 도출하기 위하여 복수개의 질문이 계층적 트리 구조로 형성되는 진단용 질문 프로토콜인 것을 특징으로 하는,
인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법.
According to claim 1,
In step (b) above,
The above hierarchical query is
Characterized in that it is a diagnostic question protocol in which a plurality of questions are formed in a hierarchical tree structure to derive the diagnosis.
Hierarchical question and answer operation method using artificial intelligence-based natural language processing.
제 1 항에 있어서,
상기 (d) 단계는,
(d-1) 상기 계층적 질의에 대응되는 환자의 답변에 대해 학습하는 단계;
(d-2) 상기 환자의 답변에 포함된 키워드를 이용하여 상기 환자의 진단명을 도출하는 단계; 및
(d-3) 상기 계층적 질의 중 핵심적인 질문을 결정하여 상기 계층적 질의의 순번과 상기 진단명을 라벨링하여 매칭하는 단계;
를 포함하는 것을 특징으로 하는,
인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법.
According to claim 1,
In step (d),
(d-1) learning about the patient's answer corresponding to the hierarchical query;
(d-2) deriving the patient's diagnosis using keywords included in the patient's answer; and
(d-3) determining a key question among the hierarchical queries and labeling and matching the diagnostic name with the order of the hierarchical queries;
Characterized in that it includes,
Hierarchical question and answer operation method using artificial intelligence-based natural language processing.
제 6 항에 있어서,
상기 (d-1) 단계는
상기 계층적 질의와 상기 환자의 답변을 라벨링한 전처리 데이터를 생성하는 단계;
상기 전처리 데이터를 이용하여 학습 데이터를 생성하는 단계; 및
추후 상기 의료진 단말이 질문을 입력할 경우, 상기 학습 데이터를 이용하여 예상되는 환자의 답변을 출력하는 단계;
를 포함하는 것을 특징으로 하는,
인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법.
According to claim 6,
The step (d-1) is
Generating preprocessed data labeling the hierarchical query and the patient's answer;
Generating learning data using the preprocessed data; and
When the medical staff terminal inputs a question later, outputting the patient's expected answer using the learning data;
Characterized in that it includes,
Hierarchical question and answer operation method using artificial intelligence-based natural language processing.
제 7 항에 있어서,
상기 (d-2) 단계는
상기 환자의 답변에 포함된 키워드와 상기 진단명을 라벨링하는 단계; 및
상기 계층적 질의에서 추출된 단어를, 상기 환자를 진단하는 학습 데이터로 생성하는 단계;
를 포함하는 것을 특징으로 하는,
인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법.
According to claim 7,
The step (d-2) is
labeling keywords included in the patient's answer and the diagnosis; and
generating words extracted from the hierarchical query as learning data for diagnosing the patient;
Characterized in that it includes,
Hierarchical question and answer operation method using artificial intelligence-based natural language processing.
제 8 항에 있어서,
상기 (d) 단계는,
상기 병원 서버가 상기 환자의 상기 답변을 데이터베이스에 저장하되, 핵심적인 항목이 표시되어 체크된 부분과 상기 도출된 진단명과의 관련성을, 인공지능을 통한 판단으로 추후 환자들의 추후 증상 진단에 활용하는 것을 특징으로 하는,
인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법.
According to claim 8,
In step (d),
The hospital server stores the patient's answers in a database, and uses artificial intelligence to determine the relationship between the checked part and the derived diagnosis by displaying key items to diagnose the patients' symptoms. Characterized by,
Hierarchical question and answer operation method using artificial intelligence-based natural language processing.
하드웨어인 컴퓨터와 결합되어, 상기 제1 항 내지 제9 항 중 어느 한 항의 인공지능 기반 자연어 처리를 통한 계층적 질의 및 문답 운용 방법을 수행하기 위해 컴퓨터 판독 가능한 기록매체에 저장된, 컴퓨터 프로그램.A computer program combined with a hardware computer and stored in a computer-readable recording medium to perform the hierarchical query and question-and-answer operation method through artificial intelligence-based natural language processing according to any one of claims 1 to 9.
KR1020220061662A 2022-05-19 2022-05-19 An artificial intelligence-based hierarchical question and answer operation method through natural language processing KR20230161825A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020220061662A KR20230161825A (en) 2022-05-19 2022-05-19 An artificial intelligence-based hierarchical question and answer operation method through natural language processing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020220061662A KR20230161825A (en) 2022-05-19 2022-05-19 An artificial intelligence-based hierarchical question and answer operation method through natural language processing

Publications (1)

Publication Number Publication Date
KR20230161825A true KR20230161825A (en) 2023-11-28

Family

ID=88957571

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020220061662A KR20230161825A (en) 2022-05-19 2022-05-19 An artificial intelligence-based hierarchical question and answer operation method through natural language processing

Country Status (1)

Country Link
KR (1) KR20230161825A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10769138B2 (en) 2017-06-13 2020-09-08 International Business Machines Corporation Processing context-based inquiries for knowledge retrieval

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10769138B2 (en) 2017-06-13 2020-09-08 International Business Machines Corporation Processing context-based inquiries for knowledge retrieval

Similar Documents

Publication Publication Date Title
Luo et al. A critical review of state‐of‐the‐art chatbot designs and applications
Griol et al. An automatic dialog simulation technique to develop and evaluate interactive conversational agents
US10014080B2 (en) Evidence based medical record
US11037657B2 (en) Personalized questionnaire for health risk assessment
US20020035486A1 (en) Computerized clinical questionnaire with dynamically presented questions
US20130339030A1 (en) Interactive spoken dialogue interface for collection of structured data
US20210406640A1 (en) Neural Network Architecture for Performing Medical Coding
CN113886716B (en) Emergency disposal recommendation method and system for food safety emergencies
WO2021139231A1 (en) Triage method and apparatus based on neural network model, and computer device
WO2022227203A1 (en) Triage method, apparatus and device based on dialogue representation, and storage medium
CN117151088A (en) Text processing method and device, electronic equipment and storage medium
Rossi et al. Coding problematic understanding in patient–provider interactions
Hossain et al. Mr. Dr. Health-Assistant Chatbot
CN113611433A (en) Auxiliary system and method for inquiry
KR20230161825A (en) An artificial intelligence-based hierarchical question and answer operation method through natural language processing
KR20230140770A (en) Apparatus for providing multilingual medical-counselling service
Biswas et al. Can ChatGPT be Your Personal Medical Assistant?
CN113314236A (en) Intelligent question-answering system for hypertension
Wågbø The patient perspective: Utilizing information visualization to present health records to patients
Stefanelli Applications of Expert Systems Technology to Medicine
WO2020046159A1 (en) System and method for storing and processing data
US11568997B2 (en) Dynamic context-based collaborative medical concept interpreter
Sinha et al. Hindi speech-based healthcare chatbot
KR102627462B1 (en) Medical Device linkage and Diagnostic Performance Enhancement System using MEC and Method the same
Strong et al. A theory of clinic-EHR affordance actualization