Clinical acupuncture auxiliary method and system based on traditional Chinese medicine knowledge graph
By constructing a traditional Chinese medicine knowledge map and screening out acupuncture plans and acupuncture points combinations, the problem of poor rationality in acupuncture points selection is solved, and the scientificity and effectiveness of acupuncture points selection is improved.
Patent Information
- Application Number
- CN202510051579.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-14
- Publication Date
- 2025-05-23
- Estimated Expiration
- 2045-01-14
AI Technical Summary
In the prior art, the selection of acupuncture acupoints is easily influenced by the subjective experience of traditional Chinese medicine, resulting in relatively poor rationality.
A clinical acupuncture assisted method based on the traditional Chinese medicine knowledge graph is adopted. By obtaining the types of symptoms of the patients to be tested, matching acupuncture plans and acupuncture points combinations are screened out, and a target knowledge graph is constructed to assist in acupuncture points selection.
The rationality of acupuncture acupoint selection is improved. By analyzing the matching between the type of the disease and the acupuncture plan, appropriate acupoint combinations are recommended, which enhances the treatment effect and patient satisfaction.
Smart Images

Figure CN119480002B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of acupuncture point recommendation, and in particular to a clinical acupuncture auxiliary method and system based on a traditional Chinese medicine knowledge graph. Background Art
[0002] Acupuncture is an important part of traditional Chinese medicine, and its therapeutic effect has been widely recognized. At present, when traditional Chinese medicine practitioners conduct clinical acupuncture, they usually use the following method: based on the subjective experience of traditional Chinese medicine practitioners, acupuncture points are selected for patients for acupuncture treatment.
[0003] However, since the types and numbers of cases treated by different TCM practitioners are often different, the diagnostic experience of different TCM practitioners is often different. For example, some TCM practitioners may have rich experience in treating certain symptoms, but insufficient experience in treating certain symptoms. If acupuncture points are selected directly based on subjective experience, the results of acupuncture point selection may be greatly influenced by the subjective experience of TCM practitioners, which may lead to relatively poor rationality in the selection of some acupuncture points. Summary of the invention
[0004] In order to solve the technical problem of relatively poor rationality in the selection of acupuncture points, the present invention proposes a clinical acupuncture auxiliary method and system based on a traditional Chinese medicine knowledge graph.
[0005] In a first aspect, the present invention provides a clinical acupuncture auxiliary method based on a traditional Chinese medicine knowledge graph, the method comprising:
[0006] Obtain the disease type corresponding to the patient to be detected as the target disease type;
[0007] Filter out each matching solution of the target disease type from the pre-acquired target knowledge graph as the target solution;
[0008] Filter out the acupoints connected to each target solution from the target knowledge graph to form a target acupoint combination;
[0009] Methods for obtaining the target knowledge graph include:
[0010] According to the treatment effect, treatment duration and duration of each historical disease type under each reference scheme, determine the efficacy matching degree between each historical disease type and each reference scheme, wherein the reference scheme of the historical disease type is the historical acupuncture scheme that has treated the disease of the historical disease type;
[0011] Determine the practical matching degree between each historical disease type and each of its reference schemes according to the number of acupuncture points included in each reference scheme of each historical disease type, and the treatment duration and disease duration of each historical disease type under each of its reference schemes;
[0012] According to the efficacy matching and practical matching between each historical disease type and all its reference plans, the matching plans are screened out from all the reference plans for each historical disease type;
[0013] According to the acupoint combination of each historical disease type under all its matching schemes, the matching acupoint combination corresponding to each historical disease type is obtained;
[0014] Connect each historical disease type with its matching solution, and connect the acupoints in the matching acupoint combination corresponding to each historical disease type with the historical acupuncture solution to which it belongs, to form the target knowledge graph.
[0015] In combination with the first aspect above, in a possible implementation, determining the efficacy matching degree between each historical disease type and each of its reference schemes according to the treatment effect, treatment duration, and duration of the disease under each of its reference schemes for each historical disease type includes:
[0016] Determine any one of the historical disease types as a marked disease type, and determine any one of the reference schemes of the marked disease type as a marked scheme;
[0017] Historical patients who have been treated with the marked regimen are selected from all historical patients whose disease type is the marked disease type as marked patients;
[0018] Obtain the treatment effect and treatment duration of each marked patient under the marked treatment regimen;
[0019] The mean of the treatment effects of all the marked patients under the marked regimen is determined as the target treatment effect of the marked disease type under the marked regimen;
[0020] The mean treatment duration of all marked patients under the marked regimen is determined as the target treatment duration of the marked disease type under the marked regimen;
[0021] Obtaining the duration of the symptom of each marked patient before treatment with the marked regimen, and determining the average duration of the symptom of all marked patients before treatment with the marked regimen as the target duration of the symptom of the marked symptom type under the marked regimen;
[0022] The efficacy match between the marked symptom type and the marked regimen is determined based on the target treatment effect, target treatment duration and target symptom duration of the marked symptom type under the marked regimen.
[0023] In combination with the first aspect above, in a possible implementation, determining the efficacy matching degree between the marked disease type and the marking scheme according to the target treatment effect, target treatment duration, and target disease duration of the marked disease type under the marking scheme includes:
[0024] The degree of efficacy matching between the marked symptom type and the marked regimen is determined based on the mean of the target treatment effects of the marked symptom type under all its reference regimens, the mean of the target treatment durations of the marked symptom type under all its reference regimens, the mean of the target symptom durations of the marked symptom type under all its reference regimens, and the target treatment effects, target treatment durations and target symptom durations of the marked symptom type under the marked regimen.
[0025] In combination with the first aspect above, in a possible implementation, the formula corresponding to the efficacy matching degree between the marked disease type and the marked scheme is:
[0026] ;in, It is the efficacy match between the marker disease type and the marker regimen; is the normalization function; is the target treatment effect for the labeled disease type under the labeled regimen; is the mean of the target treatment effect for the labeled condition type under all its reference regimens; is a natural exponential function; is the target treatment duration for the marked condition type under the marked regimen; is the mean of the target treatment duration for the marked disease type under all its reference regimens; is the duration of the target symptom of the tagged symptom type under the tagged scheme; It is the mean duration of the target symptom for the marked symptom type under all its reference schemes.
[0027] In combination with the first aspect above, in a possible implementation, the formula corresponding to the practical matching degree between the marked disease type and the marking scheme is:
[0028] ;in, is the practical match between the type of labeled condition and the labeling scheme; is the pre-assessed universality of the labeling scheme for the type of condition being labeled; is the number of acupoints included in the labeling scheme; is the treatment cost of the pre-assessed labeling regimen.
[0029] In combination with the first aspect above, in a possible implementation, the matching scheme is screened out from all reference schemes for each historical disease type according to the efficacy matching degree and practical matching degree between each historical disease type and all reference schemes thereof, including:
[0030] The efficacy matching degree between each historical disease type and all its reference schemes is sorted in ascending order to obtain the efficacy matching degree sequence corresponding to each historical disease type;
[0031] The practical matching degree between each historical disease type and all its reference solutions is sorted in ascending order to obtain a practical matching degree sequence corresponding to each historical disease type;
[0032] Determine the comprehensive matching degree between each historical disease type and each of its reference solutions according to the matching degree of efficacy and the matching degree of practicality between each historical disease type and each of its reference solutions, as well as the matching degree sequence of efficacy and the matching degree sequence of practicality corresponding to each historical disease type;
[0033] Any historical symptom type is determined as a marked symptom type, and a reference scheme having a comprehensive matching degree with the marked symptom type greater than a preset matching threshold is screened out from all reference schemes of the marked symptom type and recorded as a matching scheme of the marked symptom type.
[0034] In combination with the first aspect above, in a possible implementation, the formula corresponding to the comprehensive matching degree between the historical disease type and its reference solution is:
[0035] ;
[0036] ;
[0037] ;in, It is Historical disease types and their The comprehensive matching degree between the reference schemes; It is the serial number of the historical disease type; It is The serial number of the reference scheme for each historical disease type; It is Historical disease types and their The prominence of efficacy among the reference regimens; It is Historical disease types and their The efficacy matching degree between the reference regimens; It is Historical disease types and their The practical prominence between the reference solutions; It is Historical disease types and their The practical matching degree between the reference solutions; It is Historical disease types and their The efficacy matching degree between the reference regimens is The serial number in the efficacy matching sequence corresponding to the historical disease type; It is The mean of all efficacy matching degrees in the efficacy matching degree sequence corresponding to the historical disease type; It is Historical disease types and their The practical matching degree between the reference solutions is The serial number in the practical matching degree sequence corresponding to the historical disease type; It is The mean of all practical matching degrees in the practical matching degree sequence corresponding to the historical disease type.
[0038] In combination with the first aspect above, in a possible implementation, obtaining the matching acupoint combination corresponding to each historical disease type according to the acupoint combination of each historical disease type under all its matching schemes includes:
[0039] Determine each acupoint in the acupoint combination of each historical disease type under all matching schemes as the reference acupoint of each historical disease type;
[0040] Determine the utility factor corresponding to each reference acupoint of each historical disease type according to the number of times each reference acupoint of each historical disease type appears in all its matching schemes;
[0041] Selecting reference acupoints whose corresponding utility factors are greater than a preset utility threshold from all reference acupoints of each historical disease type as matching acupoints of each historical disease type;
[0042] All matching acupoints of each historical symptom type are combined to form a matching acupoint combination corresponding to each historical symptom type.
[0043] In combination with the first aspect above, in a possible implementation, determining the utility factor corresponding to each reference acupoint of each historical disease type according to the number of occurrences of each reference acupoint of each historical disease type in all its matching schemes includes:
[0044] Determine any historical disease type as a marked disease type, and determine any reference acupuncture point of the marked disease type as a marked acupuncture point;
[0045] The number of times the marked acupoint appears in all matching schemes of the marked disease type is determined as the target importance of the marked acupoint for the marked disease type;
[0046] The number of times the marked acupoint appears in all historical acupuncture schemes is determined as the overall importance of the marked acupoint;
[0047] Determine the proportion of the target importance of the marked acupoint to the marked disease type in the overall importance corresponding to the marked acupoint as the relative importance of the marked acupoint to the marked disease type;
[0048] According to the relative importance of the marked acupoint to the marked disease type, the functional factor corresponding to the marked acupoint of the marked disease type is determined, wherein the relative importance and the functional factor are positively correlated.
[0049] In a second aspect, the present invention provides a clinical acupuncture auxiliary system based on a traditional Chinese medicine knowledge graph, the system comprising:
[0050] A disease type acquisition module is used to acquire the disease type corresponding to the patient to be detected as the target disease type;
[0051] A solution screening module is used to screen out each matching solution of the target disease type from the pre-acquired target knowledge graph as a target solution;
[0052] The acupoint screening module is used to screen out the acupoints connected to each target solution from the target knowledge graph to form a target acupoint combination.
[0053] In a third aspect, a server is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the device executes the method in the first aspect or any possible implementation of the first aspect.
[0054] In a fourth aspect, a computer program product is provided, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.
[0055] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect.
[0056] The present invention has the following beneficial effects:
[0057] The clinical acupuncture auxiliary method based on the TCM knowledge graph of the present invention realizes the adaptive recommendation of appropriate acupoint combinations for the symptom types corresponding to the patients to be tested, thereby assisting TCM practitioners in the final acupoint selection, solving the technical problem of poor rationality of acupoint selection, and further improving the rationality of acupoint selection. Compared with directly selecting acupuncture points for patients based on subjective experience of traditional Chinese medicine, the present invention analyzes the relationship between symptom types, acupuncture schemes and acupuncture points, and quantifies the efficacy matching and practical matching that characterize the matching between different symptom types and acupuncture schemes. The greater the efficacy matching and practical matching between a symptom type and an acupuncture scheme, the more suitable the acupuncture scheme is for the symptom type, thereby screening out matching schemes suitable for historical symptom types. Generally speaking, the acupoints in an acupuncture scheme that is more suitable for a symptom type are often more suitable for the symptom type. Therefore, based on the acupoint combination of the historical symptom type under all its matching schemes, a matching acupoint combination that is more suitable for the historical symptom type can be obtained, thereby obtaining acupoint combinations suitable for different symptom types, which can assist traditional Chinese medicine in selecting suitable acupuncture points for patients to be tested. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0059] Figure 1 It is a flow chart of the clinical acupuncture auxiliary method based on the TCM knowledge graph of the present invention;
[0060] Figure 2 A flowchart of a method for acquiring a target knowledge graph of the present invention;
[0061] Figure 3 It is a schematic diagram of the composition structure of the clinical acupuncture auxiliary system based on the traditional Chinese medicine knowledge graph of the present invention;
[0062] Figure 4 The figure is a schematic diagram of the structure of a computer device of the present invention. DETAILED DESCRIPTION
[0063] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the specific implementation methods, structures, features and effects of the technical solutions proposed by the present invention are described in detail below in conjunction with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0064] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0065] refer to Figure 1 , showing the process of some embodiments of the clinical acupuncture auxiliary method based on the TCM knowledge graph of the present invention. The clinical acupuncture auxiliary method based on the TCM knowledge graph includes the following steps:
[0066] Step S1, obtaining the disease type corresponding to the patient to be detected as the target disease type.
[0067] The patient to be tested may be a patient to be treated with clinical acupuncture. The symptom type represents a symptom that can be treated with acupuncture. For example, the symptom type may be, but is not limited to, headache, stiff neck, and back pain.
[0068] In some embodiments, the disease type of the patient to be detected can be obtained through a doctor's diagnosis, and the disease type of the patient to be detected is recorded as the target disease type.
[0069] Step S2, filter out each matching solution of the target disease type from the pre-acquired target knowledge graph as the target solution.
[0070] Among them, the target knowledge graph can be a knowledge graph containing the relationship between different disease types, acupuncture schemes and acupoints. Acupuncture schemes are also called acupuncture treatment schemes. Acupoints refer to special point areas on the meridian lines of the human body. Chinese medicine can treat diseases by acupuncture at the corresponding meridian points. Generally speaking, the same disease type can often be treated with multiple acupuncture schemes. Each acupuncture scheme often requires acupuncture at multiple acupoints. The matching scheme for the target disease type can be a historical acupuncture scheme connected to the target disease type in the target knowledge graph. Among them, the historical acupuncture scheme can be an acupuncture scheme used in the past.
[0071] It should be noted that knowledge graph is an effective knowledge representation and reasoning tool that can be used to represent various entities and their relationships in the field of acupuncture treatment. By building a knowledge graph that includes symptoms, treatment plans, and acupoints, it can help doctors more intuitively understand the relationship between different entities and make more accurate treatment decisions.
[0072] In some embodiments, historical acupuncture plans associated with the target disease type can be filtered out from the target knowledge graph as the target plan.
[0073] like Figure 2 As shown, the process of the method for obtaining the target knowledge graph is shown, which may specifically include the following steps:
[0074] Step 201, determining the efficacy matching degree between each historical disease type and each of its reference schemes according to the treatment effect, treatment duration and disease duration of each historical disease type under each of its reference schemes.
[0075] Among them, the reference plan for the historical disease type can be a historical acupuncture plan that has treated diseases of the historical disease type.
[0076] As an example, determining the efficacy match between each historical disease type and each of its reference regimens may include the following steps:
[0077] In the first step, any historical disease type is determined as a marked disease type, and any reference scheme of the marked disease type is determined as a marked scheme.
[0078] In the second step, historical patients who have been treated with the marked regimen are screened out from all historical patients whose disease type is the marked disease type as marked patients.
[0079] Herein, the historical patient may be a patient who has suffered from a disease of the marker disease type.
[0080] The third step is to obtain the treatment effect and treatment duration of each marked patient under the marked treatment regimen.
[0081] The method for obtaining the treatment effect of the marked patient under the marked scheme treatment may be: through a doctor, the marked patient after the marked scheme treatment is evaluated for the treatment effect. Specifically, the marked patient after the marked scheme treatment may be given a rehabilitation score of 1-10 points. The better the marked patient's physical recovery, the higher the score. The score can be used to indicate the treatment effect of the marked patient under the marked scheme treatment. The treatment time of the marked patient under the marked scheme treatment may be the total time that the marked patient is treated by the marked scheme.
[0082] For example, if the marked patient has only suffered from a disease of the marked symptom type once in the past, and the marked treatment regimen was used during the treatment of the marked symptom type disease, the treatment effect of the marked treatment regimen during the disease treatment obtained through the doctor's scoring can be directly recorded as the treatment effect of the marked patient under the marked treatment regimen; the duration of treatment using the marked treatment regimen during the treatment can be recorded as the treatment duration of the marked patient under the marked treatment regimen; the duration of the marked patient suffering from the marked symptom type disease before the marked symptom type disease treatment can be recorded as the duration of the marked patient's symptoms before the marked treatment regimen.
[0083] If the marked patient has suffered from the marked symptom type disease multiple times in the past, and the marked treatment regimen was used in more than one treatment process of the marked symptom type disease, the doctor's scoring can be used to obtain the treatment effect of the marked treatment regimen in each treatment process of the marked symptom type disease, and the marked symptom type disease treatment process with the best marked treatment effect can be screened out from these marked symptom type disease treatment processes and recorded as the reference symptom type disease treatment process. The treatment effect of the marked treatment regimen in the reference symptom type disease treatment process can be recorded as the treatment effect of the marked patient under the marked treatment regimen; the duration of the marked treatment regimen in the reference symptom type disease treatment process can be recorded as the treatment duration of the marked patient under the marked treatment regimen; the duration of the marked symptom type disease of the marked patient before the reference symptom type disease treatment process can be recorded as the duration of the symptom of the marked patient before the marked treatment regimen.
[0084] It should be noted that some patients may not seek medical treatment in time when they are ill, resulting in a period of illness before treatment. The duration corresponding to this period is the duration of the symptoms before treatment in the embodiment of the present invention.
[0085] The fourth step is to determine the mean of the treatment effects of all marked patients under the marked regimen as the target treatment effect of the marked disease type under the marked regimen.
[0086] The fifth step is to determine the mean treatment duration of all marked patients under the marked regimen as the target treatment duration for the marked disease type under the marked regimen.
[0087] The sixth step is to obtain the duration of the symptoms of each marked patient before the marked regimen treatment, and determine the average duration of the symptoms of all marked patients before the marked regimen treatment as the target duration of the symptoms of the marked symptom type under the marked regimen.
[0088] The seventh step is to determine the efficacy match between the marked disease type and the marking scheme based on the target treatment effect, target treatment duration and target disease duration of the marked disease type under the marking scheme.
[0089] For example, the degree of efficacy match between the marked disease type and the marked regimen can be determined based on the mean of the target treatment effects of the marked disease type under all its reference regimens, the mean of the target treatment durations of the marked disease type under all its reference regimens, the mean of the target disease durations of the marked disease type under all its reference regimens, and the target treatment effects, target treatment durations and target disease durations of the marked disease type under the marked regimen.
[0090] For example, the formula for determining the efficacy match between the marked disease type and the marked scheme can be:
[0091] ;in, It is the degree of efficacy match between the marker disease type and the marker regimen. is a normalization function. It is the target treatment effect for the tagged disease type under the tagged regimen. is the mean of the target treatment effects for the labeled condition type under all its reference regimens. is a natural exponential function. is the target treatment duration for the marked condition type under the marked regimen. is the mean of the target treatment duration for the marked condition type under all its reference regimens. It is the duration of the target symptom of the marked symptom type under the marking scheme. It is the mean duration of the target symptom for the marked symptom type under all its reference schemes.
[0092] It should be noted that when When the value is larger, it often means that the effect of using the marked scheme to treat the marked disease type is more likely to be higher than the average acupuncture effect of treating the marked disease type, and it often means that the marked disease type is more suitable for treatment with the marked scheme. The smaller the value, the more likely it is that the treatment time for the disease with the marker type is lower than the average treatment time for the disease with the marker type, which means that the effect of the disease with the marker type is faster. The larger the value, the longer the duration of the disease before the marked disease type is treated with the marked solution. This often means that the effective treatment solution at this time may have a more important impact on the overall efficacy and often needs to be given more attention. The larger it is, the more it tends to indicate that before the marking scheme is used to treat the marked symptom type disease, even if the symptom persists for a long time, it will not hinder the effectiveness of the subsequent use of the marking scheme to treat the marked symptom type disease; it often indicates that the marked symptom type disease is more suitable for treatment with the marking scheme.
[0093] Step 202, determining the practical matching degree between each historical disease type and each of its reference schemes according to the number of acupoints included in each reference scheme of each historical disease type, and the treatment time and disease duration of each historical disease type under each of its reference schemes.
[0094] The number of acupoints included in the reference plan may be the total number of acupoints that need to be acupunctured in the reference plan.
[0095] As an example, the formula for determining the practical matching degree between the marked disease type and the marking scheme may be:
[0096] ;in, It is the practical match between the marker disease type and the marker scheme. It is the universality of the pre-evaluated marking scheme for the population of the marked disease type, which can characterize the treatment universality of the marking scheme for the population suffering from the marked disease type. Generally speaking, some acupuncture treatment schemes may not be suitable for people of all ages. The fewer the age groups they are applicable to, the lower the universality of the population can be considered. For example, the method for obtaining the universality of the marking scheme for the population of the marked disease type can be: divide the population into five age groups: children, teenagers, young people, middle-aged people and the elderly. For the population suffering from the marked disease type, if there are three age groups that can be treated with the marking scheme, then the universality of the marking scheme for the population of the marked disease type can be , that is, when each additional age group is included, the universality of the population can be increased . is the number of acupoints included in the labeling scheme. is the pre-estimated treatment cost of the marker regimen. The treatment cost of the marker regimen can be represented by the cost of the patient receiving treatment with the marker regimen.
[0097] It should be noted that when When the value is larger, it often means that the duration of the disease is longer, the treatment time is shorter, and the treatment effect is better; it often means that the marker disease type is more suitable for the marker solution to be treated. When the value is larger, it often indicates that the marking scheme is more commonly used and more practical. When the value is larger, it often means that the number of acupoints included in the marking scheme is larger, the marking scheme may be relatively complex, and the cost of treatment using the marking scheme is relatively higher; it often means that the practicability of the marking scheme is relatively poor. The larger it is, the higher the practicability of using the marker scheme to treat the marker symptom type disease, and the more suitable the marker symptom type disease is for treatment with the marker scheme.
[0098] Step 203 , according to the efficacy matching degree and practical matching degree between each historical disease type and all its reference solutions, a matching solution is screened out from all the reference solutions for each historical disease type.
[0099] As an example, filtering out matching solutions from all reference solutions for each historical disease type may include the following steps:
[0100] The first step is to sort the efficacy matching degree between each historical disease type and all its reference schemes in order from small to large, and obtain the efficacy matching degree sequence corresponding to each historical disease type.
[0101] It should be noted that the greater the serial number of the efficacy matching degree in the efficacy matching degree sequence, the greater the efficacy matching degree is, and the serial number of the efficacy matching degree in the efficacy matching degree sequence can be represented by a positive integer. For example, the serial number of the first efficacy matching degree in the efficacy matching degree sequence can be recorded as 1.
[0102] The second step is to sort the practical matching degrees between each historical disease type and all its reference solutions in order from small to large, and obtain the practical matching degree sequence corresponding to each historical disease type.
[0103] It should be noted that the larger the serial number of the practical matching degree in the practical matching degree sequence is, the larger the practical matching degree is, and the serial number of the practical matching degree in the practical matching degree sequence can be represented by a positive integer. For example, the serial number of the first practical matching degree in the practical matching degree sequence can be recorded as 1.
[0104] The third step is to determine the comprehensive matching degree between each historical disease type and each of its reference plans based on the efficacy matching degree and practical matching degree between each historical disease type and each of its reference plans, as well as the efficacy matching degree sequence and practical matching degree sequence corresponding to each historical disease type.
[0105] For example, the formula for determining the comprehensive matching degree between the historical disease type and its reference scheme can be:
[0106] ;
[0107] ;
[0108] ;in, It is Historical disease types and their The comprehensive matching degree between the reference schemes. It is the serial number of the historical disease type. It is The serial number of the reference scheme for each historical disease type. It is Historical disease types and their The efficacy prominence among the reference regimens. It is Historical disease types and their The efficacy matching degree between the reference regimens. It is Historical disease types and their The practical prominence between the two reference solutions. It is Historical disease types and their The practical matching degree between the reference solutions. It is Historical disease types and their The efficacy matching degree between the reference regimens is The sequence number in the efficacy matching sequence corresponding to the historical disease type. It is The mean of all efficacy matching degrees in the efficacy matching degree sequence corresponding to the historical disease type. It is Historical disease types and their The practical matching degree between the reference solutions is The serial number in the practical matching degree sequence corresponding to the historical disease type. It is The mean of all practical matching degrees in the practical matching degree sequence corresponding to the historical disease type.
[0109] It should be noted that Can As the weight of Can As the weight of. The larger the Historical disease types and their The higher the efficacy matching degree between the reference schemes, the higher the The average efficacy matching degree between the historical disease type and multiple acupuncture treatment plans; often indicates that the Historical disease types and their The efficacy match between the two reference regimens is relatively prominent. and The larger the Historical disease types and their The greater the efficacy match between the two reference schemes, the greater the The larger the Historical disease types and their The higher the practical matching degree between the reference solutions, the higher the The average practical matching degree between historical disease types and multiple acupuncture treatment plans; Historical disease types and their The practical match between the reference solutions is relatively prominent. and The larger the Historical disease types and their The greater the practical match between the reference solutions. The larger the The more historical disease types are, the more suitable they are to adopt A reference plan was used for treatment.
[0110] The fourth step is to determine any historical disease type as a marked disease type, and select from all reference solutions of the marked disease type a reference solution whose comprehensive matching degree with the marked disease type is greater than a preset matching threshold, and record it as a matching solution of the marked disease type.
[0111] The preset matching threshold may be a preset threshold for screening acupuncture treatment plans. For example, the preset matching threshold may be 0.6.
[0112] Step 204, according to the acupoint combination of each historical disease type under all its matching schemes, obtain the matching acupoint combination corresponding to each historical disease type.
[0113] As an example, obtaining the matching acupoint combination corresponding to each historical disease type may include the following steps:
[0114] In the first step, each acupoint in the acupoint combination of each historical disease type under all its matching schemes is determined as the reference acupoint of each historical disease type.
[0115] The acupoint combination under the matching scheme may include acupoints that need to be acupunctured in the matching scheme.
[0116] The second step, according to the number of occurrences of each reference acupoint of each historical disease type in all its matching schemes, determines the utility factor corresponding to each reference acupoint of each historical disease type, which may include the following sub-steps:
[0117] In the first sub-step, any historical symptom type is determined as a marked symptom type, and any reference acupoint of the marked symptom type is determined as a marked acupoint.
[0118] In the second sub-step, the number of times the marked acupoint appears in all matching schemes of the marked symptom type is determined as the target importance of the marked acupoint for the marked symptom type.
[0119] The third sub-step is to determine the number of times the marked acupoints appear in all historical acupuncture schemes as the overall importance corresponding to the marked acupoints.
[0120] The fourth sub-step is to determine the relative importance of the marked acupoint to the marked symptom type as the proportion of the target importance of the marked acupoint to the marked symptom type in the overall importance corresponding to the marked acupoint.
[0121] The fifth sub-step is to determine the functional factor corresponding to the above-mentioned marked acupoint of the above-mentioned marked symptom type according to the relative importance of the above-mentioned marked acupoint to the above-mentioned marked symptom type.
[0122] Among them, the relative importance and prominence are positively correlated with the utility factor.
[0123] For example, the formula for determining the functional factor corresponding to the acupuncture point that marks the type of disease is:
[0124] ;in, It is the functional factor corresponding to the acupuncture point that marks the type of disease. It is the target importance of marking acupuncture points for marking the type of disease. It is the overall importance of the marked acupoint. It is the relative importance and prominence of the marked acupuncture point in marking the type of disease.
[0125] It should be noted that in actual situations, if a certain acupuncture point appears more often in an acupuncture treatment plan suitable for a certain type of disease, it often means that the acupuncture point is more suitable for treating diseases of that type of disease, and it often means that the acupuncture point is more effective in treating diseases of that type of disease. The larger it is, the more times the marked acupoint appears in multiple matching schemes that are compatible with the marked disease type, which often means that the marked acupoint is more suitable for treating diseases of the marked disease type.
[0126] The third step is to select reference acupoints whose corresponding utility factors are greater than a preset utility threshold from all reference acupoints of each historical disease type as matching acupoints for each historical disease type.
[0127] The preset function threshold may be a preset threshold for acupoint screening, for example, the preset function threshold may be 0.8.
[0128] The fourth step is to combine all the matching acupoints of each historical symptom type into a matching acupoint combination corresponding to each historical symptom type.
[0129] Step 205, connect each historical disease type with its matching solution, and connect the acupoints in the matching acupoint combination corresponding to each historical disease type with the historical acupuncture solution to which it belongs, to form a target knowledge graph.
[0130] As an example, historical disease types, historical acupuncture schemes, and acupoints can be used as entities of the target knowledge graph, and each historical disease type is connected to each of its matching schemes, so that edges are formed between each historical disease type and each of its matching schemes; each acupoint in the matching acupoint combination corresponding to each historical disease type is connected to its corresponding historical acupuncture scheme, so that edges are formed between each acupoint in the matching acupoint combination and its corresponding historical acupuncture scheme. The knowledge graph formed at this time is the target knowledge graph.
[0131] It should be noted that you can choose a suitable graph database, such as Neo4j (Network Exploration and Optimization 4 Java, a graph database management system), to store and query knowledge graph data. Using graph database visualization tools or third-party visualization libraries, such as D3.js (Data-Driven Documents, an open source visualization library based on JavaScript), the knowledge graph can be displayed in a graphical way. When a doctor searches for a specific type of disease, the system will recommend the corresponding acupoint combination based on the match between the acupuncture treatment plan and the disease type. By analyzing these acupoint combinations, doctors can infer the most suitable treatment plan for the patient, thereby improving treatment effectiveness and patient satisfaction.
[0132] Step S3, filter out the acupoints connected to each target solution from the target knowledge graph to form a target acupoint combination.
[0133] In some embodiments, the matching acupoint combination corresponding to the target disease type may be recorded as the target acupoint combination.
[0134] refer to Figure 3Based on the same inventive concept as the above method embodiment, the present invention provides a clinical acupuncture auxiliary system based on a TCM knowledge graph, the system comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the above computer program is executed by the processor, the steps of implementing a clinical acupuncture auxiliary method based on a TCM knowledge graph may specifically include:
[0135] The disease type acquisition module 301 is used to acquire the disease type corresponding to the patient to be detected as the target disease type;
[0136] A solution screening module 302 is used to screen out each matching solution of the target disease type from the pre-acquired target knowledge graph as a target solution;
[0137] The acupoint screening module 303 is used to screen out the acupoints connected to each target solution from the target knowledge graph to form a target acupoint combination.
[0138] Figure 4 is a schematic diagram of the structure of a computer device provided by an embodiment of the present invention. Figure 4 As shown, the computer device 400 includes: a memory 401, a processor 402, and a computer program 403 stored in the memory 401 and running on the processor 402, wherein when the processor 402 executes the computer program 403, the computer device can execute any of the clinical acupuncture auxiliary methods based on the traditional Chinese medicine knowledge graph introduced above.
[0139] Based on the same inventive concept as the above method embodiment, the present invention provides a server, including a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the device executes any of the above clinical acupuncture auxiliary methods based on the traditional Chinese medicine knowledge graph.
[0140] Based on the same inventive concept as the above-mentioned method embodiment, the present invention provides a computer program product, which includes: computer program code, when the computer program code runs on a computer, enables the computer to execute any of the above-mentioned clinical acupuncture auxiliary methods based on the traditional Chinese medicine knowledge graph.
[0141] Based on the same inventive concept as the above-mentioned method embodiment, the present invention provides a computer-readable storage medium, which stores a computer program code. When the computer program code runs on a computer, the computer executes any of the above-mentioned clinical acupuncture auxiliary methods based on the traditional Chinese medicine knowledge graph.
[0142] In summary, compared with directly selecting acupuncture points for patients based on subjective experience of traditional Chinese medicine, the present invention analyzes the relationship between symptom types, acupuncture schemes and acupuncture points, and quantifies the efficacy matching and practical matching that characterize the matching between different symptom types and acupuncture schemes. The greater the efficacy matching and practical matching between a symptom type and an acupuncture scheme, the more suitable the acupuncture scheme is for the symptom type, thereby screening out matching schemes suitable for historical symptom types. Generally speaking, the acupoints in an acupuncture scheme that is more suitable for a symptom type are often more suitable for the symptom type. Therefore, based on the acupoint combination of the historical symptom type under all its matching schemes, a matching acupoint combination that is more suitable for the historical symptom type can be obtained, thereby obtaining acupoint combinations suitable for different symptom types, which can assist traditional Chinese medicine in selecting suitable acupuncture points for patients to be tested.
[0143] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features can be replaced by equivalents. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A clinical acupuncture auxiliary method based on TCM knowledge graph, characterized in that: The following steps are involved: Obtain the disease type corresponding to the patient to be detected as the target disease type; Filter out each matching solution of the target disease type from the pre-acquired target knowledge graph as the target solution; Filter out the acupoints connected to each target solution from the target knowledge graph to form a target acupoint combination; Methods for obtaining the target knowledge graph include: According to the treatment effect, treatment duration and duration of each historical disease type under each reference scheme, determine the efficacy matching degree between each historical disease type and each reference scheme, wherein the reference scheme of the historical disease type is the historical acupuncture scheme that has treated the disease of the historical disease type; Determine the practical matching degree between each historical disease type and each of its reference schemes according to the number of acupuncture points included in each reference scheme of each historical disease type, and the treatment duration and disease duration of each historical disease type under each of its reference schemes; According to the efficacy matching and practical matching between each historical disease type and all its reference plans, the matching plans are screened out from all the reference plans for each historical disease type; According to the acupoint combination of each historical disease type under all its matching schemes, the matching acupoint combination corresponding to each historical disease type is obtained; Connect each historical disease type with its matching solution, and connect the acupoints in the matching acupoint combination corresponding to each historical disease type with their corresponding historical acupuncture solution to form a target knowledge graph; Determining the efficacy matching degree between each historical disease type and each reference scheme according to the treatment effect, treatment duration and duration of the disease for each historical disease type under each reference scheme includes: Determine any historical disease type as a marked disease type, and determine any reference scheme of the marked disease type as a marked scheme; select historical patients who have been treated with the marked scheme from all historical patients whose disease types are the marked disease type, as marked patients; The mean of the treatment effects of all marked patients under the marked regimen is determined as the target treatment effect of the marked disease type under the marked regimen; the mean of the treatment duration of all marked patients under the marked regimen is determined as the target treatment duration of the marked disease type under the marked regimen; Obtain the duration of the symptoms of each marked patient before the marked regimen treatment, and determine the average duration of the symptoms of all marked patients before the marked regimen treatment as the target duration of the symptoms of the marked symptom type under the marked regimen; determine the efficacy matching degree between the marked symptom type and the marked regimen according to the target treatment effect, target treatment duration and target duration of the symptoms of the marked symptom type under the marked regimen; The formula corresponding to the efficacy matching degree between the marked disease type and the marked scheme is: ;in, It is the efficacy match between the marker disease type and the marker regimen; is the normalization function; is the target treatment effect for the labeled disease type under the labeled regimen; is the mean of the target treatment effect for the labeled condition type under all its reference regimens; is a natural exponential function; is the target treatment duration for the marked condition type under the marked regimen; is the mean of the target treatment duration for the marked disease type under all its reference regimens; is the duration of the target symptom of the tagged symptom type under the tagged scheme; is the mean duration of the target symptom of the marked symptom type under all its reference schemes; The formula corresponding to the practical matching degree between the labeled disease type and the labeling scheme is: ;in, is the practical match between the type of labeled condition and the labeling scheme; is the pre-assessed universality of the labeling scheme for the type of condition being labeled; is the number of acupoints included in the labeling scheme; is the treatment cost of the pre-assessed marker regimen; According to the efficacy matching and practical matching between each historical disease type and all reference solutions, matching solutions are screened out from all reference solutions for each historical disease type, including: The efficacy matching degree between each historical disease type and all its reference schemes is sorted in ascending order to obtain the efficacy matching degree sequence corresponding to each historical disease type; The practical matching degree between each historical disease type and all its reference solutions is sorted in ascending order to obtain a practical matching degree sequence corresponding to each historical disease type; Determine the comprehensive matching degree between each historical disease type and each of its reference solutions according to the matching degree of efficacy and the matching degree of practicality between each historical disease type and each of its reference solutions, as well as the matching degree sequence of efficacy and the matching degree sequence of practicality corresponding to each historical disease type; Determine any historical disease type as a marked disease type, and select from all reference solutions of the marked disease type a reference solution whose comprehensive matching degree with the marked disease type is greater than a preset matching threshold, and record it as a matching solution of the marked disease type; The formula for the comprehensive matching degree between historical disease types and their reference solutions is: ; ; ;in, It is Historical disease types and their The comprehensive matching degree between the reference schemes; It is the serial number of the historical disease type; It is The serial number of the reference scheme for each historical disease type; It is Historical disease types and their The prominence of efficacy among the reference regimens; It is Historical disease types and their The efficacy matching degree between the reference regimens; It is Historical disease types and their The practical prominence between the reference solutions; It is Historical disease types and their The practical matching degree between the reference solutions; It is Historical disease types and their The efficacy matching degree between the reference regimens is The serial number in the efficacy matching sequence corresponding to the historical disease type; It is The mean of all efficacy matching degrees in the efficacy matching degree sequence corresponding to the historical disease type; It is Historical disease types and their The practical matching degree between the reference solutions is The serial number in the practical matching degree sequence corresponding to the historical disease type; It is The mean of all practical matching degrees in the practical matching degree sequence corresponding to the historical disease type.
2. A clinical acupuncture auxiliary method based on TCM knowledge graph according to claim 1, characterized in that: The step of obtaining the matching acupoint combination corresponding to each historical symptom type according to the acupoint combination of each historical symptom type under all matching schemes thereof includes: Determine each acupoint in the acupoint combination of each historical disease type under all matching schemes as the reference acupoint of each historical disease type; Determine the utility factor corresponding to each reference acupoint of each historical disease type according to the number of times each reference acupoint of each historical disease type appears in all its matching schemes; Selecting reference acupoints whose corresponding utility factors are greater than a preset utility threshold from all reference acupoints of each historical disease type as matching acupoints of each historical disease type; All matching acupoints of each historical symptom type are combined to form a matching acupoint combination corresponding to each historical symptom type.
3. A clinical acupuncture auxiliary method based on TCM knowledge graph according to claim 2, characterized in that: The method of determining the utility factor corresponding to each reference acupoint of each historical disease type according to the number of occurrences of each reference acupoint of each historical disease type in all its matching schemes includes: Determine any historical disease type as a marked disease type, and determine any reference acupuncture point of the marked disease type as a marked acupuncture point; The number of times the marked acupoint appears in all matching schemes of the marked disease type is determined as the target importance of the marked acupoint for the marked disease type; The number of times the marked acupoint appears in all historical acupuncture schemes is determined as the overall importance of the marked acupoint; Determine the proportion of the target importance of the marked acupoint to the marked disease type in the overall importance corresponding to the marked acupoint as the relative importance of the marked acupoint to the marked disease type; According to the relative importance of the marked acupoint to the marked disease type, the functional factor corresponding to the marked acupoint of the marked disease type is determined, wherein the relative importance and the functional factor are positively correlated.
4. A clinical acupuncture auxiliary system based on TCM knowledge graph, characterized in that: It comprises a processor and a memory, wherein the processor is used to process instructions stored in the memory to implement a clinical acupuncture auxiliary method based on a traditional Chinese medicine knowledge graph as described in any one of claims 1-3.
Citation Information
Patent Citations
Moxibustion application scheme prediction method and device based on big data, electronic equipment and medium
CN116564541A