Multi-dimensional visualization method and device based on traditional Chinese medicine acupuncture knowledge graph
By constructing a knowledge map of Chinese medicine acupuncture and using multi-dimensional visualization methods to demonstrate the correlation between acupuncture points, meridians, pathogenesis and syndromes, the problem of difficult to understand the knowledge system of Chinese medicine acupuncture in the existing technology is solved, and the cognitive efficiency of beginners and the standardization of the treatment system is improved.
Patent Information
- Application Number
- CN202510394103.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-31
- Publication Date
- 2025-08-12
AI Technical Summary
The existing visualization method of the traditional Chinese medicine acupuncture knowledge graph is difficult to fully display the hierarchical relationship between data, especially for beginners, it is difficult to assist in understanding the traditional Chinese medicine acupuncture knowledge system.
Construct the knowledge map of traditional Chinese medicine acupuncture, and display the correlation between acupuncture points and meridians, pathogenesis and human organs, syndromes and diseases through multi-dimensional visualization methods of bubble charts and color charts. Different colors and shapes are used to form multi-dimensional visualization charts.
It improves beginners' understanding and understanding of Chinese medicine acupuncture knowledge, promotes the standardization of the acupuncture treatment system, and enhances the interpretability and user experience of the knowledge graph.
Smart Images

Figure CN120473169A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of text visualization technology, and specifically relates to a multidimensional visualization method and device based on a traditional Chinese medicine acupuncture knowledge graph. Background Art
[0002] A knowledge graph is a network-like knowledge base composed of attributed entities linked by relationships. It is a model for managing and serving massive amounts of knowledge in the context of big data. When applied to Traditional Chinese Medicine (TCM), knowledge graphs can effectively mine and describe connections between entities, store large amounts of knowledge in a standardized manner, and effectively integrate TCM knowledge, laying the foundation for TCM knowledge services and its inheritance and development. Currently, one type of knowledge visualization application of knowledge graphs in TCM uses journal articles as data sources, constructing co-occurrence graphs and clustering graphs using Citespace software to explain the structural characteristics of TCM information. These applications include the complexity of relationships and knowledge incompleteness of the "Nineteen Pathogenesis" ("Pathogenesis of Disease"), optimizing acupuncture point selection protocols for pediatric cerebral palsy, and summarizing research directions in TCM treatment of type 2 diabetes. Another type of visualization analysis enables intuitive application and efficient management of related entities such as prescriptions and medical records. For example, applications include visualizing prescription composition, visualizing the inherited experience of renowned physicians, and improving the quality of TCM. The existing TCM knowledge graph mainly presents the semantic relationship of entity nodes in the form of graph visualization, which is difficult to fully meet the needs of other data analysis scenarios such as statistics, clustering and time series. Therefore, it is necessary to supplement it with multi-dimensional visualization charts.
[0003] Knowledge graphs use graphical symbols to represent relationships between entities. Displaying them in two dimensions using point and edge connections cannot illustrate the hierarchical relationships between data, and nodes often overlap. Knowledge visualization within knowledge graphs aims to present a combination of experience, judgment, expectations, and understanding, driven by data and information, to enhance the user experience with knowledge graphs. Most studies focusing on acupoint selection methods have adopted relatively uniform visualization methods, often using aggregate visualizations based on basic charts such as bar charts, network diagrams, and scatter plots. These studies explore acupoint selection methods in Traditional Chinese Medicine (TCM) from the perspectives of acupoint indications, association rules, cluster analysis, and meridian frequency of application. For those new to TCM visualization, there is a need to expand knowledge visualization styles to more intuitively represent the relationship paths between graph data.
[0004] Therefore, existing technologies use knowledge graphs to extract knowledge about TCM and acupuncture to improve information acquisition efficiency. However, relying solely on knowledge graphs or simple visualization methods is insufficient to distinguish the relevance of TCM and acupuncture theoretical knowledge. Especially for learners new to TCM and acupuncture, knowledge graphs containing massive and complex data nodes still make it difficult to assist them in understanding TCM terminology and concepts, and to establish a complete TCM and acupuncture knowledge framework. Summary of the Invention
[0005] In order to overcome the above-mentioned problems existing in the prior art, the present invention provides a multidimensional visualization method and device based on a traditional Chinese medicine acupuncture knowledge graph, which is used to solve the above-mentioned problems existing in the prior art.
[0006] A multidimensional visualization method based on a knowledge graph of traditional Chinese medicine and acupuncture includes the following steps:
[0007] S1. Construct a knowledge graph of Traditional Chinese Medicine and Acupuncture;
[0008] S2. Visualize the acupuncture points and the meridians in the TCM acupuncture knowledge graph in the form of a graph to form a first color graph;
[0009] S3. Represent the pathogenesis and human organs in the TCM acupuncture knowledge graph with colored and differently shaped graphics to form a second color graph;
[0010] S4. Obtain a multidimensional visualization of the treatment points and syndromes corresponding to different diseases based on the syndromes in the TCM acupuncture knowledge graph, the first color map, and the second color map.
[0011] According to the aspects and any possible implementation methods described above, an implementation method is further provided, wherein S1 specifically includes: extracting text information from acupuncture books to obtain original text data of acupuncture points, treatment methods, treatment principles, meridians, symptoms and pathogenesis, and cleaning the text data to obtain the TCM acupuncture knowledge graph, wherein the TCM acupuncture knowledge graph also includes text describing the relationship between acupuncture points and symptoms, and diseases.
[0012] According to the above aspects and any possible implementation, an implementation is further provided, wherein the first color map is a bubble map, and the bubble map represents the distribution relationship of the fourteen meridians of the human body and their acupuncture points. The distribution position data set of the acupuncture points in the human body is set to A={head and face, chest and abdomen, back and waist, upper limbs, lower limbs}, and the distribution positions are encoded according to different colors. The relationship between the size of the bubble map and the number of acupuncture points is:
[0013]
[0014] Where r represents the radius of the bubble map, i represents the number of acupoints, and the bubble area of different locations A'={a1,a2,a3,a4,a5} on a meridian is:
[0015] Among them, a1, a2, a3, a4, and a5 represent the acupuncture points contained in a meridian counted through the knowledge graph.
[0016] According to the above aspects and any possible implementation, an implementation is further provided, wherein the human organs include heart, spleen, lungs, kidneys, liver, small intestine, large intestine, stomach, bladder and gallbladder, all of which are represented by circles.
[0017] According to the aspects and any possible implementations described above, an implementation is further provided, wherein the pathogenesis includes wind, cold, dampness, summer heat, dryness and heat, and all are represented by equilateral triangles.
[0018] According to the aspects and any possible implementation methods described above, an implementation method is further provided, which finds the corresponding pathogenesis and the corresponding human organs in the second color map according to the symptoms, finds the corresponding acupoints according to the description text of the relationship between the human organs and acupoints and the symptoms and diseases, searches the probability of the corresponding pathogenesis occurring in the acupoints in the known probability table, and uses the acupoints with a high probability of the pathogenesis occurring as treatment acupoints.
[0019] According to the aspects and any possible implementations described above, an implementation is further provided, wherein S4 also includes finding the meridians to which the treatment acupuncture points belong in the first color map and their specific positions on the meridians, and marking them on the human meridian map.
[0020] The present invention also provides a multi-dimensional visualization device based on a TCM acupuncture knowledge graph, which is used to implement the method, and includes:
[0021] Construction module for building a knowledge graph of traditional Chinese medicine and acupuncture;
[0022] The first forming module is used to visualize the acupuncture points and the meridians in the TCM acupuncture knowledge graph in the form of a graph to form a first color graph;
[0023] The second forming module is used to represent the pathogenesis and human organs in the TCM acupuncture knowledge graph with colors and different shapes to form a second color graph;
[0024] The visualization module is used to obtain a multidimensional visualization of the treatment points and syndromes corresponding to different diseases based on the syndromes in the traditional Chinese medicine acupuncture knowledge graph, the first color map and the second color map.
[0025] The present invention also provides a computer storage medium, on which a computer program is stored. The computer program is executed by a processor to implement the method described above.
[0026] The present invention further provides an electronic device, comprising:
[0027] a memory storing executable instructions;
[0028] A processor is configured to execute the executable instructions in the memory to implement the method.
[0029] Beneficial effects of the present invention
[0030] The multidimensional visualization method based on the TCM acupuncture knowledge graph of the present invention comprises: constructing a TCM acupuncture knowledge graph; visualizing the acupuncture points and the meridians in the TCM acupuncture knowledge graph in the form of a graph to form a first color graph; representing the pathogenesis and human organs in the TCM acupuncture knowledge graph in the form of colors and different shapes to form a second color graph; obtaining a multidimensional visualization graph of the treatment acupuncture points and syndromes corresponding to different diseases based on the syndromes in the TCM acupuncture knowledge graph, the first color graph and the second color graph. Based on the construction of the TCM acupuncture knowledge graph, the present invention proposes a new multidimensional knowledge visualization method, which explores the implicit knowledge obtained from the knowledge graph data for the correlation between meridians and acupuncture points, and syndromes and acupuncture points, and displays the triple relationship of the knowledge graph through an image-based and intuitive visualization method. It assists primary care doctors in forming a systematic understanding of acupuncture knowledge and promotes the standardization of the TCM acupuncture treatment system.
[0031] In addition, the present invention ensures the accuracy of visual presentation of knowledge based on the interpretable data facts sorted out based on the knowledge graph. At the same time, the multi-dimensional knowledge visualization style is combined with interactive exploration to assist beginners in exploring the relevance of traditional Chinese medicine and acupuncture knowledge in a form that is more in line with cognitive logic, and understand the acupoints belonging to meridians and the acupoint selection rules of syndromes, thereby improving the efficiency of cognition and construction of the knowledge system framework. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 This is a schematic diagram of the knowledge structure of the TCM ontology of the present invention;
[0033] Figure 2 A visual bubble diagram of the present invention;
[0034] Figure 3 It is a visual channel coding diagram of the pathogenesis of the disease of the present invention;
[0035] Figure 4 A schematic diagram of the acupoints, syndromes and symptoms description text of the present invention;
[0036] Figure 5 This is a schematic diagram of the relationship between the pathogenesis, symptoms, and acupoints of the present invention;
[0037] Figure 6 This is a statistical diagram of acupoints that intersect with the same disease according to the present invention;
[0038] Figure 7 This is a schematic diagram of high fever symptoms of the present invention;
[0039] Figure 8This is a human pictographic diagram of the present invention that marks the locations of treatment acupuncture points and syndrome names. DETAILED DESCRIPTION
[0040] To better understand the technical solutions of the present invention, the present invention includes but is not limited to the specific embodiments described below. Similar technologies and methods should be considered within the scope of protection of the present invention. To further clarify the technical problems, technical solutions, and advantages to be solved by the present invention, the following detailed description is provided in conjunction with the accompanying drawings and specific embodiments.
[0041] It should be understood that the embodiments described herein are only a portion of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative effort are within the scope of protection of the present invention.
[0042] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The singular forms "a", "an", "the" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms unless the context clearly indicates otherwise.
[0043] The present invention provides a multidimensional visualization method based on a traditional Chinese medicine acupuncture knowledge graph, comprising the following steps:
[0044] S1. Construct a knowledge graph of Traditional Chinese Medicine and Acupuncture;
[0045] S2. Visualize the acupuncture points and the meridians in the TCM acupuncture knowledge graph in the form of a graph to form a first color graph;
[0046] S3. Represent the pathogenesis and human organs in the TCM acupuncture knowledge graph with colored and differently shaped graphics to form a second color graph;
[0047] S4. Obtain a multidimensional visualization of the treatment points and syndromes corresponding to different diseases based on the syndromes in the TCM acupuncture knowledge graph, the first color map, and the second color map.
[0048] Furthermore, the S1 specifically includes: extracting text information from acupuncture books to obtain original text data of acupuncture points, treatment methods, treatment principles, meridians, symptoms and pathogenesis, and cleaning the text data to obtain the TCM acupuncture knowledge graph, which also includes text describing the relationship between acupuncture points and symptoms, and diseases.
[0049] Furthermore, the first color map is a bubble map, which represents the distribution relationship of the fourteen meridians of the human body and their acupuncture points. The distribution position data set of acupuncture points in the human body is set to A = {head and face, chest and abdomen, back and waist, upper limbs, lower limbs}, and the distribution positions are encoded according to different colors. The relationship between the size of the bubble map and the number of acupuncture points is:
[0050]
[0051] Where r represents the radius of the bubble map, i represents the number of acupoints, and the bubble area of different locations A'={a1,a2,a3,a4,a5} on a meridian is:
[0052] Among them, a1, a2, a3, a4, and a5 represent the acupuncture points contained in a meridian counted through the knowledge graph.
[0053] Furthermore, the human organs include heart, spleen, lungs, kidneys, liver, small intestine, large intestine, stomach, bladder and gallbladder, all of which are represented by circles.
[0054] Furthermore, the pathogenesis includes wind, cold, dampness, summer heat, dryness and heat, and all are represented by equilateral triangles.
[0055] Furthermore, the corresponding pathogenesis and the corresponding human organs are found in the second color map according to the symptoms, the corresponding acupoints are found according to the description text of the relationship between the human organs and acupoints and the symptoms and symptoms, the probability of the acupoints causing the corresponding pathogenesis is searched in the known probability table, and the acupoints with a high probability of causing the pathogenesis are used as treatment acupoints.
[0056] Furthermore, the S4 also includes finding the meridians to which the treatment acupuncture points belong in the first color map and their specific positions on the meridians, and marking them on the human meridian map.
[0057] Specifically, the specific process of the present invention is as follows:
[0058] Through knowledge graph technology, TCM acupuncture knowledge information is organized into structured data. Data facts are mined based on the relationship paths of the three types of entity nodes: acupoints, syndromes, and meridians. Multidimensional knowledge is then visualized through visual coding such as color and graphics, and the correlation between multidimensional knowledge is reflected according to the logical relationship of data analysis. The specific technical solution is as follows:
[0059] Construction of the knowledge graph of traditional Chinese medicine and acupuncture: First, mark books about acupuncture, such as the original text data about acupuncture points, treatment methods, treatment principles, meridians and symptoms in the "Compendium of Traditional Chinese Medicine and Acupuncture Clinical" edited by Wang Xuetai, that is, extract entities and entity relationships to construct the knowledge graph of traditional Chinese medicine and acupuncture. The acupuncture points (location, meridians), symptoms (types), and symptoms (main symptoms, treatment principles) in the graph are used as the data source for visual visual encoding. After cleaning these raw data, the entities and entity relationships in the data are extracted, and the structured data are uploaded to the Neo4j database using the py2neo library in python to form the knowledge graph of traditional Chinese medicine and acupuncture. This process of forming the graph is an existing common means, so the present invention does not limit it. The knowledge graph of traditional Chinese medicine and acupuncture includes the relationship between symptoms, pathogenesis and acupuncture points, such as Figure 1 As shown in the figure, the three parts of syndrome, pathogenesis and acupoints are subdivided, and the treatment of diseases with acupoints is taken as the core. The relationship is subdivided, and the names of meridians associated with acupoints and the relationship between acupoint positions are sorted out. Then the internal syndrome of the disease is introduced, and the acupoints are diagnosed and located through the main symptoms, manifestations and treatment principles of the syndrome. The positional relationship between acupoints and diseases is formed through the pathogenesis table, forming a logical relationship between syndromes, pathogenesis and acupoints, and then treating the disease. At the same time, when constructing the knowledge graph of traditional Chinese medicine acupuncture, the graph also includes the sorted description texts of acupoints, syndromes and symptoms. The specific content in the description text is as follows: Figure 4 shown.
[0060] Acupuncture knowledge correlation analysis: Use Cypher statements in the Neo4j database to query the relationship paths between acupoint entity nodes and other entity nodes such as meridians, syndromes, and treatment methods in the traditional Chinese medicine acupuncture knowledge graph. Use exploratory analysis methods such as statistical data and path exploration to mine the data facts implicit in the knowledge graph visualization. For example, the implicit data facts include but are not limited to visually presenting the treatment points and treatment methods for the same type of disease, and exploring the correlation between the disease and the acupoints.
[0061] The process for constructing a bubble chart or primary colormap is as follows: Acupoint-related content within the "Syndrome - Pathogenesis - Acupoint" framework is compiled from the established TCM acupuncture knowledge graph. Focusing on the fourteen meridian acupoints, the number and location of acupoints within each meridian are statistically analyzed. This is then visualized using a bubble chart. By combining acupoint location information with TCM's five-color theory, matching the locations of human organs with designated colors, the bubble chart allows for intuitive understanding of the meridians to which acupoints belong, the locations of their main components, and other information, enabling rapid information acquisition. This innovative visualization of syndromes within the "Syndrome - Pathogenesis - Acupoint" framework is constructed. Figure 2Circles of different sizes are used to represent the number of acupoints on the meridian, and different colors represent the distribution areas of the acupoints on the human body. For example, the largest circle represents 40 acupoints, the second largest has 30 acupoints, the third largest has 20 acupoints, and the smallest has 10 acupoints. Pink represents the head and face, light yellow represents the chest, abdomen and flanks, beige represents the back and waist, light blue represents the upper limbs, and light green represents the lower limbs.
[0062] The specific process of this step is as follows:
[0063] Analysis of the relationship between acupoints and meridians: Select acupoint entity nodes in the TCM acupuncture knowledge graph, filter and count the meridian nodes connected to each acupoint and the human body location. Apply the meridian map in TCM acupuncture knowledge as the basis to filter and classify acupoints, and count the location, name and other information of the acupoints contained in each meridian. Use superimposed bubble charts to represent the distribution relationship of the fourteen meridians and their acupoints, set the acupoint distribution position data set A = {head and face, chest and abdomen, back and waist, upper limbs, lower limbs}, and encode the human body distribution position according to different colors. The relationship between the size of the bubble chart and the number of acupoints:
[0064]
[0065] Where r represents the radius of the bubble chart, i represents the number of acupoints, and the constants in the formula can be adjusted according to the readability of the actual visualization element. Therefore, different parts of a meridian A'={a1,a2,a3,a4,a5}a1,a2,a3,a4,a5 represent the acupoints contained in a meridian counted through the knowledge graph. Expressed as Figure 2 The area of each bubble in .
[0066] The bubble size is expressed as:
[0067]
[0068] Based on the above formula, the area of the bubble chart reflects the number of acupoints, rather than the bubble radius. According to the public calculation, the bubbles representing the distribution of acupoints on different parts of the human body are arranged in a combination with the bottom ends aligned in the center. The final visualization is as follows Figure 2 In the bubble chart, you can quickly obtain macro information about acupoints and meridians, which facilitates the selection of acupoints and meridian location queries.
[0069] The construction process of the second color map is as follows: in color coding, the five colors are processed with the five internal organs and six spleens. Color coding means that the five internal organs and pathogenesis are represented by different colors and graphics, that is, the pathogenesis and organs related to the syndrome are expressed by color and shape. In color selection, the five colors are matched with the five internal organs. For example, white and pungent taste correspond to the lungs; red and bitter taste correspond to the heart; green and sour taste correspond to the liver; yellow and sweet taste correspond to the spleen; black and salty taste correspond to the kidneys. Circles are used to represent them in graphics. Therefore, circles of different colors represent different human organs. When matching the colors of the meridians, the colors of the selected organs and the five colors are grayed out to form a lighter color scheme, such as Figure 3 As shown in the first and second columns, the heart in the first column is represented by red, and the small intestine in the second column is represented by a color lighter than red, that is, pink, thereby forming a color coding of the five internal organs and six bowels. Among the six bowels, the triple energizer has no acupuncture points, so the present invention does not color-code the triple energizer. The pathogenesis corresponds to the onset of the disease, so different colors and graphics are also used to represent it. For example, the heat-related pathogenesis chooses the more matching red and equilateral triangle in color, which achieves a certain degree of adaptation in terms of intention. Therefore, Figure 3 As shown, the present invention constructs a visual coding set of circular graphics and color mapping of the internal organs (heart, liver, spleen, stomach, kidney, large intestine, small intestine, liver, gallbladder, and lungs) through which the meridians pass, and constructs a visual coding set of triangular graphics and color mapping of the pathogenesis (wind, cold, dampness, summer heat, dryness, and fire (heat)).
[0070] Combined with the relevant TCM content of each syndrome, draw Figure 5 The relationship between pathogenesis, syndrome and acupoints in the second color map is a visual representation of the relationship between "syndrome - pathogenesis - acupoints" in traditional Chinese medicine and acupuncture. According to the syndrome, the corresponding pathogenesis and the corresponding human organs are found in the second color map. Figure 4 The corresponding acupoints are found from the syndrome and symptom relationship description text shown in the figure, and probability statistics are performed on all the acupoints. The acupoints with high probability of occurrence of the pathogenesis are selected as the treatment acupoints, thereby forming Figure 5 The pathogenesis, syndromes, and acupoint relationships shown in the first color map are then used to mark the locations of the treatment acupoints on the human meridian map according to the meridians to which the treatment acupoints correspond in the first color map. Figure 8 The diagram shown is a pictographic diagram of the human body with the locations of therapeutic acupuncture points and the names of syndromes marked.
[0071] Visualization of multi-dimensional knowledge: Based on the data facts implicit in the knowledge graph of traditional Chinese medicine and acupuncture, the treatment points and treatment methods of the same type of disease are presented in a visual way, the correlation between the disease and the acupoints is explored, and the multi-dimensional knowledge visualization style is designed according to the three themes of the distribution of acupoint subordinate positions, the correlation between syndromes and corresponding acupoint treatment methods, and the correlation between acupoint treatment of diseases. Figure 8 ) and bubble charts, together explaining the hierarchical relationship between acupoints and meridians, as well as the distribution of acupoints on the meridians, and incorporating the concept of bone measurement to supplement the concept of acupoint selection in the human body pictogram. Among them, bone measurement is an ancient method that uses joints as the main landmark to measure the size and length of various parts of the body, and converts the size into a standard for acupoint selection in proportion; acupoint selection refers to selecting acupoints in the local area and nearby areas of pain, which is based on the effect of acupoints in close proximity. As mentioned above, Figure 5 The therapeutic acupuncture points shown are marked on the human body pictogram to form a Figure 8 The relevant acupoints are highlighted; the relationship between pathogenesis, symptoms and acupoints is designed to be visualized, and the categories of the five internal organs and symptoms and pathogenesis are encoded using colors and graphics. A visualization of the relationship between the three is formed in a bottom-up combination of "symptoms - pathogenesis - acupoints", and the treatment method for each syndrome is supplemented in the human body pictogram.
[0072] This paper takes the syndrome of "damp-heat stagnation" as an example, the pathogenesis of which is caused by "dampness" and "heat" invading the body. Figure 5 The circle marks the meridians to which the acupuncture points belong. The circle marks are based on Figure 3 The visual coding of the five internal organs associated with the meridians is formed, that is, Figure 2 Each meridian has a related organ name, and in the present invention, each meridian organ corresponds to Figure 3 The organs and their corresponding color graphics are represented. From the syndrome "damp-heat stagnation and steaming", we can know that the best treatment acupoints for damp-heat stagnation and steaming syndrome belong to the three meridians of Hand Yangming Large Intestine Meridian, Foot Taiyin Spleen Meridian, and Foot Yangming Stomach Meridian.
[0073] exist Figure 3 The visual encoding of Figure 4 Screening of text descriptions of syndromes, symptoms and therapeutic acupoints, Figure 4 As the basis for the refinement and extraction of Chinese medicine acupuncture knowledge, Figure 4 The syndrome-related content in the text content is further refined, and the syndromes, acupoints and treatment methods are screened out to publish treatment visualization analysis. Figure 4 The knowledge points in the can be further refined by visual information, thus constructing Figure 5 In the visualization diagram, select Figure 4The syndromes, pathogenesis and acupoints in the Figure 3 The visual encoding in the form of a new visualization of the syndrome, namely Figure 5 . Figure 8 by Figure 7 Taking the high fever syndrome collection as an example, the treatment acupoints are counted and the acupoints with high frequency are highlighted as a visual display to intuitively show how to treat high fever syndrome. Figure 7 Taking the disease of "high fever" as an example, the symptoms related to high fever are arranged and displayed in this visual style according to the visual coding.
[0074] set up Figure 4 Multiple data sets C1, C2, ...C for different disease syndromes n , whose intersection can be expressed as:
[0075] I=C1∩C2∩...∩C n
[0076] If I represents the internal data of the intersection, the content of I can be further defined, such as I = {x|x∈C1,x∈C2,...x∈C n}, here represents the intersection statistics of the therapeutic acupoints in the same syndrome, where x represents the therapeutic acupoint. Arrange by percentage of occurrence, calculate the frequency of each therapeutic acupoint x in the intersection, and then sort by this frequency. Assume that the frequency function is f(x), which is expressed as: f(x) = count(x) / total count, where count(x) represents the number of occurrences of a single therapeutic acupoint in this type of syndrome, and total count represents the number of occurrences of all therapeutic acupoints in this type of syndrome. The f(x) of the existing formula is used in f(x) = count(x) / total count, sorted(I, key = f, reverse = True) means that the number of occurrences of each acupoint in this type of syndrome is sorted in reverse order. The f in the formula is the f(x) function, which is expressed in percentage.
[0077] The intersection I is arranged from high to low according to the percentage of occurrence to obtain a statistical chart, such as Figure 6As shown, assuming that one of the syndromes corresponds to 29 therapeutic acupuncture points, as shown in the first column (not fully shown in the figure), the probability of each acupuncture point appearing is obtained by dividing the corresponding number of acupuncture points in the third column by 29. For example, there are 21 kidney points, so the probability of using this acupuncture point as a therapeutic acupuncture point is 21 / 29=0.724138, which is the data in the second column. The statistical information is used to obtain the effectiveness ranking of acupuncture points for treating related diseases, and the knowledge content of acupuncture points for treating a type of syndrome in the text content is presented in a clear and readable manner. Therefore, the present invention finds the corresponding pathogenesis and the corresponding human organs in the second color map according to the syndrome, and finds the corresponding acupuncture points according to the text describing the relationship between the human organs and acupuncture points and the syndrome and symptoms. Figure 6 The probability corresponding to the acupoint is searched in the diagram shown, and the acupoint with a high probability of the pathogenesis is selected as the treatment acupoint. The meridian to which the treatment acupoint belongs in the first color diagram is found and marked on the human meridian diagram, so as to give treatment suggestions for the disease later.
[0078] As an embodiment disclosed by the present invention, the present invention further discloses a multidimensional visualization device based on a TCM acupuncture knowledge graph, the device being used to implement the method, the device comprising:
[0079] Construction module for building a knowledge graph of traditional Chinese medicine and acupuncture;
[0080] The first forming module is used to visualize the acupuncture points and the meridians in the TCM acupuncture knowledge graph in the form of a graph to form a first color graph;
[0081] The second forming module is used to represent the pathogenesis and human organs in the TCM acupuncture knowledge graph with colors and different shapes to form a second color graph;
[0082] The visualization module is used to obtain a multidimensional visualization of the treatment points and syndromes corresponding to different diseases based on the syndromes in the traditional Chinese medicine acupuncture knowledge graph, the first color map and the second color map.
[0083] As an embodiment disclosed in the present invention, the present invention further discloses a computer storage medium, on which a computer program is stored. The computer program is executed by a processor to implement the method described above.
[0084] As an embodiment disclosed in the present invention, the present invention further discloses an electronic device, comprising:
[0085] a memory storing executable instructions;
[0086] A processor is configured to execute the executable instructions in the memory to implement the method.
[0087] The foregoing description shows and describes several preferred embodiments of the present invention. However, as previously stated, it should be understood that the present invention is not limited to the form disclosed herein and should not be construed as excluding other embodiments. Instead, the present invention can be used in various other combinations, modifications, and environments and can be modified within the scope of the application concept described herein by the teachings above or by techniques or knowledge in the relevant art. Modifications and variations made by those skilled in the art that do not depart from the spirit and scope of the present invention are intended to be protected by the appended claims.
Claims
1. A multidimensional visualization method based on a knowledge graph of traditional Chinese medicine and acupuncture, characterized in that: The steps include: S1. Construct a knowledge graph of Traditional Chinese Medicine and Acupuncture; S2. Visualize the acupuncture points and the meridians in the TCM acupuncture knowledge graph in the form of a graph to form a first color graph; S3. Represent the pathogenesis and human organs in the TCM acupuncture knowledge graph with colored and differently shaped graphics to form a second color graph; S4. Obtain a multidimensional visualization of the treatment points and syndromes corresponding to different diseases based on the syndromes in the TCM acupuncture knowledge graph, the first color map, and the second color map.
2. The method according to claim 1, characterized in that The S1 specifically includes: extracting text information from acupuncture books to obtain original text data of acupuncture points, treatment methods, treatment principles, meridians, symptoms and pathogenesis, and cleaning the text data to obtain the TCM acupuncture knowledge graph, which also includes text describing the relationship between acupuncture points and symptoms, and diseases.
3. The method according to claim 1, characterized in that The first color map is a bubble map, which represents the distribution relationship between the fourteen meridians of the human body and their acupuncture points. The distribution position data set of acupuncture points in the human body is set to A = {head and face, chest and abdomen, back and waist, upper limbs, lower limbs}, and the distribution position is encoded according to different colors. The relationship between the size of the bubble map and the number of acupuncture points is: Where r represents the radius of the bubble map, i represents the number of acupoints, and the bubble area of different locations A'={a1,a2,a3,a4,a5} on a meridian is: Among them, a1, a2, a3, a4, and a5 represent the acupuncture points contained in a meridian counted through the knowledge graph.
4. The method according to claim 1, wherein The human organs include the heart, spleen, lungs, kidneys, liver, small intestine, large intestine, stomach, bladder and gallbladder, all of which are represented by circles.
5. The method according to claim 4, characterized in that The pathogenesis includes wind, cold, dampness, summer heat, dryness and heat, and all are represented by equilateral triangles.
6. The method according to claim 5, characterized in that S4 specifically includes: finding the corresponding pathogenesis and the corresponding human organ in the second color map according to the symptoms, finding the corresponding acupoint according to the description text of the relationship between the human organ and the acupoint and the symptoms and symptoms, searching the probability of the acupoint having the corresponding pathogenesis in the known probability table, and using the acupoint with a high probability of the pathogenesis as the treatment acupoint.
7. The method according to claim 6, characterized in that The step S4 further includes finding the meridians to which the treatment acupuncture points belong in the first color map and their specific locations on the meridians, and marking them on the human meridian map.
8. A multi-dimensional visualization device based on a knowledge graph of traditional Chinese medicine and acupuncture, characterized in that: The device is used to implement the method according to any one of claims 1 to 7, and the device includes: Construction module for building a knowledge graph of traditional Chinese medicine and acupuncture; The first forming module is used to visualize the acupuncture points and the meridians in the TCM acupuncture knowledge graph in the form of a graph to form a first color graph; The second forming module is used to represent the pathogenesis and human organs in the TCM acupuncture knowledge graph with colors and different shapes to form a second color graph; The visualization module is used to obtain a multidimensional visualization of the treatment points and syndromes corresponding to different diseases based on the syndromes in the traditional Chinese medicine acupuncture knowledge graph, the first color map and the second color map.
9. A computer storage medium, characterized in that The medium stores a computer program, which is executed by a processor to implement the method according to any one of claims 1 to 7.
10. An electronic device, characterized in that: The electronic device comprises: a memory storing executable instructions; A processor, wherein the processor runs the executable instructions in the memory to implement the method according to any one of claims 1 to 7.