Traditional Chinese medicine intelligent diagnosis and treatment method and system for endometriosis and storage medium

By constructing a traditional Chinese medicine literature database and standard syndrome vector, combining the calculation of patient symptom elements, determining the target syndrome and recommending treatment plans, the complexity and uncertainty of traditional Chinese medicine diagnosis is solved, and the accuracy of judgment of endometriosis is improved.

CN119724498APending Publication Date: 2025-03-28GUANGDONG HOSPITAL OF TRADITIONAL CHINESE MEDICINE
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411603162.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-11
Publication Date
2025-03-28

AI Technical Summary

Technical Problem

Traditional Chinese medicine has complexity, ambiguity and uncertainty in diagnosing endometriosis, resulting in low accuracy of judgment results.

Method used

By constructing a literature database for the treatment of endometriosis in traditional Chinese medicine, standard syndrome vectors are constructed, patient symptom elements are collected, vector distance is calculated, target syndrome type is determined, and treatment plans are recommended based on syndrome type and treatment purpose information.

Benefits of technology

It reduces the dependence on physician experience and improves the accuracy of endometriosis judgment results.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119724498A_ABST
    Figure CN119724498A_ABST
Patent Text Reader

Abstract

The invention discloses a traditional Chinese medicine intelligent diagnosis and treatment method and system for endometriosis and a storage medium, and can be applied to the technical field of traditional Chinese medicine diagnosis. After a first literature database for treating endometriosis in traditional Chinese medicine is constructed, first standard syndrome type vectors are constructed according to the first literature database, and after first symptom elements of a target object are collected, vector distances between the first symptom elements and the first standard syndrome type vectors are calculated; the target syndrome type of the target object is determined according to the vector distance, then the treatment purpose information of the target object is obtained, and then the recommended treatment scheme of the target object is determined from the first literature database according to the target syndrome type and the treatment purpose information, so that the dependence on physician experience is reduced, and the treatment efficiency is improved. And the accuracy of an endometriosis judgment result is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of traditional Chinese medicine diagnosis, and in particular to a traditional Chinese medicine intelligent diagnosis and treatment method, system and storage medium for endometriosis. Background Art

[0002] In the relevant technologies, the unique theoretical system and rich clinical experience of traditional Chinese medicine play an irreplaceable role in the prevention and treatment of diseases. However, the complexity of traditional Chinese medicine and the extensiveness of its knowledge also bring challenges to its modernization. Syndrome differentiation and treatment is the theoretical and practical cornerstone of traditional Chinese medicine. It is the basic principle that guides traditional Chinese medicine physicians to diagnose, analyze and treat patients' conditions. It is the core and key of traditional Chinese medicine diagnosis and treatment. In the process of judging endometriosis, traditional syndrome differentiation is that the physician gives the judgment result to the patient based on his or her diagnosis and treatment experience. This judgment method that relies on one's own diagnosis and treatment experience is complex, ambiguous and uncertain, which leads to the low accuracy of the final result.

[0003] In summary, the technical problems existing in the relevant technologies need to be improved. Summary of the invention

[0004] The main purpose of the embodiments of the present application is to propose a TCM intelligent diagnosis and treatment method, system and storage medium for endometriosis, which can effectively improve the accuracy of the judgment results of endometriosis.

[0005] To achieve the above objectives, one aspect of the embodiments of the present application provides a TCM intelligent diagnosis and treatment method for endometriosis, the method comprising the following steps:

[0006] To build the first literature database on TCM treatment of endometriosis;

[0007] Constructing a first standard syndrome type vector according to the first literature database;

[0008] Collect the first symptom elements of the target object;

[0009] Calculating the vector distance between the first symptom element and a plurality of the first standard syndrome vectors;

[0010] Determining the target syndrome type of the target object according to the vector distance;

[0011] Obtaining treatment purpose information of the target subject;

[0012] According to the target syndrome type and the treatment purpose information, a recommended treatment plan for the target object is determined from the first literature database, and the recommended treatment plan includes traditional Chinese medicine treatment methods and traditional Chinese medicine prescriptions.

[0013] In some embodiments, the construction of the first literature database on TCM treatment of endometriosis includes:

[0014] Acquiring a number of second document data;

[0015] Screening a plurality of the second literature data to obtain the second literature data containing endometriosis as the third literature data;

[0016] Performing data structure conversion on the third document data to obtain first document data;

[0017] All the first document data are saved in the first document database.

[0018] In some embodiments, converting the third document data into a data structure to obtain the first document data includes:

[0019] The data structure of the third document data is converted into a JSON data structure to obtain the first document data.

[0020] In some embodiments, constructing a first standard syndrome type vector according to the first literature database includes:

[0021] Extracting the first syndrome type names of all the first document data in the first document database;

[0022] Standardize and unify all the first syndrome type names to obtain the second syndrome type name;

[0023] Obtain the second symptom element corresponding to each of the second syndrome type names;

[0024] Classifying the second symptom elements to obtain a symptom element classification table;

[0025] The symptom element classification table is converted into the first standard syndrome type vector of the TCM dialectical space.

[0026] In some embodiments, calculating the vector distance between the first symptom element and a plurality of the first standard syndrome vectors includes:

[0027] Acquire the second symptom element related to the first symptom element from the TCM dialectical space as the third symptom element;

[0028] Acquire the first standard syndrome type vector corresponding to the third symptom element as the second standard syndrome type vector;

[0029] Calculate the vector distance between the vector corresponding to the first symptom element and a plurality of the second standard syndrome type vectors.

[0030] In some embodiments, determining the target syndrome type of the target object according to the vector distance includes:

[0031] The syndrome type corresponding to the vector distance greater than the preset distance is selected as the target syndrome type of the target object.

[0032] In some embodiments, determining the recommended treatment plan for the target subject from the first literature database according to the target syndrome type and the treatment purpose information includes:

[0033] Constructing a prescription query database based on the first literature database;

[0034] According to the target syndrome type and the treatment purpose information, a recommended treatment plan for the target subject is determined from the prescription query database through a data query algorithm.

[0035] To achieve the above-mentioned purpose, another aspect of an embodiment of the present application proposes a Chinese medicine intelligent diagnosis and treatment system for endometriosis, the system comprising a back end and a front end, the back end being used to execute the above-mentioned method, the front end being used to provide an interactive interface, the interactive interface comprising providing a symptom element selection button, a syndrome display area or a recommended treatment plan display area.

[0036] To achieve the above objectives, another aspect of the present application provides a TCM intelligent diagnosis and treatment system for endometriosis, comprising:

[0037] at least one processor;

[0038] at least one memory for storing at least one program;

[0039] When the at least one program is executed by the at least one processor, the at least one processor implements the above method.

[0040] To achieve the above objective, another aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program implements the above method when executed by a processor.

[0041] The embodiments of the present application include at least the following beneficial effects: The present application provides a method, system and storage medium for intelligent diagnosis and treatment of endometriosis in traditional Chinese medicine. The scheme constructs a first literature database on the treatment of endometriosis with traditional Chinese medicine, constructs a first standard syndrome type vector according to the first literature database, collects the first symptom element of the target object, calculates the vector distance between the first symptom element and several first standard syndrome type vectors, determines the target syndrome type of the target object according to the vector distance, then obtains the treatment purpose information of the target object, and then determines the recommended treatment plan for the target object from the first literature database according to the target syndrome type and the treatment purpose information, thereby reducing the dependence on the physician's experience and effectively improving the accuracy of the endometriosis judgment results. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 It is a flow chart of the TCM intelligent diagnosis and treatment method for endometriosis provided in an embodiment of the present application;

[0043] Figure 2 is an example diagram of the first document database provided in an embodiment of the present application;

[0044] Figure 3 It is a statistical diagram of common TCM syndromes of endometriosis provided in the embodiments of the present application;

[0045] Figure 4 This is a schematic diagram of the classification of symptom elements of common TCM syndromes of endometriosis provided in the embodiments of the present application;

[0046] Figure 5 It is a schematic diagram of an extension of the symptom element classification table of common TCM syndromes of endometriosis provided in the embodiments of the present application;

[0047] Figure 6 is a schematic diagram of a characteristic table of a first standard syndrome vector provided in an embodiment of the present application;

[0048] Figure 7 The embodiment of this application provides Figure 6 The extension of the table indicates the intention;

[0049] Figure 8 The embodiment of this application provides Figure 7 The extension of the table indicates the intention;

[0050] Fig. 9 The embodiment of this application provides Figure 8 The extension of the table indicates the intention;

[0051] Fig.10 This is a schematic diagram of an example of the application of the nearest vector classification method provided in an embodiment of the present application;

[0052] Fig.11It is a schematic diagram of the verification results of the intelligent diagnosis and treatment method of traditional Chinese medicine provided in the embodiment of the present application;

[0053] Fig.12 The embodiment of this application provides Fig.11 The extension of the expression of intent;

[0054] Fig.13 It is a schematic diagram of the hardware structure of the TCM intelligent diagnosis and treatment system for endometriosis provided in an embodiment of the present application. DETAILED DESCRIPTION

[0055] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application is further described in detail below in conjunction with the accompanying drawings and examples. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the embodiments of the present application, they are only examples of devices and methods consistent with some aspects of the embodiments of the present application.

[0056] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0057] Before describing the embodiments of the present application in detail, some nouns and terms involved in the embodiments of the present application are first described. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations:

[0058] Syndrome: refers to a series of interrelated symptoms summarized in traditional Chinese medicine, that is, the body's reaction state and its movement and changes at the overall level during the course of the disease obtained through the four examinations of observation, auscultation, inquiry and palpation, referred to as syndrome or symptom.

[0059] Syndrome type: It is a name unique to traditional Chinese medicine. Syndrome refers to the concept of the medical history attributes at a certain stage in the development of the disease. Traditional Chinese medicine divides the human body into yin and yang, qi and blood, and divides the causes of disease into wind, cold, summer heat, dampness, dryness, heat, phlegm, and deficiency and excess. Syndrome type refers to the different changes in yin and yang, qi and blood caused by different causes, which lead to different disease states of the human body.

[0060] Among related technologies, with the rapid development of information technology, artificial intelligence (AI) has become a key force in promoting innovation in the field of medical health. Especially in the field of traditional Chinese medicine, combining artificial intelligence technology with traditional Chinese medicine can not only improve the efficiency of diagnosis and treatment, but also provide new ideas and methods for the inheritance and innovation of traditional Chinese medicine. The unique theoretical system and rich clinical experience of traditional Chinese medicine play an irreplaceable role in the prevention and treatment of diseases. However, the complexity of traditional Chinese medicine and the extensiveness of knowledge also bring challenges to its modernization transformation.

[0061] Syndrome differentiation and treatment is the theoretical and practical cornerstone of traditional Chinese medicine. It is the basic principle that guides traditional Chinese medicine physicians to diagnose, analyze and treat patients' conditions. It is the core and key to traditional Chinese medicine diagnosis and treatment. Traditional syndrome differentiation is affected by the physician's experience in diagnosis and treatment and has the characteristics of complexity, ambiguity and uncertainty. In the context of the rapid development of informatization and intelligence, closely combining traditional Chinese medicine theory with mathematics and computer science, and using artificial intelligence technology to imitate human thinking patterns for syndrome differentiation has become an effective way to solve the defects of traditional syndrome differentiation. The use of artificial intelligence technology for intelligent syndrome differentiation is innovative and of great clinical significance in improving the accuracy of syndrome differentiation and promoting the standardization and modernization of traditional Chinese medicine diagnosis and treatment.

[0062] In view of this, the embodiments of the present application provide a TCM intelligent diagnosis and treatment method, system and storage medium for endometriosis. After constructing a first literature database on TCM treatment of endometriosis, the present application constructs a first standard syndrome type vector based on the first literature database, collects the first symptom element of the target object, calculates the vector distance between the first symptom element and several first standard syndrome type vectors, determines the target syndrome of the target object based on the vector distance, then obtains the treatment purpose information of the target object, and then determines the recommended treatment plan for the target object from the first literature database based on the target syndrome and the treatment purpose information, thereby reducing the dependence on the physician's experience and effectively improving the accuracy of the endometriosis judgment results.

[0063] The TCM intelligent diagnosis and treatment method for endometriosis provided in the embodiment of the present application relates to the field of TCM diagnosis technology. The TCM intelligent diagnosis and treatment method for endometriosis provided in the embodiment of the present application can be applied to a terminal, can also be applied to a server, and can also be software running in a terminal or a server. In some embodiments, the terminal can be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and a car terminal, etc., but is not limited to this; the server side can be configured as an independent physical server, or a server cluster or distributed system composed of multiple physical servers, and can also be configured to provide cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN, and big data and artificial intelligence platforms and other basic cloud computing services. The server can also be a node server in a blockchain network; the software can be an application of the TCM intelligent diagnosis and treatment method for endometriosis, etc., but is not limited to the above forms.

[0064] The present application can be used in many general or special computer system environments or configurations. For example: personal computers, server computers, handheld or portable devices, tablet devices, multiprocessor systems, microprocessor-based systems, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above systems or devices, etc. The present application can be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application can also be practiced in distributed computing environments, in which tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules can be located in local and remote computer storage media including storage devices.

[0065] Figure 1 is an optional flow chart of the TCM intelligent diagnosis and treatment method for endometriosis provided in the embodiment of the present application. Figure 1 The method may include but is not limited to steps S101 to S106.

[0066] Step S110, constructing a first literature database on TCM treatment of endometriosis;

[0067] Step S120, constructing a first standard syndrome type vector according to the first literature database;

[0068] Step S130, collecting the first symptom element of the target object;

[0069] Step S140, calculating the vector distance between the first symptom element and a plurality of first standard syndrome type vectors;

[0070] Step S150, determining the target syndrome type of the target object according to the vector distance;

[0071] Step S160, obtaining treatment purpose information of the target object;

[0072] Step S170: Determine a recommended treatment plan for the target subject from the first literature database according to the target syndrome type and treatment purpose information, wherein the recommended treatment plan includes traditional Chinese medicine treatment methods and traditional Chinese medicine prescriptions.

[0073] In an embodiment of the present application, when constructing a first literature database on TCM treatment of endometriosis, after obtaining a number of second literature data, the second literature data containing endometriosis can be screened out from the number of second literature data as third literature data, and then the third literature data is converted into the first literature data by data structure conversion, and all the first literature data are saved in the first literature database. It can be understood that the second literature data can be literature data collected from public websites, and the content of these literature data may not contain information about endometriosis, or may contain information about endometriosis. Therefore, this embodiment screens these literature data to obtain literature data containing endometriosis. Exemplarily, a total of 911 documents were obtained by screening clinical research documents on 10 common TCM syndromes of endometriosis from the second literature data. According to the positive efficacy indicators in the literature conclusions, the documents were classified into 4 treatment purposes: "pain relief", "fertility promotion", "recurrence prevention", and "lesion reduction", and summarized as follows: Figure 2 The EXCEL file shown (first literature database).

[0074] In this embodiment, in order to allow these data to interact in the interactive interface, this embodiment converts the data structure of the document data obtained by screening, and specifically converts it into a JSON data structure. Among them, JSON is a lightweight data exchange format that is easy for people to read and write, and is also easy for machines to parse and generate. It is based on JavaScript's object literal syntax, but its format is independent of the language, and many programming languages ​​have support for parsing and generating JSON format data. JSON is widely used for data transmission between network applications.

[0075] As you can understand, JSON data structures include null values, Boolean values, numbers, strings, objects, and arrays.

[0076] Null value: Null value represents empty or missing data and is represented by the keyword null.

[0077] Boolean: A Boolean value represents true or false. It can be either true or false.

[0078] Number: A number can be an integer or a floating point number and is not enclosed in quotes.

[0079] String: A string is a sequence of Unicode characters, enclosed in double quotes. A string can be any sequence of characters, including text, numbers, etc.

[0080] Object: An unordered set of key / value pairs, where the key is a string and the value can be a string, number, Boolean, array, object, or null. Objects are enclosed in curly braces {} in JSON.

[0081] For example:

[0082]

[0083] Array: An ordered collection of values. Arrays are enclosed in square brackets [] in JSON.

[0084] Example:

[0085] ["apple","banana","cherry"]

[0086] After converting the structure of the first document data into a JSON data structure, this embodiment enables a query for endometriosis based on a JSON data query algorithm in subsequent applications. It is understandable that the JSON data query algorithm includes three processes: SON parsing and serialization, JSON path expression, and JSON-based database query.

[0087] (1)JSON parsing and serialization:

[0088] Parsing is the process of converting a JSON-formatted string into a corresponding data structure in a programming language (such as an object or array in JavaScript). Serialization is the process of converting a data structure in a programming language into a JSON-formatted string. Most modern programming languages ​​provide built-in libraries or modules to handle the parsing and serialization of JSON data.

[0089] (2)JSON Path Expression (JSONPath):

[0090] JSONPath is a query language used to extract information from JSON documents, similar to XPath for XML. By using JSONPath expressions, you can easily locate specific parts of the JSON structure and implement complex query operations.

[0091] Example: Assume the following JSON document:

[0092]

[0093] To query all book authors, you can use the JSONPath expression: $.store.book[*].author

[0094] (3) JSON-based database query:

[0095] Some modern database systems (such as MongoDB) support direct storage and query of data in JSON format. These databases usually provide rich query syntax, allowing complex queries and data operations to be performed directly on JSON data.

[0096] It can be seen that, in this embodiment, after converting the structure of the document data into a JSON data structure, the JSON-based data query algorithm makes the processing and query of JSON format data more efficient and flexible during the application process. By using the JSON parsing and serialization library, JSONPath expression, and a database system that supports JSON, developers can easily achieve efficient query and processing of JSON data, meeting the data processing needs of modern network applications.

[0097] In the embodiment of the present application, after obtaining the first document database, a first standard syndrome type vector can be constructed based on the first document database for subsequent application. It can be understood that the construction process of the first standard syndrome type vector includes but is not limited to the following steps:

[0098] Extract the first syndrome names of all the first document data in the first document database, and standardize and unify all the first syndrome names to obtain the second syndrome names. For example, since the syndromes of "liver-spleen disharmony" and "liver-spleen disharmony", "qi stagnation and blood stasis" and "liver depression and blood stasis" are essentially the same, they are standardized and unified into liver-spleen disharmony and qi stagnation and blood stasis, and extract the names of TCM syndromes with 10 or more documents, and finally screen out the following syndromes: Figure 3 Shown are the 10 common TCM syndrome names of endometriosis.

[0099] Then, the second symptom elements corresponding to the names of the second syndromes are obtained, and the second symptom elements are classified to obtain a symptom element classification table. Specifically, this embodiment can refer to the diagnostic standards of the TCM syndromes of "endometriosis" and "symptoms and masses" in the authoritative TCM gynecology textbooks such as the national TCM industry higher education planning textbooks "TCM Gynecology" and "Practical TCM Gynecology", summarize the syndrome differentiation symptom characteristics of these 10 common TCM syndromes of endometriosis, that is, the core symptom elements of each syndrome, and further classify them according to "lumps", "pain", "menstruation", "belly", "pregnancy", "concurrent symptoms", "tongue", and "pulse", and obtain the following: Figure 4 and Figure 5 Symptom element classification table shown.

[0100] Then the symptom element classification table is transformed into the TCM dialectical space The first standard vector Specific as Figure 6 , Figure 7 , Figure 8 and Fig. 9 shown.

[0101] In the embodiment of the present application, after the first symptom element of the target object is obtained, the syndrome type of the target object is determined by calculating the vector distance between the first symptom element of the target object and the symptom element in the first standard syndrome type vector. It can be understood that this embodiment can be calculated based on the nearest vector classification method. Among them, the specific calculation steps of the nearest vector classification method are as follows:

[0102] (1) Each standard syndrome of traditional Chinese medicine is composed of several symptom elements r.

[0103] (2) All the symptom elements of standard syndromes are grouped into a set r1...r n .

[0104] (3) Defining a TCM Syndrome Differentiation Space Each symptom element is a dimension of this space r1...r n ,in,

[0105] (4) There are m standard syndromes, each of which is the TCM syndrome differentiation space. A vector R i If the standard syndrome contains specific symptom elements x , then r ix Defined as 1, otherwise defined as 0.

[0106]

[0107] R i =(r i1 ,ri2 ,...r in );

[0108] (5) The user defines his or her own syndrome vector U in various dimensions of the TCM syndrome differentiation space R in the interface according to his or her actual situation.

[0109]

[0110] U=(r u1 ,r u2 ,…,r un );

[0111] (6) Calculate U and R i The Euclidean distance between (i=1, 2, ..., m).

[0112] (7) R closest to U i It is defined as the most likely dialectical classification of U.

[0113] For example, the nearest vector classification method is applied as follows: First, a 3-dimensional TCM syndrome differentiation space is set. In this space, each dimension represents a symptom element, for example, dimension 1 represents "headache", dimension 2 represents "abdominal pain", and dimension 3 represents "nausea". Next, Fig.10 As shown, three standard dialectical vectors and one dialectical vector to be classified are defined.

[0114] (1) Standard syndrome vector:

[0115] Standard syndrome vector A: A = (1, 0, 0), indicating the presence of "headache" symptoms, but no "abdominal pain" and "nausea".

[0116] Standard syndrome vector B: B = (0, 1, 1), indicating that there is no "headache" symptom, but there are "abdominal pain" and "nausea".

[0117] Standard syndrome vector C: C = (1, 1, 0), indicating the presence of "headache" and "abdominal pain" but no "nausea".

[0118] (2) Syndrome vector to be classified:

[0119] Symptom vector X to be classified: X = (0, 0, 1), indicating that there is no "headache" and "abdominal pain", but there is "nausea".

[0120] (3) Calculate the distance:

[0121] Use Euclidean distance to calculate the distance between the dialectical vector X to be classified and each standard dialectical vector. The calculation formula of Euclidean distance is:

[0122]

[0123] Calculate the distance from X to A:

[0124]

[0125] Calculate the distance from X to B:

[0126]

[0127] Calculate the distance from X to C:

[0128]

[0129] From the above calculation, we can see that the distance between the syndrome vector X to be classified and the standard syndrome vector B is 1, and the distance to the standard syndrome vector A is The distance to the standard syndrome vector C is Since the distance between X and B is the smallest, the vector to be classified X should be classified as B.

[0130] Based on the above description, it can be known that after obtaining the first symptom element of the target object, this embodiment obtains the second symptom element related to the first symptom element from the Chinese medicine dialectical space as the third symptom element, obtains the first standard syndrome type vector corresponding to the third symptom element as the second standard syndrome type vector, and then calculates the vector distance between the vector corresponding to the first symptom element and several second standard syndrome type vectors, so that the syndrome type that is closer to the current symptom of the target object can be automatically screened through the vector distance. It can be understood that this embodiment can select the syndrome type corresponding to the vector distance greater than the preset distance as the target syndrome type of the target object, thereby completing the automatic identification process of the corresponding syndrome type of the target object. Among them, the target syndrome type can be one or more.

[0131] In an embodiment of the present application, after obtaining the target syndrome of the target object, a treatment plan can be further recommended for the target object. Specifically, this embodiment constructs a prescription query database based on the first literature database, and after obtaining the treatment purpose information of the target object, the recommended treatment plan for the target object is determined from the prescription query database through a data query algorithm based on the target syndrome and the treatment purpose information. Among them, the treatment plan includes Chinese medicine treatment and Chinese medicine prescriptions. Chinese medicine prescriptions also include detailed prescription information, such as drug composition, usage and dosage, and can also provide evidence-based medicine evidence, such as prescription literature source, literature abstract, etc., to provide users with a comprehensive Chinese medicine diagnosis and treatment plan.

[0132] In some embodiments, the accuracy of the method provided in the embodiments of the present application is verified by using published clinical TCM medical records of endometriosis. The published TCM medical records are searched, the symptom elements in the literature are extracted, and the method of the present application is used to perform syndrome differentiation on the cases in the medical records. The difference between the results of intelligent syndrome differentiation and the syndrome differentiation of the authors of the literature is compared to verify the effect of intelligent syndrome differentiation.

[0133] 1. Data source:

[0134] A total of 50 medical case documents related to the treatment of endometriosis by modern doctors from all over the country were retrieved by searching the Chinese Periodical Database with the keywords "endometriosis" and "clinical experience". Only one medical case was selected from each doctor.

[0135] 2. Inclusion criteria:

[0136] (I) The selected medical records must have clear syndrome diagnosis, treatment methods, and prescription descriptions.

[0137] (II) The selected medical records were all for treatment of endometriosis-related pain and / or infertility.

[0138] (III) The description of the four diagnoses in each medical case should be no less than 25 words.

[0139] 3. Judging criteria:

[0140] (I) Accuracy: The recommended syndrome types output by the intelligent syndrome differentiation model are completely consistent with the syndrome types in the medical records.

[0141] (II) Basically accurate: Although the recommended syndrome types output by the intelligent syndrome differentiation model are not consistent with the syndrome types in the medical records, they are essentially similar.

[0142] (III) Inaccuracy: The recommended syndrome types output by the intelligent syndrome differentiation model are inconsistent with the syndrome types in the medical records in terms of both textual expression and connotation.

[0143] 4. Verification steps:

[0144] (1) Each medical case that meets the inclusion criteria will be checked by two people to extract the core symptom elements of the syndrome differentiation in the medical case.

[0145] (ii) dialectically analyzing the symptom elements in the medical case using the method of the present application.

[0146] (III) Evaluate the output results of the application method according to the standards.

[0147] (IV) Calculate the model accuracy using the formula: Accuracy = ((accurate + basically accurate) / (accurate + basically accurate + inaccurate)) × 100%.

[0148] 5. Verification results:

[0149] This section tests 50 TCM medical records of 50 doctors treating endometriosis from the China Journal Full-text Database. The processing results of this application method (intelligent dialectics) are 34 accurate, 6 basically accurate, and 10 inaccurate, with a calculated accuracy rate of 80%. Some of the results are selected as follows Fig.11 and Fig.12 shown.

[0150] In summary, the method provided in the embodiments of the present application can reduce the dependence on physician experience and effectively improve the accuracy of the endometriosis diagnosis results.

[0151] In addition, an embodiment of the present application also provides a TCM intelligent diagnosis and treatment system for endometriosis, which includes a backend and a frontend, wherein the backend is used to execute the above method, and the frontend is used to provide an interactive interface, wherein the interactive interface includes providing a symptom element selection button, a syndrome display area, or a recommended treatment plan display area. Specifically, the backend technology stack mainly relies on Apache HTTP Server to provide hosting services for static web pages. Through Docker containerization technology, Apache services can be quickly deployed without the need to directly install and configure Apache on the host machine. This approach not only simplifies the deployment process, but also improves the portability and consistency of the application. The front-end technology stack uses Bootstrap and jQuery technologies, and the combination of these two technologies can build a dynamic and highly interactive user interface.

[0152] In the embodiment of the present application, the pandas library of Python can be used to read the sorted first document database (Excel file). Then, after the data is converted into JSON format text, the data is directly embedded into the front-end file and provided to the front-end page for display.

[0153] It can be understood that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0154] The embodiment of the present application also provides a TCM intelligent diagnosis and treatment system for endometriosis, which includes a memory and a processor, wherein the memory stores a computer program, and the processor implements the TCM intelligent diagnosis and treatment method for endometriosis when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.

[0155] It can be understood that the contents of the above method embodiments are all applicable to the present system embodiments, the functions specifically implemented by the present system embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0156] See also Fig.13 , Fig.13 The hardware structure of another embodiment of a TCM intelligent diagnosis and treatment system for endometriosis is shown. The TCM intelligent diagnosis and treatment system for endometriosis includes:

[0157] The processor 1310 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;

[0158] The memory 1320 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 1320 can store an operating system and other application programs. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 1320, and the processor 1310 calls and executes the TCM intelligent diagnosis and treatment method for endometriosis in the embodiment of this application;

[0159] Input / output interface 1330, used to implement information input and output;

[0160] The communication interface 1340 is used to realize the communication interaction between the device and other devices. The communication can be realized through a wired manner (such as USB, network cable, etc.) or a wireless manner (such as mobile network, WIFI, Bluetooth, etc.);

[0161] bus 1350 , which transmits information between the various components of the device (e.g., processor 1310 , memory 1320 , input / output interface 1330 , and communication interface 1340 );

[0162] The processor 1310 , the memory 1320 , the input / output interface 1330 , and the communication interface 1340 are connected to each other in communication within the device via a bus 1350 .

[0163] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it implements the above-mentioned intelligent Chinese medicine diagnosis and treatment method for endometriosis.

[0164] It can be understood that the contents of the above method embodiments are all applicable to the present storage medium embodiments, the functions specifically implemented by the present storage medium embodiments are the same as those of the above method embodiments, and the beneficial effects achieved are also the same as those achieved by the above method embodiments.

[0165] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0166] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0167] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.

[0168] The system embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0169] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0170] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0171] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0172] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0173] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0174] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0175] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.

[0176] The preferred embodiments of the present application are described above with reference to the accompanying drawings, but the scope of the rights of the present application is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present application should be within the scope of the rights of the present application.

Claims

1. A TCM intelligent diagnosis and treatment method for endometriosis, characterized in that: The method comprises the following steps: To build the first literature database on TCM treatment of endometriosis; Constructing a first standard syndrome type vector according to the first literature database; Collect the first symptom elements of the target object; Calculating the vector distance between the first symptom element and a plurality of the first standard syndrome vectors; Determining the target syndrome type of the target object according to the vector distance; Obtaining treatment purpose information of the target subject; According to the target syndrome type and the treatment purpose information, a recommended treatment plan for the target subject is determined from the first literature database, and the recommended treatment plan includes traditional Chinese medicine treatment methods and traditional Chinese medicine prescriptions.

2. The method according to claim 1, characterized in that The first literature database of TCM treatment of endometriosis is constructed, including: Acquiring a number of second document data; Screening a plurality of the second literature data to obtain the second literature data containing endometriosis as the third literature data; Performing data structure conversion on the third document data to obtain first document data; All the first document data are saved in the first document database.

3. The method according to claim 2, characterized in that The step of converting the third document data into a data structure to obtain the first document data includes: The data structure of the third document data is converted into a JSON data structure to obtain the first document data.

4. The method according to claim 1, characterized in that The step of constructing a first standard syndrome type vector according to the first literature database includes: Extracting the first syndrome type names of all the first document data in the first document database; Standardize and unify all the first syndrome type names to obtain the second syndrome type name; Obtain the second symptom element corresponding to each of the second syndrome type names; Classifying the second symptom elements to obtain a symptom element classification table; The symptom element classification table is converted into the first standard syndrome type vector of the TCM dialectical space.

5. The method according to claim 4, characterized in that The calculating the vector distance between the first symptom element and a plurality of the first standard syndrome vectors includes: Acquire the second symptom element related to the first symptom element from the TCM dialectical space as the third symptom element; Acquire the first standard syndrome type vector corresponding to the third symptom element as the second standard syndrome type vector; Calculate the vector distance between the vector corresponding to the first symptom element and a plurality of the second standard syndrome type vectors.

6. The method according to claim 1, characterized in that The step of determining the target syndrome type of the target object according to the vector distance comprises: The syndrome type corresponding to the vector distance greater than the preset distance is selected as the target syndrome type of the target object.

7. The method according to claim 1, characterized in that Determining a recommended treatment plan for the target subject from the first literature database according to the target syndrome type and the treatment purpose information includes: Constructing a prescription query database based on the first literature database; According to the target syndrome type and the treatment purpose information, a recommended treatment plan for the target subject is determined from the prescription query database through a data query algorithm.

8. A TCM intelligent diagnosis and treatment system for endometriosis, characterized in that: The system includes a back end and a front end, the back end is used to execute the method described in any one of claims 1 to 7, and the front end is used to provide an interactive interface, and the interactive interface includes providing a symptom element selection button, a syndrome display area or a recommended treatment plan display area.

9. A TCM intelligent diagnosis and treatment system for endometriosis, characterized in that: include: at least one processor; at least one memory for storing at least one program; When the at least one program is executed by the at least one processor, the at least one processor implements the method according to any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.