Construction method of medication decision support system based on drug knowledge graph reasoning
The medication decision support system based on the drug knowledge graph solves the problem of insufficient integration of medical image information in traditional methods, achieves accuracy and personalization of drug dosage planning, and improves the accuracy and reliability of medication decisions.
Patent Information
- Application Number
- CN202410145336.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-02
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2044-02-02
AI Technical Summary
Traditional medication decision support methods have problems with insufficient information integration and reasoning when faced with large and complex medical imaging information, resulting in inaccurate drug dosage planning and affecting medication effects.
A medication decision support system based on drug knowledge graph reasoning is used to perform image fusion processing on patient image data through sparse representation methods. It is combined with deep learning convolutional neural networks to build an automatic drug dosage planning network framework, conduct model training and transfer learning, and optimize medication dosage. Planning and generating personalized medication decisions.
It improves the accuracy and personalization of drug dosage planning, enhances the accuracy and reliability of medication decisions, can better adapt to the characteristics and needs of different patients, and improves the decision-making process of medical information integration and medication reasoning.
Smart Images

Figure CN118098488B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of medical clinical technology, and in particular to a method for constructing a medication decision support system based on drug knowledge graph reasoning. Background Art
[0002] In the face of the increasingly large amount of drug information, medical professionals need to obtain drug-related knowledge in a timely and accurate manner to support clinical drug decisions. However, traditional drug decision support methods have problems with insufficient information integration and reasoning when faced with large and complex medical image information. At the same time, multi-scale transformation theory is often widely used in the process of medical image information integration, including methods based on pyramids, wavelet transforms, and multi-scale geometric transformations. Among them, multi-scale geometric transformations usually use average fusion in the low-frequency domain, while high-frequency domains usually use coefficient maximum fusion. However, there are great differences in brightness in the same area of body structures, tissues, and organs. Since most of the energy of the image is stored in the low-frequency domain, the use of an average method will lead to loss of details in the fused image, affecting the fusion result and thus affecting the dosage of the drug. Summary of the invention
[0003] Based on this, it is necessary for the present invention to provide a method for constructing a medication decision support system based on drug knowledge graph reasoning to solve at least one of the above technical problems.
[0004] To achieve the above purpose, a method for constructing a medication decision support system based on drug knowledge graph reasoning includes the following steps:
[0005] Step S1: Acquire patient source image data and medication plan information data; perform image fusion processing on the patient source image data based on a sparse representation method to obtain patient image sparse representation fusion data; and construct a drug knowledge graph based on the medication plan information data by inference;
[0006] Step S2: performing patient individual characteristic analysis on the patient image sparse representation fusion data to obtain patient image individual characteristic data; constructing a drug dosage automatic planning network framework using the patient image individual characteristic data and the drug knowledge graph; performing model training on the drug dosage automatic planning network framework using a preset end-to-end training strategy and a minimization loss function to obtain a patient medication dosage planning model;
[0007] Step S3: performing data enhancement processing on the patient image individual feature data to obtain patient image individual feature enhanced data; performing transfer learning on the patient medication dose planning model to optimize the network hyperparameters of the patient medication dose planning model to obtain a patient medication dose optimization model; using the patient medication dose optimization model to perform model integration prediction on the patient image individual feature enhanced data to obtain patient drug dose distribution correlation relationship data;
[0008] Step S4: Conduct medication decision construction analysis on the patient drug dosage distribution association relationship data to generate a patient medication decision support system.
[0009] The present invention first obtains source image data and medication plan information from the patient's records, which includes various medical images, such as X-rays, CT scans or MRI images, and the doctor's medication plan for the patient, which records the key information such as the type of medicine, dosage and medication time received by the patient. At the same time, by using the sparse representation method to perform image fusion processing on the patient's source image data, the sparse features in the patient's medical image can be effectively expressed, the details of the patient's medical image can be enhanced, and the information from multiple sources can be organically integrated together, which can improve the fusion effect of image features, thereby enhancing the comprehensive analysis ability of the patient's image. Such an image fusion processing process can further highlight the important structures and features in the image. And by reasoning about the patient's medication plan information, a drug knowledge graph is constructed. This drug knowledge graph can show the relationship between drugs, including interactions, dosage information, etc., which helps doctors to understand the patient's medication situation more comprehensively and improve the accuracy of subsequent medication decisions. Secondly, by analyzing the individual characteristics of patients in the sparse representation fusion data of patients' images, we can deeply explore the individual characteristics of patient image data, thereby capturing the unique physiological and pathological characteristics of patients, and providing key information for personalized medication decisions, which is beneficial to more accurately understand the patient's condition and medication needs, and provide a personalized basis for subsequent medication plans and dosage planning. By using deep learning convolutional neural networks to encapsulate patient image individual characteristic data and drug knowledge graphs into convolutional layers, we can combine patient image data and drug knowledge graphs into convolutional neural networks, thereby effectively learning the complex relationship between patient image characteristics and drug knowledge to build a network framework for automatic drug dosage planning. It can also effectively integrate patients' personalized image characteristics and drug knowledge, and establish a strong joint feature representation for subsequent drug dosage planning, which is beneficial to more accurately grasp individual differences in patients and drug influencing factors. In addition, by using a pre-set end-to-end training strategy and minimizing the loss function to train the drug dose automatic planning network framework, the entire drug dose automatic planning network can be optimized so that it can better learn and predict the personalized drug dose of patients, which is beneficial to improving the generalization ability and accuracy of the model, making the patient's medication plan more reasonable and personalized, and constantly adjusting the network model parameters of the drug dose automatic planning network framework according to the minimized loss value, so that the model can better adapt to the characteristics and needs of different patients, thereby achieving more accurate and personalized drug dose planning. Then, by performing data enhancement processing on the patient's image personality feature data, the diversity of the data can be increased, the generalization ability of the model can be improved, and the individual differences of different patients can be better adapted. Subsequently, the network hyperparameters of the patient's medication dose planning model are optimized through transfer learning, which is beneficial to improving the model performance on new patient data.By using the patient medication dose optimization model to perform model integration prediction on the patient imaging personality feature enhancement data, the information of multiple network layers can be combined to improve the overall performance and robustness of the model, which helps to comprehensively utilize the characteristics of each network layer, thereby obtaining more comprehensive and accurate patient drug dose distribution association data, providing a more reliable basis for personalized medication. Finally, through in-depth analysis and reasoning of the patient drug dose distribution association data, a suitable patient medication decision support system can be constructed. This system can not only understand the patient's personalized medication needs, but also make the best medication support decision based on comprehensive data information. By integrating personalized features, drug knowledge graphs, and dose distribution association information, it helps to accurately formulate personalized medication and improve treatment effects. At the same time, considering the patient's special circumstances, it provides important support for patient medication decisions, thereby improving the decision-making process of patient medical information integration and medication reasoning. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Other features, objects and advantages of the present invention will become more apparent from the detailed description of non-limiting embodiments thereof made with reference to the following drawings:
[0011] Figure 1 It is a schematic diagram of the steps of the method for constructing a medication decision support system based on drug knowledge graph reasoning of the present invention;
[0012] Figure 2 for Figure 1 Detailed step flow diagram of step S1;
[0013] Figure 3 for Figure 2 Detailed step flow chart of step S14 in FIG. DETAILED DESCRIPTION
[0014] The following is a clear and complete description of the technical method of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by technicians in this field without creative work are within the scope of protection of the present invention.
[0015] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.
[0016] It should be understood that, although the terms "first", "second", etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of the exemplary embodiments, the first unit may be referred to as the second unit, and similarly the second unit may be referred to as the first unit. The term "and / or" used herein includes any and all combinations of one or more of the listed associated items.
[0017] To achieve this, please refer to Figures 1 to 3 The present invention provides a method for constructing a medication decision support system based on drug knowledge graph reasoning, the method comprising the following steps:
[0018] Step S1: Acquire patient source image data and medication plan information data; perform image fusion processing on the patient source image data based on a sparse representation method to obtain patient image sparse representation fusion data; and construct a drug knowledge graph based on the medication plan information data by inference;
[0019] Step S2: performing patient individual characteristic analysis on the patient image sparse representation fusion data to obtain patient image individual characteristic data; constructing a drug dosage automatic planning network framework using the patient image individual characteristic data and the drug knowledge graph; performing model training on the drug dosage automatic planning network framework using a preset end-to-end training strategy and a minimization loss function to obtain a patient medication dosage planning model;
[0020] Step S3: performing data enhancement processing on the patient image individual feature data to obtain patient image individual feature enhanced data; performing transfer learning on the patient medication dose planning model to optimize the network hyperparameters of the patient medication dose planning model to obtain a patient medication dose optimization model; using the patient medication dose optimization model to perform model integration prediction on the patient image individual feature enhanced data to obtain patient drug dose distribution correlation relationship data;
[0021] Step S4: Conduct medication decision construction analysis on the patient drug dosage distribution association relationship data to generate a patient medication decision support system.
[0022] In the embodiment of the present invention, please refer to Figure 1 As shown, it is a schematic diagram of the steps of the method for constructing a medication decision support system based on drug knowledge graph reasoning of the present invention. In this example, the steps of the method for constructing a medication decision support system based on drug knowledge graph reasoning include:
[0023] Step S1: Acquire patient source image data and medication plan information data; perform image fusion processing on the patient source image data based on a sparse representation method to obtain patient image sparse representation fusion data; and construct a drug knowledge graph based on the medication plan information data by inference;
[0024] The embodiment of the present invention obtains source image data and medication plan information from the patient's medical system or data source, including various medical images of the patient, such as X-rays, CT scans or MRI images, and the medication plan information given by the doctor to the patient, including the name of the drug, dosage, medication time, etc., thereby obtaining the patient's source image data and medication plan information data. Then, the patient's source image data is image fused by using a sparse representation method to organically fuse multiple image information in the patient's source image so that it effectively expresses the sparse features in the patient's medical image, thereby obtaining the patient's image sparse representation fusion data. Finally, by using the medication plan information data for reasoning, the complex relationship between drugs is inferred, including interactions between drugs, dosage relationships, indications, etc., and finally a drug knowledge graph is constructed.
[0025] Step S2: performing patient individual characteristic analysis on the patient image sparse representation fusion data to obtain patient image individual characteristic data; constructing a drug dosage automatic planning network framework using the patient image individual characteristic data and the drug knowledge graph; performing model training on the drug dosage automatic planning network framework using a preset end-to-end training strategy and a minimization loss function to obtain a patient medication dosage planning model;
[0026] The embodiment of the present invention uses feature analysis technology to analyze the sparse representation fusion data of patient images to deeply explore the individual characteristics of patient image data, and extract and capture the unique physiological and pathological characteristics of patients, thereby obtaining patient image individual characteristic data. Secondly, by using a deep learning convolutional neural network, the patient image individual characteristic data and the drug knowledge map are respectively encapsulated into a convolutional layer to realize the integration of patient image data and drug knowledge map into the convolutional neural network, and learn the complex relationship between the patient's image characteristics and drug knowledge. At the same time, the convolution output of the network is pooled downward to gradually reduce the data dimension of the patient image characteristics and the drug knowledge map until the pooled result is pooled to the full connection layer of the network, and the association relationship between the patient image characteristics and the drug dosage is further learned at the full connection layer, thereby constructing a drug dosage automatic planning network framework. Then, the drug dosage automatic planning network framework is trained by using a pre-set end-to-end training strategy and minimizing the loss function, and the drug dosage association loss is minimized, so as to continuously adjust the network model parameters of the drug dosage automatic planning network framework, such as the learning rate, so that the network model can better adapt to the characteristics and needs of different patients, and finally obtain a patient medication dosage planning model.
[0027] Step S3: performing data enhancement processing on the patient image individual feature data to obtain patient image individual feature enhanced data; performing transfer learning on the patient medication dose planning model to optimize the network hyperparameters of the patient medication dose planning model to obtain a patient medication dose optimization model; using the patient medication dose optimization model to perform model integration prediction on the patient image individual feature enhanced data to obtain patient drug dose distribution correlation relationship data;
[0028] The embodiment of the present invention processes the patient image individual feature data by using data enhancement technology, including rotation, translation, scaling and other data enhancement technologies, so as to increase the diversity and data volume of the patient image individual feature data, thereby obtaining patient image individual feature enhanced data. Secondly, the learned knowledge and patient medication dose planning model parameters are applied to the new medication dose planning task through transfer learning to optimize and adjust the network hyperparameters of the patient medication dose planning model so that the patient medication dose planning model can better adapt to new data and scenarios, thereby obtaining a patient medication dose optimization model. Then, by using the patient medication dose optimization model combined with the feature information of multiple network layers, the patient image individual feature enhanced data is model integrated and predicted to better capture the spatial relationship between image features and the correlation between dose distributions, and finally obtain patient drug dose distribution association relationship data.
[0029] Step S4: Conduct medication decision construction analysis on the patient drug dosage distribution association relationship data to generate a patient medication decision support system.
[0030] The embodiment of the present invention analyzes the interaction relationship and dosage correlation between drugs in the patient's drug dosage distribution association data to identify the potential interactions between drugs currently being used by the patient, and considers the impact of these interactions on the medication dosage. Based on the impact relationship, a medication decision support system adapted to the patient's current physiological state is inferred and constructed, including recommendations on drug dosage, medication timing, etc. to understand the patient's personalized medication needs, and ultimately generate a patient medication decision support system.
[0031] The present invention first obtains source image data and medication plan information from the patient's records, which includes various medical images, such as X-rays, CT scans or MRI images, and the doctor's medication plan for the patient, which records the key information such as the type of medicine, dosage and medication time received by the patient. At the same time, by using the sparse representation method to perform image fusion processing on the patient's source image data, the sparse features in the patient's medical image can be effectively expressed, the details of the patient's medical image can be enhanced, and the information from multiple sources can be organically integrated together, which can improve the fusion effect of image features, thereby enhancing the comprehensive analysis ability of the patient's image. Such an image fusion processing process can further highlight the important structures and features in the image. And by reasoning about the patient's medication plan information, a drug knowledge graph is constructed. This drug knowledge graph can show the relationship between drugs, including interactions, dosage information, etc., which helps doctors to understand the patient's medication situation more comprehensively and improve the accuracy of subsequent medication decisions. Secondly, by analyzing the individual characteristics of patients in the sparse representation fusion data of patients' images, we can deeply explore the individual characteristics of patient image data, thereby capturing the unique physiological and pathological characteristics of patients, and providing key information for personalized medication decisions, which is beneficial to more accurately understand the patient's condition and medication needs, and provide a personalized basis for subsequent medication plans and dosage planning. By using deep learning convolutional neural networks to encapsulate patient image individual characteristic data and drug knowledge graphs into convolutional layers, we can combine patient image data and drug knowledge graphs into convolutional neural networks, thereby effectively learning the complex relationship between patient image characteristics and drug knowledge to build a network framework for automatic drug dosage planning. It can also effectively integrate patients' personalized image characteristics and drug knowledge, and establish a strong joint feature representation for subsequent drug dosage planning, which is beneficial to more accurately grasp individual differences in patients and drug influencing factors. In addition, by using a pre-set end-to-end training strategy and minimizing the loss function to train the drug dose automatic planning network framework, the entire drug dose automatic planning network can be optimized so that it can better learn and predict the personalized drug dose of patients, which is beneficial to improving the generalization ability and accuracy of the model, making the patient's medication plan more reasonable and personalized, and constantly adjusting the network model parameters of the drug dose automatic planning network framework according to the minimized loss value, so that the model can better adapt to the characteristics and needs of different patients, thereby achieving more accurate and personalized drug dose planning. Then, by performing data enhancement processing on the patient's image personality feature data, the diversity of the data can be increased, the generalization ability of the model can be improved, and the individual differences of different patients can be better adapted. Subsequently, the network hyperparameters of the patient's medication dose planning model are optimized through transfer learning, which is beneficial to improving the model performance on new patient data.By using the patient medication dose optimization model to perform model integration prediction on the patient imaging personality feature enhancement data, the information of multiple network layers can be combined to improve the overall performance and robustness of the model, which helps to comprehensively utilize the characteristics of each network layer, thereby obtaining more comprehensive and accurate patient drug dose distribution association data, providing a more reliable basis for personalized medication. Finally, through in-depth analysis and reasoning of the patient drug dose distribution association data, a suitable patient medication decision support system can be constructed. This system can not only understand the patient's personalized medication needs, but also make the best medication support decision based on comprehensive data information. By integrating personalized features, drug knowledge graphs, and dose distribution association information, it helps to accurately formulate personalized medication and improve treatment effects. At the same time, considering the patient's special circumstances, it provides important support for patient medication decisions, thereby improving the decision-making process of patient medical information integration and medication reasoning.
[0032] Preferably, step S1 comprises the following steps:
[0033] Step S11: Acquire patient source image data and medication plan information data;
[0034] Step S12: performing grayscale standardization processing on the patient source image data to obtain patient source image grayscale standard data;
[0035] Step S13: performing pixel extraction processing on the grayscale standard data of the patient source image to obtain the patient source image pixel data; performing frequency domain conversion processing on the patient source image pixel data using a Fourier transform algorithm to obtain the patient source image pixel frequency domain information data;
[0036] Step S14: performing frequency domain noise elimination processing on the patient source image pixel frequency domain information data to obtain patient source image noise elimination data;
[0037] Step S15: performing image fusion processing on the patient source image noise elimination data based on a sparse representation method to obtain patient image sparse representation fusion data;
[0038] Step S16: Construct a drug knowledge graph based on the medication plan information data by reasoning.
[0039] As an embodiment of the present invention, refer to Figure 2 As shown, Figure 1 Detailed step flow diagram of step S1 in FIG. 1 , in this embodiment, step S1 includes the following steps:
[0040] Step S11: Acquire patient source image data and medication plan information data;
[0041] The embodiments of the present invention obtain source image data and medication plan information from the patient's medical system or data source, which includes various medical images of the patient, such as X-rays, CT scans or MRI images, and the medication plan information given by the doctor to the patient, including the name of the drug, dosage, medication time, etc., and finally obtain the patient's source image data and medication plan information data.
[0042] Step S12: performing grayscale standardization processing on the patient source image data to obtain patient source image grayscale standard data;
[0043] The embodiment of the present invention converts the image in the patient source image data into a grayscale image, and then performs grayscale standardization on the converted grayscale image to ensure that the grayscale value of the grayscale image is within a certain range, usually [0, 255], and finally obtains the patient source image grayscale standard data.
[0044] Step S13: performing pixel extraction processing on the grayscale standard data of the patient source image to obtain the patient source image pixel data; performing frequency domain conversion processing on the patient source image pixel data using a Fourier transform algorithm to obtain the patient source image pixel frequency domain information data;
[0045] The embodiment of the present invention extracts and processes the grayscale standard data of the patient source image by using a pixel extraction method to obtain the pixel conditions in the grayscale standard data of the patient source image, thereby obtaining the patient source image pixel data. Then, the patient source image pixel data is converted to the frequency domain by using a Fourier transform algorithm to convert the patient source image pixel data to the frequency domain, so that the characteristics and structure of the image can be analyzed in the frequency domain, and finally the patient source image pixel frequency domain information data is obtained.
[0046] Step S14: performing frequency domain noise elimination processing on the patient source image pixel frequency domain information data to obtain patient source image noise elimination data;
[0047] The embodiment of the present invention uses a corresponding noise filtering algorithm to perform denoising on the frequency domain information data of patient source image pixels in the frequency domain to retain useful information and reduce noise interference from the environment such as acquisition and sensors, and finally obtains patient source image noise-eliminated data.
[0048] Step S15: performing image fusion processing on the patient source image noise elimination data based on a sparse representation method to obtain patient image sparse representation fusion data;
[0049] The embodiment of the present invention uses a sparse representation method to perform image fusion on the noise removal data of the patient source image, so as to organically fuse multiple image information in the patient source image, so as to effectively express the sparse features in the patient medical image, and finally obtain the sparse representation fusion data of the patient image.
[0050] Step S16: Construct a drug knowledge graph based on the medication plan information data by reasoning.
[0051] The embodiment of the present invention uses medication plan information data for reasoning to infer the complex relationships between drugs, including interactions between drugs, dosage relationships, indications, etc., and ultimately constructs a drug knowledge graph that comprehensively understands the patient's drug situation.
[0052] The present invention first obtains source image data and medication plan information from the patient's medical system or data source, which includes various medical images, such as X-rays, CT scans or MRI images, and the doctor's medication plan for the patient, which records the key information such as the type of medicine, dosage and medication time received by the patient. By obtaining these two aspects of data, a comprehensive patient information file can be established to provide a basis for subsequent medical analysis and medication decisions. At the same time, by performing grayscale standardization on the patient's source image data, this helps to eliminate the brightness and contrast differences of medical images under different devices and different acquisition conditions, and ensure the consistency of subsequent processing. The standardized data can provide a more reliable data basis, which is conducive to accurate image analysis and feature extraction. Secondly, by performing pixel extraction processing on the patient's source image grayscale standard data, the original pixel data of the patient's source image can be obtained. Then, by using the Fourier transform algorithm to perform frequency domain conversion processing on the patient's source image pixel data, the pixel data can be converted to the frequency domain, which helps to analyze the characteristics and structure of the image in the frequency domain. The frequency domain information data obtained by such conversion can provide a more comprehensive perspective for subsequent image processing and analysis, and can also more keenly capture the key features in the image. Then, by performing frequency domain noise elimination processing on the frequency domain information data of the patient source image pixels, the noise interference from the environment such as acquisition and sensors can be effectively reduced, and the image quality can be improved, which helps to retain important information in the image and provide more reliable data for subsequent analysis and processing. Next, by using the sparse representation method to perform image fusion processing on the patient source image noise elimination data, the sparse features in the patient's medical image can be effectively expressed, and the information from multiple sources can be organically integrated together, thereby improving the comprehensive analysis ability of the patient's image. Such an image fusion processing process can further highlight the important structures and features in the image. Finally, by reasoning about the patient's medication plan information, a drug knowledge graph is constructed. This graph can show the relationship between drugs, including interactions, dosage information, etc., which helps doctors to have a more comprehensive understanding of the patient's medication situation and improve the accuracy of subsequent medication decisions. At the same time, such a knowledge graph also provides rich data resources for further medical research.
[0053] Preferably, step S14 comprises the following steps:
[0054] Step S141: Calculate the noise distribution degree of the patient source image pixel frequency domain information data using a frequency domain noise distribution calculation formula to obtain a patient source image frequency domain noise distribution degree value;
[0055] Step S142: comparing and judging the patient source image frequency domain noise distribution value according to the preset noise distribution degree standard value; when the patient source image frequency domain noise distribution degree value is greater than or equal to the preset noise distribution degree standard value, the patient source image pixel frequency domain information data corresponding to the patient source image frequency domain noise distribution degree value is marked as the patient source image high-frequency noise data; when the patient source image frequency domain noise distribution degree value is less than the preset noise distribution degree standard value, the patient source image pixel frequency domain information data corresponding to the patient source image frequency domain noise distribution degree value is marked as the patient source image low-frequency noise data;
[0056] Step S143: performing noise classification filtering on the high-frequency noise data of the patient source image to obtain high-frequency noise-filtered data of the patient source image;
[0057] Step S144: using a median filtering algorithm to perform noise filtering on the low-frequency noise data of the patient source image to obtain low-frequency noise-filtered data of the patient source image;
[0058] Step S145: performing time series merging on the high-frequency noise-filtered data of the patient source image and the low-frequency noise-filtered data of the patient source image to obtain the noise-eliminated data of the patient source image.
[0059] As an embodiment of the present invention, refer to Figure 3 As shown, Figure 2 Detailed step flow diagram of step S14 in the embodiment, step S14 includes the following steps:
[0060] Step S141: Calculate the noise distribution degree of the patient source image pixel frequency domain information data using a frequency domain noise distribution calculation formula to obtain a patient source image frequency domain noise distribution degree value;
[0061] The embodiment of the present invention combines the noise frequency parameter, the noise frequency scaling factor, the noise frequency gain parameter, the noise frequency control parameter, the noise frequency offset distribution mean, the noise frequency offset distribution standard deviation, the noise fluctuation amplitude parameter, the noise fluctuation amplitude offset distribution mean, the noise fluctuation amplitude offset distribution standard deviation, the change adjustment parameter, the phase offset parameter and related parameters to form a suitable frequency domain noise distribution calculation formula to calculate the noise distribution degree of the patient source image pixel frequency domain information data, so as to fully understand the noise distribution of the patient source image in the frequency domain, and finally obtain the patient source image frequency domain noise distribution degree value. In addition, the frequency domain noise distribution calculation formula can also use any noise distribution detection algorithm in the field to replace the noise distribution degree calculation process, and is not limited to the frequency domain noise distribution calculation formula.
[0062] Step S142: comparing and judging the patient source image frequency domain noise distribution value according to the preset noise distribution degree standard value; when the patient source image frequency domain noise distribution degree value is greater than or equal to the preset noise distribution degree standard value, the patient source image pixel frequency domain information data corresponding to the patient source image frequency domain noise distribution degree value is marked as the patient source image high-frequency noise data; when the patient source image frequency domain noise distribution degree value is less than the preset noise distribution degree standard value, the patient source image pixel frequency domain information data corresponding to the patient source image frequency domain noise distribution degree value is marked as the patient source image low-frequency noise data;
[0063] The embodiment of the present invention compares and judges the frequency domain noise distribution degree value of the patient source image by using a preset noise distribution degree standard value. If the frequency domain noise distribution degree value of the patient source image is greater than or equal to the preset noise distribution degree standard value, it means that the noise distribution degree of the patient source image pixel frequency domain information data corresponding to the patient source image frequency domain noise distribution degree value is relatively strong, and the patient source image pixel frequency domain information data corresponding to the patient source image frequency domain noise distribution degree value is marked as patient source image high-frequency noise data; if the frequency domain noise distribution degree value of the patient source image is less than the preset noise distribution degree standard value, it means that the noise distribution degree of the patient source image pixel frequency domain information data corresponding to the patient source image frequency domain noise distribution degree value is relatively weak, and the patient source image pixel frequency domain information data corresponding to the patient source image frequency domain noise distribution degree value is marked as patient source image low-frequency noise data.
[0064] Step S143: performing noise classification filtering on the high-frequency noise data of the patient source image to obtain high-frequency noise-filtered data of the patient source image;
[0065] The embodiment of the present invention performs hierarchical filtering on high-frequency noise data marked as patient source images according to the noise filtering effect, so that the high-frequency noise in the patient source images can be effectively reduced, and the useful information in the image is retained as much as possible while reducing the noise, and finally the high-frequency noise-filtered data of the patient source images are obtained.
[0066] Step S144: using a median filtering algorithm to perform noise filtering on the low-frequency noise data of the patient source image to obtain low-frequency noise-filtered data of the patient source image;
[0067] The embodiment of the present invention uses a median filtering algorithm to filter out low-frequency noise in the low-frequency noise data of the patient source image, so as to retain the main structural information of the image while filtering out the low-frequency noise, thereby reducing the influence of the low-frequency noise and finally obtaining the low-frequency noise-filtered data of the patient source image.
[0068] Step S145: performing time series merging on the high-frequency noise-filtered data of the patient source image and the low-frequency noise-filtered data of the patient source image to obtain the noise-eliminated data of the patient source image.
[0069] In the embodiment of the present invention, the high-frequency noise-filtered data of the patient source image obtained after the noise filtering process and the low-frequency noise-filtered data of the patient source image are merged and fused in chronological order to ensure that the image after noise elimination maintains a certain consistency in time sequence, and finally the noise-eliminated data of the patient source image is obtained.
[0070] The present invention firstly calculates the noise distribution degree of the frequency domain information data of the patient source image pixel by using the frequency domain noise distribution calculation formula. This process is beneficial to fully understand the noise distribution of the patient source image in the frequency domain, and provides a quantitative reference index for subsequent noise processing. By quantifying the distribution of the frequency domain noise, the noise in the patient source image can be processed more finely, thereby improving the quality of the image. Secondly, by using the preset noise distribution degree standard value to compare and judge the patient source image frequency domain noise distribution degree value, when the patient source image frequency domain noise distribution degree value is greater than or equal to the preset standard value, the corresponding patient source image pixel frequency domain information data is marked as the patient source image high-frequency noise data; when the patient source image frequency domain noise distribution degree value is less than the standard value, the corresponding patient source image pixel frequency domain information data is marked as the patient source image low-frequency noise data. This judgment process is beneficial to targetedly process the noise in different frequency ranges, and provides a basis for classification for subsequent filtering processing. Then, by performing noise classification filtering on the patient source image high-frequency noise data, the high-frequency noise in the patient source image is effectively weakened, thereby improving the clarity and detail visibility of the image. The strategy of noise hierarchical filtering is beneficial to retain useful information in the image as much as possible while reducing noise, providing a more accurate basis for subsequent image analysis. Next, the low-frequency noise data of the patient source image is filtered out by using the median filtering algorithm. The median filtering is an effective filtering method that can retain the overall characteristics of the image while filtering out noise, which is beneficial to reduce the impact of low-frequency noise, thereby improving the overall quality and visualization of the image. Finally, by merging the high-frequency noise-filtered data and the low-frequency noise-filtered data of the patient source image in time series, it is beneficial to comprehensively consider the changes of the patient source image at multiple time points, further improving the robustness and stability of noise removal. The final patient source image noise-removed data is designed to better reflect the real image characteristics and provide a more reliable data basis for subsequent analysis and processing.
[0071] Preferably, the frequency domain noise distribution calculation formula in step S141 is specifically:
[0072]
[0073] Where P(f) is the value of the frequency domain noise distribution of the patient source image at the noise frequency f, f is the noise frequency parameter of the patient source image pixel frequency domain information data, A is the noise frequency scaling factor of the patient source image pixel frequency domain information data, B is the noise frequency gain parameter of the patient source image pixel frequency domain information data, C is the noise frequency control parameter of the patient source image pixel frequency domain information data, μ f is the mean value of the noise frequency offset distribution, σ fis the standard deviation of the noise frequency offset distribution, ω is the noise fluctuation amplitude parameter of the patient source image pixel frequency domain information data, μ ω is the mean value of the noise fluctuation amplitude deviation distribution, σ ω is the standard deviation of the noise fluctuation amplitude offset distribution, H is the change adjustment parameter of the noise fluctuation amplitude, I is the phase offset parameter of the noise fluctuation amplitude, and η is the correction value of the frequency domain noise distribution value of the patient source image.
[0074] The present invention constructs a frequency domain noise distribution calculation formula for calculating the degree of noise distribution of the frequency domain information data of the patient source image pixel. The frequency domain noise distribution calculation formula comprehensively considers factors such as the frequency distribution, fluctuation amplitude and phase offset of the noise. By adjusting these parameters, the noise characteristics in the frequency domain of the patient source image can be simulated and described. The frequency range and gain effect of the noise are adjusted by using the relevant adjustment parameters of the noise frequency, so that the distribution of the noise in the frequency domain is more in line with the actual situation. The fluctuation characteristics of the noise are adjusted by using the corresponding offset distribution parameters to better simulate the changes in the actual noise. In addition, the phase of the noise fluctuation amplitude is adjusted by using the phase offset parameter, so that the phase of the noise is more realistic in the frequency domain. In this way, detailed parameter adjustment and configuration help to more accurately simulate the frequency domain noise characteristics of the patient source image, thereby improving the effect of subsequent noise elimination processing. The formula fully considers the patient source image frequency domain noise distribution degree value P(f) at the noise frequency f, the noise frequency parameter f of the patient source image pixel frequency domain information data, the noise frequency scaling factor A of the patient source image pixel frequency domain information data, the noise frequency gain parameter B of the patient source image pixel frequency domain information data, the noise frequency control parameter C of the patient source image pixel frequency domain information data, and the noise frequency offset distribution mean μ f , the standard deviation of the noise frequency offset distribution σ f , the noise fluctuation amplitude parameter ω of the patient source image pixel frequency domain information data, the mean value of the noise fluctuation amplitude offset distribution μ ω , the standard deviation of the noise fluctuation amplitude offset distribution σ ω , the noise fluctuation amplitude change adjustment parameter H, the noise fluctuation amplitude phase shift parameter I, the patient source image frequency domain noise distribution degree value correction value η, according to the patient source image frequency domain noise distribution degree value P(f) at the noise frequency f and the mutual correlation relationship between the above parameters constitute a functional relationship:
[0075]
[0076] The formula can realize the noise distribution degree calculation process of the patient source image pixel frequency domain information data. At the same time, by introducing the correction value η of the patient source image frequency domain noise distribution degree value, it can be adjusted according to the error situation occurring in the calculation process, thereby improving the accuracy and applicability of the frequency domain noise distribution calculation formula.
[0077] Preferably, step S143 includes the following steps:
[0078] Step S1431: inputting the high-frequency noise data of the patient source image into a preset first-level FIFO noise processing cache queue to obtain high-frequency noise first-level FIFO to-be-processed data; performing first-level noise filtering on the high-frequency noise first-level FIFO to-be-processed data using a noise filtering processing method to obtain high-frequency noise first-level FIFO filtered data;
[0079] The embodiment of the present invention obtains high-frequency noise data of the patient source image obtained by the division into a preset first-level FIFO noise processing cache queue, thereby obtaining high-frequency noise first-level FIFO to-be-processed data. Then, the high-frequency noise first-level FIFO to-be-processed data is first-level filtered by using a corresponding noise filtering processing method (such as a filter) in the first-level FIFO noise processing cache queue to effectively remove noise and interference therein, and finally obtain high-frequency noise first-level FIFO filtered data.
[0080] Step S1432: Calculate the filtering effect of the high-frequency noise first-level FIFO filtering data using the noise filtering effect calculation formula to obtain the high-frequency noise first-level filtering effect degree value;
[0081] The embodiment of the present invention forms a suitable noise filtering effect calculation formula by combining filtering angular frequency, time variable parameter, filtering time constant of the filter, filtering order, filtering frequency domain imaginary unit and related parameters to calculate the filtering effect of high-frequency noise first-level FIFO filtering data, so as to quantify the effect of high-frequency noise first-level filtering, and finally obtain the degree value of high-frequency noise first-level filtering effect. In addition, the noise filtering effect calculation formula can also use any noise filtering effect detection algorithm in the field to replace the filtering effect calculation process, and is not limited to the noise filtering effect calculation formula.
[0082] Step S1433: judging and screening the first-level filtering effect value of the high-frequency noise according to the preset filtering effect degree threshold, when it is determined that the first-level filtering effect value of the high-frequency noise is greater than or equal to the preset filtering effect degree threshold, the first-level FIFO filtering data of the high-frequency noise corresponding to the first-level filtering effect value of the high-frequency noise is determined as the first-level filtering completed data of the high-frequency noise; when it is determined that the first-level filtering effect value of the high-frequency noise is less than the preset filtering effect degree threshold, the first-level FIFO filtering data of the high-frequency noise corresponding to the first-level filtering effect value of the high-frequency noise is screened out and determined as the first-level filtering unfinished data of the high-frequency noise;
[0083] The embodiment of the present invention judges and screens the calculated high-frequency noise first-level filtering effect degree value according to a preset filtering effect degree threshold value. If it is determined that the high-frequency noise first-level filtering effect degree value is greater than or equal to the preset filtering effect degree threshold value, it means that the noise filtering effect of the high-frequency noise first-level FIFO filtering data corresponding to the high-frequency noise first-level filtering effect degree value is good, and the high-frequency noise first-level FIFO filtering data corresponding to the high-frequency noise first-level filtering effect degree value is determined and marked as high-frequency noise first-level filtering completed data; if it is determined that the high-frequency noise first-level filtering effect degree value is less than the preset filtering effect degree threshold value, it means that the noise filtering effect of the high-frequency noise first-level FIFO filtering data corresponding to the high-frequency noise first-level filtering effect degree value is poor, and further noise filtering processing is required, and the high-frequency noise first-level FIFO filtering data corresponding to the high-frequency noise first-level filtering effect degree value is determined and marked as high-frequency noise first-level filtering unfinished data.
[0084] Step S1434: inputting the unfinished data of the first-level filtering of the high-frequency noise into the preset second-level FIFO noise processing cache queue to obtain the data to be processed by the second-level FIFO of the high-frequency noise; performing the second-level noise filtering on the data to be processed by the second-level FIFO of the high-frequency noise by using the local noise filtering algorithm to obtain the second-level FIFO filtered data of the high-frequency noise;
[0085] The embodiment of the present invention inputs the high-frequency noise primary filtering unfinished data that is judged and screened into a pre-set secondary FIFO noise processing cache queue, thereby obtaining the high-frequency noise secondary FIFO to-be-processed data. Then, the local noise condition of the high-frequency noise secondary FIFO to-be-processed data is processed by using a corresponding local noise filtering algorithm in the secondary FIFO noise processing cache queue to remove the residual high-frequency noise and further smooth the local noise of the data, and finally obtain the high-frequency noise secondary FIFO filtered data.
[0086] Step S1435: Fusing the high-frequency noise primary filtering completion data and the high-frequency noise secondary FIFO filtering data to obtain the patient source image high-frequency noise filtering data.
[0087] The embodiment of the present invention uses a data fusion method to organically fuse the high-frequency noise first-level filtering completion data and the high-frequency noise second-level FIFO filtering data to fuse the noise filtering effects at different levels, thereby obtaining a more comprehensive and accurate high-frequency filtering result, and finally obtaining the high-frequency noise filtered data of the patient source image.
[0088] The present invention firstly inputs the high-frequency noise data of the patient source image into a preset first-level FIFO noise processing cache queue, and can realize the orderly processing of the high-frequency noise data by adopting an advanced first-level FIFO queue mechanism. This operation process is beneficial to effectively control the processing order of the noise data, and ensure that the high-frequency noise data enters the noise filtering processing flow in an orderly manner according to the first-in-first-out principle, thereby improving the processing efficiency and real-time performance. Secondly, by using a suitable noise filtering effect calculation formula to calculate the filtering effect of the high-frequency noise first-level FIFO filtering data, the effect of the high-frequency noise first-level filtering can be objectively evaluated, which is beneficial to provide a quantitative evaluation standard for the subsequent filtering effect judgment, so that it can be intelligently determined whether the noise filtering achieves the expected effect. Then, the high-frequency noise first-level filtering effect value is judged and screened by using a preset filtering effect degree threshold. When the high-frequency noise first-level filtering effect value is greater than or equal to the preset threshold, the corresponding high-frequency noise first-level FIFO filtering data is judged and marked as high-frequency noise first-level filtering completion data; when the high-frequency noise first-level filtering effect value is less than the threshold, the corresponding high-frequency noise first-level FIFO filtering data is screened out and judged as high-frequency noise first-level filtering unfinished data. This step is beneficial to intelligently determine whether the filtering effect meets the expected standard, thereby achieving effective control of the high-frequency noise first-level filtering process. Next, by inputting the high-frequency noise first-level filtering unfinished data into the preset secondary FIFO noise processing cache queue, through the introduction of the secondary FIFO queue, the unfinished high-frequency noise filtering data can be further processed. This processing process is beneficial to hierarchical processing of high-frequency noise, ensuring that filtering at different levels can be carried out in an orderly manner, thereby improving the overall noise filtering effect. Finally, by fusing the data completed by the first-level filtering of high-frequency noise and the data filtered by the second-level FIFO, this step is beneficial to organically fuse the data completed by the first-level filtering with the data completed by the second-level filtering, and comprehensively utilize the filtering effects of different levels to obtain more comprehensive and accurate high-frequency filtering results, which helps to ultimately extract effective information from the patient's source images, while reducing the impact of high-frequency noise, thereby improving image quality.
[0089] Preferably, the noise filtering effect calculation formula in step S1432 is specifically:
[0090]
[0091] Where F(θ) is the value of the first-level filtering effect of high-frequency noise, θ is the filtering angular frequency of the first-level FIFO filtering data of high-frequency noise, t1 is the initial time of the filtering effect calculation, t2 is the termination time of the filtering effect calculation, t is the integral time variable parameter of the filtering effect calculation, τ1, τ2, ..., τ k are the filtering time constants of the filter in the first-level noise filtering process, n1, n2, ..., n k are the filter orders of the filters in the first-level noise filtering process, j is the imaginary unit of the filtering frequency domain, and ε is the correction value of the first-level filtering effect value of high-frequency noise.
[0092] The present invention constructs a noise filtering effect calculation formula, which is used to calculate the filtering effect of the first-level FIFO filtering data of high-frequency noise. The denominator part in the noise filtering effect calculation formula describes the frequency response of a series of filters, including filters with different time constants and filtering orders, which can reflect the characteristics of the filter in the frequency domain and help evaluate its suppression effect on the noise spectrum. By adjusting the filtering angular frequency, noises of different frequencies can be evaluated, so as to understand the filtering effect more comprehensively. At the same time, the integral operation in the noise filtering effect calculation formula also considers the noise signal within a period of time, so as to comprehensively evaluate the performance of the filtering effect within a certain time range. In addition, by introducing a correction value to correct the calculation result, it is helpful to more accurately reflect the filtering effect. The evaluation of this filtering effect is very critical for the subsequent processing steps. If the first-level filtering effect is good, the filtering completion data can be directly obtained, otherwise the unfinished data needs to be transferred to the second-level filtering stage for further processing. The whole process is judged and processed in the multi-level filtering stage, which helps to optimize the filtering effect on high-frequency noise. In summary, this formula fully considers the first-level filtering effect value F(θ) of high-frequency noise, the filtering angular frequency θ of the first-level FIFO filtering data of high-frequency noise, the initial time t1 of the filtering effect calculation, the termination time t2 of the filtering effect calculation, the integral time variable parameter t of the filtering effect calculation, and the filtering time constants τ1, τ2, ..., τ of the filter in the first-level noise filtering process. k , the filter order n1, n2, ..., n in the first-stage noise filtering process k , filter frequency domain imaginary unit j, high-frequency noise first-level filtering effect value correction value ε, according to the high-frequency noise first-level filtering effect value F (θ) and the mutual correlation between the above parameters constitute a functional relationship The formula can realize the filtering effect calculation process of the first-level FIFO filtering data of high-frequency noise. At the same time, by introducing the correction value ε of the first-level filtering effect value of high-frequency noise, it can be adjusted according to the error situation occurring in the calculation process, thereby improving the accuracy and applicability of the noise filtering effect calculation formula.
[0093] Preferably, step S15 comprises the following steps:
[0094] Step S151: performing sparse representation processing on the patient source image noise elimination data using a sparse representation method to obtain the patient source image sparse representation data;
[0095] The embodiment of the present invention performs sparse representation on the denoised patient source image noise elimination data by using a sparse representation method (e.g., a dictionary-based sparse representation algorithm) to represent the patient source image noise elimination data as a sparse linear combination, which is beneficial to discovering important characteristic components therein, and finally obtaining the patient source image sparse representation data.
[0096] Step S152: performing dictionary mapping learning on the sparse representation data of the patient source image to obtain a patient source image sparse mapping associated dictionary;
[0097] The embodiment of the present invention uses a dictionary learning algorithm to perform mapping learning on the sparse representation data of the patient source image to map the sparse representation data of the patient source image to a sparser representation space, and learns a specific dictionary of the patient source image, and finally obtains a sparse mapping association dictionary of the patient source image.
[0098] Step S153: performing sparse fusion on the sparse representation data of the patient source images to obtain the sparse representation initial fusion data of the patient source images, and assigning a sparse fusion contribution weight to each sparse representation data of the patient source images;
[0099] The embodiment of the present invention fuses the sparse representation data of the patient source image by using a linear or nonlinear combination method, organically fuses the information of different parts in the patient source image, thereby obtaining the sparse representation initial fusion data of the patient source image, and at the same time, assigns a suitable sparse fusion contribution weight to each patient source image sparse representation data.
[0100] Step S154: performing an inverse dictionary reconstruction transformation on the sparse representation initial fusion data of the patient source image according to the patient source image sparse mapping association dictionary to obtain the patient sparse representation fusion image data; performing a fusion quality assessment on the patient sparse representation fusion image data to obtain the patient image sparse fusion quality assessment data;
[0101] The embodiment of the present invention uses the learned patient source image sparse mapping association dictionary to perform an inverse transformation on the patient source image sparse representation initial fusion data, restores the patient source image sparse representation initial fusion data to the original image space, and retains the detail information in the patient source image, thereby obtaining the patient sparse representation fusion image data. Then, the restored patient sparse representation fusion image data is evaluated by using a quality assessment algorithm to evaluate indicators including image quality, information retention, etc. to objectively understand the quality of the fused image, and finally obtain the patient image sparse fusion quality assessment data.
[0102] Step S155: optimizing the sparse fusion contribution weight according to the patient image sparse fusion quality assessment data to obtain the sparse fusion contribution optimization weight;
[0103] The embodiment of the present invention obtains feedback information about the fusion effect by analyzing the sparse fusion quality evaluation data of patient images, and then optimizes the assigned sparse fusion contribution weight by using the feedback information of the fusion effect to dynamically adjust the contribution of each part so that the fusion effect better meets the quality requirements, and finally obtains the sparse fusion contribution optimization weight.
[0104] Step S156: fusion optimization is performed on the sparse representation initial fusion data of the patient source images according to the sparse fusion contribution optimization weights to obtain the sparse representation fusion data of the patient images.
[0105] The embodiment of the present invention optimizes the initial fusion data of the sparse representation of the patient source image by using the optimized sparse fusion contribution optimization weights to more accurately fuse the information of different parts, and finally obtains the sparse representation fusion data of the patient image after weight adjustment to improve the quality of the overall fusion of the patient source image.
[0106] The present invention firstly performs sparse representation processing on the patient source image noise elimination data by using a sparse representation method, and can find the important components in the data through the sparse expression of the patient source image noise elimination data, and can also effectively extract the key features in the patient source image. This process is beneficial to retaining the important information of the image and reducing the interference of noise on the image, thereby improving the clarity and quality of the image. At the same time, by performing dictionary mapping learning on the patient source image sparse representation data, the specific dictionary of the patient source image can be learned to better express the features in the patient source image, which is beneficial to improving the understanding and expression ability of the patient source image and providing a more accurate basis for subsequent processing steps. Secondly, by performing sparse fusion on the patient source image sparse representation data, a suitable sparse fusion contribution weight is assigned to each patient source image sparse representation data. Through sparse fusion, the information of different parts can be organically fused together, thereby improving the expression ability of the overall image. In addition, by allocating weights, it is beneficial to more flexibly consider the contribution of each part to the final image in the fusion process, so that the fusion result is more in line with the actual situation. Then, by using the patient source image sparse mapping association dictionary to perform an inverse dictionary reconstruction transformation on the patient source image sparse representation initial fusion data, it is helpful to restore the sparse representation initial fusion data to the original image space and retain the detail information in the patient source image. This step is beneficial to restore the fused image, making it closer to the characteristics of the original image and improving the fidelity of the restored image. In addition, by performing a fusion quality assessment on the patient sparse representation fusion image data, the quality of the fused image can be objectively understood and a reference can be provided for subsequent optimization steps. This is beneficial to evaluating the algorithm effect and ensuring that the final generated patient source image sparse representation fusion data has high quality and credibility. Next, by using the patient image sparse fusion quality assessment data to optimize the sparse fusion contribution weight, the contribution of each part can be dynamically adjusted to make the fusion result more in line with expectations, which is beneficial to improving the accuracy and reliability of the fusion result and ensuring that the final patient source image sparse representation fusion data is more in line with actual needs. Finally, by using the sparse fusion contribution optimization weights to fuse and optimize the initial fusion data of the sparse representation of the patient source images, the information of different parts can be more accurately fused, thereby improving the overall quality of the image. This is beneficial to the final generation of sparse representation fusion data of patient source images with higher resolution and clearer details, providing more reliable basic data for the further analysis and application of medical images.
[0107] Preferably, step S16 comprises the following steps:
[0108] Step S161: using natural language processing technology to perform drug entity recognition analysis on the medication plan information data to obtain planned drug entity information data;
[0109] The embodiment of the present invention first performs text preprocessing on the medication plan information data, including sentence segmentation, word segmentation, stop word removal, etc., and then processes the processed text information by using natural language processing technology (such as named entity recognition technology (NER)) to intelligently extract relevant drug entity information from the medication plan information, and finally obtain the planned drug entity information data.
[0110] Step S162: extracting drug attributes from the planned drug entity information data to obtain planned drug attribute information data;
[0111] The embodiment of the present invention analyzes the planned drug entity information data by using a drug attribute analysis method to extract detailed characteristics and attribute information about the drug from the planned drug entity information data, such as the drug's name, dosage, usage, frequency, etc., and finally obtain the planned drug attribute information data.
[0112] Step S163: extracting drug relationships from the medication plan information data to obtain medication drug relationship data;
[0113] The embodiment of the present invention processes medication plan information data by using relationship extraction processing technology to extract the relationship between drugs in the medication plan, such as interaction, substitution relationship, etc., to establish the connection and interactive relationship between drugs, and finally obtain medication drug relationship data.
[0114] Step S164: Perform knowledge graph reasoning analysis on the medication plan information data based on the medication drug relationship data and the planned drug attribute information data to construct a drug knowledge graph.
[0115] The embodiment of the present invention uses knowledge graph technology to infer the medication plan information data based on the relationship between drugs in the medication drug relationship data and the attribute information of the planned drug entities in the planned drug attribute information data, discovers the relationships and rules hidden in the planned drug entities, enriches and improves the knowledge graph, and finally constructs a drug knowledge graph.
[0116] The present invention firstly uses natural language processing technology to perform drug entity recognition analysis on medication plan information data, and can intelligently extract relevant drug entity information from medication plan information, which is beneficial to automatically identify and extract drugs involved in the medication plan, and provides key entity information for subsequent analysis and reasoning. Secondly, by performing drug attribute extraction processing on the planned drug entity information data, detailed characteristics and attribute information of the relevant drugs, such as drug name, dosage, usage, etc., can be obtained, which is beneficial to establish a comprehensive drug archive and provide more dimensional information support for subsequent medication plan analysis. Then, by performing drug relationship extraction processing on the medication plan information data, the relationship between drugs in the medication plan can be extracted to establish the connection and interactive relationship between drugs, which is beneficial to deeply understand the interaction between drugs in the medication plan, and provides the basis of the relationship network for the subsequent knowledge graph construction. Finally, by using medication drug relationship data and planned drug attribute information data for knowledge graph reasoning analysis, we can discover potential patterns, associations, and structures, thereby more comprehensively understanding the context and meaning of medication plan information. This is beneficial to building a rich, complex, and accurate drug knowledge graph, providing in-depth support and guidance for subsequent medication decisions. The construction of the knowledge graph enables medical professionals to better understand the patient's medication situation and make more accurate and personalized medication recommendations.
[0117] Preferably, step S2 comprises the following steps:
[0118] Step S21: performing patient individual characteristic analysis on the patient image sparse representation fusion data to obtain patient image individual characteristic data;
[0119] The embodiment of the present invention uses feature analysis technology to analyze the sparse representation fusion data of patient images to deeply explore the individual characteristics of patient image data, extract and capture the unique physiological and pathological characteristics of the patient, and finally obtain the individual characteristic data of the patient images.
[0120] Step S22: Encapsulating the patient image individual feature data and the drug knowledge graph into a convolutional layer using a deep learning convolutional neural network to obtain a patient image feature convolutional layer and a drug knowledge graph convolutional layer;
[0121] The embodiment of the present invention uses a deep learning convolutional neural network to encapsulate the patient image individual feature data and the drug knowledge graph into convolutional layers respectively, so as to integrate the patient image data and the drug knowledge graph into the convolutional neural network, and learn the complex relationship between the patient's image features and drug knowledge, and finally obtain the patient image feature convolution layer and the drug knowledge graph convolution layer.
[0122] Step S23: performing downward joint pooling on the patient image feature convolution layer and the drug knowledge graph convolution layer until they are pooled downward to the fully connected layer, and performing drug planning association learning on the patient image feature convolution layer and the drug knowledge graph convolution layer in the fully connected layer to construct a drug dosage automatic planning network framework;
[0123] The embodiment of the present invention jointly pools downward the outputs of the patient image feature convolution layer and the drug knowledge graph convolution layer to gradually reduce the data dimensions of the patient image features and the drug knowledge graph until the pooled results are pooled to the fully connected layer of the network. At the same time, the correlation between the patient image features and the drug dosage is further learned by the patient image feature convolution layer and the drug knowledge graph convolution layer at the fully connected layer, and finally a network framework for automatic drug dosage planning is constructed.
[0124] Step S24: using a preset end-to-end training strategy to perform model training on the drug dosage automatic planning network framework, and using a preset minimization loss function to minimize the drug dosage association loss in the lower convolution pooling stage of the drug dosage automatic planning network framework, so as to obtain a minimum drug dosage association loss;
[0125] The embodiment of the present invention trains the drug dosage automatic planning network framework by using a preset end-to-end training strategy. At the same time, the drug dosage association loss of the drug dosage automatic planning network framework in the lower convolution pooling stage is processed by using a preset minimization loss function (including a gradient descent loss function) so that the drug dosage association loss reaches a minimum value, and finally the minimum drug dosage association loss is obtained.
[0126] Step S25: Continuously adjust the network model parameters of the drug dosage automatic planning network framework according to the minimum value of the drug dosage associated loss to obtain a patient medication dosage planning model.
[0127] The embodiment of the present invention continuously adjusts the network model parameters of the drug dosage automatic planning network framework, such as the learning rate, by using the minimized minimum value of the drug dosage associated loss, so that the network model can better adapt to the characteristics and needs of different patients, and finally obtain a patient medication dosage planning model.
[0128] The present invention first analyzes the individual characteristics of patients by sparsely representing the fusion data of patient images, and can deeply mine the individual characteristics of patient image data, thereby capturing the unique physiological and pathological characteristics of patients, and providing key information for personalized medication decisions, which is beneficial to more accurately understand the patient's condition and medication needs, and provide a personalized basis for subsequent medication plans and dosage planning. Secondly, by using a deep learning convolutional neural network to encapsulate the patient's image individual characteristics data and the drug knowledge map into a convolutional layer, the patient's image data and the drug knowledge map can be combined into the convolutional neural network, so as to effectively learn the complex relationship between the patient's image characteristics and drug knowledge, which is beneficial to the comprehensive use of multi-source information and improve the understanding and prediction ability of the patient's personalized medication needs. Then, by performing downward joint pooling on the patient image feature convolutional layer and the drug knowledge map convolutional layer, and by performing drug planning association learning in the fully connected layer, through joint pooling and association learning, the patient's personalized image characteristics and drug knowledge can be effectively integrated, and a strong joint feature representation is established for subsequent drug dosage planning, which is beneficial to more accurately grasp the individual differences of patients and drug influencing factors, and provides more comprehensive information support for dosage planning. Next, by using a pre-set end-to-end training strategy to train the model of the drug dose automatic planning network framework, and by minimizing the drug dose associated loss using the minimization loss function, the entire drug dose automatic planning network can be optimized so that it can better learn and predict the patient's personalized drug dose, which is beneficial to improving the generalization ability and accuracy of the model, making the patient's medication plan more reasonable and personalized. Finally, by using the minimized drug dose associated loss minimum value to continuously adjust the network model parameters of the drug dose automatic planning network framework, the model can better adapt to the characteristics and needs of different patients, thereby achieving more accurate and personalized drug dose planning, which is beneficial to improving the safety of patient medication.
[0129] Preferably, step S3 comprises the following steps:
[0130] Step S31: performing data enhancement processing on the patient image individual feature data to obtain patient image individual feature enhanced data;
[0131] The embodiment of the present invention processes the patient image personality feature data by using data enhancement technology, including rotation, translation, scaling and other data enhancement technologies, so as to increase the diversity and data volume of the patient image personality feature data, and improve the generalization ability and robustness of the model, so that it can perform well in different scenarios, and finally obtain the patient image personality feature enhanced data.
[0132] Step S32: performing transfer learning on the patient medication dosage planning model to optimize the network hyperparameters of the patient medication dosage planning model to obtain a patient medication dosage optimization model;
[0133] The embodiment of the present invention applies the learned knowledge and patient dosage planning model parameters to a new medication dosage planning task through transfer learning, so as to optimize and adjust the network hyperparameters of the patient medication dosage planning model, so that the patient medication dosage planning model can better adapt to new data and scenarios, and finally obtain a patient medication dosage optimization model.
[0134] Step S33: performing time step stacking processing on the patient image individual feature enhancement data to obtain patient image feature time step data;
[0135] The embodiment of the present invention captures the temporal information of the patient's image characteristics by stacking continuous patient image individual feature enhancement data in time step order, wherein each time step represents the patient image individual feature enhancement data at a time point, so as to more comprehensively understand the patient's personalized physiological changes, and finally obtain the patient image feature time step data.
[0136] Step S34: using the patient medication dose optimization model to perform time step module prediction on the patient imaging feature time step data, and obtain the patient medication dose distribution relationship and the number of dose distribution associated channels at each network layer time step;
[0137] The embodiment of the present invention uses the patient image feature time step data as the input of the patient medication dosage optimization model, and uses the modular function of the patient medication dosage optimization model to perform modular prediction on each time step data, so as to simulate and predict the distribution change trend of the patient medication dosage at different time steps and the number of associated network channels, and finally obtain the patient medication dosage distribution relationship and the number of dose distribution associated channels at each network layer time step.
[0138] Step S35: Perform model integration prediction on the patient medication dose distribution relationship and the number of dose distribution associated channels at each network layer time step to obtain patient drug dose distribution associated relationship data.
[0139] The embodiment of the present invention performs iterative set fusion by taking the patient medication dose distribution relationship and the number of dose distribution associated channels at each network layer time step as the input of the next layer, and performs dose association prediction by combining the feature information of multiple network layers, so as to better capture the spatial relationship between image features and the correlation between dose distributions, and finally obtain patient drug dose distribution association relationship data.
[0140] The present invention firstly performs data enhancement processing on the patient image individual feature data, which can effectively expand the patient image data set, increase the diversity and quantity of samples, and thus improve the generalization ability of the patient image feature model, which is beneficial to better adapt to the personalized features of the patient, improve the robustness of the model, and enable it to perform well in different scenarios. Secondly, by performing transfer learning on the patient medication dosage planning model, the learned knowledge and model parameters can be applied to new tasks, thereby accelerating the convergence process of the patient medication dosage planning model and improving the model performance, which is beneficial to effectively utilize existing knowledge, reduce the demand for a large number of labeled samples, and improve the adaptability and practicality of the model. Then, by stacking the patient image individual feature enhancement data in time steps, the temporal information of the patient image features can be captured, so as to more comprehensively understand the personalized physiological changes of the patient, so that the model can better understand the time dependence of the patient's medication, and provide more accurate input for the time step module prediction. Next, by using the patient medication dose optimization model to predict the patient imaging feature time step data, the time step module can be used to simulate the changing trend of the patient medication dose at different time steps, and improve the model's prediction accuracy for the patient medication dose, which is beneficial to more accurately capture the dynamic characteristics of the patient's medication and provide a more reliable basis for the subsequent dose distribution correlation data. Finally, by performing model integration prediction on the patient medication dose distribution relationship and the number of dose distribution correlation channels at each network layer time step, the information of multiple network layers can be combined to improve the overall performance and robustness of the model, which helps to comprehensively utilize the characteristics of each network layer, thereby obtaining more comprehensive and accurate patient drug dose distribution correlation data, providing a more reliable basis for personalized medication.
[0141] Therefore, the embodiments should be regarded as illustrative and non-restrictive from all points, and the scope of the present invention is limited by the appended claims rather than the above description, and it is therefore intended that all changes falling within the meaning and range of equivalent elements of the application documents are included in the present invention.
[0142] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.
Claims
1. A method for constructing a medication decision support system based on drug knowledge graph reasoning. It is characterized in that The following steps are involved: Step S1: Acquire patient source image data and medication plan information data; Based on the sparse representation method, image fusion processing is performed on the patient source image data to obtain the patient image sparse representation fusion data; and a drug knowledge graph is constructed based on the medication plan information data by inference; wherein step S1 includes the following steps: Step S11: Acquire patient source image data and medication plan information data; Step S12: performing grayscale standardization processing on the patient source image data to obtain patient source image grayscale standard data; Step S13: performing pixel extraction processing on the grayscale standard data of the patient source image to obtain the patient source image pixel data; performing frequency domain conversion processing on the patient source image pixel data using a Fourier transform algorithm to obtain the patient source image pixel frequency domain information data; Step S14: performing frequency domain noise elimination processing on the patient source image pixel frequency domain information data to obtain patient source image noise elimination data; wherein step S14 includes the following steps: Step S141: Calculate the noise distribution degree of the patient source image pixel frequency domain information data using the frequency domain noise distribution calculation formula to obtain the patient source image frequency domain noise distribution degree value; wherein the frequency domain noise distribution calculation formula is specifically: ; In the formula, At the noise frequency The value of the frequency domain noise distribution of the patient source image on is the noise frequency parameter of the patient source image pixel frequency domain information data, is the noise frequency scaling factor of the patient source image pixel frequency domain information data, is the noise frequency gain parameter of the patient source image pixel frequency domain information data, is the noise frequency control parameter of the patient source image pixel frequency domain information data, is the mean value of the noise frequency offset distribution, is the standard deviation of the noise frequency offset distribution, is the noise fluctuation amplitude parameter of the patient source image pixel frequency domain information data, is the mean value of the noise fluctuation amplitude deviation distribution, is the standard deviation of the noise fluctuation amplitude offset distribution, Adjust the parameters for changes in noise fluctuation amplitude, is the phase shift parameter of the noise fluctuation amplitude, is the correction value of the frequency domain noise distribution degree of the patient source image; Step S142: comparing and judging the patient source image frequency domain noise distribution value according to the preset noise distribution degree standard value; when the patient source image frequency domain noise distribution degree value is greater than or equal to the preset noise distribution degree standard value, the patient source image pixel frequency domain information data corresponding to the patient source image frequency domain noise distribution degree value is marked as the patient source image high-frequency noise data; when the patient source image frequency domain noise distribution degree value is less than the preset noise distribution degree standard value, the patient source image pixel frequency domain information data corresponding to the patient source image frequency domain noise distribution degree value is marked as the patient source image low-frequency noise data; Step S143: performing noise classification filtering on the high-frequency noise data of the patient source image to obtain high-frequency noise-filtered data of the patient source image; wherein step S143 includes the following steps: Step S1431: inputting the high-frequency noise data of the patient source image into a preset first-level FIFO noise processing cache queue to obtain high-frequency noise first-level FIFO to-be-processed data; performing first-level noise filtering on the high-frequency noise first-level FIFO to-be-processed data using a noise filtering processing method to obtain high-frequency noise first-level FIFO filtered data; Step S1432: Calculate the filtering effect of the high-frequency noise first-level FIFO filtering data using the noise filtering effect calculation formula to obtain the high-frequency noise first-level filtering effect degree value; wherein the noise filtering effect calculation formula is specifically: ; In the formula, is the first-level filtering effect value of high-frequency noise, is the filtering angular frequency of the first-level FIFO filtering data of high-frequency noise, is the initial time for filtering effect calculation, The end time of the filter effect calculation. The integral time variable parameter for the filter effect calculation, , , . . . , These are the filtering time constants of the filter in the first-level noise filtering process. , , . . . , are the filter orders of the filters in the first-level noise filtering process, is the imaginary unit of filtering frequency domain, It is the correction value of the first-level filtering effect of high-frequency noise; Step S1433: judging and screening the first-level filtering effect value of the high-frequency noise according to the preset filtering effect degree threshold, when it is determined that the first-level filtering effect value of the high-frequency noise is greater than or equal to the preset filtering effect degree threshold, the first-level FIFO filtering data of the high-frequency noise corresponding to the first-level filtering effect value of the high-frequency noise is determined as the first-level filtering completed data of the high-frequency noise; when it is determined that the first-level filtering effect value of the high-frequency noise is less than the preset filtering effect degree threshold, the first-level FIFO filtering data of the high-frequency noise corresponding to the first-level filtering effect value of the high-frequency noise is screened out and determined as the first-level filtering unfinished data of the high-frequency noise; Step S1434: inputting the unfinished data of the first-level filtering of the high-frequency noise into the preset second-level FIFO noise processing cache queue to obtain the data to be processed by the second-level FIFO of the high-frequency noise; performing the second-level noise filtering on the data to be processed by the second-level FIFO of the high-frequency noise by using the local noise filtering algorithm to obtain the second-level FIFO filtered data of the high-frequency noise; Step S1435: performing data fusion on the high-frequency noise primary filtering completion data and the high-frequency noise secondary FIFO filtering data to obtain the high-frequency noise filtering data of the patient source image; Step S144: using a median filtering algorithm to perform noise filtering on the low-frequency noise data of the patient source image to obtain low-frequency noise-filtered data of the patient source image; Step S145: performing time series merging of the high-frequency noise-filtered data of the patient source image and the low-frequency noise-filtered data of the patient source image to obtain the noise-eliminated data of the patient source image; Step S15: performing image fusion processing on the patient source image noise elimination data based on the sparse representation method to obtain the patient image sparse representation fusion data; wherein step S15 includes the following steps: Step S151: performing sparse representation processing on the patient source image noise elimination data using a sparse representation method to obtain the patient source image sparse representation data; Step S152: performing dictionary mapping learning on the sparse representation data of the patient source image to obtain a patient source image sparse mapping associated dictionary; Step S153: performing sparse fusion on the sparse representation data of the patient source images to obtain the sparse representation initial fusion data of the patient source images, and assigning a sparse fusion contribution weight to each sparse representation data of the patient source images; Step S154: performing an inverse dictionary reconstruction transformation on the sparse representation initial fusion data of the patient source image according to the patient source image sparse mapping association dictionary to obtain the patient sparse representation fusion image data; performing a fusion quality assessment on the patient sparse representation fusion image data to obtain the patient image sparse fusion quality assessment data; Step S155: optimizing the sparse fusion contribution weight according to the patient image sparse fusion quality assessment data to obtain the sparse fusion contribution optimization weight; Step S156: performing fusion optimization on the sparse representation initial fusion data of the patient source image according to the sparse fusion contribution optimization weight to obtain the sparse representation fusion data of the patient image; Step S16: Constructing a drug knowledge graph based on the medication plan information data by inference; wherein step S16 includes the following steps: Step S161: using natural language processing technology to perform drug entity recognition analysis on the medication plan information data to obtain planned drug entity information data; Step S162: extracting drug attributes from the planned drug entity information data to obtain planned drug attribute information data; Step S163: extracting drug relationships from the medication plan information data to obtain medication drug relationship data; Step S164: performing knowledge graph reasoning analysis on the medication plan information data based on the medication drug relationship data and the planned drug attribute information data to construct a drug knowledge graph; Step S2: performing patient individual characteristic analysis on the patient image sparse representation fusion data to obtain patient image individual characteristic data; constructing a drug dosage automatic planning network framework using the patient image individual characteristic data and the drug knowledge graph; performing model training on the drug dosage automatic planning network framework using a preset end-to-end training strategy and a minimized loss function to obtain a patient medication dosage planning model; wherein step S2 includes the following steps: Step S21: performing patient individual characteristic analysis on the patient image sparse representation fusion data to obtain patient image individual characteristic data; Step S22: Encapsulating the patient image individual feature data and the drug knowledge graph into a convolutional layer using a deep learning convolutional neural network to obtain a patient image feature convolutional layer and a drug knowledge graph convolutional layer; Step S23: performing downward joint pooling on the patient image feature convolution layer and the drug knowledge graph convolution layer until they are pooled downward to the fully connected layer, and performing drug planning association learning on the patient image feature convolution layer and the drug knowledge graph convolution layer in the fully connected layer to construct a drug dosage automatic planning network framework; Step S24: using a preset end-to-end training strategy to perform model training on the drug dosage automatic planning network framework, and using a preset minimization loss function to minimize the drug dosage association loss in the lower convolution pooling stage of the drug dosage automatic planning network framework, so as to obtain a minimum drug dosage association loss; Step S25: continuously adjusting the network model parameters of the drug dosage automatic planning network framework according to the minimum value of the drug dosage associated loss to obtain a patient drug dosage planning model; Step S3: performing data enhancement processing on the patient image individual feature data to obtain patient image individual feature enhanced data; performing transfer learning on the patient medication dose planning model to optimize the network hyperparameters of the patient medication dose planning model to obtain a patient medication dose optimization model; using the patient medication dose optimization model to perform model integration prediction on the patient image individual feature enhanced data to obtain patient drug dose distribution correlation relationship data; Step S4: Conduct medication decision construction analysis on the patient drug dosage distribution association relationship data to generate a patient medication decision support system.
2. The method for constructing a medication decision support system based on drug knowledge graph reasoning according to claim 1, It is characterized in that Step S3 includes the following steps: Step S31: performing data enhancement processing on the patient image individual feature data to obtain patient image individual feature enhanced data; Step S32: performing transfer learning on the patient medication dosage planning model to optimize the network hyperparameters of the patient medication dosage planning model to obtain a patient medication dosage optimization model; Step S33: performing time step stacking processing on the patient image individual feature enhancement data to obtain patient image feature time step data; Step S34: using the patient medication dose optimization model to perform time step module prediction on the patient imaging feature time step data, and obtain the patient medication dose distribution relationship and the number of dose distribution associated channels at each network layer time step; Step S35: Perform model integration prediction on the patient medication dose distribution relationship and the number of dose distribution associated channels at each network layer time step to obtain patient drug dose distribution associated relationship data.
Citation Information
Patent Citations
Higher level brain glioma survival period prediction method based on sparse representation framework and higher level brain glioma survival period prediction system based on sparse representation framework
CN108319969A
Drug specification-based reasonable medication knowledge graph construction method
CN110377755A
