Sleep quality improvement system, method and device and storage medium
Through the sleep quality improvement system's homework task configuration and sorting module, personalized sleep improvement tasks are provided based on user information and sleep diary, solving the problem that the existing system relies on doctors' professionalism and single improvement method, and improving user's homework efficiency and sleep quality.
Patent Information
- Application Number
- CN202411010707.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-26
- Publication Date
- 2024-11-12
AI Technical Summary
The existing sleep quality improvement system depends on the professionalism of the doctor and the improvement method is relatively single, so it is impossible to implement multi-path improvement measures supervision, resulting in poor user guidance.
Provide a sleep quality improvement system, including a job task configuration module and a job task sorting module, configure personalized job tasks based on user personal information and job records, and update task sorting through sleep diary and scale answer results to achieve diversified improvements Measures supervision and user interest degree tasks sorting.
Personalized sleep improvement task configuration is realized, users' homework efficiency and homework enthusiasm are improved, the impact of sudden life events on task sorting results is avoided, and the accuracy of sorting results and the sleep quality improvement effect is improved.
Smart Images

Figure CN118942636A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data monitoring and data management, and in particular to a sleep quality improvement system, method, device and storage medium. Background Art
[0002] Sleep is an important physiological activity of the human body. High-quality sleep has a great impact on physical and mental health and work efficiency. Therefore, improving sleep quality is extremely important for people from all walks of life.
[0003] Existing sleep quality improvement systems are usually based on cognitive behavioral therapy (Cognitive Behavior Therapy). Their improvement method focuses on the user's irrational cognitive problems. Specifically, it changes the user's views and attitudes towards various things or objects to change psychological problems, thereby improving sleep quality by relaxing the mood.
[0004] However, this improvement method requires professional doctors to configure personalized sleep improvement strategies for different users, which takes up high manpower and time costs and is highly dependent on the doctor's professional level. At the same time, the improvement methods of the above-mentioned improvement methods are relatively single, and it is impossible to achieve multi-channel improvement measures supervision, and the guidance effect on users is poor. Summary of the invention
[0005] The present invention provides a sleep quality improvement system, method, device and storage medium to solve the problem that the sleep quality improvement method is relatively single and highly dependent on the professional level of doctors.
[0006] According to one aspect of the present invention, there is provided a sleep quality improvement system, comprising: a job task configuration module and a job task sorting module;
[0007] The task configuration module is used to configure the task contents under different tasks according to the user's personal information and the user's task records; wherein the task includes a sleep improvement task and a sleep diary; the sleep improvement task includes a reading task, a listening task and a traditional Chinese medicine conditioning task;
[0008] The homework task sorting module is connected to the homework task configuration module and is used to update the sorting results of the homework tasks according to the effective homework days, homework completion and recommended homework time of the sleep improvement tasks, and the homework completion of the sleep diary, so as to guide the user to complete the homework tasks through the sorting results.
[0009] The sleep quality improvement system also includes: an expected efficiency configuration module; the expected efficiency configuration module is connected to the job task configuration module, and is used to obtain the sleep efficiency of the preparatory period and the sleep efficiency of each improvement period through the sleep diary, and configure the expected sleep efficiency of the current improvement period according to the healthy sleep efficiency and the preceding sleep efficiency; wherein, if the current improvement period is the first improvement period, the preceding sleep efficiency includes the sleep efficiency of the preparatory period; if the current improvement period is not the first improvement period, the preceding sleep efficiency includes the sleep efficiency of the upstream adjacent improvement period.
[0010] The expected efficiency configuration module is specifically used to obtain the predicted sleep efficiency of the current improvement period according to the associated sleep efficiency; if the predicted sleep efficiency of the current improvement period is greater than the healthy sleep efficiency, extend the recommended sleep duration in the current improvement period; if the predicted sleep efficiency of the current improvement period is less than or equal to the healthy sleep efficiency, configure the expected sleep efficiency of the current improvement period according to the healthy sleep efficiency and the upstream sleep efficiency; wherein the associated sleep efficiency includes the sleep efficiency of the preparatory period and the sleep efficiency of the upstream improvement period.
[0011] The expected efficiency configuration module is specifically used to obtain the expected sleep efficiency of the current improvement period through the following equation;
[0012]
[0013] Among them, W is the expected sleep efficiency of the current improvement period; M is the healthy sleep efficiency, N is the previous sleep efficiency; k is the number of remaining improvement periods including the current improvement period.
[0014] The sleep quality improvement system also includes: a scale answering execution module; the scale answering execution module is used to obtain the user's answering results through the Insomnia Severity Index Scale and the Pittsburgh Sleep Quality Index Scale, and to correct the user's answering results according to the number of words in each question, the answering time and the question type, as well as the correlation between adjacent questions, so as to determine the user's sleep quality according to the corrected user answering results.
[0015] The scale answering execution module is also used to use the one with more questionnaire answering times as the standard index scale and the one with less questionnaire answering times as the auxiliary index scale according to the questionnaire answering times of the Insomnia Severity Index Scale and the Pittsburgh Sleep Quality Index Scale; and to correct the questionnaire answering score of the standard index scale according to the questionnaire answering score of the auxiliary index scale, so as to obtain the user's sleep quality improvement result according to the questionnaire answering score of the corrected standard index scale.
[0016] According to another aspect of the present invention, a method for improving sleep quality is provided, which is applied to the sleep quality improvement system described in any embodiment of the present invention, comprising:
[0017] The job task configuration module configures the job content under different job tasks according to user personal information and user job records;
[0018] The task sorting module updates the sorting results of the task according to the effective task days, task completion and recommended task time of the sleep improvement task, as well as the task completion of the sleep diary, so as to guide the user to complete the task through the sorting results.
[0019] According to another aspect of the present invention, a sleep quality improvement device is provided, which is applied to the sleep quality improvement system described in any embodiment of the present invention, comprising:
[0020] A first configuration execution module, configured in the job task configuration module, is used to configure the job contents under different job tasks according to user personal information and user job records;
[0021] The first sorting execution module is configured in the task sorting module, and is used to update the sorting results of the task according to the effective working days, the completion degree of the task and the recommended working time of the sleep improvement task, as well as the completion degree of the sleep diary, so as to guide the user to complete the task through the sorting results.
[0022] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the sleep quality improvement method described in any embodiment of the present invention when executed.
[0023] According to another aspect of the present invention, a computer program product is provided, comprising a computer program, wherein when the computer program is executed by a processor, the method for improving sleep quality according to any embodiment of the present invention is implemented.
[0024] According to the technical solution of the embodiment of the present invention, the sleep quality improvement system configures the work content under different work tasks respectively according to the user's personal information and the user's work records through the work task configuration module, thereby realizing personalized sleep improvement task configuration, and the configuration method does not depend on the doctor's professional level, and the diversified sleep improvement tasks realize multi-channel improvement measure supervision; at the same time, the sleep quality improvement system updates the sorting results of the work tasks through the work task sorting module according to the effective work days, work completion and recommended work time of the sleep improvement tasks, and the work completion of the sleep diary, thereby realizing the sorting of work tasks based on the user's interest level, helping to guide the user to complete the sleep improvement tasks, improving the user's work efficiency and work enthusiasm, and avoiding the influence of sudden life events on the task sorting results, thereby improving the accuracy of the sorting results.
[0025] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0027] Figure 1 is a structural schematic diagram of a sleep quality improvement system provided according to Embodiment 1 of the present invention;
[0028] Figure 2 is a structural schematic diagram of another sleep quality improvement system provided according to Embodiment 2 of the present invention;
[0029] Figure 3 is a structural schematic diagram of another sleep quality improvement system provided according to Embodiment 3 of the present invention;
[0030] Figure 4 is a flow chart of a method for improving sleep quality provided according to Embodiment 4 of the present invention;
[0031] Figure 5 Schematic diagram of the structure of a sleep quality improvement device provided according to Embodiment 5 of the present invention. DETAILED DESCRIPTION
[0032] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme 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 only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0034] Embodiment 1
[0035] Figure 1 This is a schematic diagram of the structure of a sleep quality improvement system provided in Embodiment 1 of the present invention. Figure 1 As shown, the system includes a job task configuration module 100 and a job task sorting module 200; the job task configuration module 100 is used to configure the job content under different job tasks according to user personal information and user job records; wherein the job tasks include sleep improvement tasks and sleep diaries; the sleep improvement tasks include reading tasks, listening tasks and traditional Chinese medicine conditioning tasks.
[0036] Specifically, the operation tasks refer to the related tasks in the sleep quality improvement system that need to be completed by the user, which are used to help users improve their sleep quality or assist users in recording their sleep status; the sleep improvement tasks are the operation tasks that help improve sleep quality, which need to be actively completed by the user in different ways; among them, the reading tasks include sleep hygiene education, sleep restriction, stimulus control (standardized first-line content of cognitive behavioral therapy for insomnia), and articles or books with relatively lyrical and peaceful content. In the process of reading the articles, users will establish correct sleep knowledge, change wrong sleeping habits, and gradually calm their minds, which can improve sleep quality to a certain extent, especially in the reading process before falling asleep, because the mind is more concentrated, it is easier to feel tired, which helps to fall asleep quickly and thus improve sleep efficiency; at the same time, reading tasks can also include cases, articles and books that explain sleep knowledge. Users can understand the causes of sleep disorders, change bad sleeping habits, and learn ways to improve sleep quality through reading.
[0037] The listening tasks include audio that conforms to progressive muscle relaxation, music relaxation theory, and music psychology. While listening to music, users can relieve the tension of the sympathetic nerves and learn methods of active relaxation. This can also improve sleep quality to a certain extent. In particular, the audio of the sleep master before falling asleep uses music psychology and music therapy theory to shorten the time to fall asleep and improve sleep efficiency. At the same time, the listening tasks can also include audio related to explaining sleep knowledge. Users can understand the causes of sleep disorders and the importance of improving sleep quality through listening.
[0038] The TCM conditioning task is to play TCM conditioning videos and guide users to perform synchronous operations, so that users can follow the videos to perform synchronous TCM massage or TCM exercises, and a user feedback mechanism can be added in the process. For example, user feedback results can be obtained in the form of pop-up windows to learn the user's conditioning results. In addition, TCM conditioning tasks also include graphic and text forms of tea and medicated food to guide users to improve sleep quality and enhance improvement effects through a variety of diets.
[0039] The sleep diary is used to record the user's work and rest time, including the time of lying in bed, falling asleep, waking up and getting up. The sleep diary can be recorded manually by the user or directly obtained through the wearable device worn by the user; for example, the user's movement state is recorded through a smart bracelet associated with the current sleep quality improvement system, and the time when the user changes from a moving state to a stationary state is used as the time of lying in bed, and the time when the user changes from a stationary state to a moving state is used as the time of getting up. At the same time, because human body data such as pulse and heartbeat are significantly different when people are in a sleeping state and a non-sleeping state, the user's sleeping time and waking time can also be obtained through the difference in recorded human body data.
[0040] In particular, the sleep diary can also include recommended sleep and rest time and a customized recording function. The recommended sleep and rest time is used to provide users with a reference sleep and rest time, and the recording function can guide users to record their actual insomnia conditions in a personalized manner. In addition, the above-mentioned reading tasks, listening tasks, Chinese medicine conditioning tasks and sleep diaries can all be sent to the sleep quality improvement system of the doctor's side terminal device through the user-side terminal device and the background server, so that the doctor can timely understand the completion status of each user's work tasks and actual sleep status, so as to facilitate the doctor's supervision and treatment.
[0041] User personal information reflects the group characteristics of the user's group, and the above-mentioned group can be classified based on one or more of personal information such as age, gender, region and occupation. Different work contents and different numbers of tasks can be configured under different work tasks according to different group characteristics; for example, for young groups, they are often more enthusiastic about listening tasks and have less interest in TCM conditioning tasks. At this time, more listening tasks can be configured for members of this group, while the number of TCM conditioning tasks can be reduced.
[0042] User job records are records of user operations under various job tasks, which objectively reflect user preferences from the perspective of user behavior. For example, if the current user has a large number of jobs in the reading task, more reading tasks can be configured for the user; if the user plays sleep-aiding music a large number of times, more sleep-aiding music can be configured in the listening task; thus, the initial job content under different job tasks can be configured for the current user through user personal information, and the job content under each job task can be continuously updated based on the user job records.
[0043] In addition to the sleep diary which must include the time of lying in bed, falling asleep, waking up and getting up, other work contents under each work task can be obtained through the pre-built work task database based on user personal information and user work record screening, so as to achieve personalized work content configuration.
[0044] The task sorting module 200 is connected to the task configuration module 100 and is used to update the sorting results of the task according to the effective task days, task completion and recommended task time of the sleep improvement task and the task completion of the sleep diary, so as to guide the user to complete the task through the sorting results.
[0045] Specifically, the sleep diary, as the main basis for reflecting the user's sleep status and also the most important homework task that users need to be guided to complete, can be configured as the first sorting rule based on whether the sleep diary is filled out; if the work and rest time of the sleep diary for the day has been completely filled out, its homework completion rate is 100%; if the homework completion rate of the sleep diary for the day does not reach 100%, then in the homework task display interface for the day, the sleep diary is always in the first sequence, and the user can be guided to complete the sleep diary as soon as possible through pop-up windows, changing font color, changing font size and other methods.
[0046] If the completion rate of the sleep diary for the day has reached 100%, and there are unfinished sleep improvement tasks, it means that the first sorting rule has expired. Then, in the homework display interface for the day, the unfinished sleep improvement tasks are put at the front according to other sorting rules to guide users to complete the sleep improvement tasks; among them, each sleep improvement task can be pre-configured with a matching recommended homework time, and the corresponding sleep improvement effect is best when the corresponding sleep improvement task is completed within the recommended homework time. Therefore, whether the recommended homework time of the sleep improvement task is reached can be sorted according to the second sorting rule.
[0047] For example, the recommended task is a Chinese medicine conditioning task at 8 o'clock every night, and the recommended task is a sleep master audio listening task at 9 o'clock every night; if the system time reaches the recommended schedule for a certain sleep improvement task, and the corresponding sleep improvement task is not completed, the sleep improvement task will be configured in the first sequence; if the recommended schedule has passed and the sleep improvement task is still not completed, the second sorting rule will become invalid, and the sleep improvement task will no longer be configured in the first sequence.
[0048] The completion degree of the sleep improvement task reflects the user's interest in and importance of each sleep improvement task, so the number of days and completion degree of the sleep improvement task can be configured as the third sorting rule; among them, the completion degree of the reading task can be determined by the number of articles read every day. For example, if 5 or more articles are read every day, the completion degree of the day's homework is considered to be 100%; when the number of articles read is less than 5, the completion degree of each article read is 20%; thus, the completion degree of the reading task of the day can be determined by the number of articles read every day.
[0049] The completion of the listening task can be determined by the length of time the audio is listened to each day. For example, if the audio is listened to for 50 minutes or more each day, the completion of the task for that day is considered to be 100%; and when the audio listening time is less than 50 minutes, for every 10 minutes of audio listened to, the completion of the task for that day is considered to be 20%; thus, the completion of the listening task for that day can be determined by the length of time the audio is listened to each day.
[0050] The completion rate of the TCM conditioning task can be determined by the number or duration of videos watched every day. For example, if one TCM massage video or TCM exercise video is watched in its entirety every day, the completion rate of the task for that day is considered to be 100%; if it is not watched in its entirety, the specific completion rate is determined by the ratio of the viewing time to the video length; each tea or medicinal food related video can be allocated 20% of the completion rate; the upper limit value of the completion rate of each sleep improvement task is 100%.
[0051] According to the average completion rate of each sleep improvement task in the past preset days, the sleep improvement tasks are sorted, and the sleep improvement tasks with higher completion rates are placed at the front, and the sleep improvement tasks with lower completion rates are placed at the back; in particular, due to the influence of life events, the user may not be able to complete one or more sleep improvement tasks in time on one or more days, which cannot truly reflect the user's actual preferences. Therefore, if the completion rate of any sleep improvement task on that day is 0, the operation data of the sleep improvement task on that day will be eliminated and will not be used as the statistical scope of the effective operation days; if the completion rate of the sleep improvement task on that day is not 0, the actual operation data of the sleep improvement task on that day will be retained, that is, it will be used as the statistical scope of the effective operation days.
[0052] The effective working days actually refer to the days within the statistical range of the working days whose working completion is not 0; for example, the working completion of the past three days is used as the basis for sorting each working task, and the working completion of the TCM conditioning task in these three days is 100%, 0 and 100% respectively; it is obvious that the user attaches great importance to the TCM conditioning task, and the TCM conditioning task was not completed on the second day, which may be due to the influence of sudden life events, resulting in failure to complete the homework in time. At this time, the effective working days are counted as two days, and the average working completion is 100%; thus, the sleep improvement tasks are sorted according to the effective working days and working completion of the sleep improvement task, which not only realizes the task sorting based on the user's interest level, helps guide users to complete sleep improvement tasks, improves the user's working efficiency and working enthusiasm, but also avoids the influence of sudden life events on the task sorting results, and improves the accuracy of the sorting results.
[0053] According to the technical solution of the embodiment of the present invention, the sleep quality improvement system configures the work content under different work tasks respectively according to the user's personal information and the user's work records through the work task configuration module, thereby realizing personalized sleep improvement task configuration, and the configuration method does not depend on the doctor's professional level, and the diversified sleep improvement tasks realize multi-channel improvement measure supervision; at the same time, the sleep quality improvement system updates the sorting results of the work tasks through the work task sorting module according to the effective work days, work completion and recommended work time of the sleep improvement tasks, and the work completion of the sleep diary, thereby realizing the sorting of work tasks based on the user's interest level, helping to guide the user to complete the sleep improvement tasks, improving the user's work efficiency and work enthusiasm, and avoiding the influence of sudden life events on the task sorting results, thereby improving the accuracy of the sorting results.
[0054] Embodiment 2
[0055] Figure 2This is a structural diagram of a sleep quality improvement system provided in Embodiment 2 of the present invention. Figure 2 As shown, the system also includes an expected efficiency configuration module 300; the expected efficiency configuration module 300 is connected to the job task configuration module 100, and is used to obtain the sleep efficiency of the preparatory period and the sleep efficiency of each improvement period through the sleep diary, and configure the expected sleep efficiency of the current improvement period according to the healthy sleep efficiency and the preceding sleep efficiency; wherein, if the current improvement period is the first improvement period, the preceding sleep efficiency includes the sleep efficiency of the preparatory period; if the current improvement period is not the first improvement period, the preceding sleep efficiency includes the sleep efficiency of the upstream adjacent improvement period.
[0056] Specifically, the user's sleep improvement process consists of a preparation period and multiple improvement periods, with the preparation period in front and the improvement periods in sequence. The preparation period is used to obtain the user's basic data before conditioning, and the improvement period is to gradually guide the user to improve sleep quality through sleep improvement tasks; the sleep diary synchronously records the daily schedule; the number of days in the preparation period, the number of improvement periods, and the number of days in each improvement period can all be pre-configured as needed; for example, one week is used as the standard time for a period, that is, the preparation period is one week, each improvement period is also one week, and the number of improvement periods can be configured to four; sleep efficiency is the ratio of sleep time to bed time, sleep time is obtained based on the time of falling asleep and waking up, and bed time is obtained based on the time of lying in bed and getting up.
[0057] Healthy sleep efficiency is a pre-set sleep efficiency value that meets health standards. For example, the healthy sleep efficiency can be set to 85%. The work and rest time of the preparatory period is obtained through a sleep diary as described in the above technical solution. At the end of the preparatory period and when the first improvement period begins, the sleep efficiency of the preparatory period can be calculated. On the basis of the sleep efficiency of the preparatory period, the expected value can be obtained through the pre-set stage improvement target, that is, the sum of the sleep efficiency of the preparatory period and the stage improvement target of the first improvement period is used as the expected value.
[0058] If the above calculated expected value is greater than or equal to the healthy sleep efficiency, the healthy sleep efficiency is configured as the expected sleep efficiency of the first improvement period; if the above calculated expected value is less than the healthy sleep efficiency, the calculated expected value is used as the expected sleep efficiency of the first improvement period; in particular, the stage improvement target of each improvement period can also be set in the form of an arithmetic progression according to the difference between the healthy sleep efficiency and the sleep efficiency of the preparatory period, that is, the quotient of the difference and the number of improvement periods is used as the tolerance, and the tolerance is the stage improvement target for each improvement period; obviously, the sum of the sleep efficiency of the preparatory period and the tolerance is the expected sleep efficiency of the first improvement period.
[0059] Similarly, for the second improvement period and each improvement period after the second improvement period, the expected value can be calculated based on the sleep efficiency of the previous improvement period (i.e., the upstream adjacent improvement period) through the pre-set stage improvement target; if the above-mentioned expected value is greater than or equal to the healthy sleep efficiency, the healthy sleep efficiency is configured as the expected sleep efficiency of the current improvement period; if the above-mentioned expected value is less than the healthy sleep efficiency, the expected value is used as the expected sleep efficiency of the current improvement period. When the stage improvement target of each improvement period is set in the form of an arithmetic progression, the sum of the sleep efficiency of the upstream adjacent improvement period and the tolerance is the expected sleep efficiency of the current improvement period.
[0060] Optionally, in the embodiment of the present invention, the expected efficiency configuration module 300 is specifically used to obtain the expected sleep efficiency of the current improvement period through the following equation; Among them, W is the expected sleep efficiency of the current improvement period; M is the healthy sleep efficiency, N is the previous sleep efficiency; k is the number of remaining improvement periods including the current improvement period.
[0061] Specifically, taking the number of improvement periods as four as an example, if the current improvement period is the first improvement period, it is obvious that the number of remaining improvement periods including the current improvement period is four. At this time, the difference between the healthy sleep efficiency and the previous sleep efficiency (i.e., the sleep efficiency of the preparatory period) is taken as the improvement target, and the first improvement period is expected to improve by one quarter of the target; if the current improvement period is the second improvement period, it is obvious that the number of remaining improvement periods including the current improvement period is three. At this time, the difference between the healthy sleep efficiency and the previous sleep efficiency (i.e., the sleep efficiency of the first improvement period) is taken as the improvement target, and the second improvement period is expected to improve by one third of the target; thereby, in each improvement period, the expected sleep efficiency of the current improvement period can be obtained based on the previous sleep efficiency, thereby ensuring that when the actual sleep efficiency of one or more improvement periods does not reach the expected sleep efficiency, the expected target can still be evenly distributed to each subsequent improvement period, and the sleep quality can be gradually improved through each improvement period.
[0062] Optionally, in an embodiment of the present invention, the expected efficiency configuration module 300 is specifically used to obtain the predicted sleep efficiency of the current improvement period based on the associated sleep efficiency; if the predicted sleep efficiency of the current improvement period is greater than the healthy sleep efficiency, the recommended sleep duration is extended in the current improvement period; if the predicted sleep efficiency of the current improvement period is less than or equal to the healthy sleep efficiency, the expected sleep efficiency of the current improvement period is configured according to the healthy sleep efficiency and the preceding sleep efficiency; wherein the associated sleep efficiency includes the sleep efficiency of the preparatory period and the sleep efficiency of the upstream improvement period.
[0063] Specifically, the sleep quality change trend of the current user can be determined based on the sleep efficiency in the preparatory period and the sleep efficiency of all improvement periods upstream of the current improvement period, so as to predict the predicted sleep efficiency in the current improvement period; among which, if the current improvement period is the first improvement period, the predicted sleep efficiency of the current user in the first improvement period can be obtained based on the average value of the actual improvement effects of other users in the first improvement period.
[0064] If the predicted sleep efficiency of the current improvement period is greater than the healthy sleep efficiency, it indicates that the user's sleep quality improvement effect is good and has met the requirements of healthy sleep efficiency. At this time, there is no need to set a higher expected sleep efficiency. Instead, it is recommended to extend the sleep duration to improve sleep quality through a longer sleep duration. If the predicted sleep efficiency of the current improvement period is less than or equal to the healthy sleep efficiency, it indicates that the user's sleep quality improvement effect has not met the requirements of healthy sleep efficiency. At this time, as described in the above technical solution, the expected sleep efficiency of the current improvement period is configured according to the healthy sleep efficiency and the previous sleep efficiency, so as to guide the user to gradually improve their sleep quality through the expected sleep efficiency configured in each improvement period.
[0065] According to the technical solution of the embodiment of the present invention, the sleep quality improvement system obtains the sleep efficiency of the preparation period and the sleep efficiency of each improvement period through the expected efficiency configuration module with the help of the sleep diary, and configures the expected sleep efficiency of the current improvement period according to the healthy sleep efficiency and the previous sleep efficiency, so as to configure matching expected sleep efficiencies for different improvement stages, thereby better guiding the user to gradually improve the sleep quality, enhancing the user's enthusiasm for completing homework tasks, and further improving the sleep quality improvement effect.
[0066] Embodiment 3
[0067] Figure 3 This is a structural diagram of a sleep quality improvement system provided by Embodiment 3 of the present invention. Figure 3 As shown, the sleep quality improvement system also includes: a scale answering execution module 400; the scale answering execution module 400 is used to obtain the user's answering results through the Insomnia Severity Index Scale and the Pittsburgh Sleep Quality Index Scale, and to correct the user's answering results according to the number of words in each question, the answering time and the question type, as well as the correlation between adjacent questions, so as to determine the user's sleep quality according to the corrected user answering results.
[0068] Specifically, the Insomnia Severity Index (ISI) is an assessment form for evaluating sleep symptoms, which consists of multiple questionnaires. Each option of each question corresponds to a different score, usually ranging from 0 to 4 points. The higher the total score, the more severe the insomnia. The Pittsburgh Sleep Quality Index (PSQI) is an assessment form for changes in sleep quality caused by various types of sleep disorders. It also consists of multiple questionnaires. Each option of each question corresponds to a different score, usually ranging from 0 to 3 points. The higher the total score, the worse the sleep quality.
[0069] When answering questions, users' hasty answers or excessive thinking often fail to reflect their true intentions. The reasons may be the user's subjective lack of cooperation or the objective influence of life events. Under normal circumstances, the normal reading speed of Chinese characters is in a stable numerical range, for example, 150 to 300 words per minute. Therefore, the time interval corresponding to the normal answering time of each question can be calculated according to the number of characters in each question. The weight value of the question can be configured according to the deviation between the actual answering time and the normal answering time. The larger the deviation, the smaller the weight value of the question. In particular, the sum of the weight values of all questions is a fixed value. If the weight value of the current question decreases, the corresponding decrease in its weight value will be added to the other questions on average.
[0070] The time required to answer different types of questions is often different; for example, in the Pittsburgh Sleep Quality Index Scale, questions one to four are usually detail recall questions, which usually take longer to answer than other types of questions; and for calculation questions, since they involve data calculations, they take significantly longer than other types of questions; therefore, different answering times can be configured for different questions according to the different question types.
[0071] In addition, when answering questions, if the two adjacent questions are related, the user can continue to recall the answer ideas of the subsequent questions based on the answer ideas of the previous questions, which will reduce the time spent on answering the next question accordingly; if the two questions are not related, the user needs to rebuild the answer ideas, which will increase the time spent on answering the next question accordingly; therefore, if the current question is not related to the previous question, or there is no previous question, the answering time of the current question can be increased accordingly; if the current question is related to the previous question, the answering time of the current question can be reduced accordingly. Therefore, according to the number of words, answering time and question type of each question, as well as the correlation between adjacent questions, the user's answer results are corrected to obtain the true score of each question, ensuring that the user's answer results are consistent with both the user's subjective intentions and the user's objective behavior, thereby improving the accuracy of the obtained sleep quality data.
[0072] Optionally, in an embodiment of the present invention, the scale answering execution module 400 is also used to use the one with more questionnaire answering times as the standard index scale and the one with less questionnaire answering times as the auxiliary index scale based on the questionnaire answering times of the Insomnia Severity Index Scale and the Pittsburgh Sleep Quality Index Scale; and to correct the questionnaire answering scores of the standard index scale based on the questionnaire answering scores of the auxiliary index scale, so as to obtain the user's sleep quality improvement results based on the questionnaire answering scores of the corrected standard index scale.
[0073] Specifically, during the entire sleep improvement cycle, users are often required to fill in the above two index scales multiple times to obtain the user's specific improvement effect. For example, in the sleep improvement cycle consisting of a preparation period (the preparation period is one week) and six improvement periods (one improvement period is one week), it is necessary to answer the above two index scales four times before the start of the first week, at the end of the third week, at the end of the fifth week, and at the end of the seventh week; but due to the influence of life events or other factors, the user answered the ISI table four times, with scores of 20, 18, 17, and 12 respectively, while the PSQI table was only answered twice before the start of the first week and at the end of the fifth week, that is, the scores were 15, none, 13, and none respectively; obviously, at this time, the ISI table is used as the standard index table, and the PSQI table is used as an auxiliary index table.
[0074] Comparing the ratio of the first and third answer results in the standard index table (i.e., 20 / 15) with the ratio of the first and third answer results in the auxiliary index table (i.e., 17 / 13), it can be seen that the value of the standard index table (i.e., 20 / 15≈1.18) is greater than the value of the auxiliary index table (i.e., 17 / 13≈1.16), which shows that the improvement of the auxiliary index table is worse than that of the standard index table. Therefore, the results of the standard index table need to be corrected in the worse direction (that is, the corresponding score should be appropriately increased). The correction ratio is based on The above 1.18 and 1.16 obtain the middle value 1.17; then according to 20 / 1.17, the value 17.1 is obtained; accordingly, the third answer result in the ISI table is corrected from 17 to 17.1, and the final corrected scores of the ISI table are 20, 18, 17.1, and 12. Therefore, when the number of answers to one index scale is less than that of another index scale, the auxiliary index table with fewer answers can also be used to correct the standard index table with more answers, so as to obtain accurate sleep quality improvement results for users.
[0075] According to the technical solution of the embodiment of the present invention, after the sleep quality improvement system obtains the user's answer results through the scale answer execution module, the user's answer results are corrected according to the number of words in each question, the answering time and the question type, as well as the correlation between adjacent questions, so as to determine the user's sleep quality according to the corrected user answer results, thereby ensuring that the user's answer results are consistent with both the user's subjective intentions and the user's objective behaviors, thereby improving the accuracy of the obtained sleep quality data.
[0076] Embodiment 4
[0077] Figure 4 This is a flowchart of a sleep quality improvement method provided in Embodiment 4 of the present invention. The method can be performed by a sleep quality improvement device. The sleep quality improvement device can be implemented in the form of hardware and / or software. The sleep quality improvement device can be configured in a sleep quality improvement system in any embodiment of the present invention. The sleep quality improvement system can be configured in electronic devices such as terminal devices and servers. Figure 4 As shown, the method includes:
[0078] S101. The job task configuration module configures the job contents under different job tasks according to the user's personal information and the user's job records.
[0079] S102, the task sorting module updates the sorting results of the task according to the effective task days, task completion and recommended task time of the sleep improvement task, and the task completion of the sleep diary, so as to guide the user to complete the task through the sorting results.
[0080] According to the technical solution of the embodiment of the present invention, the sleep quality improvement system configures the work content under different work tasks respectively according to the user's personal information and the user's work records through the work task configuration module, thereby realizing personalized sleep improvement task configuration, and the configuration method does not depend on the doctor's professional level, and the diversified sleep improvement tasks realize multi-channel improvement measure supervision; at the same time, the sleep quality improvement system updates the sorting results of the work tasks through the work task sorting module according to the effective work days, work completion and recommended work time of the sleep improvement tasks, and the work completion of the sleep diary, thereby realizing the sorting of work tasks based on the user's interest level, helping to guide the user to complete the sleep improvement tasks, improving the user's work efficiency and work enthusiasm, and avoiding the influence of sudden life events on the task sorting results, thereby improving the accuracy of the sorting results.
[0081] Embodiment 5
[0082] Figure 5 : is a structural block diagram of a sleep quality improvement device provided by Embodiment 5 of the present invention, and the device specifically comprises:
[0083] The first configuration execution module 510 is configured in the job task configuration module, and is used to configure the job contents under different job tasks according to the user's personal information and the user's job records;
[0084] The first sorting execution module 520 is configured in the homework task sorting module, and is used to update the sorting results of the homework tasks according to the effective homework days, homework completion and recommended homework time of the sleep improvement tasks, and the homework completion of the sleep diary, so as to guide the user to complete the homework tasks through the sorting results.
[0085] According to the technical solution of the embodiment of the present invention, the sleep quality improvement system configures the work content under different work tasks respectively according to the user's personal information and the user's work records through the work task configuration module, thereby realizing personalized sleep improvement task configuration, and the configuration method does not depend on the doctor's professional level, and the diversified sleep improvement tasks realize multi-channel improvement measure supervision; at the same time, the sleep quality improvement system updates the sorting results of the work tasks through the work task sorting module according to the effective work days, work completion and recommended work time of the sleep improvement tasks, and the work completion of the sleep diary, thereby realizing the sorting of work tasks based on the user's interest level, helping to guide the user to complete the sleep improvement tasks, improving the user's work efficiency and work enthusiasm, and avoiding the influence of sudden life events on the task sorting results, thereby improving the accuracy of the sorting results.
[0086] The above device can execute the sleep quality improvement method provided by any embodiment of the present invention, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not described in detail in this embodiment, please refer to the sleep quality improvement method provided by any embodiment of the present invention.
[0087] Embodiment 6
[0088] In some embodiments, the sleep quality improvement method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit. In some embodiments, part or all of the computer program may be loaded and / or installed on a heterogeneous hardware accelerator via a ROM and / or a communication unit. When the computer program is loaded into RAM and executed by a processor, one or more steps of the sleep quality improvement method described above may be performed. Alternatively, in other embodiments, the processor may be configured to perform the sleep quality improvement method in any other appropriate manner (e.g., by means of firmware).
[0089] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0090] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0091] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device, or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0092] To provide interaction with a user, the systems and techniques described herein may be implemented on a heterogeneous hardware accelerator having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and pointing device (e.g., a mouse or trackball) through which a user can provide input to the heterogeneous hardware accelerator. Other types of devices may also be used to provide interaction with a user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0093] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0094] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0095] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0096] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A sleep quality improvement system, characterized in that: include: Job task configuration module and job task sorting module; The task configuration module is used to configure the task contents under different tasks according to the user's personal information and the user's task records; wherein the task includes a sleep improvement task and a sleep diary; the sleep improvement task includes a reading task, a listening task and a traditional Chinese medicine conditioning task; The homework task sorting module is connected to the homework task configuration module and is used to update the sorting results of the homework tasks according to the effective homework days, homework completion and recommended homework time of the sleep improvement tasks, and the homework completion of the sleep diary, so as to guide the user to complete the homework tasks through the sorting results.
2. The sleep quality improvement system according to claim 1, characterized in that: The sleep quality improvement system further includes: an expected efficiency configuration module; The expected efficiency configuration module is connected to the job task configuration module, and is used to obtain the sleep efficiency of the preparatory period and the sleep efficiency of each improvement period through the sleep diary, and configure the expected sleep efficiency of the current improvement period according to the healthy sleep efficiency and the preceding sleep efficiency; wherein, if the current improvement period is the first improvement period, the preceding sleep efficiency includes the sleep efficiency of the preparatory period; if the current improvement period is not the first improvement period, the preceding sleep efficiency includes the sleep efficiency of the upstream adjacent improvement period.
3. The sleep quality improvement system according to claim 2, characterized in that: The expected efficiency configuration module is specifically used to obtain the predicted sleep efficiency of the current improvement period according to the associated sleep efficiency; if the predicted sleep efficiency of the current improvement period is greater than the healthy sleep efficiency, extend the recommended sleep duration in the current improvement period; if the predicted sleep efficiency of the current improvement period is less than or equal to the healthy sleep efficiency, configure the expected sleep efficiency of the current improvement period according to the healthy sleep efficiency and the upstream sleep efficiency; wherein the associated sleep efficiency includes the sleep efficiency of the preparatory period and the sleep efficiency of the upstream improvement period.
4. The sleep quality improvement system according to claim 2, characterized in that: The expected efficiency configuration module is specifically used to obtain the expected sleep efficiency of the current improvement period through the following equation; Among them, W is the expected sleep efficiency of the current improvement period; M is the healthy sleep efficiency, N is the previous sleep efficiency; k is the number of remaining improvement periods including the current improvement period.
5. The sleep quality improvement system according to claim 1, characterized in that: The sleep quality improvement system further includes: a scale answering execution module; The scale answering execution module is used to obtain the user's answering results through the Insomnia Severity Index Scale and the Pittsburgh Sleep Quality Index Scale, and to correct the user's answering results according to the number of words in each question, the answering time and the question type, as well as the correlation between adjacent questions, so as to determine the user's sleep quality according to the corrected user answering results.
6. The sleep quality improvement system according to claim 5, characterized in that: The scale answering execution module is further used to use the one with more questionnaire answering times as the standard index scale and the one with less questionnaire answering times as the auxiliary index scale according to the number of questionnaire answering times of the Insomnia Severity Index Scale and the Pittsburgh Sleep Quality Index Scale; According to the questionnaire answer scores of the auxiliary index scale, the questionnaire answer scores of the standard index scale are corrected to obtain the user's sleep quality improvement results according to the questionnaire answer scores of the corrected standard index scale.
7. A method for improving sleep quality, characterized in that: The sleep quality improvement system according to any one of claims 1 to 6 comprises: The job task configuration module configures the job content under different job tasks according to user personal information and user job records; The task sorting module updates the sorting results of the task according to the effective task days, task completion and recommended task time of the sleep improvement task, as well as the task completion of the sleep diary, so as to guide the user to complete the task through the sorting results.
8. A sleep quality improvement device, characterized in that: The sleep quality improvement system according to any one of claims 1 to 6 comprises: A first configuration execution module, configured in the job task configuration module, is used to configure the job contents under different job tasks according to user personal information and user job records; The first sorting execution module is configured in the task sorting module, and is used to update the sorting results of the task according to the effective working days, the completion degree of the task and the recommended working time of the sleep improvement task, as well as the completion degree of the sleep diary, so as to guide the user to complete the task through the sorting results.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the sleep quality improvement method of claim 7 when executed. 10 . A computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the method for improving sleep quality in an electric power operation environment according to claim 7 is implemented.
