CN111522377A - Method and device for promoting sleep - Google Patents

Method and device for promoting sleep Download PDF

Info

Publication number
CN111522377A
CN111522377A CN202010313501.0A CN202010313501A CN111522377A CN 111522377 A CN111522377 A CN 111522377A CN 202010313501 A CN202010313501 A CN 202010313501A CN 111522377 A CN111522377 A CN 111522377A
Authority
CN
China
Prior art keywords
indoor
information
current
preset
sleep
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.)
Pending
Application number
CN202010313501.0A
Other languages
Chinese (zh)
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 Ruying Intelligent Technology Co ltd
Original Assignee
Beijing Ruying Intelligent 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 Ruying Intelligent Technology Co ltd filed Critical Beijing Ruying Intelligent Technology Co ltd
Priority to CN202010313501.0A priority Critical patent/CN111522377A/en
Publication of CN111522377A publication Critical patent/CN111522377A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D27/00Simultaneous control of variables covered by two or more of main groups G05D1/00 - G05D25/00
    • G05D27/02Simultaneous control of variables covered by two or more of main groups G05D1/00 - G05D25/00 characterised by the use of electric means
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • General Engineering & Computer Science (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention discloses a method and a device for promoting sleep, wherein the method comprises the following steps: acquiring the sleep time of a user; when the time interval between the current time and the sleep time reaches a preset time interval, acquiring indoor current environment information, wherein the current environment information comprises at least one of the following items: indoor lighting color information, indoor lighting brightness information and indoor temperature information; and adjusting the indoor environment to the target environment according to the current environment information so as to promote the sleep of the user. Through this technical scheme, come the amazing user's health to secrete melanin through environmental factors such as temperature, light colour and the light luminance in the regulation room to promote user's sleep, avoid taking the injury that the soporific medicine brought for the user for a long time.

Description

Method and device for promoting sleep
Technical Field
The invention relates to the technical field of intelligent control, in particular to a method and a device for promoting sleep.
Background
Melatonin is a normal hormone secreted by pineal bodies in the human brain and has important effects on maintaining sleep cycles and adjusting sleep rhythms, so that the melatonin can be used for treating patients with sleep disorders and also has a certain treatment effect on some patients with frequent jet lag.
The blue light is short wave (400 nm-480 nm) light and has high energy. In the technological age, many daily equipments such as computers, mobile phones and LED lamps generate blue light. The blue light has the ability of inhibiting the black color of legs more than twice of other light waves, so that the body temperature of a human body is prevented from dropping at night, the biological clock is affected more seriously, and insomnia is caused. The red light (577 nm-770 nm) can not interfere sleep and biological clock, the body temperature is reduced as usual, and the sleep process is normal. Therefore, light is the most important biological clock regulator.
Except for light, the second major factor influencing melatonin is temperature, and the temperature is kept at 20-23 ℃ ideally.
Now the problem of insomnia afflicts more and more people, the market share of drugs for treating insomnia as high as 581 billion dollars in 2014, and the number is still increasing. The insomnia mutual aid group of a certain platform in the Internet has over 3 thousands of people to discuss how to solve the insomnia problem. It is now common practice to treat insomnia by medication.
The long-term use of the medicine for treating insomnia not only can generate side effects on the body, but also can cause drug resistance in the human body, and the medicine can hardly play a role when the medicine is taken for a certain time.
Disclosure of Invention
In view of the above problems, the present invention provides a method and a corresponding apparatus for promoting sleep, which can adjust the environment around the user to an environment promoting melatonin secretion, thereby stimulating the body of the user to secrete melanin and promoting the sleep of the user.
According to a first aspect of embodiments of the present invention, there is provided a method of promoting sleep, comprising:
acquiring the sleep time of a user;
when the time interval between the current time and the sleep time reaches a preset time interval, acquiring indoor current environment information, wherein the current environment information comprises at least one of the following items: indoor lighting color information, indoor lighting brightness information and indoor temperature information;
adjusting the indoor environment to a target environment according to the current environment information to promote the sleep of the user.
In one embodiment, preferably, when the current environment information of the room includes light color information of the room, the adjusting the environment of the room to the target environment according to the current environment information includes:
judging whether parameter information of indoor current lamplight is within a preset parameter range or not, wherein the parameter information comprises at least one of the following items: color, wavelength, frequency, and photon energy;
when the parameter information of the current lamplight is not in the preset parameter range, the parameter information of the current lamplight is adjusted to be in the preset parameter range within the preset time interval;
when the indoor current environment information includes indoor light brightness information, adjusting the indoor environment to a target environment according to the current environment information, including:
judging whether the current indoor lighting brightness is within a preset brightness range;
when the current lamplight brightness is not in a preset brightness range, adjusting the current lamplight brightness to be in the preset brightness range within the preset time interval;
when the current indoor environment information includes indoor temperature information, adjusting the indoor environment to a target environment according to the current indoor environment information includes:
the current temperature in the room is lowered by a preset value.
In one embodiment, preferably, the current environment information further includes at least one of:
indoor humidity information, indoor negative ion information, indoor white noise information, and indoor air quality information;
the adjusting the indoor environment to a target environment according to the current environment information includes at least one of:
adjusting the current indoor humidity value to a preset humidity value;
adjusting the indoor current negative ion value to a preset negative ion value;
turning on white noise generating equipment;
and when the air quality does not reach the preset air quality, the air purification equipment is started.
In one embodiment, preferably, before acquiring the current environmental information indoors, the method further includes:
judging whether the user is indoors or not;
when the user is indoors, acquiring indoor current environment information;
and when the user is not indoors, reminding the user to rest.
In one embodiment, preferably, the method further comprises:
after the sleep time is reached, detecting whether the user enters the sleep according to a preset time interval;
and after detecting that the user enters the sleep mode, controlling all equipment in the room to enter the sleep mode.
According to a second aspect of embodiments of the present invention, there is provided an apparatus for promoting sleep, comprising:
the first acquisition module is used for acquiring the sleep time of a user;
a second obtaining module, configured to obtain indoor current environment information when a time interval between current time and the sleep time reaches a preset time interval, where the current environment information includes at least one of the following: indoor lighting color information, indoor lighting brightness information and indoor temperature information;
and the processing module is used for adjusting the indoor environment to a target environment according to the current environment information so as to promote the sleep of the user.
In one embodiment, preferably, when the current environment information in the room includes lighting color information in the room, the processing module includes:
the first judgment unit is used for judging whether parameter information of indoor current lamplight is within a preset parameter range or not, and the parameter information comprises at least one of the following items: color, wavelength, frequency, and photon energy;
the first processing unit is used for adjusting the parameter information of the current lamplight to be within the preset parameter range within the preset time interval when the parameter information of the current lamplight is not within the preset parameter range;
when the indoor current environment information includes indoor light brightness information, the processing module includes:
the second judgment unit is used for judging whether the current indoor lamplight brightness is within a preset brightness range;
the second processing unit is used for adjusting the current lamplight brightness to be within a preset brightness range within the preset time interval when the current lamplight brightness is not within the preset brightness range;
when the current environmental information in the room includes temperature information in the room, the processing module includes:
and the third processing unit is used for reducing the current indoor temperature by a preset value.
In one embodiment, preferably, the current environment information further includes at least one of:
indoor humidity information, indoor negative ion information, indoor white noise information, and indoor air quality information;
the processing module is further configured to perform at least one of:
adjusting the current indoor humidity value to a preset humidity value;
adjusting the indoor current negative ion value to a preset negative ion value;
turning on white noise generating equipment;
and when the air quality does not reach the preset air quality, the air purification equipment is started.
In one embodiment, preferably, the apparatus further comprises:
the judging module is used for judging whether the user is indoors or not before acquiring indoor current environment information;
the second obtaining module is configured to: when the user is indoors, acquiring indoor current environment information;
and the reminding module is used for reminding the user to rest when the user is not indoors.
In one embodiment, preferably, the apparatus further comprises:
the detection module is used for detecting whether the user enters the sleep mode or not according to a preset time interval after the sleep time is reached;
and the control module is used for controlling all the devices in the control room to enter a sleep mode after detecting that the user enters the sleep mode.
According to a third aspect of embodiments of the present invention, there is provided an apparatus for promoting sleep, comprising:
a memory and a processor;
the memory is used for storing data used by the processor when executing the computer program;
the processor is configured to execute a computer program to implement the method of any of the embodiments of the first aspect described above.
According to a fourth aspect of embodiments of the present invention, there is provided a computer-readable storage medium having stored therein instructions which, when run on an apparatus, perform the method according to any one of the embodiments of the first aspect.
In the embodiment of the invention, the body of the user is stimulated to secrete melanin by adjusting the indoor environmental factors such as temperature, light color, light brightness and the like, so that the sleep of the user is promoted, and the harm to the user caused by long-term administration of hypnotic drugs is avoided.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flow chart of a method of promoting sleep in accordance with one embodiment of the present invention.
Fig. 2 is a flow diagram of another method of promoting sleep in accordance with an embodiment of the present invention.
Fig. 3 is a flow diagram of another method of promoting sleep in accordance with an embodiment of the present invention.
Fig. 4 is a flow chart of another method of promoting sleep in accordance with an embodiment of the present invention.
Fig. 5 is a flow chart of yet another method of promoting sleep in accordance with an embodiment of the present invention.
Fig. 6 is a flow chart of yet another method of promoting sleep in accordance with an embodiment of the present invention.
Fig. 7 is a block diagram of an apparatus to facilitate sleep in accordance with an embodiment of the present invention.
Fig. 8 is a block diagram of yet another apparatus for facilitating sleep in accordance with an embodiment of the present invention.
Fig. 9 is a block diagram of another apparatus for facilitating sleep in accordance with an embodiment of the present invention.
Fig. 10 is a block diagram of another apparatus for facilitating sleep in accordance with an embodiment of the present invention.
Fig. 11 is a block diagram of yet another apparatus for facilitating sleep in accordance with an embodiment of the present invention.
Fig. 12 is a block diagram of yet another apparatus for facilitating sleep in accordance with an embodiment of the present invention.
Fig. 13 is a block diagram illustrating a partial structure of a sleep promoting apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention.
In some of the flows described in the present specification and claims and in the above figures, a number of operations are included that occur in a particular order, but it should be clearly understood that these operations may be performed out of order or in parallel as they occur herein, with the order of the operations being indicated as 101, 102, etc. merely to distinguish between the various operations, and the order of the operations by themselves does not represent any order of performance. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a flowchart of a method for promoting sleep according to an embodiment of the present invention, and as shown in fig. 1, the method for promoting sleep includes:
step S101, obtaining the sleep time of the user. The sleep time of the user can be set by the user, and can also be determined according to the historical sleep record and the sleep habit of the user, such as light-off time, sleep time, sound sleep time and the like; the sleep time of the user can be determined according to the states of the device such as the starting sleep mode and the like and the states of the device such as the timing closing and the like.
Step S102, when the time interval between the current time and the sleep time reaches a preset time interval, acquiring indoor current environment information, wherein the current environment information comprises at least one of the following items: indoor lighting color information, indoor lighting brightness information, and indoor temperature information.
And step S103, adjusting the indoor environment to a target environment according to the current environment information so as to promote the sleep of the user.
In the embodiment, the body of the user is stimulated to secrete melanin by adjusting the indoor environmental factors such as temperature, light color and light brightness, so that the sleep of the user is promoted, and the harm to the user caused by long-term administration of hypnotic drugs is avoided.
Fig. 2 is a flow diagram of another method of promoting sleep in accordance with an embodiment of the present invention.
As shown in fig. 2, in one embodiment, preferably, when the current environment information of the room includes the light color information of the room, the step S103 includes steps S201 to S202:
step S201, judging whether the parameter information of the indoor current light is in a preset parameter range, wherein the parameter information comprises at least one of the following items: color, wavelength, frequency, and photon energy;
and S202, when the parameter information of the current lamplight is not in the preset parameter range, adjusting the parameter information of the current lamplight to be in the preset parameter range within a preset time interval.
The color, wavelength, frequency, photon energy and the like of light can cause certain influence on the sleep of a user, for example, the blue light has the leg black inhibiting capability more than twice that of other light waves, so that the body temperature of a human body at night is prevented from dropping, the biological clock is further seriously influenced, and insomnia is caused. Therefore, before the user sleeps, the color, wavelength, frequency, photon energy and the like of the light can be gradually adjusted to be within the preset parameter range, for example, the blue light is adjusted to be non-blue light, such as red light and the like, so that the sleep of the user is promoted.
Fig. 3 is a flow diagram of another method of promoting sleep in accordance with an embodiment of the present invention.
As shown in fig. 3, in one embodiment, preferably, when the current environment information of the room includes the brightness information of the light in the room, the step S103 includes steps S301 to S302:
step S301, judging whether the current indoor lamplight brightness is within a preset brightness range;
step S302, when the current light brightness is not within the preset brightness range, the current light brightness is adjusted to be within the preset brightness range within the preset time interval.
In the embodiment, whether the current indoor light brightness is within a preset brightness range is judged, if the light brightness is proper, adjustment is not needed, and if the light brightness is brighter, dimming is gradually carried out until the light brightness is proper.
Fig. 4 is a flow chart of another method of promoting sleep in accordance with an embodiment of the present invention.
As shown in fig. 4, in one embodiment, preferably, when the current environment information in the room includes temperature information in the room, the step S103 includes a step S401:
step S401, the current indoor temperature is reduced by a preset value.
In addition to the light influencing the melatonin secretion, the temperature influencing the melatonin secretion, so that the indoor temperature is appropriately reduced, for example, to be within a preset temperature range, or the preset value is reduced, for example, two degrees, before the sleep time of the user is reached, thereby promoting the melatonin secretion and promoting the sleep of the user.
Specifically, the environment may be adjusted according to the different environment information, or the environment may be adjusted according to the environment information, so as to achieve the best sleep environment.
In one embodiment, preferably, the current environment information further includes at least one of:
indoor humidity information, indoor negative ion information, indoor white noise information, and indoor air quality information;
adjusting the indoor environment to a target environment according to the current environment information, including at least one of:
adjusting the current indoor humidity value to a preset humidity value;
adjusting the indoor current negative ion value to a preset negative ion value;
turning on white noise generating equipment;
and when the air quality does not reach the preset air quality, the air purification equipment is started.
In this embodiment, in order to further promote the sleep of the user, information such as indoor humidity, negative ions, white noise, air quality and the like can be acquired, so that the indoor current humidity value, negative ions value and air quality are adjusted to preset values, and the white noise is turned on, and the above items can be adjusted independently or simultaneously.
Fig. 5 is a flow chart of yet another method of promoting sleep in accordance with an embodiment of the present invention.
As shown in fig. 5, in one embodiment, before acquiring the current environment information indoors, it is preferable to further include steps S501 to S503:
step S501, judging whether a user is indoors or not;
step S502, when the user is indoors, acquiring indoor current environment information;
and step S503, when the user is not indoors, reminding the user to rest.
In this embodiment, before acquiring the indoor current environment information, it may be determined whether the user is indoors or not, and if the user is not indoors, the user acquires the indoor current environment information indoors, so that the user experience is improved and the resources are saved.
Fig. 6 is a flow chart of yet another method of promoting sleep in accordance with an embodiment of the present invention.
As shown in fig. 6, in one embodiment, preferably, the method further includes step S601-step S602:
step S601, after the sleep time is reached, whether the user goes to sleep is detected according to a preset time interval;
step S602, after detecting that the user goes to sleep, all devices in the control room enter a sleep mode.
In this embodiment, after the sleep time is reached, whether the user is sleeping or not may be detected according to a preset time interval, for example, whether the user is sleeping or not may be detected every 5 minutes, and after it is detected that the user is sleeping, all devices in the control room are controlled to enter a sleep mode, for example, light and white noise are turned off, so that the air purifier is caused to enter the sleep mode, and thus the sleep environment of the user is ensured.
Fig. 7 is a block diagram of an apparatus to facilitate sleep in accordance with an embodiment of the present invention.
As shown in fig. 7, an apparatus for promoting sleep, comprising:
a first obtaining module 71, configured to obtain a sleep time of a user;
a second obtaining module 72, configured to obtain indoor current environment information when a time interval between the current time and the sleep time reaches a preset time interval, where the current environment information includes at least one of the following: indoor lighting color information, indoor lighting brightness information and indoor temperature information;
a processing module 73, configured to adjust the indoor environment to a target environment according to the current environment information, so as to promote sleep of the user.
Fig. 8 is a block diagram of yet another apparatus for facilitating sleep in accordance with an embodiment of the present invention.
As shown in fig. 8, in one embodiment, preferably, when the current environment information in the room includes the light color information in the room, the processing module 73 includes:
the first judging unit 81 is configured to judge whether parameter information of indoor current lighting is within a preset parameter range, where the parameter information includes at least one of the following items: color, wavelength, frequency, and photon energy;
and the first processing unit 82 is configured to adjust the parameter information of the current lighting to the preset parameter range within the preset time interval when the parameter information of the current lighting is not within the preset parameter range.
Fig. 9 is a block diagram of another apparatus for facilitating sleep in accordance with an embodiment of the present invention.
As shown in fig. 9, in one embodiment, preferably, when the current environment information in the room includes the brightness information of the light in the room, the processing module 73 includes:
a second judging unit 91, configured to judge whether the current indoor lighting brightness is within a preset brightness range;
and the second processing unit 92 is configured to, when the current lamp brightness is not within a preset brightness range, adjust the current lamp brightness within the preset brightness range within the preset time interval.
Fig. 10 is a block diagram of another apparatus for facilitating sleep in accordance with an embodiment of the present invention.
As shown in fig. 10, in one embodiment, preferably, when the current environment information in the room includes temperature information in the room, the processing module 73 includes:
and a third processing unit 1001 for reducing the current temperature in the room by a preset value.
In one embodiment, preferably, the current environment information further includes at least one of:
indoor humidity information, indoor negative ion information, indoor white noise information, and indoor air quality information;
the processing module is further configured to perform at least one of:
adjusting the current indoor humidity value to a preset humidity value;
adjusting the indoor current negative ion value to a preset negative ion value;
turning on white noise generating equipment;
and when the air quality does not reach the preset air quality, the air purification equipment is started.
Fig. 11 is a block diagram of yet another apparatus for facilitating sleep in accordance with an embodiment of the present invention.
As shown in fig. 11, in one embodiment, preferably, the apparatus further comprises:
a determining module 1101, configured to determine whether the user is indoors before acquiring current indoor environment information;
the second obtaining module is configured to: when the user is indoors, acquiring indoor current environment information;
a reminding module 1102, configured to remind the user to rest when the user is not indoors.
Fig. 12 is a block diagram of yet another apparatus for facilitating sleep in accordance with an embodiment of the present invention.
As shown in fig. 12, in one embodiment, preferably, the apparatus further comprises:
a detecting module 1201, configured to detect whether the user falls asleep according to a preset time interval after the sleep time is reached;
a control module 1202, configured to control all devices in the control room to enter a sleep mode after detecting that the user enters the sleep mode.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
As shown in fig. 13, for convenience of description, only the parts related to the embodiment of the present invention are shown, and details of the specific technology are not disclosed, please refer to the method part of the embodiment of the present invention. The device for promoting sleep may include any terminal equipment such as a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, and the device for promoting sleep is taken as a mobile phone as an example:
fig. 13 is a block diagram illustrating a partial structure of a sleep promoting apparatus according to an embodiment of the present invention. Referring to fig. 13, the handset includes: radio Frequency (RF) circuitry 1310, memory 1320, input unit 1330, display unit 1340, sensor 1350, audio circuitry 1360, wireless-fidelity (Wi-Fi) module 1370, processor 1380, and power supply 1390. Those skilled in the art will appreciate that the handset configuration shown in fig. 13 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 13:
RF circuit 1310 may be used for receiving and transmitting signals during a message transmission or call, and in particular, for processing received downlink information of a base station by processor 1380; in addition, the data for designing uplink is transmitted to the base station. In general, the RF circuit 1310 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuit 1310 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to global system for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 1320 may be used to store software programs and modules, and the processor 1380 executes various functional applications and data processing of the cellular phone by operating the software programs and modules stored in the memory 1320. The memory 1320 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 1320 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 1330 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 1330 may include a touch panel 1331 and other input devices 1332. Touch panel 1331, also referred to as a touch screen, can collect touch operations by a user (e.g., operations by a user on or near touch panel 1331 using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 1331 may include two portions of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 1380, where the touch controller can receive and execute commands sent by the processor 1380. In addition, the touch panel 1331 may be implemented by various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 1330 may include other input devices 1332 in addition to the touch panel 1331. In particular, other input devices 1332 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1340 may be used to display information input by a user or information provided to the user and various menus of the cellular phone. The Display unit 1340 may include a Display panel 1341, and optionally, the Display panel 1341 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, touch panel 1331 can overlay display panel 1341, and when touch panel 1331 detects a touch operation on or near touch panel 1331, processor 1380 can be configured to determine the type of touch event, and processor 1380 can then provide a corresponding visual output on display panel 1341 based on the type of touch event. Although in fig. 13, the touch panel 1331 and the display panel 1341 are two independent components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 1331 and the display panel 1341 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 1350, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 1341 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 1341 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The audio circuit 1360, speaker 1361, microphone 1362 may provide an audio interface between the user and the handset. The audio circuit 1360 may transmit the electrical signal converted from the received audio data to the speaker 1361, and the electrical signal is converted into a sound signal by the speaker 1361 and output; on the other hand, the microphone 1362 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 1360, and then processes the audio data by the audio data output processor 1380, and then sends the audio data to, for example, another cellular phone via the RF circuit 1310, or outputs the audio data to the memory 1320 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 1370, and provides wireless broadband internet access for the user. Although fig. 13 shows the WiFi module 1370, it is understood that it does not belong to the essential constitution of the handset, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 1380 is a control center of the mobile phone, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 1320 and calling data stored in the memory 1320, thereby integrally monitoring the mobile phone. Optionally, processor 1380 may include one or more processing units; preferably, the processor 1380 may integrate an application processor, which handles primarily operating systems, user interfaces, application programs, etc., and a modem processor, which handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated within processor 1380.
The handset also includes a power supply 1390 (e.g., a battery) to supply power to the various components, which may preferably be logically coupled to the processor 1380 via a power management system to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In the embodiment of the present invention, the processor 1380 included in the terminal further has the following functions:
acquiring the sleep time of a user;
when the time interval between the current time and the sleep time reaches a preset time interval, acquiring indoor current environment information, wherein the current environment information comprises at least one of the following items: indoor lighting color information, indoor lighting brightness information and indoor temperature information;
adjusting the indoor environment to a target environment according to the current environment information to promote the sleep of the user.
In one embodiment, preferably, when the current environment information of the room includes light color information of the room, the adjusting the environment of the room to the target environment according to the current environment information includes:
judging whether parameter information of indoor current lamplight is within a preset parameter range or not, wherein the parameter information comprises at least one of the following items: color, wavelength, frequency, and photon energy;
when the parameter information of the current lamplight is not in the preset parameter range, the parameter information of the current lamplight is adjusted to be in the preset parameter range within the preset time interval;
when the indoor current environment information includes indoor light brightness information, adjusting the indoor environment to a target environment according to the current environment information, including:
judging whether the current indoor lighting brightness is within a preset brightness range;
when the current lamplight brightness is not in a preset brightness range, adjusting the current lamplight brightness to be in the preset brightness range within the preset time interval;
when the current indoor environment information includes indoor temperature information, adjusting the indoor environment to a target environment according to the current indoor environment information includes:
the current temperature in the room is lowered by a preset value.
In one embodiment, preferably, the current environment information further includes at least one of:
indoor humidity information, indoor negative ion information, indoor white noise information, and indoor air quality information;
the adjusting the indoor environment to a target environment according to the current environment information includes at least one of:
adjusting the current indoor humidity value to a preset humidity value;
adjusting the indoor current negative ion value to a preset negative ion value;
turning on white noise generating equipment;
and when the air quality does not reach the preset air quality, the air purification equipment is started.
In one embodiment, preferably, before acquiring the current environmental information indoors, the method further includes:
judging whether the user is indoors or not;
when the user is indoors, acquiring indoor current environment information;
and when the user is not indoors, reminding the user to rest.
In one embodiment, preferably, the method further comprises:
after the sleep time is reached, detecting whether the user enters the sleep according to a preset time interval;
and after detecting that the user enters the sleep mode, controlling all equipment in the room to enter the sleep mode.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, or the like.
It will be understood by those skilled in the art that all or part of the steps in the method for implementing the above embodiments may be implemented by hardware that is instructed to implement by a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
While the portable multifunctional device provided by the present invention has been described in detail, those skilled in the art will appreciate that the various embodiments and applications of the invention can be modified, and that the scope of the invention is not limited by the disclosure of the present invention.

Claims (12)

1. A method of promoting sleep, comprising:
acquiring the sleep time of a user;
when the time interval between the current time and the sleep time reaches a preset time interval, acquiring indoor current environment information, wherein the current environment information comprises at least one of the following items: indoor lighting color information, indoor lighting brightness information and indoor temperature information;
adjusting the indoor environment to a target environment according to the current environment information to promote the sleep of the user.
2. The method of claim 1,
when indoor current environmental information includes indoor light color information, according to current environmental information will indoor environment adjusts to the target environment, including:
judging whether parameter information of indoor current lamplight is within a preset parameter range or not, wherein the parameter information comprises at least one of the following items: color, wavelength, frequency, and photon energy;
when the parameter information of the current lamplight is not in the preset parameter range, the parameter information of the current lamplight is adjusted to be in the preset parameter range within the preset time interval;
when the indoor current environment information includes indoor light brightness information, adjusting the indoor environment to a target environment according to the current environment information, including:
judging whether the current indoor lighting brightness is within a preset brightness range;
when the current lamplight brightness is not in a preset brightness range, adjusting the current lamplight brightness to be in the preset brightness range within the preset time interval;
when the current indoor environment information includes indoor temperature information, adjusting the indoor environment to a target environment according to the current indoor environment information includes:
the current temperature in the room is lowered by a preset value.
3. The method of claim 1, wherein the current environment information further comprises at least one of:
indoor humidity information, indoor negative ion information, indoor white noise information, and indoor air quality information;
the adjusting the indoor environment to a target environment according to the current environment information includes at least one of:
adjusting the current indoor humidity value to a preset humidity value;
adjusting the indoor current negative ion value to a preset negative ion value;
turning on white noise generating equipment;
and when the air quality does not reach the preset air quality, the air purification equipment is started.
4. The method of claim 1, further comprising, prior to obtaining current environmental information indoors:
judging whether the user is indoors or not;
when the user is indoors, acquiring indoor current environment information;
and when the user is not indoors, reminding the user to rest.
5. The method according to any one of claims 1 to 4, further comprising:
after the sleep time is reached, detecting whether the user enters the sleep according to a preset time interval;
and after detecting that the user enters the sleep mode, controlling all equipment in the room to enter the sleep mode.
6. An apparatus for facilitating sleep, comprising:
the first acquisition module is used for acquiring the sleep time of a user;
a second obtaining module, configured to obtain indoor current environment information when a time interval between current time and the sleep time reaches a preset time interval, where the current environment information includes at least one of the following: indoor lighting color information, indoor lighting brightness information and indoor temperature information;
and the processing module is used for adjusting the indoor environment to a target environment according to the current environment information so as to promote the sleep of the user.
7. The apparatus of claim 6,
when the indoor current environment information includes indoor light color information, the processing module includes:
the first judgment unit is used for judging whether parameter information of indoor current lamplight is within a preset parameter range or not, and the parameter information comprises at least one of the following items: color, wavelength, frequency, and photon energy;
the first processing unit is used for adjusting the parameter information of the current lamplight to be within the preset parameter range within the preset time interval when the parameter information of the current lamplight is not within the preset parameter range;
when the indoor current environment information includes indoor light brightness information, the processing module includes:
the second judgment unit is used for judging whether the current indoor lamplight brightness is within a preset brightness range;
the second processing unit is used for adjusting the current lamplight brightness to be within a preset brightness range within the preset time interval when the current lamplight brightness is not within the preset brightness range;
when the current environmental information in the room includes temperature information in the room, the processing module includes:
and the third processing unit is used for reducing the current indoor temperature by a preset value.
8. The apparatus of claim 6, wherein the current environment information further comprises at least one of:
indoor humidity information, indoor negative ion information, indoor white noise information, and indoor air quality information;
the processing module is further configured to perform at least one of:
adjusting the current indoor humidity value to a preset humidity value;
adjusting the indoor current negative ion value to a preset negative ion value;
turning on white noise generating equipment;
and when the air quality does not reach the preset air quality, the air purification equipment is started.
9. The apparatus of claim 6, further comprising:
the judging module is used for judging whether the user is indoors or not before acquiring indoor current environment information;
the second obtaining module is configured to: when the user is indoors, acquiring indoor current environment information;
and the reminding module is used for reminding the user to rest when the user is not indoors.
10. The apparatus of any one of claims 6 to 9, further comprising:
the detection module is used for detecting whether the user enters the sleep mode or not according to a preset time interval after the sleep time is reached;
and the control module is used for controlling all the devices in the control room to enter a sleep mode after detecting that the user enters the sleep mode.
11. An apparatus for facilitating sleep, comprising:
a memory and a processor;
the memory is used for storing data used by the processor when executing the computer program;
the processor is configured to execute a computer program to implement the method of any of claims 1 to 5.
12. A computer-readable storage medium having stored therein instructions which, when run on a device, the device performs the method of any one of claims 1 to 5.
CN202010313501.0A 2020-04-20 2020-04-20 Method and device for promoting sleep Pending CN111522377A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010313501.0A CN111522377A (en) 2020-04-20 2020-04-20 Method and device for promoting sleep

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010313501.0A CN111522377A (en) 2020-04-20 2020-04-20 Method and device for promoting sleep

Publications (1)

Publication Number Publication Date
CN111522377A true CN111522377A (en) 2020-08-11

Family

ID=71911812

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010313501.0A Pending CN111522377A (en) 2020-04-20 2020-04-20 Method and device for promoting sleep

Country Status (1)

Country Link
CN (1) CN111522377A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105920716A (en) * 2016-04-26 2016-09-07 深圳市思立普科技有限公司 Sleep system
CN205993994U (en) * 2016-07-01 2017-03-08 安庆师范学院 A kind of intelligent bedside cabinet
CN108594666A (en) * 2018-03-28 2018-09-28 珠海格力电器股份有限公司 Control method and device, terminal equipment and readable storage medium
CN108937855A (en) * 2018-05-30 2018-12-07 上海与德科技有限公司 A kind of Sleep-Monitoring method, apparatus and electronic equipment
CN109240105A (en) * 2018-09-28 2019-01-18 广州建翎电子技术有限公司 A kind of household electrical appliances and headlamp intelligent linkage control system
US20190388011A1 (en) * 2018-06-25 2019-12-26 Careview Communications, Inc. Smart monitoring safety and quality of life system using sensors

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105920716A (en) * 2016-04-26 2016-09-07 深圳市思立普科技有限公司 Sleep system
CN205993994U (en) * 2016-07-01 2017-03-08 安庆师范学院 A kind of intelligent bedside cabinet
CN108594666A (en) * 2018-03-28 2018-09-28 珠海格力电器股份有限公司 Control method and device, terminal equipment and readable storage medium
CN108937855A (en) * 2018-05-30 2018-12-07 上海与德科技有限公司 A kind of Sleep-Monitoring method, apparatus and electronic equipment
US20190388011A1 (en) * 2018-06-25 2019-12-26 Careview Communications, Inc. Smart monitoring safety and quality of life system using sensors
CN109240105A (en) * 2018-09-28 2019-01-18 广州建翎电子技术有限公司 A kind of household electrical appliances and headlamp intelligent linkage control system

Similar Documents

Publication Publication Date Title
CN112235452B (en) Screen-off display method and electronic equipment
EP3026667B1 (en) Method and electronic device for voice recognition
US11706746B2 (en) Method and terminal for controlling bandwidth part inactivity timer
CN109388220B (en) Power supply management method and mobile terminal
CN109718112B (en) Medication reminding method and device and computer readable storage medium
CN107767839B (en) Brightness adjusting method and related product
CN109257497B (en) Eye protection mode opening control method, foldable double-sided screen terminal and storage medium
EP2922212B1 (en) Method, apparatus and system for controlling emission
US20220217637A1 (en) Inactivity timer timeout processing methods and apparatuses
CN107277902B (en) Terminal power consumption control method, mobile terminal and computer readable storage medium
CN105590577A (en) Display driving method, display driver integrated circuit, and electronic device comprising the same
CN108762814B (en) Screen lightening method and related equipment
CN108388340B (en) Electronic equipment control method and related product
CN109246291B (en) Mobile terminal and sleep reminding method and device
CN106201816B (en) Reminding method and device
CN108112063A (en) Electric quantity managing method, power management device, terminal and readable storage medium storing program for executing
CN111415722B (en) Screen control method and electronic equipment
CN108852312A (en) Wearable device control method, wearable device and computer readable storage medium
CN107516917A (en) Charge control method, terminal, intelligent charge equipment and computer-readable storage medium
CN108833683B (en) Dynamic antenna adjustment implementation method and related product
CN113220109A (en) Processing method, mobile terminal and readable storage medium
CN107292236B (en) fingerprint acquisition method and related product
CN108322594B (en) Terminal control method, terminal and computer readable storage medium
CN108803999B (en) Terminal control method, terminal, and computer-readable storage medium
CN110638437A (en) Control method based on heart rate monitoring, terminal, wearable device and storage medium

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200811