A health management method based on artificial intelligence chat assistant
Through the health management method based on artificial intelligence chat assistants, semantic analysis and mental health assessment technology, the problems of digital users' mental health supervision and monitoring are solved, and timely assessment and early warning of users' mental health status are achieved, which is suitable for psychological rehabilitation and Health monitoring for the elderly.
Patent Information
- Application Number
- CN202410795588.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-19
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2044-06-19
AI Technical Summary
In the digital era, the decline in offline interpersonal communication frequency has led to the attention of the mental health of digital users. It is difficult for existing technology to effectively supervise and monitor the mental health of users, especially in terms of discovering potential psychological problems and early warnings.
Adopt the health management method based on artificial intelligence chat assistants, collect and classify sentences and keywords that can reflect mental health status, build a language library, conduct semantic analysis, and count the 'unit time interval - sum of scores - proportion of language content' data , construct a curve of psychological and emotional change, compare psychological and emotional fluctuations, and issue early warnings to managers based on specific conditions.
It has achieved a more objective and reasonable assessment of the user's mental health status, timely discover potential psychological problems, and is suitable for psychological rehabilitation and health monitoring of the elderly, improving early warning capabilities.
Smart Images

Figure CN118366687B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of digital health management, and in particular to a health management method based on an artificial intelligence chat assistant. Background Art
[0002] In the digital age, online communication technology is becoming more and more advanced, which has brought convenience to the public, but also made offline meetings less and less important. As the frequency of offline interpersonal communication has obviously decreased, in this era, the mental health of digital users has received more and more attention.
[0003] In view of this, this application is hereby filed. Summary of the invention
[0004] The purpose of the present invention is to provide a health management method based on an artificial intelligence chat assistant, which can supervise and monitor the mental health of digital users, and can timely discover potential psychological problems of users to make early warnings. It is also suitable for psychological rehabilitation monitoring and elderly health monitoring.
[0005] The technical solution of the present invention is achieved in this way:
[0006] A health management method based on an artificial intelligence chat assistant comprises the following steps:
[0007] S1. Collect sentences and keywords that can reflect mental health status and build a language library. In the language library, sentences and keywords are classified according to personality types, and scores are assigned to them according to the degree of their impact on mental health. The score is linearly related to the mental health status.
[0008] S2. Save the chat records between the user and the artificial intelligence chat assistant, perform semantic analysis on the user's expression based on the chat records, search for sentences and keywords that match the user's expression in the language library, determine the user's personality type based on the search results and count the "unit time interval-total score-language content proportion" data.
[0009] S3. Determine the user's mental health status based on the data of "unit time interval - total score - language content proportion".
[0010] Furthermore, the health management method based on the artificial intelligence chat assistant also includes the following steps:
[0011] S4. Construct a user psychological status change curve based on the data of "unit time interval - total score - language content proportion".
[0012] S5. Analyze the user's emotional state according to the chat records, count the "time-emotion" data, and construct the user's emotional change curve according to the "time-emotion" data.
[0013] S6. Compare the user's psychological condition change curve and the user's emotional change curve to determine the user's psychological and emotional fluctuation status.
[0014] Furthermore, the health management method based on the artificial intelligence chat assistant also includes the following steps:
[0015] S7. If the user's psychological state is low and his / her emotions are low at the same time or in the same time period, a danger warning is issued to the management personnel. If the user's psychological state is low and his / her emotions are high at the same time or in the same time period, a danger warning is issued to the management personnel.
[0016] Furthermore, the health management method based on the artificial intelligence chat assistant also includes the following steps:
[0017] S8. Set a frequency threshold. If the user's chat frequency is lower than the frequency threshold, the artificial intelligence chat assistant will actively initiate a chat session with the user and execute S2~S7.
[0018] Furthermore, the health management method based on the artificial intelligence chat assistant also includes step S9, which specifically includes:
[0019] S91. Construct a plane rectangular coordinate system, wherein the plane rectangular coordinate system includes a horizontal axis, a first vertical axis, and a second vertical axis. The horizontal axis is time. The first vertical axis is the user's psychological state, wherein the positive direction of the first vertical axis corresponds to a good psychological state, and the negative direction of the first vertical axis corresponds to a bad psychological state. The second vertical axis is the user's emotion, wherein the positive direction of the second vertical axis corresponds to a good emotion, and the negative direction of the second vertical axis corresponds to a bad emotion. The first vertical axis and the second vertical axis are arranged to overlap.
[0020] S92. Draw a user psychological status change curve and a user emotion change curve in a plane rectangular coordinate system.
[0021] S93. When the user's psychological condition is at a low point and his / her mood is at a low point at the same time period, determine a psychological condition low point curve range and a mood low point curve range respectively.
[0022] S94, the smaller one of the psychological condition trough curve range and the emotional trough curve range is translated along the horizontal axis direction until the smaller one is completely moved outside the range of the larger one, and the minimum moving distance S is determined. min The smaller horizontal width of the psychological low curve range and the emotional low curve range is D. 小 , the lateral width of the one with the larger lateral width is D大 .
[0023] S95, if S min / (0.5×D 大 )>1, and S min / D 小 >1, it is determined that the correlation between the user's psychological condition and emotion is the first correlation.
[0024] If S min / (0.5×D 大 )<1, and S min / D 小 <1, it is determined that the correlation between the user's psychological condition and emotion is the second correlation.
[0025] The first correlation is greater than the second correlation.
[0026] The beneficial effects of the technical solution of the present invention include:
[0027] The health management method based on artificial intelligence chat assistant provided by the present invention is based on the scoring method and combines comprehensive consideration of unit time intervals and the proportion of language content to more objectively determine the actual situation of the user's mental health expression, thereby facilitating a more reasonable determination of the user's actual psychological condition.
[0028] In general, the health management method based on artificial intelligence chat assistant provided by the present invention can supervise and monitor the mental health of digital users, and can timely discover potential psychological problems of users to make early warnings. It is also suitable for psychological rehabilitation monitoring and health monitoring of the elderly. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0030] Figure 1 A schematic diagram of a health management method based on an artificial intelligence chat assistant provided in an embodiment of the present invention;
[0031] Figure 2 A schematic diagram of a rectangular coordinate system constructed for evaluating the correlation between the user's psychological condition and emotions;
[0032] Figure 3 A schematic diagram of the determined psychological condition trough curve range and emotional trough curve range;
[0033] Figure 4 To determine the minimum moving distance S min , horizontal width is D 小 and the horizontal width is D 大 Schematic diagram of . DETAILED DESCRIPTION
[0034] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.
[0035] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0036] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0037] As shown in this specification and claims, unless the context clearly provides an example, the words "a", "an", "the", etc. do not refer to the singular, but also include the plural. Generally speaking, the terms "include" and "comprise" only indicate the inclusion of the steps and elements that have been clearly identified, and these steps and elements do not constitute an exclusive list. The method or device may also include other steps or elements.
[0038] The flowcharts used in this specification are used to illustrate the operations performed by the system according to the embodiments of this specification. It is understood that the operations of each step are not necessarily performed precisely in order. On the contrary, the steps can be processed in reverse order or simultaneously. At the same time, other operations can also be added to these processes, or one or more operations can be removed from these processes.
[0039] Please refer to Figure 1 This embodiment provides a health management method based on an artificial intelligence chat assistant, the method comprising the following steps:
[0040] S1. Collect sentences and keywords that can reflect mental health status and build a language library. In the language library, sentences and keywords are classified by personality type, and scores are assigned to them according to the degree of their impact on mental health. The score is linearly related to the mental health status. The linear relationship between the score and the mental health status includes but is not limited to: the higher the score, the better the corresponding mental health status, and the lower the score, the worse the corresponding mental health status.
[0041] S2. Save the chat records between the user and the artificial intelligence chat assistant, perform semantic analysis on the user's expression of meaning based on the chat records, search for sentences and keywords that match the user's expression of meaning in the language library, determine the user's personality type based on the search results, and count the "unit time interval-total score-language content ratio" data. Among them, "unit time interval" is a preset time interval. "Total score" refers to the sum of the scores of the sentences and keywords that match the user's expression of meaning within the corresponding unit time interval in the chat record. "Language content ratio" refers to the proportion of user expression content that can be matched with sentences and keywords in the language library based on the user's expression of meaning within the corresponding unit time interval in the chat record, that is, the proportion of expression content that can be matched in the language library to the total amount of user expression content during this period.
[0042] S3. Determine the user's mental health status based on the data of "unit time interval - total score - language content proportion".
[0043] This solution uses a scoring method to evaluate the user's mental health status. The level division of the "total score" can be flexibly adjusted according to the actual situation and the score assignment of sentences and keywords.
[0044] On the basis of the scoring method, combined with the comprehensive consideration of the unit time interval and the proportion of language content, the actual situation of the user's mental health expression can be determined more objectively, which is conducive to more reasonable determination of the user's actual mental condition.
[0045] In general, the health management method based on artificial intelligence chat assistant provided in this embodiment can supervise and monitor the mental health of digital users, and can timely discover potential psychological problems of users to make early warnings. It is also applicable to psychological rehabilitation monitoring and health monitoring of the elderly.
[0046] In this embodiment, the health management method based on the artificial intelligence chat assistant also includes the following steps:
[0047] S4. Construct a user psychological status change curve based on the data of "unit time interval - total score - language content proportion".
[0048] S5. Analyze the user's emotional state according to the chat records, count the "time-emotion" data, and construct the user's emotional change curve according to the "time-emotion" data.
[0049] S6. Compare the user's psychological condition change curve and the user's emotional change curve to determine the user's psychological and emotional fluctuation status.
[0050] Specifically, the health management method based on the artificial intelligence chat assistant also includes the following steps: S7, if the user's psychological state trough (referring to: a poor psychological state) and emotional trough (referring to: a depressed state) coexist at the same time or in the same time period, a danger warning is issued to the manager. If the user's psychological state trough and emotional peak (referring to: emotional excitement) coexist at the same time or in the same time period, a danger warning is issued to the manager.
[0051] If the user's psychological state is low and his emotions are low, it means that the user's mental health has reached a very bad level and needs timely intervention and treatment. If the user's psychological state is low and his emotions are high, it means that the user may have extreme behavior and needs timely intervention.
[0052] Furthermore, the health management method based on the artificial intelligence chat assistant also includes the following steps: S8, setting a frequency threshold. If the user's chat frequency is lower than the frequency threshold, the artificial intelligence chat assistant actively initiates a chat session with the user and executes S2 to S7. This design can be used to improve the communication problems of "talkative" users on the one hand, and can also complete the active assessment of the user's psychological condition on the other hand.
[0053] In order to better evaluate the correlation between the user's psychological condition and emotions, the health management method based on the artificial intelligence chat assistant also includes step S9, which specifically includes:
[0054] S91. Construct a plane rectangular coordinate system, the plane rectangular coordinate system includes a horizontal axis, a first vertical axis, and a second vertical axis. The horizontal axis is time. The first vertical axis is the user's psychological state, the positive direction of the first vertical axis corresponds to a good psychological state, and the negative direction of the first vertical axis corresponds to a bad psychological state. The second vertical axis is the user's emotion, the positive direction of the second vertical axis corresponds to a good emotion, and the negative direction of the second vertical axis corresponds to a bad emotion. The first vertical axis and the second vertical axis are arranged to overlap. Figure 2 The evaluation criteria for the user's psychological condition and the user's emotions can be adjusted according to the actual situation, or can be determined using the above-mentioned scoring method, but is not limited thereto.
[0055] S92. Draw a user psychological status change curve and a user emotion change curve in a plane rectangular coordinate system.
[0056] S93: When the user's psychological condition is at a low point and his / her mood is at a low point at the same time period, determine the psychological condition low point curve range and the mood low point curve range respectively. Figure 2 As shown, the range of the psychological state trough curve and the range of the emotional trough curve can be determined based on the horizontal axis, but it is not limited to this, and the baseline can be adjusted according to actual conditions. At this time, the determined range of the psychological state trough curve and the range of the emotional trough curve are as follows Figure 3 shown.
[0057] S94, the smaller one of the psychological condition trough curve range and the emotional trough curve range is translated along the horizontal axis direction until the smaller one is completely moved outside the range of the larger one, and the minimum moving distance S is determined. min .like Figure 4 shown.
[0058] The smaller horizontal width of the psychological low curve range and the emotional low curve range is D. 小 , the lateral width of the one with the larger lateral width is D 大 .
[0059] S95, if S min / (0.5×D 大 )>1, and S min / D 小 >1, it is determined that the correlation between the user's psychological condition and emotion is the first correlation.
[0060] If S min / (0.5×D 大 )<1, and S min / D 小 <1, it is determined that the correlation between the user's psychological condition and emotion is the second correlation.
[0061] The first correlation is greater than the second correlation.
[0062] Through this design, the correlation between psychological conditions and emotions can be evaluated, which can serve as a basis for psychological counseling for users. For different users, the correlation between psychological conditions and emotions is different, and the specific plans for psychological counseling are also different. In this way, it can be used as a reference for psychological counselors to carry out their specific work.
[0063] In summary, the health management method based on artificial intelligence chat assistant provided by the embodiment of the present invention can supervise and monitor the mental health of digital users, and can timely discover the potential psychological problems of users to make early warnings. It is also suitable for psychological rehabilitation monitoring and elderly health monitoring.
[0064] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A health management method based on an artificial intelligence chat assistant, characterized in that: The steps include: S1: Collect sentences and keywords that can reflect mental health status and build a language library; in the language library, classify the sentences and keywords according to personality types, and assign scores to them according to the degree of influence of the sentences and keywords on mental health, and the scores are linearly related to the mental health status; S2: Save the chat records between the user and the artificial intelligence chat assistant, perform semantic analysis on the user's expression according to the chat records, search for sentences and keywords matching the user's expression in the language library, determine the user's personality type according to the search results, and count the "unit time interval-score sum-language content proportion" data; S3: Determine the user's mental health status based on the "unit time interval-score sum-language content proportion" data; S4: constructing a user psychological status change curve according to the "unit time interval-score sum-language content proportion" data; S5: Analyze the user's emotional state according to the chat records, and count the "time-emotion" data, and construct a user emotion change curve according to the "time-emotion" data; S6: comparing the user's psychological condition change curve with the user's emotional change curve to determine the user's psychological and emotional fluctuation condition; S7: If the user's psychological state is low and his / her emotions are low at the same time or in the same time period, a danger warning is issued to the management personnel; if the user's psychological state is low and his / her emotions are high at the same time or in the same time period, a danger warning is issued to the management personnel; S8: Setting a frequency threshold. If the user's chat frequency is lower than the frequency threshold, the artificial intelligence chat assistant will actively initiate a chat session with the user and execute S2 to S7; S9: S91, constructing a plane rectangular coordinate system, wherein the plane rectangular coordinate system includes a horizontal axis, a first vertical axis, and a second vertical axis; the horizontal axis is time; The first vertical axis represents the user's psychological condition, the positive direction of the first vertical axis corresponds to a good psychological condition, and the negative direction of the first vertical axis corresponds to a bad psychological condition; The second vertical axis is the user's emotion, the positive direction of the second vertical axis corresponds to good emotion, and the negative direction of the second vertical axis corresponds to bad emotion; the first vertical axis and the second vertical axis are arranged to overlap; S92, draw the user's psychological state change curve and the user's emotional change curve in the plane rectangular coordinate system; S93, in the same time period, when the user's psychological state trough and emotional trough coexist, determine the psychological state trough curve range and the emotional trough curve range respectively; S94, translate the one with the smaller horizontal width of the psychological state trough curve range and the emotional trough curve range along the horizontal axis direction until the one with the smaller horizontal width is completely moved out of the range of the one with the larger horizontal width, and determine the minimum moving distance S min The horizontal width of the smaller one of the psychological condition trough curve range and the emotional trough curve range is D 小 , the lateral width of the one with the larger lateral width is D 大 ; S95, if S min / (0.5×D 大 )>1, and S min / D 小 >1, the correlation between the user's psychological condition and emotion is determined to be the first correlation; if S min / (0.5×D 大 )<1, and S min / D 小 <1, it is determined that the correlation between the user's psychological condition and emotion is the second correlation; and the first correlation is greater than the second correlation.
