CN111083864B - Illumination method and illumination device - Google Patents

Illumination method and illumination device Download PDF

Info

Publication number
CN111083864B
CN111083864B CN201911416286.0A CN201911416286A CN111083864B CN 111083864 B CN111083864 B CN 111083864B CN 201911416286 A CN201911416286 A CN 201911416286A CN 111083864 B CN111083864 B CN 111083864B
Authority
CN
China
Prior art keywords
specified
time period
user
bed
preset
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
CN201911416286.0A
Other languages
Chinese (zh)
Other versions
CN111083864A (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.)
Acoustics Acoustic Technology Suzhou Co ltd
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201911416286.0A priority Critical patent/CN111083864B/en
Publication of CN111083864A publication Critical patent/CN111083864A/en
Application granted granted Critical
Publication of CN111083864B publication Critical patent/CN111083864B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application discloses a lighting method, comprising: judging whether the current time is in a rest time period of a specified user; if so, starting a sleep sensor preset at the specified position of the bed board, and acquiring detection data of the sleep sensor; judging whether the in-bed state of the specified user reaches a preset emergency state or not according to the detection data; if yes, starting a specified lamp in the space where the bed board is located, and controlling the specified lamp to change the lighting in a specified mode so as to warn rescue. Whether the in-bed state of a user reaches an emergency state is detected through the sleep sensor at the specified position of the bed board, and when the in-bed state is in the emergency state, the lamp is controlled to initiate the change illumination of warning and rescue, so that a good alarm effect is achieved, the body health condition of a specific person can be indirectly monitored and timely rescued, and no sound can not cause social interference.

Description

Illumination method and illumination device
Technical Field
The present invention relates to the field of bedding, and more particularly, to a lighting method and a lighting apparatus.
Background
At present, the electric bed is widely used in the fields of leisure, nursing, medical treatment and old age, and is particularly used in the field of old age to meet the requirement of nursing for the old. However, with the increasing aging trend of society, more and more old people live alone, and even with the accompanying nursing staff, the old people cannot monitor their lives at all times. However, the elderly or other people needing nursing are also prone to emergency situations and need to be rescued in time, and particularly, the occurrence of the emergency situations needs to be monitored at night or during sleep. There is no system for monitoring the condition of an elderly person in bed at night or during sleep.
Disclosure of Invention
The main object of the present application is to provide a lighting method, which aims to solve the technical problem that no system for monitoring the condition of the bed of the elderly people at night or during sleep is available.
The present application provides a method of lighting, comprising:
judging whether the current time is in a rest time period of a specified user;
if so, starting a sleep sensor preset at the specified position of the bed board, and acquiring detection data of the sleep sensor;
judging whether the in-bed state of the specified user reaches a preset emergency state or not according to the detection data;
if yes, starting a specified lamp in the space where the bed board is located, and controlling the specified lamp to change the lighting in a specified mode so as to warn rescue.
Preferably, the detection data includes disturbance data of the specified user relative to the bed board and/or gravity data of the specified user, and the step of determining whether the in-bed state of the specified user reaches a preset emergency state according to the detection data includes:
judging whether a time point is preset with a deep sleep time period, wherein the deep sleep time period is included in the rest time period;
if so, judging whether the designated user has an action of leaving the bed or not by monitoring disturbance data of the designated user relative to the bed board and/or gravity data of the designated user;
if yes, starting timing and monitoring the back-to-bed action of the specified user in real time;
judging whether the back-to-bed action of the specified user is monitored in a first preset time period;
if not, the in-bed state of the specified user is judged to reach a preset emergency state.
Preferably, the detecting data further includes physiological data of the designated user, and the step of determining whether there is an action of the designated user leaving the bed by monitoring disturbance data of the designated user relative to the bed board and/or gravity data of the designated user includes:
if the designated user does not have the action of leaving the bed, judging that the designated user is continuously in the in-bed state;
monitoring physiological data of the specified user in real time;
judging whether the physiological data of the specified user is in a normal range or not;
if not, the in-bed state of the specified user is judged to reach a preset emergency state.
Preferably, the step of determining whether the physiological data of the specified user is in a normal range includes:
judging whether the time is in a preset getting-up time period or not, wherein the preset getting-up time period is included in the rest time period and is later than the deep sleep time period;
if so, judging whether the specified user gets up in the preset getting-up time period or not according to disturbance data of the specified user relative to the bed board and/or gravity data of the specified user;
if not, starting timing from the end time of the preset getting-up time period;
judging whether the specified user is continuously kept in the bed state within a second preset time period after deviating from the preset getting-up time period;
and if so, judging that the in-bed state of the specified user reaches a preset emergency state.
Preferably, the rest time period sequentially includes a preset sleep time period, a sleep time period, and a waking time period, the detection data includes disturbance data of the designated user relative to the bed board and/or gravity data of the designated user, and the step of determining whether the in-bed state of the designated user reaches a preset emergency state according to the detection data includes:
judging whether disturbance data of the specified user relative to the bed board and/or gravity data of the specified user are detected in the sleep time period;
if not, determining that the in-bed state of the specified user reaches a preset emergency state at the starting time point of the sleep time period.
Preferably, before the step of starting the specific lamp in the space where the bed board is located and controlling the specific lamp to change the lighting in a specific manner so as to warn rescue, the method comprises the following steps:
dialing a mobile terminal corresponding to the pre-associated designated user;
judging whether feedback information corresponding to a dialing action is received or not, wherein the feedback information is information for establishing a call link or information for refusing to connect;
if not, generating a specified lamp for starting the space where the bed board is located, and controlling the specified lamp to change the lighting in a specified mode so as to warn rescue control instruction information.
Preferably, the method comprises the steps of starting a designated lamp in the space where the bed board is located, controlling the designated lamp to change lighting in a designated mode, and warning rescue, wherein the step comprises the following steps:
starting the specified lamp;
controlling the specified lamp to perform first flickering, wherein the first flickering comprises that the specified lamp is turned off after being continuously turned on for a first time period, and the first flickering is repeated according to a first time interval;
judging whether the number of times of the first flicker reaches a first designated number of times;
if so, controlling the specified lamp to continuously start second flicker, wherein the second flicker comprises that the specified lamp is turned off after being continuously started for a second time period, and repeating the second flicker according to a second time interval, wherein the first time period is greater than the second time period, and the first time interval is greater than the second time interval;
judging whether a command for stopping flashing is received or not after a flashing period lasting for a specified number of times is continued, wherein the flashing period comprises a first flashing of the first specified number of times and a second flashing of the second specified number of times;
and if not, adding light color change in the first flashing and the second flashing respectively.
The present application further provides a lighting device, comprising:
the first judgment module is used for judging whether the current time is in the rest time period of the appointed user;
the first starting module is used for starting a sleep sensor preset at a specified position of the bed board and acquiring detection data of the sleep sensor if the current time is in the rest time period of a specified user;
the second judgment module is used for judging whether the in-bed state of the specified user reaches a preset emergency state or not according to the detection data;
and the second starting module is used for starting a specified lamp in the space where the bed board is located and controlling the specified lamp to change the lighting in a specified mode to warn rescue if the in-bed state of the specified user reaches a preset emergency state.
The present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when being executed by a processor, carries out the steps of the method as described above.
The application has the beneficial technical effects that: this application detects whether the user reaches emergency state at the bed state through the sleep sensor at the bed board assigned position, then controls lamps and lanterns when being in emergency state and launches the transform illumination of warning rescue, plays good warning effect, is favorable to carrying out indirect control and timely succour to specific people's health status, does not have sound moreover and can not cause social interference.
Drawings
FIG. 1 is a schematic flow chart of a lighting method according to an embodiment of the present application;
FIG. 2 is a schematic structural diagram of an illumination device according to an embodiment of the present application;
fig. 3 is a schematic diagram of an internal structure of a computer device according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Referring to fig. 1, a lighting method according to an embodiment of the present application includes:
s1: judging whether the current time is in a rest time period of a specified user;
s2: if so, starting a sleep sensor preset at the specified position of the bed board, and acquiring detection data of the sleep sensor;
s3: judging whether the in-bed state of the specified user reaches a preset emergency state or not according to the detection data;
s4: if yes, starting a specified lamp in the space where the bed board is located, and controlling the specified lamp to change the lighting in a specified mode so as to warn rescue.
The rest time period can be set by a user in a self-defined mode, and a night sleep time period is preferred, for example, the rest time period is from 9 nights to 6 early morning. The sleep sensor comprises one or more of a piezoelectric sensor, a capacitance sensor, a gravity acceleration sensor and the like. The detection data comprises one or more of information of a user contacting the bed board, disturbance information generated by rolling of the user on the bed board, gravity information of the user, respiration of the user, heart rate and other physiological data. The preset emergency state comprises the condition that the user has problems in physical health and needs emergency rescue. When the appointed lamp is started in a non-emergency state, the appointed lamp normally illuminates at constant brightness; when the emergency rescue system is in an emergency state, illumination is changed in a designated mode to warn rescue. According to the embodiment of the application, whether the in-bed state of a user reaches an emergency state is detected through the sleep sensor at the specified position of the bed board, when the in-bed state is in the emergency state, the lamp is controlled to initiate the change illumination of warning and rescue, a good alarm effect is achieved, indirect monitoring and timely rescue of the health condition of a specific person are facilitated, and no sound can not cause social interference. The above-mentioned manner of varying the illumination includes, but is not limited to, blinking at a constant frequency, blinking at a varying frequency, to attract attention.
Further, the step S3 of determining whether the in-bed state of the designated user reaches a preset emergency state according to the detection data includes:
s31: judging whether the time point is a preset deep sleep time period or not, wherein the deep sleep time period is included in the rest time period;
s32: if so, judging whether the designated user has an action of leaving the bed or not by monitoring disturbance data of the designated user relative to the bed board and/or gravity data of the designated user;
s33: if yes, starting timing and monitoring the back-to-bed action of the specified user in real time;
s34: judging whether the back-to-bed action of the specified user is monitored in a first preset time period;
s35: if not, the in-bed state of the specified user is judged to reach a preset emergency state.
In this embodiment, the rest time period includes 9 o 'clock late to 8 o' clock early in the morning, and the deep sleep time period includes 12 o 'clock late to 4 o' clock early in the morning, and the deep sleep time period is mostly an aged or sick peak time period, and whether the user reaches a preset emergency state requiring rescue or assistance can be indirectly judged by monitoring the in-bed state of the user in the deep sleep time period. The disturbance data of the designated user relative to the bed board can be obtained through detection of the micro-motion sensor, and if the gravity data disappears after the disturbance data exists, the designated user is judged to have the action of leaving the bed. Or according to a trend of the change of the area generating the disturbance data, for example, the change trend gradually gets closer from the center area of the bed board to the edge, and finally the disturbance data disappears, it is determined that the specified user has the action of leaving the bed. The duration of leaving the bed of the user is judged by monitoring the back-to-bed action of the user, and if the back-to-bed action is not monitored in a first preset time period, the in-bed state of the specified user reaches a preset emergency state. The above-mentioned identification principle of the motion of returning to bed is the same as the motion of leaving bed, but the identification process is opposite to the identification process of the motion of leaving bed, and is not repeated. The first preset time is set by a user in a self-defined mode, but a preset range is preset, for example, the set range is more than or equal to 15 minutes and less than or equal to 30 minutes, so that the accuracy of predicting that the in-bed state of the appointed user reaches a preset emergency state is improved, and the appointed user is timely assisted and assisted.
Further, the detecting data further includes physiological data of the designated user, and after the step S32 of determining whether there is an action of the designated user leaving the bed by monitoring disturbance data of the designated user relative to the bed board and/or gravity data of the designated user, the method includes:
s321: if the designated user does not have the action of leaving the bed, judging that the designated user is continuously in the in-bed state;
s322: monitoring physiological data of the specified user in real time;
s323: judging whether the physiological data of the specified user is in a normal range or not;
s324: if not, the in-bed state of the specified user is judged to reach a preset emergency state.
The embodiment monitors the physiological data of the user in the deep sleep time period so as to find out the abnormal body condition of the user in the bed state in time, and provides more comprehensive monitoring for the user by combining the abnormal condition in the bed leaving state. Such physiological data includes, but is not limited to, heart rate, blood oxygen, respiration, etc.
Further, after the step S323 of determining whether the physiological data of the specified user is in the normal range, the method includes:
s3231: judging whether the time is in a preset getting-up time period or not, wherein the preset getting-up time period is included in the rest time period and is later than the deep sleep time period;
s3232: if so, judging whether the specified user gets up in the preset getting-up time period or not according to disturbance data of the specified user relative to the bed board and/or gravity data of the specified user;
s3233: if not, starting timing from the end time of the preset getting-up time period;
s3234: judging whether the specified user is continuously kept in the bed state within a second preset time period after deviating from the preset getting-up time period;
s3235: and if so, judging that the in-bed state of the specified user reaches a preset emergency state.
If the preset getting-up time period is from 6 am to 8 am, it is determined whether the user has got up or not by specifying disturbance data of the user relative to the bed plate and/or gravity data of the user. For example, if the gravity data is zero, the user is judged to have got up; and for example, if the gravity data is not zero or disturbance data is detected, judging that the patient does not get up. And then counting the duration time from 8 a.m. by starting a timing system, and if the duration time reaches a second preset time period and is still in the in-bed state, namely the user does not get up, judging that the in-bed state of the specified user reaches a preset emergency state. The second preset time period and the first preset time period may be set by a user, but may be set within a fixed time period, for example, the second preset time period is set within a fixed time period of 10 minutes to 30 minutes, for example, 15 minutes. In other embodiments of the present application, the state of the bed may be directly determined to reach the preset emergency state if the gravity data is detected but the disturbance data is not detected within the first duration of the preset wake-up time period. For example, the first duration period is a period within a preset getting-up period from 6 am to 6 am or half a morning or 7 am.
Further, the rest time period sequentially includes a preset sleep time period, a sleep time period, and a waking time period, the detection data includes disturbance data of the designated user relative to the bed board and/or gravity data of the designated user, and the step S3 of determining whether the in-bed state of the designated user reaches a preset emergency state according to the detection data includes:
s301: judging whether disturbance data of the specified user relative to the bed board and/or gravity data of the specified user are detected in the sleep time period;
s302: if not, determining that the in-bed state of the specified user reaches a preset emergency state at the starting time point of the sleep time period.
In the embodiment, whether the user is in bed or not is judged by detecting disturbance data of the specified user relative to the bed board and/or gravity data of the specified user in the sleep time period, and if no action of going to bed or falling asleep exists in the whole sleep time period, a light flashing alarm is performed at the starting time point of the sleep time period. The sleep time period is from 9 o 'clock to 11 o' clock, the sleep time period includes a light sleep time period and a deep sleep time period, for example, the sleep time period is from 11 o 'clock to 6 o' clock in the morning, the light sleep time period includes from 11 o 'clock to 12 o' clock in the evening, and from 4 o 'clock to 6 o' clock in the morning. The start time point of the sleep period is 9 o' clock later. In the application, the time periods such as the rest time period, the deep sleep time period, the light sleep time period, the getting-up time period and the like can be obtained according to the daily work and rest data of the statistical user.
Further, before step S4, the starting of the specific lamp in the space where the bed board is located and the controlling of the specific lamp to change the lighting in a specific manner to warn rescue, includes:
s41: dialing a mobile terminal corresponding to the pre-associated designated user;
s42: judging whether feedback information corresponding to a dialing action is received or not, wherein the feedback information is information for establishing a call link or information for refusing to connect;
s43: if not, generating a specified lamp for starting the space where the bed board is located, and controlling the specified lamp to change the lighting in a specified mode so as to warn rescue control instruction information.
According to the method and the device, after the emergency condition of the bed state of the user is judged, the mobile terminal bound in advance is used for reconfirming, so that the accuracy of the judged emergency state is improved, and the alarming accuracy is improved. The mobile terminal is a mobile terminal of a person under guardianship, so that the physical state of the person under guardianship can be monitored in time through the assistance of the mobile terminal, and a flashing light alarm can be started in time when an emergency exists. In other embodiments of the application, when a person under guardianship is in an emergency, the flashing light alarm is also directly started through the mobile terminal. For example, before the user enters a rest time period and an emergency occurs, or before the sleep sensor analyzes the in-bed state of the user, and the like, the flashing light alarm can be started by receiving a control signal sent by the mobile terminal at any time when the flashing light alarm is started according to the analysis data of the sleep sensor.
Further, step S4 of starting the specific lamp in the space where the bed board is located, and controlling the specific lamp to change the lighting in a specific manner to warn rescue includes:
s401: starting the specified lamp;
s402: controlling the specified lamp to perform first flickering, wherein the first flickering comprises that the specified lamp is turned off after being continuously turned on for a first time period, and the first flickering is repeated according to a first time interval;
s403: judging whether the number of times of the first flicker reaches a first designated number of times;
s404: if so, controlling the specified lamp to continuously start a second flicker, wherein the second flicker comprises that the specified lamp is turned off after being continuously started for a second time period, and repeating the second flicker according to a second time interval, wherein the first time period is greater than the second time period, and the first time interval is greater than the second time interval;
s405: judging whether a command for stopping flashing is received or not after a flashing period lasting for a specified number of times is continued, wherein the flashing period comprises a first flashing of the first specified number of times and a second flashing of the second specified number of times;
s406: and if not, adding light color change in the first flashing and the second flashing respectively.
In the embodiment of the application, in order to improve the effect of flashing light alarm, a mode of changing flashing is adopted to improve the probability of being noticed by other people. The first flashing and the second flashing are different, and the first time period and the second time period are different, or the first time interval and the second time interval are different, or the first designated number and the second designated number are different, and the like. And on the basis of the above difference, the color change of the light is added to highlight the effect. In other embodiments of the present application, a micro-sound alarm is added to the flashing light variation to allow surrounding people to find out in time without generating large-scale interference.
Referring to fig. 2, a lighting device according to an embodiment of the present application includes:
the first judgment module 1 is used for judging whether the current time is in the rest time period of the appointed user;
the first starting module 2 is used for starting a sleep sensor preset at a specified position of the bed board and acquiring detection data of the sleep sensor if the current time is in a rest time period of a specified user;
the second judging module 3 is used for judging whether the in-bed state of the specified user reaches a preset emergency state according to the detection data;
and the second starting module 4 is used for starting a specified lamp in the space where the bed board is located and controlling the specified lamp to change the lighting in a specified mode to warn rescue if the in-bed state of the specified user reaches a preset emergency state.
The rest time period can be set by a user in a self-defined mode, and a night sleep time period is preferred, for example, the rest time period is from 9 nights to 6 early morning. The sleep sensor comprises one or more of a piezoelectric sensor, a capacitance sensor, a gravity acceleration sensor and the like. The detection data comprises one or more of information of a user contacting the bed board, disturbance information generated by rolling of the user on the bed board, gravity information of the user, respiration of the user, heart rate and other physiological data. The preset emergency state comprises the condition that the user has problems in physical health and needs emergency rescue. When the appointed lamp is started in a non-emergency state, the appointed lamp normally illuminates at constant brightness; when the emergency rescue system is in an emergency state, illumination is changed in a designated mode to warn rescue. According to the embodiment of the application, whether the in-bed state of a user reaches an emergency state is detected through the sleep sensor at the specified position of the bed board, when the in-bed state is in the emergency state, the lamp is controlled to initiate the change illumination of warning and rescue, a good alarm effect is achieved, indirect monitoring and timely rescue of the health condition of a specific person are facilitated, and no sound can not cause social interference. The above-mentioned specified manner of altering the illumination includes, but is not limited to, blinking at a constant frequency, blinking at a varying frequency, to attract attention.
Further, the detection data includes disturbance data of the specified user relative to the bed board and/or gravity data of the specified user, and the second determining module 3 includes:
the first judging unit is used for judging whether a time point is a preset deep sleep time period or not, wherein the deep sleep time period is contained in the rest time period;
the monitoring unit is used for judging whether the designated user has an action of leaving the bed or not by monitoring disturbance data of the designated user relative to the bed board and/or gravity data of the designated user if the designated user has the action of leaving the bed;
the first starting unit is used for starting timing and monitoring the back-to-bed action of the specified user in real time if the first starting unit is used for starting timing and monitoring the back-to-bed action of the specified user in real time;
the second judgment unit is used for judging whether the back-to-bed action of the specified user is monitored in a first preset time period;
and the first judgment unit is used for judging that the in-bed state of the specified user reaches a preset emergency state if the in-bed state of the specified user does not reach the preset emergency state.
In this embodiment, the rest time period includes 9 o 'clock late to 8 o' clock early in the morning, and the deep sleep time period includes 12 o 'clock late to 4 o' clock early in the morning, and the deep sleep time period is mostly an aged or sick peak time period, and whether the user reaches a preset emergency state requiring rescue or assistance can be indirectly judged by monitoring the in-bed state of the user in the deep sleep time period. The disturbance data of the designated user relative to the bed board can be obtained through detection of the micro-motion sensor, and if the gravity data disappears after the disturbance data exists, the designated user is judged to have the action of leaving the bed. Or according to the trend of the change of the area generating the disturbance data, for example, the change trend gradually gets closer from the center area of the bed board to the edge, and finally the disturbance data disappears, it is determined that the designated user has the action of leaving the bed. The duration of leaving the bed of the user is judged by monitoring the back-to-bed action of the user, and if the back-to-bed action is not monitored in a first preset time period, the in-bed state of the specified user reaches a preset emergency state. The above-mentioned identification principle of the motion of returning to bed is the same as the motion of leaving bed, but the identification process is opposite to the identification process of the motion of leaving bed, and is not repeated. The first preset time is set by a user in a self-defined mode, but a preset range is preset, for example, the set range is more than or equal to 15 minutes and less than or equal to 30 minutes, so that the accuracy of predicting that the in-bed state of the appointed user reaches a preset emergency state is improved, and the appointed user is timely assisted and assisted.
Further, the detection data further includes physiological data of the specified user, and the second determining module 3 includes:
a second determination unit configured to determine that the designated user is continuously in a bed state if the designated user does not have an action of leaving the bed;
the monitoring unit is used for monitoring the physiological data of the specified user in real time;
the third judging unit is used for judging whether the physiological data of the specified user is in a normal range or not;
and the third judging unit is used for judging that the in-bed state of the specified user reaches a preset emergency state if the in-bed state of the specified user does not reach the preset emergency state.
The embodiment monitors the physiological data of the user in the deep sleep time period so as to find out the abnormal body condition of the user in the bed state in time, and provides more comprehensive monitoring for the user by combining the abnormal condition in the out-of-bed state. Such physiological data includes, but is not limited to, heart rate, blood oxygen, respiration, etc.
Further, the second determining module 3 includes:
a fourth judging unit, configured to judge whether time is in a preset waking time period, where the preset waking time period is included in the rest time period and is later than the deep sleep time period;
a fifth judging unit, configured to judge, if yes, whether the specified user gets up within the preset getting-up time period according to disturbance data of the specified user with respect to a bed board and/or gravity data of the specified user;
the timing unit is used for starting timing from the end time of the preset waking time period if the timer is not started;
a sixth judging unit, configured to judge whether the specified user is continuously kept in the bed state within a second preset time period after deviating from the preset getting-up time period;
and the fourth judging unit is used for judging that the in-bed state of the specified user reaches a preset emergency state if the in-bed state of the specified user reaches the preset emergency state.
If the preset getting-up time period is from 6 am to 8 am, it is determined whether the user has got up or not by specifying disturbance data of the user relative to the bed plate and/or gravity data of the user. For example, if the gravity data is zero, the user is judged to have got up; for another example, if the gravity data is not zero or disturbance data is detected, it is determined that the patient does not get up. And then counting the duration time from 8 a.m. by starting a timing system, and if the duration time reaches a second preset time period and is still in the in-bed state, namely the user does not get up, judging that the in-bed state of the specified user reaches a preset emergency state. The second preset time period and the first preset time period may be set by a user, but may be set within a fixed time period, for example, the second preset time period is set within a fixed time period of 10 minutes to 30 minutes, for example, 15 minutes. In other embodiments of the present application, the state of the bed may be directly determined to reach the preset emergency state if the gravity data is detected but the disturbance data is not detected within the first duration of the preset wake-up time period. For example, the first duration period is a period within a preset getting-up period from 6 am to 6 am or half a morning or 7 am.
Further, the rest time period sequentially includes a preset sleep time period, and a preset getting-up time period, the detection data includes disturbance data of the designated user with respect to the bed board and/or gravity data of the designated user, and the second determining module 3 includes:
a seventh judging unit, configured to judge whether disturbance data of the specified user with respect to the bed board and/or gravity data of the specified user are detected within the sleep time period;
and the determining unit is used for determining that the in-bed state of the specified user reaches a preset emergency state at the starting time point of the sleep time period if the in-bed state of the specified user does not reach the preset emergency state.
In the embodiment, whether the user is in bed or not is judged by detecting disturbance data of the specified user relative to the bed board and/or gravity data of the specified user in the sleep time period, and if no action of going to bed or falling asleep exists in the whole sleep time period, a light flashing alarm is performed at the starting time point of the sleep time period. The sleep time period is from 9 to 11 nights, the sleep time period includes a light sleep time period and a deep sleep time period, for example, the sleep time period is from 11 to 6 am, the light sleep time period includes from 11 to 12 am, and from 4 to 6 am. The start time point of the sleep period is 9 o' clock later. In the application, the time periods such as the rest time period, the deep sleep time period, the light sleep time period, the getting-up time period and the like can be obtained according to the daily work and rest data of the statistical user.
Further, a lighting device of another embodiment of the present application includes:
the dialing module is used for dialing the mobile terminal corresponding to the pre-associated designated user;
the third judging module is used for judging whether feedback information corresponding to the dialing action is received or not, wherein the feedback information is information for establishing a call link or information for refusing to connect;
and the generating module is used for generating and starting a specified lamp in the space where the bed board is located if the bed board is not located, and controlling the specified lamp to change the lighting in a specified mode so as to warn the control instruction information of rescue.
According to the method and the device, after the emergency condition of the bed state of the user is judged, the mobile terminal bound in advance is used for reconfirming, so that the accuracy of the judged emergency state is improved, and the alarming accuracy is improved. The mobile terminal is a mobile terminal of a person under guardianship, so that the physical state of the person under guardianship can be assisted and monitored in time through the mobile terminal, and a flashing light alarm can be started in time when an emergency exists. In other embodiments of the application, when a person under guardianship is in an emergency, the flashing light alarm is also directly started through the mobile terminal. For example, before the user enters a rest time period and an emergency occurs, or before the sleep sensor analyzes the in-bed state of the user, and the like, the flashing light alarm can be started by receiving a control signal sent by the mobile terminal at any time when the flashing light alarm is started according to the analysis data of the sleep sensor.
Further, the second enabling module 4 includes:
the second starting unit is used for starting the specified lamp;
the first control unit is used for controlling the specified lamp to perform first flicker, wherein the first flicker comprises that the specified lamp is turned off after being continuously turned on for a first time period, and the first flicker is repeated according to a first time interval;
an eighth judging unit configured to judge whether the number of times of the first blinking reaches a first specified number of times;
the second control unit is used for controlling the specified lamp to continuously start second flicker if the specified lamp is started continuously, wherein the second flicker comprises that the specified lamp is turned off after being continuously started for a second time period, and the second flicker is repeated according to a second time interval, the first time period is greater than the second time period, and the first time interval is greater than the second time interval;
a ninth judging unit, configured to judge whether a command to stop flashing is received after a flashing period lasting a specified number of times, where the flashing period includes a first flashing of the first specified number of times and a second flashing of the second specified number of times;
and the adding unit is used for respectively adding light color change in the first flicker and the second flicker if the first flicker and the second flicker are not the same.
In the embodiment of the application, in order to improve the effect of flashing light alarm, a mode of changing flashing is adopted to improve the probability of being noticed by other people. The first flashing and the second flashing are different, and the first time period and the second time period are different, or the first time interval and the second time interval are different, or the first designated number and the second designated number are different, and the like. And on the basis of the above difference, the color change of the light is added to highlight the effect. In other embodiments of the present application, a micro-sound alarm is added to the flashing light change to allow surrounding people to find out in time without generating large interference. The terms "first", "second", etc. in the present application are used for distinction only and are not intended to be limiting.
Referring to fig. 3, a computer device, which may be a server and whose internal structure may be as shown in fig. 3, is also provided in the embodiment of the present application. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the computer designed processor is used to provide computational and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store all data required by the lighting process. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement the illumination method.
Those skilled in the art will appreciate that the architecture shown in fig. 3 is only a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects may be applied.
An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon, the computer program, when executed by a processor, implementing a lighting method, including: judging whether the current time is in a rest time period of a specified user; if so, starting a sleep sensor preset at the specified position of the bed board, and acquiring detection data of the sleep sensor; judging whether the in-bed state of the specified user reaches a preset emergency state or not according to the detection data; if yes, starting a specified lamp in the space where the bed board is located, and controlling the specified lamp to change the lighting in a specified mode so as to warn rescue.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium provided herein and used in the examples may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double-rate SDRAM (SSRSDRAM), Enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, apparatus, article, or method. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, apparatus, article, or method that includes the element.
The above description is only a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are also included in the scope of the present application.

Claims (9)

1. A method of lighting, comprising:
judging whether the current time is in a rest time period of a specified user;
if so, starting a sleep sensor preset at the specified position of the bed board, and acquiring detection data of the sleep sensor;
judging whether the in-bed state of the specified user reaches a preset emergency state or not according to the detection data;
if yes, starting a specified lamp in the space where the bed board is located, and controlling the specified lamp to change the lighting in a specified mode so as to warn rescue;
the step of starting the appointed lamp in the space where the bed board is located and controlling the appointed lamp to change illumination in an appointed mode so as to warn rescue comprises the following steps:
starting the specified lamp;
controlling the specified lamp to perform first flickering, wherein the first flickering comprises that the specified lamp is turned off after being continuously turned on for a first time period, and the first flickering is repeated according to a first time interval;
judging whether the number of times of the first flicker reaches a first designated number of times;
if so, controlling the specified lamp to continuously start a second flicker, wherein the second flicker comprises that the specified lamp is turned off after being continuously started for a second time period, and repeating the second flicker according to a second time interval, wherein the first time period is greater than the second time period, and the first time interval is greater than the second time interval;
judging whether a command for stopping flashing is received or not after a flashing period lasts for a specified number of times, wherein the flashing period comprises a first flashing for the first specified number of times and a second flashing for the second specified number of times;
and if not, adding light color change in the first flashing and the second flashing respectively.
2. The lighting method according to claim 1, wherein the detection data includes disturbance data of the specified user relative to a bed board and/or gravity data of the specified user, and the step of determining whether the in-bed state of the specified user reaches a preset emergency state according to the detection data includes:
judging whether a time point is preset with a deep sleep time period, wherein the deep sleep time period is included in the rest time period;
if so, judging whether the designated user has an action of leaving the bed or not by monitoring disturbance data of the designated user relative to the bed board and/or gravity data of the designated user;
if yes, starting timing and monitoring the back-to-bed action of the specified user in real time;
judging whether the back-to-bed action of the specified user is monitored in a first preset time period;
if not, the in-bed state of the specified user is judged to reach a preset emergency state.
3. The lighting method according to claim 2, wherein the detection data further comprises physiological data of the designated user, and the step of determining whether there is an action of the designated user leaving the bed by monitoring disturbance data of the designated user relative to the bed board and/or gravity data of the designated user is followed by:
if the designated user does not have the action of leaving the bed, judging that the designated user is continuously in the in-bed state;
monitoring physiological data of the specified user in real time;
judging whether the physiological data of the specified user is in a normal range or not;
if not, the in-bed state of the specified user is judged to reach a preset emergency state.
4. A lighting method as recited in claim 3, wherein said step of determining whether said physiological data of said given user is within a normal range is preceded by the step of:
judging whether the time is in a preset getting-up time period or not, wherein the preset getting-up time period is included in the rest time period and is later than the deep sleep time period;
if so, judging whether the specified user gets up in the preset getting-up time period or not according to disturbance data of the specified user relative to the bed board and/or gravity data of the specified user;
if not, starting timing from the end time of the preset getting-up time period;
judging whether the specified user is continuously kept in the bed state within a second preset time period after deviating from the preset getting-up time period;
if yes, the in-bed state of the specified user is judged to reach a preset emergency state.
5. The lighting method according to claim 1, wherein the rest time period sequentially comprises a preset sleep time period, a sleep time period and a waking time period, the detection data includes disturbance data of the specified user relative to a bed board and/or gravity data of the specified user, and the step of determining whether the in-bed state of the specified user reaches a preset emergency state according to the detection data includes:
judging whether disturbance data of the specified user relative to the bed board and/or gravity data of the specified user are detected in the sleep time period;
if not, determining that the in-bed state of the specified user reaches a preset emergency state at the starting time point of the sleep time period.
6. The lighting method according to claim 1, wherein before the step of starting the specific lamp in the space where the bedplate is located and controlling the specific lamp to change the lighting in a specific manner to warn rescue, the lighting method comprises the following steps:
dialing a mobile terminal corresponding to the pre-associated designated user;
judging whether feedback information corresponding to a dialing action is received or not, wherein the feedback information is information for establishing a call link or information for refusing to connect;
if not, generating a specified lamp for starting the space where the bed board is located, and controlling the specified lamp to change the lighting in a specified mode so as to warn rescue control instruction information.
7. An illumination device, comprising:
the first judgment module is used for judging whether the current time is in the rest time period of the appointed user;
the first starting module is used for starting a sleep sensor preset at a specified position of the bed board and acquiring detection data of the sleep sensor if the current time is in the rest time period of a specified user;
the second judgment module is used for judging whether the in-bed state of the specified user reaches a preset emergency state or not according to the detection data;
the second starting module is used for starting a specified lamp in the space where the bed board is located and controlling the specified lamp to change the lighting in a specified mode to warn rescue if the in-bed state of the specified user reaches a preset emergency state;
the second initiating module comprises:
the second starting unit is used for starting the specified lamp;
the first control unit is used for controlling the specified lamp to perform first flicker, wherein the first flicker comprises that the specified lamp is turned off after being continuously turned on for a first time period, and the first flicker is repeated according to a first time interval;
an eighth judging unit configured to judge whether the number of times of the first blinking reaches a first specified number of times;
the second control unit is used for controlling the specified lamp to continuously start second flicker if the specified lamp is started continuously, wherein the second flicker comprises that the specified lamp is turned off after being continuously started for a second time period, and the second flicker is repeated according to a second time interval, the first time period is greater than the second time period, and the first time interval is greater than the second time interval;
a ninth judging unit, configured to judge whether a command to stop flashing is received after a flashing period lasting a specified number of times, where the flashing period includes a first flashing of the first specified number of times and a second flashing of a second specified number of times;
and the adding unit is used for respectively adding light color change in the first flicker and the second flicker if the first flicker and the second flicker are not the same.
8. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor implements the steps of the method of any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 6.
CN201911416286.0A 2019-12-31 2019-12-31 Illumination method and illumination device Active CN111083864B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911416286.0A CN111083864B (en) 2019-12-31 2019-12-31 Illumination method and illumination device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911416286.0A CN111083864B (en) 2019-12-31 2019-12-31 Illumination method and illumination device

Publications (2)

Publication Number Publication Date
CN111083864A CN111083864A (en) 2020-04-28
CN111083864B true CN111083864B (en) 2022-05-10

Family

ID=70320984

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911416286.0A Active CN111083864B (en) 2019-12-31 2019-12-31 Illumination method and illumination device

Country Status (1)

Country Link
CN (1) CN111083864B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114451863A (en) * 2020-12-21 2022-05-10 深圳市迈迪加科技发展有限公司 Data processing method and system and electronic equipment
CN113724472A (en) * 2021-06-24 2021-11-30 浙江麒盛数据服务有限公司 Sleep leaving alarm method and system for intelligent bed and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106974620A (en) * 2017-03-08 2017-07-25 中国人民解放军南京军区南京总医院 Monitored for sleep quality, manage and promote the device slept
CN107028426A (en) * 2017-04-12 2017-08-11 佛山市量脑科技有限公司 A kind of intelligent mattress system
CN107374220A (en) * 2017-08-16 2017-11-24 上海朝成物联网科技有限公司 A kind of intelligent alarm pillow and its control method
CN108606800A (en) * 2016-12-12 2018-10-02 陈凯柏 The health care device that intelligent home is looked after
CN109820484A (en) * 2019-03-14 2019-05-31 深圳市弘楚源科技发展有限公司 A kind of mattress with sensing device monitoring sleep respiratory disorder
CN110410985A (en) * 2019-08-07 2019-11-05 珠海格力电器股份有限公司 A kind of intelligent sleep monitoring method, computer readable storage medium and air-conditioning
CN110623467A (en) * 2018-06-25 2019-12-31 深圳市银河碳工科技有限公司 Intelligent nursing device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1040412C (en) * 1993-11-15 1998-10-28 蔡进元 Controller for frequency-changing night flash caution
US8890435B2 (en) * 2011-03-11 2014-11-18 Ilumi Solutions, Inc. Wireless lighting control system
CN106846735B (en) * 2017-04-12 2022-05-20 东莞理工学院 Intelligent mattress alarm system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108606800A (en) * 2016-12-12 2018-10-02 陈凯柏 The health care device that intelligent home is looked after
CN106974620A (en) * 2017-03-08 2017-07-25 中国人民解放军南京军区南京总医院 Monitored for sleep quality, manage and promote the device slept
CN107028426A (en) * 2017-04-12 2017-08-11 佛山市量脑科技有限公司 A kind of intelligent mattress system
CN107374220A (en) * 2017-08-16 2017-11-24 上海朝成物联网科技有限公司 A kind of intelligent alarm pillow and its control method
CN110623467A (en) * 2018-06-25 2019-12-31 深圳市银河碳工科技有限公司 Intelligent nursing device
CN109820484A (en) * 2019-03-14 2019-05-31 深圳市弘楚源科技发展有限公司 A kind of mattress with sensing device monitoring sleep respiratory disorder
CN110410985A (en) * 2019-08-07 2019-11-05 珠海格力电器股份有限公司 A kind of intelligent sleep monitoring method, computer readable storage medium and air-conditioning

Also Published As

Publication number Publication date
CN111083864A (en) 2020-04-28

Similar Documents

Publication Publication Date Title
US11417427B2 (en) System and method for adapting alarms in a wearable medical device
CN111083864B (en) Illumination method and illumination device
US9597523B2 (en) System and method for adapting alarms in a wearable medical device
JP4444099B2 (en) Method and apparatus for monitoring the autonomic nervous system of a sedated patient
US8823527B2 (en) Consciousness monitoring
CN112669566B (en) Nursing early warning method and system based on human body posture analysis
CN107315904B (en) Patient medicine taking remote monitoring system and method
JP2009266482A (en) Physiological information adaptive type illumination control system
WO2019013257A1 (en) Monitoring assistance system and method for controlling same, and program
CN110934566A (en) Intelligent detection, automatic sleep-aiding and emergency alarm device
CN109727653A (en) A kind of community intelligent health monitoring system
CN109803582A (en) Insomnia treats assisting system and insomnia treats Zhi Yuanyong program
US20230162756A1 (en) Systems and methods for improved accuracy of bullying or altercation detection or identification of excessive machine noise
CN112244829A (en) Emotion state based alarm method and device and computer equipment
US11941506B2 (en) System and method for monitoring via smart devices
JP6611871B1 (en) Monitoring device
CN216053262U (en) Home-based old-age care and rescue system
US20220105307A1 (en) Methods for managing the transition from sleep to final wake
WO2021136116A1 (en) Method and system for controlling intelligent medical bed and computer device
US10129956B2 (en) Presence based illumination and analytics system
US11510612B2 (en) Systems and methods for detecting alertness of an occupant of a vehicle
US20100134300A1 (en) Safety-determination information generating apparatus and safety confirmation system
Grossi et al. A flexible framework for ambient assisted living applications
CN110652292B (en) Monitoring method, device and system and refrigerator
KR20170060211A (en) A method for transmitting of users emergency information and alarming sleep time

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220901

Address after: Room 102, 1st Floor, Building 1, No. 2, District 3, No. 20, Datong Road, High-tech Zone, Suzhou City, Jiangsu Province 215129

Patentee after: Acoustics Acoustic Technology (Suzhou) Co.,Ltd.

Address before: 510000 room 2107, new Yuexiu District Road, Yuexiu District temple, Guangzhou, Guangdong.

Patentee before: Yang Mingke