Detection method and system of medical large model in traditional Chinese medicine incompatibility
By collecting and processing information on the incompatibilities of traditional Chinese medicine (TCM) combinations, calculating evaluation coefficients, and training a large-scale medical model, the problems of insufficient generalization and accuracy of TCM combination incompatibility detection methods have been solved, achieving more efficient TCM combination incompatibility detection.
Patent Information
- Application Number
- CN202410946277.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-15
- Publication Date
- 2024-11-12
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In existing technologies, the methods for detecting incompatibilities in traditional Chinese medicine combinations suffer from insufficient generalization and accuracy in their application to traditional Chinese medicine, making it difficult to meet the diverse needs of disease treatment.
By collecting information on drug incompatibilities in traditional Chinese medicine (TCM) combinations, processing data on drug properties, interactions, and dosage ratios, calculating drug incompatibilities assessment coefficients, and using a large medical model for training and evaluation, an allowable threshold is set to complete model training.
This improves the generalizability and accuracy of detecting incompatibilities in traditional Chinese medicine combinations, ensuring the effective application of the model under different circumstances.
Smart Images

Figure CN118942731A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a method and system for a medical model and a Chinese medicine and medicine incompatibility taboo. Background Art
[0002] In the field of modern medicine, as the application of traditional Chinese medicine becomes more and more widespread, it is particularly important to ensure the correct compatibility and safety of traditional Chinese medicine. Traditionally, the incompatibility of traditional Chinese medicine is mainly judged by the experience of traditional Chinese medicine experts and the records in ancient Chinese medicine books. For example, there are a large number of incompatibility records in classic works such as "Compendium of Materia Medica" and "Treatise on Febrile and Miscellaneous Diseases". However, due to the complexity of human conditions and the diversity of the effects of traditional Chinese medicine, it is difficult to fully cover and predict all incompatibility situations relying solely on traditional methods.
[0003] With the development of artificial intelligence technology, especially the development of large-scale medical artificial intelligence models, we can now use these models to assist in the detection of TCM incompatibility. Medical large models can process and analyze a large amount of TCM data, including TCM drug ingredients, efficacy, pharmacological effects, clinical application cases, etc., so as to more accurately predict the interactions and side effects between TCM drugs.
[0004] The existing medical big model in the detection method and system of TCM incompatibility contraindications establishes a database, processes and analyzes data, and develops a medical big model based on the above database and analysis results to detect TCM incompatibility contraindications. Artificial intelligence technology is used to make the system more intelligent in understanding important drug effects and improve the accuracy of incompatibility monitoring points.
[0005] For example, the patent application with publication number: CN117273167A discloses a medical model training method, medical method, device, equipment and storage medium, including: a medical model training method, obtaining an initial data set, performing data cleaning and viewpoint organization on the initial data set to obtain a target data set, for each medical scenario in predetermined different medical scenarios, determining the training data corresponding to the medical scenario from the target data set, using the determined training data to train the initial medical model to obtain a target medical model corresponding to the medical scenario. A medical method, obtaining medical information, inputting the medical information into a pre-trained medical model, and outputting a medical result. A medical model training device, training a medical model using training data determined by different module configurations.
[0006] For example, the patent application with publication number: CN111915000A discloses a method and device for adjusting a network model for medical images, comprising: training a neural network model using training samples to obtain a trained neural network model, wherein the neural network model includes a multi-layer convolution structure and a residual convolution layer structure, detecting the next layer of convolution structure of the residual convolution layer structure to obtain a detection result, and adjusting the neural network model according to the detection result. The neural network model can be adjusted in real time during its operation to improve the accuracy of the neural network model in responding to different data, thereby improving the detection accuracy and generalization performance of the neural network model.
[0007] However, in the process of implementing the technical solution of the invention in the embodiments of the present application, the present application found that the above technology has at least the following technical problems:
[0008] In the prior art, the demand for traditional Chinese medicine has increased due to the increase in the types and number of diseases. However, traditional Chinese medicine has different medicinal properties and pharmacology. Therefore, when configuring traditional Chinese medicine, special attention should be paid to the incompatibility contraindications. There is a problem that it is difficult to improve the generalization and accuracy of the detection method of the medical large model in the incompatibility contraindications of traditional Chinese medicine. Summary of the invention
[0009] The embodiments of the present application provide a method and system for detecting incompatibility of medical large models in traditional Chinese medicine, thereby solving the problem in the prior art that it is difficult to improve the generalization and accuracy of the detection method of incompatibility of medical large models in traditional Chinese medicine when configuring traditional Chinese medicine, thereby achieving the effect of improving the generalization and accuracy of the detection method of incompatibility of medical large models in traditional Chinese medicine.
[0010] The present application embodiment provides a method for detecting incompatibility of a medical model in traditional Chinese medicine, comprising the following steps:
[0011] Collecting information on incompatibility of traditional Chinese medicine, including data on the properties of traditional Chinese medicine, data on the interaction of traditional Chinese medicine and data on the dosage ratio of traditional Chinese medicine;
[0012] Process the information of TCM incompatibility taboos to obtain TCM drug evaluation coefficients, and obtain TCM drug incompatibility taboo evaluation coefficients through comprehensive evaluation;
[0013] Input the TCM drug incompatibility assessment coefficient into the medical big model for training, and obtain the TCM drug incompatibility medical big model;
[0014] The TCM compatibility and contraindications medical model is evaluated, and an allowable threshold is set. If the model parameters of the trained TCM compatibility and contraindications medical model fall within the allowable threshold, the training of the TCM compatibility and contraindications medical model is completed.
[0015] Furthermore, the specific analysis process of the TCM drug incompatibility assessment coefficient is as follows: evaluating the TCM drug properties through the TCM drug property unit to obtain the TCM drug property assessment coefficient, evaluating the TCM drug interaction through the TCM drug interaction unit to obtain the TCM drug interaction assessment coefficient, evaluating the TCM drug dosage ratio through the TCM drug dosage ratio unit to obtain the TCM drug dosage ratio assessment coefficient, and constraining the TCM drug property assessment coefficient, the TCM drug interaction assessment coefficient and the TCM drug dosage ratio assessment coefficient through the TCM incompatibility assessment unit to obtain the TCM drug incompatibility assessment coefficient.
[0016] Furthermore, the specific constraint formula of the TCM drug property evaluation coefficient is:
[0017]
[0018] In the formula, several temperature monitoring points are set and numbered in sequence, a0=1, 2, ..., a, a0 represents the number of the temperature monitoring point, a represents the total number of the temperature monitoring points, ψ1 represents the TCM drug property evaluation coefficient, which is used to evaluate the influence of TCM drug properties on TCM incompatibility taboos, represents the HPLC data of traditional Chinese medicine at the a0th temperature monitoring point, E ρ Represents the HPLC data of traditional Chinese medicine at standard temperature. represents the gas chromatography data of traditional Chinese medicine at the a0th temperature monitoring point, F ρ Represents the gas chromatography data of traditional Chinese medicine at standard temperature. represents the mass spectrometry data of traditional Chinese medicine at the a0th temperature monitoring point, G ρ represents the mass spectrometry data of traditional Chinese medicine at standard temperature, β1 represents the weight factor of the chemical components of traditional Chinese medicine, β2 represents the weight factor of the biological activity of traditional Chinese medicine, β3 represents the weight factor of the ambient temperature of traditional Chinese medicine, τ is the decay constant of traditional Chinese medicine, and S represents the attenuation coefficient of traditional Chinese medicine.
[0019] Furthermore, the specific constraint formula of the TCM drug interaction evaluation coefficient is:
[0020]
[0021] In the formula, a number of time monitoring points are set and numbered in sequence, c0 = 1, 2, ..., c, c0 represents the number of the time monitoring point, c represents the total number of the time monitoring point numbers, a number of concentration monitoring points are set and numbered in sequence, b0 = 1, 2, ..., b, b0 represents the number of the concentration monitoring point, b represents the total number of the concentration monitoring point numbers, ψ2 represents the TCM drug interaction evaluation coefficient, which is used to evaluate the impact of TCM drug interactions on TCM incompatibility taboos, Represents the data of effective ingredients of traditional Chinese medicine at the c0th time monitoring point, Indicates the ineffective component data of traditional Chinese medicine at the c0th time monitoring point, represents the impurity data of traditional Chinese medicine at the c0th time monitoring point, It represents the solubility data of traditional Chinese medicine at the c0th time monitoring point and the b0th concentration monitoring point. It represents the stability data of traditional Chinese medicine at the c0th time monitoring point and the b0th concentration monitoring point. It represents the data of fat solubility of traditional Chinese medicine at the c0th time monitoring point and the b0th concentration monitoring point. It represents the temperature data of traditional Chinese medicine at the c0th time monitoring point, and T represents the temperature data of traditional Chinese medicine under standard conditions.
[0022] Furthermore, the specific constraint formula of the TCM drug dosage ratio evaluation coefficient is:
[0023]
[0024] In the formula, several concentration monitoring points are set and numbered in sequence, d0 = 1, 2, ..., d, d0 represents the number of the concentration monitoring point, d represents the total number of concentration monitoring points, ψ3 represents the TCM drug dosage ratio evaluation coefficient, which is used to evaluate the impact of TCM drug dosage ratio on TCM incompatibility. Indicates the specification data of Chinese medicine materials at the d0th concentration monitoring point, Indicates the specification data of the finished Chinese medicine at the d0th concentration monitoring point, represents the quality data of traditional Chinese medicine at the d0th concentration monitoring point, It represents the dosage form data of traditional Chinese medicine at the d0th concentration monitoring point, w represents the user's weight coefficient, and x represents the dosage adjustment coefficient.
[0025] Furthermore, the specific constraint formula of the TCM drug incompatibility assessment coefficient is:
[0026]
[0027] Wherein, ψ4 represents the evaluation coefficient of TCM incompatibility, which is used to evaluate the comprehensive influence of TCM drug properties, TCM drug interactions and TCM drug dosage ratio on TCM incompatibility, ψ1 represents the evaluation coefficient of TCM drug properties, ψ2 represents the evaluation coefficient of TCM drug interactions, ψ3 represents the evaluation coefficient of TCM drug dosage ratio, and λ represents the weight factor of TCM incompatibility.
[0028] Furthermore, the model training process of the medical big model in the detection method of TCM contraindications is: the medical big model is trained by the TCM drug contraindications evaluation coefficient, and the TCM incompatibility contraindications medical big model is obtained by continuously correcting it according to the loss function, and an allowable threshold is set. If the model parameters of the TCM incompatibility contraindications medical big model fall within the allowable threshold, the training of the TCM incompatibility contraindications medical big model is completed, and then a test set is extracted from the data set to test and correct the TCM incompatibility contraindications medical big model to obtain a more accurate and generalized mature TCM incompatibility contraindications medical big model.
[0029] The present application embodiment provides a system for detecting incompatibility of a large medical model in traditional Chinese medicine, which comprises:
[0030] The data collection module is used to collect information on incompatibility of traditional Chinese medicines, wherein the information on incompatibility of traditional Chinese medicines includes data on the properties of traditional Chinese medicines, data on the interaction between traditional Chinese medicines and data on the dosage ratio of traditional Chinese medicines.
[0031] The data processing module is used to process the information on incompatibility of traditional Chinese medicine and obtain the evaluation coefficient of traditional Chinese medicine and obtain the evaluation coefficient of incompatibility of traditional Chinese medicine through comprehensive evaluation.
[0032] The model training module is used to input the TCM drug incompatibility assessment coefficients into the medical big model for training to obtain the TCM drug incompatibility medical big model.
[0033] The model evaluation module is used to evaluate the TCM incompatibility and contraindications medical model and set an allowable threshold. If the model parameters of the training TCM incompatibility and contraindications medical model fall within the allowable threshold, the training of the TCM incompatibility and contraindications medical model is completed.
[0034] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
[0035] 1. The data collection module collects information data on TCM incompatibility contraindications, and the data processing module processes the data to calculate the TCM drug incompatibility contraindications assessment coefficient, thereby realizing data that can accurately assess the TCM drug properties, interactions and dosage assessment of TCM, effectively solving the problem of insufficient coverage of TCM incompatibility contraindications data in the prior art.
[0036] 2. The medical big model is trained according to the evaluation coefficient of TCM drug incompatibility through the model training module. Before starting the training, the initial parameters are set for the medical big model, the training data is input into the medical big model and forward propagated through the medical big model, and the model parameters of the medical big model are updated according to the loss function. The above steps are repeated to obtain the medical big model of TCM incompatibility, thereby filling the gap in the medical big model in TCM incompatibility.
[0037] 3. Evaluating the TCM incompatibility and contraindications medical model through the model evaluation module is a key step to ensure that its performance meets the requirements of specific tasks. The test set is used to evaluate the performance of the model according to the requirements, and the parameters of the model are adjusted according to the evaluation results to obtain a mature TCM incompatibility and contraindications medical model, thereby realizing a medical big model in the detection method and system accuracy of TCM incompatibility and contraindications. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] Figure 1 A flow chart of a method for detecting incompatibility of traditional Chinese medicine in a medical large model provided in an embodiment of the present application;
[0039] Figure 2 A structural diagram of a detection system for incompatibility of traditional Chinese medicine in a medical large model provided in an embodiment of the present application;
[0040] Figure 3 A schematic diagram of the data processing module structure of the medical large model provided in the embodiment of the present application in the detection system of the incompatibility of traditional Chinese medicine. DETAILED DESCRIPTION
[0041] The embodiments of the present application provide a method and system for detecting incompatibility of medical large models in traditional Chinese medicine, thereby solving the problem in the prior art that it is difficult to improve the generalization and accuracy of the detection method of incompatibility of medical large models in traditional Chinese medicine. By collecting data according to a data collection module, analyzing data according to a data processing module, training models according to a model training module, and evaluating model performance according to a model evaluation module, the generalization and accuracy of the detection method of incompatibility of medical large models in traditional Chinese medicine is improved.
[0042] The technical solution in the embodiment of the present application is to solve the above-mentioned problem that it is difficult to improve the generalization and accuracy of the detection method of the medical large model in the incompatibility of traditional Chinese medicine. The overall idea is as follows:
[0043] The data acquisition module is used to obtain data on the properties of Chinese medicines, data on the interactions between Chinese medicines and data on the dosage ratios of Chinese medicines. The data analysis module is used to clean and analyze the collected data to obtain the evaluation coefficients for the incompatibility of Chinese medicines. The model training module is used to train the medical big model with the obtained evaluation coefficients. Finally, the model evaluation module is used to evaluate and determine the reliability and practicality of the medical big model for incompatibility of Chinese medicines, thereby achieving the effect of improving the generalization and accuracy of the medical big model's detection methods for incompatibility of Chinese medicines.
[0044] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0045] like Figure 1 As shown, it is a flow chart of a method for detecting incompatibility of a medical large model in traditional Chinese medicine provided by an embodiment of the present application. The method is applied to a detection system for incompatibility of a medical large model in traditional Chinese medicine. The method comprises the following steps:
[0046] Collect information on incompatibility of traditional Chinese medicine, including data on the properties of traditional Chinese medicine, data on drug interactions, and data on dosage ratios of traditional Chinese medicine;
[0047] Process the information of TCM incompatibility taboos to obtain TCM drug evaluation coefficients, and obtain TCM drug incompatibility taboo evaluation coefficients through comprehensive evaluation;
[0048] Input the TCM drug incompatibility assessment coefficient into the medical big model for training, and obtain the TCM drug incompatibility medical big model;
[0049] The TCM compatibility contraindications medical model is evaluated and an allowable threshold is set. If the model parameters of the TCM compatibility contraindications medical model fall within the allowable threshold, the training of the TCM compatibility contraindications medical model is completed.
[0050] In this embodiment, the specific analysis process of the detection method for obtaining TCM incompatibility contraindications is as follows: obtaining TCM drug attribute data, TCM drug interaction data and TCM drug dosage ratio data through a data acquisition module, cleaning and analyzing the collected data through a data analysis module to obtain a TCM drug incompatibility contraindications evaluation coefficient, training the medical big model with the obtained evaluation coefficient through a model training module, and finally evaluating the reliability and practicality of the TCM incompatibility contraindications medical big model through a model evaluation module.
[0051] Furthermore, the specific analysis process for obtaining the TCM drug property evaluation coefficient is as follows: statistically analyzing the relevant TCM drug property data that affect the TCM incompatibility contraindications, including: TCM drug HPLC data, TCM drug gas chromatography data, TCM drug mass spectrometry data and TCM drug attenuation coefficient.
[0052] In this embodiment, the TCM drug property evaluation coefficient is used to evaluate the impact of TCM drug properties on TCM incompatibility contraindications. The TCM drug property evaluation coefficient is obtained by evaluating TCM drug property data. The TCM drug property data is obtained from the following aspects: high performance liquid chromatography, gas chromatography and mass spectrometry are mainly accurate and reliable results measured through precision instruments and rigorous experiments.
[0053] Furthermore, the specific constraint formula of the TCM drug attribute evaluation coefficient obtained from this analysis is:
[0054]
[0055] In the formula, several temperature monitoring points are set and numbered in sequence, a0=1, 2, ..., a, a0 represents the number of the temperature monitoring point, a represents the total number of the temperature monitoring points, ψ1 represents the TCM drug property evaluation coefficient, which is used to evaluate the influence of TCM drug properties on TCM incompatibility taboos, represents the HPLC data of traditional Chinese medicine at the a0th temperature monitoring point, E ρ Represents the HPLC data of traditional Chinese medicine at standard temperature. represents the gas chromatography data of traditional Chinese medicine at the a0th temperature monitoring point, F ρ Represents the gas chromatography data of traditional Chinese medicine at standard temperature. represents the mass spectrometry data of traditional Chinese medicine at the a0th temperature monitoring point, G ρ represents the mass spectrometry data of traditional Chinese medicine at standard temperature, β1 represents the weight factor of the chemical components of traditional Chinese medicine, β2 represents the weight factor of the biological activity of traditional Chinese medicine, β3 represents the weight factor of the ambient temperature of traditional Chinese medicine, τ is the decay constant of traditional Chinese medicine, and S represents the attenuation coefficient of traditional Chinese medicine.
[0056] In this embodiment, high performance liquid chromatography is a chromatographic technique based on liquid mobile carriers, which is suitable for analyzing polar, non-polar and semi-polar compounds. In traditional Chinese medicine analysis, high performance liquid chromatography is often used to determine specific active ingredients in medicinal materials, such as glycosides, alcohols, phenols and other compounds.
[0057] Gas chromatography is a chromatographic technique based on gas phase mobile carriers, which is particularly suitable for analyzing volatile compounds. In the analysis of traditional Chinese medicine, gas chromatography is often used to determine the volatile oil components in medicinal materials.
[0058] Mass spectrometry is a highly sensitive and specific analytical tool that can provide mass and structural information of compounds.
[0059] Furthermore, the specific analysis process for obtaining the TCM drug interaction evaluation coefficient is as follows: statistically collect relevant TCM drug interaction data that affect TCM incompatibility, including: TCM drug active ingredient data, TCM drug ineffective ingredient data, TCM drug impurity data, TCM drug solubility data, TCM drug stability data and TCM drug fat solubility data.
[0060] In this embodiment, the TCM drug interaction evaluation coefficient is used to evaluate the impact of TCM drug interactions on TCM incompatibility contraindications. The TCM drug interaction evaluation coefficient is obtained by evaluating TCM drug interaction data, and the TCM drug interaction data is obtained from the following aspects: consulting the TCM pharmacopoeia, using database resources, searching for relevant research papers and review articles, conducting qualitative and quantitative analysis of active ingredients, impurities, etc. in TCM drugs, conducting solubility experiments on TCM drugs, such as using a dissolution instrument to determine the solubility of TCM drugs in different solvents, conducting stability experiments on TCM drugs, and conducting fat solubility experiments.
[0061] Furthermore, the specific constraint formula for the evaluation coefficient of drug interaction of traditional Chinese medicine is obtained from this analysis:
[0062]
[0063] In the formula, a number of time monitoring points are set and numbered in sequence, c0 = 1, 2, ..., c, c0 represents the number of the time monitoring point, c represents the total number of the time monitoring point numbers, a number of concentration monitoring points are set and numbered in sequence, b0 = 1, 2, ..., b, b0 represents the number of the concentration monitoring point, b represents the total number of the concentration monitoring point numbers, ψ2 represents the TCM drug interaction evaluation coefficient, which is used to evaluate the impact of TCM drug interactions on TCM incompatibility taboos, Represents the data of effective ingredients of traditional Chinese medicine at the c0th time monitoring point, Indicates the ineffective component data of traditional Chinese medicine at the c0th time monitoring point, represents the impurity data of traditional Chinese medicine at the c0th time monitoring point, It represents the solubility data of traditional Chinese medicine at the c0th time monitoring point and the b0th concentration monitoring point. It represents the stability data of traditional Chinese medicine at the c0th time monitoring point and the b0th concentration monitoring point. It represents the data of fat solubility of traditional Chinese medicine at the c0th time monitoring point and the b0th concentration monitoring point. It represents the temperature data of traditional Chinese medicine at the c0th time monitoring point, and T represents the temperature data of traditional Chinese medicine under standard conditions.
[0064] In this embodiment, the effective ingredient data of traditional Chinese medicine refers to the ingredients in traditional Chinese medicine preparations or extracts that can produce pharmacological effects, such as saponins in ginseng, polysaccharides in astragalus, etc. The content, structure, biological activity and other information of these ingredients are crucial to determine the efficacy and mechanism of action of traditional Chinese medicine.
[0065] The ineffective ingredients of TCM drugs refer to those ingredients that are not significant or have no clear pharmacological effects, as opposed to the effective ingredients. Although they do not directly produce therapeutic effects, their presence will affect the quality and safety of TCM drugs.
[0066] Impurity data of traditional Chinese medicine refers to unexpected substances introduced during the production, processing or storage of traditional Chinese medicine or produced by the traditional Chinese medicine itself. These impurities can affect the quality, safety and efficacy of traditional Chinese medicine, so they need to be strictly controlled.
[0067] The solubility data of traditional Chinese medicine refers to the degree of solubility of traditional Chinese medicine in specific solvents. This characteristic will affect the preparation, bioavailability and efficacy of traditional Chinese medicine.
[0068] The stability data of traditional Chinese medicine refers to the ability of traditional Chinese medicine to maintain its quality and activity during storage and use. Stability data includes the sensitivity of traditional Chinese medicine to temperature, humidity, light, etc., as well as its chemical and microbial degradation.
[0069] The lipid solubility data of TCM drugs describes the ability of TCM drug molecules to pass through biological membranes. TCM drugs with high lipid solubility can pass through cell membranes more easily, but are also more likely to accumulate in the body, so they need to be used with caution.
[0070] Furthermore, the specific analysis process for obtaining the TCM drug dosage ratio evaluation coefficient is as follows: statistically analyzing the relevant TCM drug dosage ratio data that affect the TCM incompatibility contraindications, including: TCM medicinal material specifications, TCM finished product specifications, TCM drug quality data, TCM drug dosage form data, user's weight coefficient and dosage adjustment coefficient.
[0071] In this embodiment, the TCM drug dosage ratio evaluation coefficient is used to evaluate the impact of TCM drug dosage ratio on TCM incompatibility. The TCM drug dosage ratio evaluation coefficient is obtained by evaluating TCM drug dosage ratio data. The TCM drug dosage ratio data is obtained from the following aspects:
[0072] By consulting relevant standards and specifications, you can obtain basic information such as specifications, dosage forms, etc. of medicinal materials and finished products by consulting the "Chinese Pharmacopoeia", provincial and municipal pharmacopoeias, ministerial standards and other relevant standards and specifications.
[0073] Search academic literature and databases to obtain relevant research results and data by searching academic journals, conference papers, dissertations and other documents, as well as databases such as the National Drug Administration and China National Knowledge Infrastructure.
[0074] Carry out actual measurements and experiments. For some data that need to be obtained through experiments and measurements, such as the content of active ingredients in medicinal materials, the solubility of traditional Chinese medicines, etc., experiments can be designed and actual measurements can be carried out.
[0075] Comprehensive evaluation and calculation, based on the data and information obtained, comprehensively evaluate the quality of traditional Chinese medicine, dosage form, user's weight and condition and other factors, and calculate the dosage adjustment coefficient.
[0076] Furthermore, the specific constraint formula of the TCM drug dosage ratio evaluation coefficient is obtained from this analysis:
[0077]
[0078] In the formula, several concentration monitoring points are set and numbered in sequence, d0 = 1, 2, ..., d, d0 represents the number of the concentration monitoring point, d represents the total number of concentration monitoring points, ψ3 represents the TCM drug dosage ratio evaluation coefficient, which is used to evaluate the impact of TCM drug dosage ratio on TCM incompatibility. Indicates the specification data of Chinese medicine materials at the d0th concentration monitoring point, represents the specification data of the finished Chinese medicine at the d0th concentration monitoring point, Qd0 represents the quality data of the Chinese medicine at the d0th concentration monitoring point, It represents the dosage form data of traditional Chinese medicine at the d0th concentration monitoring point, w represents the user's weight coefficient, and x represents the dosage adjustment coefficient.
[0079] The specifications of Chinese medicine materials refer to the specific standards of the materials in terms of quality, size, shape, origin, medicinal part and harvesting time, which are directly related to the quality and efficacy of the materials.
[0080] The specifications of finished TCM products refer to the standardized quality attributes of Chinese patent medicines, Chinese herbal medicine slices and Chinese herbal pills, including: dosage, dosage form, packaging form, production process and quality standards. These attributes ensure the safety and effectiveness of the finished TCM products.
[0081] The quality of TCM refers to the level of TCM products in terms of raw materials, production processes, quality control, safety and effectiveness. The quality of TCM is directly related to the therapeutic effect and health safety of users.
[0082] The dosage form of traditional Chinese medicine refers to the shape and administration method of the drug during the preparation process, including: decoctions, pills, powders, ointments, tablets, injections and sprays. The dosage form will affect the absorption, distribution, metabolism and efficacy of the drug. The choice of dosage form depends on the nature of the drug, treatment needs, the user's condition and convenience factors.
[0083] The user's weight coefficient refers to a reference value for drug dosage that the physician will use to calculate based on the user's weight when prescribing medicine, ensuring individualized dosage and thus improving the effectiveness and safety of treatment.
[0084] The dosage adjustment coefficient refers to the coefficient for adjusting the dosage based on the user's specific condition, constitution, age factors, gender differences, drug interactions and special circumstances, ensuring that the drug treatment dose can effectively treat the disease and will not cause adverse reactions due to excessive treatment doses.
[0085] Furthermore, the specific analysis process for obtaining the TCM drug incompatibility assessment coefficient is as follows: statistically analyzing the relevant TCM drug incompatibility data that affect TCM drug incompatibility, including: TCM drug property assessment coefficient, TCM drug interaction assessment coefficient and TCM drug dosage ratio assessment coefficient.
[0086] In this embodiment, the TCM drug incompatibility assessment coefficient is used to assess the impact of the TCM drug property assessment coefficient, the TCM drug interaction assessment coefficient and the TCM drug dosage ratio assessment coefficient on the TCM incompatibility assessment coefficient.
[0087] Furthermore, the specific constraint formula for the evaluation coefficient of TCM drug incompatibility is:
[0088]
[0089] Wherein, ψ4 represents the evaluation coefficient of TCM incompatibility, which is used to evaluate the comprehensive influence of TCM drug properties, TCM drug interactions and TCM drug dosage ratio on TCM incompatibility, ψ1 represents the evaluation coefficient of TCM drug properties, ψ2 represents the evaluation coefficient of TCM drug interactions, ψ3 represents the evaluation coefficient of TCM drug dosage ratio, and λ represents the weight factor of TCM incompatibility.
[0090] Furthermore, a model training process of a medical big model in the detection method of TCM incompatibility contraindications is as follows: the medical big model is trained through the TCM drug incompatibility contraindications evaluation coefficient, the medical big model is continuously corrected according to the loss function, and an allowable threshold is set. If the model parameters of the TCM incompatibility contraindications medical big model fall within the allowable threshold, the training of the TCM incompatibility contraindications medical big model is completed, and then a test set is extracted from the data set to test and correct the TCM incompatibility contraindications medical big model to obtain a more accurate and generalized mature TCM incompatibility contraindications medical big model.
[0091] like Figure 2 As shown, it is a structural diagram of a detection system for incompatibility of a medical large model in traditional Chinese medicine provided by an embodiment of the present application. The method is applied to the detection system for incompatibility of a medical large model in traditional Chinese medicine. The system includes:
[0092] The data collection module collects and organizes a data set containing information on TCM incompatibility, including: TCM drug properties, TCM drug interactions based on ancient medicine and modern research, and TCM drug dosage ratios. The data processing module collects information on TCM incompatibility often includes a lot of noise and redundant information, which requires data cleaning, denoising, and feature extraction to improve data quality. The model training module uses the processed information on TCM incompatibility to train the medical big model, and continuously optimizes the model parameters of the medical big model to improve the prediction accuracy and generalization ability of the medical big model. The model evaluation module evaluates the TCM incompatibility medical big model by setting an allowable threshold to determine the reliability and practicality of the TCM incompatibility medical big model.
[0093] In this embodiment, information collected by a medical big model in a data collection module of a detection system for incompatibility of traditional Chinese medicines includes: traditional Chinese medicine attribute data, traditional Chinese medicine drug interaction data and traditional Chinese medicine drug dosage ratio data.
[0094] In this embodiment, the medical big model is trained by the TCM drug contraindications assessment coefficient obtained by the data analysis module, and an allowable threshold is set. If the model parameters of the TCM drug contraindications medical big model fall within the allowable threshold, the training of the TCM drug contraindications medical big model is completed, and then the untrained data is extracted from the data set in the data collection module as a representative test set to test and correct the TCM drug contraindications medical big model, so as to obtain a more accurate and generalized mature TCM drug contraindications medical big model.
[0095] like Figure 3As shown, it is a schematic diagram of the structure of the data processing module of the medical large model in the detection system of the incompatibility of traditional Chinese medicine provided by the embodiment of the present application. The data processing module of the medical large model in the detection system of the incompatibility of traditional Chinese medicine provided by the embodiment of the present application includes:
[0096] The TCM drug property unit is used to evaluate the TCM drug properties and obtain the TCM drug property evaluation coefficient. The TCM drug interaction unit is used to evaluate the TCM drug interaction and obtain the TCM drug interaction evaluation coefficient. The TCM drug dosage ratio unit is used to evaluate the TCM drug dosage ratio and obtain the TCM drug dosage ratio evaluation coefficient. The TCM incompatibility contraindication evaluation unit is used to constrain the TCM drug property evaluation coefficient, the TCM drug interaction evaluation coefficient and the TCM drug dosage ratio evaluation coefficient to obtain the TCM drug incompatibility contraindication evaluation coefficient.
[0097] The technical scheme in the above-mentioned embodiment of the present application has at least the following technical effects or advantages: relative to a medical model training method, medical method, device, equipment and storage medium disclosed in the patent application with publication number: CN117273167A, the embodiment of the present application obtains the TCM drug incompatibility assessment coefficient through comprehensive evaluation of drug properties, drug interactions and drug dosage ratios, thereby training the medical big model more comprehensively, thereby improving the generalization of the medical big model in the TCM incompatibility detection method and system; relative to a network model adjustment method and device for medical images disclosed in the patent application with publication number: CN111915000A, the embodiment of the present application tests the training results of the medical model with a test set, thereby correcting the medical big model, thereby improving the accuracy of the medical big model in the TCM incompatibility detection method and system.
[0098] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0099] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0100] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0101] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0102] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0103] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for detecting incompatibility of traditional Chinese medicine with a large medical model, characterized in that: The following steps are involved: Collecting information on incompatibility of traditional Chinese medicine, including data on the properties of traditional Chinese medicine, data on the interaction of traditional Chinese medicine and data on the dosage ratio of traditional Chinese medicine; Process the information of TCM incompatibility taboos to obtain TCM drug evaluation coefficients, and obtain TCM drug incompatibility taboo evaluation coefficients through comprehensive evaluation; Input the TCM drug incompatibility assessment coefficient into the medical big model for training, and obtain the TCM drug incompatibility medical big model; The TCM compatibility and contraindications medical model is evaluated, and an allowable threshold is set. If the model parameters of the trained TCM compatibility and contraindications medical model fall within the allowable threshold, the training of the TCM compatibility and contraindications medical model is completed.
2. The method for detecting incompatibility of traditional Chinese medicine with a medical model as claimed in claim 1, characterized in that: The specific collection process of the information on incompatibility of traditional Chinese medicine is as follows: A data set containing information on TCM incompatibility is obtained through the TCM drug incompatibility database, which includes TCM drug attribute data, TCM drug interaction data and TCM drug dosage ratio data.
3. The method for detecting incompatibility of traditional Chinese medicine with a medical model as claimed in claim 1, characterized in that: The specific analysis process of processing the information on incompatibility of traditional Chinese medicine is as follows: The TCM drug evaluation coefficients include TCM drug property evaluation coefficients, TCM drug interaction evaluation coefficients and TCM drug dosage ratio evaluation coefficients; Evaluate the TCM drug attribute data in the data set to obtain TCM drug attribute evaluation coefficients; The TCM drug interaction data in the data set are evaluated to obtain the TCM drug interaction evaluation coefficient; Evaluate the TCM drug dosage ratio data in the data set to obtain a TCM drug dosage ratio evaluation coefficient; The obtained TCM drug property evaluation coefficient, TCM drug interaction evaluation coefficient and TCM drug dosage ratio evaluation coefficient are comprehensively evaluated to obtain the TCM drug incompatibility evaluation coefficient.
4. The method for detecting incompatibility of traditional Chinese medicine with a medical model as claimed in claim 1, characterized in that: The specific training process of inputting the TCM drug incompatibility assessment coefficient into the medical big model for training is as follows: Select the recurrent neural network model architecture, train the medical big model through the evaluation coefficient of TCM drug incompatibility, and continuously modify the TCM drug incompatibility medical big model according to the loss function to meet the allowable threshold.
5. The method for detecting incompatibility of traditional Chinese medicine with a medical model as claimed in claim 1, characterized in that: The specific evaluation process of evaluating the TCM incompatibility medical model is as follows: Data that did not participate in the training of the medical big model were extracted from the dataset, and a representative test set was constructed using the data that did not participate in the training of the medical big model. The test set contained samples with incompatibility contraindications and samples without incompatibility contraindications, and the performance of the medical big model of TCM incompatibility contraindications was evaluated. The medical big model of TCM incompatibility contraindications was tested using the test set to obtain a mature medical big model of TCM incompatibility contraindications.
6. The method for detecting incompatibility of traditional Chinese medicine with a medical model as claimed in claim 3, characterized in that: The specific constraint formula of the TCM drug property evaluation coefficient is: In the formula, several temperature monitoring points are set and numbered in sequence, a0=1, 2, ..., a, a0 represents the number of the temperature monitoring point, a represents the total number of the temperature monitoring points, ψ1 represents the TCM drug property evaluation coefficient, which is used to evaluate the influence of TCM drug properties on TCM incompatibility taboos, represents the HPLC data of traditional Chinese medicine at the a0th temperature monitoring point, E ρ Represents the HPLC data of traditional Chinese medicine at standard temperature. represents the gas chromatography data of traditional Chinese medicine at the a0th temperature monitoring point, F ρ Represents the gas chromatography data of traditional Chinese medicine at standard temperature. represents the mass spectrometry data of traditional Chinese medicine at the a0th temperature monitoring point, G ρ represents the mass spectrometry data of traditional Chinese medicine at standard temperature, β1 represents the weight factor of the chemical components of traditional Chinese medicine, β2 represents the weight factor of the biological activity of traditional Chinese medicine, β3 represents the weight factor of the ambient temperature of traditional Chinese medicine, τ is the decay constant of traditional Chinese medicine, and S represents the attenuation coefficient of traditional Chinese medicine.
7. The method for detecting incompatibility of traditional Chinese medicine with a medical model as claimed in claim 3, characterized in that: The specific constraint formula of the TCM drug interaction evaluation coefficient is: In the formula, a number of time monitoring points are set and numbered in sequence, c0 = 1, 2, ..., c, c0 represents the number of the time monitoring point, c represents the total number of the time monitoring point numbers, a number of concentration monitoring points are set and numbered in sequence, b0 = 1, 2, ..., b, b0 represents the number of the concentration monitoring point, b represents the total number of the concentration monitoring point numbers, ψ2 represents the TCM drug interaction evaluation coefficient, which is used to evaluate the impact of TCM drug interactions on TCM incompatibility taboos, Represents the data of effective ingredients of traditional Chinese medicine at the c0th time monitoring point, Indicates the ineffective component data of traditional Chinese medicine at the c0th time monitoring point, represents the impurity data of traditional Chinese medicine at the c0th time monitoring point, It represents the solubility data of traditional Chinese medicine at the c0th time monitoring point and the b0th concentration monitoring point. It represents the stability data of traditional Chinese medicine at the c0th time monitoring point and the b0th concentration monitoring point. It represents the data of fat solubility of traditional Chinese medicine at the c0th time monitoring point and the b0th concentration monitoring point. It represents the temperature data of traditional Chinese medicine at the c0th time monitoring point, and T represents the temperature data of traditional Chinese medicine under standard conditions.
8. The method for detecting incompatibility of traditional Chinese medicine with a medical model as claimed in claim 4, characterized in that: The specific constraint formula of the TCM drug dosage ratio evaluation coefficient is: In the formula, several concentration monitoring points are set and numbered in sequence, d0 = 1, 2, ..., d, d0 represents the number of the concentration monitoring point, d represents the total number of concentration monitoring points, ψ3 represents the TCM drug dosage ratio evaluation coefficient, which is used to evaluate the impact of TCM drug dosage ratio on TCM incompatibility. Indicates the specification data of Chinese medicine materials at the d0th concentration monitoring point, Indicates the specification data of the finished Chinese medicine at the d0th concentration monitoring point, represents the quality data of traditional Chinese medicine at the d0th concentration monitoring point, It represents the dosage form data of traditional Chinese medicine at the d0th concentration monitoring point, w represents the user's weight coefficient, and x represents the dosage adjustment coefficient.
9. The method for detecting incompatibility of traditional Chinese medicine with a medical model as claimed in claim 3, characterized in that: The specific constraint formula of the TCM drug incompatibility assessment coefficient is: Wherein, ψ4 represents the evaluation coefficient of TCM incompatibility, which is used to evaluate the comprehensive influence of TCM drug properties, TCM drug interactions and TCM drug dosage ratio on TCM incompatibility, ψ1 represents the evaluation coefficient of TCM drug properties, ψ2 represents the evaluation coefficient of TCM drug interactions, ψ3 represents the evaluation coefficient of TCM drug dosage ratio, and λ represents the weight factor of TCM incompatibility.
10. A system for detecting incompatibility of traditional Chinese medicine with a large medical model, characterized in that: include: A data collection module is used to collect information on incompatibility of traditional Chinese medicines, wherein the incompatibility information of traditional Chinese medicines includes data on the properties of traditional Chinese medicines, data on the interaction between traditional Chinese medicines and data on the dosage ratio of traditional Chinese medicines; The data processing module is used to process the information of incompatibility of traditional Chinese medicine and obtain the evaluation coefficient of traditional Chinese medicine and obtain the evaluation coefficient of incompatibility of traditional Chinese medicine through comprehensive evaluation; The model training module is used to input the TCM drug incompatibility assessment coefficient into the medical big model for training, so as to obtain the TCM drug incompatibility medical big model; The model evaluation module is used to evaluate the TCM incompatibility and contraindications medical model and set an allowable threshold. If the model parameters of the training TCM incompatibility and contraindications medical model fall within the allowable threshold, the training of the TCM incompatibility and contraindications medical model is completed.
