CN116312936A - A method and device for designing software for assisting the use of cognitive digital medicines - Google Patents
A method and device for designing software for assisting the use of cognitive digital medicines Download PDFInfo
- Publication number
- CN116312936A CN116312936A CN202310222964.XA CN202310222964A CN116312936A CN 116312936 A CN116312936 A CN 116312936A CN 202310222964 A CN202310222964 A CN 202310222964A CN 116312936 A CN116312936 A CN 116312936A
- Authority
- CN
- China
- Prior art keywords
- data
- patient
- prescription
- information
- personal information
- 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
Links
- 239000003814 drug Substances 0.000 title claims abstract description 108
- 229940079593 drug Drugs 0.000 title claims abstract description 69
- 238000000034 method Methods 0.000 title claims abstract description 63
- 230000001149 cognitive effect Effects 0.000 title claims abstract description 28
- 238000013135 deep learning Methods 0.000 claims abstract description 22
- 238000013527 convolutional neural network Methods 0.000 claims abstract description 16
- 238000012545 processing Methods 0.000 claims abstract description 8
- 230000008450 motivation Effects 0.000 claims abstract description 5
- 238000000605 extraction Methods 0.000 claims description 18
- 230000015654 memory Effects 0.000 claims description 18
- 238000006243 chemical reaction Methods 0.000 claims description 13
- 238000004891 communication Methods 0.000 claims description 13
- 238000013528 artificial neural network Methods 0.000 claims description 11
- 238000001914 filtration Methods 0.000 claims description 6
- 230000007246 mechanism Effects 0.000 claims description 6
- 230000006996 mental state Effects 0.000 claims description 6
- 238000003062 neural network model Methods 0.000 claims description 6
- 238000012360 testing method Methods 0.000 claims description 6
- 125000004122 cyclic group Chemical group 0.000 claims description 3
- 238000013507 mapping Methods 0.000 claims description 3
- 230000005284 excitation Effects 0.000 claims 2
- 230000000694 effects Effects 0.000 abstract description 8
- 230000008569 process Effects 0.000 description 14
- 230000005540 biological transmission Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 5
- 238000012549 training Methods 0.000 description 5
- 210000004556 brain Anatomy 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000008676 import Effects 0.000 description 4
- 230000002452 interceptive effect Effects 0.000 description 4
- 238000011176 pooling Methods 0.000 description 4
- 238000012827 research and development Methods 0.000 description 4
- 230000006403 short-term memory Effects 0.000 description 4
- 208000028698 Cognitive impairment Diseases 0.000 description 3
- 230000004913 activation Effects 0.000 description 3
- 230000006399 behavior Effects 0.000 description 3
- 208000010877 cognitive disease Diseases 0.000 description 3
- 238000002001 electrophysiology Methods 0.000 description 3
- 230000007831 electrophysiology Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000003745 diagnosis Methods 0.000 description 2
- 230000002996 emotional effect Effects 0.000 description 2
- 230000036541 health Effects 0.000 description 2
- 230000003862 health status Effects 0.000 description 2
- 230000007774 longterm Effects 0.000 description 2
- 239000011159 matrix material Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000013473 artificial intelligence Methods 0.000 description 1
- 230000003542 behavioural effect Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000013499 data model Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007812 deficiency Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000857 drug effect Effects 0.000 description 1
- 230000008909 emotion recognition Effects 0.000 description 1
- 238000009472 formulation Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000008376 long-term health Effects 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000000737 periodic effect Effects 0.000 description 1
- 230000000144 pharmacologic effect Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 230000000638 stimulation Effects 0.000 description 1
- 229940126672 traditional medicines Drugs 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H20/00—ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
- G16H20/10—ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to drugs or medications, e.g. for ensuring correct administration to patients
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H50/00—ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
- G16H50/20—ICT 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
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02A—TECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
- Y02A90/00—Technologies having an indirect contribution to adaptation to climate change
- Y02A90/10—Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- Public Health (AREA)
- Medical Informatics (AREA)
- Physics & Mathematics (AREA)
- Data Mining & Analysis (AREA)
- Primary Health Care (AREA)
- Theoretical Computer Science (AREA)
- Epidemiology (AREA)
- Biophysics (AREA)
- Molecular Biology (AREA)
- Pathology (AREA)
- Chemical & Material Sciences (AREA)
- Life Sciences & Earth Sciences (AREA)
- Artificial Intelligence (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Computational Linguistics (AREA)
- Evolutionary Computation (AREA)
- Databases & Information Systems (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Software Systems (AREA)
- Medicinal Chemistry (AREA)
- Medical Treatment And Welfare Office Work (AREA)
Abstract
Description
技术领域technical field
本发明涉及信息技术领域,特别是指一种认知数字药物辅佐使用软件设计方法及装置。The invention relates to the field of information technology, in particular to a software design method and device for assisting the use of cognitive digital medicine.
背景技术Background technique
数字药物是指具备与传统药物相似的治疗适应症、治疗目标和治疗预期效果(或能通过创新技术提升治疗效率和效果)的数字化产品。相对于传统药物,数字药物具备轻松有趣依从性高、诊疗数据可及时统计反馈,诊疗方案可通过人工智能基于诊疗数据即时自动优化,无药理毒副作用等巨大优势。参考认知障碍领域传统药物的研究、开发流程,基于现有的技术基础,设计出认知障碍数字药物的研发模型能够对今后该领域数字药物的研究、开发提供可参考性的指导,从而加速该领域数字药物的研发。Digital medicine refers to digital products that have similar treatment indications, treatment goals and expected treatment effects as traditional medicines (or can improve treatment efficiency and effectiveness through innovative technologies). Compared with traditional drugs, digital drugs have great advantages such as easy and fun, high compliance, timely statistical feedback of diagnosis and treatment data, real-time automatic optimization of diagnosis and treatment plans based on artificial intelligence, and no pharmacological side effects. Referring to the research and development process of traditional drugs in the field of cognitive impairment, based on the existing technical foundation, the research and development model of digital drugs for cognitive impairment can be designed to provide reference guidance for the research and development of digital drugs in this field in the future, thereby accelerating Research and development of digital medicines in this field.
如何将“数字药物”辅佐软件恰当地嵌入“数字药物”当中,并通过合理的生物刺激激发“数字药物”中的辅佐软件进行正常工作,成为了当前关注的研究方向。现有的数字药物辅佐软件中,在帮助患者和医生实时掌握患者身体状况方面存在不足,在使用药物的过程中不能实时有效地给与患者帮助与奖励,导致用药的效果不佳和治疗体验较差。How to properly embed the auxiliary software of "digital medicine" into "digital medicine" and stimulate the auxiliary software in "digital medicine" to work normally through reasonable biological stimulation has become the research direction of current attention. In the existing digital drug assistant software, there are deficiencies in helping patients and doctors to grasp the patient's physical condition in real time. In the process of using drugs, they cannot effectively help and reward patients in real time, resulting in poor drug effects and poor treatment experience. Difference.
发明内容Contents of the invention
本发明实施例提供了一种认知数字药物辅佐使用软件设计方法及装置。所述技术方案如下:The embodiment of the present invention provides a software design method and device for assisting the use of cognitive digital medicines. Described technical scheme is as follows:
一方面,提供了一种认知数字药物辅佐使用软件设计方法,该方法由电子设备实现,该方法包括:In one aspect, there is provided a method for designing cognitive digital drug assistance software, the method is implemented by an electronic device, and the method includes:
导入医生处方和患者个人信息,获得处方数据和个人信息数据。Import doctor's prescription and patient's personal information, obtain prescription data and personal information data.
对数字药物产生的数据信息进行处理,获得初始数据,根据所述初始数据进行特征提取,获得第一特征数据。The data information generated by the digital medicine is processed to obtain initial data, and feature extraction is performed according to the initial data to obtain first feature data.
根据所述初始数据和所述处方数据,对患者发送用药提醒。According to the initial data and the prescription data, a medication reminder is sent to the patient.
根据所述第一特征数据通过卷积神经网络进行深度学习,获得第二特征数据。The second feature data is obtained by performing deep learning through a convolutional neural network according to the first feature data.
根据所述第二特征数据和所述个人信息数据,对患者推送辅助治疗信息。According to the second characteristic data and the personal information data, auxiliary treatment information is pushed to the patient.
基于所述第二特征数据和所述处方信息数据,制定患者激励任务。A patient motivational task is formulated based on the second characteristic data and the prescribing information data.
可选地,所述导入医生处方和患者个人信息,获得处方数据和个人信息数据,包括:Optionally, the importing of doctor's prescription and patient's personal information to obtain prescription data and personal information data includes:
通过使用B/S架构模式的无线通信方式进行数据传输,将个人信息数据和处方数据从医院处方服务器发送到患者手机端,个人信息数据和处方数据采用SQLite进行数据存储。By using the wireless communication method of B/S architecture mode for data transmission, the personal information data and prescription data are sent from the hospital prescription server to the patient's mobile phone terminal, and the personal information data and prescription data are stored in SQLite.
可选地,所述通过对数字药物使用产生的数据信息进行处理,获得初始数据,根据所述初始数据进行特征提取,获得第一特征数据,包括:Optionally, the initial data is obtained by processing the data information generated by the use of digital medicines, and feature extraction is performed according to the initial data to obtain the first feature data, including:
患者的用药情况数据信息通过无线通讯方式进行传输,通过数字药物与平台之间的数据转换接口进行滤波和信息模型转换操作,获得初始数据,根据所述初始数据采用排序条件互信息方法进行特征提取,获得第一特征数据。The data information of the patient's medication situation is transmitted through wireless communication, and the initial data is obtained through the data conversion interface between the digital drug and the platform to perform filtering and information model conversion operations, and the feature extraction is performed based on the initial data using the sorting condition mutual information method , to obtain the first feature data.
可选地,所述根据所述第一特征数据通过卷积神经网络进行深度学习,获得第二特征数据,包括:Optionally, performing deep learning through a convolutional neural network according to the first feature data to obtain second feature data includes:
基于所述第一特征数据,通过基于神经网络的词向量表示法建立对话生成模型;通过引入注意力机制的Seq2seq神经网络模型,将输入的第一特征数据转换为计算机二进制编码;根据所述计算机二进制编码基于卷积神经网络进行深度学习,获得第二特征数据。Based on the first feature data, a dialogue generation model is established through a neural network-based word vector representation; by introducing the Seq2seq neural network model of the attention mechanism, the input first feature data is converted into a computer binary code; according to the computer Binary encoding is based on convolutional neural network for deep learning to obtain second feature data.
可选地,所述基于所述第二特征数据,制定患者激励任务,包括:Optionally, said formulating a patient incentive task based on said second characteristic data includes:
获取患者当前测试环境下的记忆状态,基于所述第二特征数据和所述处方数据,通过长短期记忆网络的学习方法,根据患者的精神状态,进行激励任务的动态匹配。The memory state of the patient under the current test environment is obtained, and based on the second feature data and the prescription data, dynamic matching of incentive tasks is performed according to the mental state of the patient through the learning method of the long-short-term memory network.
另一方面,提供了一种认知数字药物辅佐使用软件设计装置,该装置应用于认知数字药物辅佐使用软件方法,该装置包括:In another aspect, a software design device for assisted use of cognitive digital medicine is provided, the device is applied to a software method for assisted use of cognitive digital medicine, and the device includes:
信息采集模块,用于导入医生处方和患者个人信息,获得处方数据和个人信息数据。The information collection module is used to import doctor's prescription and patient's personal information, and obtain prescription data and personal information data.
特征提取模块,用于对数字药物产生的数据信息进行处理,获得初始数据,根据所述初始数据进行特征提取,获得第一特征数据。The feature extraction module is used to process the data information generated by the digital medicine to obtain initial data, and perform feature extraction according to the initial data to obtain the first feature data.
药品提示模块,用于根据所述初始数据和所述处方数据,对患者发送用药提醒。The drug reminder module is configured to send medication reminders to patients according to the initial data and the prescription data.
深度学习模块,用于根据所述第一特征数据通过卷积神经网络进行深度学习,获得第二特征数据。A deep learning module, configured to perform deep learning through a convolutional neural network according to the first feature data to obtain second feature data.
虚拟助手模块,用于根据所述第二特征数据和所述个人信息数据,对患者推送辅助治疗信息。The virtual assistant module is configured to push auxiliary treatment information to the patient according to the second characteristic data and the personal information data.
激励系统模块,用于基于所述第二特征数据和所述处方信息数据,制定患者激励任务。An incentive system module, configured to formulate patient incentive tasks based on the second feature data and the prescription information data.
可选地,所述药品提示模块,进一步用于:Optionally, the medicine reminder module is further used for:
通过使用B/S架构模式的无线通信方式进行数据传输,将个人信息数据和处方数据从医院处方服务器发送到患者手机端,个人信息数据和处方数据采用SQL i te进行数据存储。By using the wireless communication method of B/S architecture mode for data transmission, the personal information data and prescription data are sent from the hospital prescription server to the patient's mobile phone terminal, and the personal information data and prescription data are stored using SQL i te.
可选地,所述药品提示模块,进一步用于:Optionally, the medicine reminder module is further used for:
患者的用药情况数据信息通过无线通讯方式进行传输,通过数字药物与平台之间的数据转换接口进行滤波和信息模型转换操作,获得初始数据,根据所述初始数据采用排序条件互信息方法进行特征提取,获得第一特征数据。The data information of the patient's medication situation is transmitted through wireless communication, and the initial data is obtained through the data conversion interface between the digital drug and the platform to perform filtering and information model conversion operations, and the feature extraction is performed based on the initial data using the sorting condition mutual information method , to obtain the first feature data.
可选地,所述虚拟助手模块,进一步用于:Optionally, the virtual assistant module is further used for:
基于所述第一特征数据,通过基于神经网络的词向量表示法建立对话生成模型,解决序列之间循环神经网络的映射问题;通过引入注意力机制的Seq2seq神经网络模型,将输入的第一特征数据转换为计算机二进制编码;根据所述计算机二进制编码基于卷积神经网络进行深度学习,获得第二特征数据。Based on the first feature data, a dialogue generation model is established through a neural network-based word vector representation to solve the mapping problem of the cyclic neural network between sequences; by introducing the Seq2seq neural network model of the attention mechanism, the input first feature The data is converted into a computer binary code; according to the computer binary code, deep learning is performed based on a convolutional neural network to obtain second feature data.
可选地,所述激励系统模块,进一步用于:Optionally, the incentive system module is further used for:
获取患者当前测试环境下的记忆状态,基于所述第二特征数据和所述处方数据,通过长短期记忆网络的学习方法,根据患者的精神状态,进行激励任务的动态匹配。The memory state of the patient under the current test environment is obtained, and based on the second feature data and the prescription data, dynamic matching of incentive tasks is performed according to the mental state of the patient through the learning method of the long-short-term memory network.
另一方面,提供了一种电子设备,所述电子设备包括处理器和存储器,所述存储器中存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现上述一种认知数字药物辅佐使用软件设计方法。In another aspect, an electronic device is provided, the electronic device includes a processor and a memory, at least one instruction is stored in the memory, and the at least one instruction is loaded and executed by the processor to realize the above recognition Awareness of digital drug assisted use software design methods.
另一方面,提供了一种计算机可读存储介质,所述存储介质中存储有至少一条指令,所述至少一条指令由处理器加载并执行以实现上述一种认知数字药物辅佐使用软件设计方法。In another aspect, a computer-readable storage medium is provided, wherein at least one instruction is stored in the storage medium, and the at least one instruction is loaded and executed by a processor to implement the above-mentioned software design method for assisting use of cognitive digital medicine .
本发明实施例提供的技术方案带来的有益效果至少包括:The beneficial effects brought by the technical solutions provided by the embodiments of the present invention at least include:
本发明将“数字药物”辅佐软件恰当地嵌入“数字药物”当中,并通过合理的交互行为激发“数字药物”中的辅佐软件进行正常工作,采集和传输患者的服药数据和人体的脑电生理数据,通过某种传输方式将数据传输到服务器平台中,对数据进行分析处理,对患者的医疗康复做出指导性意见和提示性建议。帮助患者和医生能够实时地掌握患者的身体状况,患者使用药物的过程中给与实时帮助与奖励,提高用药的效果和体验。The invention properly embeds the auxiliary software of "digital medicine" into the "digital medicine", and stimulates the auxiliary software in the "digital medicine" to work normally through reasonable interactive behavior, and collects and transmits the patient's medication data and human brain electrophysiology The data is transmitted to the server platform through a certain transmission method, the data is analyzed and processed, and guiding opinions and suggestive suggestions are made for the patient's medical rehabilitation. Help patients and doctors to grasp the patient's physical condition in real time, give real-time help and rewards to patients in the process of using drugs, and improve the effect and experience of medication.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.
图1是本发明实施例提供的一种认知数字药物辅佐使用软件设计方法流程图;Fig. 1 is a flow chart of a software design method for assisting the use of cognitive digital medicine provided by an embodiment of the present invention;
图2是本发明实施例提供的一种认知数字药物辅佐使用软件设计装置框图;Fig. 2 is a block diagram of a software design device for assisted use of cognitive digital medicine provided by an embodiment of the present invention;
图3是本发明实施例提供的一种电子设备的结构示意图。Fig. 3 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention.
具体实施方式Detailed ways
为使本发明要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments.
本发明实施例提供了一种认知数字药物辅佐使用软件设计方法,该方法可以由电子设备实现,该电子设备可以是终端或服务器。如图1所示的一种认知数字药物辅佐使用软件设计方法流程图,该方法的处理流程可以包括如下的步骤:An embodiment of the present invention provides a software design method for assisting the use of cognitive digital medicine, the method can be implemented by an electronic device, and the electronic device can be a terminal or a server. As shown in Figure 1, a flow chart of a method for designing cognitive digital drug assistance software, the processing flow of the method may include the following steps:
S1、导入医生处方和患者个人信息,获得处方数据和个人信息数据。S1. Import doctor's prescription and patient's personal information, and obtain prescription data and personal information data.
可选地,通过使用B/S架构模式的无线通信方式进行数据传输,将个人信息数据和处方数据从医院处方服务器发送到患者手机端,个人信息数据和处方数据采用SQL i te进行数据存储。Optionally, by using the B/S architecture mode for data transmission, the personal information data and prescription data are sent from the hospital prescription server to the patient's mobile phone, and the personal information data and prescription data are stored using SQL i te.
一种可行的实施方式中,手机端通过URLConnect提交请求获取医院处方服务器端的数据。首先调用一个URL对象openConnect i on方法来创建URLConnect对象;然后设置URLConnect参数和POST请求属性;其次获取URLConnect实例对应的输出流来发送请求参数;最后读取医院处方服务器的数据。In a feasible implementation manner, the mobile terminal submits a request through URLConnect to obtain the data of the hospital prescription server. First call the openConnect ion method of a URL object to create a URLConnect object; then set the URLConnect parameters and POST request attributes; secondly obtain the output stream corresponding to the URLConnect instance to send the request parameters; finally read the data of the hospital prescription server.
S2、对数字药物产生的数据信息进行处理,获得初始数据,根据初始数据进行特征提取,获得第一特征数据。S2. Process the data information generated by the digital medicine to obtain initial data, perform feature extraction according to the initial data, and obtain first feature data.
可选地,通过对数字药物使用产生的数据信息进行处理,获得初始数据,根据初始数据进行特征提取,获得第一特征数据,包括:Optionally, the initial data is obtained by processing the data information generated by the use of digital medicines, and feature extraction is performed based on the initial data to obtain the first feature data, including:
患者的用药情况数据信息通过无线通讯方式进行传输,通过数字药物与平台之间的数据转换接口进行滤波和信息模型转换操作,获得初始数据,根据初始数据采用排序条件互信息方法进行特征提取,获得第一特征数据。The data information of the patient's medication status is transmitted through wireless communication, and the initial data is obtained through filtering and information model conversion operations through the data conversion interface between the digital drug and the platform. first feature data.
一种可行的实施方式中,将患者的用药情况数据信息通过蓝牙或者Wi f i等方式进行传输,设计一个连接数字药物与平台之间的数据转换接口,将患者的用药情况相关数据,转换成合适的数据模型后,再次处理和分析。其中,对患者的脑电生理信号采用排序条件互信息方法进行特征提取,排序条件互信息方法进行特征提取。In a feasible implementation mode, the data information of the patient's medication situation is transmitted through Bluetooth or Wifi, and a data conversion interface is designed to connect the digital medicine with the platform, and the relevant data of the patient's medication situation is converted into a suitable After the data model, process and analyze again. Among them, the sorting conditional mutual information method is used for feature extraction on the patient's brain electrophysiological signal, and the sorting conditional mutual information method is used for feature extraction.
S3、根据初始数据和处方数据,对患者发送用药提醒。S3. According to the initial data and the prescription data, a medication reminder is sent to the patient.
一种可行的实施方式中,参照医生开具数字药处方,查看当日用药信息详情,添加和更新提醒,并可查看历史记录。提供相关视频、图片和文字资讯,社区服务交流及电子日历,用药顺应性和药品统计服务,以及进行长期的健康教育。可与IOS、Andro id双平台兼容,用户可以通过手机号进行账户登录,也可以通过微信和QQ第三方软件授权登录,登录后可对账户信息进行变更,另外可通过用户反馈接口提供新需求和问题沟通。搭建“云+端”架构、实现数据与医生的多维度共享,提高用药效率,加强用药效果。In a feasible implementation, refer to the doctor to issue a digital drug prescription, check the details of the day's medication information, add and update reminders, and view historical records. Provide relevant video, picture and text information, community service communication and electronic calendar, medication compliance and drug statistics services, and long-term health education. Compatible with both IOS and Android platforms, users can log in through their mobile phone number, or through WeChat and QQ third-party software authorization to log in. After logging in, the account information can be changed, and new needs and feedback can be provided through the user feedback interface. problem communication. Build a "cloud + terminal" architecture, realize the multi-dimensional sharing of data and doctors, improve the efficiency of medication, and strengthen the effect of medication.
S4、根据第一特征数据通过卷积神经网络进行深度学习,获得第二特征数据。S4. Perform deep learning through a convolutional neural network according to the first feature data to obtain second feature data.
可选地,根据第一特征数据通过卷积神经网络进行深度学习,获得第二特征数据,包括:Optionally, performing deep learning through a convolutional neural network according to the first feature data to obtain second feature data, including:
基于第一特征数据,通过基于神经网络的词向量表示法建立对话生成模型;通过引入注意力机制的Seq2seq神经网络模型,将输入的第一特征数据转换为计算机二进制编码;根据计算机二进制编码基于卷积神经网络进行深度学习,获得第二特征数据。Based on the first feature data, a dialogue generation model is established through neural network-based word vector representation; the input first feature data is converted into computer binary code by introducing the Seq2seq neural network model of attention mechanism; The product neural network is used for deep learning to obtain the second feature data.
一种可行的实施方式中,深度学习是学习样本数据的内在规律和表示层次,这些学习过程中获得的信息诠释有很大的帮助,深度学习可以学习到数据中人们观察不到的细节,能够帮助我们提取数据中特征。辅助软件能够根据患者信息和用药情况,可采用智能定制化算法服务康复患者的治疗过程。In a feasible implementation, deep learning is to learn the internal laws and representation levels of sample data. The interpretation of information obtained in the learning process is of great help. Deep learning can learn details that people cannot observe in the data, and can Help us extract features from the data. The auxiliary software can use intelligent customized algorithms to serve the treatment process of rehabilitation patients based on patient information and medication conditions.
卷积神经网络的训练过程包括前向传播和反向传播两个阶段。前向传播过程主要包括:卷积特征提取、池化以及误差的计算。反向传播过程主要包括:误差反馈以及权值更新。对权值采用随机赋值的方式进行初始化操作;信息再依次传递到卷积层、池化层以及全连接层,其中卷积层和池化层通过一个滤波器能够提取到观测数据最显著的特征,并且还可以通过堆叠多个卷积层和池化层提取更丰富的患者特征信息;对全连接层中多个隐含层的信息进行变换和计算,并传递到输出层;最后,将实际输出结果与预期输出结果进行比较,如果误差函数满足精度要求,则直接输出结果。如果不满足,则将偏差和权值反向传播回去进行权值更新,直到权值趋于稳定,获得第二特征数据。The training process of convolutional neural network includes two stages of forward propagation and back propagation. The forward propagation process mainly includes: convolution feature extraction, pooling and error calculation. The backpropagation process mainly includes: error feedback and weight update. The weights are initialized by random assignment; the information is then passed to the convolutional layer, the pooling layer, and the fully connected layer in turn, where the convolutional layer and the pooling layer can extract the most significant features of the observation data through a filter , and can also extract richer patient feature information by stacking multiple convolutional layers and pooling layers; transform and calculate the information of multiple hidden layers in the fully connected layer, and pass it to the output layer; finally, the actual The output result is compared with the expected output result, and if the error function meets the precision requirement, the result is output directly. If it is not satisfied, backpropagate the bias and weight back to update the weight until the weight tends to be stable to obtain the second characteristic data.
S5、根据第二特征数据和个人信息数据,对患者推送辅助治疗信息。S5. According to the second feature data and personal information data, push auxiliary treatment information to the patient.
一种可行的实施方式中,在对话中运用量表测量工具以便于制定有针对性的干预措施,另一方面需要了解用户偏好,以便为其提供代替方案。为了获取老年人的活动情况和情绪状态,可以运用摄像监控和情绪识别等技术进行识别并反馈。对于居家的患者而言,语音助手最便捷的服务便是获得一些医疗问题的答案,通过从专业渠道中获取足够权威的健康常识,精心创建语音助手的知识库,保证老年认知障碍患者能够获得准确的答案。为了加深老年用户对信息的记忆,系统除了定点推送之外,还可以启动短信通知,将文字内容发送到老年患者的手机中。健康状况的记录以周期性报告的方式传递给用户,让用户明确自身健康状态,同时助手还应该警示发现的问题并提供相应的调整方案。当患者有更紧迫的问题时,需要保证其顺利联系家人和其他医疗帮助热线。另外,计划制定以后,单靠语音助手的语音监督、提醒和鼓励,可能较难保证其依从性,因此需要定期将患者的进度,发送给患者家属,鼓励家属一同设立健康计划,增强患者与家人的情感联系,进而提高患者的自我效能感,最终达到优化行为习惯的目的。In a feasible implementation, the scale measurement tool is used in the dialogue to facilitate the development of targeted interventions, and on the other hand, it is necessary to understand user preferences in order to provide alternatives for them. In order to obtain the activity and emotional state of the elderly, technologies such as camera monitoring and emotion recognition can be used for identification and feedback. For patients at home, the most convenient service of voice assistants is to obtain answers to some medical questions. By obtaining sufficient authoritative health knowledge from professional channels, the knowledge base of voice assistants is carefully created to ensure that elderly patients with cognitive impairment can obtain exact answer. In order to deepen the information memory of elderly users, in addition to fixed-point push, the system can also start SMS notifications and send text content to the mobile phones of elderly patients. The records of health status are sent to users in the form of periodic reports, allowing users to clarify their own health status. At the same time, the assistant should also warn of problems found and provide corresponding adjustment plans. When patients have more pressing concerns, they need to be assured of easy access to family and other medical helplines. In addition, after the plan is formulated, it may be difficult to ensure compliance only by the voice supervision, reminder and encouragement of the voice assistant. Therefore, it is necessary to regularly send the patient's progress to the patient's family members, and encourage the family members to set up a health plan together to strengthen the relationship between patients and their families. emotional connection, and then improve the patient's self-efficacy, and ultimately achieve the purpose of optimizing behavioral habits.
S6、基于第二特征数据和处方信息数据,制定患者激励任务。S6. Based on the second feature data and the prescription information data, formulate a patient motivation task.
可选地,基于第二特征数据,制定患者激励任务,包括:Optionally, based on the second characteristic data, a patient motivation task is formulated, including:
获取患者当前测试环境下的记忆状态,基于第二特征数据和处方数据,通过长短期记忆网络的学习方法,根据患者的精神状态,进行激励任务的动态匹配。Obtain the memory state of the patient in the current test environment, based on the second feature data and prescription data, and use the learning method of the long-term short-term memory network to dynamically match the incentive task according to the mental state of the patient.
一种可行的实施方式中,长短期记忆网络(Long Short Term Memory networks,LSTM)由重复的单元组成,每个单元内部,主要有遗忘门、输入门和输出门来控制,这些单元接收来自前一个单元的输入以及当前时间步长t的医生开具的药方数据输入xt。每个LSTM单元包含一个单元状态ct和隐藏状态ht,它们由控制进出单元存储器的信息流的4个神经网络层调制。In a feasible implementation, the Long Short Term Memory network (Long Short Term Memory networks, LSTM) is composed of repeated units. Inside each unit, there are mainly forget gates, input gates and output gates to control. These units receive input from previous The input of a unit and the prescription data input x t of the doctor at the current time step t. Each LSTM cell contains a cell state ct and hidden state ht , which are modulated by 4 neural network layers that control the flow of information into and out of the cell's memory.
LSTM首先要经过遗忘门对当前输入xt和上一节隐藏层输出ht-1进行计算,控制LSTM遗忘门的公式如下式(23):LSTM first needs to calculate the current input x t and the hidden layer output h t-1 of the previous section through the forget gate. The formula for controlling the LSTM forget gate is as follows (23):
ft=σ(Wfxt+Ufht-1+bf)……(23)f t =σ(W f x t +U f h t-1 +b f )...(23)
其中,Wf表示将隐藏层输入映射到遗忘门的权重矩阵,表示将前一刻的输出状态连接到遗忘门的权重矩阵,bf表示偏置矢量,σ表示的是激活函数,本发明中为s i gmod激活函数。遗忘门tf通过s igmod激活函数控制前一个存储单元ct-1对当前存储单元ct的影响程度,并且丢弃冗余信息,遗忘门通过该门会读取式输出一个在0到1之间的数值来决定,1表示“完全保留”,0表示“完全舍弃”。Among them, W f represents the weight matrix that maps the hidden layer input to the forget gate, and represents the weight matrix that connects the output state of the previous moment to the forget gate, b f represents the bias vector, and σ represents the activation function. In the present invention, it is si gmod activation function. The forget gate t f controls the degree of influence of the previous storage unit c t-1 on the current storage unit c t through the sigmod activation function, and discards redundant information. The forget gate will read and output a value between 0 and 1 through the gate. 1 means "completely reserved", 0 means "completely discarded".
将新信息添加到单细胞中,输入门控制输入xt和ht-1对当前存储单元的影响程度,输入层的s igmod决定需要更新的信息,tanh层获得一个更新内容ct,并对ct-1进行更新。Add new information to a single cell, the input gate controls the degree of influence of the input x t and h t-1 on the current storage unit, the sigmod of the input layer determines the information that needs to be updated, the tanh layer obtains an update content c t , and c t-1 to update.
最后,输出门可以控制当前的这个单元ct对隐藏状态单元ht的影响程度,用输出门ot过滤单元状态,用于隐藏状态更新,获得LSTM单元的最终输出,根据最终输出对患者的激励任务进行动态匹配。Finally, the output gate can control the influence of the current unit c t on the hidden state unit h t , use the output gate o t to filter the unit state, and use it for hidden state update to obtain the final output of the LSTM unit, according to the final output of the patient Incentive tasks for dynamic matching.
本部分侧重于辅助软件的任务奖励系统,接受由虚拟助手二次处理的数据,对患者每个阶段的用药情况,采用自动化制定任务,生成适合患者的任务。在日常训练任务过程中计算游戏难度、游戏完成时长和游戏排名积分规则获取相关积分,当患者完成任务后或者登录训练系统进行日常签到,也可增加患者的激励积分。同时设计和完成积分商城的交互界面,患者获取的激励积分可用于在积分商城中兑换代金券或者解锁虚拟助手的部分功能。退出训练系统之后,激励系统会自动更新训练内容和打卡日历。This part focuses on the task reward system of the auxiliary software, accepts the data processed by the virtual assistant twice, and adopts automatic task formulation for each stage of the patient's medication, and generates a task suitable for the patient. During the daily training tasks, calculate the game difficulty, game completion time and game ranking points rules to obtain relevant points. When patients complete the tasks or log in to the training system for daily check-in, the patient's incentive points can also be increased. At the same time, the interactive interface of the point mall is designed and completed. The incentive points obtained by patients can be used to redeem vouchers in the point mall or unlock some functions of the virtual assistant. After exiting the training system, the incentive system will automatically update the training content and check-in calendar.
本发明将“数字药物”辅佐软件恰当地嵌入“数字药物”当中,并通过合理的交互行为激发“数字药物”中的辅佐软件进行正常工作,采集和传输患者的服药数据和人体的脑电生理数据,通过某种传输方式将数据传输到服务器平台中,对数据进行分析处理,对患者的医疗康复做出指导性意见和提示性建议。帮助患者和医生能够实时地掌握患者的身体状况,患者使用药物的过程中给与实时帮助与奖励,提高用药的效果和体验。The invention properly embeds the auxiliary software of "digital medicine" into the "digital medicine", and stimulates the auxiliary software in the "digital medicine" to work normally through reasonable interactive behavior, and collects and transmits the patient's medication data and human brain electrophysiology The data is transmitted to the server platform through a certain transmission method, the data is analyzed and processed, and guiding opinions and suggestive suggestions are made for the patient's medical rehabilitation. Help patients and doctors to grasp the patient's physical condition in real time, give real-time help and rewards to patients in the process of using drugs, and improve the effect and experience of medication.
图2是根据一示例性实施例示出的一种认知数字药物辅佐使用软件设计装置框图,该装置应用于实现基于时变图的一种认知数字药物辅佐使用软件设计方法。参照图2,该装置包括:Fig. 2 is a block diagram of a software design device for assisting use of cognitive digital medicine according to an exemplary embodiment, and the device is applied to implement a software design method for assisting use of cognitive digital medicine based on a time-varying graph. Referring to Figure 2, the device includes:
信息采集模块,用于导入医生处方和患者个人信息,获得处方数据和个人信息数据。The information collection module is used to import doctor's prescription and patient's personal information, and obtain prescription data and personal information data.
特征提取模块,用于对数字药物产生的数据信息进行处理,获得初始数据,根据初始数据进行特征提取,获得第一特征数据。The feature extraction module is used to process the data information generated by the digital medicine to obtain initial data, perform feature extraction according to the initial data, and obtain first feature data.
药品提示模块,用于根据第一特征数据和处方数据,对患者发送用药提醒。The drug reminder module is configured to send medication reminders to patients according to the first feature data and prescription data.
深度学习模块,用于根据第一特征数据通过卷积神经网络进行深度学习,获得第二特征数据。The deep learning module is used to perform deep learning through the convolutional neural network according to the first feature data to obtain the second feature data.
虚拟助手模块,用于根据第二特征数据和个人信息数据,对患者推送辅助治疗信息。The virtual assistant module is used to push auxiliary treatment information to the patient according to the second feature data and personal information data.
激励系统模块,用于基于第二特征数据和处方信息数据,制定患者激励任务。An incentive system module, configured to formulate patient incentive tasks based on the second characteristic data and the prescription information data.
可选地,信息采集模块,进一步用于:Optionally, the information collection module is further used for:
通过使用B/S架构模式的无线通信方式进行数据传输,将个人信息数据和处方数据从医院处方服务器发送到患者手机端,个人信息数据和处方数据采用SQLite进行数据存储。By using the wireless communication method of B/S architecture mode for data transmission, the personal information data and prescription data are sent from the hospital prescription server to the patient's mobile phone terminal, and the personal information data and prescription data are stored in SQLite.
可选地,特征提取模块,进一步用于:Optionally, the feature extraction module is further used for:
患者的用药情况数据信息通过无线通讯方式进行传输,通过数字药物与平台之间的数据转换接口进行滤波和信息模型转换操作,获得初始数据,根据初始数据采用排序条件互信息方法进行特征提取,获得第一特征数据。The data information of the patient's medication status is transmitted through wireless communication, and the initial data is obtained through filtering and information model conversion operations through the data conversion interface between the digital drug and the platform. first feature data.
可选地,深度学习模块,进一步用于:Optionally, the deep learning module is further used to:
基于第一特征数据,通过基于神经网络的词向量表示法建立对话生成模型,解决序列之间循环神经网络的映射问题;通过引入注意力机制的Seq2seq神经网络模型,将输入的第一特征数据转换为计算机二进制编码;根据计算机二进制编码基于卷积神经网络进行深度学习,获得第二特征数据。Based on the first feature data, a dialogue generation model is established through a neural network-based word vector representation to solve the mapping problem of the cyclic neural network between sequences; the input first feature data is converted by introducing the Seq2seq neural network model of the attention mechanism It is a computer binary code; performing deep learning based on a convolutional neural network according to the computer binary code to obtain the second feature data.
可选地,激励系统模块,进一步用于:Optionally, the incentive system module is further used to:
获取患者当前测试环境下的记忆状态,基于第二特征数据和处方数据,通过长短期记忆网络的学习方法,根据患者的精神状态,进行激励任务的动态匹配。Obtain the memory state of the patient in the current test environment, based on the second feature data and prescription data, and use the learning method of the long-term short-term memory network to dynamically match the incentive task according to the mental state of the patient.
本发明将“数字药物”辅佐软件恰当地嵌入“数字药物”当中,并通过合理的交互行为激发“数字药物”中的辅佐软件进行正常工作,采集和传输患者的服药数据和人体的脑电生理数据,通过某种传输方式将数据传输到服务器平台中,对数据进行分析处理,对患者的医疗康复做出指导性意见和提示性建议。帮助患者和医生能够实时地掌握患者的身体状况,患者使用药物的过程中给与实时帮助与奖励,提高用药的效果和体验。The invention properly embeds the auxiliary software of "digital medicine" into the "digital medicine", and stimulates the auxiliary software in the "digital medicine" to work normally through reasonable interactive behavior, and collects and transmits the patient's medication data and human brain electrophysiology The data is transmitted to the server platform through a certain transmission method, the data is analyzed and processed, and guiding opinions and suggestive suggestions are made for the patient's medical rehabilitation. Help patients and doctors to grasp the patient's physical condition in real time, give real-time help and rewards to patients in the process of using drugs, and improve the effect and experience of medication.
图3是本发明实施例提供的一种电子设备300的结构示意图,该电子设备600可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上处理器(centra lprocess i ng un its,CPU)301和一个或一个以上的存储器302,其中,所述存储器302中存储有至少一条指令,所述至少一条指令由所述处理器301加载并执行以实现上述一种认知数字药物辅佐使用软件设计方法的步骤。FIG. 3 is a schematic structural diagram of an
在示例性实施例中,还提供了一种计算机可读存储介质,例如包括指令的存储器,上述指令可由终端中的处理器执行以完成上述一种认知数字药物辅佐使用软件设计方法。例如,所述计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, there is also provided a computer-readable storage medium, such as a memory including instructions, which can be executed by a processor in the terminal to implement the above-mentioned method for designing cognitive digital medicine assistance software. For example, the computer readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above embodiments can be completed by hardware, and can also be completed by instructing related hardware through a program. The program can be stored in a computer-readable storage medium. The above-mentioned The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, and the like.
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the protection of the present invention. within range.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310222964.XA CN116312936A (en) | 2023-03-09 | 2023-03-09 | A method and device for designing software for assisting the use of cognitive digital medicines |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310222964.XA CN116312936A (en) | 2023-03-09 | 2023-03-09 | A method and device for designing software for assisting the use of cognitive digital medicines |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116312936A true CN116312936A (en) | 2023-06-23 |
Family
ID=86825202
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310222964.XA Pending CN116312936A (en) | 2023-03-09 | 2023-03-09 | A method and device for designing software for assisting the use of cognitive digital medicines |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116312936A (en) |
-
2023
- 2023-03-09 CN CN202310222964.XA patent/CN116312936A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Enderby et al. | Therapy outcome measures for rehabilitation professionals: speech and language therapy, physiotherapy, occupational therapy | |
Barrett-Lennard | The relationship inventory: A complete resource and guide | |
Edmonds et al. | Effect of verb network strengthening treatment in moderate-to-severe aphasia | |
Denecke et al. | Self-anamnesis with a conversational user interface: concept and usability study | |
Whyte et al. | The importance of voluntary behavior in rehabilitation treatment and outcomes | |
Richards et al. | Improving health outcomes sooner rather than later via an interactive website and virtual specialist | |
TW201805887A (en) | Medical system, medical method and non-transitory computer readable medium | |
Lin et al. | A test platform for managing school stress using a virtual reality group chatbot counseling system | |
CN112164477A (en) | Intelligent question answering system for hypertension patients based on knowledge graph and its establishment method | |
Longabaugh et al. | Origins, issues and options in the development of the combined behavioral intervention. | |
CN103999118A (en) | Information processing device, information processing method, program and database system | |
CN113223648A (en) | Pre-diagnosis information acquisition method and device | |
CN117854748A (en) | Knowledge graph and generation-based large model inquiry method and system | |
Dana et al. | Existential assessment | |
CN117524412A (en) | Orthopedics full-period rehabilitation management system, method and equipment based on multi-source data | |
Polignano et al. | HELENA: An intelligent digital assistant based on a Lifelong Health User Model | |
CN115253009B (en) | Sleep multidimensional intervention method and system | |
Zaman et al. | Empowering Caregivers of Alzheimer's Disease and Related Dementias (ADRD) with a GPT-Powered Voice Assistant: Leveraging Peer Insights from Social Media | |
Degazon et al. | Clinical journal: a tool to foster critical thinking for advanced levels of competence | |
CN116312936A (en) | A method and device for designing software for assisting the use of cognitive digital medicines | |
CN116881413A (en) | Intelligent medical question-answering method based on Chinese medical knowledge | |
US11399757B1 (en) | Medical imaging with features to determine emotional state | |
Lim et al. | Artificial intelligence concepts for mental health application development: Therapily for mental health care | |
de Oliveira et al. | Design Science Research: Balancing Science and Art in Building a Game Applied to Health | |
Jönsson et al. | Situated research and design for everyday life |
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 |