CN115938556B - Floating cabin health management method and device, electronic equipment and storage medium - Google Patents

Floating cabin health management method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115938556B
CN115938556B CN202310081047.4A CN202310081047A CN115938556B CN 115938556 B CN115938556 B CN 115938556B CN 202310081047 A CN202310081047 A CN 202310081047A CN 115938556 B CN115938556 B CN 115938556B
Authority
CN
China
Prior art keywords
wake
sleep
target user
determining
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310081047.4A
Other languages
Chinese (zh)
Other versions
CN115938556A (en
Inventor
李�荣
金钰棠
李贵华
陈渊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kangqiao Chengpin Technology Co ltd
Original Assignee
Beijing Kangqiao Chengpin Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kangqiao Chengpin Technology Co ltd filed Critical Beijing Kangqiao Chengpin Technology Co ltd
Priority to CN202310081047.4A priority Critical patent/CN115938556B/en
Publication of CN115938556A publication Critical patent/CN115938556A/en
Application granted granted Critical
Publication of CN115938556B publication Critical patent/CN115938556B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application relates to the technical field of floating cabins, in particular to a floating cabin health management method, a device, electronic equipment and a storage medium, which comprise the steps of obtaining a prompt moment of a target user, wherein the prompt moment is before the physiotherapy period of the target user is finished; and acquiring sleep monitoring information of the target user at the prompting time, and determining a sleep state curve based on the sleep monitoring information. And (3) through analyzing the sleep state curve of the target user, formulating a wake-up scheme aiming at the target user, wherein the wake-up scheme comprises at least one wake-up mode and the duration of each wake-up mode. And acquiring a facial image of the target user after the wake-up time, and determining whether the target user is awakened or not by analyzing the facial image, so as to determine the wake-up termination time. According to the method and the device, the target user can be awakened by a more suitable awakening scheme, and meanwhile, the determined awakening scheme can reduce negative influence of awakening on the physiotherapy effect.

Description

Floating cabin health management method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of floating cabin technology, and in particular, to a method, an apparatus, an electronic device, and a storage medium for managing health of a floating cabin.
Background
The floating cabin is also called an ultrasonic energy sleeping cabin, and due to the buoyancy of the floating liquid, a user can float on the liquid surface to experience the sense of body weightlessness, and the body of the user is in a deep relaxation state in the weightlessness state. Meanwhile, resonance caused by ultrasonic energy in the floating cabin has the effects of accelerating metabolism of a human body and relaxing muscles, and after a user enters the floating cabin, the user gradually enters a deep sleep state by adjusting the environment in the cabin. In order to achieve a better floating physiotherapy effect, the floating cabin is generally provided with a relatively fixed physiotherapy time length, and after a user finishes the floating physiotherapy with the corresponding time length, the user in a sleeping state needs to be awakened.
In the related art, after a user spends a physiotherapy time in a floating cabin, the user in a sleeping state is awakened by a mode that a service person outside the floating cabin opens the cabin door. However, the awakening mode affects the floating experience of the user, and meanwhile, the state of the current user is difficult to be determined by the service personnel outside the cabin, so that the floating physiotherapy effect is affected. Therefore, how to wake up the user in the floating capsule is a problem to be solved.
Disclosure of Invention
In order to determine a wake-up mode of a user in a floating cabin, the application provides a floating cabin health management method, a device, electronic equipment and a storage medium.
In a first aspect, the present application provides a method for health management of a floating cabin, which adopts the following technical scheme:
the floating cabin health management method comprises the steps of obtaining a prompt moment of a target user, wherein the prompt moment is before the physiotherapy period of the target user is finished;
at the prompting time, sleep monitoring information is acquired, wherein the sleep monitoring information comprises the respiratory rate, the heart rate and the body movement frequency of a target user when the target user sleeps in the floating cabin;
determining a sleep state curve based on the sleep monitoring information, wherein the sleep state curve is a corresponding relation curve of a sleep state and time of a target user during sleep;
determining a wake-up starting time and a wake-up scheme based on the sleep state curve, wherein the wake-up scheme comprises at least one wake-up mode and duration of each wake-up mode;
acquiring a face image, wherein the face image is an image shot for the face of a target user after the wake-up starting time;
and determining a wake-up termination time based on the facial image.
By adopting the technical scheme, the prompting time of the target user is obtained, and the prompting time is provided for the subsequent awakening of the target user before the physiotherapy period of the target user is ended without affecting the physiotherapy period of the target user; and acquiring sleep monitoring information of the target user at the prompting time, and determining a sleep state curve based on the sleep monitoring information. By analyzing the sleep state curve of the target user, a wake-up scheme aiming at the target user is formulated, wherein the wake-up scheme comprises at least one wake-up mode and the duration of each wake-up mode, so that the target user can be awakened by a more proper wake-up scheme, and meanwhile, the determined wake-up scheme can reduce the negative influence of wake-up on the physiotherapy effect, and further, the floating physiotherapy effect of the target user can be improved. And acquiring the facial image of the target user after the wake-up starting time, and determining whether the target user is awakened or not by analyzing the facial image, so as to determine the wake-up ending time, thereby improving the comfort level of the wake-up.
In one possible implementation, determining a wake-up start time and a wake-up scheme based on the sleep state curve includes:
determining a first sleep state and an actual sleep time based on the sleep state curve, wherein the first sleep state is a sleep state of a target user at a prompting time;
acquiring historical physiotherapy information, wherein the historical physiotherapy information comprises at least one piece of sleep information of a target user, each piece of sleep information comprises a primary historical sleep state curve and corresponding historical wake-up information, and any one piece of historical wake-up information comprises a historical wake-up scheme, a historical wake-up duration and a historical wake-up post-state;
determining a sleep rule based on all the historical sleep state curves, wherein the sleep rule comprises sleep states corresponding to all time periods respectively after a target user falls asleep;
determining a wake-up starting time based on the sleep rule, the first sleep state and the actual sleep time;
acquiring a second sleep state, wherein the second sleep state is a sleep state of a target user at the wake-up starting time;
a wake-up regimen is determined based on the historical therapy information and the second sleep state.
By adopting the technical scheme, the first sleep state and the actual sleep duration are determined based on the sleep state curve; acquiring historical physiotherapy information, wherein the historical physiotherapy information comprises at least one piece of sleep information of a target user, and each piece of sleep information comprises a primary historical sleep state curve and corresponding historical wake-up information; determining a sleep rule of the target user based on all the historical sleep state curves; further, according to the first sleep state, the actual sleep time and the sleep rule, the wake-up starting time is determined, and the target user is awakened at the wake-up starting time, so that the wake-up difficulty can be reduced, and the negative influence of wake-up on the user is reduced; acquiring a second sleep state of the target user at the wake-up start time, determining wake-up related information corresponding to the second sleep state in the history based on the history physiotherapy information and the second sleep state, further determining a wake-up scheme suitable for the target user, specifically making the wake-up scheme for the target user, improving the wake-up comfort level, reducing the negative influence of wake-up on the target user, and further improving the effect of floating physiotherapy.
In one possible implementation, obtaining historical therapy information includes:
Determining whether the target user is the first physiotherapy;
if not, acquiring the history physiotherapy information of the target user;
if yes, determining a plurality of auxiliary users, wherein the similarity of the physical characteristics of any auxiliary user and the physical characteristics of the target user is higher than a preset similarity value, and acquiring the historical physiotherapy information of all auxiliary users;
and determining all the history physiotherapy information of the auxiliary user as the history physiotherapy information of the target user.
By adopting the technical scheme, whether the target user is the first physiotherapy is determined, and if the target user is not the first physiotherapy, the history physiotherapy information corresponding to the target user is obtained; if the target user is the first physiotherapy, the determined historical physiotherapy information can be more suitable for the target user by determining the auxiliary users with similar physical characteristics to the target user and determining the historical physiotherapy information of all the auxiliary users as the historical physiotherapy information of the target user. Meanwhile, the scheme can be applied to all users, and universality of the floating cabin health management method is improved.
In one possible implementation, determining the wake-up start time based on the sleep rule, the first sleep state, and the actual sleep duration includes:
Acquiring a reservation plan of the floating cabin, wherein the reservation plan is reserved for the future use of the floating cabin;
determining a use time limit based on the reservation plan, wherein the use time limit is the last moment when a target user can use the floating cabin;
judging whether the difference value between the prompting time and the using time limit is smaller than or equal to a preset time difference value;
if yes, determining a wake-up time based on the first sleep state, and determining a wake-up starting time based on the wake-up time and the use time limit;
if not, determining an auxiliary sleep time length based on the sleep rule and the actual sleep time length, wherein the auxiliary sleep time length is the time length for the user to continue sleeping, and determining a wake-up starting time based on the prompt time, the auxiliary sleep time length and the use time limit.
By adopting the technical scheme, a reservation plan of the floating cabin is obtained, and the use time limit of the floating cabin which can be used by a target user is determined based on the reservation plan; judging whether the difference between the prompting time and the using time limit is smaller than or equal to a preset time difference value; if the time difference is smaller than the preset time difference, determining the wake-up time required by the target user to be waken in the sleep state according to the first sleep state, and determining the wake-up starting time based on the wake-up time and the use time limit, wherein the wake-up starting time more suitable for the target user can be determined on the premise of not influencing the subsequent use of the floating cabin; if the time difference is smaller than the preset time difference, determining auxiliary sleep time according to the sleep rule and the actual sleep time of the target user, and if the user continues to sleep in the auxiliary sleep time, improving the physiotherapy effect of the user; and then according to the prompt time, the auxiliary sleep time and the use time limit, the wake-up starting time is determined, and the physiotherapy effect of the target user is improved on the premise of not influencing the subsequent use of the floating cabin.
In one possible implementation, determining a wake-up scheme based on the historical therapy information and the second sleep state includes:
determining a plurality of sleep awakening messages from the historical physiotherapy information, wherein the sleep awakening messages are sleep messages with non-empty historical awakening messages;
determining wake-up preference based on all the sleep wake-up information, wherein the wake-up preference comprises wake-up mode preference and wake-up time preference of a target user in each sleep state;
obtaining wake-up rule information, wherein the wake-up rule information comprises wake-up rule tables of all sleep states, and each wake-up rule table comprises time length required by each wake-up mode to wake up a user in a corresponding sleep state;
and determining a wake-up scheme based on the wake-up preference, the wake-up rule information and the second sleep state.
By adopting the technical scheme, a plurality of sleep awakening messages are determined from the historical physiotherapy information, wherein the sleep awakening messages are non-empty sleep messages of the historical awakening messages; determining wake-up preference of the target user according to the historical wake-up state based on all sleep wake-up information; obtaining wake-up rule information, wherein the wake-up rule information comprises wake-up rule tables in all sleep states, and the wake-up rule tables comprise wake-up time required by waking up a user by using each wake-up mode in the corresponding sleep state; and determining a wake-up method and wake-up time length corresponding to the second sleep state from wake-up preference and wake-up rule information according to the second sleep state of the target user, and further determining a wake-up scheme. The wake-up scheme is determined through the historical preference and wake-up rule of the target user, so that the scientificity and the comfortableness of the wake-up scheme can be improved.
In one possible implementation, determining the wake-up scheme further includes:
determining the number of sleep cycles based on the sleep state curve;
acquiring a plurality of limb images, wherein any limb image comprises an image shot by a target user aiming at a limb after the target user enters sleep;
determining the body movement times and body movement amplitude of the target user based on all the limb images;
and determining a wake-up scheme based on the number of sleep cycles, the body movement times and the body movement amplitude.
By adopting the technical scheme, the number of sleep cycles is determined based on the sleep state curve, and the sleep quality of the target user can be judged by the number of sleep cycles; acquiring a plurality of limb images shot for the limbs of the target user, determining the body movement times and body movement amplitude of the target user based on all the limb images, wherein the body movement times and the body movement amplitude of the user entering the deep sleep state are smaller in general, and determining the awakening mode and the awakening time according with the sleep state of the user according to the number of sleep cycles, the body movement times and the body movement amplitude, thereby determining the awakening scheme. The wake-up scheme is formulated in a targeted manner according to the sleep state of the user, so that the wake-up effect of the wake-up scheme can be improved.
In one possible implementation, a method for health management of a floating capsule further includes:
acquiring at least two test temperatures;
sequentially adjusting the temperature in the cabin to the corresponding test temperature according to a preset sequence, and continuously presetting a period at each test temperature;
acquiring sleep monitoring information corresponding to each test temperature of a target user;
determining a preference temperature interval of a target user based on at least two pieces of sleep monitoring information;
and determining the actual temperature of the target user physiotherapy in the preference temperature interval.
By adopting the technical scheme, at least two test temperatures are obtained, the temperature in the cabin is sequentially adjusted to the corresponding test temperature according to a preset sequence, and a preset period is continuously reserved at each test temperature; acquiring sleep monitoring information corresponding to a target user at each test temperature; the sleep monitoring information of the target user under different temperature conditions is analyzed, a preference temperature interval suitable for the target user is determined, and the target user can obtain a better physiotherapy effect in the preference temperature interval; the actual temperature of the target user physiotherapy is determined in the preference temperature interval, so that the physiotherapy effect of the floating physiotherapy can be improved.
In a second aspect, the present application provides a floating cabin health management device, which adopts the following technical scheme:
A floating pod health management device comprising:
the prompt time acquisition module is used for acquiring the prompt time of the target user, wherein the prompt time is before the physiotherapy period of the target user is finished;
the sleep monitoring information acquisition module is used for acquiring sleep monitoring information at the prompting time, wherein the sleep monitoring information comprises the respiratory frequency, the heart rate and the body movement frequency of a target user when the target user sleeps in the floating cabin;
the sleep state curve determining module is used for determining a sleep state curve based on the sleep monitoring information, wherein the sleep state curve is a corresponding relation curve between the sleep state and time of a target user during sleep;
the wake-up scheme determining module is used for determining wake-up starting time and wake-up scheme based on the sleep state curve, wherein the wake-up scheme comprises at least one wake-up mode and duration time of each wake-up mode;
the face image acquisition module is used for acquiring a face image, wherein the face image is an image shot for the face of a target user after the wake-up starting time;
and the wake-up termination time determining module is used for determining the wake-up termination time based on the face image.
By adopting the technical scheme, the prompting time of the target user is obtained, and the prompting time is provided for the subsequent awakening of the target user before the physiotherapy period of the target user is ended without affecting the physiotherapy period of the target user; and acquiring sleep monitoring information of the target user at the prompting time, and determining a sleep state curve based on the sleep monitoring information. By analyzing the sleep state curve of the target user, a wake-up scheme aiming at the target user is formulated, wherein the wake-up scheme comprises at least one wake-up mode and the duration of each wake-up mode, so that the target user can be awakened by a more proper wake-up scheme, and meanwhile, the determined wake-up scheme can reduce the negative influence of wake-up on the physiotherapy effect, and further, the floating physiotherapy effect of the target user can be improved. And acquiring the facial image of the target user after the wake-up starting time, and determining whether the target user is awakened or not by analyzing the facial image, so as to determine the wake-up ending time, thereby improving the comfort level of the wake-up.
In one possible implementation manner, when the wake-up scheme determining module determines a wake-up start time and a wake-up scheme based on the sleep state curve, the wake-up scheme determining module is specifically configured to:
determining a first sleep state and an actual sleep time based on the sleep state curve, wherein the first sleep state is a sleep state of a target user at a prompting time;
acquiring historical physiotherapy information, wherein the historical physiotherapy information comprises at least one piece of sleep information of a target user, each piece of sleep information comprises a primary historical sleep state curve and corresponding historical wake-up information, and any one piece of historical wake-up information comprises a historical wake-up scheme, a historical wake-up duration and a historical wake-up post-state;
determining a sleep rule based on all the historical sleep state curves, wherein the sleep rule comprises sleep states corresponding to all time periods respectively after a target user falls asleep;
determining a wake-up starting time based on the sleep rule, the first sleep state and the actual sleep time;
acquiring a second sleep state, wherein the second sleep state is a sleep state of a target user at the wake-up starting time;
a wake-up regimen is determined based on the historical therapy information and the second sleep state.
In one possible implementation manner, when the wake-up scheme determining module acquires the historical physiotherapy information, the wake-up scheme determining module is specifically configured to:
determining whether the target user is the first physiotherapy;
if not, acquiring the history physiotherapy information of the target user;
if yes, determining a plurality of auxiliary users, wherein the similarity of the physical characteristics of any auxiliary user and the physical characteristics of the target user is higher than a preset similarity value, and acquiring the historical physiotherapy information of all auxiliary users;
and determining all the history physiotherapy information of the auxiliary user as the history physiotherapy information of the target user.
In one possible implementation manner, when the wake-up scheme determining module determines a wake-up start time based on the sleep rule, the first sleep state and the actual sleep duration, the wake-up scheme determining module is specifically configured to:
acquiring a reservation plan of the floating cabin, wherein the reservation plan is reserved for the future use of the floating cabin;
determining a use time limit based on the reservation plan, wherein the use time limit is the last moment when a target user can use the floating cabin;
judging whether the difference value between the prompting time and the using time limit is smaller than or equal to a preset time difference value;
if yes, determining a wake-up time based on the first sleep state, and determining a wake-up starting time based on the wake-up time and the use time limit;
If not, determining an auxiliary sleep time length based on the sleep rule and the actual sleep time length, wherein the auxiliary sleep time length is the time length for the user to continue sleeping, and determining a wake-up starting time based on the prompt time, the auxiliary sleep time length and the use time limit.
In one possible implementation manner, when the wake-up scheme determining module determines a wake-up scheme based on the historical physiotherapy information and the second sleep state, the wake-up scheme determining module is specifically configured to:
determining a plurality of sleep awakening messages from the historical physiotherapy information, wherein the sleep awakening messages are sleep messages with non-empty historical awakening messages;
determining wake-up preference based on all the sleep wake-up information, wherein the wake-up preference comprises wake-up mode preference and wake-up time preference of a target user in each sleep state;
obtaining wake-up rule information, wherein the wake-up rule information comprises wake-up rule tables of all sleep states, and each wake-up rule table comprises time length required by each wake-up mode to wake up a user in a corresponding sleep state;
and determining a wake-up scheme based on the wake-up preference, the wake-up rule information and the second sleep state.
In one possible implementation, a floating cabin health management device further includes:
a sleep cycle determining module for determining the number of sleep cycles based on the sleep state curve;
the limb image acquisition module is used for acquiring a plurality of limb images, wherein any limb image comprises an image shot by a target user aiming at a limb after the target user enters sleep;
the body movement information determining module is used for determining the body movement times and the body movement amplitude of the target user based on all the limb images;
and the second wake-up scheme determining module is used for determining a wake-up scheme based on the number of sleep cycles, the body movement times and the body movement amplitude.
In one possible implementation, a floating cabin health management device further includes:
the test temperature acquisition module is used for acquiring at least two test temperatures;
the temperature adjusting module is used for sequentially adjusting the temperature in the cabin to the corresponding test temperature according to a preset sequence, and continuously presetting a period at each test temperature;
the second sleep monitoring information acquisition module is used for acquiring sleep monitoring information corresponding to each test temperature of the target user;
the preference temperature interval determining module is used for determining a preference temperature interval of a target user based on at least two pieces of sleep monitoring information;
And the actual temperature determining module is used for determining the actual temperature of the target user physiotherapy in the preference temperature interval.
In a third aspect, the present application provides an electronic device, which adopts the following technical scheme:
an electronic device, the electronic device comprising:
at least one processor;
a memory;
at least one application, wherein the at least one application is stored in memory and configured to be executed by at least one processor, the at least one application configured to: the above-described floating tank health management method is performed.
In a fourth aspect, the present application provides a computer readable storage medium, which adopts the following technical scheme:
a computer-readable storage medium, comprising: a computer program is stored that can be loaded by a processor and that performs the above-described floating pod health management method.
In summary, the present application includes at least one of the following beneficial technical effects:
by adopting the technical scheme, the prompting time of the target user is obtained, and the prompting time is provided for the subsequent awakening of the target user before the physiotherapy period of the target user is ended without affecting the physiotherapy period of the target user; and acquiring sleep monitoring information of the target user at the prompting time, and determining a sleep state curve based on the sleep monitoring information. By analyzing the sleep state curve of the target user, a wake-up scheme aiming at the target user is formulated, wherein the wake-up scheme comprises at least one wake-up mode and the duration of each wake-up mode, so that the target user can be awakened by a more proper wake-up scheme, and meanwhile, the determined wake-up scheme can reduce the negative influence of wake-up on the physiotherapy effect, and further, the floating physiotherapy effect of the target user can be improved. And acquiring the facial image of the target user after the wake-up starting time, and determining whether the target user is awakened or not by analyzing the facial image, so as to determine the wake-up ending time, thereby improving the comfort level of the wake-up.
By adopting the technical scheme, the first sleep state and the actual sleep duration are determined based on the sleep state curve; acquiring historical physiotherapy information, wherein the historical physiotherapy information comprises at least one piece of sleep information of a target user, and each piece of sleep information comprises a primary historical sleep state curve and corresponding historical wake-up information; determining a sleep rule of the target user based on all the historical sleep state curves; further, according to the first sleep state, the actual sleep time and the sleep rule, the wake-up starting time is determined, and the target user is awakened at the wake-up starting time, so that the wake-up difficulty can be reduced, and the negative influence of wake-up on the user is reduced; acquiring a second sleep state of the target user at the wake-up start time, determining wake-up related information corresponding to the second sleep state in the history based on the history physiotherapy information and the second sleep state, further determining a wake-up scheme suitable for the target user, specifically making the wake-up scheme for the target user, improving the wake-up comfort level, reducing the negative influence of wake-up on the target user, and further improving the effect of floating physiotherapy.
By adopting the technical scheme, a reservation plan of the floating cabin is obtained, and the use time limit of the floating cabin which can be used by a target user is determined based on the reservation plan; judging whether the difference between the prompting time and the using time limit is smaller than or equal to a preset time difference value; if the time difference is smaller than the preset time difference, determining the wake-up time required by the target user to be waken in the sleep state according to the first sleep state, and determining the wake-up starting time based on the wake-up time and the use time limit, wherein the wake-up starting time more suitable for the target user can be determined on the premise of not influencing the subsequent use of the floating cabin; if the time difference is smaller than the preset time difference, determining auxiliary sleep time according to the sleep rule and the actual sleep time of the target user, and if the user continues to sleep in the auxiliary sleep time, improving the physiotherapy effect of the user; and then according to the prompt time, the auxiliary sleep time and the use time limit, the wake-up starting time is determined, and the physiotherapy effect of the target user is improved on the premise of not influencing the subsequent use of the floating cabin.
Drawings
FIG. 1 is a flow chart of a method for health management of a floating tank in an embodiment of the present application;
FIG. 2 is a schematic structural view of a floating cabin health management device in an embodiment of the present application;
fig. 3 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
The present application is described in further detail below in conjunction with fig. 1-3.
Modifications of the embodiments which do not creatively contribute to the invention may be made by those skilled in the art after reading the present specification, but are protected by patent laws only within the scope of claims of the present application.
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In addition, the term "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In this context, unless otherwise specified, the term "/" generally indicates that the associated object is an "or" relationship.
The embodiment of the application provides a floating cabin health management method, which is executed by electronic equipment, and referring to fig. 1, the method comprises steps S101-S106, wherein:
step S101, acquiring the prompt time of the target user, wherein the prompt time is before the physiotherapy period of the target user is ended.
In the embodiment of the application, the prompt time of the target user is obtained, where the prompt time is the time before the physiotherapy period of the target user is ended, for example, the prompt time is 5 minutes before the physiotherapy period of the target user is ended. The physiotherapy period of the target user can be determined according to physiotherapy information associated with the target user, and then the corresponding prompting time is determined; the presentation time may be a certain time of human input, and the manner of obtaining the presentation time is not specifically limited in the embodiment of the present application.
Step S102, at the prompting time, sleep monitoring information is acquired, wherein the sleep monitoring information comprises the breathing frequency, the heart rate and the body movement frequency of a target user when the target user sleeps in the floating cabin.
In the embodiment of the application, the sleep monitoring information of the target user is acquired at the prompting time, and the sleep monitoring information comprises the respiratory rate, the heart rate and the body movement frequency of the target user when sleeping in the floating cabin before the prompting time. The respiration frequency, the heart rate and the body movement frequency of the target user can be obtained by transmitting signals such as microwave radar, radio waves and the like to the sleeping target user and then according to the returned signal information.
Step S103, based on the sleep monitoring information, determining a sleep state curve, wherein the sleep state curve is a corresponding relation curve of the sleep state and time of the target user during sleep.
In the embodiment of the application, the sleep state of the target user at the corresponding moment is determined by comprehensively analyzing the respiratory rate, the heart rate and the body movement frequency of the target user at each moment, so that the sleep state curve is determined. Under normal conditions, the heart rate of a person is 60-100 times/min, the heart rate is slower than the normal heart rate after the person enters a sleep state, and the respiratory rate and the body movement frequency of the person after the person enters the sleep state are reduced compared with the consciousness. Sleep states include deep sleep, light sleep and rapid eye movement, and there may be differences in the corresponding respiratory rate, heart rate and body movement frequency for different sleep states.
Further, when the human body is in a light sleep state at an early stage after entering sleep, the breathing amplitude of the human body is periodically changed in the light sleep state, and the breathing mode is changed after entering a deep sleep state. When the human body enters a deep sleep state, the amplitude of respiration and the frequency of respiration tend to be regular and stable, but the ventilation quantity generated by each respiration is reduced. And when the human body enters the rapid eye movement sleep stage, the breathing can be accelerated and irregular, namely, the ventilation quantity and the breathing frequency of each breath show irregular changes. The sleep state curve of the target user is determined by analyzing the breathing frequency of the target user in combination with the heart rate and the body movement frequency.
Step S104, based on the sleep state curve, determining a wake-up start time and a wake-up scheme, wherein the wake-up scheme comprises at least one wake-up mode and duration of each wake-up mode.
In the embodiment of the application, according to the sleep state curve of the target user, the wake-up starting time and the wake-up scheme suitable for the user are determined, and the wake-up scheme comprises at least one wake-up mode and the duration of each wake-up mode. At the beginning of waking up, if the target user is in a state of easy waking up, the negative influence of waking up on sleep physiotherapy can be reduced, and the state of easy waking up can be a light sleep state. Wake modes include, but are not limited to, sound wake, tap wake, temperature wake, scent wake, light wake, etc. The wake-up scheme may be determined according to the sleep state of the target user at the wake-up start time, or may be determined according to the overall sleep state of the target user shown by the sleep state curve. If the sleep state of the target user is more similar to deep sleep, the selected awakening mode can be more irritating, and the duration is longer, so that the aim of awakening the target user is fulfilled; otherwise, if the sleep state of the target user is more similar to the light sleep, the corresponding wake-up mode can be more relaxed, and the duration is shorter.
Step S105, a face image is acquired, which is an image captured for the face of the target user after the wake-up start time.
In the embodiment of the application, the face image of the target user is acquired, and the face image is shot for the face of the target user after the wake-up starting time. The face image may be taken in real time for the face of the target user, or may be taken at preset time intervals for the face of the target user.
Step S106, determining the wake-up termination time based on the face image.
In the embodiment of the application, feature extraction is performed on the facial image of the target user, the facial five sense organs of the user are determined, whether the target user is awakened is judged by comparing the facial five sense organs at all times, and if the target user is determined to be awakened, the corresponding time is determined to be the awakening termination time.
Acquiring a prompt time of a target user, wherein the prompt time provides time for the subsequent awakening of the target user while the physical therapy period of the target user is not influenced before the physical therapy period of the target user is ended; and acquiring sleep monitoring information of the target user at the prompting time, and determining a sleep state curve based on the sleep monitoring information. By analyzing the sleep state curve of the target user, a wake-up scheme aiming at the target user is formulated, wherein the wake-up scheme comprises at least one wake-up mode and the duration of each wake-up mode, so that the target user can be awakened by a more proper wake-up scheme, and meanwhile, the determined wake-up scheme can reduce the negative influence of wake-up on the physiotherapy effect, and further, the floating physiotherapy effect of the target user can be improved. And acquiring the facial image of the target user after the wake-up starting time, and determining whether the target user is awakened or not by analyzing the facial image, so as to determine the wake-up ending time, thereby improving the comfort level of the wake-up.
Further, based on the sleep state curve, a wake-up start time and a wake-up scheme are determined, including a step S1041 (not shown in the figure) -a step S1045 (not shown in the figure), wherein:
step S1041, determining a first sleep state and an actual sleep duration based on the sleep state curve, where the first sleep state is a sleep state of the target user at the prompting time.
Specifically, a first sleep state and an actual sleep time length of the target user are determined from a sleep state curve, wherein the first sleep state is a sleep state of the target user at a prompting time, and the actual sleep time length is a total time length of actual sleep of the target user in the sleep state curve. For example, the sleep state curve records the sleep state of the target user 15 to 15 minutes and 50 minutes, and the actual sleep time of the target user is 40 minutes.
Step S1042, acquiring historical physiotherapy information, wherein the historical physiotherapy information comprises at least one piece of sleep information of a target user, each piece of sleep information comprises a historical sleep state curve and corresponding historical awakening information, and any piece of historical awakening information comprises a historical awakening scheme, a historical awakening duration and a historical awakening post-state.
Specifically, historical physiotherapy information is obtained, the historical physiotherapy information comprises at least one piece of sleep information of a target user for physiotherapy in a floating bin, each piece of sleep information comprises a historical sleep state curve and corresponding historical awakening information, and any piece of historical awakening information comprises a historical awakening scheme, a historical awakening duration and a historical awakening post-state.
Step S1043, determining a sleep rule based on all the history sleep state curves, wherein the sleep rule comprises sleep states corresponding to all the time periods after the target user falls asleep.
Specifically, all the historical sleep state curves are analyzed, and the sleep rule of the target user is determined, wherein the sleep rule comprises sleep states corresponding to all the time periods after the target user falls asleep. For example, the target user falls asleep for 0-20 minutes in a light sleep state, 20-30 minutes in a deep sleep state, 30-35 minutes in a quick eye movement state, and 35-45 minutes in a front sleep state. The sleep rule curve can be determined by fitting all the historical sleep state curves, and then the sleep rule of the target user can be determined by extracting the characteristic information of the sleep rule curve.
Step S1044, determining a wake-up start time based on the sleep rule, the first sleep state and the actual sleep time.
Specifically, whether the user belongs to a state easy to wake up can be judged according to a first sleep state of the target user, and if the target user belongs to the state easy to wake up, the current moment is determined to be the wake-up starting moment; if the target user does not belong to the easy-to-wake state, determining the moment of the target user entering the easy-to-wake state as the wake starting moment according to the actual sleep time and sleep rule of the target user.
Step S1045, acquiring a second sleep state, where the second sleep state is a sleep state of the target user at the wake-up start time.
Specifically, the heart rate, the respiratory rate and the body movement frequency of the target user at the wake-up starting moment are obtained, and the second sleep state of the target user is determined according to the heart rate, the respiratory rate and the body movement frequency at the moment.
Step S1046, determining a wake-up scheme based on the history physiotherapy information and the second sleep state.
Specifically, according to the second sleep state, historical wake-up information corresponding to the second sleep state in the historical physiotherapy information includes a historical wake-up post-state, a historical wake-up mode and a historical wake-up duration. Based on the determined historical wake-up state, a historical wake-up scheme and a historical wake-up time length, in which the historical wake-up state is satisfied by the user, are determined, and then a wake-up scheme which is most suitable for the target user is determined from the screened historical wake-up schemes. If the historical wake-up scheme satisfying the target user is not available, the historical wake-up scheme can be adjusted according to the historical wake-up state and the historical wake-up time length, and then the wake-up scheme suitable for the target user is determined.
Further, historical physiotherapy information is acquired, including step SA1 (not shown in the figure) -step SA4 (not shown in the figure), wherein:
step SA1, determining whether a target user is a first physiotherapy;
step SA2, if not, acquiring the history physiotherapy information of the target user;
step SA3, if yes, determining a plurality of auxiliary users, wherein the similarity of the physical characteristics of any auxiliary user and the physical characteristics of the target user is higher than a preset similarity value, and acquiring the historical physiotherapy information of all the auxiliary users;
and step SA4, determining the historical physiotherapy information of all auxiliary users as the historical physiotherapy information of the target user.
In the embodiment of the application, whether the target user is first physiotherapy is judged, and if the target user is not first physiotherapy, the history physiotherapy information of the target user is obtained. If the target user is a first physiotherapy, body information of the target user is acquired, wherein the body information can comprise gender, age, height, weight and the like. And determining auxiliary users similar to the physical characteristics of the target users according to the physical information of the target users, and acquiring the historical physiotherapy information of all the auxiliary users as the historical physiotherapy information of the target users.
Further, based on the sleep law, the first sleep state and the actual sleep duration, a wake-up start time is determined, which includes a step SB1 (not shown in the figure) -a step SB5 (not shown in the figure), wherein:
Step SB1, acquiring a reservation plan of the floating cabin, wherein the reservation plan is reserved for the future floating cabin.
Specifically, a reservation plan of a floating capsule applicable to a target user is obtained, the reservation plan including a case where the floating capsule is reserved for use in the future, and the use case may include a use time, a use item, and the like. For example, the reservation plan includes 16 to 18 reserved items a,20 to 22 reserved items C.
Step SB2, based on the reservation plan, determining the use time limit, wherein the use time limit is the last moment when the target user can use the floating cabin.
Specifically, the use time limit of the floating cabin used by the target user is determined according to the reservation plan, namely, the target user needs to leave the floating cabin before the use time limit to meet the subsequent use condition of the floating cabin. And determining the nearest using information according to the reservation plan, wherein the using information comprises using items and using moments, and determining using time limits based on the using items and the using moments. For example, if the information on the use of the floating capsule is 16 hours to 18 hours, and the preparation time required for the item B is 30 minutes, the use time limit is 15:30.
and step SB3, judging whether the difference between the prompt time and the use time limit is smaller than or equal to a preset time difference.
Specifically, whether the difference between the prompting time and the use time limit is smaller than or equal to a preset time difference is judged, wherein the preset time difference can be 10 minutes, 20 minutes and the like, and the specific size of the time difference is not specifically limited in the embodiment of the application.
And step SB4, if yes, determining a wake-up time based on the first sleep state, and determining a wake-up starting time based on the wake-up time and the use time limit.
Specifically, if the difference between the prompt time and the use time limit is smaller than or equal to a preset time difference, determining a wake-up duration required for waking up the target user in a first sleep state of the target user. The wake-up time length can be determined according to a corresponding relation table between the sleep state and the wake-up time length; and determining the wake-up time required by waking up the target user in the first sleep state according to the historical wake-up time corresponding to each sleep state in the target user historical physiotherapy information. And then determining the wake-up starting time according to the required wake-up time before the use time limit.
And step SB5, if not, determining an auxiliary sleep time length based on a sleep rule and an actual sleep time length, wherein the auxiliary sleep time length is the time length for the user to continue sleeping, and determining a wake-up starting time based on the prompt time, the auxiliary sleep time length and the use time limit.
Specifically, if the difference between the prompt time and the use time limit is greater than the preset time difference, according to the sleep rule and the actual sleep time of the target user, predicting how long the target user needs to reach the optimal physical therapy effect, and determining the auxiliary sleep time after the optimal physical therapy effect is achieved, wherein the target user is in a sleep state easy to wake up. And judging whether the use time limit is exceeded after the user sleeps for the auxiliary time period, and if the use time limit is not exceeded, determining the awakening starting time according to the prompting time and the auxiliary sleep time period. If the time limit exceeds the use time limit, determining the time corresponding to the last sleep state easy to wake up by the target user before the use time limit as the wake-up starting time.
Further, based on the historical physiotherapy information and the second sleep state, a wake-up scheme is determined, including a step SC1 (not shown in the figure) -a step SC4 (not shown in the figure), wherein:
step SC1, determining a plurality of sleep awakening information from the history physiotherapy information, wherein the sleep awakening information is sleep information with non-empty history awakening information.
Specifically, a plurality of sleep awakening information is determined from the historical physiotherapy information, wherein the sleep awakening information is sleep information with non-empty historical awakening information, namely, the sleep state of the user is ended through awakening in the sleep awakening information.
Step SC2, based on all sleep awakening information, determining awakening preferences, wherein the awakening preferences comprise awakening mode preferences and awakening duration preferences of the target user in each sleep state.
Specifically, according to the historical sleep state curves in all sleep awakening information, the sleep state of the user when the user is awakened is determined. And determining a historical wake-up mode and a historical wake-up time length for satisfying the user according to the historical wake-up state. If one sleep state corresponds to a plurality of historical wake-up information which enables users to be satisfied, determining the weight of each historical wake-up information through the historical wake-up state, and if the evaluation of the historical wake-up state is better, the weight of the corresponding historical wake-up information is larger, and further comprehensively determining wake-up mode preference and wake-up duration preference corresponding to the sleep state according to the weight.
Step SC3, obtaining wake-up rule information, wherein the wake-up rule information comprises wake-up rule tables of all sleep states, and each wake-up rule table comprises the time length required by each wake-up mode to wake up a user in the corresponding sleep state.
Specifically, wake-up rule information is obtained, wherein the wake-up rule information comprises wake-up rule tables of all sleep states, and each wake-up rule table comprises a time length required by each wake-up mode to wake up a user in a corresponding sleep state.
And step SC4, determining a wake-up scheme based on the wake-up preference, the wake-up rule information and the second sleep state.
Specifically, the wake-up mode preference and the wake-up time preference corresponding to the second sleep state are determined from the wake-up preference, meanwhile, the wake-up rule table corresponding to the second sleep state is determined from the wake-up rule information, and the wake-up time preference and the wake-up mode preference can be adjusted by combining the wake-up rule table to better promote the wake-up effect, so that the wake-up scheme is determined. If the wake-up preference does not include the wake-up mode preference and the wake-up duration preference corresponding to the second sleep state, the wake-up scheme can be determined according to the wake-up rule table corresponding to the second sleep state in the wake-up rule information.
Further, determining the wake-up scheme further comprises a step S111 (not shown in the figure) -a step S114 (not shown in the figure), wherein:
step S111, determining the number of sleep cycles based on the sleep state curve.
In the embodiment of the application, the number of sleep cycles is determined based on the sleep state curve, and the target user is in an awake state between each sleep cycle.
Step S112, a plurality of limb images are acquired, wherein any limb image comprises an image shot by a target user aiming at a limb after the target user falls into sleep.
In the embodiment of the application, limb images of a plurality of target users are acquired, the limb images can be shot in real time or at preset time intervals, the shooting time corresponding to each limb image is different, and any limb image comprises images shot by the target users aiming at the limbs of the target users after the target users enter sleep.
Step S113, determining the body movement times and body movement amplitude of the target user based on all the limb images.
In the embodiment of the application, by analyzing any two continuous limb images, whether the body swing of the target user occurs between two limb image shooting is determined, and then the body movement times of the target user are determined. And simultaneously analyzing the position difference of the limbs of the target user between two continuous limb images, and determining the body movement amplitude of the target user.
Step S114, determining a wake-up scheme based on the number of sleep cycles, the body movement times and the body movement amplitude.
In the embodiment of the application, based on the number of sleep cycles, the number of body movements and the body movement frequency, judging the sleep depth of the target user, wherein the larger the sleep depth is, the smaller the number of sleep cycles is, the smaller the number of body movements is and the smaller the body movement amplitude is; conversely, the smaller the sleep depth, the larger the corresponding number of sleep cycles, the more body movement times and the larger the body movement amplitude. And determining a wake-up scheme corresponding to the sleeping depth according to the sleeping depth of the target user.
Further, a floating cabin health management method further includes a step S001 (not shown in the figure) -a step S005 (not shown in the figure) before the step S101, wherein:
and S001, acquiring at least two test temperatures.
In this embodiment of the present application, at least two different test temperatures are obtained, where the test temperatures may be preset temperatures, or may be temperatures specified by a target user, and specific values of the test temperatures are not specifically limited in this embodiment of the present application.
Step S002, sequentially adjusting the temperature in the cabin to the corresponding test temperature according to a preset sequence, and continuously presetting a period at each test temperature.
In this embodiment of the present application, the temperature in the floating cabin is adjusted to the corresponding test temperature according to a preset sequence, and the same preset period is continued at each test temperature, where the preset period may be 5 minutes, 10 minutes, and so on. The temperature more suitable for the target user is determined by the body reaction of the target user at the corresponding test temperature in the preset period.
Step S003, obtaining sleep monitoring information corresponding to each test temperature of the target user.
In the embodiment of the application, sleep monitoring information corresponding to each test temperature of the target user is obtained, and each sleep monitoring information comprises the respiratory rate, the heart rate and the body movement frequency of the target user at the corresponding test temperature.
Step S004, determining a preference temperature interval of the target user based on at least two pieces of sleep monitoring information.
In the embodiment of the application, the sleep monitoring information at each test temperature is analyzed to determine the change of the sleep state of each test temperature target user, and further determine the preference temperature interval suitable for physical therapy of the target user. For example, the target user is in a light sleep state at 25 degrees celsius; when the temperature is regulated to 26 ℃, the target user enters a deep sleep state from a light sleep state; the target user enters the light sleep state again from the deep sleep state when the temperature is adjusted to 27 degrees celsius. The target user's preferred temperature range is 25-26 degrees celsius.
And step S005, determining the actual temperature of the target user physiotherapy in the preference temperature interval.
In the embodiment of the application, the actual temperature of the physiotherapy of the target user is determined in the preference temperature interval, the actual temperature can be any temperature in the preference temperature interval, and the temperature with the best physiotherapy effect in the preference temperature interval can be selected as the actual temperature in combination with the physiotherapy effect.
The above embodiment describes a method for health management of a floating cabin from the viewpoint of a method flow, and the following embodiment describes a device for health management of a floating cabin from the viewpoint of a virtual module or a virtual unit, and the following embodiment is described in detail.
The embodiment of the application provides a device for health management of a floating cabin, as shown in fig. 2, the device for health management of a floating cabin may specifically include a prompt time acquisition module 201, a sleep monitoring information acquisition module 202, a sleep state curve determination module 203, a wake-up scheme determination module 204, a facial image acquisition module 205, and a wake-up termination time determination module 206, where:
a prompt time acquisition module 201, configured to acquire a prompt time of the target user, where the prompt time is before the physiotherapy period of the target user ends;
the sleep monitoring information obtaining module 202 is configured to obtain sleep monitoring information at a prompting time, where the sleep monitoring information includes a respiratory rate, a heart rate, and a body movement frequency of a target user when the target user sleeps in the floating cabin;
the sleep state curve determining module 203 is configured to determine a sleep state curve based on the sleep monitoring information, where the sleep state curve is a corresponding relationship curve between a sleep state and time of the target user during sleep;
a wake-up scheme determining module 204, configured to determine a wake-up start time and a wake-up scheme based on the sleep state curve, where the wake-up scheme includes at least one wake-up mode and a duration of each wake-up mode;
A facial image acquisition module 205, configured to acquire a facial image, where the facial image is an image captured for a target user's face after a wake-up start time;
the wake termination time determining module 206 is configured to determine a wake termination time based on the face image.
In one possible implementation, when the wake scheme determining module 204 determines the wake start time and the wake scheme based on the sleep state curve, the method specifically is used for:
determining a first sleep state and an actual sleep time based on a sleep state curve, wherein the first sleep state is a sleep state of a target user at a prompting time;
acquiring historical physiotherapy information, wherein the historical physiotherapy information comprises at least one piece of sleep information of a target user, each piece of sleep information comprises a primary historical sleep state curve and corresponding historical awakening information, and any piece of historical awakening information comprises a historical awakening scheme, a historical awakening duration and a historical awakening post-state;
determining a sleep rule based on all the historical sleep state curves, wherein the sleep rule comprises sleep states corresponding to all time periods after a target user falls asleep;
determining a wake-up starting time based on a sleep rule, a first sleep state and an actual sleep time length;
Acquiring a second sleep state, wherein the second sleep state is a sleep state of a target user at the wake-up starting moment;
a wake-up regimen is determined based on the historical therapy information and the second sleep state.
In one possible implementation, when the wake scheme determination module 204 obtains the historical therapy information, it is specifically configured to:
determining whether the target user is the first physiotherapy;
if not, acquiring the history physiotherapy information of the target user;
if yes, determining a plurality of auxiliary users, wherein the similarity of the physical characteristics of any auxiliary user and the physical characteristics of the target user is higher than a preset similarity value, and acquiring the history physiotherapy information of all auxiliary users;
and determining the historical physiotherapy information of all auxiliary users as the historical physiotherapy information of the target user.
In one possible implementation, when the wake-up scheme determining module 204 determines the wake-up start time based on the sleep rule, the first sleep state, and the actual sleep duration, the wake-up scheme determining module is specifically configured to:
acquiring a reservation plan of the floating cabin, wherein the reservation plan is reserved for the future use of the floating cabin;
determining a use time limit based on the reservation plan, wherein the use time limit is the last moment when the floating cabin can be used by the target user;
Judging whether the difference between the prompting time and the using time limit is smaller than or equal to a preset time difference value;
if yes, determining a wake-up time based on the first sleep state, and determining a wake-up starting time based on the wake-up time and the use time limit;
if not, determining auxiliary sleep time length based on the sleep rule and the actual sleep time length, wherein the auxiliary sleep time length is the time length for the user to continue sleeping, and determining the awakening starting time based on the prompting time, the auxiliary sleep time length and the use time limit.
In one possible implementation, when the wake-up scheme determining module 204 determines the wake-up scheme based on the historical physiotherapy information and the second sleep state, the wake-up scheme determining module is specifically configured to:
determining a plurality of sleep awakening information from the historical physiotherapy information, wherein the sleep awakening information is sleep information with non-empty historical awakening information;
based on all sleep wake-up information, determining wake-up preference, wherein the wake-up preference comprises wake-up mode preference and wake-up duration preference of a target user in each sleep state;
obtaining wake-up rule information, wherein the wake-up rule information comprises wake-up rule tables of all sleep states, and each wake-up rule table comprises time length required by each wake-up mode to wake up a user in a corresponding sleep state;
A wake-up scheme is determined based on the wake-up preference, wake-up rule information, and the second sleep state.
In one possible implementation, a floating cabin health management device further includes:
the sleep cycle determining module is used for determining the number of sleep cycles based on the sleep state curve;
the limb image acquisition module is used for acquiring a plurality of limb images, wherein any limb image comprises an image shot by a target user aiming at a limb after the target user enters sleep;
the body movement information determining module is used for determining the body movement times and the body movement amplitude of the target user based on all the limb images;
the second wake-up scheme determining module is used for determining a wake-up scheme based on the number of sleep cycles, the body movement times and the body movement amplitude.
In one possible implementation, a floating cabin health management device further includes:
the test temperature acquisition module is used for acquiring at least two test temperatures;
the temperature adjusting module is used for sequentially adjusting the temperature in the cabin to the corresponding test temperature according to a preset sequence, and continuously presetting a period at each test temperature;
the second sleep monitoring information acquisition module is used for acquiring sleep monitoring information corresponding to each test temperature of the target user;
The preference temperature interval determining module is used for determining a preference temperature interval of the target user based on at least two pieces of sleep monitoring information;
and the actual temperature determining module is used for determining the actual temperature of the physical therapy of the target user in the preference temperature interval.
In an embodiment of the present application, as shown in fig. 3, an electronic device 300 shown in fig. 3 includes: a processor 301 and a memory 303. Wherein the processor 301 is coupled to the memory 303, such as via a bus 302. Optionally, the electronic device 300 may also include a transceiver 304. It should be noted that, in practical applications, the transceiver 304 is not limited to one, and the structure of the electronic device 300 is not limited to the embodiment of the present application.
The processor 301 may be a CPU (Central Processing Unit ), general purpose processor, DSP (Digital Signal Processor, data signal processor), ASIC (Application Specific Integrated Circuit ), FPGA (Field Programmable Gate Array, field programmable gate array) or other programmable logic device, transistor logic device, hardware components, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. Processor 301 may also be a combination that implements computing functionality, e.g., comprising one or more microprocessor combinations, a combination of a DSP and a microprocessor, etc.
Bus 302 may include a path that communicates information between the components described above. Bus 302 may be a PCI (Peripheral Component Interconnect, peripheral component interconnect Standard) bus or an EISA (Extended Industry Standard Architecture ) bus, or the like. Bus 302 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 3, but not only one bus or one type of bus.
The Memory 303 may be, but is not limited to, a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory ) or other type of dynamic storage device that can store information and instructions, an EEPROM (Electrically Erasable Programmable Read Only Memory ), a CD-ROM (Compact Disc Read Only Memory, compact disc Read Only Memory) or other optical disk storage, optical disk storage (including compact discs, laser discs, optical discs, digital versatile discs, blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The memory 303 is used for storing application program codes for executing the present application and is controlled to be executed by the processor 301. The processor 301 is configured to execute the application code stored in the memory 303 to implement what is shown in the foregoing method embodiments.
Among them, electronic devices include, but are not limited to: mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. But may also be a server or the like. The electronic device shown in fig. 3 is only an example and should not be construed as limiting the functionality and scope of use of the embodiments herein.
The present application provides a computer readable storage medium having a computer program stored thereon, which when run on a computer, causes the computer to perform the corresponding method embodiments described above.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
The foregoing is only a partial embodiment of the present application and it should be noted that, for a person skilled in the art, several improvements and modifications can be made without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (7)

1. A method of health management of a floating capsule, comprising:
acquiring a prompt time of a target user, wherein the prompt time is before the physiotherapy period of the target user is finished;
at the prompting time, sleep monitoring information is acquired, wherein the sleep monitoring information comprises the respiratory rate, the heart rate and the body movement frequency of a target user when the target user sleeps in the floating cabin;
determining a sleep state curve based on the sleep monitoring information, wherein the sleep state curve is a corresponding relation curve of a sleep state and time of a target user during sleep;
determining a wake-up starting time and a wake-up scheme based on the sleep state curve, wherein the wake-up scheme comprises at least one wake-up mode and duration of each wake-up mode;
the determining a wake-up start time and a wake-up scheme based on the sleep state curve includes: determining a first sleep state and an actual sleep time based on the sleep state curve, wherein the first sleep state is a sleep state of a target user at a prompting time;
Acquiring historical physiotherapy information, wherein the historical physiotherapy information comprises at least one piece of sleep information of a target user, each piece of sleep information comprises a primary historical sleep state curve and corresponding historical wake-up information, and any one piece of historical wake-up information comprises a historical wake-up scheme, a historical wake-up duration and a historical wake-up post-state;
determining a sleep rule based on all the historical sleep state curves, wherein the sleep rule comprises sleep states corresponding to all time periods respectively after a target user falls asleep;
determining a wake-up starting time based on the sleep rule, the first sleep state and the actual sleep time;
determining the number of sleep cycles based on the sleep state curve, wherein a target user is in an awake state between each sleep cycle;
acquiring a plurality of limb images, wherein any limb image comprises an image shot by a target user aiming at a limb after the target user enters sleep;
determining the body movement times and body movement amplitude of the target user based on all the limb images;
judging the sleeping depth of the target user based on the number of sleeping periods, the body movement times and the body movement amplitude, and determining a wake-up scheme corresponding to the sleeping depth according to the sleeping depth of the target user;
Acquiring a face image, wherein the face image is an image shot for the face of a target user after the wake-up starting time;
and determining a wake-up termination time based on the facial image.
2. The floating capsule health management method according to claim 1, wherein the specific scheme of determining a wake-up start time and a wake-up scheme based on the sleep state curve is replaced by:
determining a first sleep state and an actual sleep time based on the sleep state curve, wherein the first sleep state is a sleep state of a target user at a prompting time;
acquiring historical physiotherapy information, wherein the historical physiotherapy information comprises at least one piece of sleep information of a target user, each piece of sleep information comprises a primary historical sleep state curve and corresponding historical wake-up information, and any one piece of historical wake-up information comprises a historical wake-up scheme, a historical wake-up duration and a historical wake-up post-state;
determining a sleep rule based on all the historical sleep state curves, wherein the sleep rule comprises sleep states corresponding to all time periods respectively after a target user falls asleep;
determining a wake-up starting time based on the sleep rule, the first sleep state and the actual sleep time;
The determining a wake-up start time based on the sleep rule, the first sleep state and the actual sleep duration includes:
acquiring a reservation plan of the floating cabin, wherein the reservation plan is reserved for the future use of the floating cabin;
determining a use time limit based on the reservation plan, wherein the use time limit is the last moment when a target user can use the floating cabin;
judging whether the difference value between the prompting time and the using time limit is smaller than or equal to a preset time difference value;
if yes, determining a wake-up time based on the first sleep state, and determining a wake-up starting time based on the wake-up time and the use time limit;
if not, determining an auxiliary sleep time length based on the sleep rule and the actual sleep time length, wherein the auxiliary sleep time length is the time length for the user to continue sleeping, and determining a wake-up starting time based on the prompt time, the auxiliary sleep time length and the use time limit;
acquiring a second sleep state, wherein the second sleep state is a sleep state of a target user at the wake-up starting time;
determining a wake-up regimen based on the historical therapy information and the second sleep state;
The determining a wake-up scheme based on the historical physiotherapy information and the second sleep state includes:
determining a plurality of sleep awakening messages from the historical physiotherapy information, wherein the sleep awakening messages are sleep messages with non-empty historical awakening messages;
determining wake-up preference based on all the sleep wake-up information, wherein the wake-up preference comprises wake-up mode preference and wake-up time preference of a target user in each sleep state;
obtaining wake-up rule information, wherein the wake-up rule information comprises wake-up rule tables of all sleep states, and each wake-up rule table comprises time length required by each wake-up mode to wake up a user in a corresponding sleep state;
and determining a wake-up scheme based on the wake-up preference, the wake-up rule information and the second sleep state.
3. The method of claim 2, wherein the obtaining historical physiotherapy information comprises:
determining whether the target user is the first physiotherapy;
if not, acquiring the history physiotherapy information of the target user;
if yes, determining a plurality of auxiliary users, wherein the similarity of the physical characteristics of any auxiliary user and the physical characteristics of the target user is higher than a preset similarity value, and acquiring the historical physiotherapy information of all auxiliary users;
And determining the historical physiotherapy information of all the auxiliary users as the historical physiotherapy information of the target user.
4. The floating pod health management method of claim 1, further comprising:
acquiring at least two test temperatures;
sequentially adjusting the temperature in the cabin to the corresponding test temperature according to a preset sequence, and continuously presetting a period at each test temperature;
acquiring sleep monitoring information corresponding to each test temperature of a target user;
determining a preference temperature interval of a target user based on at least two pieces of sleep monitoring information;
and determining the actual temperature of the target user physiotherapy in the preference temperature interval.
5. A floating capsule health management device, comprising:
the prompt time acquisition module is used for acquiring the prompt time of the target user, wherein the prompt time is before the physiotherapy period of the target user is finished;
the sleep monitoring information acquisition module is used for acquiring sleep monitoring information at the prompting time, wherein the sleep monitoring information comprises the respiratory frequency, the heart rate and the body movement frequency of a target user when the target user sleeps in the floating cabin;
the sleep state curve determining module is used for determining a sleep state curve based on the sleep monitoring information, wherein the sleep state curve is a corresponding relation curve between the sleep state and time of a target user during sleep;
The wake-up scheme determining module is used for determining wake-up starting time and wake-up scheme based on the sleep state curve, wherein the wake-up scheme comprises at least one wake-up mode and duration time of each wake-up mode;
the wake-up scheme determining module is specifically configured to, when determining a wake-up start time and a wake-up scheme based on the sleep state curve: determining a first sleep state and an actual sleep time based on the sleep state curve, wherein the first sleep state is a sleep state of a target user at a prompting time;
acquiring historical physiotherapy information, wherein the historical physiotherapy information comprises at least one piece of sleep information of a target user, each piece of sleep information comprises a primary historical sleep state curve and corresponding historical wake-up information, and any one piece of historical wake-up information comprises a historical wake-up scheme, a historical wake-up duration and a historical wake-up post-state;
determining a sleep rule based on all the historical sleep state curves, wherein the sleep rule comprises sleep states corresponding to all time periods respectively after a target user falls asleep;
determining a wake-up starting time based on the sleep rule, the first sleep state and the actual sleep time;
Determining the number of sleep cycles based on the sleep state curve, wherein a target user is in an awake state between each sleep cycle;
acquiring a plurality of limb images, wherein any limb image comprises an image shot by a target user aiming at a limb after the target user enters sleep;
determining the body movement times and body movement amplitude of the target user based on all the limb images;
judging the sleeping depth of the target user based on the number of sleeping periods, the body movement times and the body movement amplitude, and determining a wake-up scheme corresponding to the sleeping depth according to the sleeping depth of the target user;
the face image acquisition module is used for acquiring a face image, wherein the face image is an image shot for the face of a target user after the wake-up starting time;
and the wake-up termination time determining module is used for determining the wake-up termination time based on the face image.
6. An electronic device, comprising:
at least one processor;
a memory;
at least one application, wherein the at least one application is stored in memory and configured to be executed by at least one processor, the at least one application configured to: performing the floating capsule health management method of any one of claims 1-4.
7. A computer-readable storage medium, comprising: a computer program stored which can be loaded by a processor and which performs a method of floating capsule health management according to any one of claims 1-4.
CN202310081047.4A 2023-02-08 2023-02-08 Floating cabin health management method and device, electronic equipment and storage medium Active CN115938556B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310081047.4A CN115938556B (en) 2023-02-08 2023-02-08 Floating cabin health management method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310081047.4A CN115938556B (en) 2023-02-08 2023-02-08 Floating cabin health management method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115938556A CN115938556A (en) 2023-04-07
CN115938556B true CN115938556B (en) 2023-05-23

Family

ID=85838792

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310081047.4A Active CN115938556B (en) 2023-02-08 2023-02-08 Floating cabin health management method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115938556B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116726342A (en) * 2023-06-15 2023-09-12 黑龙江大学 Lamplight sound adjusting system and reminding method for reminding device

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11540769B2 (en) * 2014-04-28 2023-01-03 The General Hospital Corporation System and method for tracking sleep dynamics using behavioral and physiological information
GB2584241B (en) * 2018-01-19 2023-03-08 Eight Sleep Inc Sleep pod
WO2019205145A1 (en) * 2018-04-28 2019-10-31 华为技术有限公司 Method and apparatus for setting ringing time of alarm clock, and electronic device
EP3826281A1 (en) * 2019-11-20 2021-05-26 Koninklijke Philips N.V. A system and method for waking a user up with a stimulus of varying intensity
CN111023494B (en) * 2019-11-29 2021-06-18 深圳数联天下智能科技有限公司 Sleep temperature regulation and control method and device, computer equipment and storage medium
CN111558120B (en) * 2020-05-07 2022-07-19 上海闻泰电子科技有限公司 Sleep wake-up method, device, computer equipment and computer readable storage medium
CN112932225B (en) * 2021-01-29 2023-07-18 青岛海尔空调器有限总公司 Intelligent awakening pillow and awakening method based on intelligent awakening pillow

Also Published As

Publication number Publication date
CN115938556A (en) 2023-04-07

Similar Documents

Publication Publication Date Title
CN115938556B (en) Floating cabin health management method and device, electronic equipment and storage medium
US9032110B2 (en) Reducing power consumption of sensor by overriding instructions to measure
CN109497945B (en) Sleep state control method and device
CN107784357A (en) Individualized intelligent based on multi-modal deep neural network wakes up system and method
CN107247516A (en) Alarm clock starts method, device, Wearable and storage medium
CN1762299A (en) Method and apparatus for processing bio-information
CN104750387B (en) A kind of information processing method and electronic equipment
CN113883668B (en) Sleep aiding method and device for air conditioner, air conditioner and storage medium
KR20180083684A (en) Electronic device and method for providing guide information based on genetic information
CN110648747B (en) Data recommendation method and related device
CN109568766A (en) Audio frequency playing method, device and computer readable storage medium
CN113867215A (en) Intelligent mattress control method and device, electronic equipment and storage medium
CN112635055A (en) Sleep environment parameter recommendation method, device, equipment and medium
CN112932225B (en) Intelligent awakening pillow and awakening method based on intelligent awakening pillow
CN114652131A (en) Control method and device of intelligent mattress, electronic equipment and storage medium
CN110200615A (en) A kind of health monitor method and electronic equipment based on heart rate data
Bi et al. FamilyLog: monitoring family mealtime activities by mobile devices
US20180130461A1 (en) Selecting Media using Weighted Key Words based on Facial Recognition
US20220257176A1 (en) Nap evaluation device, nap evaluation system, nap evaluation method, and program
JP6960849B2 (en) Bio-information processing equipment, bio-information processing system, bio-information processing method and program
Zhang et al. A smartphone thermal temperature analysis for virtual and augmented reality
JP2017135475A (en) Evaluation device, evaluation method and computer program
JP6473511B2 (en) GAME PARAMETER CONTROL METHOD, DEVICE, GAME CONTROL METHOD, DEVICE
CN105030396A (en) Excess food intake prompt method and device based on smart watch
US20220358372A1 (en) Learning apparatus, inference apparatus, and environment adjustment system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant