[go: up one dir, main page]

CN114743647A - Medical data processing method, device, equipment and storage medium - Google Patents

Medical data processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN114743647A
CN114743647A CN202210296654.8A CN202210296654A CN114743647A CN 114743647 A CN114743647 A CN 114743647A CN 202210296654 A CN202210296654 A CN 202210296654A CN 114743647 A CN114743647 A CN 114743647A
Authority
CN
China
Prior art keywords
user
medical data
disease
doctor
data processing
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202210296654.8A
Other languages
Chinese (zh)
Inventor
赵璐偲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kangjian Information Technology Shenzhen Co Ltd
Original Assignee
Kangjian Information Technology Shenzhen Co Ltd
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 Kangjian Information Technology Shenzhen Co Ltd filed Critical Kangjian Information Technology Shenzhen Co Ltd
Priority to CN202210296654.8A priority Critical patent/CN114743647A/en
Publication of CN114743647A publication Critical patent/CN114743647A/en
Priority to PCT/CN2022/121724 priority patent/WO2023178970A1/en
Pending legal-status Critical Current

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
    • G16H40/00ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices
    • G16H40/20ICT specially adapted for the management or administration of healthcare resources or facilities; ICT specially adapted for the management or operation of medical equipment or devices for the management or administration of healthcare resources or facilities, e.g. managing hospital staff or surgery rooms
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/045Combinations of networks
    • 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
    • G16H80/00ICT specially adapted for facilitating communication between medical practitioners or patients, e.g. for collaborative diagnosis, therapy or health monitoring

Landscapes

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

Abstract

本发明涉及人工智能领域,公开了一种医疗数据处理方法、装置、设备及存储介质,用于提高医患匹配的准确率。所述医疗数据处理方法包括:根据医疗数据判断用户是否符合用户类型;若用户符合用户类型,则根据医疗数据匹配与用户对应的疾病模板;基于疾病诊断路径对疾病模板进行信息填充,得到结束节点和用户回答路径,并根据结束节点和用户回答路径生成用户需求;若用户需求为医生问诊,则将医疗数据和用户回答路径输入医疗数据处理模型进行疾病数据处理,得到预测节点;对预测节点和结束节点进行比对分析,若比对结果为相同,则对用户进行医生匹配,得到目标医生。此外,本发明还涉及区块链技术,用户需求可存储于区块链节点中。

Figure 202210296654

The invention relates to the field of artificial intelligence, and discloses a medical data processing method, device, equipment and storage medium, which are used for improving the accuracy of doctor-patient matching. The medical data processing method includes: judging whether the user conforms to the user type according to the medical data; if the user conforms to the user type, matching a disease template corresponding to the user according to the medical data; filling the disease template with information based on the disease diagnosis path to obtain an end node and user answer path, and generate user demand according to the end node and user answer path; if the user demand is a doctor's consultation, the medical data and user answer path are input into the medical data processing model for disease data processing, and the prediction node is obtained; Compare and analyze with the end node. If the comparison result is the same, the user will be matched with a doctor to obtain the target doctor. In addition, the present invention also relates to blockchain technology, and user requirements can be stored in blockchain nodes.

Figure 202210296654

Description

医疗数据处理方法、装置、设备及存储介质Medical data processing method, device, equipment and storage medium

技术领域technical field

本发明涉及人工智能领域,尤其涉及一种医疗数据处理方法、装置、设 备及存储介质。The present invention relates to the field of artificial intelligence, and in particular, to a medical data processing method, device, equipment and storage medium.

背景技术Background technique

随着医疗互联网和信息化的发展,网上预约挂号、远程医生咨询、处方 推荐和开设及购药等服务,给患者提供了便利性,也帮助消化了一部分线下 医院的繁重业务。With the development of medical Internet and informatization, services such as online appointment registration, remote doctor consultation, prescription recommendation, opening and drug purchase have provided convenience to patients and helped to digest the heavy business of some offline hospitals.

在线问诊的普遍做法会首先通过患者主诉和基本信息为其匹配科室和医 生,通常利用一些分类模型对患者进行分类,目前患者和医生匹配的满意度 还有待提升,主要是因为用户信息少,去匹配量大、来源多、数据结构不同 的医院医生数据,很难做到精确,即现有方案准确率低。The common practice of online consultation is to first match departments and doctors based on patient complaints and basic information, and usually use some classification models to classify patients. At present, the satisfaction of matching patients and doctors needs to be improved, mainly because of the lack of user information. It is difficult to match the data of hospital doctors with a large amount, many sources and different data structures, that is, the accuracy of the existing scheme is low.

发明内容SUMMARY OF THE INVENTION

本发明提供了一种医疗数据处理方法、装置、设备及存储介质,用于提 高医患匹配的准确率。The present invention provides a medical data processing method, device, equipment and storage medium, which are used to improve the accuracy of doctor-patient matching.

本发明第一方面提供了一种医疗数据处理方法,所述医疗数据处理方法 包括:获取待处理的用户对应的医疗数据,并根据所述医疗数据判断所述用 户是否符合预置的用户类型,其中,所述医疗数据包括用户性别、用户年龄 和症状数据;若所述用户符合预置的用户类型,则根据所述医疗数据匹配与 所述用户对应的疾病模板,其中,所述疾病模板包括用户待填写的疾病诊断 路径;基于所述疾病诊断路径对所述疾病模板进行信息填充,得到所述疾病 模板对应的结束节点和用户回答路径,并根据所述结束节点和所述用户回答路径生成用户需求;若所述用户需求为医生问诊,则将所述医疗数据和所述 用户回答路径输入预置的医疗数据处理模型进行疾病数据处理,得到预测节 点;对所述预测节点和所述结束节点进行比对分析,得到比对结果;若所述 比对结果为所述预测节点和所述结束节点相同,则根据所述预测节点和所述 结束节点对所述用户进行医生匹配,得到目标医生。A first aspect of the present invention provides a medical data processing method, the medical data processing method includes: acquiring medical data corresponding to a user to be processed, and judging whether the user conforms to a preset user type according to the medical data, The medical data includes user gender, user age and symptom data; if the user conforms to a preset user type, a disease template corresponding to the user is matched according to the medical data, wherein the disease template includes The disease diagnosis path to be filled in by the user; the disease template is filled with information based on the disease diagnosis path, to obtain the end node and user answer path corresponding to the disease template, and generate according to the end node and the user answer path User requirement; if the user requirement is a doctor's consultation, input the medical data and the user answer path into a preset medical data processing model for disease data processing, and obtain a prediction node; The end node is compared and analyzed, and a comparison result is obtained; if the comparison result is that the prediction node and the end node are the same, the user is matched with a doctor according to the prediction node and the end node, and the result is obtained target doctor.

可选的,在本发明第一方面的第一种实现方式中,所述获取待处理的用 户对应的医疗数据,并根据所述医疗数据判断所述用户是否符合预置的用户 类型,包括:接收待处理的用户输入的医疗数据,其中,所述医疗数据包括 用户性别、用户年龄和症状数据;基于所述用户性别、所述用户年龄和所述 症状数据生成所述用户对应的用户画像;计算所述用户画像是否符合预置的 用户类型对应的相似度,并对所述相似度和预设目标值进行比对;若所述相 似度大于或等于所述预设目标值,则确定所述用户符合预置的用户类型。Optionally, in the first implementation manner of the first aspect of the present invention, the obtaining medical data corresponding to the user to be processed, and judging whether the user conforms to a preset user type according to the medical data, includes: receiving medical data input by a user to be processed, wherein the medical data includes user gender, user age and symptom data; generating a user portrait corresponding to the user based on the user gender, the user age and the symptom data; Calculate whether the user portrait conforms to the similarity corresponding to the preset user type, and compare the similarity with the preset target value; if the similarity is greater than or equal to the preset target value, determine the The user described above matches the preset user type.

可选的,在本发明第一方面的第二种实现方式中,所述若所述用户符合 预置的用户类型,则根据所述医疗数据匹配与所述用户对应的疾病模板,包 括:若所述用户符合预置的用户类型,则对所述医疗数据进行关键词提取, 得到目标关键词;分别将所述目标关键词和预置的多个疾病模板进行匹配, 得到每个疾病模板对应的关键词命中率;对每个疾病模板对应的关键词命中 率进行排序,并将所述关键词命中率最高的疾病模板作为所述用户对应的疾 病模板,其中,所述疾病模板包括用户待填写的疾病诊断路径。Optionally, in the second implementation manner of the first aspect of the present invention, if the user conforms to a preset user type, matching a disease template corresponding to the user according to the medical data, including: If the user conforms to a preset user type, keyword extraction is performed on the medical data to obtain a target keyword; the target keyword is respectively matched with a plurality of preset disease templates to obtain a corresponding disease template corresponding to each disease template. The keyword hit rate corresponding to each disease template is sorted, and the disease template with the highest keyword hit rate is used as the disease template corresponding to the user, wherein the disease template includes the user's disease template. Fill in the disease diagnosis path.

可选的,在本发明第一方面的第三种实现方式中,所述基于所述疾病诊 断路径对所述疾病模板进行信息填充,得到所述疾病模板对应的结束节点和 用户回答路径,并根据所述结束节点和所述用户回答路径生成用户需求,包 括:基于所述疾病诊断路径获取跑通率和推荐点击率;基于所述跑通率和所 述推荐点击率对所述疾病模板进行信息填充,得到填充后的疾病模板;对所 述填充后的疾病模板进行数据提取,得到所述疾病模板对应的结束节点和用 户回答路径;基于所述结束节点和所述用户回答路径生成用户需求,其中, 所述用户需求包括医生问诊和线下问诊。Optionally, in a third implementation manner of the first aspect of the present invention, the disease template is filled with information based on the disease diagnosis path to obtain an end node and a user answer path corresponding to the disease template, and Generating user requirements according to the end node and the user answer path includes: obtaining a pass-through rate and a recommended click-through rate based on the disease diagnosis path; Filling the information to obtain the filled disease template; extracting data from the filled disease template to obtain the end node and user answer path corresponding to the disease template; generating user requirements based on the end node and the user answer path , wherein the user requirements include doctor consultation and offline consultation.

可选的,在本发明第一方面的第四种实现方式中,所述若所述用户需求 为医生问诊,则将所述医疗数据和所述用户回答路径输入预置的医疗数据处 理模型进行疾病数据处理,得到预测节点,包括:若所述用户需求为医生问 诊,则将所述医疗数据和所述用户回答路径输入预置的医疗数据处理模型; 通过所述医疗数据处理模型中的卷积神经网络对所述医疗数据和所述用户回 答路径进行卷积运算,得到所述医疗数据对应的特征向量;对所述特征向量 进行特征归一化处理,得到预测节点。Optionally, in the fourth implementation manner of the first aspect of the present invention, if the user demand is a doctor's consultation, the medical data and the user's answer path are input into a preset medical data processing model. Perform disease data processing to obtain a prediction node, including: if the user demand is a doctor's consultation, inputting the medical data and the user answer path into a preset medical data processing model; The convolutional neural network of the device performs a convolution operation on the medical data and the user's answer path to obtain a feature vector corresponding to the medical data; and performs feature normalization on the feature vector to obtain a prediction node.

可选的,在本发明第一方面的第五种实现方式中,所述若所述比对结果 为所述预测节点和所述结束节点相同,则根据所述预测节点和所述结束节点 对所述用户进行医生匹配,得到目标医生,包括:若所述比对结果为所述预 测节点和所述结束节点相同,则获取预置候选医生集合中的多个候选医生; 基于所述预测节点和所述结束节点对所述多个候选医生进行可信度计算,得 到每个候选医生对应的目标可信度;根据每个候选医生对应的目标可信度对 所述候选医生集合中的所述多个候选医生进行排名,并将排名最高的候选医 生作为与所述用户匹配的医生,得到目标医生。Optionally, in a fifth implementation manner of the first aspect of the present invention, if the comparison result is that the prediction node and the end node are the same, then according to the prediction node and the end node pair The user performs doctor matching to obtain the target doctor, including: if the comparison result is that the prediction node and the end node are the same, acquiring multiple candidate doctors in the preset candidate doctor set; based on the prediction node Perform credibility calculation on the multiple candidate doctors with the end node to obtain the target credibility corresponding to each candidate doctor; according to the target credibility corresponding to each candidate doctor The multiple candidate doctors are ranked, and the highest ranked candidate doctor is used as the doctor matching the user to obtain the target doctor.

可选的,在本发明第一方面的第六种实现方式中,在所述若所述比对结 果为所述预测节点和所述结束节点相同,则根据所述预测节点和所述结束节 点对所述用户进行医生匹配,得到目标医生之后,所述医疗数据处理方法还 包括:若所述比对结果为所述预测节点和所述结束节点不相同,则对所述预 测节点进行删除,并基于所述疾病模板生成所述用户对应的辅助信息;基于 所述辅助信息和所述结束节点对所述用户进行医生匹配,得到所述用户对应 的目标医生。Optionally, in the sixth implementation manner of the first aspect of the present invention, if the comparison result is that the prediction node and the end node are the same, according to the prediction node and the end node After performing doctor matching on the user and obtaining the target doctor, the medical data processing method further includes: if the comparison result is that the prediction node and the end node are different, deleting the prediction node, and generate auxiliary information corresponding to the user based on the disease template; perform doctor matching on the user based on the auxiliary information and the end node to obtain a target doctor corresponding to the user.

本发明第二方面提供了一种医疗数据处理装置,所述医疗数据处理装置 包括:获取模块,用于获取待处理的用户对应的医疗数据,并根据所述医疗 数据判断所述用户是否符合预置的用户类型,其中,所述医疗数据包括用户 性别、用户年龄和症状数据;匹配模块,用于若所述用户符合预置的用户类 型,则根据所述医疗数据匹配与所述用户对应的疾病模板,其中,所述疾病 模板包括用户待填写的疾病诊断路径;填充模块,用于基于所述疾病诊断路 径对所述疾病模板进行信息填充,得到所述疾病模板对应的结束节点和用户 回答路径,并根据所述结束节点和所述用户回答路径生成用户需求;处理模 块,用于若所述用户需求为医生问诊,则将所述医疗数据和所述用户回答路 径输入预置的医疗数据处理模型进行疾病数据处理,得到预测节点;分析模 块,用于对所述预测节点和所述结束节点进行比对分析,得到比对结果;生 成模块,用于若所述比对结果为所述预测节点和所述结束节点相同,则根据 所述预测节点和所述结束节点对所述用户进行医生匹配,得到目标医生。A second aspect of the present invention provides a medical data processing apparatus, the medical data processing apparatus includes: an acquisition module, configured to acquire medical data corresponding to a user to be processed, and determine whether the user meets the predetermined requirements according to the medical data. A preset user type, wherein the medical data includes user gender, user age and symptom data; a matching module is configured to match the user corresponding to the user according to the medical data if the user conforms to the preset user type. A disease template, wherein the disease template includes a disease diagnosis path to be filled in by a user; a filling module is used to fill the disease template with information based on the disease diagnosis path, and obtain the end node corresponding to the disease template and the user answer path, and generate user requirements according to the end node and the user answer path; the processing module is used to input the medical data and the user answer path into the preset medical treatment if the user requirement is a doctor's consultation The data processing model performs disease data processing to obtain a prediction node; an analysis module is used to compare and analyze the prediction node and the end node to obtain a comparison result; a generation module is used if the comparison result is all If the prediction node and the end node are the same, the user is matched with a doctor according to the prediction node and the end node to obtain a target doctor.

可选的,在本发明第二方面的第一种实现方式中,所述获取模块具体用 于:接收待处理的用户输入的医疗数据,其中,所述医疗数据包括用户性别、 用户年龄和症状数据;基于所述用户性别、所述用户年龄和所述症状数据生 成所述用户对应的用户画像;计算所述用户画像是否符合预置的用户类型对 应的相似度,并对所述相似度和预设目标值进行比对;若所述相似度大于或 等于所述预设目标值,则确定所述用户符合预置的用户类型。Optionally, in the first implementation manner of the second aspect of the present invention, the acquisition module is specifically configured to: receive medical data input by the user to be processed, wherein the medical data includes user gender, user age and symptoms data; generate a user portrait corresponding to the user based on the user gender, the user age and the symptom data; calculate whether the user portrait conforms to the preset similarity corresponding to the user type, and compare the similarity and The preset target value is compared; if the similarity is greater than or equal to the preset target value, it is determined that the user conforms to a preset user type.

可选的,在本发明第二方面的第二种实现方式中,所述匹配模块具体用 于:若所述用户符合预置的用户类型,则对所述医疗数据进行关键词提取, 得到目标关键词;分别将所述目标关键词和预置的多个疾病模板进行匹配, 得到每个疾病模板对应的关键词命中率;对每个疾病模板对应的关键词命中 率进行排序,并将所述关键词命中率最高的疾病模板作为所述用户对应的疾 病模板,其中,所述疾病模板包括用户待填写的疾病诊断路径。Optionally, in the second implementation manner of the second aspect of the present invention, the matching module is specifically configured to: if the user conforms to a preset user type, perform keyword extraction on the medical data to obtain the target The target keyword is matched with a plurality of preset disease templates, respectively, to obtain the keyword hit rate corresponding to each disease template; the keyword hit rate corresponding to each disease template is sorted, and all The disease template with the highest keyword hit rate is used as the disease template corresponding to the user, wherein the disease template includes the disease diagnosis path to be filled in by the user.

可选的,在本发明第二方面的第三种实现方式中,所述填充模块具体用 于:基于所述疾病诊断路径获取跑通率和推荐点击率;基于所述跑通率和所 述推荐点击率对所述疾病模板进行信息填充,得到填充后的疾病模板;对所 述填充后的疾病模板进行数据提取,得到所述疾病模板对应的结束节点和用 户回答路径;基于所述结束节点和所述用户回答路径生成用户需求,其中, 所述用户需求包括医生问诊和线下问诊。Optionally, in a third implementation manner of the second aspect of the present invention, the filling module is specifically configured to: obtain a pass-through rate and a recommended click-through rate based on the disease diagnosis path; The recommended click rate fills the disease template with information to obtain a filled disease template; performs data extraction on the filled disease template to obtain an end node and a user answer path corresponding to the disease template; based on the end node and the user answer path to generate user requirements, wherein the user requirements include doctor consultation and offline consultation.

可选的,在本发明第二方面的第四种实现方式中,所述处理模块具体用 于:若所述用户需求为医生问诊,则将所述医疗数据和所述用户回答路径输 入预置的医疗数据处理模型;通过所述医疗数据处理模型中的卷积神经网络 对所述医疗数据和所述用户回答路径进行卷积运算,得到所述医疗数据对应 的特征向量;对所述特征向量进行特征归一化处理,得到预测节点。Optionally, in a fourth implementation manner of the second aspect of the present invention, the processing module is specifically configured to: if the user demand is a doctor's consultation, input the medical data and the user's answer path into a preset. The medical data processing model set in the medical data processing model; the convolution operation is performed on the medical data and the user answer path through the convolutional neural network in the medical data processing model to obtain the feature vector corresponding to the medical data; The vector is subjected to feature normalization processing to obtain the prediction node.

可选的,在本发明第二方面的第五种实现方式中,所述生成模块具体用 于:若所述比对结果为所述预测节点和所述结束节点相同,则获取预置候选 医生集合中的多个候选医生;基于所述预测节点和所述结束节点对所述多个 候选医生进行可信度计算,得到每个候选医生对应的目标可信度;根据每个 候选医生对应的目标可信度对所述候选医生集合中的所述多个候选医生进行 排名,并将排名最高的候选医生作为与所述用户匹配的医生,得到目标医生。Optionally, in a fifth implementation manner of the second aspect of the present invention, the generation module is specifically configured to: if the comparison result is that the prediction node and the end node are the same, obtain a preset candidate doctor. multiple candidate doctors in the set; perform credibility calculation on the multiple candidate doctors based on the prediction node and the end node, and obtain the target credibility corresponding to each candidate doctor; The target reliability ranks the multiple candidate doctors in the candidate doctor set, and uses the highest ranked candidate doctor as the doctor matched with the user to obtain the target doctor.

可选的,在本发明第二方面的第六种实现方式中,所述医疗数据处理装 置还包括:删除模块,用于若所述比对结果为所述预测节点和所述结束节点 不相同,则对所述预测节点进行删除,并基于所述疾病模板生成所述用户对 应的辅助信息;基于所述辅助信息和所述结束节点对所述用户进行医生匹配, 得到所述用户对应的目标医生。Optionally, in a sixth implementation manner of the second aspect of the present invention, the medical data processing apparatus further includes: a deletion module, configured to, if the comparison result is that the prediction node and the end node are different, , the prediction node is deleted, and auxiliary information corresponding to the user is generated based on the disease template; based on the auxiliary information and the end node, the user is matched with a doctor, and the target corresponding to the user is obtained. doctor.

本发明第三方面提供了一种医疗数据处理设备,包括:存储器和至少一 个处理器,所述存储器中存储有指令;所述至少一个处理器调用所述存储器 中的所述指令,以使得所述医疗数据处理设备执行上述的医疗数据处理方法。A third aspect of the present invention provides a medical data processing device, comprising: a memory and at least one processor, wherein instructions are stored in the memory; the at least one processor invokes the instructions in the memory, so that all The medical data processing apparatus executes the medical data processing method described above.

本发明的第四方面提供了一种计算机可读存储介质,所述计算机可读存 储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述的医疗 数据处理方法。A fourth aspect of the present invention provides a computer-readable storage medium storing instructions in the computer-readable storage medium, which, when executed on a computer, cause the computer to execute the above-mentioned medical data processing method.

本发明提供的技术方案中,根据医疗数据判断用户是否符合预置的用户 类型,其中,医疗数据包括用户性别、用户年龄和症状数据;若用户符合预 置的用户类型,则根据医疗数据匹配与用户对应的疾病模板,其中,疾病模 板包括用户待填写的疾病诊断路径;基于疾病诊断路径对疾病模板进行信息 填充,得到疾病模板对应的结束节点和用户回答路径,并根据结束节点和用 户回答路径生成用户需求;若用户需求为医生问诊,则将医疗数据和用户回 答路径输入预置的医疗数据处理模型进行疾病数据处理,得到预测节点;对预测节点和结束节点进行比对分析,得到比对结果;若比对结果为预测节点 和结束节点相同,则根据预测节点和结束节点对用户进行医生匹配,得到目 标医生,本发明通过对用户进行自诊得到初步诊断结果和其他医疗信息,从 而能够利用这部分更全面的信息进行更精确地医患匹配,避免了一些无效沟 通或错误匹配,根据疾病诊断路径模版的方式进行用户自诊和医疗需求识别, 提高了在线问诊流程的效率。In the technical solution provided by the present invention, whether the user conforms to the preset user type is determined according to medical data, wherein the medical data includes user gender, user age and symptom data; if the user conforms to the preset user type, the medical data is matched with The disease template corresponding to the user, wherein the disease template includes the disease diagnosis path to be filled in by the user; fill the disease template with information based on the disease diagnosis path to obtain the end node corresponding to the disease template and the user answer path, and according to the end node and the user answer path Generate user demand; if the user demand is a doctor's consultation, input the medical data and the user answer path into the preset medical data processing model for disease data processing, and obtain the prediction node; If the comparison result is that the prediction node and the end node are the same, the user is matched with a doctor according to the prediction node and the end node, and the target doctor is obtained. This part of the more comprehensive information can be used for more accurate doctor-patient matching, which avoids some invalid communication or wrong matching, and conducts user self-diagnosis and medical needs identification according to the disease diagnosis path template, which improves the efficiency of the online consultation process.

附图说明Description of drawings

图1为本发明实施例中医疗数据处理方法的一个实施例示意图;FIG. 1 is a schematic diagram of an embodiment of a medical data processing method in an embodiment of the present invention;

图2为本发明实施例中医疗数据处理方法的另一个实施例示意图;2 is a schematic diagram of another embodiment of a medical data processing method in an embodiment of the present invention;

图3为本发明实施例中医疗数据处理装置的一个实施例示意图;3 is a schematic diagram of an embodiment of a medical data processing apparatus in an embodiment of the present invention;

图4为本发明实施例中医疗数据处理装置的另一个实施例示意图;4 is a schematic diagram of another embodiment of a medical data processing apparatus in an embodiment of the present invention;

图5为本发明实施例中医疗数据处理设备的一个实施例示意图。FIG. 5 is a schematic diagram of an embodiment of a medical data processing device in an embodiment of the present invention.

具体实施方式Detailed ways

本发明实施例提供了一种医疗数据处理方法、装置、设备及存储介质, 用于提高医患匹配的准确率。本发明的说明书和权利要求书及上述附图中的 术语“第一”、“第二”、“第三”、“第四”等(如果存在)是用于区别类似的对象, 而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情 况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容 以外的顺序实施。此外,术语“包括”或“具有”及其任何变形,意图在于覆盖不 排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的 或对于这些过程、方法、产品或设备固有的其它步骤或单元。Embodiments of the present invention provide a medical data processing method, apparatus, device, and storage medium, which are used to improve the accuracy of doctor-patient matching. The terms "first", "second", "third", "fourth", etc. (if present) in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It is to be understood that data so used may be interchanged under appropriate circumstances so that the embodiments described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" or "having" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those expressly listed steps or units, but may include other steps or units not expressly listed or inherent to these processes, methods, products or devices.

为便于理解,下面对本发明实施例的具体流程进行描述,请参阅图1,本 发明实施例中医疗数据处理方法的第一个实施例包括:For ease of understanding, the specific flow of the embodiment of the present invention is described below, referring to Fig. 1, the first embodiment of the medical data processing method in the embodiment of the present invention includes:

101、获取待处理的用户对应的医疗数据,并根据医疗数据判断用户是否 符合预置的用户类型,其中,医疗数据包括用户性别、用户年龄和症状数据;101. Obtain the medical data corresponding to the user to be processed, and determine whether the user conforms to a preset user type according to the medical data, wherein the medical data includes user gender, user age and symptom data;

需要说明的是,待处理用户输入的医疗数据包括个人性别、年龄和症状 数据。用户类型包括不清楚自己所患疾病、问诊需求不明确、或主动选择了 智能疾病诊断,服务器根据用户输入的医疗数据对用户类型进行识别,并判 断待处理用户是否符合上述用户类型。需要说明的是,为了保证症状数据的 真实性,症状数据的获取可以为医疗网站、医疗机构数据库等。症状数据是 包括疾病词汇和症状词汇的文本数据,症状数据可以通过预置的爬虫从医疗 网站或者医疗机构数据中获取,其中,医疗网站或者医疗机构数据记录用户的疾病词汇和症状词汇生成症状数据,也可以由用户直接输入疾病词汇和症 状词汇从而得到症状数据。It should be noted that the medical data input by the user to be processed includes personal gender, age and symptom data. User types include not knowing their own diseases, unclear needs for consultation, or actively choosing intelligent disease diagnosis. The server identifies the user type according to the medical data input by the user, and determines whether the user to be processed conforms to the above user type. It should be noted that, in order to ensure the authenticity of the symptom data, the symptom data can be obtained from medical websites, medical institution databases, etc. Symptom data is text data including disease vocabulary and symptom vocabulary. Symptom data can be obtained from medical website or medical institution data through a preset crawler, wherein the medical website or medical institution data records the user's disease vocabulary and symptom vocabulary to generate symptom data. , or the user can directly input disease vocabulary and symptom vocabulary to obtain symptom data.

可以理解的是,本发明的执行主体可以为医疗数据处理装置,还可以是 终端或者服务器,具体此处不做限定。本发明实施例以服务器为执行主体为 例进行说明。本发明实施例可以基于人工智能技术对相关的数据进行获取和 处理。其中,人工智能(ArtificialIntelligence,AI)是利用数字计算机或者数 字计算机控制的机器模拟、延伸和扩展人的智能,感知环境、获取知识并使 用知识获得最佳结果的理论、方法、技术及应用系统。人工智能基础技术一 般包括如传感器、专用人工智能芯片、云计算、分布式存储、大数据处理技术、操作/交互系统、机电一体化等技术。人工智能软件技术主要包括计算机 视觉技术、机器人技术、生物识别技术、语音处理技术、自然语言处理技术 以及机器学习/深度学习等几大方向。服务器可以是独立的服务器,也可以是 提供云服务、云数据库、云计算、云函数、云存储、网络服务、云通信、中 间件服务、域名服务、安全服务、内容分发网络(ContentDelivery Network, CDN)、以及大数据和人工智能平台等基础云计算服务的云服务器。It can be understood that the execution subject of the present invention may be a medical data processing device, and may also be a terminal or a server, which is not specifically limited here. The embodiment of the present invention is described by taking the server as the execution subject as an example. The embodiments of the present invention can acquire and process related data based on artificial intelligence technology. Among them, artificial intelligence (AI) is a theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. The basic technologies of artificial intelligence generally include technologies such as sensors, special artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation/interaction systems, and mechatronics. Artificial intelligence software technology mainly includes computer vision technology, robotics technology, biometrics technology, speech processing technology, natural language processing technology, and machine learning/deep learning. The server can be an independent server, or can provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, Content Delivery Network (CDN) ), as well as cloud servers for basic cloud computing services such as big data and artificial intelligence platforms.

102、若用户符合预置的用户类型,则根据医疗数据匹配与用户对应的疾 病模板,其中,疾病模板包括用户待填写的疾病诊断路径;102. If the user conforms to the preset user type, the disease template corresponding to the user is matched according to the medical data, wherein the disease template includes the disease diagnosis path to be filled in by the user;

具体的,如果用户符合预置的用户类型则服务器进入自诊模块,服务器 首先根据前面的信息匹配疾病模版,疾病模版包含了疾病诊断路径,类似树 图,包含了多个问题选项,不同的回答可能导向不同的分支。通过用户回答 模版中的问题,系统将填充模版节点并抛出新的问题,直到走到了诊断节点 或结束节点。需要说明的是,疾病模版通过计算机辅助进行医疗文献挖掘加 上医生编辑和审核得到。Specifically, if the user meets the preset user type, the server enters the self-diagnosis module. The server first matches the disease template according to the previous information. The disease template contains the disease diagnosis path, similar to a tree diagram, including multiple question options and different answers. May lead to different branches. By the user answering the questions in the template, the system will populate the template nodes and throw new questions until the diagnostic node or end node is reached. It should be noted that the disease template is obtained through computer-assisted medical literature mining plus doctor editing and review.

103、基于疾病诊断路径对疾病模板进行信息填充,得到疾病模板对应的 结束节点和用户回答路径,并根据结束节点和用户回答路径生成用户需求;103. Fill the disease template with information based on the disease diagnosis path, obtain the end node and user answer path corresponding to the disease template, and generate user requirements according to the end node and the user answer path;

需要说明的是,用户填充模版中的问题,服务器将填充模版节点并抛出 新的问题,直到填充完所有的诊断节点或结束节点。服务器根据最终节点和 中间的用户回答路径,通过深度学习网络模型预测一个用户需求,包括医生 问诊、找医院、买药、体检、挂号、慢病管理、综合咨询等,服务器还会根 据用户需求推荐相关功能,引导用户进入下一服务模块。It should be noted that when the user fills in the problems in the template, the server will fill the template nodes and throw new problems until all the diagnosis nodes or end nodes are filled. According to the final node and the user's answer path in the middle, the server predicts a user's needs through the deep learning network model, including doctor consultation, hospital search, medicine purchase, physical examination, registration, chronic disease management, comprehensive consultation, etc. Recommend related functions and guide users to the next service module.

104、若用户需求为医生问诊,则将医疗数据和用户回答路径输入预置的 医疗数据处理模型进行疾病数据处理,得到预测节点;104. If the user's demand is a doctor's consultation, the medical data and the user's answer path are input into the preset medical data processing model for disease data processing, and a prediction node is obtained;

具体的,若用户需求为医生问诊,则服务器将医疗数据和用户回答路径 输入预置的医疗数据处理模型进行疾病数据处理,其中,预置的医疗数据处 理模型包括输入层、多层卷积神经网络和归一化层,其中,多层卷积神经网 络用于对输入向量进行卷积运算,归一化层用于对特征向量进行逻辑回归运 算,最终输出预测节点。Specifically, if the user's request is a doctor's consultation, the server inputs the medical data and the user's answer path into a preset medical data processing model for disease data processing, wherein the preset medical data processing model includes an input layer, a multi-layer convolution Neural network and normalization layer, among which, the multi-layer convolutional neural network is used to perform convolution operation on the input vector, and the normalization layer is used to perform logistic regression operation on the feature vector, and finally output the prediction node.

105、对预测节点和结束节点进行比对分析,得到比对结果;105. Compare and analyze the prediction node and the end node to obtain a comparison result;

具体的,服务器对预测节点和结束节点进行比对分析,得到比对结果, 其中,服务器通过计算预测节点和结束节点的相似度,服务器当该相似度超 过预置预置时,确定该预测节点和结束节点相同,服务器当该相似度不超过 该预置阈值时,确定该预测节点与该结束节点不相同。Specifically, the server compares and analyzes the prediction node and the end node, and obtains a comparison result, wherein the server calculates the similarity between the prediction node and the end node, and when the similarity exceeds a preset preset, the server determines the prediction node. Like the end node, the server determines that the prediction node is different from the end node when the similarity does not exceed the preset threshold.

106、若比对结果为预测节点和结束节点相同,则根据预测节点和结束节 点对用户进行医生匹配,得到目标医生。106. If the comparison result is that the prediction node and the end node are the same, perform doctor matching on the user according to the prediction node and the end node to obtain the target doctor.

具体的,若比对结果为预测节点和结束节点相同,则服务器计算预测节 点和结束节点的可信度,得到目标可信度,服务器对目标可信度的大小进行 排序,并选取目标可信度对应候选医生的最大值,得到候选医生的最大值, 服务器将最大值对应的候选医生作为目标医生。Specifically, if the comparison result is that the prediction node and the end node are the same, the server calculates the reliability of the prediction node and the end node to obtain the target reliability. The server sorts the target reliability and selects the target reliability. The degree corresponds to the maximum value of the candidate doctor, the maximum value of the candidate doctor is obtained, and the server takes the candidate doctor corresponding to the maximum value as the target doctor.

进一步地,服务器将用户需求存储于区块链数据库中,具体此处不做限 定。Further, the server stores the user requirements in the blockchain database, which is not specifically limited here.

本发明实施例中,根据医疗数据判断用户是否符合预置的用户类型,其 中,医疗数据包括用户性别、用户年龄和症状数据;若用户符合预置的用户 类型,则根据医疗数据匹配与用户对应的疾病模板,其中,疾病模板包括用 户待填写的疾病诊断路径;基于疾病诊断路径对疾病模板进行信息填充,得 到疾病模板对应的结束节点和用户回答路径,并根据结束节点和用户回答路 径生成用户需求;若用户需求为医生问诊,则将医疗数据和用户回答路径输 入预置的医疗数据处理模型进行疾病数据处理,得到预测节点;对预测节点和结束节点进行比对分析,得到比对结果;若比对结果为预测节点和结束节 点相同,则根据预测节点和结束节点对用户进行医生匹配,得到目标医生, 本发明通过对用户进行自诊得到初步诊断结果和其他医疗信息,从而能够利 用这部分更全面的信息进行更精确地医患匹配,避免了一些无效沟通或错误 匹配,根据疾病诊断路径模版的方式进行用户自诊和医疗需求识别,提高了 在线问诊流程的效率。In this embodiment of the present invention, it is determined whether the user conforms to a preset user type according to medical data, wherein the medical data includes user gender, user age and symptom data; if the user conforms to the preset user type, the medical data is matched with the user corresponding to the user disease template, wherein the disease template includes the disease diagnosis path to be filled in by the user; fill the disease template with information based on the disease diagnosis path, obtain the end node corresponding to the disease template and the user answer path, and generate the user according to the end node and the user answer path. Demand; if the user's demand is a doctor's consultation, the medical data and the user's answer path are input into the preset medical data processing model for disease data processing, and the prediction node is obtained; the prediction node and the end node are compared and analyzed to obtain the comparison result. If the comparison result is that the prediction node and the end node are the same, then the user is matched with a doctor according to the prediction node and the end node, and the target doctor is obtained. This part of the more comprehensive information is used for more accurate doctor-patient matching, which avoids some invalid communication or wrong matching. User self-diagnosis and medical needs identification are carried out according to the disease diagnosis path template, which improves the efficiency of the online consultation process.

请参阅图2,本发明实施例中医疗数据处理方法的第二个实施例包括:Referring to FIG. 2, the second embodiment of the medical data processing method in the embodiment of the present invention includes:

201、获取待处理的用户对应的医疗数据,并根据医疗数据判断用户是否 符合预置的用户类型,其中,医疗数据包括用户性别、用户年龄和症状数据;201, obtain the medical data corresponding to the user to be processed, and judge whether the user conforms to a preset user type according to the medical data, wherein the medical data includes user gender, user age and symptom data;

具体的,服务器接收待处理的用户输入的医疗数据,其中,医疗数据包 括用户性别、用户年龄和症状数据;服务器基于用户性别、用户年龄和症状 数据生成用户对应的用户画像;服务器计算用户画像是否符合预置的用户类 型对应的相似度,并对相似度和预设目标值进行比对;服务器若相似度大于 或等于预设目标值,则确定用户符合预置的用户类型。具体的,服务器若相 似度小于预设目标值,则确定用户不符合预置的用户类型,服务器接收待处 理的用户输入的医疗数据,用户可以通过预置的终端输入医疗数据,医疗数 据中包含用户的个人信息和症状数据;服务器基于用户性别、用户年龄和症 状数据生成用户对应的用户画像,服务器生成用户对应的三元组,三元组中 包括性别、年龄和症状;服务器计算用户画像是否符合预置的用户类型对应 的相似度,并对相似度和预设目标值进行比对;服务器若相似度大于或等于 预设目标值,则确定用户符合预置的用户类型,若相似度下雨预设目标值, 则服务器确定用户不符合上述三类用户。Specifically, the server receives medical data input by the user to be processed, wherein the medical data includes user gender, user age and symptom data; the server generates a user portrait corresponding to the user based on the user gender, user age and symptom data; the server calculates whether the user portrait is The similarity corresponding to the preset user type is met, and the similarity is compared with the preset target value; if the similarity is greater than or equal to the preset target value, the server determines that the user meets the preset user type. Specifically, if the similarity is less than the preset target value, the server determines that the user does not meet the preset user type, the server receives the medical data input by the user to be processed, the user can input the medical data through the preset terminal, and the medical data includes The user's personal information and symptom data; the server generates a user portrait corresponding to the user based on the user's gender, user age and symptom data, and the server generates a triplet corresponding to the user, which includes gender, age and symptoms; the server calculates whether the user portrait is It matches the similarity corresponding to the preset user type, and compares the similarity with the preset target value; if the similarity is greater than or equal to the preset target value, the server determines that the user meets the preset user type. If the preset target value is set, the server determines that the user does not conform to the above three types of users.

202、若用户符合预置的用户类型,则根据医疗数据匹配与用户对应的疾 病模板,其中,疾病模板包括用户待填写的疾病诊断路径;202. If the user conforms to the preset user type, the disease template corresponding to the user is matched according to the medical data, wherein the disease template includes the disease diagnosis path to be filled in by the user;

具体的,服务器若用户符合预置的用户类型,则对医疗数据进行关键词 提取,得到目标关键词;服务器分别将目标关键词和预置的多个疾病模板进 行匹配,得到每个疾病模板对应的关键词命中率;服务器对每个疾病模板对 应的关键词命中率进行排序,并将关键词命中率最高的疾病模板作为用户对 应的疾病模板,其中,疾病模板包括用户待填写的疾病诊断路径。具体的, 若用户符合预置的用户类型,则服务器对医疗数据进行关键词提取,得到目 标关键词,服务器进行关键词提取首先是将医疗数据转换为文本数据,再通 过预置的OCR文字识别模型对文本数据进行提取,得到标准文本数据,最后 通过对标准文本数据进行重复内容去除,得到目标关键词;服务器分别将目 标关键词和预置的多个疾病模板进行匹配,得到每个疾病模板对应的关键词 命中率,关键词命中率也就是关键词命中的个数;服务器对每个疾病模板对 应的关键词命中率进行排序,并将关键词命中率最高的疾病模板作为用户对 应的疾病模板,其中,疾病模板包括用户待填写的疾病诊断路径。Specifically, if the user conforms to the preset user type, the server performs keyword extraction on the medical data to obtain the target keyword; the server matches the target keyword with a plurality of preset disease templates respectively, and obtains the corresponding disease template corresponding to each disease template. The server sorts the keyword hit rate corresponding to each disease template, and uses the disease template with the highest keyword hit rate as the disease template corresponding to the user, wherein the disease template includes the disease diagnosis path to be filled in by the user . Specifically, if the user conforms to the preset user type, the server performs keyword extraction on the medical data to obtain the target keyword. The server performs keyword extraction by first converting the medical data into text data, and then using the preset OCR character recognition. The model extracts the text data to obtain standard text data, and finally removes the duplicate content of the standard text data to obtain the target keyword; the server matches the target keyword with multiple preset disease templates respectively, and obtains each disease template The corresponding keyword hit rate, the keyword hit rate is the number of keyword hits; the server sorts the keyword hit rate corresponding to each disease template, and uses the disease template with the highest keyword hit rate as the disease corresponding to the user A template, wherein the disease template includes a disease diagnosis path to be filled in by the user.

203、基于疾病诊断路径对疾病模板进行信息填充,得到疾病模板对应的 结束节点和用户回答路径,并根据结束节点和用户回答路径生成用户需求;203. Fill the disease template with information based on the disease diagnosis path, obtain the end node and user answer path corresponding to the disease template, and generate user requirements according to the end node and the user answer path;

具体的,服务器基于疾病诊断路径获取跑通率和推荐点击率;服务器基 于跑通率和推荐点击率对疾病模板进行信息填充,得到填充后的疾病模板; 服务器对填充后的疾病模板进行数据提取,得到疾病模板对应的结束节点和 用户回答路径;服务器基于结束节点和用户回答路径生成用户需求,其中, 用户需求包括医生问诊和线下问诊。具体的,服务器基于疾病诊断路径获取 跑通率和推荐点击率,其中,服务器通过线上业务数据统计分析得到的跑通 率和推荐点击率等指标去优化模版,跑通率指用户是否能走到模版的最终节点,服务器基于跑通率和推荐点击率对疾病模板进行信息填充,得到填充后 的疾病模板;服务器对填充后的疾病模板进行数据提取,得到疾病模板对应 的结束节点和用户回答路径;服务器基于结束节点和用户回答路径生成用户 需求,其中,用户需求包括医生问诊和线下问诊。其中,一个模版可作为别 的模版的节点,即子模版。模版之间可能会出现包含关系,例如眼科通用模 版可能包含若干眼科疾病模版作为子模版,模版节点的权重会根据用户历史 医疗记录如问诊信息进行调整。Specifically, the server obtains the passing rate and the recommended click rate based on the disease diagnosis path; the server fills the disease template with information based on the passing rate and the recommended click rate to obtain the filled disease template; the server extracts data from the filled disease template to obtain the end node and user answer path corresponding to the disease template; the server generates user requirements based on the end node and the user answer path, wherein the user requirements include doctor consultation and offline consultation. Specifically, the server obtains the pass-through rate and the recommended click-through rate based on the disease diagnosis path. The server optimizes the template through indicators such as the pass-through rate and the recommended click-through rate obtained through statistical analysis of online business data. The pass-through rate refers to whether the user can walk or not. To the final node of the template, the server fills the disease template with information based on the running rate and the recommended click rate, and obtains the filled disease template; the server extracts data from the filled disease template to obtain the corresponding end node of the disease template and the user's answer. Path; the server generates user requirements based on the end node and the user answer path, wherein the user requirements include doctor consultation and offline consultation. Among them, a template can be used as a node of other templates, that is, a sub-template. There may be an inclusion relationship between templates. For example, a general ophthalmology template may contain several ophthalmic disease templates as sub-templates, and the weight of template nodes will be adjusted according to the user's historical medical records such as consultation information.

204、若用户需求为医生问诊,则将医疗数据和用户回答路径输入预置的 医疗数据处理模型进行疾病数据处理,得到预测节点;204. If the user's demand is a doctor's consultation, input the medical data and the user's answer path into a preset medical data processing model to process the disease data, and obtain a prediction node;

具体的,服务器若用户需求为医生问诊,则将医疗数据和用户回答路径 输入预置的医疗数据处理模型;服务器通过医疗数据处理模型中的卷积神经 网络对医疗数据和用户回答路径进行卷积运算,得到医疗数据对应的特征向 量;服务器对特征向量进行特征归一化处理,得到预测节点。需要说明的是, 预置的医疗数据处理模型包括输入层、卷积神经网络和输出层,输入层:独 热向量编码层(one-hot vector);隐藏层:卷积运算函数,也就是线性的单元; 输出层:维度跟输入层的维度一样,用的是逻辑回归。服务器通过输入层对目标填报信息进行独热向量编码,得到低维度向量,低维度向量例如: [0,0,0,1,0,1,0,0],服务器通过卷积神经网络层对低维度向量进行特征抽象运 算,得到抽象特征值,抽象特征值也就是特征向量;服务器通过输出层对抽 象特征值进行逻辑回归运算,得到预测节点,其中,逻辑回归运算为softmax 回归运算,其中,预测节点可以为线上初诊结果,例如:线上初诊眼睑炎、 结膜炎、呼吸道感染等。Specifically, if the user's request is for a doctor's consultation, the server will input the medical data and the user's answer path into the preset medical data processing model; the server will roll the medical data and the user's answer path through the convolutional neural network in the medical data processing model. The product operation is performed to obtain the feature vector corresponding to the medical data; the server performs feature normalization processing on the feature vector to obtain the prediction node. It should be noted that the preset medical data processing model includes an input layer, a convolutional neural network and an output layer, the input layer: a one-hot vector encoding layer; the hidden layer: a convolution operation function, that is, a linear unit; output layer: the dimension is the same as that of the input layer, using logistic regression. The server performs one-hot vector encoding on the target filling information through the input layer to obtain a low-dimensional vector. For example, the low-dimensional vector is [0,0,0,1,0,1,0,0]. The low-dimensional vector performs feature abstraction operations to obtain abstract feature values, which are also feature vectors; the server performs logistic regression operations on the abstract feature values through the output layer to obtain prediction nodes, where the logistic regression operation is a softmax regression operation, where, The prediction node can be the result of the initial online diagnosis, for example: the initial diagnosis of blepharitis, conjunctivitis, respiratory tract infection, etc. online.

205、对预测节点和结束节点进行比对分析,得到比对结果;205. Compare and analyze the prediction node and the end node to obtain a comparison result;

具体的,服务器对预测节点和结束节点进行比对分析,得到比对结果, 其中,服务器通过计算预测节点和结束节点的相似度,服务器当该相似度超 过预置预置时,确定该预测节点和结束节点相同,服务器当该相似度不超过 该预置阈值时,确定该预测节点与该结束节点不相同。Specifically, the server compares and analyzes the prediction node and the end node, and obtains a comparison result, wherein the server calculates the similarity between the prediction node and the end node, and when the similarity exceeds a preset preset, the server determines the prediction node. Like the end node, the server determines that the prediction node is different from the end node when the similarity does not exceed the preset threshold.

206、若比对结果为预测节点和结束节点相同,则根据预测节点和结束节 点对用户进行医生匹配,得到目标医生;206. If the comparison result is that the prediction node and the end node are the same, then perform doctor matching on the user according to the prediction node and the end node to obtain the target doctor;

具体的,服务器若比对结果为预测节点和结束节点相同,则获取预置候 选医生集合中的多个候选医生;服务器基于预测节点和结束节点对多个候选 医生进行可信度计算,得到每个候选医生对应的目标可信度;服务器根据每 个候选医生对应的目标可信度对候选医生集合中的多个候选医生进行排名, 并将排名最高的候选医生作为与用户匹配的医生,得到目标医生。具体的, 服务器服务器基于目标可信度对预置的候选医生列表进行排序,得到排名, 服务器基于用户并考虑用户偏好和候选医生工作量,服务器定义了用户的偏 好程度来衡量用户对候选医生的偏好指数,服务器通过医患匹配指数加权平 均的方法,得到用户对应的偏好指数,服务器计算完所有候选医生中的医生 对用户的匹配程度后,根据最高目标可信度和偏好指数推荐目标医生。服务 器为用户匹配到相关度较高的目标医生,提高用户的问诊体验,此外某些有 特定专长的目标医生也可以匹配到相关的用户,进而可以避免医疗资源的浪 费。Specifically, if the comparison result is that the prediction node and the end node are the same, the server obtains multiple candidate doctors in the preset candidate doctor set; the server calculates the reliability of the multiple candidate doctors based on the prediction node and the end node, and obtains each candidate doctor. target reliability corresponding to each candidate doctor; the server ranks multiple candidate doctors in the candidate doctor set according to the target reliability corresponding to each candidate doctor, and takes the highest ranked candidate doctor as the doctor matching the user, and obtains: target doctor. Specifically, the server sorts the preset candidate doctor list based on the target reliability to obtain the ranking. The server is based on the user and considers the user's preference and the workload of the candidate doctor. The server defines the user's preference degree to measure the user's preference for the candidate doctor. Preference index, the server obtains the preference index corresponding to the user through the weighted average method of the doctor-patient matching index. After the server calculates the matching degree of the doctors in all the candidate doctors to the user, it recommends the target doctor according to the highest target reliability and preference index. The server matches users with highly relevant target doctors to improve the user's consultation experience. In addition, some target doctors with specific expertise can also be matched with relevant users, thereby avoiding the waste of medical resources.

207、若比对结果为预测节点和结束节点不相同,则对预测节点进行删除, 并基于疾病模板生成用户对应的辅助信息;207. If the comparison result is that the prediction node and the end node are different, delete the prediction node, and generate auxiliary information corresponding to the user based on the disease template;

具体的,若比对结果为预测节点和结束节点相同,则服务器计算预测节 点和结束节点的可信度,得到目标可信度,服务器对目标可信度的大小进行 排序,并选取目标可信度对应候选医生的最大值,得到候选医生的最大值, 服务器将最大值对应的候选医生作为目标医生。Specifically, if the comparison result is that the prediction node and the end node are the same, the server calculates the reliability of the prediction node and the end node to obtain the target reliability. The server sorts the target reliability and selects the target reliability. The degree corresponds to the maximum value of the candidate doctor, the maximum value of the candidate doctor is obtained, and the server takes the candidate doctor corresponding to the maximum value as the target doctor.

208、基于辅助信息和结束节点对用户进行医生匹配,得到用户对应的目 标医生。208. Perform doctor matching on the user based on the auxiliary information and the end node to obtain a target doctor corresponding to the user.

具体的,服务器如果结果不符合,匹配医生模型会去掉诊断结果信息, 利用科室和主诉及部分节点的信息去匹配医生。用户回答过的模版问题也会 被传输给医生作为辅助信息。服务器基于辅助信息和结束节点对用户进行医 生匹配,得到用户对应的目标医生。Specifically, if the result of the server does not match, the matching doctor model will remove the diagnosis result information, and use the information of the department, the chief complaint and some nodes to match the doctor. Template questions answered by the user are also transmitted to the doctor as auxiliary information. Based on the auxiliary information and the end node, the server performs doctor matching on the user, and obtains the target doctor corresponding to the user.

进一步地,服务器将用户需求存储于区块链数据库中,具体此处不做限 定。Further, the server stores the user requirements in the blockchain database, which is not specifically limited here.

本发明实施例中,根据医疗数据判断用户是否符合预置的用户类型,其 中,医疗数据包括用户性别、用户年龄和症状数据;若用户符合预置的用户 类型,则根据医疗数据匹配与用户对应的疾病模板,其中,疾病模板包括用 户待填写的疾病诊断路径;基于疾病诊断路径对疾病模板进行信息填充,得 到疾病模板对应的结束节点和用户回答路径,并根据结束节点和用户回答路 径生成用户需求;若用户需求为医生问诊,则将医疗数据和用户回答路径输 入预置的医疗数据处理模型进行疾病数据处理,得到预测节点;对预测节点和结束节点进行比对分析,得到比对结果;若比对结果为预测节点和结束节 点相同,则根据预测节点和结束节点对用户进行医生匹配,得到目标医生, 本发明通过对用户进行自诊得到初步诊断结果和其他医疗信息,从而能够利 用这部分更全面的信息进行更精确地医患匹配,避免了一些无效沟通或错误 匹配,根据疾病诊断路径模版的方式进行用户自诊和医疗需求识别,提高了 在线问诊流程的效率。In this embodiment of the present invention, it is determined whether the user conforms to a preset user type according to medical data, wherein the medical data includes user gender, user age and symptom data; if the user conforms to the preset user type, the medical data is matched with the user corresponding to the user disease template, wherein the disease template includes the disease diagnosis path to be filled in by the user; fill the disease template with information based on the disease diagnosis path, obtain the end node corresponding to the disease template and the user answer path, and generate the user according to the end node and the user answer path. Demand; if the user's demand is a doctor's consultation, the medical data and the user's answer path are input into the preset medical data processing model for disease data processing, and the prediction node is obtained; the prediction node and the end node are compared and analyzed to obtain the comparison result. If the comparison result is that the prediction node and the end node are the same, then the user is matched with a doctor according to the prediction node and the end node, and the target doctor is obtained. This part of the more comprehensive information is used for more accurate doctor-patient matching, which avoids some invalid communication or wrong matching. User self-diagnosis and medical needs identification are carried out according to the disease diagnosis path template, which improves the efficiency of the online consultation process.

上面对本发明实施例中医疗数据处理方法进行了描述,下面对本发明实 施例中医疗数据处理装置进行描述,请参阅图3,本发明实施例中医疗数据处 理装置第一个实施例包括:The medical data processing method in the embodiment of the present invention has been described above, and the medical data processing device in the embodiment of the present invention is described below. Referring to Fig. 3, the first embodiment of the medical data processing device in the embodiment of the present invention includes:

获取模块301,用于获取待处理的用户对应的医疗数据,并根据所述医疗 数据判断所述用户是否符合预置的用户类型,其中,所述医疗数据包括用户 性别、用户年龄和症状数据;The acquisition module 301 is used to acquire the medical data corresponding to the user to be processed, and judge whether the user conforms to a preset user type according to the medical data, wherein the medical data includes user gender, user age and symptom data;

匹配模块302,用于若所述用户符合预置的用户类型,则根据所述医疗数 据匹配与所述用户对应的疾病模板,其中,所述疾病模板包括用户待填写的 疾病诊断路径;A matching module 302, configured to match a disease template corresponding to the user according to the medical data if the user conforms to a preset user type, wherein the disease template includes a disease diagnosis path to be filled in by the user;

填充模块303,用于基于所述疾病诊断路径对所述疾病模板进行信息填 充,得到所述疾病模板对应的结束节点和用户回答路径,并根据所述结束节 点和所述用户回答路径生成用户需求;Filling module 303, for filling the disease template with information based on the disease diagnosis path, obtaining the end node and user answer path corresponding to the disease template, and generating user requirements according to the end node and the user answer path ;

处理模块304,用于若所述用户需求为医生问诊,则将所述医疗数据和所 述用户回答路径输入预置的医疗数据处理模型进行疾病数据处理,得到预测 节点;The processing module 304 is configured to input the medical data and the user answer path into a preset medical data processing model for disease data processing if the user demand is a doctor's consultation to obtain a prediction node;

分析模块305,用于对所述预测节点和所述结束节点进行比对分析,得到 比对结果;The analysis module 305 is used to compare and analyze the prediction node and the end node to obtain a comparison result;

生成模块306,用于若所述比对结果为所述预测节点和所述结束节点相 同,则根据所述预测节点和所述结束节点对所述用户进行医生匹配,得到目 标医生。The generating module 306 is configured to perform doctor matching on the user according to the prediction node and the end node to obtain a target doctor if the comparison result is that the prediction node and the end node are the same.

进一步地,服务器将用户需求存储于区块链数据库中,具体此处不做限 定。Further, the server stores the user requirements in the blockchain database, which is not specifically limited here.

本发明实施例中,根据医疗数据判断用户是否符合预置的用户类型,其 中,医疗数据包括用户性别、用户年龄和症状数据;若用户符合预置的用户 类型,则根据医疗数据匹配与用户对应的疾病模板,其中,疾病模板包括用 户待填写的疾病诊断路径;基于疾病诊断路径对疾病模板进行信息填充,得 到疾病模板对应的结束节点和用户回答路径,并根据结束节点和用户回答路 径生成用户需求;若用户需求为医生问诊,则将医疗数据和用户回答路径输 入预置的医疗数据处理模型进行疾病数据处理,得到预测节点;对预测节点和结束节点进行比对分析,得到比对结果;若比对结果为预测节点和结束节 点相同,则根据预测节点和结束节点对用户进行医生匹配,得到目标医生, 本发明通过对用户进行自诊得到初步诊断结果和其他医疗信息,从而能够利 用这部分更全面的信息进行更精确地医患匹配,避免了一些无效沟通或错误 匹配,根据疾病诊断路径模版的方式进行用户自诊和医疗需求识别,提高了 在线问诊流程的效率。In this embodiment of the present invention, it is determined whether the user conforms to a preset user type according to medical data, wherein the medical data includes user gender, user age and symptom data; if the user conforms to the preset user type, the medical data is matched with the user corresponding to the user disease template, wherein the disease template includes the disease diagnosis path to be filled in by the user; fill the disease template with information based on the disease diagnosis path, obtain the end node corresponding to the disease template and the user answer path, and generate the user according to the end node and the user answer path. Demand; if the user's demand is a doctor's consultation, the medical data and the user's answer path are input into the preset medical data processing model for disease data processing, and the prediction node is obtained; the prediction node and the end node are compared and analyzed to obtain the comparison result. If the comparison result is that the prediction node and the end node are the same, then the user is matched with a doctor according to the prediction node and the end node, and the target doctor is obtained. This part of the more comprehensive information is used for more accurate doctor-patient matching, which avoids some invalid communication or wrong matching. User self-diagnosis and medical needs identification are carried out according to the disease diagnosis path template, which improves the efficiency of the online consultation process.

请参阅图4,本发明实施例中医疗数据处理装置第二个实施例包括:Referring to FIG. 4, the second embodiment of the medical data processing apparatus in the embodiment of the present invention includes:

获取模块301,用于获取待处理的用户对应的医疗数据,并根据所述医疗 数据判断所述用户是否符合预置的用户类型,其中,所述医疗数据包括用户 性别、用户年龄和症状数据;The acquisition module 301 is used to acquire the medical data corresponding to the user to be processed, and judge whether the user conforms to a preset user type according to the medical data, wherein the medical data includes user gender, user age and symptom data;

匹配模块302,用于若所述用户符合预置的用户类型,则根据所述医疗数 据匹配与所述用户对应的疾病模板,其中,所述疾病模板包括用户待填写的 疾病诊断路径;A matching module 302, configured to match a disease template corresponding to the user according to the medical data if the user conforms to a preset user type, wherein the disease template includes a disease diagnosis path to be filled in by the user;

填充模块303,用于基于所述疾病诊断路径对所述疾病模板进行信息填 充,得到所述疾病模板对应的结束节点和用户回答路径,并根据所述结束节 点和所述用户回答路径生成用户需求;Filling module 303, for filling the disease template with information based on the disease diagnosis path, obtaining the end node and user answer path corresponding to the disease template, and generating user requirements according to the end node and the user answer path ;

处理模块304,用于若所述用户需求为医生问诊,则将所述医疗数据和所 述用户回答路径输入预置的医疗数据处理模型进行疾病数据处理,得到预测 节点;The processing module 304 is configured to input the medical data and the user answer path into a preset medical data processing model for disease data processing if the user demand is a doctor's consultation to obtain a prediction node;

分析模块305,用于对所述预测节点和所述结束节点进行比对分析,得到 比对结果;The analysis module 305 is used to compare and analyze the prediction node and the end node to obtain a comparison result;

生成模块306,用于若所述比对结果为所述预测节点和所述结束节点相 同,则根据所述预测节点和所述结束节点对所述用户进行医生匹配,得到目 标医生。The generating module 306 is configured to perform doctor matching on the user according to the prediction node and the end node to obtain a target doctor if the comparison result is that the prediction node and the end node are the same.

可选的,获取模块301具体用于:Optionally, the obtaining module 301 is specifically used for:

接收待处理的用户输入的医疗数据,其中,所述医疗数据包括用户性别、 用户年龄和症状数据;基于所述用户性别、所述用户年龄和所述症状数据生 成所述用户对应的用户画像;计算所述用户画像是否符合预置的用户类型对 应的相似度,并对所述相似度和预设目标值进行比对;若所述相似度大于或 等于所述预设目标值,则确定所述用户符合预置的用户类型。receiving medical data input by a user to be processed, wherein the medical data includes user gender, user age and symptom data; generating a user portrait corresponding to the user based on the user gender, the user age and the symptom data; Calculate whether the user portrait conforms to the similarity corresponding to the preset user type, and compare the similarity with the preset target value; if the similarity is greater than or equal to the preset target value, determine the The user described above matches the preset user type.

可选的,匹配模块302具体用于:Optionally, the matching module 302 is specifically used for:

若所述用户符合预置的用户类型,则对所述医疗数据进行关键词提取, 得到目标关键词;分别将所述目标关键词和预置的多个疾病模板进行匹配, 得到每个疾病模板对应的关键词命中率;对每个疾病模板对应的关键词命中 率进行排序,并将所述关键词命中率最高的疾病模板作为所述用户对应的疾 病模板,其中,所述疾病模板包括用户待填写的疾病诊断路径。If the user conforms to a preset user type, perform keyword extraction on the medical data to obtain a target keyword; respectively match the target keyword with a plurality of preset disease templates to obtain each disease template Corresponding keyword hit rate; sort the keyword hit rate corresponding to each disease template, and use the disease template with the highest keyword hit rate as the disease template corresponding to the user, wherein the disease template includes the user Disease diagnosis path to be filled in.

可选的,填充模块303具体用于:Optionally, the filling module 303 is specifically used for:

基于所述疾病诊断路径获取跑通率和推荐点击率;基于所述跑通率和所 述推荐点击率对所述疾病模板进行信息填充,得到填充后的疾病模板;对所 述填充后的疾病模板进行数据提取,得到所述疾病模板对应的结束节点和用 户回答路径;基于所述结束节点和所述用户回答路径生成用户需求,其中, 所述用户需求包括医生问诊和线下问诊。Obtain the pass rate and the recommended click rate based on the disease diagnosis path; fill the disease template with information based on the pass rate and the recommended click rate to obtain a filled disease template; The template performs data extraction to obtain the end node and user answer path corresponding to the disease template; user requirements are generated based on the end node and the user answer path, wherein the user requirements include doctor consultation and offline consultation.

可选的,处理模块304具体用于:Optionally, the processing module 304 is specifically used for:

若所述用户需求为医生问诊,则将所述医疗数据和所述用户回答路径输 入预置的医疗数据处理模型;通过所述医疗数据处理模型中的卷积神经网络 对所述医疗数据和所述用户回答路径进行卷积运算,得到所述医疗数据对应 的特征向量;对所述特征向量进行特征归一化处理,得到预测节点。If the user demand is a doctor's consultation, the medical data and the user answer path are input into a preset medical data processing model; the medical data and the medical data are processed by the convolutional neural network in the medical data processing model A convolution operation is performed on the user answer path to obtain a feature vector corresponding to the medical data; a feature normalization process is performed on the feature vector to obtain a prediction node.

可选的,生成模块306具体用于:Optionally, the generating module 306 is specifically used for:

若所述比对结果为所述预测节点和所述结束节点相同,则获取预置候选 医生集合中的多个候选医生;基于所述预测节点和所述结束节点对所述多个 候选医生进行可信度计算,得到每个候选医生对应的目标可信度;根据每个 候选医生对应的目标可信度对所述候选医生集合中的所述多个候选医生进行 排名,并将排名最高的候选医生作为与所述用户匹配的医生,得到目标医生。If the comparison result is that the prediction node and the end node are the same, obtain a plurality of candidate doctors in the preset candidate doctor set; based on the prediction node and the end node Reliability calculation to obtain the target reliability corresponding to each candidate doctor; according to the target reliability corresponding to each candidate doctor, the multiple candidate doctors in the candidate doctor set are ranked, and the highest ranked doctor The candidate doctor is used as the doctor matched with the user to obtain the target doctor.

可选的,医疗数据处理装置还包括:Optionally, the medical data processing device further includes:

删除模块307,用于若所述比对结果为所述预测节点和所述结束节点不相 同,则对所述预测节点进行删除,并基于所述疾病模板生成所述用户对应的 辅助信息;基于所述辅助信息和所述结束节点对所述用户进行医生匹配,得 到所述用户对应的目标医生。A deletion module 307, configured to delete the prediction node if the comparison result is that the prediction node and the end node are different, and generate auxiliary information corresponding to the user based on the disease template; The auxiliary information and the end node perform doctor matching on the user to obtain a target doctor corresponding to the user.

进一步地,服务器将用户需求存储于区块链数据库中,具体此处不做限 定。Further, the server stores user requirements in the blockchain database, which is not specifically limited here.

本发明实施例中,根据医疗数据判断用户是否符合预置的用户类型,其 中,医疗数据包括用户性别、用户年龄和症状数据;若用户符合预置的用户 类型,则根据医疗数据匹配与用户对应的疾病模板,其中,疾病模板包括用 户待填写的疾病诊断路径;基于疾病诊断路径对疾病模板进行信息填充,得 到疾病模板对应的结束节点和用户回答路径,并根据结束节点和用户回答路 径生成用户需求;若用户需求为医生问诊,则将医疗数据和用户回答路径输 入预置的医疗数据处理模型进行疾病数据处理,得到预测节点;对预测节点和结束节点进行比对分析,得到比对结果;若比对结果为预测节点和结束节 点相同,则根据预测节点和结束节点对用户进行医生匹配,得到目标医生, 本发明通过对用户进行自诊得到初步诊断结果和其他医疗信息,从而能够利 用这部分更全面的信息进行更精确地医患匹配,避免了一些无效沟通或错误 匹配,根据疾病诊断路径模版的方式进行用户自诊和医疗需求识别,提高了 在线问诊流程的效率。In the embodiment of the present invention, whether the user conforms to a preset user type is determined according to medical data, wherein the medical data includes user gender, user age and symptom data; if the user conforms to the preset user type, the medical data is matched with the user corresponding to the user disease template, wherein the disease template includes the disease diagnosis path to be filled by the user; fill the disease template with information based on the disease diagnosis path, obtain the end node and user answer path corresponding to the disease template, and generate the user according to the end node and the user answer path. Demand; if the user's demand is a doctor's consultation, the medical data and the user's answer path are input into the preset medical data processing model for disease data processing, and the prediction node is obtained; the prediction node and the end node are compared and analyzed to obtain the comparison result. If the comparison result is that the prediction node and the end node are the same, then the user is matched with a doctor according to the prediction node and the end node, and the target doctor is obtained. This part of the more comprehensive information is used for more accurate doctor-patient matching, which avoids some invalid communication or wrong matching. User self-diagnosis and medical needs identification are carried out according to the disease diagnosis path template, which improves the efficiency of the online consultation process.

上面图3和图4从模块化功能实体的角度对本发明实施例中的医疗数据 处理装置进行详细描述,下面从硬件处理的角度对本发明实施例中医疗数据 处理设备进行详细描述。Figures 3 and 4 above describe the medical data processing apparatus in the embodiment of the present invention in detail from the perspective of modular functional entities, and the following describes the medical data processing device in the embodiment of the present invention in detail from the perspective of hardware processing.

图5是本发明实施例提供的一种医疗数据处理设备的结构示意图,该医 疗数据处理设备500可因配置或性能不同而产生比较大的差异,可以包括一 个或一个以上处理器(central processing units,CPU)510(例如,一个或一个 以上处理器),一个或一个以上存储应用程序533或数据532的存储介质530 (例如一个或一个以上海量存储设备)。其中,存储介质530可以是短暂存储 或持久存储。存储在存储介质530的程序可以包括一个或一个以上模块(图 示没标出),每个模块可以包括对医疗数据处理设备500中的一系列指令操作。 更进一步地,处理器510可以设置为与存储介质530通信,在医疗数据处理 设备500上执行存储介质530中的一系列指令操作。5 is a schematic structural diagram of a medical data processing device according to an embodiment of the present invention. The medical data processing device 500 may vary greatly due to different configurations or performances, and may include one or more processors (central processing units). , CPU) 510 (eg, one or more processors), one or more storage media 530 (eg, one or more mass storage devices) storing application programs 533 or data 532. Among them, the storage medium 530 may be short-term storage or persistent storage. The program stored in the storage medium 530 may include one or more modules (not shown), and each module may include a series of instructions to operate on the medical data processing apparatus 500. Further, the processor 510 may be configured to communicate with the storage medium 530 to execute a series of instruction operations in the storage medium 530 on the medical data processing device 500.

医疗数据处理设备500还可以包括一个或一个以上电源540,一个或一个 以上有线或无线网络接口550,一个或一个以上输入输出接口520,和/或,一 个或一个以上操作系统531,例如Windows Serve,Mac OS X,Unix,Linux, FreeBSD等等。本领域技术人员可以理解,图5示出的医疗数据处理设备结 构并不构成对医疗数据处理设备的限定,可以包括比图示更多或更少的部件, 或者组合某些部件,或者不同的部件布置。The medical data processing device 500 may also include one or more power supplies 540, one or more wired or wireless network interfaces 550, one or more input and output interfaces 520, and/or, one or more operating systems 531, such as Windows Server , Mac OS X, Unix, Linux, FreeBSD, etc. Those skilled in the art can understand that the structure of the medical data processing device shown in FIG. 5 does not constitute a limitation on the medical data processing device, and may include more or less components than those shown in the figure, or combine some components, or different Component placement.

本发明还提供一种医疗数据处理设备,所述医疗数据处理设备包括处理 器,计算机可读指令被处理器执行时,使得处理器执行上述各实施例中的所 述医疗数据处理方法的步骤。The present invention also provides a medical data processing device, the medical data processing device includes a processor, and when the computer readable instructions are executed by the processor, the processor causes the processor to execute the steps of the medical data processing methods in the above embodiments.

本发明还提供一种计算机可读存储介质,该计算机可读存储介质可以为 非易失性计算机可读存储介质,该计算机可读存储介质也可以为易失性计算 机可读存储介质,所述计算机可读存储介质中存储有指令,当所述指令在计 算机上运行时,使得计算机执行所述医疗数据处理方法的步骤。The present invention also provides a computer-readable storage medium. The computer-readable storage medium may be a non-volatile computer-readable storage medium. The computer-readable storage medium may also be a volatile computer-readable storage medium. The computer-readable storage medium stores instructions that, when executed on a computer, cause the computer to execute the steps of the medical data processing method.

进一步地,计算机可读存储介质可主要包括存储程序区和存储数据区, 其中,存储程序区可存储操作系统、至少一个功能所需的应用程序等;存储 数据区可存储根据区块链节点的使用所创建的数据等。Further, the computer-readable storage medium may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required by at least one function, and the like; Use the created data, etc.

本发明所指区块链是分布式数据存储、点对点传输、共识机制、加密算 法等计算机技术的新型应用模式。区块链(Blockchain),本质上是一个去中心 化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中 包含了一批次网络交易的信息,用于验证其信息的有效性(防伪)和生成下一个 区块。区块链可以包括区块链底层平台、平台产品服务层以及应用服务层等。The blockchain referred to in the present invention is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm. Blockchain, essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information to verify its Validity of information (anti-counterfeiting) and generation of the next block. The blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描 述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应 过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售 或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本 发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的 全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个 存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机, 服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步 骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read-onlymemory, ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等 各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM), random access memory (random access memory, RAM), magnetic disk or optical disk and other media that can store program codes.

以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制; 尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应 当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其 中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案 的本质脱离本发明各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: The technical solutions described in the embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1.一种医疗数据处理方法,其特征在于,所述医疗数据处理方法包括:1. A medical data processing method, wherein the medical data processing method comprises: 获取待处理的用户对应的医疗数据,并根据所述医疗数据判断所述用户是否符合预置的用户类型,其中,所述医疗数据包括用户性别、用户年龄和症状数据;Obtain medical data corresponding to the user to be processed, and determine whether the user conforms to a preset user type according to the medical data, wherein the medical data includes user gender, user age and symptom data; 若所述用户符合预置的用户类型,则根据所述医疗数据匹配与所述用户对应的疾病模板,其中,所述疾病模板包括用户待填写的疾病诊断路径;If the user conforms to a preset user type, matching a disease template corresponding to the user according to the medical data, wherein the disease template includes a disease diagnosis path to be filled in by the user; 基于所述疾病诊断路径对所述疾病模板进行信息填充,得到所述疾病模板对应的结束节点和用户回答路径,并根据所述结束节点和所述用户回答路径生成用户需求;Filling the disease template with information based on the disease diagnosis path, obtaining an end node and a user answer path corresponding to the disease template, and generating user requirements according to the end node and the user answer path; 若所述用户需求为医生问诊,则将所述医疗数据和所述用户回答路径输入预置的医疗数据处理模型进行疾病数据处理,得到预测节点;If the user demand is a doctor's consultation, input the medical data and the user's answer path into a preset medical data processing model to process disease data to obtain a prediction node; 对所述预测节点和所述结束节点进行比对分析,得到比对结果;Carry out comparative analysis on the prediction node and the end node to obtain a comparison result; 若所述比对结果为所述预测节点和所述结束节点相同,则根据所述预测节点和所述结束节点对所述用户进行医生匹配,得到目标医生。If the comparison result is that the prediction node and the end node are the same, the user is matched with a doctor according to the prediction node and the end node to obtain a target doctor. 2.根据权利要求1所述的医疗数据处理方法,其特征在于,所述获取待处理的用户对应的医疗数据,并根据所述医疗数据判断所述用户是否符合预置的用户类型,包括:2. The medical data processing method according to claim 1, wherein the obtaining medical data corresponding to the user to be processed, and judging whether the user conforms to a preset user type according to the medical data, comprises: 接收待处理的用户输入的医疗数据,其中,所述医疗数据包括用户性别、用户年龄和症状数据;receiving medical data input by a user to be processed, wherein the medical data includes user gender, user age and symptom data; 基于所述用户性别、所述用户年龄和所述症状数据生成所述用户对应的用户画像;generating a user portrait corresponding to the user based on the user's gender, the user's age, and the symptom data; 计算所述用户画像是否符合预置的用户类型对应的相似度,并对所述相似度和预设目标值进行比对;Calculate whether the user portrait conforms to the similarity corresponding to the preset user type, and compare the similarity with the preset target value; 若所述相似度大于或等于所述预设目标值,则确定所述用户符合预置的用户类型。If the similarity is greater than or equal to the preset target value, it is determined that the user conforms to a preset user type. 3.根据权利要求1所述的医疗数据处理方法,其特征在于,所述若所述用户符合预置的用户类型,则根据所述医疗数据匹配与所述用户对应的疾病模板,包括:3. The medical data processing method according to claim 1, wherein if the user conforms to a preset user type, matching a disease template corresponding to the user according to the medical data, comprising: 若所述用户符合预置的用户类型,则对所述医疗数据进行关键词提取,得到目标关键词;If the user conforms to a preset user type, perform keyword extraction on the medical data to obtain target keywords; 分别将所述目标关键词和预置的多个疾病模板进行匹配,得到每个疾病模板对应的关键词命中率;Matching the target keyword with a plurality of preset disease templates, respectively, to obtain the keyword hit rate corresponding to each disease template; 对每个疾病模板对应的关键词命中率进行排序,并将所述关键词命中率最高的疾病模板作为所述用户对应的疾病模板,其中,所述疾病模板包括用户待填写的疾病诊断路径。The keyword hit rate corresponding to each disease template is sorted, and the disease template with the highest keyword hit rate is used as the disease template corresponding to the user, wherein the disease template includes the disease diagnosis path to be filled in by the user. 4.根据权利要求1所述的医疗数据处理方法,其特征在于,所述基于所述疾病诊断路径对所述疾病模板进行信息填充,得到所述疾病模板对应的结束节点和用户回答路径,并根据所述结束节点和所述用户回答路径生成用户需求,包括:4. The medical data processing method according to claim 1, wherein the disease template is filled with information based on the disease diagnosis path to obtain an end node and a user answer path corresponding to the disease template, and Generate user requirements according to the end node and the user answer path, including: 基于所述疾病诊断路径获取跑通率和推荐点击率;Obtaining the pass-through rate and the recommended click-through rate based on the disease diagnosis path; 基于所述跑通率和所述推荐点击率对所述疾病模板进行信息填充,得到填充后的疾病模板;Filling the disease template with information based on the run-through rate and the recommended click rate to obtain a filled disease template; 对所述填充后的疾病模板进行数据提取,得到所述疾病模板对应的结束节点和用户回答路径;performing data extraction on the filled disease template to obtain the corresponding end node and user answer path of the disease template; 基于所述结束节点和所述用户回答路径生成用户需求,其中,所述用户需求包括医生问诊和线下问诊。A user requirement is generated based on the end node and the user answer path, wherein the user requirement includes a doctor's consultation and an offline consultation. 5.根据权利要求1所述的医疗数据处理方法,其特征在于,所述若所述用户需求为医生问诊,则将所述医疗数据和所述用户回答路径输入预置的医疗数据处理模型进行疾病数据处理,得到预测节点,包括:5 . The medical data processing method according to claim 1 , wherein, if the user demand is a doctor’s consultation, the medical data and the user answer path are input into a preset medical data processing model. 6 . Perform disease data processing to obtain prediction nodes, including: 若所述用户需求为医生问诊,则将所述医疗数据和所述用户回答路径输入预置的医疗数据处理模型;If the user demand is a doctor's consultation, input the medical data and the user answer path into a preset medical data processing model; 通过所述医疗数据处理模型中的卷积神经网络对所述医疗数据和所述用户回答路径进行卷积运算,得到所述医疗数据对应的特征向量;Perform a convolution operation on the medical data and the user answer path through the convolutional neural network in the medical data processing model to obtain a feature vector corresponding to the medical data; 对所述特征向量进行特征归一化处理,得到预测节点。The feature normalization process is performed on the feature vector to obtain a prediction node. 6.根据权利要求1所述的医疗数据处理方法,其特征在于,所述若所述比对结果为所述预测节点和所述结束节点相同,则根据所述预测节点和所述结束节点对所述用户进行医生匹配,得到目标医生,包括:6 . The medical data processing method according to claim 1 , wherein, if the comparison result is that the prediction node and the end node are the same, then the prediction node and the end node are paired according to the comparison result. 7 . The user performs doctor matching to obtain the target doctor, including: 若所述比对结果为所述预测节点和所述结束节点相同,则获取预置候选医生集合中的多个候选医生;If the comparison result is that the prediction node and the end node are the same, acquiring multiple candidate doctors in the preset candidate doctor set; 基于所述预测节点和所述结束节点对所述多个候选医生进行可信度计算,得到每个候选医生对应的目标可信度;Perform credibility calculation on the plurality of candidate doctors based on the prediction node and the end node, to obtain the target credibility corresponding to each candidate doctor; 根据每个候选医生对应的目标可信度对所述候选医生集合中的所述多个候选医生进行排名,并将排名最高的候选医生作为与所述用户匹配的医生,得到目标医生。Rank the multiple candidate doctors in the candidate doctor set according to the target reliability corresponding to each candidate doctor, and use the highest ranked candidate doctor as the doctor matching the user to obtain the target doctor. 7.根据权利要求1-6中任一项所述的医疗数据处理方法,其特征在于,在所述若所述比对结果为所述预测节点和所述结束节点相同,则根据所述预测节点和所述结束节点对所述用户进行医生匹配,得到目标医生之后,所述医疗数据处理方法还包括:7. The medical data processing method according to any one of claims 1-6, characterized in that, if the comparison result is that the prediction node and the end node are the same, then according to the prediction The node and the end node perform doctor matching on the user, and after obtaining the target doctor, the medical data processing method further includes: 若所述比对结果为所述预测节点和所述结束节点不相同,则对所述预测节点进行删除,并基于所述疾病模板生成所述用户对应的辅助信息;If the comparison result is that the prediction node and the end node are different, delete the prediction node, and generate auxiliary information corresponding to the user based on the disease template; 基于所述辅助信息和所述结束节点对所述用户进行医生匹配,得到所述用户对应的目标医生。Doctor matching is performed on the user based on the auxiliary information and the end node, and a target doctor corresponding to the user is obtained. 8.一种医疗数据处理装置,其特征在于,所述医疗数据处理装置包括:8. A medical data processing device, wherein the medical data processing device comprises: 获取模块,用于获取待处理的用户对应的医疗数据,并根据所述医疗数据判断所述用户是否符合预置的用户类型,其中,所述医疗数据包括用户性别、用户年龄和症状数据;an acquisition module, configured to acquire medical data corresponding to the user to be processed, and determine whether the user conforms to a preset user type according to the medical data, wherein the medical data includes user gender, user age and symptom data; 匹配模块,用于若所述用户符合预置的用户类型,则根据所述医疗数据匹配与所述用户对应的疾病模板,其中,所述疾病模板包括用户待填写的疾病诊断路径;a matching module, configured to match a disease template corresponding to the user according to the medical data if the user conforms to a preset user type, wherein the disease template includes a disease diagnosis path to be filled in by the user; 填充模块,用于基于所述疾病诊断路径对所述疾病模板进行信息填充,得到所述疾病模板对应的结束节点和用户回答路径,并根据所述结束节点和所述用户回答路径生成用户需求;a filling module, configured to fill the disease template with information based on the disease diagnosis path, obtain an end node and a user answer path corresponding to the disease template, and generate user requirements according to the end node and the user answer path; 处理模块,用于若所述用户需求为医生问诊,则将所述医疗数据和所述用户回答路径输入预置的医疗数据处理模型进行疾病数据处理,得到预测节点;a processing module, configured to input the medical data and the user answer path into a preset medical data processing model for disease data processing to obtain a prediction node if the user demand is a doctor's consultation; 分析模块,用于对所述预测节点和所述结束节点进行比对分析,得到比对结果;an analysis module, used to compare and analyze the prediction node and the end node to obtain a comparison result; 生成模块,用于若所述比对结果为所述预测节点和所述结束节点相同,则根据所述预测节点和所述结束节点对所述用户进行医生匹配,得到目标医生。A generating module, configured to perform doctor matching on the user according to the prediction node and the end node to obtain a target doctor if the comparison result is that the prediction node and the end node are the same. 9.一种医疗数据处理设备,其特征在于,所述医疗数据处理设备包括:存储器和至少一个处理器,所述存储器中存储有指令;9. A medical data processing device, characterized in that the medical data processing device comprises: a memory and at least one processor, wherein instructions are stored in the memory; 所述至少一个处理器调用所述存储器中的所述指令,以使得所述医疗数据处理设备执行如权利要求1-7中任一项所述的医疗数据处理方法。The at least one processor invokes the instructions in the memory to cause the medical data processing apparatus to perform the medical data processing method of any one of claims 1-7. 10.一种计算机可读存储介质,所述计算机可读存储介质上存储有指令,其特征在于,所述指令被处理器执行时实现如权利要求1-7中任一项所述的医疗数据处理方法。10. A computer-readable storage medium on which instructions are stored, wherein the instructions are executed by a processor to realize the medical data according to any one of claims 1-7 Approach.
CN202210296654.8A 2022-03-24 2022-03-24 Medical data processing method, device, equipment and storage medium Pending CN114743647A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210296654.8A CN114743647A (en) 2022-03-24 2022-03-24 Medical data processing method, device, equipment and storage medium
PCT/CN2022/121724 WO2023178970A1 (en) 2022-03-24 2022-09-27 Medical data processing method, apparatus and device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210296654.8A CN114743647A (en) 2022-03-24 2022-03-24 Medical data processing method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114743647A true CN114743647A (en) 2022-07-12

Family

ID=82277325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210296654.8A Pending CN114743647A (en) 2022-03-24 2022-03-24 Medical data processing method, device, equipment and storage medium

Country Status (2)

Country Link
CN (1) CN114743647A (en)
WO (1) WO2023178970A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023178970A1 (en) * 2022-03-24 2023-09-28 康键信息技术(深圳)有限公司 Medical data processing method, apparatus and device, and storage medium

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118248297B (en) * 2024-05-28 2024-08-20 山东佰泰丰信息科技有限公司 Diversified information management system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1246942A (en) * 1996-07-12 2000-03-08 第一咨询公司 Computerized medical diagnostic system utilizing list-based processing
CN106156497A (en) * 2016-07-01 2016-11-23 深圳市前海安测信息技术有限公司 Medical auxiliary system based on clinical path and method
CN109036544A (en) * 2018-05-31 2018-12-18 平安医疗科技有限公司 Medical information method for pushing, device, computer equipment and storage medium
CN112035741A (en) * 2020-08-28 2020-12-04 康键信息技术(深圳)有限公司 Reservation method, device, equipment and storage medium based on user physical examination data
CN113724899A (en) * 2021-08-31 2021-11-30 平安国际智慧城市科技股份有限公司 Online inquiry method, device, equipment and medium based on artificial intelligence

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080091631A1 (en) * 2006-10-11 2008-04-17 Henry Joseph Legere Method and Apparatus for an Algorithmic Approach to Patient-Driven Computer-Assisted Diagnosis
CN109273101A (en) * 2018-09-05 2019-01-25 百度在线网络技术(北京)有限公司 Man-machine interaction method, device, computer equipment and medium based on decision tree
CN110111884B (en) * 2019-04-30 2021-08-24 杭州电子科技大学 A human-machine collaborative intelligent medical assistant decision-making system based on CMKMC
CN110489566A (en) * 2019-08-22 2019-11-22 上海软中信息系统咨询有限公司 A kind of hospital guide's method of intelligence hospital guide's service robot
CN114743647A (en) * 2022-03-24 2022-07-12 康键信息技术(深圳)有限公司 Medical data processing method, device, equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1246942A (en) * 1996-07-12 2000-03-08 第一咨询公司 Computerized medical diagnostic system utilizing list-based processing
CN106156497A (en) * 2016-07-01 2016-11-23 深圳市前海安测信息技术有限公司 Medical auxiliary system based on clinical path and method
CN109036544A (en) * 2018-05-31 2018-12-18 平安医疗科技有限公司 Medical information method for pushing, device, computer equipment and storage medium
CN112035741A (en) * 2020-08-28 2020-12-04 康键信息技术(深圳)有限公司 Reservation method, device, equipment and storage medium based on user physical examination data
CN113724899A (en) * 2021-08-31 2021-11-30 平安国际智慧城市科技股份有限公司 Online inquiry method, device, equipment and medium based on artificial intelligence

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023178970A1 (en) * 2022-03-24 2023-09-28 康键信息技术(深圳)有限公司 Medical data processing method, apparatus and device, and storage medium

Also Published As

Publication number Publication date
WO2023178970A1 (en) 2023-09-28

Similar Documents

Publication Publication Date Title
CN108986908B (en) Method and device for processing inquiry data, computer equipment and storage medium
US11810671B2 (en) System and method for providing health information
CN106874643B (en) Method and system for automatically constructing knowledge base based on word vector to realize auxiliary diagnosis and treatment
CN113223735B (en) Diagnosis method, device, equipment and storage medium based on dialogue characterization
CN111986770A (en) Prescription medication auditing method, device, equipment and storage medium
CN112035741B (en) Reservation method, device, equipment and storage medium based on user physical examination data
WO2021151327A1 (en) Triage data processing method and apparatus, and device and medium
WO2022041722A1 (en) Hospital guidance data acquisition method and apparatus, and computer device and storage medium
CN114420279B (en) A medical resource recommendation method, device, equipment and storage medium
CN112016295A (en) Symptom data processing method and device, computer equipment and storage medium
WO2023178971A1 (en) Internet registration method, apparatus and device for seeking medical advice, and storage medium
CN112201359A (en) Artificial intelligence-based critical illness inquiry data identification method and device
CN111370102A (en) Department diagnosis guiding method, device and equipment
CN113658712A (en) Doctor-patient matching method, device, equipment and storage medium
WO2023178970A1 (en) Medical data processing method, apparatus and device, and storage medium
CN115910319A (en) Otology inquiry assisting method and device, electronic equipment and storage medium
CN118737368A (en) Medication Path Decision Reasoning System
US20150339602A1 (en) System and method for modeling health care costs
WO2017044802A1 (en) Experience engine-method and apparatus of learning from similar patients
CN112330400A (en) Product recommendation method and device, computer equipment and storage medium
CN117038026B (en) Recommendation method, electronic equipment and medium for hospital specialists
CN116521981B (en) Method for constructing clinical treatment drug recommendation model under co-pathology state
CN113707335B (en) Method, device, electronic equipment and storage medium for determining target consultation user
CN110289065A (en) A kind of auxiliary generates the control method and device of medical electronic report
CN111931091B (en) Method, device, computer equipment and storage medium for displaying page content

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination