A method, apparatus, device and system for assessing psychological health of intestinal symptoms
Patent Information
- Application Number
- CN202611335965.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-31
- Publication Date
- 2026-10-30
AI Technical Summary
[0003]有鉴于此,有必要提供一种肠道症状心理健康评估方法、装置、设备及系统,用以解决现有心理评估系统因评估维度存在生理与心理脱节的先天缺陷,评估结论不全面且生成干预建议方案缺乏针对性和可操作性的技术问题
[0014]采用上述实现方式的有益效果是:本发明提供的肠道症状心理健康评估方法、装置、设备及系统,首先在评估维度上,将心理健康评估和肠道症状评估分为两阶段进行,并且两阶段自动衔接、通过测试题目问答的形式实现评估。而在评估诊断时,结合心理健康评分以及肠道症状评分进行两方面验证,综合确定待评估对象在肠道症状下的心理健康评估等级,由此克服了现有技术因评估维度存在生理与心理脱节的先天缺陷,使得评估结论更全面。而在诊断建议生成时,将待评估对象的年龄作为限定条件,将心理健康评估等级作为干预依据,通过心理健康干预数据库来生成心理健康干预建议,能够平衡各个年龄段在认知水平和需求上的差异,使得干预方案具有针对性,能够被不同认知水平和需求的待评估对象所接受,从而具备可操作性,避免一刀切式的僵硬模板化推荐。
Smart Images

Figure CN123017501A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of digital medical assessment technology, specifically to a method, device, equipment, and system for assessing mental health related to intestinal symptoms. Background Technology
[0002] Existing psychological assessment systems generally employ a single-scale model, such as using only the SDQ questionnaire or the PHQ-9 scale for mental health evaluation. These systems ignore recent findings in neuroscience regarding the "brain-gut axis," which demonstrates a clear physiological correlation between gut microbiota status and mental and emotional disorders such as depression and anxiety. Current systems cannot simultaneously assess and evaluate a user's gastrointestinal symptoms while assessing their psychological state, resulting in an inherent flaw of disconnect between physiological and psychological dimensions and incomplete assessment conclusions. Furthermore, many assessment systems only provide a score after evaluation, while subsequent intervention recommendations for psychological deficiencies are overly templated. These intervention recommendations are neither based on the assessment results nor consider the differences in cognitive levels and needs among adolescents of different ages, leading to a lack of specificity and practicality in the intervention plans. Summary of the Invention
[0003] In view of this, it is necessary to provide a method, device, equipment and system for assessing the mental health of intestinal symptoms, in order to solve the technical problems of existing psychological assessment systems, which suffer from the inherent defect of a disconnect between physiological and psychological assessment dimensions, incomplete assessment conclusions and a lack of targeted and operable intervention recommendations.
[0004] To address the above problems, this invention provides a method for assessing mental health related to intestinal symptoms, comprising: In response to the mental health assessment request from the person to be assessed, obtain the first test items for assessing mental health; In response to obtaining the answer to the first question of the first test question from the subject to be evaluated, a second test question for evaluating intestinal symptoms is obtained; In response to obtaining the answer to the second question of the second test question from the subject to be evaluated, a mental health score is calculated based on the answer to the first question, and a gut symptom score is calculated based on the answer to the second question; The mental health score and the intestinal symptom score are validated and evaluated to obtain the mental health assessment level of the subject under intestinal symptoms; The age group corresponding to the age of the subject to be assessed is determined. Based on the age group and the mental health assessment level, a mental health intervention database is queried to obtain a mental health intervention plan. The mental health intervention database records mental health intervention recommendations for each age group at each mental health assessment level.
[0005] In one possible implementation, the first test items include a plurality of sequential mental health test items, and obtaining the first test items for assessing mental health includes: Get your first mental health test questions; In response to obtaining the answer to the first mental health test question from the subject to be evaluated, the next mental health test question is obtained in sequence; When the sequence number of the next mental health test question is the preset target sequence number, the obtained next mental health test question will be updated to the preset lie detection question. In response to obtaining the answers of the lie detector questions from the subject to be evaluated, the next mental health test question is obtained in sequence.
[0006] In one possible implementation, the verification and evaluation of the mental health score and the intestinal symptom score to obtain the mental health assessment level of the subject under intestinal symptoms includes: The mental health level of the subject to be assessed is determined based on the mental health score. The intestinal function level of the subject to be evaluated is determined based on the intestinal symptom score. Based on the mental health level, a priori medical knowledge database is queried to determine the intestinal function description texts divided under the mental health level. The priori medical knowledge database records the intestinal function description texts divided under each mental health level, and the intestinal function description texts record the mental health assessment level corresponding to each intestinal function level. The gut function level is matched with the gut function description text to obtain the mental health assessment level of the subject under gut symptoms.
[0007] In one possible implementation, the method further includes: In response to the subject's request for an explanation of the mental health intervention program, a first prompt word is constructed. The first prompt word is used to guide the large language model to describe and explain the mental health intervention recommendations. The prompt words and the mental health intervention suggestions are input into a large language model for reasoning to generate descriptive text describing the mental health intervention suggestions; The first broadcast voice is generated based on the described text.
[0008] In one possible implementation, the first prompt word is constructed in the following way: Obtain the prompt word template, which includes: the age description template of the object to be evaluated, the field description template of the description text, and the language style template of the description text; Based on the age of the object to be evaluated, determine the field length and language style of the descriptive text; The age, the field length, and the language style are respectively filled into the age description template, the field description template, and the language style template to obtain the first prompt word.
[0009] In one possible implementation, the method further includes: Obtain the voice recording of the question asked by the person to be evaluated in response to the first broadcast voice regarding mental health counseling; The system identifies the spoken question and generates a text description of the question. Based on the problem description text, a pre-constructed mental health symptom knowledge graph is queried to obtain the corresponding symptom description text of the mental health symptoms of the subject to be evaluated. The mental health symptom knowledge graph records symptom description texts under various mental health symptoms. Based on the symptom description text, a second cue word is constructed to guide a large-scale model in answering mental health counseling questions. The symptom description text, the problem description text, and the second prompt word are input into a large language model for inference to obtain the question answer text corresponding to the problem description text. A second broadcast voice is generated based on the text of the answer to the question.
[0010] In one possible implementation, the method further includes: In response to the question-and-answer request from the subject to be evaluated regarding the mental health intervention program, the target text corresponding to the question-and-answer request is obtained; Extract keywords describing the psychological state of the subject to be evaluated from the target text; Based on the keyword query, the psychological keyword database is used to obtain the psychological tendency weight corresponding to the keyword. The psychological keyword database records multiple keywords describing psychological states. Each keyword is assigned a corresponding psychological tendency weight. Positive psychological tendency weights are used to indicate that the psychological state is conducive to mental health, while negative psychological tendency weights are used to indicate that the psychological state is detrimental to mental health. The average value of the psychological tendency weights of the keywords is calculated to obtain the final score of the psychological state of the subject to be evaluated; The personality classification level of the subject to be evaluated is determined based on the final score. In response to the personality analysis request of the person to be evaluated, a personality analysis report text is generated based on the personality classification level.
[0011] The present invention also provides a mental health assessment device for intestinal symptoms, comprising: The first acquisition module is used to acquire the first test items for assessing mental health in response to the mental health assessment request of the subject to be assessed. The second acquisition module is used to acquire a second test question for assessing intestinal symptoms in response to acquiring the answer to the first question of the first test question from the subject to be assessed. The scoring calculation module is used to calculate a mental health score based on the first question answer and to calculate a gut symptom score based on the second question answer in response to obtaining the answer to the second question of the subject to be evaluated. The verification and assessment module is used to verify and assess the mental health score and the intestinal symptom score to obtain the mental health assessment level of the subject under intestinal symptoms; The intervention suggestion module is used to determine the age group corresponding to the age of the subject to be assessed, query the mental health intervention database based on the age group and the mental health assessment level, and obtain a mental health intervention plan. The mental health intervention database records mental health intervention suggestions for each age group at each mental health assessment level.
[0012] The present invention also provides an electronic device, including a memory and a processor, wherein the memory is used to store a program; the processor is coupled to the memory and is used to execute the program stored in the memory to implement the steps of the above-described method for assessing the mental health of intestinal symptoms.
[0013] The present invention also provides a mental health assessment system for intestinal symptoms. The system includes: a terminal, a communication device, and the aforementioned electronic device. The terminal and the electronic device communicate through the communication device. The terminal is used to obtain a mental health assessment request from the subject to be assessed. The communication device is used to transmit the mental health assessment request from the subject to be assessed to the electronic device, and after the processor of the electronic device executes the program stored in its memory, it returns the mental health assessment level and mental health intervention plan as the mental health assessment result for intestinal symptoms to the terminal.
[0014] The beneficial effects of adopting the above implementation method are as follows: The intestinal symptom mental health assessment method, device, equipment, and system provided by this invention firstly divides the assessment into two stages: mental health assessment and intestinal symptom assessment. These two stages are automatically linked and assessed through a question-and-answer format. During the assessment and diagnosis, both mental health scores and intestinal symptom scores are combined for verification, comprehensively determining the mental health assessment level of the subject under intestinal symptoms. This overcomes the inherent defect of existing technologies where the assessment dimensions are disconnected from physiological and psychological aspects, resulting in a more comprehensive assessment conclusion. Furthermore, when generating diagnostic recommendations, the age of the subject is used as a limiting condition, and the mental health assessment level is used as the basis for intervention. Mental health intervention recommendations are generated through a mental health intervention database. This balances the differences in cognitive levels and needs across age groups, making the intervention plan targeted and acceptable to subjects with different cognitive levels and needs, thus ensuring operability and avoiding rigid, template-based recommendations. Attached Figure Description
[0015] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 A flowchart illustrating the mental health assessment method for intestinal symptoms provided by this invention; Figure 2 A schematic diagram of the structure of the intestinal symptoms mental health assessment device provided by the present invention; Figure 3 A schematic diagram of an embodiment of the electronic device provided by the present invention. Detailed Implementation
[0017] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0018] In the description of the embodiments of this application, unless otherwise stated, "a plurality of" means two or more.
[0019] In this embodiment of the invention, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, apparatus, product or device that includes a series of steps or modules is not necessarily limited to those steps or modules that are explicitly listed, but may include other steps or modules that are not explicitly listed or that are inherent to such process, method, product or device.
[0020] The naming or numbering of steps in the embodiments of the present invention does not mean that the steps in the method flow must be executed in the time / logical order indicated by the naming or numbering. The execution order of the named or numbered process steps can be changed according to the technical purpose to be achieved, as long as the same or similar technical effect can be achieved.
[0021] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a mutually exclusive, independent, or alternative embodiment. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.
[0022] The intestinal symptom mental health assessment method provided by this invention can be applied to mental health assessment scenarios for people of all ages. The executing entity can be various terminals, servers, or remote cloud platforms. When the person to be assessed needs to undergo an intestinal symptom mental health assessment, a corresponding mental health assessment request is initiated. At this time, the intestinal symptom mental health assessment method provided by this invention is invoked to respond to the mental health assessment request of the person to be assessed. Finally, the mental health assessment level of the person to be assessed under intestinal symptoms and a mental health intervention plan are generated as the final assessment result and fed back to the person to be assessed.
[0023] The following describes in detail the method for assessing intestinal symptoms and mental health provided by this invention.
[0024] Figure 1 This is a flowchart illustrating the mental health assessment method for intestinal symptoms provided by the present invention, as shown below. Figure 1 As shown, the mental health assessment method for intestinal symptoms can be implemented through the following steps 101 to 105, which are explained in detail below.
[0025] Step 101: In response to the mental health assessment request of the person to be assessed, obtain the first test items for assessing mental health.
[0026] Here, this embodiment of the invention divides the mental health assessment process for intestinal symptoms into two stages. The first stage is a normal mental health assessment stage, where the assessment is unrelated to intestinal symptoms and is conducted through a question-and-answer format. Specifically, a Computer Adaptive Testing (CAT) method can be used, which can effectively reduce the number of questions and improve assessment accuracy. Each question in the CAT question bank carries multiple Item Response Theory (IRT) parameters, such as the comprehensive ability parameter (theta) and the dimensional ability parameter (theta_dim). After the subject answers each question, the updated comprehensive ability parameter is transmitted to the CAT engine in real time, and the engine dynamically adjusts the difficulty and discrimination of the next question accordingly.
[0027] When a subject undergoes a mental health assessment for intestinal symptoms, a corresponding mental health assessment request is initiated. Responding to this request, the assessment proceeds directly to the first stage. In this first stage, a first set of test questions for assessing mental health is retrieved from a computer-adaptive testing question bank. This first set of questions consists of multiple sequential mental health test questions, each an objective question with multiple answer choices, each assigned a different score. Once the subject selects an answer, completing one mental health test question, the next question is automatically retrieved and provided. Furthermore, a rollback mechanism is implemented, allowing the subject to return to the previous mental health test question to revise their answers, until all mental health test questions have been answered, concluding the first stage of the assessment process.
[0028] In one possible implementation, the first test items comprise multiple sequential mental health test items. Obtaining the first test items for assessing mental health can be achieved in the following ways, as detailed below.
[0029] Get your first mental health test questions; In response to obtaining the answer to the first mental health test question from the subject to be assessed, the next mental health test question is obtained in sequence. When the sequence number of the next mental health test question is the preset target sequence number, the obtained next mental health test question will be updated to the preset lie detection question. In response to obtaining the answers to the lie detector questions from the subject to be evaluated, the next mental health test question is obtained in sequence.
[0030] First, the first test consists of multiple sequential mental health test questions, which are retrieved one by one from the computer adaptive test question bank. Each mental health test question has a corresponding serial number according to the order in which they are retrieved, such as question one, question two, etc.
[0031] When responding to a request for a mental health assessment from a person to be assessed, the system directly retrieves the first mental health test question, i.e., the first question, and provides it to the person to be assessed for answering. After the person to be assessed answers the first mental health test question, the system automatically retrieves the next mental health test question in sequence, i.e., the second question, and provides it to the person to be assessed for answering, and so on.
[0032] Considering that the subjects being evaluated may exhibit casual or careless behavior when answering questions, making it difficult to effectively identify mental health and directly affecting the reliability of mental health assessment data, this invention provides a lie detection mechanism. Specifically, several lie detection questions are inserted into the first test, and the order of the inserted questions can be reasonably set.
[0033] When answering mental health test questions, if the sequence number of the next mental health test question matches the preset target number (e.g., the next mental health test question is the fourth question, and the sequence number is 4, which is the preset target number), then the fourth question retrieved from the computer adaptive test question bank will be replaced with a preset lie detector question, such as "Do you admit that the previous questions were answered randomly?" Once the subject's answer to the lie detector question is obtained, the next mental health test question is retrieved sequentially, i.e., the fifth question is retrieved from the computer adaptive test question bank, and then the normal assessment is performed. Multiple lie detector questions can be set, and each lie detector question is provided to the subject in the same way. For example, a lie detector question can be set for the seventh question, until the number of mental health test questions retrieved reaches the number set in the first test.
[0034] In this embodiment of the invention, CAT is used to obtain test questions in normal mental health assessments, and a lie detection mechanism is added, which can effectively filter out invalid answers in mental health assessments and significantly improve the authenticity and reliability of mental health assessment data.
[0035] When the number of mental health test questions obtained in sequence has reached the number set in the first test, and the person to be assessed has also answered the last mental health test question, the first stage of mental health assessment is considered complete.
[0036] Step 102: In response to obtaining the answer to the first question of the first test question from the subject to be evaluated, obtain the second test question for assessing intestinal symptoms.
[0037] Here, if the subject has completed the first question of the first test, the first stage of the mental health assessment is considered complete. At this point, without waiting for the subject to request assistance, the assessment proceeds directly to the second stage, the intestinal symptom assessment, where the second test question is obtained to evaluate intestinal symptoms. The second stage assessment is unrelated to mental health but is still conducted through a question-and-answer format.
[0038] In the intestinal symptom assessment phase, a second set of test questions for assessing intestinal symptoms is still obtained from a computer-adaptive testing question bank. This second set of test questions consists of multiple sequential intestinal symptom test questions, categorized according to medical standards into five major syndromes: reflux, indigestion, abdominal pain, diarrhea, and constipation. Each intestinal symptom test question is also an objective question with multiple answer choices, each with a different score. Once the subject selects an answer, completing one intestinal symptom test question, the next intestinal symptom test question is automatically obtained and presented. This process continues until all intestinal symptom test questions have been answered, concluding the second phase of the assessment.
[0039] Step 103: In response to obtaining the answer to the second question of the second test question from the subject to be evaluated, calculate the mental health score based on the answer to the first question, and calculate the intestinal symptom score based on the answer to the second question.
[0040] Once the subject has completed the second question of the second test, the second phase of the intestinal symptom assessment is considered complete. At this point, scores are tallied for both phases of the assessment. The mental health score is determined based on the answers to the first question. Each option in the first mental health test has a corresponding score; the score for each question is determined by the subject's chosen answer. For the lie detector questions, a correct answer—meaning the subject's answer proves they did not answer the questions randomly—earns the designated score; otherwise, they receive 0 points. For example, if the subject answers "no" to "Do you admit that the previous questions were answered randomly?", they receive the designated score; otherwise, they receive 0 points. Finally, the scores for all mental health tests and lie detector questions are summed to obtain the final mental health score.
[0041] Similarly, the intestinal symptom score can be determined based on the answer to the second question. Each option in the intestinal symptom test question in the second test question has a corresponding score. The score of the intestinal symptom test question can be determined based on the answer selected by the subject to be evaluated. Finally, the scores of all intestinal symptom test questions are summarized, and the final total score is the intestinal symptom score.
[0042] In some embodiments, considering that the current subject to assessment may be a child or minor, the obtained mental health score and intestinal symptom score may not reflect the true mental health status, this embodiment of the invention also proposes a guardianship assessment mechanism. When the current subject to assessment is identified as belonging to a preset age group (e.g., between 6 and 22 years old), the assessment mechanism is directly paused. At this time, it continues to wait for mental health assessment requests from other subjects to be assessed. If other subjects to be assessed do not belong to the preset age group (e.g., over 22 years old), it indicates that the other subjects to be assessed may be the parents or guardians of the current subject to assessment. In this case, responding to the mental health assessment requests of other subjects to be assessed, the same first and second test questions are obtained for the other subjects to be assessed. The mental health score and intestinal symptom score are calculated in the same way, and then averaged with the current subject's mental health score and intestinal symptom score. The average of the two is used as the current subject's mental health score and intestinal symptom score for subsequent assessment.
[0043] This monitoring and assessment mechanism enabled a joint assessment model for multiple subjects during the assessment of intestinal symptoms and mental health. This not only collected self-assessment data from the current subjects but also incorporated external assessment perspectives from other subjects, such as joint assessments by parents and children. This provided crucial family context for a comprehensive analysis of adolescent mental health issues and made the final assessment scores more valid and authentic.
[0044] Step 104: Verify and evaluate the mental health score and the intestinal symptom score to obtain the mental health assessment level of the subject under intestinal symptoms.
[0045] Through the two-stage scoring method described in the above embodiments, the psychological health assessment and intestinal symptom assessment of the subject to be assessed are realized respectively. Furthermore, the two assessment results are first preliminarily analyzed to determine the psychological health level and intestinal function level, and then a more in-depth comprehensive assessment is carried out based on the two levels to determine the psychological health assessment level of the subject under intestinal symptoms.
[0046] In one possible implementation, the mental health score and the intestinal symptom score are validated and evaluated to obtain the mental health assessment level of the subject under intestinal symptoms. This can be achieved through the following methods, which are explained in detail below.
[0047] The mental health level of the person being assessed is determined based on a mental health score. The intestinal function level of the subject to be evaluated is determined based on the intestinal symptom score; Based on a priori medical knowledge database of mental health levels, the descriptive text of intestinal function under different mental health levels is determined. By matching the intestinal function level with the intestinal function description text, the psychological health assessment level of the subject under intestinal symptoms can be obtained.
[0048] Specifically, for mental health scoring, this embodiment of the invention divides the data into multiple threshold intervals, each corresponding to a mental health level. The threshold intervals are set based on the number of items in the first test and the score of each item. Based on this, it can be determined which threshold interval the mental health score falls into, and the mental health level corresponding to that threshold interval is the mental health level of the person being assessed.
[0049] For example, the first test includes nine mental health test questions and one lie detector question. Each question is worth two points. The mental health test questions can be scored as 0, 1, or 2 points based on the answer choices, and the lie detector question can also be scored as 0 or 2 points based on the answer choices. If the mental health score is less than or equal to 15, the mental health level is considered normal. If the mental health score is between 16 and 19, the mental health level is considered borderline. If the mental health score is above 19, the mental health level is considered abnormal.
[0050] Similarly, for the intestinal symptom score, this embodiment of the invention also divides multiple threshold intervals, each corresponding to an intestinal symptom level. The threshold intervals are set based on the number of second test items and the score of each test item. Based on this, it can be determined which threshold interval the intestinal symptom score falls into, and the intestinal symptom level corresponding to that threshold interval is the intestinal symptom level of the subject to be evaluated.
[0051] For example, the second test includes 11 questions on intestinal symptoms, each with a total score of 9 points. Each intestinal symptom question can be scored from 0 to 9 points based on the answer choices. A score between 11 and 35 indicates mild intestinal symptoms; a score between 36 and 63 indicates moderate intestinal symptoms; and a score between 64 and 91 indicates severe intestinal symptoms.
[0052] For the comprehensive assessment of mental health and intestinal symptoms, this embodiment of the invention pre-constructs an a priori medical knowledge database based on prior medical knowledge. The a priori medical knowledge database records the intestinal function description text divided under each mental health level, and the intestinal function description text records the mental health assessment level corresponding to each intestinal function level.
[0053] Analyzing a large amount of intestinal symptom data from mental health patients can provide a valid basis for constructing a priori medical knowledge database. Under each level of mental health, intestinal function problems can be determined based on intestinal symptom data. For example, patients at different mental health levels typically have poor intestinal function and may experience symptoms such as reflux, indigestion, abdominal pain, diarrhea, and constipation. The intestinal function description text records the corresponding intestinal function level for these symptoms, as well as the mental health assessment level under those intestinal symptoms.
[0054] The determination of the mental health assessment level is based on the matching results between the description of intestinal function and the intestinal function level. If the match fails, the mental health level is used as the basis for the mental health assessment level. If the match succeeds, the intestinal function level is used as the basis for the mental health assessment level. The mental health assessment level is specifically divided into three levels: normal, borderline, and abnormal. Here, by querying a priori medical knowledge database based on the mental health level, the corresponding intestinal function description text can be determined, identifying potential gastrointestinal problems at that level, such as reflux, indigestion, abdominal pain, diarrhea, and constipation. Further, the intestinal function level is matched with the intestinal function description text.
[0055] For example, a patient at the borderline level of mental health abnormality only has reflux symptoms, while their bowel function level is at the mild symptom level, which matches the symptoms. In this case, the mental health assessment level determined based on the borderline level of mental health abnormality is primary severe. However, if a patient at the abnormal level also has symptoms such as reflux, indigestion, and abdominal pain, while their bowel function level is at the severe symptom level, which does not match the symptoms, the mental health assessment level determined based on the severe symptom level is abnormal.
[0056] In addition, extreme cases can be used to determine the level of mental health assessment. For example, if the mental health level is abnormal or the intestinal function level is severe symptoms, the mental health assessment level of the subject under intestinal symptoms can be directly determined as abnormal.
[0057] This invention, in its embodiment, integrates prior medical knowledge to achieve a combined psychological and gastrointestinal assessment of mental health, addressing physiological shortcomings and applying medical findings of intestinal symptoms to the psychological assessment system. Through seamless integration of psychological and gastrointestinal assessments, mental health status is evaluated from both physiological and psychological perspectives, providing a more comprehensive and physiologically grounded assessment than that of a single psychological scale.
[0058] Step 105: Determine the age group corresponding to the age of the subject to be assessed, and query the mental health intervention database based on the age group and mental health assessment level to obtain a mental health intervention plan.
[0059] After determining the psychological health assessment level of the subject under intestinal symptoms, a corresponding psychological health intervention plan needs to be developed based on the assessment level. To accommodate subjects with different cognitive levels and needs, this embodiment of the invention provides targeted psychological health intervention plans based on the age of the subject.
[0060] First, the age information of the individuals to be assessed is obtained, and then their age groups are determined, such as four age groups: 11-12 years old, 13-15 years old, 16-18 years old, and 19-24 years old. Within these age groups, this embodiment of the invention pre-constructs a mental health intervention database, which records mental health intervention recommendations for each age group at various mental health assessment levels. The mental health assessment levels are categorized into three levels: normal, borderline, and abnormal. Therefore, 12 (i.e., 4 age groups × 3 levels) cross-matched mental health intervention programs can be defined in the mental health intervention database. Each intervention program covers multiple dimensions of mental health intervention recommendations, including emotion regulation, behavioral guidance, peer intervention, and communication. For example, for a patient aged 13-15 years with an abnormal mental health assessment level, the recommended intervention methods are peer intervention and communication.
[0061] Therefore, by querying the mental health intervention database based on the age group of the subject to be assessed, mental health intervention programs for three different mental health assessment levels within that age group can be determined. Then, by combining the assessed mental health assessment level, the corresponding mental health intervention program can be retrieved. In the actual assessment process, the mental health assessment level and the mental health intervention program will serve as the final assessment results for the mental health assessment of intestinal symptoms, and will be presented to the subject to be assessed, thus concluding the entire mental health assessment of intestinal symptoms.
[0062] In one possible implementation, after generating the mental health intervention plan, the method further includes: responding to the subject's request for explanation of the mental health intervention plan, constructing a first cue word, which is used to guide the large language model to describe the mental health intervention recommendations; inputting the cue word and the mental health intervention recommendations into the large language model for reasoning to generate a descriptive text describing the mental health intervention recommendations; and generating a first broadcast voice based on the descriptive text.
[0063] Here, in the process of assessing the mental health of intestinal symptoms, this embodiment of the invention also designs an intelligent agent model to support interactive communication with the subject to be assessed.
[0064] After the mental health intervention plan is provided to the individuals to be assessed, they may have questions about the recommendation. In this case, they can request an explanation of the intervention. In response to this request, a first cue word is generated to guide the large language model in describing the intervention. The cue word and the intervention are then input into the large language model. Guided by the cue word, the model uses plain language to explain the intervention, generating a descriptive text describing the intervention.
[0065] Finally, by monitoring the sentence-ending symbols of the descriptive text, sentence breaks are identified, and relevant functional modules are invoked to convert the accumulated sentence breaks into the first broadcast voice to be conveyed to the object to be evaluated.
[0066] Of course, multiple responses can be executed for the assessment subject's request for explanation of mental health intervention recommendations. Each response generates descriptive text through a large language model and then feeds back to the assessment subject through broadcast language, realizing multiple human-computer interactions.
[0067] In this embodiment of the invention, an intelligent agent model based on a large language model is constructed, which realizes real-time dynamic interaction with the subject to be evaluated. The explanation of mental health intervention suggestions is fed back to the subject to be evaluated in the form of text and voice, ensuring the theoretical practicality of mental health intervention suggestions and improving the mental health assessment experience of the subject to be evaluated.
[0068] In one possible implementation, the first prompt word is constructed in the following way, as explained in detail below.
[0069] Get the prompt word template; Determine the field length and language style of the descriptive text based on the age of the subject being evaluated; The age, field length, and language style are populated into the age description template, field description template, and language style template respectively to obtain the first prompt word.
[0070] Here, the recommendations for mental health interventions need to be explained in a targeted manner for different age groups to adapt to the different cognitive levels and needs of the individuals to be assessed. Therefore, the prompts that guide the large language model to generate descriptive text also need to be designed in a targeted way.
[0071] First, obtain the prompt word templates, which include: an age description template for the target audience, a field description template for the descriptive text, and a language style template for the descriptive text. The age description template informs the large language model of the target audience's age group. The field description template limits the text size of the descriptive text, as different age groups have different information processing capacities, requiring targeted adjustments to text length to ensure easy comprehension. The language style template restricts the language style of the descriptive text; different language styles need to be designed for different age groups to ensure understanding and acceptance by the target audience.
[0072] The length of the descriptive text and its language style can be determined based on the age of the person being evaluated. For example, if the person being evaluated is 20 years old, the length of the descriptive text can be 20 to 30 characters, and the language style should be normal and serious. If the person being evaluated is 12 years old, the length of the descriptive text can be limited to no more than 15 characters, and the language style should be lively and interesting, with emoticons added if necessary.
[0073] Furthermore, the age, field length, and language style are directly filled into the age description template, the field description template, and the language style template, respectively, to obtain the first prompt word.
[0074] For example, if the user to be evaluated is 8 years old, the field length is 10 characters, and the language style is lively and interesting, then the first prompt word to be filled into the prompt word template could be: "You are a child psychology companionship expert. Please describe yourself in language that an 8-year-old child can understand. Each sentence should not exceed 10 words. The language should be as lively and interesting as possible. You can use hug and comforting emojis."
[0075] In this embodiment of the invention, when interacting with the subject to be evaluated, the age of the subject to be evaluated is added to the prompt words, thereby guiding the large language model to generate targeted text to achieve interaction based on the basic cognitive level and needs of that age. This avoids generating rigid and templated interactive language and improves the human-computer interaction experience of the subject to be evaluated.
[0076] In one possible implementation, after generating the first broadcast voice, the method further includes: obtaining the voice of the subject to be evaluated asking questions about mental health counseling in response to the first broadcast voice; Recognize spoken questions and generate text describing the questions; Based on the query of the problem description text, a pre-built knowledge graph of mental health symptoms is obtained to obtain the corresponding symptom description text of the mental health symptoms of the subject to be evaluated; Second cue words for answering mental health counseling questions are constructed based on symptom description text to guide a large model. The symptom description text, the problem description text, and the second cue word are input into the large language model for inference to obtain the question answer text corresponding to the problem description text. The second broadcast voice is generated based on the text of the question and answer.
[0077] Specifically, when human-computer interaction is achieved with the subject to be evaluated through the first broadcast voice, the subject to be evaluated may directly seek mental health counseling at this time. In this embodiment of the invention, a knowledge question-answering intelligent agent model is designed to provide mental health counseling to the subject to be evaluated.
[0078] When interacting with the person being assessed via the initial voice broadcast, the system monitors their feedback in real time, capturing their voice recordings of questions about mental health counseling related to the initial broadcast. For example, when explaining a mental health intervention plan to the person being assessed via the initial voice broadcast, it might say, "The anxiety disorder in this 20-year-old patient is caused by life or work stress, and medication to relieve anxiety may be appropriate." The person being assessed might then ask, "What are some commonly used medications for anxiety disorder?"
[0079] At this point, by recognizing the spoken question, the speech is converted into text information, resulting in the question description text: "What are some commonly used medications for anxiety disorder?" Next, this embodiment of the invention obtains a pre-constructed knowledge graph of mental health symptoms, queries the knowledge graph based on the question description text, and determines that the symptom description text corresponding to anxiety disorder is "depressed mood, loss of interest."
[0080] Then, based on the symptom description text, a large-scale model can be constructed to answer the second cue words in mental health counseling, for example: "You are a mental health counseling expert. There is a patient with anxiety disorder symptoms. Please refer to the provided symptom description text for the symptom description. Please refer to the provided question description text for the mental health counseling questions he is asking. Please answer the questions in the question description text."
[0081] Finally, the symptom description text and the original question description text are concatenated and input into the large language model along with the second prompt word. Guided by the second prompt word, the large language model uses the symptom description text as a basis and leverages its experiential knowledge to answer the question description text, thus obtaining the corresponding question answer text. For example: "Anxiety disorder can be relieved by taking medications such as XXX when experiencing low mood and loss of interest."
[0082] Finally, the system still monitors the sentence-ending symbols in the question-and-answer text to identify sentence breaks, and calls relevant functional modules to convert the accumulated sentence breaks into a second broadcast voice message to be conveyed to the person to be evaluated.
[0083] In this embodiment of the invention, when answering mental health counseling questions, the mental health symptoms of the person being assessed are analyzed, and knowledge enhancement is performed using a mental health symptom knowledge graph. This ensures that the answers given by the large language model to mental health counseling questions are strictly constrained within the structured facts of the knowledge graph. This solves the problem of general large language models violating medical factual norms in the psychological field, avoids misleading the person being assessed, and ensures the effectiveness and safety of mental health counseling.
[0084] In one possible implementation, to further analyze the mental health symptoms of the subject to be assessed and provide more accurate mental health assessment results for intestinal symptoms, this embodiment of the invention also implements a personality assessment mechanism based on dialogue interaction, which estimates the personality traits of the subject to be assessed and feeds them back to the subject to be assessed as the mental health assessment results for intestinal symptoms, thereby improving the authenticity and effectiveness of the assessment results.
[0085] One possible implementation also includes: In response to the questions and answers requested by the individuals to be evaluated regarding mental health intervention programs, obtain the target text corresponding to the questions and answers requests; Extract keywords from the target text that describe the psychological state of the subject to be evaluated; Based on the keyword query psychological keyword database, the psychological tendency weights corresponding to the keywords are obtained; The average value of the psychological tendency weights of the keywords is calculated to obtain the final score of the psychological state of the subject to be evaluated; The personality level of the person being evaluated is determined based on the final score. In response to a personality analysis request from the person to be evaluated, a personality analysis report is generated based on the personality classification level.
[0086] Here, in the human-computer interaction with the subject to be evaluated, the present invention is also used to respond to the subject's question-and-answer request regarding the mental health intervention program. The question-and-answer request may be the subject's request for an explanation of the mental health intervention program, or it may be the subject's voice asking questions about mental health counseling in response to the first broadcast voice.
[0087] During the Q&A process, the individuals being evaluated will provide various voice and text information. This voice and text information is then aggregated, processed into text, and cleaned to remove irrelevant or useless information.
[0088] Furthermore, keywords describing the psychological state of the individuals being assessed are extracted from the target text, such as communicating and socializing with others, spending time alone, and exercising. These psychological states reflect some of the tendencies of the individuals being assessed in order to promote and improve their mental health; of course, these tendencies may be beneficial to mental health or detrimental to it.
[0089] Next, based on a pre-built psychological keyword database, which records multiple keywords describing psychological states, each keyword is assigned a corresponding psychological tendency weight. Positive weights indicate a psychological state beneficial to mental health, while negative weights indicate a psychological state detrimental to mental health. For example, communicating and socializing with others is beneficial to mental health, so a positive weight of 0.9 is assigned; conversely, being alone is generally detrimental to mental health, so a negative weight of -0.7 is assigned.
[0090] By analyzing the keywords in the target text, the average weight of the psychological tendency corresponding to these keywords is calculated as the final score of the psychological state of the subject being evaluated. For example, if the target text only contains the keywords "alone" and "communicating and gathering with others", then the final score is [0.9×1+(-0.7×1)] / 2=0.1.
[0091] Finally, the personality level of the subject to be assessed is determined based on the final score. Here, multiple threshold intervals are used to divide the different final scores, each interval representing a personality type, such as introverted, extroverted, and neutral. In the determination, a final score less than 0.3 indicates an introverted personality, a final score greater than 0.7 indicates an extroverted personality, and a score between 0.3 and 0.7 indicates a neutral personality.
[0092] If the person being evaluated initiates a personality analysis request, requesting an analysis of their personality, the system will respond to the request and generate a personality analysis report based on the personality classification level. This report records the personality classification level, its supporting evidence, and the calculation process for the final score. This report, along with the mental health assessment level and intervention plan, will be presented to the person being evaluated as part of the gut symptom mental health assessment results for reference. Alternatively, if the person being evaluated has undergone multiple gut symptom mental health assessments without initiating a personality analysis request, a default final score for their mental state will be calculated and temporarily stored, with the calculation time recorded. When responding to a personality analysis request, the system can calculate the average of the final scores stored over the most recent period (e.g., 30 days) as the average final score for this personality analysis request. Based on this average final score, the personality classification level will be calculated, and a personality analysis report will be generated for feedback.
[0093] This invention proposes a keyword-weighted personality analysis mechanism to assess the personality of the evaluated subject and provide feedback as a result of a mental health assessment for intestinal symptoms. This expands the dimensions of mental health assessment and improves its comprehensiveness and accuracy. Furthermore, the personality assessment and analysis process requires no model invocation or training; it relies solely on a domain lexicon to effectively infer personality traits from human-computer interaction dialogue, achieving lightweight derivation and analysis. This makes it highly suitable for edge deployments or backend applications with limited computing resources.
[0094] In summary, this invention firstly divides the assessment into two stages: mental health assessment and intestinal symptom assessment. These two stages are automatically linked and assessed through a question-and-answer test. During the diagnostic assessment, both mental health scores and intestinal symptom scores are combined for verification, comprehensively determining the mental health assessment level of the subject under intestinal symptoms. This overcomes the inherent flaw of existing technologies where the assessment dimensions are disconnected from physiological and psychological aspects, resulting in a more comprehensive assessment conclusion. Furthermore, when generating diagnostic recommendations, the age of the subject is used as a limiting condition, and the mental health assessment level is used as the basis for intervention. Mental health intervention recommendations are generated through a mental health intervention database. This balances the differences in cognitive levels and needs across age groups, making the intervention plan targeted and acceptable to subjects with different cognitive levels and needs, thus ensuring operability and avoiding rigid, template-based recommendations.
[0095] The following is a detailed description of the intestinal symptom mental health assessment device provided by this invention.
[0096] like Figure 2 As shown, the intestinal symptom mental health assessment device specifically includes: a first acquisition module 201, a second acquisition module 202, a scoring calculation module 203, a verification assessment module 204, and an intervention suggestion module 205.
[0097] Specifically, the first acquisition module 201 is used to acquire a first test question for assessing mental health in response to a mental health assessment request from the subject to be assessed; the second acquisition module 202 is used to acquire a second test question for assessing intestinal symptoms in response to acquiring the first question answer of the subject to be assessed after answering the first question; the scoring calculation module 203 is used to calculate a mental health score based on the first question answer and an intestinal symptom score based on the second question answer of the subject to be assessed after answering the second question; the verification assessment module 204 is used to verify and assess the mental health score and the intestinal symptom score to obtain the mental health assessment level of the subject to be assessed under intestinal symptoms; the intervention suggestion module 205 is used to determine the age group corresponding to the age of the subject to be assessed, query a mental health intervention database based on the age group and the mental health assessment level to obtain a mental health intervention plan, wherein the mental health intervention database records mental health intervention suggestions for each age group at each mental health assessment level.
[0098] In one possible implementation, the intervention suggestion module 205 is further configured to, in response to the request from the subject to be assessed for an explanation of the mental health intervention plan, construct a first prompt word, the first prompt word being used to guide the large language model to describe the mental health intervention suggestion; input the prompt word and the mental health intervention suggestion into the large language model for reasoning to generate a descriptive text describing the mental health intervention suggestion; and generate a first broadcast voice based on the descriptive text.
[0099] In one possible implementation, the intervention suggestion module 205 is further configured to: acquire the question-and-answer voice of the subject to be assessed in response to the first broadcast voice; identify the question-and-answer voice and generate a question description text; query a pre-built mental health symptom knowledge graph based on the question description text to obtain the corresponding symptom description text of the subject's mental health symptoms, wherein the mental health symptom knowledge graph records symptom description texts for various mental health symptoms; construct a second prompt word to guide the large-scale model in answering mental health consultation questions based on the symptom description text; input the symptom description text, the question description text, and the second prompt word into the large-scale language model for reasoning to obtain the question answer text corresponding to the question description text; and generate a second broadcast voice based on the question answer text.
[0100] In one possible implementation, the intervention suggestion module 205 is further configured to: respond to the question-and-answer request from the subject to be assessed regarding the mental health intervention program; obtain the target text corresponding to the question-and-answer request; extract keywords describing the psychological state of the subject to be assessed from the target text; query a psychological keyword database based on the keywords to obtain the psychological tendency weights corresponding to the keywords, wherein the psychological keyword database records multiple keywords describing psychological states, each keyword is assigned a corresponding psychological tendency weight, the psychological tendency weight is a positive value to indicate that the psychological state is conducive to mental health, and the psychological tendency weight is a negative value to indicate that the psychological state is detrimental to mental health; calculate the average value of the psychological tendency weights of the keywords to obtain the final score of the psychological state of the subject to be assessed; determine the personality classification level of the subject to be assessed based on the final score; and generate a personality analysis report text based on the personality classification level in response to the personality analysis request from the subject to be assessed.
[0101] The intestinal symptom mental health assessment device provided in the above embodiments can realize the technical solutions described in the above intestinal symptom mental health assessment method embodiments. The specific implementation principles of each module or unit can be found in the corresponding content in the above intestinal symptom mental health assessment method embodiments, and their technical effects can also be referred to each other, which will not be repeated here.
[0102] like Figure 3 As shown, the present invention also provides an electronic device 300. The electronic device 300 includes a processor 301, a memory 302, and a display 303. Figure 3 Only some components of the electronic device 300 are shown, but it should be understood that it is not required to implement all of the components shown, and more or fewer components may be implemented instead.
[0103] In some embodiments, memory 302 may be an internal storage unit of electronic device 300, such as a hard disk or memory of electronic device 300. In other embodiments, memory 302 may also be an external storage device of electronic device 300, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc. equipped on electronic device 300.
[0104] Furthermore, the memory 302 may include both internal storage units of the electronic device 300 and external storage devices. The memory 302 is used to store application software and various types of data installed on the electronic device 300.
[0105] In some embodiments, processor 301 may be a central processing unit (CPU), microprocessor, or other data processing chip for running program code stored in memory 302 or processing data, such as the intestinal symptoms mental health assessment method of the present invention.
[0106] In some embodiments, display 303 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen. Display 303 is used to display information from electronic device 300 and to display a visual user interface. Components 301-303 of electronic device 300 communicate with each other via a system bus.
[0107] In some embodiments of the present invention, when the processor 301 executes the computer program in the memory 302, the following steps can be implemented: in response to a mental health assessment request from the subject to be assessed, a first test question for assessing mental health is obtained; in response to obtaining the first question answer from the subject to be assessed after answering the first test question, a second test question for assessing intestinal symptoms is obtained; in response to obtaining the second question answer from the subject to be assessed after answering the second test question, a mental health score is calculated based on the first question answer, and an intestinal symptom score is calculated based on the second question answer; the mental health score and the intestinal symptom score are verified and assessed to obtain the mental health assessment level of the subject to be assessed under intestinal symptoms; the age group corresponding to the age of the subject to be assessed is determined, and a mental health intervention database is queried based on the age group and the mental health assessment level to obtain a mental health intervention plan, wherein the mental health intervention database records mental health intervention suggestions for each age group at each mental health assessment level.
[0108] It should be understood that when the processor 301 executes the computer program in the memory 302, in addition to the functions described above, it can also perform other functions, as can be found in the description of the corresponding method embodiments above.
[0109] Furthermore, the embodiments of the present invention do not specifically limit the type of electronic device 300 mentioned. Electronic device 300 can be a mobile phone, tablet computer, personal digital assistant (PDA), wearable device, laptop computer, or other portable electronic device. Exemplary embodiments of portable electronic devices include, but are not limited to, portable electronic devices running iOS, Android, Microsoft, or other operating systems. The aforementioned portable electronic device can also be other portable electronic devices, such as a laptop computer with a touch-sensitive surface (e.g., a touch panel). It should also be understood that in some other embodiments of the present invention, electronic device 300 may not be a portable electronic device, but rather a desktop computer with a touch-sensitive surface (e.g., a touch panel).
[0110] In another aspect, the present invention also provides a mental health assessment system for intestinal symptoms, the system comprising: a terminal, a communication device, and an electronic device 300 as described in the above embodiments, wherein the terminal and the electronic device 300 communicate through the communication device.
[0111] The terminal is used to obtain the mental health assessment request of the subject to be assessed; the communication device is used to transmit the mental health assessment request of the subject to be assessed to the electronic device 300, and after the processor 301 of the electronic device 300 executes the program stored in the memory 302, the mental health assessment level and mental health intervention plan are returned to the terminal as the mental health assessment result of intestinal symptoms.
[0112] In some embodiments, the terminal can be a PC network client, a terminal without local storage that relies on server resources, an audio terminal (various telephones), an image terminal (fax machine), a video terminal (camera, monitor), a data communication terminal (ISDN terminal, etc.), a mobile terminal (phone, tablet, smartwatch, AR glasses, and other wearable devices), a 5G CPE, an optical modem, a smart speaker, a smart central control screen, and various IoT sensors. In some embodiments, the communication equipment can be network communication equipment deployed with Internet or Ethernet network links, such as switches, routers, firewalls, gateways, bridges, repeaters, wireless access points (APs), modems, optical transceivers, and fiber optic transceivers.
[0113] Those skilled in the art will understand that all or part of the processes of the methods described in the above embodiments can be implemented by a computer program instructing related hardware, and the program can be stored in a computer-readable storage medium. The computer-readable storage medium may be a disk, optical disk, read-only memory, or random access memory, etc.
[0114] The present invention has provided a detailed description of the intestinal symptoms mental health assessment method, device, equipment, and system. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A method for assessing mental health related to intestinal symptoms, characterized in that, include: In response to the mental health assessment request from the person to be assessed, obtain the first test items for assessing mental health; In response to obtaining the answer to the first question of the first test question from the subject to be evaluated, a second test question for evaluating intestinal symptoms is obtained; In response to obtaining the answer to the second question of the second test question from the subject to be evaluated, a mental health score is calculated based on the answer to the first question, and a gut symptom score is calculated based on the answer to the second question; The mental health score and the intestinal symptom score are validated and evaluated to obtain the mental health assessment level of the subject under intestinal symptoms; The age group corresponding to the age of the subject to be assessed is determined. Based on the age group and the mental health assessment level, a mental health intervention database is queried to obtain a mental health intervention plan. The mental health intervention database records mental health intervention recommendations for each age group at each mental health assessment level.
2. The method for assessing the mental health of intestinal symptoms according to claim 1, characterized in that, The first test items include multiple sequential mental health test items, and obtaining the first test items for assessing mental health includes: Get your first mental health test questions; In response to obtaining the answer to the first mental health test question from the subject to be evaluated, the next mental health test question is obtained in sequence; When the sequence number of the next mental health test question is the preset target sequence number, the obtained next mental health test question will be updated to the preset lie detection question. In response to obtaining the answers of the lie detector questions from the subject to be evaluated, the next mental health test question is obtained in sequence.
3. The method for assessing the mental health of intestinal symptoms according to claim 1, characterized in that, The process of validating and evaluating the mental health score and the intestinal symptom score to obtain the mental health assessment level of the subject under intestinal symptoms includes: The mental health level of the subject to be assessed is determined based on the mental health score. The intestinal function level of the subject to be evaluated is determined based on the intestinal symptom score. Based on the mental health level, a priori medical knowledge database is queried to determine the intestinal function description texts divided under the mental health level. The priori medical knowledge database records the intestinal function description texts divided under each mental health level, and the intestinal function description texts record the mental health assessment level corresponding to each intestinal function level. The gut function level is matched with the gut function description text to obtain the mental health assessment level of the subject under gut symptoms.
4. The method for assessing the mental health of intestinal symptoms according to claim 1, characterized in that, The method further includes: In response to the subject's request for an explanation of the mental health intervention program, a first prompt word is constructed. The first prompt word is used to guide the large language model to describe and explain the mental health intervention recommendations. The prompt words and the mental health intervention suggestions are input into a large language model for reasoning to generate descriptive text describing the mental health intervention suggestions; The first broadcast voice is generated based on the described text.
5. The method for assessing the mental health of intestinal symptoms according to claim 4, characterized in that, The first prompt word is constructed in the following way: Obtain the prompt word template, which includes: the age description template of the object to be evaluated, the field description template of the description text, and the language style template of the description text; Based on the age of the object to be evaluated, determine the field length and language style of the descriptive text; The age, the field length, and the language style are respectively filled into the age description template, the field description template, and the language style template to obtain the first prompt word.
6. The method for assessing the mental health of intestinal symptoms according to claim 4, characterized in that, The method further includes: Obtain the voice recording of the question asked by the person to be evaluated in response to the first broadcast voice regarding mental health counseling; The system identifies the spoken question and generates a text description of the question. Based on the problem description text, a pre-constructed mental health symptom knowledge graph is queried to obtain the corresponding symptom description text of the mental health symptoms of the subject to be evaluated. The mental health symptom knowledge graph records symptom description texts under various mental health symptoms. Based on the symptom description text, a second cue word is constructed to guide a large-scale model in answering mental health counseling questions. The symptom description text, the problem description text, and the second prompt word are input into a large language model for inference to obtain the question answer text corresponding to the problem description text. A second broadcast voice is generated based on the text of the answer to the question.
7. The method for assessing the mental health of intestinal symptoms according to claim 1, characterized in that, The method further includes: In response to the question-and-answer request from the subject to be evaluated regarding the mental health intervention program, the target text corresponding to the question-and-answer request is obtained; Extract keywords describing the psychological state of the subject to be evaluated from the target text; Based on the keyword query, the psychological keyword database is used to obtain the psychological tendency weight corresponding to the keyword. The psychological keyword database records multiple keywords describing psychological states. Each keyword is assigned a corresponding psychological tendency weight. Positive psychological tendency weights are used to indicate that the psychological state is conducive to mental health, while negative psychological tendency weights are used to indicate that the psychological state is detrimental to mental health. The average value of the psychological tendency weights of the keywords is calculated to obtain the final score of the psychological state of the subject to be evaluated; The personality classification level of the subject to be evaluated is determined based on the final score. In response to the personality analysis request of the person to be evaluated, a personality analysis report text is generated based on the personality classification level.
8. A device for assessing mental health regarding intestinal symptoms, characterized in that, include: The first acquisition module is used to acquire the first test items for assessing mental health in response to the mental health assessment request of the subject to be assessed. The second acquisition module is used to acquire a second test question for assessing intestinal symptoms in response to acquiring the answer to the first question of the first test question from the subject to be assessed. The scoring calculation module is used to calculate a mental health score based on the first question answer and to calculate a gut symptom score based on the second question answer in response to obtaining the answer to the second question of the subject to be evaluated. The verification and assessment module is used to verify and assess the mental health score and the intestinal symptom score to obtain the mental health assessment level of the subject under intestinal symptoms; The intervention suggestion module is used to determine the age group corresponding to the age of the subject to be assessed, query the mental health intervention database based on the age group and the mental health assessment level, and obtain a mental health intervention plan. The mental health intervention database records mental health intervention suggestions for each age group at each mental health assessment level.
9. An electronic device, characterized in that, Including memory and processor, among which, The memory is used to store programs; The processor, coupled to the memory, is configured to execute the program stored in the memory to implement the steps of the intestinal symptom mental health assessment method as described in any one of claims 1 to 7.
10. A psychological health assessment system for intestinal symptoms, characterized in that, The system includes: a terminal, a communication device, and an electronic device as described in claim 9, wherein the terminal and the electronic device communicate through the communication device; The terminal is used to obtain the mental health assessment request of the person to be assessed; The communication device is used to transmit the mental health assessment request of the subject to be assessed to the electronic device, and after the processor of the electronic device executes the program stored in the memory, return the mental health assessment level and mental health intervention plan as the mental health assessment result of intestinal symptoms to the terminal.