A kind of intellect service robot health identification system and methodTechnical field
The present invention relates to service robot technical field is and in particular to pass through inquiring and inspection of the tongue to using service robotMode, the method for identification measured's body constitution.
Background technology
Chinese medicinal interrogation is one of basic skills that the traditional Chinese medical science examines disease.Inquiring is that doctor passes through patient or the person of accompanying the patient to see a doctor is hadThe inquiry of purpose, the method to understand the state of an illness, particularly understand patient's body subjective feeling at that time.By inquiring it will be seen thatThe a lot of situation of relevant patient body situation, the such as subjective symptomss of patient, onset process, treatment process, daily life, usually body constitutionAnd medical history, family's medical history etc..How the method for Traditional Chinese Medicine inquiring to be passed through using roboticses, artificial intelligence technologyRealizing and extensively applying is an important problem.
Have in China Association of Traditional Chinese Medicine's standard《Traditional Chinese Medicine Constitution Classification, decision method and criterion》, tcm constitution is dividedBecome 9 classes, be yang deficiency matter, deficiency of YIN matter, deficiency of vital energy matter, phlegm-damp matter, damp and hot matter, blood stasis matter, special official report matter, stagnation of QI matter, gentle matter respectively.Wherein gentle matter is health-physical fitness, and remaining 8 kinds is subhealth state body constitution.Although there being the traditional Chinese medical science in terms of the paper delivered in the recent period and patentBody constitution decision method and criterion, but also it is not based on service robot technology, using natural language processing mode, to askingExamine and carry out human body constitution discrimination method.
Content of the invention
In sum, it is an object of the invention to solving existing shortage to be based on service robot technology, using natural languageProcessing mode, carries out the technical deficiency of human body constitution discrimination method, and proposes a kind of intellect service robot health and distinguish to inquiringKnow system and method.
For solving technical problem proposed by the invention, the technical scheme of employing is:
A kind of intellect service robot health identification system is it is characterised in that described system includes:User identity identification module,Inspection of the tongue module, inquiring module, inquiring gauge module and physique typing module;
User identity recognizes module, receive user essential information typing;
Inspection of the tongue module, is shot the facial photo after user's tongue stretches out by photographic head, using image processing method, face is shonePiece is processed, and is partitioned into tongue part, extracts the RGB color information of tongue part, obtains tongue color value;
Inquiring module, in conjunction with user basic information and obtain tongue color value, autonomous separates the users into child, adult male,Adult female 3 class crowd, for 3 class different crowds, automatically one by one inquiry user with tongue fur and body of the tongue relevant issues, Yong HuxuanSelect voice answering or touch-control selects to answer, and result answered in record automatically;
Inquiring gauge module, includes Traditional Chinese Medicine Constitution Classification table, include in Traditional Chinese Medicine Constitution Classification table respectively with body constitution:Yang deficiencyMatter, deficiency of YIN matter, deficiency of vital energy matter, phlegm-damp matter, damp and hot matter, blood stasis matter, special official report matter, stagnation of QI matter peace and the fractional value answered of verifying;
Physique typing module, for fractional statisticses are carried out according to the answer result that inquiring module provides, and and Traditional Chinese Medicine Constitution ClassificationIn table, each body constitution fractional value is compared, and picks out the body constitution of user.
Described user identity identification module receive user essential information includes:Name, sex, the age, dietary habit,Sleep habit, allergies, Inheritance medical history, blood group, height and body weight.
Described inquiring module passes through voice broadcast, and user can select voice answering or touch-control to select to answer.
Using described intellect service robot health identification system and method it is characterised in that methods described is using as followsStep:
1), user by user identity recognize module interact, collection user fill in name, sex, the age, diet practiseUsed, sleep habit, allergies, Inheritance medical history, blood group, height, body weight essential information;
2), the sex filled according to user of inquiring module and age, autonomous is distinguished as user:Child, adult male or one-tenthYear women population;
3), user the facial photo after user's tongue stretches out is shot by the photographic head of inspection of the tongue module, tongue is extracted by inspection of the tongue moduleThe color value of picture, inquiring module is asked according to 4 related with body of the tongue of tongue fur with user in tongue color value programming count inquiringThe answer value of topic;
4), inspection of the tongue module according to user 3 class crowd, every class crowd corresponds to corresponding inquiring problem, inspection of the tongue module first language one by oneSound playback problem, then user can be answered a question by voice answering problem or touch control manner;
5), inquiring module carries out fractional statisticses to all inquiring problem answers, and counted according to 9 class body constitution by physique typing moduleFraction is compared with Traditional Chinese Medicine Constitution Classification table;
6), physique typing module according to physique typing rule, pick out the body constitution of user.
Gentle matter in described Traditional Chinese Medicine Constitution Classification table is health-physical fitness, and remaining 8 kinds is biased body constitution;Biased body constitution is everyTopic answers no or not 1 point of meter, answer once in a while/sometimes count 3 points, answer always/be 5 points of meter;Gentle matter is often inscribed and is answered no or do not haveHave meter 5 points, answer once in a while/sometimes count 3 points, answer always/be meter 1 point;Every kind of body constitution total score is 100 points;Every kind of body constitution, often inscribesWeighing computation method:20/ problem number;
Constitution Identification rule is:Gentle matter is more than 60 points, and biased body constitution is respectively less than 40 points, then for gentle matter;When biased body constitutionIn have more than 40 points when, take biased body constitution that body constitution of mid score highest.
The problem of described inquiring module includes 4 tongue furs with inquiry user and body of the tongue, and 29 is for male, femaleProperty and the different question sentences of child;Inquiring module passes through sex and the age information of user, male is asked with 26 inquiring information, to femaleProperty ask 27 inquiring information, ask 24 inquiring information for child, these inquiring information pass through voice broadcast, user can selectVoice answering or touch-control select to answer.
Beneficial effects of the present invention are:The present invention adopts service robot to combine inquiring and inspection of the tongue model, robot visionAnalysis tongue picture, and voice broadcast carries out inquiring with word questionnaire to measured, is selected based on measured's voice answering or touch-controlCarry out result statistics, recognize body constitution result, be that illiterate user provides interactive voice mode and carries out health identification;Use for character learningFamily provides voice and touch-control both modalities which carries out health identification;Improve Consumer's Experience.Classified by user, in conjunction with inspection of the tongue andInquiring, autonomous inquiring time shortening user, improves the intelligent of Constitution Identification.
Compared with traditional method, the present invention carries out inquiring result visualization analysis using multi-module interactive mode, and user canMore easily to be diagnosed and to recognize, enhance the readability of diagnostic result and ease for use and precision, and the asking of inquiringTopic is more intelligent, is no longer all thousand times same answers of tester same pair questionnaire.It is not only illiterate tester and provide languageThe inquiring mode of sound interaction, and the inquiring mode of touch-control interaction is provided for response speed agility person.
Brief description
Fig. 1 is the service robot intelligence inquiring of the present invention and the Constitution Identification system engineering flow chart of inspection of the tongue model;
Fig. 2 recognizes function structure chart for user identity of the present invention;
Fig. 3 is the workflow structure figure of inspection of the tongue module of the present invention.
Specific embodiment
Below in conjunction with accompanying drawing and specific embodiment of the present invention, the present invention is further described.
Shown in Fig. 3, intellect service robot of the present invention health identification system is it is characterised in that described systemSystem includes:User identity identification module, inspection of the tongue module, inquiring module, inquiring gauge module and physique typing module;
User identity recognizes module, receive user essential information typing;User basic information such as name, sex, age, diet are practisedUsed, sleep habit, allergies, Inheritance medical history, blood group, height, body weight etc..Distinguishing user by sex is male or femaleProperty.By age information subregion child, adult.
Inspection of the tongue module, is shot the facial photo after user's tongue stretches out by photographic head, using image processing method, face is shonePiece is processed, and is partitioned into tongue part, extracts the RGB color information of tongue part, obtains tongue color value;
Inquiring module, in conjunction with user basic information and obtain tongue color value, autonomous separates the users into child, adult male,Adult female 3 class crowd, for 3 class different crowds, automatically one by one inquiry user with tongue fur and body of the tongue relevant issues, Yong HuxuanSelect voice answering or touch-control selects to answer, and result answered in record automatically.Specifically, inquiring module includes tcm constitution and divides33 words in class, decision method and criterion, summary is got off, and 4 related to inspection of the tongue, mainly the tongue fur of inquiry user andBody of the tongue.29 is different question sentences for male, women and child.Inquiring module passes through sex and the age information of user, rightMale asks 26 inquiring information, women is asked with 27 inquiring information, asks 24 inquiring information for child.These inquiring information are led toCross voice broadcast, user can select voice answering or touch-control to select to answer.Inquiring gauge module includes determining that every kind of body constitution is askedThe weight of topic, counts the fraction of every kind of body constitution problem.Tcm constitution is divided into 9 classes, is yang deficiency matter, deficiency of YIN matter, deficiency of vital energy matter, expectorant respectivelyWet matter, damp and hot matter, blood stasis matter, special official report matter, stagnation of QI matter, gentle matter.Gentle matter is health-physical fitness, and remaining 8 kinds is biased body constitution.PartiallyQuite body constitution often inscribes that answer is no or not 1 point of meter, answer once in a while/sometimes count 3 points, answer always/be 5 points of meter;Gentle matter is often inscribed backAnswer no or not 5 points of meter, answer once in a while/sometimes count 3 points, answer always/be 1 point of meter;Every kind of body constitution total score is 100 points;Every kind ofBody constitution, the weighing computation method often inscribed:20/ problem number.
Inquiring gauge module, includes Traditional Chinese Medicine Constitution Classification table, include in Traditional Chinese Medicine Constitution Classification table respectively with body constitution:SunEmpty matter, deficiency of YIN matter, deficiency of vital energy matter, phlegm-damp matter, damp and hot matter, blood stasis matter, special official report matter, stagnation of QI matter peace and the fractional value answered of verifying;
Physique typing module, for fractional statisticses are carried out according to the answer result that inquiring module provides, and and Traditional Chinese Medicine Constitution ClassificationIn table, each body constitution fractional value is compared, and picks out the body constitution of user.The total score of every kind of body constitution is compared.Tcm constitutionIt is divided into 9 classes, be yang deficiency matter, deficiency of YIN matter, deficiency of vital energy matter, phlegm-damp matter, damp and hot matter, blood stasis matter, special official report matter, stagnation of QI matter, gentle matter respectively.Gentle matter is health-physical fitness, and remaining 8 kinds is biased body constitution.Constitution Identification rule is that gentle matter is more than 60 points, and biased body constitution is equalLess than 40 points, then for gentle matter.When having more than 40 points in biased body constitution, take biased body constitution that body of mid score highestMatter.
Using above-mentioned intellect service robot health identification system and method, using following steps:
1), user by user identity recognize module interact, collection user fill in name, sex, the age, diet practiseUsed, sleep habit, allergies, Inheritance medical history, blood group, height, body weight essential information.
2), the sex filled according to user of inquiring module and age, autonomous is distinguished as user:Child, adult maleOr adult female population.
3), user the facial photo after user's tongue stretches out is shot by the photographic head of inspection of the tongue module, carried by inspection of the tongue moduleTake the color value of tongue picture, inquiring module according in tongue color value programming count inquiring with user tongue fur related with body of the tongue 4The answer value of individual problem;Gentle matter in described Traditional Chinese Medicine Constitution Classification table is health-physical fitness, and remaining 8 kinds is biased body constitution;PartiallyQuite body constitution often inscribes that answer is no or not 1 point of meter, answer once in a while/sometimes count 3 points, answer always/be 5 points of meter;Gentle matter is often inscribed backAnswer no or not 5 points of meter, answer once in a while/sometimes count 3 points, answer always/be 1 point of meter;Every kind of body constitution total score is 100 points;Every kind ofBody constitution, the weighing computation method often inscribed:20/ problem number;
Constitution Identification rule is:Gentle matter is more than 60 points, and biased body constitution is respectively less than 40 points, then for gentle matter;When biased body constitutionIn have more than 40 points when, take biased body constitution that body constitution of mid score highest.
4), inspection of the tongue module according to user 3 class crowd, every class crowd corresponds to corresponding inquiring problem, and inspection of the tongue module is first one by oneSpeech play problem, then user can be answered a question by voice answering problem or touch control manner;The asking of inquiring moduleTopic includes 4 tongue furs with inquiry user and body of the tongue, and 29 is different question sentences for male, women and child;Inquiring mouldBlock passes through sex and the age information of user, male is asked with 26 inquiring information, women is asked with 27 inquiring information, for childAsk 24 inquiring information, these inquiring information pass through voice broadcast, user can select voice answering or touch-control to select to answer.
5), inquiring module fractional statisticses are carried out to all inquiring problem answers, and by physique typing module according to 9 class body constitutionStatistics fraction is compared with Traditional Chinese Medicine Constitution Classification table;
6), physique typing module according to physique typing rule, pick out the body constitution of user.
The present invention is based on the problem in tcm constitution inquiring questionnaire, first age, sex etc. from the essential information of testerInformation, is divided into child, adult male, adult female three class crowd tester.Related to picture of the tongue question sentence in problem is adoptedVisual analysises method is processed, and is not required to tester and carries out inquiring test.Remaining issues is divided into child, adult male, grows upWomen etc. three class carries out voice broadcast and word questionnaire and show, measured's voice answering or touch-control selection questionnaire answer, according inDoctor's body constitution criterion is counted and Constitution Identification.