A digital sleep intervention system based on cognitive behavioral therapy
By using a digital sleep intervention system based on cognitive behavioral therapy, user information is collected through voice input devices and night vision cloud cameras. Combined with a home management platform and devices, personalized sleep environment control and ineffective sleep behavior intervention are achieved. This solves the problem that existing technologies cannot intelligently and accurately intervene in users' sleep behavior, thereby improving users' sleep quality.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-02
- Publication Date
- 2026-04-03
AI Technical Summary
Existing sleep management platforms cannot personalize users' sleep environments or intelligently and accurately intervene in users' sleep behaviors, resulting in increased ineffective sleep time and reduced sleep quality.
A digital sleep intervention system based on cognitive behavioral therapy was designed, including a sleep environment control module, a sleep process monitoring module, and a sleep forced intervention module. User information is collected through voice input devices and night vision cloud cameras. Combined with a home management platform and devices, it realizes personalized sleep environment control, sleep behavior monitoring, and intervention for ineffective sleep behaviors.
It improves users' sleep quality by accurately identifying and intervening ineffective sleep behaviors, promoting scientific sleep habits, and enhancing the scientific validity and applicability of sleep intervention.
Smart Images

Figure CN121243582B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the technical field of sleep monitoring, specifically a digital sleep intervention system based on cognitive behavioral therapy. Background Technology
[0002] Cognitive behavioral therapy (CBT) is a structured, short-term, cognitively oriented psychotherapy method primarily targeting mental illnesses such as depression and anxiety, as well as psychological problems caused by irrational cognitions. It aims to change psychological problems by altering the patient's views and attitudes towards themselves, others, and events. CBT posits that emotions stem from a person's beliefs, evaluations, interpretations, or philosophical perspectives about events, rather than from the events themselves. As stated in CBT, "Maladaptive behaviors and emotions originate from maladaptive cognitions." While CBT can help users manage sleep more scientifically and improve sleep quality, existing sleep management platforms lack personalized sleep environment management and intelligent, precise intervention in sleep behavior, potentially increasing ineffective sleep time and reducing sleep quality.
[0003] Chinese invention patent application CN115881305A, published on March 31, 2023, discloses a method for detecting, quantifying, and assisting in the intervention of sleep stabilization. This method involves collecting physiological and environmental data from a user's sleep process, performing data preprocessing, time-frame processing, and time-frame feature analysis to generate physiological and environmental features. The physiological features are then analyzed for sleep state, time-series components, and stabilization quantification to extract a sleep stabilization index and generate a daily sleep stabilization quantification report. These steps are repeated to continuously monitor and track the user's sleep process, assess the impact of the sleep environment on sleep stabilization, extract the optimal sleep stabilization environment scheme, and dynamically optimize and adjust the sleep environment, generating a sleep stabilization quantification report. However, this technical solution cannot achieve intelligent and precise monitoring of the user's sleep environment and sleep behavior, thus reducing the user's sleep quality. Summary of the Invention
[0004] (a) Technical problems to be solved
[0005] To address the issues mentioned above, existing sleep management platforms cannot provide personalized management of the user's sleep environment, nor can they intelligently and accurately intervene in the user's sleep behavior, thus increasing the user's ineffective sleep time and reducing the user's sleep quality. This new platform aims to achieve the following: personalized management of the user's sleep environment, intelligent assessment of the user's sleep needs, full-process monitoring of the user's sleep behavior, and scientifically and forcefully controlling the user's ineffective sleep behavior based on cognitive behavioral therapy, thereby improving the user's sleep quality.
[0006] (II) Technical Solution
[0007] This invention is achieved through the following technical solution: a digital sleep intervention system based on cognitive behavioral therapy, the system comprising the following modules:
[0008] The sleep environment control module is used to collect the identity text information of the user to sleep, match the user's required sleep environment information based on the identity information of the user to sleep, obtain the target user's sleep environment requirement feature text information, and execute the user's sleep environment control operation.
[0009] The sleep monitoring module is used to collect real-time image information of the user's sleep process, judge and process the user's sleep needs during the sleep process, and obtain the user's sleep need judgment information; when necessary, it continues to perform user sleep monitoring operations.
[0010] The sleep forced intervention module, when not needed, plans a sleep forced intervention plan for ineffective sleep behavior during the user's sleep process based on the user's identity information, obtains the target user's sleep forced intervention plan information, and executes the user's sleep forced intervention operation.
[0011] The sleep environment control module includes a user identity information collection unit, a home user sleep environment demand characteristic information storage unit, a user sleep environment demand matching unit, and a user sleep environment control unit;
[0012] The user identity information collection unit collects the text information of the user's identity to be put to sleep through a voice input device; the home user sleep environment requirement feature information storage unit stores the text information of the home user's sleep environment requirement features; the user sleep environment requirement matching unit performs matching processing on the text information of the user's identity to be put to sleep and the text information of the home user's sleep environment requirement features to obtain the text information of the target user's sleep environment requirement features; the user sleep environment control unit performs user sleep environment control operations according to the text information of the target user's sleep environment requirement features and in conjunction with the home management platform and home environment adjustment devices.
[0013] The sleep process monitoring module includes a real-time image acquisition unit for the user's sleep process, a standard image storage unit for the user's ineffective sleep behavior, and a user's sleep needs judgment unit.
[0014] The real-time image acquisition unit for the user's sleep process acquires real-time image information of the user's sleep process through a night vision cloud lens; the standard image storage unit for the user's invalid sleep behavior is used to store the standard image information of the user's invalid sleep behavior; the user's sleep demand judgment unit performs sleep demand judgment processing based on the real-time image information of the user's sleep process and the standard image information of the user's invalid sleep behavior to obtain the user's sleep demand judgment information.
[0015] The forced sleep intervention module includes a storage unit for ineffective forced sleep intervention plans for home users, a user forced sleep intervention plan matching unit, and a user forced sleep intervention task execution unit.
[0016] The storage unit for mandatory intervention plans for ineffective sleep of home users is used to store information on mandatory intervention plans for ineffective sleep of home users; the user mandatory intervention plan matching unit performs mandatory intervention plan matching processing for ineffective sleep behavior during the user's sleep process based on the identity text information of the user to be slept and the information on mandatory intervention plans for ineffective sleep of home users, to obtain mandatory intervention plan information for the target user's sleep; the user mandatory intervention operation execution unit performs mandatory intervention operations for the user's sleep based on the information on mandatory intervention plans for the target user's sleep and in conjunction with the home management platform and home devices.
[0017] Preferably, the steps for collecting the identity text information of the user awaiting sleep, matching the user's required sleep environment information based on the identity information, obtaining the target user's sleep environment requirement feature text information, and executing the user's sleep environment control operation are as follows:
[0018] S11. Collect the identity text information of the user who is about to engage in sleep behavior online through a voice input device, and obtain the identity text information of the user to be sleeped, wherein the identity text information of the user to be sleeped includes name text information, ID number text information and date of birth text information;
[0019] S12. Based on the text information of the identity of the user waiting to sleep and the text information matrix of the sleep environment requirement of the family user, perform matching processing on the sleep environment requirement information required by the user waiting to sleep to obtain the text information of the sleep environment requirement of the target user.
[0020] S13. Perform user sleep environment control operation based on the target user's sleep environment requirement feature text information.
[0021] Preferably, the steps for matching the sleep environment requirement information of the user awaiting sleep with the sleep environment requirement feature text information matrix of family users to obtain the sleep environment requirement feature text information of the target user are as follows:
[0022] S121. Establish a text information matrix of sleep environment needs of family users. ,in Indicates the first Textual information on the sleep environment requirements of each family user, wherein the textual information on the sleep environment requirements of each family user represents the personalized sleep environment requirements set based on the individual preferences of each family user, and the textual information on the sleep environment requirements of each family user includes the family user's temperature requirements, humidity requirements, brightness requirements and color temperature requirements for the sleep environment;
[0023] S122. Using a vector space model, the text information of the user's identity and the text information matrix of the family user's sleep environment requirements are combined. Textual information describing the sleep environment requirements of home users Perform user identity information text matching to search for the family user's sleep environment requirement feature text information corresponding to the user's identity text information. The target user's sleep environment requirement text information is generated through data identification. The target user's sleep environment requirement text information includes the user's requirements for temperature, humidity, brightness, and color temperature in the sleep environment.
[0024] Preferably, the steps for performing user sleep environment control operations based on the target user's sleep environment requirement feature text information are as follows:
[0025] S131. Obtain the textual information of the target user's sleep environment requirements;
[0026] S132. Based on the temperature, humidity, brightness, and color temperature requirements corresponding to the textual information of the target user's sleep environment requirements, the home management platform controls the home environment adjustment devices to perform temperature, humidity, brightness, and color temperature adjustments for the user's sleep environment; the home management platform includes any one of the following: Baidu Home Management Platform, Tmall Genie Home Management Platform, and Xiao Ai Home Management Platform; the home environment adjustment devices include air conditioners, humidifiers, electric sunshades, and smart lights.
[0027] Preferably, the method involves collecting real-time image information of the user's sleep process, judging and processing the user's sleep needs during sleep, and obtaining user sleep need judgment information; when necessary, the following steps are taken to continue the user sleep monitoring operation:
[0028] S21. Collect real-time sleep state image information of the user's sleep process online through night vision cloud lens, and generate a set of real-time sleep state image information of the user. ,in Indicates the number of collections Real-time image information of the user's sleep process;
[0029] S22. Based on the real-time image information set of the user's sleep process and the standard image information matrix of the user's invalid sleep behavior, perform sleep demand judgment processing on the user's sleep process to obtain user sleep demand judgment information; the user sleep demand judgment information includes need and no need; when the user sleep demand judgment information is need, continue to execute the user sleep monitoring operation.
[0030] Preferably, the user's sleep needs are determined based on the real-time image information set of the user's sleep process and the standard image information matrix of the user's invalid sleep behavior, resulting in user sleep needs assessment information. This user sleep needs assessment information includes whether sleep needs are required or not. When the user sleep needs assessment information indicates that sleep needs are required, the following steps are taken to continue the user sleep monitoring operation:
[0031] S221. Construct a standard image information matrix of user ineffective sleep behavior. ,in Indicates the first The standard image information of user invalid sleep behavior corresponding to various types of invalid sleep behavior includes playing electronic products in bed, reading in bed, keeping eyes open in bed, and exercising in bed; the standard image information of user invalid sleep behavior represents standard user sleep state image information set for different types of invalid sleep behavior.
[0032] S222, Set the real-time image information of the user's sleep process The real-time status image information of the user's sleep process described in the article The information matrix is composed of real-time sleep images of the user, numbered sequentially, and images representing the user's invalid sleep behavior criteria. The image information of the user's invalid sleep behavior standard. Image feature matching is performed, and user sleep demand assessment information is generated based on the image feature matching results. The specific steps for generating the user sleep demand assessment information are as follows:
[0033] S2221. Initialize and update the maximum number of iterations T;
[0034] S2222, Separation: Separation involves comparing each sleep demand identification dragonfly individual with other similar sleep demand identification dragonfly individuals in the user's invalid sleep behavior standard image information matrix. The separate behaviors in the search space are expressed mathematically as follows: Where N is the number of individual dragonflies identified by their proximity to the sleep demand. Indicates the first After being separated from other sleep demand identification dragonfly individuals, the data is presented in the user's invalid sleep behavior standard image information matrix. The position vector in the search space. The image information matrix represents the criteria for identifying individual dragonflies in the user's invalid sleep behavior. The location in the search space, Representing the identification of individual dragonflies based on their adjacent sleep needs. The user's invalid sleep behavior standard image information matrix The position in the search space;
[0035] S2223. Queuing, queuing refers to the process by which each sleep demand identification dragonfly is placed in the user's invalid sleep behavior standard image information matrix. Search the search space to find image information related to the user's real-time sleep state. Matching the user's invalid sleep behavior standard image information During flight, the speed matching between adjacent dragonfly individuals with sleep needs is identified, and the mathematical expression for queuing behavior is: ,in Indicates the first After identifying individual dragonfly sleep demand profiles and queuing them, the data is presented in the user's invalid sleep behavior standard image information matrix. The position vector in the search space; The image information matrix represents the criteria for identifying individual dragonflies in the user's invalid sleep behavior, indicating adjacent sleep needs. Flight speed in the search space;
[0036] S2224. Alliance: Alliance refers to the alliance between a sleep demand identification dragonfly individual and its neighboring, similar sleep demand identification dragonfly individuals within the user's invalid sleep behavior standard image information matrix. The search space is used to find images of the user's real-time sleep state that cluster together with each other. Matching the user's invalid sleep behavior standard image information The mathematical expression for identifying dragonfly alliance behavior based on swarm behavior and sleep demand is as follows: ,in Indicates the first After identifying individual sleep needs and forming alliances, dragonflies are used in the user's invalid sleep behavior standard image information matrix. The position vector in the search space;
[0037] S2225. Finding prey: This refers to identifying individual dragonflies in the user's invalid sleep behavior standard image information matrix to determine their survival. Search the search space to find image information related to the user's real-time sleep state. Matching the user's invalid sleep behavior standard image information The prey-hunting behavior; the mathematical expression for the prey-hunting behavior is: ,in Indicates the first The sleep demand identification process of individual dragonflies during hunting is based on the user's ineffective sleep behavior standard image information matrix. The position vector in the search space. Image information representing the real-time status of the user during sleep and the process of being preyed upon. Matching the user's invalid sleep behavior standard image information The prey in the user's invalid sleep behavior standard image information matrix The position in the search space;
[0038] S2226. Avoiding Predators and Identifying Sleep Needs: Dragonflies, driven by survival instincts, must constantly be vigilant against predators. The mathematical expression for this predator avoidance behavior is: ,in For the first A sleep demand identification dragonfly searches for real-time images of the user's sleep state while escaping predators. Matching the user's invalid sleep behavior standard image information The user's invalid sleep behavior standard image information matrix The position vector in the search space;
[0039] To identify the invalid sleep behavior of users during dragonfly hunting for food, a standard image information matrix is used. The position in the search space;
[0040] S2227. When the maximum number of iterations is met, output the real-time state image information of the user's sleep process. Matching the user's invalid sleep behavior standard image information ;
[0041] S2228. Based on the real-time image information of the user's sleep process described in step S2227. Image information related to the user's invalid sleep behavior standards The image feature matching results are used to generate information to determine the user's sleep needs.
[0042] when and Image feature matching was successful, indicating that the first step was taken during the user's sleep process. If an invalid sleep behavior is detected, indicating that the user currently has no need for sleep, the user's sleep need assessment information will be output as "not needed"; simultaneously, the standard image information of the user's invalid sleep behavior will be output. Corresponding text information about invalid sleep behavior types;
[0043] when and If no matching of image features is found, it indicates that the user did not engage in any invalid sleep behavior during sleep, suggesting that the user currently has a sleep need. In this case, the user's sleep need judgment information is output as "needed," and the user sleep monitoring operation continues.
[0044] Preferably, when not needed, the following steps are taken to plan a mandatory sleep intervention plan for ineffective sleep behaviors during the user's sleep process based on the user's identity information, obtain the mandatory sleep intervention plan information for the target user, and execute the mandatory sleep intervention operation:
[0045] S31. When the user's sleep demand judgment information is not needed, the sleep mandatory intervention scheme for invalid sleep behavior during the user's sleep process is matched based on the identity text information of the user to be slept and the information matrix of the family user's invalid sleep mandatory intervention scheme, so as to obtain the target user's sleep mandatory intervention scheme information.
[0046] S32. Perform mandatory sleep intervention on the user based on the target user's mandatory sleep intervention plan information.
[0047] Preferably, when the user's sleep need assessment information indicates that sleep is not required, the following steps are taken to match the sleep intervention plan for ineffective sleep behavior during the user's sleep process with the user's identity text information and the family user's ineffective sleep forced intervention plan information matrix, in order to obtain the target user's sleep forced intervention plan information:
[0048] S311. Establish an information matrix for forced intervention programs for ineffective sleep in home users. ,in Indicates the first Information on forced intervention plans for ineffective sleep for each family user. This information represents the personalized forced wake-up intervention measures set based on each family user's individual preferences when ineffective sleep behavior occurs during the user's sleep process. The information on forced intervention plans for ineffective sleep for each family user includes any one or more of the following: forced wake-up intervention measures for light stimulation, forced wake-up intervention measures for sound stimulation, and forced wake-up intervention measures for vibration stimulation set by the family user.
[0049] S312. Use a bidirectional search algorithm to combine the textual information of the user seeking sleep with the information matrix of the family user's ineffective sleep forced intervention plan. Information on ineffective sleep intervention programs for home users described in the text Perform user identity information text matching to search for the family user's invalid sleep forced intervention plan information corresponding to the user's identity text information to be put to sleep. The system generates a mandatory sleep intervention plan for the target user through data identification. The mandatory sleep intervention plan for the target user includes any one or more of the following intervention measures selected by the target user: light stimulation to force wake-up intervention measures, sound stimulation to force wake-up intervention measures, and vibration stimulation to force wake-up intervention measures.
[0050] Preferably, the steps for performing mandatory sleep intervention on the user based on the target user's mandatory sleep intervention plan information are as follows:
[0051] S321. The home management platform controls home devices to perform forced sleep intervention operations based on the forced wake-up intervention measures information corresponding to the forced sleep intervention plan information of the target user. The home devices include any one or more of smart speakers, smart lamps, and electric beds.
[0052] (III) Beneficial Effects
[0053] This invention provides a digital sleep intervention system based on cognitive behavioral therapy. It has the following beneficial effects:
[0054] 1. Accurately acquire the identity text information of users awaiting sleep through voice input devices, providing reliable data support for subsequent personalized management of the user's sleep environment; based on the identity text information of users awaiting sleep, combined with intelligent search algorithms and scientifically set text information on the sleep environment needs of family users, accurately match and process the sleep environment needs information required by the users awaiting sleep, realize customized regulation of the user's sleep environment status, and improve the user's sleep quality; according to the target user's sleep environment needs text information, combined with the home management platform and home environment adjustment devices, autonomously and efficiently execute the user's sleep environment control operations, realize the dynamic customization of the sleep environment required by the user, and improve the scientific nature of user sleep intervention.
[0055] Second, by dynamically collecting real-time image information of the user's sleep process through night vision cloud cameras, it achieves efficient and comprehensive monitoring of the user's sleep behavior; based on the real-time image information of the user's sleep process, combined with artificial intelligence algorithms and standard stored image information of the user's ineffective sleep behavior, it intelligently judges the user's sleep needs during the sleep process, realizes AI-based intelligent and accurate identification of the user's ineffective sleep behavior, scientifically monitors the user's true sleep needs, breaks the user's misconception of ineffective sleep, realizes scientific management of user sleep based on cognitive behavioral therapy, and improves the effectiveness of user sleep intervention.
[0056] Third, by combining the user's identity text information with intelligent search algorithms and scientifically stored information on mandatory intervention plans for ineffective sleep during the user's sleep process, personalized mandatory intervention plans for ineffective sleep behaviors are matched. This enables users to scientifically select mandatory intervention measures for ineffective sleep, promotes the development of scientific sleep habits, and improves the accuracy of user sleep intervention. Based on the mandatory intervention plan information for target users and combined with the home management platform and home appliances, the mandatory intervention work is executed autonomously and efficiently, achieving precise and scientific intervention for ineffective sleep and improving the rationality and applicability of user sleep intervention. Attached Figure Description
[0057] Figure 1 A schematic diagram of a digital sleep intervention system based on cognitive behavioral therapy provided by the present invention;
[0058] Figure 2 The present invention provides a flowchart of the operation of a digital sleep intervention system based on cognitive behavioral therapy. Detailed Implementation
[0059] 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 some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0060] An example of a digital sleep intervention system based on cognitive behavioral therapy is as follows: Example
[0061] Please see Figures 1-2 A digital sleep intervention system based on cognitive behavioral therapy, comprising the following modules:
[0062] The sleep environment control module is used to collect the identity text information of the user to sleep, match the user's required sleep environment information based on the identity information of the user to sleep, obtain the target user's sleep environment requirement feature text information, and execute the user's sleep environment control operation.
[0063] The sleep monitoring module is used to collect real-time image information of the user's sleep process, judge and process the user's sleep needs during the sleep process, and obtain the user's sleep need judgment information; when necessary, it continues to perform user sleep monitoring operations.
[0064] The sleep forced intervention module, when not needed, plans a sleep forced intervention plan for ineffective sleep behavior during the user's sleep process based on the user's identity information, obtains the target user's sleep forced intervention plan information, and executes the user's sleep forced intervention operation.
[0065] The sleep environment control module includes a user identity information collection unit, a home user sleep environment demand characteristic information storage unit, a user sleep environment demand matching unit, and a user sleep environment control unit;
[0066] The user identity information collection unit collects the text information of the user's identity to be put to sleep through a voice input device; the home user sleep environment requirement characteristic information storage unit stores the text information of the home user's sleep environment requirement characteristics; the user sleep environment requirement matching unit matches the sleep environment requirement information of the user to be put to sleep with the text information of the home user's sleep environment requirement characteristics to obtain the target user's sleep environment requirement characteristic text information; the user sleep environment control unit performs user sleep environment control operations based on the target user's sleep environment requirement characteristic text information and in conjunction with the home management platform and home environment adjustment devices.
[0067] The sleep process monitoring module includes a real-time image acquisition unit for the user's sleep process, a standard image storage unit for the user's ineffective sleep behavior, and a user's sleep need judgment unit;
[0068] The real-time image acquisition unit for user sleep process acquires real-time image information of user sleep process through night vision cloud lens; the standard image storage unit for user invalid sleep behavior is used to store standard image information of user invalid sleep behavior; the user sleep demand judgment unit performs sleep demand judgment processing based on the real-time image information of user sleep process and the standard image information of user invalid sleep behavior to obtain user sleep demand judgment information.
[0069] The mandatory sleep intervention module includes a storage unit for ineffective mandatory sleep intervention plans for home users, a user mandatory sleep intervention plan matching unit, and a user mandatory sleep intervention task execution unit;
[0070] The system includes a storage unit for mandatory intervention plans for ineffective sleep in home users, which stores information on mandatory intervention plans for ineffective sleep in home users; a user sleep mandatory intervention plan matching unit, which matches mandatory intervention plans for ineffective sleep behavior during the user's sleep process with the information on mandatory intervention plans for ineffective sleep in home users based on the identity text information of the user to be slept, to obtain mandatory intervention plan information for the target user; and a user sleep mandatory intervention operation execution unit, which executes mandatory intervention operations for the user based on the mandatory intervention plan information for the target user and in conjunction with the home management platform and home appliances.
[0071] For further details, please refer to Figures 1-2 The operation steps for collecting the identity text information of users awaiting sleep, matching the user's required sleep environment information based on the identity information of the users awaiting sleep, obtaining the target user's sleep environment requirement feature text information, and executing the user's sleep environment control operation are as follows:
[0072] S11. Collect the identity text information of the user who is about to engage in sleep behavior online through the voice input device, and obtain the identity text information of the user to be sleeped, which includes name text information, ID number text information and date of birth text information;
[0073] S12. Based on the text information of the identity of the user waiting to sleep and the text information matrix of the sleep environment requirement of the family user, perform matching processing of the sleep environment requirement information required by the user waiting to sleep to obtain the text information of the sleep environment requirement of the target user.
[0074] S13. Perform user sleep environment control operations based on the text information of the target user's sleep environment requirements.
[0075] The steps for matching the sleep environment requirement information of the user awaiting sleep with the sleep environment requirement feature text information matrix of family users are as follows:
[0076] S121. Establish a text information matrix of sleep environment needs of family users. ,in Indicates the first The text information on the sleep environment requirements of each family user represents the personalized sleep environment requirements set based on each family user's personal preferences. The text information on the sleep environment requirements of each family user includes the family user's requirements for temperature, humidity, brightness, and color temperature in the sleep environment.
[0077] S122. Using a vector space model, the text information of the user's identity and the text information matrix of the sleep environment requirements of the family user are combined. Textual information on the sleep environment needs of Chinese family users Perform user identity information text matching to search for the sleep environment requirement feature text information of family users corresponding to the user's identity text information. The target user's sleep environment requirement text information is generated through data identification. This text information includes the user's requirements for temperature, humidity, brightness, and color temperature in the sleep environment.
[0078] The steps for performing user sleep environment control based on the target user's sleep environment requirement characteristics text information are as follows:
[0079] S131. Obtain textual information on the sleep environment requirements of the target user;
[0080] S132. Based on the target user's sleep environment requirement text information corresponding to temperature requirement, humidity requirement, brightness requirement, and color temperature requirement, the home management platform controls the home environment adjustment devices to perform temperature, humidity, brightness, and color temperature adjustment operations for the user's sleep environment; the home management platform includes any one of the following: Baidu Home Management Platform, Tmall Genie Home Management Platform, and Xiao Ai Home Management Platform; the home environment adjustment devices include air conditioners, humidifiers, electric sunshades, and smart lights.
[0081] By accurately acquiring the identity text information of users awaiting sleep through voice input devices, reliable data support is provided for subsequent personalized management of the user's sleep environment. Based on the identity text information of users awaiting sleep, combined with intelligent search algorithms and scientifically set text information on the sleep environment needs of family users, the system accurately matches and processes the sleep environment needs of users awaiting sleep, enabling customized control of the user's sleep environment status and improving the user's sleep quality. Based on the target user's sleep environment needs text information, combined with the home management platform and home environment adjustment devices, the system autonomously and efficiently executes user sleep environment control operations, achieving dynamic customization of the sleep environment required by the user and improving the scientific nature of user sleep intervention.
[0082] For further details, please refer to Figures 1-2 It is used to collect real-time image information of the user's sleep process, judge and process the user's sleep needs during the sleep process, and obtain the user's sleep need judgment information; when necessary, the operation steps of continuing to perform user sleep monitoring are as follows:
[0083] S21. Collect real-time sleep state image information of the user's sleep process online through night vision cloud lens, and generate a set of real-time sleep state image information of the user. ,in Indicates the number of collections Real-time image information of the user's sleep process;
[0084] S22. Based on the real-time image information set of the user's sleep process and the standard image information matrix of the user's invalid sleep behavior, the user's sleep needs are judged to obtain the user's sleep needs judgment information; the user's sleep needs judgment information includes needs and no needs; when the user's sleep needs judgment information is needs, the user's sleep monitoring operation continues to be executed.
[0085] Based on the real-time image information set of the user's sleep process and the standard image information matrix of the user's invalid sleep behavior, the user's sleep needs are judged to obtain sleep needs judgment information; the user's sleep needs judgment information includes whether it is needed or not; when the user's sleep needs judgment information is needed, the operation steps of continuing to execute the user sleep monitoring operation are as follows:
[0086] S221. Construct a standard image information matrix of user ineffective sleep behavior. ,in Indicates the first The standard image information of user invalid sleep behavior corresponding to the types of invalid sleep behavior includes playing electronic products in bed, reading in bed, keeping eyes open in bed, and exercising in bed; the standard image information of user invalid sleep behavior represents the standard user sleep state image information set for different types of invalid sleep behavior.
[0087] S222, Set up real-time image information of the user's sleep process Real-time image information of the user's sleep process A matrix of image information ordered by real-time sleep status images and criteria for invalid sleep behaviors. Image information of ineffective sleep behavior standards for Chinese users Perform image feature matching, and generate user sleep demand assessment information based on the image feature matching results. The specific steps for generating user sleep demand assessment information are as follows:
[0088] S2221. Initialize and update the maximum number of iterations T;
[0089] S2222, Separation: Separation involves comparing each sleep demand identification dragonfly with other similar sleep demand identification dragonflies in the standard image information matrix of user invalid sleep behavior. The separate behaviors in the search space are expressed mathematically as follows: Where N is the number of individual dragonflies identified by their proximity to the sleep demand. Indicates the first After separating an individual sleep demand identification dragonfly from other similar sleep demand identification dragonflies, it is used in the user's invalid sleep behavior standard image information matrix. The position vector in the search space. This represents the image information matrix representing the criteria for identifying individual dragonflies in a user's ineffective sleep behavior to meet sleep needs. The location in the search space, Representing the identification of individual dragonflies based on their adjacent sleep needs. In the standard image information matrix of user ineffective sleep behavior The position in the search space;
[0090] S2223. Queuing: Queuing refers to the process by which each sleep demand identification dragonfly is placed within the user's invalid sleep behavior standard image information matrix. Search the search space to find real-time image information related to the user's sleep process. Matching user invalid sleep behavior standard image information During flight, the speed matching between adjacent dragonfly individuals with sleep needs is identified, and the mathematical expression for queuing behavior is: ,in Indicates the first After identifying individual dragonfly sleep demand patterns, the data is used to determine the standard image information matrix of ineffective sleep behavior in users. The position vector in the search space; The image information matrix represents the standard image information matrix used to identify individual dragonflies exhibiting ineffective sleep behavior in users, indicating their adjacent sleep needs. Flight speed in the search space;
[0091] S2224. Alliance: Alliance refers to the interaction between individual sleep demand identification dragonflies and their neighboring counterparts in the user's invalid sleep behavior standard image information matrix. The search space clusters together to find images related to the user's real-time sleep state. Matching user invalid sleep behavior standard image information The mathematical expression for identifying dragonfly alliance behavior based on swarm behavior and sleep demand is as follows: ,in Indicates the first After identifying individual sleep needs and forming alliances among dragonfly users, the system uses a matrix of image information categorized by user ineffective sleep behavior. The position vector in the search space;
[0092] S2225. Finding prey: This refers to identifying individual dragonflies in a matrix of standard image information related to the user's invalid sleep behavior, based on sleep demand identification. Search the search space to find real-time image information related to the user's sleep process. Matching user invalid sleep behavior standard image information The prey-hunting behavior; the mathematical expression for the prey-hunting behavior is: ,in Indicates the first Individual sleep demand identification of dragonfly hunting process in the standard image information matrix of user ineffective sleep behavior. The position vector in the search space. Represents real-time image information of the prey-seeking and user sleep processes. Matching user invalid sleep behavior standard image information The prey in the standard image information matrix of user invalid sleep behavior The position in the search space;
[0093] S2226. Avoiding Predators and Identifying Sleep Needs: Dragonflies, driven by survival instincts, must constantly be vigilant against predators. The mathematical expression for this predator avoidance behavior is: ,in For the first A sleep demand identification method uses individual dragonflies to search for real-time images of the user's sleep state while escaping predators. Matching user invalid sleep behavior standard image information In the standard image information matrix of user ineffective sleep behavior The position vector in the search space; To identify invalid sleep behaviors of users during dragonfly hunting for food, a standard image information matrix is used. The position in the search space;
[0094] S2227. When the maximum number of iterations is met, output the real-time status image information of the user's sleep process. Matching user invalid sleep behavior standard image information ;
[0095] S2228. Based on the real-time image information of the user's sleep process in step S2227. Image information related to user's ineffective sleep behavior standards The image feature matching results are used to generate information to determine the user's sleep needs.
[0096] when and Image feature matching was successful, indicating that the first step was taken during the user's sleep process. If an invalid sleep behavior indicates that the user currently has no need for sleep, the output message for the user's sleep need judgment is "not needed"; at the same time, the output message for the standard image information of the user's invalid sleep behavior is also output. Corresponding text information about invalid sleep behavior types;
[0097] when and If no matching of image features is found, it indicates that the user did not engage in any invalid sleep behavior during sleep, suggesting that the user currently has a sleep need. In this case, the user sleep need judgment information is output as "needed", and the user sleep monitoring operation continues.
[0098] By dynamically collecting real-time images of the user's sleep process through night vision cloud cameras, efficient and comprehensive monitoring of the user's sleep behavior is achieved. Based on the real-time images of the user's sleep process, combined with artificial intelligence algorithms and standard stored images of ineffective sleep behavior, the system intelligently judges the user's sleep needs. This enables AI-based intelligent and accurate identification of ineffective sleep behavior, scientific monitoring of the user's true sleep needs, breaking the misconception of ineffective sleep, and achieving scientific management of user sleep based on cognitive behavioral therapy, thereby improving the effectiveness of sleep intervention.
[0099] For further details, please refer to Figures 1-2 When not needed, the following steps are taken to obtain the target user's sleep intervention plan information and execute the sleep intervention operation: Based on the identity information of the user to be put to sleep, a sleep intervention plan for ineffective sleep behaviors during the user's sleep process is planned.
[0100] S31. When the user's sleep demand judgment information is that it is not needed, the sleep mandatory intervention plan for invalid sleep behavior during the user's sleep process is matched based on the identity text information of the user to be slept and the information matrix of the invalid sleep mandatory intervention plan for family users, so as to obtain the sleep mandatory intervention plan information for the target user.
[0101] S32. Perform mandatory sleep intervention for users based on the information of the mandatory sleep intervention plan for the target users.
[0102] When the user's sleep needs are determined to be unnecessary, the following steps are taken to match the mandatory sleep intervention plan for ineffective sleep behavior during the user's sleep process with the user's identity text information and the information matrix of mandatory sleep intervention plans for family users, in order to obtain the mandatory sleep intervention plan information for the target user:
[0103] S311. Establish an information matrix for forced intervention programs for ineffective sleep in home users. ,in Indicates the first Information on forced intervention plans for ineffective sleep for each family user. This information represents the personalized forced wake-up intervention measures set based on each family user's individual preferences when ineffective sleep behaviors occur during the user's sleep process. The forced intervention plan information for ineffective sleep for each family user includes any one or more of the following: forced wake-up intervention measures for light stimulation, forced wake-up intervention measures for sound stimulation, and forced wake-up intervention measures for vibration stimulation set by the family user.
[0104] S312. Use a bidirectional search algorithm to combine the textual information of the user seeking sleep with the information matrix of the family user's ineffective sleep forced intervention plan. Information on ineffective sleep intervention programs for Chinese families By matching user identity information with text, the system can search for invalid sleep intervention plans for family users corresponding to the text information of the user seeking sleep. The data is then used to generate sleep-forced intervention program information for the target user. This information includes any one or more of the following intervention methods selected by the target user: light stimulation forced wake-up intervention, sound stimulation forced wake-up intervention, and vibration stimulation forced wake-up intervention.
[0105] The steps for performing mandatory sleep intervention on users based on the target user's mandatory sleep intervention plan information are as follows:
[0106] S321. Control home devices to perform forced sleep intervention operations based on the forced wake-up intervention measures information corresponding to the forced sleep intervention plan information of the target user through the home management platform. Home devices include any one or more of smart speakers, smart lights, and electric beds.
[0107] By combining the user's identity text information with an intelligent search algorithm and scientifically stored information on mandatory intervention plans for ineffective sleep during the user's sleep process, personalized mandatory intervention plans targeting ineffective sleep behaviors are matched. This enables users to scientifically select mandatory intervention measures for ineffective sleep, promotes the development of scientific sleep habits, and improves the accuracy of user sleep intervention. Based on the mandatory intervention plan information for target users and combined with the home management platform and home appliances, the mandatory intervention work is executed autonomously and efficiently, achieving precise and scientific intervention for ineffective sleep and improving the rationality and applicability of user sleep intervention.
[0108] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.
Claims
1. A digital sleep intervention system based on cognitive behavioral therapy, characterized in that, The system includes the following modules: The sleep environment control module is used to collect the identity text information of the user to sleep, match the user's required sleep environment information based on the identity information of the user to sleep, obtain the target user's sleep environment requirement feature text information, and execute the user's sleep environment control operation. The sleep monitoring module is used to collect real-time image information of the user's sleep process, judge and process the user's sleep needs, and obtain user sleep need judgment information; when necessary, it continues to perform user sleep monitoring operations, including the following steps: S21. Collect real-time sleep state image information of the user's sleep process online through night vision cloud lens, and generate a set of real-time sleep state image information of the user. The include ;in Indicates the number of collections Real-time image information of the user's sleep process; S22. Based on the real-time image information set of the user's sleep process and the standard image information matrix of the user's invalid sleep behavior, perform sleep demand judgment processing on the user's sleep process to obtain user sleep demand judgment information; the user sleep demand judgment information includes need and no need; when the user sleep demand judgment information is need, continue to execute the user sleep monitoring operation; S221. Construct a standard image information matrix of user ineffective sleep behavior. The include ;in Indicates the first Standard image information of user invalid sleep behaviors corresponding to different types of invalid sleep behaviors; S222, the above The above The images of the user's real-time sleep state are numbered sequentially and associated with the above. The above Perform image feature matching and generate user sleep requirement judgment information based on the image feature matching results; when and If image feature matching is successful, the user's sleep requirement judgment information is output as "not needed"; simultaneously, the following information is output: Corresponding text information about invalid sleep behavior types; when and If no matching of image features is found, the user's sleep demand judgment information is output as "needed", and the user sleep monitoring operation continues. The sleep forced intervention module, when not needed, plans a sleep forced intervention plan for ineffective sleep behaviors based on the user's identity information during sleep, obtains the target user's sleep forced intervention plan information, and executes the user's sleep forced intervention, including the following steps: S31. When the user's sleep demand judgment information is not needed, the sleep mandatory intervention scheme for invalid sleep behavior during the user's sleep process is matched based on the identity text information of the user to be slept and the information matrix of the family user's invalid sleep mandatory intervention scheme, so as to obtain the target user's sleep mandatory intervention scheme information. S311. Establish an information matrix for forced intervention programs for ineffective sleep in home users. The include ;in Indicates the first Information on ineffective forced sleep intervention programs for each household user; S312. Using a bidirectional search algorithm, the text information of the user awaiting sleep is compared with the... The above Perform user identity information text matching to search for the corresponding text information of the user to be put to sleep. And through data identification, information on mandatory sleep intervention plans for target users is generated; S32. Perform mandatory sleep intervention on the user based on the target user's mandatory sleep intervention plan information.
2. The digital sleep intervention system based on cognitive behavioral therapy according to claim 1, characterized in that: The steps for collecting textual information about the identity of users awaiting sleep, matching the user's required sleep environment information based on the identity information, obtaining the target user's sleep environment requirement feature textual information, and executing the user's sleep environment control operation are as follows: S11. Collect the identity text information of the user who is about to engage in sleep behavior online through a voice input device, and obtain the identity text information of the user to be put to sleep. S12. Based on the text information of the identity of the user waiting to sleep and the text information matrix of the sleep environment requirement of the family user, perform matching processing on the sleep environment requirement information required by the user waiting to sleep to obtain the text information of the sleep environment requirement of the target user. S13. Perform user sleep environment control operation based on the target user's sleep environment requirement feature text information.
3. The digital sleep intervention system based on cognitive behavioral therapy according to claim 2, characterized in that: The operation steps of S12 are as follows: S121. Establish a text information matrix of sleep environment needs of family users. The include ;in Indicates the first Textual information on the sleep environment needs of each household user; S122. Using a vector space model, the text information of the user's identity to be put to sleep is combined with the... The above Perform user identity information text matching to search for the corresponding text information of the user to be put to sleep. The target user's sleep environment requirement text information is generated through data identification. The target user's sleep environment requirement text information includes the user's requirements for temperature, humidity, brightness, and color temperature in the sleep environment.
4. The digital sleep intervention system based on cognitive behavioral therapy according to claim 3, characterized in that: The operation steps of S13 are as follows: S131. Obtain the textual information of the target user's sleep environment requirements; S132. Based on the temperature, humidity, brightness, and color temperature requirements corresponding to the target user's sleep environment requirement text information, the home management platform controls the home environment adjustment device to perform temperature, humidity, brightness, and color temperature adjustment operations for the user's sleep environment.
5. The digital sleep intervention system based on cognitive behavioral therapy according to claim 1, characterized in that: The operation steps of S222 are as follows: S2221. Initialize and update the maximum number of iterations T; S2222, Separation, separation is the process by which each sleep demand identification dragonfly individual differs from other similar sleep demand identification dragonfly individuals described in the... Separate behaviors within the search space; S2223, Queuing, queuing refers to the process of identifying each sleep-demanding dragonfly individual as described in the above. Search the search space for the match with the The matching During flight, the speed matching between individual dragonflies is identified by their sleep needs. S2224. Alliance, where alliance refers to the alliance between a sleep demand identification dragonfly individual and its neighboring similar sleep demand identification dragonflies as described above. They cluster together in the search space to find the search results related to the above. The matching Cluster behavior; S2225. Searching for prey, which refers to identifying individual dragonflies based on their sleep needs for survival. Search the search space for the match with the The matching The hunting behavior; S2226. Avoiding predators and recognizing sleep needs: Dragonflies, driven by survival instincts, must constantly be vigilant against the behavior of predators. S2227. When the maximum number of iterations is satisfied, the output is the same as described above. The matching ; S2228, As described in step S2227 With the The image feature matching results are used to generate information to determine the user's sleep needs. when and If image feature matching is successful, the user's sleep requirement judgment information is output as "not needed"; simultaneously, the following information is output: Corresponding text information about invalid sleep behavior types; when and If no matching of image features is found, the user's sleep demand judgment information is output as "needed," and the user sleep monitoring operation continues.
6. The digital sleep intervention system based on cognitive behavioral therapy according to claim 1, characterized in that: The operation steps of S32 are as follows: S321. The home management platform controls home devices to perform the user's sleep forced intervention operation based on the forced wake-up intervention measures information corresponding to the target user's sleep forced intervention plan information.
Citation Information
Patent Citations
Sleep stability detection quantification and auxiliary intervention method, system and device
CN115881305A
Control method of intervention equipment in sleep process and smart home system
CN111726272A