CN111383731B - Medicated diet recommendation method and system, electronic equipment and storage medium - Google Patents

Medicated diet recommendation method and system, electronic equipment and storage medium Download PDF

Info

Publication number
CN111383731B
CN111383731B CN202010152791.5A CN202010152791A CN111383731B CN 111383731 B CN111383731 B CN 111383731B CN 202010152791 A CN202010152791 A CN 202010152791A CN 111383731 B CN111383731 B CN 111383731B
Authority
CN
China
Prior art keywords
food
attribute value
benign
user
value
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202010152791.5A
Other languages
Chinese (zh)
Other versions
CN111383731A (en
Inventor
沈靖雯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ningbo Fotile Kitchen Ware Co Ltd
Original Assignee
Ningbo Fotile Kitchen Ware Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ningbo Fotile Kitchen Ware Co Ltd filed Critical Ningbo Fotile Kitchen Ware Co Ltd
Priority to CN202010152791.5A priority Critical patent/CN111383731B/en
Publication of CN111383731A publication Critical patent/CN111383731A/en
Application granted granted Critical
Publication of CN111383731B publication Critical patent/CN111383731B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H20/00ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
    • G16H20/10ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to drugs or medications, e.g. for ensuring correct administration to patients
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/335Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/36Creation of semantic tools, e.g. ontology or thesauri
    • G06F16/367Ontology
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H20/00ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
    • G16H20/60ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to nutrition control, e.g. diets
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H70/00ICT specially adapted for the handling or processing of medical references
    • G16H70/40ICT specially adapted for the handling or processing of medical references relating to drugs, e.g. their side effects or intended usage
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/10Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Theoretical Computer Science (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Primary Health Care (AREA)
  • Public Health (AREA)
  • Medicinal Chemistry (AREA)
  • Physics & Mathematics (AREA)
  • Chemical & Material Sciences (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Databases & Information Systems (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Animal Behavior & Ethology (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Toxicology (AREA)
  • Pharmacology & Pharmacy (AREA)
  • Nutrition Science (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The invention discloses a medicated diet recommendation method, a system, electronic equipment and a storage medium. The medicated diet recommendation method comprises the following steps: acquiring a disease name and a disease expression of a user; searching food materials and medicinal materials which are favorable for the disease names to respectively construct a benign food material set and a benign medicinal material set; searching food materials and medicinal materials which are beneficial to the manifestation of the disease, so as to respectively update the benign food material set and the benign medicinal material set; searching the medicated diet comprising the food materials in the updated benign food material set and the medicated diet comprising the traditional Chinese medicinal materials in the updated benign medicinal material set to construct a recommended medicated diet set; and recommending the medicated diet in the recommended medicated diet set to the user. The invention can recommend the medicated diet suitable for the body nursing of the user to the user on the basis of comprehensively acquiring the body condition of the user, and comprehensively considers the disease condition name and the disease condition expression of the user, thereby realizing accurate recommendation of the medicated diet under the conditions of the same disease and different diseases and being beneficial to the body nursing of the user.

Description

Medicated diet recommendation method and system, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of intelligent household appliances, in particular to a medicated diet recommendation method, a system, electronic equipment and a storage medium.
Background
Nowadays, with the continuous acceleration of life rhythm, people pay more and more attention to the body health of people, and traditional Chinese medicine and diet which is helpful for recuperating diseases gradually enters thousands of families.
Disclosure of Invention
The invention aims to solve the technical problem of providing a medicated diet recommendation method, a system, electronic equipment and a storage medium for overcoming the defect that most users are difficult to correctly select medicated diet due to lack of professional knowledge in the prior art.
The invention solves the technical problems through the following technical scheme:
a method for recommending medicinal meals comprises the following steps:
acquiring a disease name and a disease expression of a user;
searching food materials and medicinal materials which are beneficial to the disease names to respectively construct a benign food material set and a benign medicinal material set;
searching food materials and medicinal materials which are beneficial to the manifestation of the disease, so as to respectively update the benign food material set and the benign medicinal material set;
searching the medicated diet comprising the food materials in the updated benign food material set and the medicated diet comprising the traditional Chinese medicinal materials in the updated benign medicinal material set to construct a recommended medicated diet set;
recommending the medicated diet in the recommended medicated diet set to the user.
Preferably, the step of acquiring the disease name and disease expression of the user comprises:
collecting a sound signal of the user;
performing voiceprint recognition on the sound signal to identify the disease name of the user, and/or performing semantic recognition on the sound signal to identify the disease expression of the voice input of the user;
and/or the presence of a gas in the gas,
the step of recommending the medicated diet in the recommended medicated diet set to the user comprises:
recommending the medicated diet in the recommended medicated diet set to the user through voice.
Preferably, the step of searching for the food materials and the medicinal materials favorable for the disease name comprises:
acquiring a first map, wherein the first map comprises a disease name, food materials and a first attribute value, the food materials are the food materials beneficial to the disease name, and the first attribute value is used for representing the beneficial degree of the food materials to the disease name;
acquiring a second map, wherein the second map comprises a disease name, medicinal materials and a second attribute value, the medicinal materials are medicinal materials beneficial to the disease name, and the second attribute value is used for representing the beneficial degree of the medicinal materials to the disease name;
the step of searching for food materials and medicinal materials beneficial to the manifestation of the disease comprises the following steps:
obtaining a third map, wherein the third map comprises a disease manifestation, a food material and a third attribute value, the food material is the food material beneficial to the disease manifestation, and the third attribute value is used for representing the beneficial degree of the food material to the disease manifestation;
acquiring a fourth map, wherein the fourth map comprises disease symptoms, medicinal materials and a fourth attribute value, the medicinal materials are medicinal materials beneficial to the disease symptoms, and the fourth attribute value is used for representing the beneficial degree of the medicinal materials to the disease symptoms.
Preferably, the step of updating the benign food material set and the benign medicinal material set respectively comprises:
judging whether the food materials which are found to be beneficial to the symptom expression are included in the benign food material set;
if the benign food material set is included in the benign food material set, judging whether the third attribute value of the food material is equal to the first attribute value;
if the first attribute value is equal to the second attribute value, adding the first attribute value and a first preset value to obtain a new first attribute value;
if not, taking the larger value of the first attribute value and the third attribute value as a new first attribute value;
if the food materials are not included in the benign food material set, adding the searched food materials which are beneficial to the symptom expression into the benign food material set;
judging whether the searched medicinal materials which are beneficial to the symptom expression are included in the benign medicinal material set;
if the attribute value is included in the benign medicinal material set, judging whether the fourth attribute value and the second attribute value of the medicinal material are equal;
if the first attribute value is equal to the second attribute value, adding the second attribute value to the first preset value to serve as a new second attribute value;
if not, taking the larger value of the second attribute value and the fourth attribute value as a new second attribute value;
if the medical materials are not included in the benign medical material set, the searched medical materials which are favorable for the disease manifestation are added into the benign medical material set.
Preferably, the step of searching for the medicated diet including the food materials in the updated benign food material set and the medicated diet including the traditional Chinese medicinal materials in the updated benign medicinal material set comprises the following steps:
selecting a plurality of food materials from the updated benign food material set according to the sequence of the first attribute value from high to low so as to construct a recommended food material set;
selecting a plurality of medicinal materials from the updated benign medicinal material set according to the sequence of the second attribute value from high to low so as to construct a recommended medicinal material set;
searching the medicated diet comprising the food materials in the recommended food material set and the medicated diet comprising the traditional Chinese medicinal materials in the recommended medicinal material set.
Preferably, before the step of recommending the medicated diet of the recommended medicated diet set to the user, the method further comprises the following steps:
searching food materials and medicinal materials harmful to the disease names to respectively construct a malignant food material set and a malignant medicinal material set;
searching food materials and medicinal materials which are harmful to the symptom expression so as to respectively update the malignant food material set and the malignant medicinal material set;
judging whether the medicated diet in the recommended medicated diet set comprises a malignant medicated diet, wherein the malignant medicated diet comprises the food materials in the updated malignant food material set or the medicinal materials in the updated malignant medicinal material set;
if yes, deleting the malignant medicated diet from the recommended medicated diet set so as to update the recommended medicated diet set.
Preferably, before the step of recommending the medicated diet of the recommended medicated diet set to the user, the method further comprises the following steps:
acquiring the medicated diet preference of the user;
determining user preference values of the user to all medicated food according to the medicated food preference of the user;
screening all medicated meals according to the user preference values to construct a preference medicated meal set;
judging whether the intersection of the recommended medicated diet set and the preference medicated diet set is an empty set or not;
if not, updating the recommended medicated diet set into the intersection.
Preferably, the user preference comprises a plurality of preference features, the initial value of the user preference value is 0, and for each preference feature, the step of determining the user preference value of the user for all medicated food according to the medicated food preference of the user comprises:
judging whether the medicated food completely accords with the preference characteristics;
if the user preference value is completely consistent with the second preset value, the user preference value is added with the second preset value to be used as a new user preference value;
if the preference characteristics are not completely met, judging whether the medicated food is not met with the preference characteristics completely;
if the user preference value does not meet the preset value, subtracting the second preset value from the user preference value to serve as a new user preference value;
and if the user preference value is not completely inconsistent with the third preset value, adding the user preference value and the third preset value to be used as a new user preference value.
A system for dietary recommendation, comprising:
the first acquisition module is used for acquiring the disease name and the disease expression of the user;
the first searching and constructing module is used for searching food materials and medicinal materials which are favorable for the disease names so as to respectively construct a benign food material set and a benign medicinal material set;
a first searching and updating module, configured to search for food materials and medicinal materials that are favorable for the manifestation of the disease, so as to update the benign food material set and the benign medicinal material set respectively;
the second searching and constructing module is used for searching the medicated diet comprising the food materials in the updated benign food material set and the medicated diet comprising the traditional Chinese medicinal materials in the updated benign medicinal material set so as to construct a recommended medicated diet set;
and the recommending module is used for recommending the medicated diet in the recommended medicated diet set to the user.
Preferably, the first obtaining module comprises an acquisition unit, and the first obtaining module further comprises a voiceprint recognition unit and/or a semantic recognition unit; wherein:
the acquisition unit is used for acquiring the sound signal of the user;
the voiceprint recognition unit is used for carrying out voiceprint recognition on the sound signal so as to recognize the disease name of the user;
the semantic recognition unit is used for performing semantic recognition on the sound signal to recognize the symptom expression of the user voice input;
and/or the presence of a gas in the gas,
the recommending module is specifically used for recommending the medicated diet in the recommended medicated diet set to the user through voice.
Preferably, the first search building module includes:
a first obtaining unit, configured to obtain a first graph, where the first graph includes a disease name, a food material and a first attribute value, where the food material is a food material favorable for the disease name, and the first attribute value is used to represent a degree of benefit of the food material on the disease name;
the second acquisition unit is used for acquiring a second map, wherein the second map comprises a disease name, medicinal materials and a second attribute value, the medicinal materials are the medicinal materials beneficial to the disease name, and the second attribute value is used for representing the beneficial degree of the medicinal materials to the disease name;
the first lookup update module comprises:
a third obtaining unit, configured to obtain a third map, where the third map includes a disease manifestation, a food material and a third attribute value, where the food material is a food material favorable for the disease manifestation, and the third attribute value is used to represent a degree of benefit of the food material on the disease manifestation;
the fourth acquisition unit is used for acquiring a fourth map, wherein the fourth map comprises disease symptoms, medicinal materials and a fourth attribute value, the medicinal materials are medicinal materials beneficial to the disease symptoms, and the fourth attribute value is used for representing the beneficial degree of the medicinal materials to the disease symptoms.
Preferably, the first lookup updating module further includes:
a first determining unit configured to determine whether the searched food material favorable for the manifestation of the disease is included in the benign food material set;
if the benign food material set is included in the benign food material set, calling a second judging unit for judging whether the third attribute value of the food material is equal to the first attribute value;
if the first attribute value is equal to the second attribute value, calling a first updating unit for adding the first attribute value and the first preset value to be used as a new first attribute value;
if the attribute values are not equal to the first attribute value, calling a second updating unit for taking the larger value of the first attribute value and the third attribute value as a new first attribute value;
if the food materials are not included in the benign food material set, calling a first adding unit for adding the searched food materials which are beneficial to the symptom expression to the benign food material set;
a third determining unit configured to determine whether the searched medicinal material that is favorable for the manifestation of the disease is included in the benign medicinal material set;
if the attribute value is included in the benign medicinal material set, calling a fourth judging unit for judging whether the fourth attribute value of the medicinal material is equal to the second attribute value;
if the attribute values are equal to the first preset value, calling a third updating unit for adding the second attribute value and the first preset value to be used as a new second attribute value;
if the attribute values are not equal to the first attribute value, calling a fourth updating unit for taking the larger value of the second attribute value and the fourth attribute value as a new second attribute value;
if the benign medicinal material collection is not included, calling a second adding unit for adding the searched medicinal material which is favorable for the symptom expression into the benign medicinal material collection.
Preferably, the second search building module includes:
the first building unit is used for selecting a plurality of food materials from the updated benign food material set according to the sequence of the first attribute value from high to low so as to build a recommended food material set;
a second construction unit, configured to select a plurality of medicinal materials from the updated benign medicinal material set according to a second attribute value from high to low to construct a recommended medicinal material set;
and the searching unit is used for searching the medicated diet comprising the food materials in the recommended food material set and the medicated diet comprising the traditional Chinese medicinal materials in the recommended medicinal material set.
Preferably, the medicated diet recommendation system further comprises:
a third searching and constructing module for searching food materials and medicinal materials harmful to the disease names so as to respectively construct a malignant food material set and a malignant medicinal material set;
the second searching and updating module is used for searching food materials and medicinal materials harmful to the symptom expression so as to respectively update the malignant food material set and the malignant medicinal material set;
the first judging module is used for judging whether the medicated diet in the recommended medicated diet set comprises malignant medicated diet, wherein the malignant medicated diet comprises food materials in an updated malignant food material set or medicinal materials in an updated malignant medicinal material set;
if yes, calling a first updating module for deleting the malignant medicated diet from the recommended medicated diet set so as to update the recommended medicated diet set.
Preferably, the system for recommending medicated diet further comprises:
the second acquisition module is used for acquiring the medicated diet preference of the user;
the determining module is used for determining the user preference values of the user to all medicated meals according to the medicated meal preferences of the user;
the screening and constructing module is used for screening all medicated foods according to the user preference value so as to construct a preference medicated food set;
the second judgment module is used for judging whether the intersection of the recommended medical food set and the preference medical food set is an empty set or not;
if not, calling a second updating module for updating the recommended medicated diet set into the intersection.
Preferably, the user preference includes a plurality of preference features, the initial value of the user preference value is 0, and the determining module includes, for each preference feature:
a fifth judging unit, configured to judge whether the medicated diet completely conforms to the preference feature;
if the user preference value is completely consistent with the second preset value, calling a fifth updating unit for adding the user preference value and the second preset value to be used as a new user preference value;
if the preference characteristics do not completely meet the requirements, a sixth judging unit is called to judge whether the medicated food does not meet the preference characteristics completely;
if the user preference value does not meet the preset value, calling a sixth updating unit for subtracting the second preset value from the user preference value to serve as a new user preference value;
if the user preference value does not completely meet the requirement, a seventh updating unit is called and used for adding the user preference value and a third preset value to serve as a new user preference value.
An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements any of the above-mentioned medical diet recommendation methods when executing the computer program.
A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of any of the above-mentioned method of medical meal recommendation.
The positive progress effects of the invention are as follows: according to the invention, the food materials and the medicinal materials suitable for the specific disease names and the food materials and the medicinal materials suitable for the specific disease expressions are obtained based on the disease names and the disease expressions of the users, and then the medicated diet comprising the related food materials and the related medicinal materials are obtained and recommended to the users, so that the medicated diet suitable for the body nursing of the users can be recommended to the users on the basis of comprehensively obtaining the body conditions of the users, and the disease names and the disease expressions of the users are comprehensively considered, so that the accurate recommendation of the medicated diet under the conditions of the same disease and different diseases can be realized, and the body nursing of the users is facilitated.
Drawings
Fig. 1 is a flowchart of a method for recommending medicated diet according to embodiment 1 of the present invention.
Fig. 2 is a partial flowchart of a method for recommending herbal cuisine according to embodiment 2 of the present invention.
Fig. 3 is a block diagram of a system for recommending herbal cuisine according to embodiment 3 of the present invention.
Fig. 4 is a block diagram of a system for recommending herbal cuisine according to embodiment 4 of the present invention.
Fig. 5 is a schematic structural diagram of an electronic device according to embodiment 5 of the present invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
Example 1
The present embodiment provides a method for recommending medicated diet, and referring to fig. 1, the method for recommending medicated diet of the present embodiment includes:
s101, acquiring a disease name and a disease expression of a user.
In this embodiment, the disease name (e.g., respiratory diseases such as rhinitis, pharyngitis, laryngitis, tracheitis, bronchitis, asthma, pneumonia, etc.) and the disease expression (e.g., wheezing, shortness of breath, cough, nasal obstruction, hoarseness, etc.) of the user may be obtained based on the voice of the user, and specifically, first, the voice signal of the user may be collected, for example, the voice signal of the disease expression may be collected by the user, and then the voice print recognition may be performed on the voice signal to recognize the disease name of the user, and the semantic recognition may be performed on the voice signal to recognize the disease expression of the user voice input.
The voiceprint recognition is mainly based on a voiceprint acoustic detection technology, acoustic characteristic parameters are extracted to construct a voiceprint recognition model, so that standard voice (healthy voice) and pathological voice can be recognized, and disease names corresponding to the pathological voice can be recognized. Specifically, the identification of the disease name by using voiceprint recognition mainly comprises two aspects of establishment of a voiceprint recognition model and voiceprint recognition, and the establishment of the voiceprint recognition model mainly comprises two parts of collection of a voice sample and extraction of characteristic parameters of the sample.
Specifically, the sound sample collection may include standard (standard voice) sample collection and abnormal (sick voice) sample collection, and the collected sound sample set may be recorded as S i Where i is used to indicate the type of sound sample, e.g. S when i =0 i Can characterize a standard sample set corresponding to the standard voice, and the number of samples can be recorded as N 0 When i ≠ 0, S i An abnormal sample set corresponding to the pathological voice can be characterized, and each disease type is assumed to comprise g types, namely, the name of each disease can be recorded as: s 1 ,S 2 ,…,S g The number of samples corresponding to each type of disease can be recorded as N i (i =1,2, ..., g). Thus, each sound sample set S i Can be recorded as S i (s i1 ,…,s ij ,…,s iNi ) Wherein s is ij J sample, N, representing the ith sample set i The number of samples in the ith type sample set is shown.
For extracting sample characteristic parameters, wherein the parameter index for establishing the voiceprint recognition model can cover but is not limited to acoustic information such as tone quality, volume, tone, pronunciation duration, range, special sound type (such as cough) and the like, the sample s ij Can be denoted as s ij =(x 0 ,…,x k ,…,x n ) Wherein x is k Representing a sample s ij N characterizes the number of the characteristic parameters.
The voiceprint recognition may include collecting a voice signal of the user, extracting a characteristic parameter of the voice signal, and recognizing a voiceprint of the user, where the collected voice signal may be recorded as an object s to be measured, and the extracted characteristic parameter of the object s to be measured may be recorded as s = (x =)' 0 ,…,x′ k ,…,x′ n ). The step of recognizing the voiceprint of the user specifically comprises inputting the characteristic parameters of the target s to be detected into the voiceprint recognitionThe model is identified and matched, for example, based on the improved Hausdorff distance (LTS-HD, denoted as D) LTS ) The K-nearest neighbor algorithm of (1) is used as a classification basis, and specifically, the distance D between the target s to be detected and all the sound samples in the g +1 class sound sample set is calculated firstly LTS (s,s ij ) And then the resulting D will be calculated LTS (s,s ij ) The sound samples are sorted in an increasing mode according to results, the first K minimum distances are taken as K neighbor, and then the K neighbor obtained through statistics belongs to the sound sample set S i Frequency of (t) i (i =0,1, ..., g), finally defining p = index (max { t) } 0 ,…,t g }), where index represents the index acquisition function, i.e. the index for which p is the maximum frequency, S ∈ S p Obtaining a sound sample set to which the sample to be detected belongs, wherein if p =0, S is output 0 The voice analysis result of the user is represented as healthy, and if p is not equal to 0, S is output p And characterizing the corresponding disease name of the user.
S102, food materials and medicinal materials favorable for disease names are searched for, so that a benign food material set and a benign medicinal material set are respectively constructed.
Specifically, step S102 may include the step of acquiring a first map and the step of acquiring a second map. The first map may include a disease name, a food material, and a first attribute value, wherein the food material is a food material favorable for the disease name, the first attribute value is used for representing a degree of interest of the food material for the disease name, for example, the first attribute value may be represented as r ingre May have r ingre = {1,5}, in which, r ingre =1 the degree of benefit of the food material to the disease name is appropriate, r ingre =5 can represent the degree of interest of food materials in the disease name as strongly appropriate. The second map may include a disease name, a herb, and a second attribute value, wherein the herb is favorable for the disease name, the second attribute value is used to represent the degree of benefit of the herb for the disease name, for example, the second attribute value may be denoted as r med May have r med =1, 3,5, wherein r med =1 the beneficial degree of the herb to disease name is weak suitable, r med =3 the degree of benefit of the herb to disease name is moderate, r med =5 characterizableThe medicinal materials have strong and proper beneficial degree on disease names. It should be understood that the first attribute value and the second attribute value may be set by a user according to an actual application, and are not limited to the above value example.
In this embodiment, the benign food material set can be denoted as F good ={f 1 ,…,f j ,…,f q In which f j = [ food material, r) ingre ]The obtained benign herb collection can be recorded as M good ={m 1 ,…,m i ,…,m p In which m is i = [ medicinal materials, r) med ]。
S103, food materials and medicinal materials which are beneficial to disease manifestation are searched, so that the benign food material set and the benign medicinal material set are updated respectively.
Specifically, step S103 may include a step of acquiring a third map and a step of acquiring a fourth map. The third map may include a disease manifestation, a food material, and a third attribute value, wherein the food material is a food material favorable for the disease manifestation, and the third attribute value is used for representing a degree of benefit of the food material on the disease manifestation, for example, the third attribute value may be denoted as sym ingre May have sym ingre =1, 5, wherein sym ingre =1 the beneficial degree of food material to disease manifestation is appropriate, sym ingre =5 can characterize the favorable degree of food material for the manifestation of the disorder as strongly appropriate. The fourth map may include disease manifestation, medicinal materials, and a fourth attribute value, wherein the medicinal materials are medicinal materials beneficial to disease manifestation, the fourth attribute value is used for representing the degree of benefit of the medicinal materials on disease manifestation, for example, the fourth attribute value may be denoted as sym med There may be sym med =1,3,5, wherein sym med =1 the beneficial degree of the herb to the manifestation of the disease is weakly appropriate, sym med =3 the beneficial degree of the medicinal material to the disease manifestation is moderate and appropriate, sym med =5 the medicinal material has strong and appropriate degree of favorable degree for the manifestation of the disease. It should be understood that the third attribute value and the fourth attribute value may be set by self according to the actual application, and are not limited to the above value example.
In this step, it is also judged whether or not the searched one isWhether food materials favorable for manifestation of disease are included in the benign food material group F good Performing the following steps; if included in the benign food material set F good If yes, the third attribute value sym of the food material is determined ingre And a first attribute value r ingre Whether the first attribute values are equal to the second attribute values r or not, and if so, the first attribute values r ingre Adding the first attribute value to a first preset value (which can be set by user according to actual application, for example, the first preset value can be 0.01) to obtain a new first attribute value r ingre If not, the first attribute value r is set ingre And a third attribute value sym ingre As a new first attribute value r ingre (ii) a If not included in the benign food material set F good Adding the searched food materials beneficial to disease manifestation to the benign food material set F good In (1).
In this step, it is also determined whether the searched medicinal material favorable for the manifestation of the disease is included in the benign medicinal material set M good Performing the following steps; if included in the benign herb set M good In the above formula, the fourth attribute value sym of the herb is determined med And a second attribute value r med Whether the two attribute values are equal or not, if so, the second attribute value r is added med Adding the first preset value as a new second attribute value r med If not, the second attribute value r is set med And a fourth attribute value sym med As a new second attribute value r med (ii) a If not included in the benign herb set M good Adding the searched medicinal materials beneficial to the symptom expression into the benign medicinal material set M good In (1).
On the basis of the initial attribute values of the food materials and the medicinal materials, the attribute values of the food materials and the medicinal materials can be adaptively corrected according to actual conditions, so that the influences of the food materials and the medicinal materials on disease names and symptom expressions can be adaptively updated, and the accuracy of the recommended medicated diet of the embodiment is improved.
S104, food materials and medicinal materials harmful to disease names are searched for, and a malignant food material set and a malignant medicinal material set are respectively constructed.
In the first map of this embodiment, r may be ingre =1, can be listedThe benefit of food material for the disease name is unfavorable, i.e. for the disease name, the food material is a malignant food material that should be contraindicated. In the second map of this embodiment, r may be med = -1, the benefit of the herb to the disease name is unfavorable, i.e., the herb is a malignant herb that should be contraindicated for the disease name. In this embodiment, the obtained set of malignant food materials can be denoted as F bad The obtained malignant medicinal material set can be marked as M bad
In this step, it is also determined whether the searched food material harmful to the symptom name is included in the benign food material set F good If the food material is included in the benign food material set F good In (5), the good food material set F good And deleting the searched food materials harmful to the disease names.
In this step, it is also determined whether the searched medicinal material harmful to the disease name is included in the benign medicinal material set M good In the above formula, M is included in the benign herbs good In middle, M is a collection of good herbs good And deleting the searched medicinal materials harmful to the disease names.
S105, food materials and medicinal materials harmful to the symptom expression are searched, so that the malignant food material set and the malignant medicinal material set are updated respectively.
In the third map of this embodiment, sym may be further included ingre = -1, the food material may be characterized as adverse to the benefit of the disease performance, i.e. the food material is a malignant food material that should be contraindicated that is detrimental to the disease performance. In the fourth map of this embodiment, sym may be further included med = -1, the beneficial degree of the herb to the manifestation of the disease is unfavorable, that is, the herb is a malignant herb which is harmful to the manifestation of the disease and should be contraindicated.
In this step, it is also determined whether the searched food materials harmful to the manifestation of the disease are included in the malignant food material set F bad In (1), if not included in the malignant food material set F bad Adding the searched food materials harmful to the symptom expression into a malignant food material set F bad In the method, whether the searched food harmful to the symptom expression is included in the good food is judgedSet of sexual food materials F good If the food material is included in the benign food material set F good In (5), the good food material set F good And deleting the searched food materials harmful to the symptom expression.
In this step, it is also determined whether the searched medicinal material harmful to the manifestation of the disease is included in the malignant medicinal material set M bad In (1), if not included in the malignant medicinal material set M bad Adding the searched medicinal materials harmful to the disease manifestation into a malignant medicinal material set M bad In the method, whether the searched medicinal materials harmful to the disease manifestation are included in the benign medicinal material set M or not is judged good In the above formula, M is included in the benign herbs good In middle, M is a collection of good herbs good The searched medicinal materials harmful to the symptom are deleted.
S106, searching the medicated diet comprising the food materials in the updated benign food material set and the medicated diet comprising the traditional Chinese medicinal materials in the updated benign medicinal material set to construct a recommended medicated diet set.
In the step, firstly, a plurality of food materials are selected from the updated benign food material set according to the sequence of the first attribute value from high to low to construct a recommended food material set, secondly, a plurality of medicinal materials are selected from the updated benign medicinal material set according to the sequence of the second attribute value from high to low to construct a recommended medicinal material set, and finally, the medicated diet including the food materials in the recommended food material set and the medicated diet including the medicinal materials in the recommended medicinal material set are searched. The number of the selected food materials and the number of the medicinal materials can be set in a user-defined mode according to practical application.
S107, judging whether the medicated diet in the recommended medicated diet set comprises malignant medicated diet;
if yes, go to step S108; if not, go to step S109;
s108, deleting malignant medicated diet from the recommended medicated diet set to update the recommended medicated diet set, and then executing the step S109;
and S109, recommending the medicated diet in the recommended medicated diet set to the user.
In this embodiment, the malignant medicated diet includes the food materials in the updated malignant food material set or the medicinal materials in the updated malignant medicinal material set, and the malignant medicated diet is deleted from the recommended medicated diet set obtained in step S106, which is beneficial to improving the safety of the recommended medicated diet of this embodiment. In addition, in this embodiment, the recommended medical meals in the medical meal set may be specifically recommended to the user through voice.
In the embodiment, the food materials and the medicinal materials suitable for the specific disease names and the food materials and the medicinal materials suitable for the specific disease expressions are obtained based on the disease names and the disease expressions of the users, and then the medicated diet comprising the related food materials and the related medicinal materials are obtained and recommended to the users, so that the embodiment can recommend the medicated diet suitable for the body nursing of the users to the users on the basis of comprehensively obtaining the body conditions of the users, and the disease names and the disease expressions of the users are comprehensively considered, so that the accurate recommendation of the medicated diet under the conditions of the same disease and different diseases can be realized, and the body nursing of the users is facilitated.
Example 2
The present embodiment provides a method for recommending medicated diet based on embodiment 1, referring to fig. 2, the method for recommending medicated diet of the present embodiment further includes, before step S109:
s201, obtaining medicated diet preferences of a user;
s202, determining user preference values of all medicated foods of a user according to the medicated food preferences of the user;
s203, screening all medicated food according to the user preference values to construct a preference medicated food set;
s204, judging whether the intersection of the recommended medicated diet set and the preferred medicated diet set is an empty set;
if yes, go to step S109; if not, go to step S205;
and S205, updating the recommended medicated diet set into an intersection, and then executing the step S109.
Specifically, in the present embodiment, the initial value of the user preference value is 0, and the user preference includes several preference characteristics (e.g., taste, cuisine, cooking technique, time consumption, etc.). For each preference feature, step S202 specifically includes a step of determining whether the medicated diet completely conforms to the preference feature, if the medicated diet completely conforms to the preference feature, adding the user preference value to a second preset value (which may be set by user-defined according to actual application, for example, the second preset value may take a value of 1) to obtain a new user preference value, if the medicated diet does not completely conform to the preference feature, further determining whether the medicated diet does not completely conform to the preference feature, if the medicated diet does not completely conform to the preference feature, subtracting the user preference value from the second preset value to obtain a new user preference value, and if the medicated diet does not completely conform to the second preset value, adding the user preference value to a third preset value (which may be set by user-defined according to actual application, for example, the second preset value may take a value of 0.1) to obtain a new user preference value.
Taking the preference characteristics including the taste as an example, the value of the taste can include light, slightly spicy, heavy spicy and the like, when the taste of the medicated diet is light, if the value of the taste of the user is light, the medicated diet completely accords with the preference characteristics, and if the value of the taste of the user is any one of slightly spicy, spicy and heavy spicy, the medicated diet does not accord with the preference characteristics. When the taste of the medicated food is slightly spicy, if the taste value of the user is slightly spicy, the medicated food completely accords with the preference characteristic, if the taste value of the user is light, the medicated food does not accord with the preference characteristic, and if the taste value of the user is spicy or heavy spicy, the medicated food does not completely accord with the preference characteristic, namely, does not accord with the preference characteristic completely.
If the medicated diet does not comprise the preference feature or the preference feature completes the calculation of the user preference value, the user preference value is continuously updated according to the other preference feature until all the preference features are traversed.
In step S203 in this embodiment, a preference medicated diet set may be constructed by screening out medicated diets whose user preference value is greater than a preset threshold (which may be set in a user-defined manner according to an actual application, for example, the preset threshold may be set to be 0). In this embodiment, the malignant medicated diet in embodiment 1 can be deleted from the preferred medicated diet set obtained in step S203 to improve the safety of the recommended medicated diet of this embodiment.
On the basis of the embodiment 1, the medicated diet preference of the user is also considered in the embodiment, so that the medicated diet finally recommended in the embodiment can be used for accurately recuperating the body of the user by specifically aiming at the disease name and the disease expression of the user, that is, on the basis of ensuring the food therapy effect, the specific preference of the user on the medicated diet can be met, and the user experience can be further improved.
Example 3
The present embodiment provides a medicated diet recommendation system, and referring to fig. 3, the medicated diet recommendation system of the present embodiment includes:
a first obtaining module 301, configured to obtain a disease name and a disease manifestation of a user.
In this embodiment, the disease name (e.g., respiratory diseases such as rhinitis, pharyngitis, laryngitis, tracheitis, bronchitis, asthma, pneumonia, etc.) and the disease expression (e.g., asthma, shortness of breath, cough, nasal obstruction, hoarseness, etc.) of the user may be obtained based on the voice of the user, and specifically, the first obtaining module 301 may include an acquiring unit, a voiceprint recognition unit, and a semantic recognition unit, where the acquiring unit may be configured to acquire a voice signal of the user, for example, may acquire a voice signal of a disease expression input by the user, the voiceprint recognition unit may be configured to perform voiceprint recognition on the voice signal to recognize the disease name of the user, and the semantic recognition unit may be configured to perform semantic recognition on the voice signal to recognize the disease expression input by the user.
The voiceprint recognition is mainly based on a voiceprint acoustic detection technology, acoustic characteristic parameters are extracted to construct a voiceprint recognition model, so that standard voice (healthy voice) and pathological voice can be recognized, and disease names corresponding to the pathological voice can be recognized. Specifically, the identification of the disease name by using voiceprint recognition mainly comprises two aspects of establishment of a voiceprint recognition model and voiceprint recognition, and the establishment of the voiceprint recognition model mainly comprises two parts of collection of a voice sample and extraction of characteristic parameters of the sample.
Specifically, the sound sample collection may include standard (standard voice) sample collection and abnormal (sick voice) sample collection, and the collected sound sample set may be recorded as S i Where i is used to denote the type of sound sample, e.g. when i =0, S i Can characterize a standard sample set corresponding to the standard voice, and the number of samples can be recorded as N 0 When i ≠ 0, S i Can characterize the abnormality corresponding to pathological voiceThe sample set, assuming that the disorder types include g classes, each class of disorder, i.e., each disorder name, can be written as: s 1 ,S 2 ,…,S g The number of samples corresponding to each type of disease can be recorded as N i (i =1,2, ..., g). Thus, each sound sample set S i Can be recorded as
Figure BDA0002403028540000161
Wherein s is ij J sample, N, representing the ith sample set i The number of samples in the ith type sample set is shown.
For extracting sample characteristic parameters, wherein the parameter index for establishing the voiceprint recognition model can cover but is not limited to acoustic information such as tone quality, volume, tone, pronunciation duration, range, special sound type (such as cough) and the like, the sample s ij Can be denoted as s ij =(x 0 ,…,x k ,…,x n ) Wherein x is k Representing a sample s ij N characterizes the number of the characteristic parameters.
The voiceprint recognition may include collecting a voice signal of the user, extracting a characteristic parameter of the voice signal, and recognizing a voiceprint of the user, where the collected voice signal may be recorded as an object s to be measured, and the extracted characteristic parameter of the object s to be measured may be recorded as s = (x =)' 0 ,…,x′ k ,…,x′ n ). The step of recognizing the voiceprint of the user specifically may include inputting the characteristic parameters of the target s to be detected into a voiceprint recognition model for recognition and matching, for example, a modified Hausdorff distance (LTS-HD, denoted as D) may be used LTS ) The K-nearest neighbor algorithm of (1) is used as a classification basis, and specifically, the distance D between the target s to be detected and all the sound samples in the g +1 class sound sample set is calculated firstly LTS (s,s ij ) And then the resulting D will be calculated LTS (s,s ij ) The sound samples are sorted in an increasing mode according to results, the first K minimum distances are taken as K neighbor, and then the K neighbor obtained through statistics belongs to the sound sample set S i Frequency of (t) i (i =0,1, ..., g), finally defining p = index (max { t) } 0 ,…,t g }), where index denotes the index acquisition function, i.e. the obtained p is the maximum frequencyMark, then S ∈ S p Obtaining a sound sample set to which the sample to be tested belongs, wherein if p =0, S is output 0 The voice analysis result of the user is represented as healthy, and if p is not equal to 0, S is output p And characterizing the corresponding disease name of the user.
The first search building module 302 is configured to search for food materials and medicinal materials favorable for disease names to respectively build a benign food material set and a benign medicinal material set.
Specifically, the first lookup building module 302 may include a first obtaining unit for obtaining a first map and a second obtaining unit for obtaining a second map. The first map may include a disease name, a food material favorable for the disease name, and a first attribute value used to represent a degree of interest of the food material in the disease name, for example, the first attribute value may be denoted as r ingre Can have r ingre =1, 5, wherein r ingre =1 the degree of benefit of the food material to the disease name is appropriate, r ingre =5 the interest of the food material for the disease name is strongly appropriate. The second map may include a disease name, a herb, and a second attribute value, wherein the herb is favorable for the disease name, the second attribute value is used to represent the degree of benefit of the herb for the disease name, for example, the second attribute value may be denoted as r med Can have r med = {1,3,5}, in which, r med =1 the beneficial degree of the herb to disease name is weak suitable, r med =3 the degree of benefit of the herb to disease name is moderate, r med =5 can characterize the degree of benefit of the drug to the disease name as strong and appropriate. It should be understood that the first attribute value and the second attribute value may be set by a user according to an actual application, and are not limited to the above value example.
In this embodiment, the benign food material set can be denoted as F good ={f 1 ,…,f j ,…,f q In which f j = [ food material, r ] ingre ]The obtained benign herb collection can be marked as M good ={m 1 ,…,m i ,…,m p In which m is i = [ medicinal materials, r) med ]。
The first searching and updating module 303 is configured to search for food materials and medicinal materials that are favorable for manifestation of a disease, so as to update the benign food material set and the benign medicinal material set respectively.
Specifically, the first lookup updating module 303 may include a third obtaining unit for obtaining a third map and a fourth obtaining unit for obtaining a fourth map. The third map may include a disease manifestation, a food material, and a third attribute value, wherein the food material is a food material favorable for the disease manifestation, the third attribute value is used for representing a degree of interest of the food material in the disease manifestation, for example, the third attribute value may be denoted as sym ingre There may be sym ingre =1, 5, wherein sym ingre =1 the beneficial degree of food material to disease manifestation is appropriate, sym ingre =5 can characterize the favorable degree of food material for the manifestation of the disorder as strongly appropriate. The fourth map may include disease manifestation, medicinal materials, and a fourth attribute value, wherein the medicinal materials are medicinal materials beneficial to disease manifestation, the fourth attribute value is used for representing the degree of benefit of the medicinal materials on disease manifestation, for example, the fourth attribute value may be denoted as sym med There may be sym med =1,3,5, wherein sym med =1 the beneficial degree of the herb to the manifestation of the disease is weakly appropriate, sym med =3 the beneficial degree of the medicinal material to the disease manifestation is moderate and appropriate, sym med =5 can characterize the beneficial degree of the medicinal material to the disease manifestation is strong and appropriate. It should be understood that the third attribute value and the fourth attribute value may be set by self according to the actual application, and are not limited to the above value example.
The first searching and updating module 303 may further comprise a module for determining whether the searched food materials favorable for disease manifestation are included in the benign food material set F good The first judging unit of (1); if included in the benign food material set F good If yes, a second judging unit is called to judge the third attribute value sym of the food material ingre And a first attribute value r ingre If yes, calling the first updating unit to update the first attribute value r ingre Is in phase with the first preset value (which can be set by user according to practical application, for example, the first preset value can be 0.01)Added as a new first attribute value r ingre If not, then call the second updating unit to update the first attribute value r ingre And a third attribute value sym ingre As a new first attribute value r ingre (ii) a If not included in the benign food material set F good In the method, a first adding unit is called to add the searched food materials beneficial to the symptom expression to a benign food material set F good In (1).
The first searching and updating module 303 may further comprise a module for determining whether the searched medical materials beneficial to the disease manifestation are included in the benign medical material set M good The third judging unit in (1); if the drug is included in the benign herb group M good If so, a fourth judging unit is called to judge the fourth attribute value sym of the medicinal material med And a second attribute value r med Whether the attribute values are equal or not, if so, calling a third updating unit to update the second attribute value r med Adding the first preset value as a new second attribute value r med If the attribute values are not equal to the first attribute value r, the fourth updating unit is called to update the second attribute value r med And a fourth attribute value sym med As a new second attribute value r med (ii) a If not included in the benign herb set M good In the method, the second adding unit is called to add the searched medicinal materials which are favorable for the disease manifestation into the benign medicinal material set M good In (1).
On the basis of the initial attribute values of the food materials and the medicinal materials, the attribute values of the food materials and the medicinal materials can be adaptively corrected according to actual conditions, so that the influences of the food materials and the medicinal materials on disease names and symptom expressions can be adaptively updated, and the accuracy of the recommended medicated diet of the embodiment is improved.
The third searching and constructing module 304 is configured to search for food materials and medicinal materials that are harmful to the disease names, so as to respectively construct a malignant food material set and a malignant medicinal material set.
In the first map of this embodiment, r may be ingre = -1, the benefit of the food material to the disease name is adverse, i.e. the food material is a malignant food material that should be contraindicated for the disease name. In the second map of this embodiment, there may ber med = -1, the benefit of the herb to the disease name is unfavorable, i.e., the herb is a malignant herb that should be contraindicated for the disease name. In this embodiment, the obtained set of malignant food materials can be denoted as F bad The obtained malignant medicinal material set can be marked as M bad
In this embodiment, the third searching and constructing module 304 may be further configured to determine whether the searched food materials harmful to the disease names are included in the benign food material set F good If the food material is included in the benign food material set F good In (5), the good food material set F good And deleting the searched food materials harmful to the disease names.
In this embodiment, the third searching and constructing module 304 may be further configured to determine whether the searched medicinal materials harmful to the disease condition name are included in the benign medicinal material set M good In the above formula, M is included in the benign herbs good In middle, M is a collection of good herbs good And deleting the searched medicinal materials harmful to the disease names.
The second searching and updating module 305 is configured to search for food materials and medicinal materials that are harmful to the manifestation of the disease, so as to update the malignant food material set and the malignant medicinal material set, respectively.
In the third map of this embodiment, sym may be further included ingre = -1, the food material may be characterized as adverse to the benefit of the disease performance, i.e. the food material is a malignant food material that should be contraindicated that is detrimental to the disease performance. In the fourth map of this embodiment, sym may be further included med = -1, the benefit of the drug to the manifestation of the disorder can be characterized as adverse, i.e., the drug is a malignant drug that should be contraindicated to be detrimental to the manifestation of the disorder.
In this embodiment, the second searching and updating module 305 may be further configured to determine whether the searched food materials harmful to the manifestation of the disease are included in the malignant food material set F bad In (1), if not included in the malignant food material set F bad Adding the searched food materials harmful to the symptom expression into a malignant food material set F bad In the method, whether the food harmful to the symptom expression is included in the benign food material set or not is judgedF good In the above, if the food material is included in the benign food material set F good In (5), the good food material set F good And deleting the searched food materials harmful to the symptom expression.
In this embodiment, the second searching and updating module 305 may be further configured to determine whether the searched medicinal materials harmful to the symptom are included in the malignant medicinal material set M bad In (1), if not included in the malignant medicinal material set M bad Adding the searched medicinal materials harmful to the disease manifestation into a malignant medicinal material set M bad In the method, whether the searched medicinal materials harmful to the disease manifestation are included in the benign medicinal material set M or not is judged good In the above, M is included in the group of benign herbs good In middle, M is a collection of good herbs good The searched medicinal materials harmful to the symptom are deleted.
The second search building module 306 is configured to search for a medicated diet including the food materials in the updated benign food material set and a medicated diet including the traditional Chinese medicinal materials in the updated benign medicinal material set to build a recommended medicated diet set.
In this embodiment, the second search building module 306 may include a first building unit configured to select a plurality of food materials from the updated benign food material set according to a sequence from high to low of the first attribute value to build the recommended food material set, a second building unit configured to select a plurality of medicinal materials from the updated benign medicinal material set according to a sequence from high to low of the second attribute value to build the recommended medicinal material set, and a search unit configured to search for a medicated diet including the food materials in the recommended food material set and a medicated diet including the medicinal materials in the recommended medicinal material set. The number of the selected food materials and the number of the medicinal materials can be set in a user-defined mode according to practical application.
A first judging module 307, configured to judge whether the medicated diet in the recommended medicated diet set includes a malignant medicated diet;
if so, the first update module 308 is invoked; if not, the recommendation module 309 is called;
the first update module 308 is used for deleting the malignant medicated diet from the recommended medicated diet set to update the recommended medicated diet set, and then calling the recommendation module 309;
the recommending module 309 is used for recommending the medicated diet in the recommended medicated diet set to the user.
In this embodiment, the malignant medicated diet includes the food materials in the updated malignant food material set or the medicinal materials in the updated malignant medicinal material set, and the malignant medicated diet is deleted from the recommended medicated diet set obtained by the second search building module 306, which is beneficial to improving the safety of the recommended medicated diet of this embodiment. In addition, in this embodiment, the recommending module 309 can be specifically configured to recommend the medicated diet in the set of medicated diets to the user through voice.
In the embodiment, the food materials and the medicinal materials suitable for the specific disease names and the food materials and the medicinal materials suitable for the specific disease expressions are obtained based on the disease names and the disease expressions of the users, and then the medicated diet comprising the related food materials and the related medicinal materials are obtained and recommended to the users, so that the embodiment can recommend the medicated diet suitable for the body nursing of the users to the users on the basis of comprehensively obtaining the body conditions of the users, and the disease names and the disease expressions of the users are comprehensively considered, so that the accurate recommendation of the medicated diet under the conditions of the same disease and different diseases can be realized, and the body nursing of the users is facilitated.
Example 4
The present embodiment provides a medicated diet recommendation system based on embodiment 3, referring to fig. 4, the medicated diet recommendation system of the present embodiment further includes:
a second obtaining module 401, configured to obtain a medicated diet preference of a user;
a determining module 402, configured to determine user preference values of all medicated diet of a user according to the medicated diet preference of the user;
the screening and constructing module 403 is used for screening all medicated diet according to the user preference values to construct a preference medicated diet set;
a second judging module 404, configured to judge whether an intersection of the recommended medicated diet set and the preferred medicated diet set is an empty set;
if yes, calling a recommendation module 309; if not, the second update module 405 is invoked;
the second updating module 405 is used to update the set of recommended meals into an intersection, and then call the recommending module 309.
Specifically, in the present embodiment, the initial value of the user preference value is 0, and the user preference includes several preference characteristics (e.g., taste, cuisine, cooking technique, time consumption, etc.). For each preference feature, the determining module 402 may specifically include a fifth determining unit for determining whether the medicated diet completely meets the preference feature, if the medicated diet completely meets the preference feature, the fifth updating unit is invoked to add the user preference value and a second preset value (which may be set by the user according to the actual application, for example, the second preset value may be set to be 1) to obtain a new user preference value, if the medicated diet does not completely meet the preference feature, the sixth determining unit is invoked to determine whether the medicated diet does not meet the preference feature, if the medicated diet does not meet the requirement, the sixth updating unit is invoked to subtract the user preference value from the second preset value to obtain a new user preference value, and if the medicated diet does not meet the requirement, the seventh updating unit is invoked to add the user preference value and a third preset value (which may be set by the user according to the actual application, for example, the second preset value may be set to be 0.1) to obtain a new user preference value.
Taking the preference characteristics including the taste as an example, the value of the taste can include light, slightly spicy, heavy spicy and the like, when the taste of the medicated food is light, if the value of the taste of the user is light, the medicated food completely accords with the preference characteristics, and if the value of the taste of the user is any one of slightly spicy, spicy and heavy spicy, the medicated food does not accord with the preference characteristics. When the taste of the medicated food is slightly spicy, if the taste value of the user is slightly spicy, the medicated food completely accords with the preference characteristic, if the taste value of the user is light, the medicated food does not accord with the preference characteristic, and if the taste value of the user is spicy or heavy spicy, the medicated food does not completely accord with the preference characteristic, namely, does not accord with the preference characteristic completely.
If the medicated diet does not comprise the preference feature or the preference feature completes the calculation of the user preference value, the user preference value is continuously updated according to the other preference feature until all the preference features are traversed.
The screening and constructing module 403 may specifically screen out medicated diet with a user preference value greater than a preset threshold (which may be set by a user according to actual application, for example, the preset threshold may be set to be 0) to construct a preferred medicated diet set. In this embodiment, the malignant medicated diet in embodiment 3 can be deleted from the preferred medicated diet set obtained by the screening and constructing module 403, so as to improve the safety of the recommended medicated diet of this embodiment.
On the basis of the embodiment 3, the medicated diet preference of the user is also considered in the embodiment, so that the medicated diet finally recommended in the embodiment can be used for accurately recuperating the body of the user by specifically aiming at the disease name and the disease expression of the user, that is, on the basis of ensuring the food therapy effect, the specific preference of the user on the medicated diet can be met, and the user experience can be further improved.
Example 5
The present embodiment provides an electronic device, which may be represented by a computing device (for example, may be a server device), and includes a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor executes the computer program to implement the method for recommending a medicated diet provided in embodiment 1 or 2.
Fig. 5 shows a schematic diagram of a hardware structure of the present embodiment, and as shown in fig. 5, the electronic device 9 specifically includes:
at least one processor 91, at least one memory 92, and a bus 93 for connecting the various system components (including the processor 91 and the memory 92), wherein:
the bus 93 includes a data bus, an address bus, and a control bus.
Memory 92 includes volatile memory, such as Random Access Memory (RAM) 921 and/or cache memory 922, and can further include Read Only Memory (ROM) 923.
Memory 92 also includes a program/utility 925 having a set (at least one) of program modules 924, such program modules 924 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The processor 91 executes computer programs stored in the memory 92 to perform various functional applications and data processing, such as the method for recommending medical meals according to embodiment 1 or 2 of the present invention.
The electronic device 9 may further communicate with one or more external devices 94 (e.g., a keyboard, a pointing device, etc.). Such communication may be through an input/output (I/O) interface 95. Also, the electronic device 9 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 96. The network adapter 96 communicates with the other modules of the electronic device 9 via the bus 93. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 9, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) systems, tape drives, and data backup storage systems, etc.
It should be noted that although in the above detailed description several units/modules or sub-units/modules of the electronic device are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functionality of two or more of the units/modules described above may be embodied in one unit/module, according to embodiments of the application. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Example 6
The present embodiment provides a computer-readable storage medium on which a computer program is stored, which when executed by a processor implements the steps of the method for recommending medical meals provided in embodiment 1 or 2.
More specific examples, among others, that the readable storage medium may employ may include, but are not limited to: a portable disk, a hard disk, random access memory, read only memory, erasable programmable read only memory, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
In a possible implementation, the invention can also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps of implementing the method for recommending medicated meals described in embodiment 1 or 2 when the program product is run on the terminal device.
Where program code for carrying out the invention is written in any combination of one or more programming languages, the program code may be executed entirely on the user device, partly on the user device, as a stand-alone software package, partly on the user device and partly on a remote device or entirely on the remote device.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.

Claims (14)

1. A method for recommending medicinal meals, which is characterized by comprising the following steps:
acquiring a disease name and a disease expression of a user;
searching food materials and medicinal materials which are beneficial to the disease names to respectively construct a benign food material set and a benign medicinal material set;
searching food materials and medicinal materials which are beneficial to the manifestation of the disease, so as to respectively update the benign food material set and the benign medicinal material set;
searching the medicated diet comprising the food materials in the updated benign food material set and the medicated diet comprising the traditional Chinese medicinal materials in the updated benign medicinal material set to construct a recommended medicated diet set;
recommending medicated meals in the recommended medicated meal set to the user;
the step of searching for the food materials and the medicinal materials favorable for the disease names comprises the following steps:
acquiring a first map, wherein the first map comprises a disease name, food materials and a first attribute value, the food materials are the food materials beneficial to the disease name, and the first attribute value is used for representing the beneficial degree of the food materials to the disease name;
acquiring a second map, wherein the second map comprises a disease name, medicinal materials and a second attribute value, the medicinal materials are medicinal materials beneficial to the disease name, and the second attribute value is used for representing the beneficial degree of the medicinal materials to the disease name;
the step of searching for food materials and medicinal materials beneficial to the manifestation of the disease comprises the following steps:
obtaining a third map, wherein the third map comprises a disease manifestation, a food material and a third attribute value, the food material is the food material beneficial to the disease manifestation, and the third attribute value is used for representing the beneficial degree of the food material to the disease manifestation;
acquiring a fourth map, wherein the fourth map comprises disease symptoms, medicinal materials and a fourth attribute value, the medicinal materials are medicinal materials beneficial to the disease symptoms, and the fourth attribute value is used for representing the beneficial degree of the medicinal materials to the disease symptoms;
the step of updating the benign food material set and the benign medicinal material set respectively comprises:
judging whether the food materials which are found to be beneficial to the symptom expression are included in the benign food material set;
if the benign food material set is included in the benign food material set, judging whether the third attribute value of the food material is equal to the first attribute value;
if the first attribute value is equal to the second attribute value, adding the first attribute value and a first preset value to obtain a new first attribute value;
if not, taking the larger value of the first attribute value and the third attribute value as a new first attribute value;
if the food materials are not included in the benign food material set, adding the searched food materials which are beneficial to the symptom expression into the benign food material set;
judging whether the searched medicinal materials which are beneficial to the symptom expression are included in the benign medicinal material set;
if the attribute value is included in the benign medicinal material set, judging whether the fourth attribute value and the second attribute value of the medicinal material are equal;
if the first attribute value is equal to the second attribute value, adding the second attribute value and the first preset value to obtain a new second attribute value;
if not, taking the larger value of the second attribute value and the fourth attribute value as a new second attribute value;
if the medical materials are not included in the benign medical material set, the searched medical materials which are favorable for the disease manifestation are added into the benign medical material set.
2. The method for recommending medical meals according to claim 1, wherein the step of obtaining the name and performance of the medical condition of the user comprises:
collecting a sound signal of the user;
performing voiceprint recognition on the sound signal to identify the disease name of the user, and/or performing semantic recognition on the sound signal to identify the disease expression of the voice input of the user;
and/or the presence of a gas in the atmosphere,
the step of recommending the medicated diet in the recommended medicated diet set to the user comprises:
and recommending the medicated diet in the recommended medicated diet set to the user through voice.
3. The method as claimed in claim 1, wherein the step of searching for a medicated diet containing the food materials in the updated benign food material set and a medicated diet containing the traditional Chinese medicinal materials in the updated benign medicinal material set comprises:
selecting a plurality of food materials from the updated benign food material set according to the sequence of the first attribute value from high to low so as to construct a recommended food material set;
selecting a plurality of medicinal materials from the updated benign medicinal material set according to the sequence of the second attribute value from high to low to construct a recommended medicinal material set;
searching the medicated diet comprising the food materials in the recommended food material set and the medicated diet comprising the traditional Chinese medicinal materials in the recommended medicinal material set.
4. The method for recommending medical meals according to claim 1, further comprising, before said step of recommending said user said medical meals in said set of recommended medical meals:
searching food materials and medicinal materials harmful to the disease names to respectively construct a malignant food material set and a malignant medicinal material set;
searching food materials and medicinal materials which are harmful to the symptom expression so as to respectively update the malignant food material set and the malignant medicinal material set;
judging whether the medicated diet in the recommended medicated diet set comprises a malignant medicated diet, wherein the malignant medicated diet comprises the food materials in the updated malignant food material set or the medicinal materials in the updated malignant medicinal material set;
if yes, deleting the malignant medicated diet from the recommended medicated diet set to update the recommended medicated diet set.
5. The method for recommending medical meals according to claim 1, further comprising, before said step of recommending said user said medical meals in said set of recommended medical meals:
acquiring the medicated diet preference of the user;
determining user preference values of the user to all medicated meals according to the medicated meal preferences of the user;
screening all medicated foods according to the user preference value to construct a preference medicated food set;
judging whether the intersection of the recommended medicated diet set and the preference medicated diet set is an empty set or not;
if not, updating the recommended medicated diet set into the intersection.
6. A method as set forth in claim 5, wherein the user preferences comprise a plurality of preference characteristics, the initial value of the user preference value is 0, and for each preference characteristic, the step of determining the user preference values of the user for all medicated meals according to the medicated diet preferences of the user comprises:
judging whether the medicated food completely accords with the preference characteristics;
if the user preference value completely accords with the second preset value, adding the user preference value and the second preset value to be used as a new user preference value;
if the preference characteristics are not completely met, judging whether the medicated food is not met with the preference characteristics completely;
if the user preference value does not meet the preset value, subtracting the second preset value from the user preference value to serve as a new user preference value;
and if the user preference value is not completely inconsistent with the third preset value, adding the user preference value and the third preset value to be used as a new user preference value.
7. A system for recommending medicinal meals, comprising:
the first acquisition module is used for acquiring the disease name and the disease expression of the user;
the first searching and constructing module is used for searching food materials and medicinal materials which are favorable for the disease names so as to respectively construct a benign food material set and a benign medicinal material set;
a first searching and updating module, configured to search for food materials and medicinal materials that are favorable for the manifestation of the disease, so as to update the benign food material set and the benign medicinal material set respectively;
the second searching and constructing module is used for searching the medicated diet comprising the food materials in the updated benign food material set and the medicated diet comprising the traditional Chinese medicinal materials in the updated benign medicinal material set so as to construct a recommended medicated diet set;
the recommending module is used for recommending the medicated diet in the recommended medicated diet set to the user;
the first lookup construction module comprises:
a first obtaining unit, configured to obtain a first graph, where the first graph includes a disease name, a food material and a first attribute value, where the food material is a food material favorable for the disease name, and the first attribute value is used to represent a degree of benefit of the food material on the disease name;
the second acquisition unit is used for acquiring a second map, wherein the second map comprises a disease name, medicinal materials and a second attribute value, the medicinal materials are the medicinal materials beneficial to the disease name, and the second attribute value is used for representing the beneficial degree of the medicinal materials to the disease name;
the first lookup update module comprises:
a third obtaining unit, configured to obtain a third map, where the third map includes a disease manifestation, a food material and a third attribute value, where the food material is a food material favorable for the disease manifestation, and the third attribute value is used to represent a degree of benefit of the food material on the disease manifestation;
a fourth acquiring unit, configured to acquire a fourth map, where the fourth map includes a disease manifestation, a medicinal material and a fourth attribute value, the medicinal material is a medicinal material that is beneficial for the disease manifestation, and the fourth attribute value is used for representing a degree of benefit of the medicinal material on the disease manifestation;
the first lookup update module further comprises:
a first determining unit configured to determine whether the searched food material favorable for the manifestation of the disease is included in the benign food material set;
if the benign food material set is included in the benign food material set, calling a second judging unit for judging whether the third attribute value of the food material is equal to the first attribute value;
if the first attribute value is equal to the first preset value, calling a first updating unit for adding the first attribute value and the first preset value to be used as a new first attribute value;
if the attribute values are not equal, calling a second updating unit for taking the larger value of the first attribute value and the third attribute value as a new first attribute value;
if the food materials are not included in the benign food material set, calling a first adding unit for adding the searched food materials which are beneficial to the symptom expression to the benign food material set;
a third determining unit configured to determine whether the searched medicinal material that is favorable for the manifestation of the disease is included in the benign medicinal material set;
if the attribute value is included in the benign medicinal material set, calling a fourth judging unit for judging whether the fourth attribute value of the medicinal material is equal to the second attribute value;
if the attribute values are equal to the first preset value, calling a third updating unit for adding the second attribute value and the first preset value to be used as a new second attribute value;
if the attribute values are not equal to the first attribute value, calling a fourth updating unit for taking the larger value of the second attribute value and the fourth attribute value as a new second attribute value;
if the medicinal material is not included in the benign medicinal material set, calling a second adding unit for adding the searched medicinal material which is favorable for the symptom expression into the benign medicinal material set.
8. The system as claimed in claim 7, wherein the first acquiring module comprises an acquiring unit, the first acquiring module further comprises a voiceprint recognition unit and/or a semantic recognition unit; wherein:
the acquisition unit is used for acquiring the sound signal of the user;
the voiceprint recognition unit is used for carrying out voiceprint recognition on the sound signal so as to recognize the disease name of the user;
the semantic recognition unit is used for performing semantic recognition on the sound signal to recognize the symptom expression of the user voice input;
and/or the presence of a gas in the gas,
the recommending module is specifically used for recommending the medicated diet in the recommended medicated diet set to the user through voice.
9. The system of claim 7, wherein the second search building module comprises:
the first constructing unit is used for selecting a plurality of food materials from the updated benign food material set according to the sequence of the first attribute value from high to low so as to construct a recommended food material set;
the second construction unit is used for selecting a plurality of medicinal materials from the updated benign medicinal material set according to the sequence of the second attribute value from high to low so as to construct a recommended medicinal material set;
and the searching unit is used for searching the medicated diet comprising the food materials in the recommended food material set and the medicated diet comprising the traditional Chinese medicinal materials in the recommended medicinal material set.
10. The system of claim 7, further comprising:
the third searching and constructing module is used for searching the food materials and the medicinal materials harmful to the disease names so as to respectively construct a malignant food material set and a malignant medicinal material set;
the second searching and updating module is used for searching food materials and medicinal materials harmful to the symptom expression so as to respectively update the malignant food material set and the malignant medicinal material set;
the first judging module is used for judging whether the medicated diet in the recommended medicated diet set comprises a malignant medicated diet, wherein the malignant medicated diet comprises food materials in an updated malignant food material set or medicinal materials in an updated malignant medicinal material set;
if yes, calling a first updating module for deleting the malignant medicated diet from the recommended medicated diet set so as to update the recommended medicated diet set.
11. The system as set forth in claim 7, further comprising:
the second acquisition module is used for acquiring the medicated diet preference of the user;
the determining module is used for determining the user preference values of the user to all medicated food according to the medicated food preference of the user;
the screening and constructing module is used for screening all medicated foods according to the user preference value so as to construct a preference medicated food set;
the second judgment module is used for judging whether the intersection of the recommended medical food set and the preference medical food set is an empty set or not;
if not, calling a second updating module for updating the recommended medicated diet set into the intersection.
12. The system of claim 11, wherein the user preferences comprise a plurality of preference characteristics, the initial value of the user preference value is 0, and the determining module comprises, for each preference characteristic:
a fifth judging unit, configured to judge whether the medicated diet completely conforms to the preference feature;
if the user preference value is completely consistent with the second preset value, calling a fifth updating unit for adding the user preference value and the second preset value to be used as a new user preference value;
if the preference characteristics are not completely met, calling a sixth judging unit for judging whether the medicated food does not completely meet the preference characteristics;
if the user preference value does not meet the preset value, calling a sixth updating unit for subtracting the second preset value from the user preference value to serve as a new user preference value;
if the user preference value does not completely meet the requirement, a seventh updating unit is called and used for adding the user preference value and a third preset value to serve as a new user preference value.
13. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of recommending medical meals according to any of claims 1 to 6 when executing the computer program.
14. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of dietary recommendation according to any one of claims 1 to 6.
CN202010152791.5A 2020-03-06 2020-03-06 Medicated diet recommendation method and system, electronic equipment and storage medium Active CN111383731B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010152791.5A CN111383731B (en) 2020-03-06 2020-03-06 Medicated diet recommendation method and system, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010152791.5A CN111383731B (en) 2020-03-06 2020-03-06 Medicated diet recommendation method and system, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111383731A CN111383731A (en) 2020-07-07
CN111383731B true CN111383731B (en) 2023-04-18

Family

ID=71218638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010152791.5A Active CN111383731B (en) 2020-03-06 2020-03-06 Medicated diet recommendation method and system, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111383731B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841937A (en) * 2012-08-14 2012-12-26 苏州仁耀商务信息咨询有限公司 Health intelligent inquiring system
CN103948037A (en) * 2014-05-13 2014-07-30 陈文才 Health-care breakfast
CN107391906A (en) * 2017-06-19 2017-11-24 华南理工大学 Health diet knowledge network construction method based on neutral net and collection of illustrative plates structure
WO2018054124A1 (en) * 2016-09-22 2018-03-29 中兴通讯股份有限公司 Health food recommendation method and apparatus, and terminal device
CN108022633A (en) * 2017-12-25 2018-05-11 广州市体育科学研究所 It is used for the method for sport nutrition Health intervention based on cell phone application
CN108182973A (en) * 2017-12-29 2018-06-19 湖南大学 A kind of Intelligent Diagnosis Technology of knowledge based collection of illustrative plates reasoning
CN109102855A (en) * 2018-07-03 2018-12-28 北京康夫子科技有限公司 Drug recommended method
CN109285597A (en) * 2018-10-08 2019-01-29 北京健康有益科技有限公司 A kind of dietotherapy recipe recommendation method, apparatus and readable medium
CN109785975A (en) * 2018-12-04 2019-05-21 平安科技(深圳)有限公司 Auxiliary user independently purchases the method, apparatus, equipment and storage medium of medicine
JP2019095552A (en) * 2017-11-21 2019-06-20 京セラドキュメントソリューションズ株式会社 Voice analysis system, voice analysis device, and voice analysis program
CN110851619A (en) * 2019-10-23 2020-02-28 北京科技大学 Method and device for constructing personalized knowledge graph based on traditional Chinese medical record

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102841937A (en) * 2012-08-14 2012-12-26 苏州仁耀商务信息咨询有限公司 Health intelligent inquiring system
CN103948037A (en) * 2014-05-13 2014-07-30 陈文才 Health-care breakfast
WO2018054124A1 (en) * 2016-09-22 2018-03-29 中兴通讯股份有限公司 Health food recommendation method and apparatus, and terminal device
CN107391906A (en) * 2017-06-19 2017-11-24 华南理工大学 Health diet knowledge network construction method based on neutral net and collection of illustrative plates structure
JP2019095552A (en) * 2017-11-21 2019-06-20 京セラドキュメントソリューションズ株式会社 Voice analysis system, voice analysis device, and voice analysis program
CN108022633A (en) * 2017-12-25 2018-05-11 广州市体育科学研究所 It is used for the method for sport nutrition Health intervention based on cell phone application
CN108182973A (en) * 2017-12-29 2018-06-19 湖南大学 A kind of Intelligent Diagnosis Technology of knowledge based collection of illustrative plates reasoning
CN109102855A (en) * 2018-07-03 2018-12-28 北京康夫子科技有限公司 Drug recommended method
CN109285597A (en) * 2018-10-08 2019-01-29 北京健康有益科技有限公司 A kind of dietotherapy recipe recommendation method, apparatus and readable medium
CN109785975A (en) * 2018-12-04 2019-05-21 平安科技(深圳)有限公司 Auxiliary user independently purchases the method, apparatus, equipment and storage medium of medicine
CN110851619A (en) * 2019-10-23 2020-02-28 北京科技大学 Method and device for constructing personalized knowledge graph based on traditional Chinese medical record

Also Published As

Publication number Publication date
CN111383731A (en) 2020-07-07

Similar Documents

Publication Publication Date Title
CN111414393B (en) Semantic similar case retrieval method and equipment based on medical knowledge graph
CN106227880B (en) Method for implementing doctor search recommendation
CN106874643B (en) Method and system for automatically constructing knowledge base to realize auxiliary diagnosis and treatment based on word vectors
CN111274365A (en) Intelligent inquiry method and device based on semantic understanding, storage medium and server
CN111564223B (en) Infectious disease survival probability prediction method, and prediction model training method and device
CN111445968A (en) Electronic medical record query method and device, computer equipment and storage medium
CN112015917A (en) Data processing method and device based on knowledge graph and computer equipment
CN112614565A (en) Traditional Chinese medicine classic famous prescription intelligent recommendation method based on knowledge-graph technology
US11650979B2 (en) Assigning a new entigen to a word group
CN111382260A (en) Method, device and storage medium for correcting retrieved text
CN106845058A (en) The standardized method of disease data and modular station
CN115688760B (en) Intelligent diagnosis guiding method, device, equipment and storage medium
CN114358001A (en) Method for standardizing diagnosis result, and related device, equipment and storage medium thereof
CN118312816A (en) Cluster weighted clustering integrated medical data processing method and system based on member selection
CN112115697A (en) Method, device, server and storage medium for determining target text
CN114758742A (en) Medical record information processing method and device, electronic equipment and storage medium
CN112489790B (en) Method, device, equipment and storage medium for determining key data
CN111383731B (en) Medicated diet recommendation method and system, electronic equipment and storage medium
CN109907751A (en) A kind of laboratory pectoralgia data inspection based on artificial intelligence supervised learning assists in identifying method
CN113823414A (en) Main diagnosis and main operation matching detection method and device, computing equipment and storage medium
CN117437422A (en) Medical image recognition method and device
CN115917528A (en) Question inquiry device, method, equipment and storage medium
CN114201607B (en) Information processing method and device
CN109858330A (en) Expression analysis method, apparatus, electronic equipment and storage medium based on video
CN115203532A (en) Project recommendation method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant