CN115407675A - Sleep-aiding control method and device based on Internet of things, electronic equipment and storage medium - Google Patents
Sleep-aiding control method and device based on Internet of things, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN115407675A CN115407675A CN202211078539.XA CN202211078539A CN115407675A CN 115407675 A CN115407675 A CN 115407675A CN 202211078539 A CN202211078539 A CN 202211078539A CN 115407675 A CN115407675 A CN 115407675A
- Authority
- CN
- China
- Prior art keywords
- sleep
- assisting
- target user
- user
- parameter
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 61
- 230000007958 sleep Effects 0.000 claims abstract description 110
- 230000003860 sleep quality Effects 0.000 claims description 61
- 230000033001 locomotion Effects 0.000 claims description 28
- 230000008667 sleep stage Effects 0.000 claims description 26
- 230000005236 sound signal Effects 0.000 claims description 24
- 238000013441 quality evaluation Methods 0.000 claims description 23
- 238000010009 beating Methods 0.000 claims description 17
- 238000006073 displacement reaction Methods 0.000 claims description 17
- 230000008859 change Effects 0.000 claims description 16
- 206010062519 Poor quality sleep Diseases 0.000 claims description 12
- 238000013507 mapping Methods 0.000 claims description 10
- 230000009467 reduction Effects 0.000 claims description 10
- 230000005059 dormancy Effects 0.000 claims description 9
- 230000006855 networking Effects 0.000 claims description 4
- 230000000694 effects Effects 0.000 abstract description 12
- 238000004590 computer program Methods 0.000 description 13
- 238000010586 diagram Methods 0.000 description 9
- 230000009286 beneficial effect Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 230000004397 blinking Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 5
- 230000001960 triggered effect Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 4
- 238000000222 aromatherapy Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 241001465382 Physalis alkekengi Species 0.000 description 2
- 208000032140 Sleepiness Diseases 0.000 description 2
- 206010041349 Somnolence Diseases 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000005286 illumination Methods 0.000 description 2
- 238000002360 preparation method Methods 0.000 description 2
- 230000037321 sleepiness Effects 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 210000000115 thoracic cavity Anatomy 0.000 description 2
- 241000222519 Agaricus bisporus Species 0.000 description 1
- 235000001674 Agaricus brunnescens Nutrition 0.000 description 1
- 208000013738 Sleep Initiation and Maintenance disease Diseases 0.000 description 1
- 230000035559 beat frequency Effects 0.000 description 1
- 210000000038 chest Anatomy 0.000 description 1
- 229940079593 drug Drugs 0.000 description 1
- 239000003814 drug Substances 0.000 description 1
- 238000002592 echocardiography Methods 0.000 description 1
- 230000000517 effect on sleep Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000002349 favourable effect Effects 0.000 description 1
- 230000000147 hypnotic effect Effects 0.000 description 1
- 206010022437 insomnia Diseases 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000005070 sampling Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 208000019116 sleep disease Diseases 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61M—DEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
- A61M21/00—Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
- A61M21/02—Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis for inducing sleep or relaxation, e.g. by direct nerve stimulation, hypnosis, analgesia
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total 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]
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61M—DEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
- A61M21/00—Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
- A61M2021/0005—Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus
- A61M2021/0027—Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus by the hearing sense
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61M—DEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
- A61M21/00—Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
- A61M2021/0005—Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus
- A61M2021/0044—Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus by the sight sense
-
- A—HUMAN NECESSITIES
- A61—MEDICAL OR VETERINARY SCIENCE; HYGIENE
- A61M—DEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
- A61M21/00—Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
- A61M2021/0005—Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus
- A61M2021/0077—Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus with application of chemical or pharmacological stimulus
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Anesthesiology (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Acoustics & Sound (AREA)
- Hematology (AREA)
- Pain & Pain Management (AREA)
- Manufacturing & Machinery (AREA)
- Psychology (AREA)
- Biomedical Technology (AREA)
- Heart & Thoracic Surgery (AREA)
- Quality & Reliability (AREA)
- Life Sciences & Earth Sciences (AREA)
- Animal Behavior & Ethology (AREA)
- General Health & Medical Sciences (AREA)
- Public Health (AREA)
- Veterinary Medicine (AREA)
- Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
Abstract
The application discloses a sleep-aiding control method, device, electronic equipment and readable storage medium based on the Internet of things, which are applied to the technical field of the Internet of things, wherein the sleep-aiding control method based on the Internet of things comprises the following steps: acquiring a sleep-assisting instruction aiming at a target user; according to the sleep-assisting instruction, determining sleep-assisting equipment in a sleep-assisting area corresponding to the target user; and performing sleep-assisting control on the sleep-assisting device according to the sleep state of the target user so as to assist in sleeping the target user. The application solves the technical problem that the sleep-assisting effect of a mode for assisting a user in sleeping is poor.
Description
Technical Field
The application relates to the technical field of the Internet of things, in particular to a sleep-assisting control method and device based on the Internet of things, electronic equipment and a readable storage medium.
Background
With the continuous development of science and technology, the quality of life of people is higher and higher, meanwhile, pressure from various aspects such as work and life is needed to be met, and further insomnia becomes a normal state at night, at present, people usually take related medicines or adopt an active sleep-aiding mode to assist in a sleeping state, however, the former is easy to generate dependence and has damage to bodies, and the latter is too complicated in the process of active sleep-aiding, for example, when a user actively assists in sleeping in a bedroom, devices such as lamps and aromatherapy machines in different areas of the bedroom need to be set to be suitable for sleeping, and then the user returns to a bed to be provided with sleep-aiding software to assist in sleeping, and as the whole process consumes too much time and needs to change the state of the user, the user often loses sleepiness after the work preparation is full in the active sleep-aiding process, the sleep-aiding effect of the current sleep-aiding mode for assisting the user in sleeping is poor.
Disclosure of Invention
The application mainly aims to provide a sleep-assisting control method and device based on the Internet of things, an electronic device and a readable storage medium, and aims to solve the technical problem that a sleep-assisting effect of a sleep-assisting mode for assisting a user in sleeping in the prior art is poor.
In order to achieve the above object, the present application provides a sleep-assisting control method based on the internet of things, which includes:
determining a corresponding target electronic specification according to the equipment information of the target equipment;
matching interface description information corresponding to the current operation interface in the target electronic specification by performing image recognition on the current operation interface of the target device;
and displaying interface operation content corresponding to the interface description information based on a preset display interface.
In order to achieve the above object, the present application further provides a sleep-assisting control device based on the internet of things, the sleep-assisting control device based on the internet of things includes:
the determining module is used for determining a corresponding target electronic specification according to the equipment information of the target equipment;
the matching module is used for matching interface description information corresponding to the current operation interface in the target electronic specification by carrying out image recognition on the current operation interface of the target equipment;
and the control module is used for displaying the interface operation content corresponding to the interface description information based on a preset display interface.
The present application further provides an electronic device, including: the program of the sleep-aid control method based on the internet of things can realize the steps of the sleep-aid control method based on the internet of things when being executed by the processor.
The application also provides a computer readable storage medium, wherein a program for realizing the sleep-assisting control method based on the internet of things is stored on the computer readable storage medium, and when the program is executed by a processor, the steps of the sleep-assisting control method based on the internet of things are realized.
The present application also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the method for sleep aid control based on the internet of things as described above.
The application provides a sleep-assisting control method and device based on the Internet of things, electronic equipment and a readable storage medium, namely, a sleep-assisting instruction for a target user is obtained; further determining sleep-assisting equipment in a sleep-assisting area corresponding to the target user according to the sleep-assisting instruction; according to the sleeping state of the target user, the sleep-assisting device is subjected to sleep-assisting control so as to assist in sleeping the target user; after receiving the sleep-aiding instruction, the sleep-aiding device in the sleep-aiding area can be controlled to assist the sleeping user according to the sleeping state of the user, that is, the purpose of automatically controlling the sleep-aiding device after the sleep-aiding instruction is triggered is realized, and when the user wants to sleep, the sleep-aiding device in the sleep-aiding area needs to be actively set to be in a state suitable for sleeping, and then the user sleeps again.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious for those skilled in the art to obtain other drawings without inventive labor.
Fig. 1 is a schematic flow chart of a first embodiment of a sleep-aid control method based on the internet of things according to the present application;
fig. 2 is a sleep-aid control scene diagram of a second sleep-aid device in the sleep-aid control method based on the internet of things;
fig. 3 is a schematic flowchart of a second embodiment of the sleep-assisting control method based on the internet of things according to the present application;
fig. 4 is a schematic diagram of an embodiment of a sleep-assisting control device based on the internet of things according to the present application;
fig. 5 is a schematic device structure diagram of a hardware operating environment related to the sleep-aid control method based on the internet of things in the embodiment of the present application.
The objectives, features, and advantages of the present application will be further described with reference to the accompanying drawings.
Detailed Description
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in detail below. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. 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.
Example one
Firstly, it should be understood that, along with the continuous development of internet of things, the smart home industry has also met great change, based on this, through internet of things control internet of things equipment, with help sleep the user become for probably, but, generally need the user to carry out initiative help sleep in traditional help sleep mode, this often can lead to the user to lose sleepiness, and then if can realize the automatic help sleep of equipment to the user, can effectively promote help sleep user's help sleep effect, use the scene that the user sleeps in the bedroom as an example, can have the air conditioner in the bedroom usually, lamps and lanterns, champignon, numerous internet of things equipment such as TV set and smart mobile phone, when the user wants to fall asleep, generally need to open the champignon-volatile, close lamps and lanterns, adjust the volume of TV set or directly close the TV set, adjust the air conditioner to comfortable running state, and play help sleep audio through the help sleep of smart mobile phone, wait until the above-mentioned preparation is ready, the user closes the eye and falls asleep, but the experience sleep of the flow of whole initiative can influence the sleep, and then the effect is gone into the automatic control method of helping sleep in the intelligent sleep area, if can realize the help sleep in the intelligent sleep area.
In a first embodiment of the sleep-aiding control method based on the internet of things, referring to fig. 1, the sleep-aiding control method based on the internet of things includes:
step S10, acquiring a sleep-assisting instruction for a target user;
step S20, according to the sleep-assisting instruction, determining sleep-assisting equipment in a sleep-assisting area corresponding to the target user;
and step S30, performing sleep-assisting control on the sleep-assisting device according to the sleep state of the target user so as to assist in sleeping the target user.
In this embodiment, it should be noted that the sleep-assisting control method based on the internet of things is applied to an internet of things system, the internet of things system can be deployed in an intelligent device, the intelligent device is used for representing an intelligent product with a microprocessor, a sensor technology and a network communication technology, the operation process of the sleep-assisting control method depends on the application and processing of modern technologies such as the internet of things, the internet and an electronic chip, and the intelligent device specifically can be a television or a computer.
In addition, it should be noted that the sleep-aiding instruction is used to prompt a control terminal in an internet of things system to perform sleep-aiding control on sleep-aiding devices in the internet of things, the sleep-aiding region is used to represent a sleep region of the target user, where the size of the sleep region may depend on a deployment interval of each sleep-aiding device in the internet of things, for example, if each sleep-aiding device is deployed in a bedroom, the sleep-aiding region is a bedroom, where the control terminal is an intelligent device deployed with a millimeter wave radar sensor, the millimeter wave radar operates in a millimeter wave band, generally, the millimeter wave is 30-300GHz (wavelength is 1-10 mm), the millimeter wave seeker has the advantages of small size, light weight, high spatial resolution, interference resistance, and the like, is widely applied in the field of communications, and can detect the target user through the millimeter wave radar, the target user is the only user who needs to help sleep in the sleep-aiding area, if a plurality of users exist in the sleep-aiding area, the historical sleep-aiding frequency and the face image recognition technology of the control terminal can be used, the target user in the users can be screened out before a sleep-aiding instruction is triggered, for example, if two users exist in the sleep-aiding area, the image recognition can be carried out on the user respectively, the control terminal is used for inquiring the historical sleep-aiding frequency of each user, if the frequency of the two users is the same, the user who enters a sleep state in advance serves as the target user, wherein the millimeter wave signals transmitted by the millimeter wave radar can be used for detecting the user in the sleep-aiding area, and if vital sign information is detected, the user is determined to be detected, and then whether the sleep-aiding instruction is triggered or not is determined.
Additionally, it should be noted that the triggering of the sleep-assisting instruction may be triggered by the user actively through a voice or manual key, for example, in an implementable manner, assuming that the control terminal is a smart television, when the user needs to start the sleep-assisting service by the control terminal, the user may prompt the smart television to start the sleep-assisting service through a voice instruction "i want to sleep", or prompt the smart television to start the sleep-assisting service through a manual key television remote controller, the sleep-assisting instruction may further determine whether the target user is in the sleep-assisting region by determining the sleep state of the target user, that is, by the ultrasonic radar hardware of the smart television, send ultrasonic waves to different directions of the sleep-assisting region, determine the target user by receiving and analyzing real-time returned ultrasonic information, and determine the sleep state of the target user in the sleep region, where the sleep state includes two states of non-sleep and sleep, when the user is in a sleeping state, the sleep-assisting device is subjected to sleep-assisting control, whether a target user is in the sleeping state or in an unsnap state can be distinguished through a millimeter wave radar of the intelligent television, whether blinking actions exist in the eyes of the target user is judged to be determined, when the blinking actions do not exist in the user, the target user is considered to be in the sleeping state, wherein the millimeter wave radar comprises a millimeter wave radar antenna array module which specifically comprises a signal transmitting unit and a signal receiving unit, the front end of the signal transmitting unit transmits millimeter waves to a sleep-assisting area, the signal receiving unit is used for receiving echoes, the distance from the target user to the intelligent television can be determined according to the time required from the transmission to the reception of the millimeter wave pulse signals, and the pitch angles between the signal transmitting unit and the signal receiving unit and the target user can be used for judging whether the target user is in the lying state or the non-lying state through the pitch angles and the distances, when the user is in a lying state, whether the target user has blinking or not is further judged.
As an example, steps S10 to S30 include: detecting whether a first sleep-aiding instruction input by the target user is received or not, if the first sleep-aiding instruction is not received, detecting whether vital sign information exists in the sleep-aiding area or not based on a millimeter wave signal, if the vital sign information exists in the sleep-aiding area, determining user position information of the target user according to the vital sign information, performing a lying state on the target user based on the millimeter wave radar signal, and when the target user is in the lying state, automatically generating a second sleep-aiding instruction aiming at the target user when the target user is detected not to have blinking action; acquiring sleep-assisting equipment in a sleep-assisting area corresponding to the target user according to the sleep-assisting instruction; and according to the sleeping state of the target user, carrying out sleep-assisting control on the sleep-assisting device so as to assist in sleeping the target user.
Wherein, help dormancy equipment to include first help dormancy equipment and second help dormancy equipment, according to target user's sleep state, to help dormancy equipment carries out help dormancy control's step includes:
step A10, determining whether the target user is in the sleep state;
step A20, if yes, controlling a first operation parameter of the first sleep-assisting device to a preset sleep-assisting parameter;
step A30, determining a target sleep-assisting parameter of the second sleep-assisting device according to the sleep quality stage of the target user;
and A40, controlling a second operation parameter of the second sleep-assisting device to the target sleep-assisting parameter.
In this embodiment, it should be noted that the sleep-assisting device is configured to represent an intelligent device having a sleep-assisting effect on the target user in the sleep-assisting region, the sleep-assisting device and the control terminal both have an IOT function, the first sleep-assisting device is configured to represent a sleep-assisting device whose device operation parameter does not change with a sleep state of the user, such as a sleep-assisting apparatus like an air conditioner, and the second sleep-assisting device is configured to represent a sleep-assisting device whose device operation parameter changes with a sleep state of the user, such as an aromatherapy machine and a light fixture, for example, in an implementable manner, referring to fig. 2, fig. 2 is a sleep-assisting control scenario diagram representing the second sleep-assisting device, where the smart television 12 determines whether the target user 11 is in a sleep state through a radar signal, and if the target user 11 is in a sleep state, the smart television controls the second sleep-assisting device light fixture 13 and the aromatherapy machine 14 to follow the sleep state of the target user 11, and adjusts the device operation parameters in real time to adapt to the sleep target user 11, where the operation parameter of the light fixture 13 may be a brightness of the millimeter wave illumination, and the emission amount of the millimeter wave illumination machine 14 may be a release amount.
As an example, steps a10 to a40 include: determining whether the target user is in the sleep state; if the target user is determined to be in the sleeping state, controlling a first operation parameter of the first sleep-assisting device to a preset sleep-assisting parameter, wherein the control mode includes controlling the first sleep-assisting device to be in the operating state and controlling the operation parameter of the operating state, and the preset sleep-assisting parameter is a preset operation parameter suitable for the user to sleep, for example, if the first sleep-assisting device is an air conditioner, when the target user is determined to be in the sleeping state, the control mode may be to turn on the air conditioner and automatically adjust the temperature to 26 ℃; determining a target sleep-assisting parameter of the second sleep-assisting device according to the sleep quality stage of the target user, wherein the target sleep-assisting parameter is an operation parameter which is matched with the sleep state of the target user in real time after the second sleep-assisting device is in the operation state; and controlling a second operation parameter of the second sleep-assisting device to the target sleep-assisting parameter.
Wherein the step of determining a target sleep-assisting parameter of the second sleep-assisting apparatus according to the sleep quality stage of the target user comprises:
step B10, if the sleep quality stage is a deep sleep stage, querying a deep sleep-assisting parameter corresponding to the deep sleep stage in a preset sleep parameter mapping table, and taking the deep sleep-assisting parameter as the target sleep-assisting parameter;
and B30, if the sleep quality stage is a light sleep stage, inquiring a shallow sleep-assisting parameter corresponding to the deep sleep stage in the preset sleep parameter mapping table, and taking the shallow sleep-assisting parameter as the target sleep-assisting parameter.
In this embodiment, it should be noted that the sleep quality stage includes a deep sleep stage and a light sleep stage, where the deep sleep stage is used to represent that the target user is in a deep sleep state, the light sleep stage is used to represent that the target user is in a light sleep state, sleep state information of the user may be monitored by a millimeter wave radar of a control terminal, electromagnetic waves of a specific modulation frequency are generated by a radar sensor of the control terminal, electromagnetic waves are transmitted and received, and the information of the sleep state of the target user is obtained by transmitting and receiving round-trip time, phase difference and frequency variation of the electromagnetic waves, and the sleep state information may be a frequency of limb movement of the target user, and further by a difference between the frequency of limb movement of the target user and a preset reference frequency of movement, it is determined whether the target user is in the deep sleep state, that the target user is in the light sleep state, that is, for example, assuming that a difference between the frequency of limb movement of the target user and the preset reference frequency of movement is smaller than a preset frequency threshold, it is determined whether the target user is in the deep sleep state, and whether a relationship between the target user may be in deep sleep state, and a preset reference frequency of limb movement, and a preset frequency of limb movement of the target user, where a preset reference frequency of limb movement is accurately determined according to whether a preset frequency of the target user, a preset reference is set by a preset frequency, and a preset frequency of the target user, and a preset reference frequency of the target user may be set in a preset frequency of the target user, the preset frequency threshold value can be obtained by adjusting according to a historical heart rate threshold value.
As an example, steps B10 to B20 include: acquiring the limb movement frequency of a user based on a millimeter wave radar, detecting whether the difference value between the limb movement frequency and a preset reference movement frequency is smaller than a preset frequency threshold, if so, determining that the sleep quality stage of the target user is a deep sleep stage, inquiring a deep sleep-assisting parameter corresponding to the deep sleep stage in a preset sleep parameter mapping table, and taking the deep sleep-assisting parameter as the target sleep-assisting parameter, wherein the preset sleep parameter mapping table is used for storing the mapping relation between the sleep quality stage of the target user and the sleep-assisting parameter of a second sleep-assisting device; if not, determining that the sleep quality stage of the target user is a light sleep stage, inquiring a shallow sleep-assisting parameter corresponding to the deep sleep stage in the preset sleep parameter mapping table, and taking the shallow sleep-assisting parameter as the target sleep-assisting parameter.
Before the step of determining the target sleep-assisting parameter of the second sleep-assisting device according to the sleep quality stage of the target user, the method for controlling sleep-assisting based on the internet of things further comprises:
step C10, obtaining user sleep state information of the target user, wherein the user sleep state information comprises user heart rate beating frequency and user limb movement frequency;
step C20, determining a first sleep quality evaluation index according to the difference value between the heart rate beating frequency of the user and a preset heart rate beating frequency;
step C30, determining a second sleep quality evaluation index according to the difference value between the user limb movement frequency and a preset limb movement frequency;
and step C40, determining the sleep quality stage of the target user according to the first sleep quality evaluation index and the second sleep quality evaluation index.
In this embodiment, it should be noted that, because the limb movement frequency can only reflect the difference of the sleep degree of the target user after sleeping, that is, in an implementable manner, the target user may open the eye but the limb movement is little, at this time, it cannot be completely described that the target user is in the deep sleep stage, and then the heart rate beat frequency of the user and the limb movement frequency of the user are jointly used as the basis for determining the sleep quality stage of the target user, which will more accurately reflect whether the target user is in the deep sleep stage or the light sleep stage, and the way of monitoring the target user and feeding back the sleep quality of the target user without contact will not affect the sleep quality of the target user, that is, the radar of the control terminal will not cause unnecessary wearing burden on the user, and is favorable for improving the sleep-aiding effect, so the millimeter waves, the sleep state information of the user comprises a heart rate beating frequency of the user and a limb movement frequency of the user, the heart rate beating frequency of the user is used for representing displacement change of a chest cavity of a target user in a preset time period, signals are transmitted to an object through a radar sensor and then reflected back, the transmission time is related to the distance, when the chest cavity vibrates, a chest opening is displaced to a certain extent, the heart rate beating frequency of the target user can be accurately fed back, the preset heart rate beating frequency is obtained after historical heart rate beating frequency data are analyzed, therefore, a first sleep quality evaluation index is used for representing the influence of the heart rate beating frequency of the target user on a sleep quality stage, a second sleep quality evaluation index is used for representing the influence of the limb movement of the user on the sleep quality stage, and the sleep quality stage of the target user can be accurately calculated by setting different weight values, for example, in an implementation manner, if the weighted value of the first sleep quality evaluation index is set to 0.3, and the weighted value of the second sleep quality evaluation index is set to 0.7, the sleep quality score of the user can be accurately calculated according to the membership function, and when the sleep quality score reaches the preset sleep quality score, the target user can be determined to be in a deep sleep stage, where the sleep quality score may be 80 points.
As an example, steps C10 to C40 include: converting the difference value between the heart rate beating frequency of the user and a preset heart rate beating frequency into a first sleep quality evaluation index; converting the difference between the limb movement frequency and the preset limb movement frequency of the user into a second sleep quality evaluation index, wherein the first sleep quality evaluation index and the second sleep quality evaluation index are same-level indexes under a preset sleep evaluation system; calculating the sleep quality score of the target user according to the first sleep quality evaluation index and the weight value corresponding to the second sleep quality evaluation index and the second sleep quality evaluation index, if the sleep quality score is not less than a preset sleep quality score threshold value, determining the sleep quality stage of the target user as a deep sleep stage, and if the sleep quality score is less than the preset sleep quality score threshold value, determining the sleep quality stage of the target user as a shallow sleep stage.
Wherein the step of determining whether the target user is in a sleep state comprises:
step D10, acquiring human body posture information of the target user, and judging whether the target user is in a sleeping state or not according to the human body displacement corresponding to the human body posture information;
step D20, if the target user is in a sleeping state, acquiring point cloud data of the target user;
step D30, detecting whether eye displacement change information exists in user position change information corresponding to the point cloud data;
step D40, if yes, determining that the target user is not in a sleep state;
and D50, if not, determining that the target user is in a sleep state.
In this embodiment, it should be noted that, the target user has a sleep-aiding state and a sleep state in the sleep-aiding area, the sleep-aiding state is used to represent that the displacement variation of the target user in the human body posture is smaller than a preset displacement variation threshold, the sleep state is used to represent that the target user has no blinking motion, so the point cloud data is a data set of sampling points of the millimeter wave radar sensor in spatial coordinates, and the user position variation information is the information of the orientation, distance and angle of the target user relative to the radar sensor and the spatial position of the user in the sleep-aiding area, where the user position variation information includes eye displacement variation information, and the eye displacement variation information is used to represent the eye blinking state of the target user, and if the eye of the target user does not blink, the target user is in the sleep state.
As an example, steps D10 to D50 include: acquiring human body posture information of the target user, and judging whether the target user is in a sleeping state or not according to the human body displacement corresponding to the human body posture information; if the human body displacement is larger than a preset human body displacement threshold value, determining that the target user is in a sleeping state, and acquiring point cloud data of the target user; detecting whether eye displacement change information exists in user position change information corresponding to the point cloud data; if the eye displacement change information exists in the user position change information, determining that the target user is not in a sleep state; and if the eye displacement change information does not exist in the user position change information, determining that the target user is in a sleep state.
After the step of determining that the target user is not in the sleep state, the method for controlling sleep assistance based on the internet of things further comprises the following steps:
step E10, obtaining current audio playing data and current audio playing volume corresponding to the audio playing data;
e20, detecting whether the current audio playing volume is a preset sleep-assisting volume;
step E30, if yes, replacing the current audio playing data with preset sleep-assisting audio data;
and E40, if not, adjusting the front audio playing volume to the preset sleep-aiding volume, and replacing the current audio playing data with preset sleep-aiding audio data.
In this embodiment, it should be noted that the control terminal is in a power-on sound playing state, when it is detected that the target user is in a sleeping state, the audio playing data and the audio volume currently played by the control terminal are obtained in real time, that is, the current audio playing data and the audio volume data are obtained, the hypnosis APP module is started, the preset sleep-assisting audio data is automatically played through the speaker and the microphone array of the control terminal, wherein the preset sleep-assisting audio is used for representing white noise, rain noise and the like of a sleep-assisting effect, and the playing volume of the control audio is at a volume suitable for falling asleep, so as to help the target user fall asleep.
As an example, steps E10 to E40 include: acquiring current audio playing data and current audio playing volume corresponding to the audio playing data; detecting whether the current audio playing volume is a preset sleep-assisting volume; if the current audio playing volume is the preset sleep-aiding volume, replacing the current audio playing data with preset sleep-aiding audio data; the preset sleep-assisting audio is preset audio data suitable for a target user to sleep, and the preset sleep-assisting audio is preset volume suitable for the target user to sleep; if the current audio playing volume is not the preset sleep-aiding volume, the previous audio playing volume is adjusted to the preset sleep-aiding volume, and the current audio playing data is replaced by the preset sleep-aiding audio.
The embodiment of the application provides a sleep-assisting control method based on the Internet of things, namely, a sleep-assisting instruction for a target user is obtained; further determining sleep-assisting equipment in a sleep-assisting area corresponding to the target user according to the sleep-assisting instruction; according to the sleeping state of the target user, the sleep-assisting device is subjected to sleep-assisting control so as to assist in sleeping the target user; after receiving the sleep-aiding instruction, the sleep-aiding device in the sleep-aiding area can be controlled to assist the sleeping user according to the sleeping state of the user, that is, the purpose of automatically controlling the sleep-aiding device after the sleep-aiding instruction is triggered is realized, and when the user wants to sleep, the sleep-aiding device in the sleep-aiding area needs to be actively set to be in a state suitable for sleeping, and then the user sleeps again.
Example two
Further, referring to fig. 3, in another embodiment of the present application, the same or similar contents as those in the first embodiment may refer to the above description, and are not repeated herein. On this basis, the step of controlling the target device to execute the interface operation corresponding to the interface operation content includes:
step F10, stopping playing the preset sleep-aiding audio data played when the target user is not in the state, and acquiring a noise audio signal in the direction of the target user;
step F20, generating a noise reduction audio signal according to the signal parameter corresponding to the noise audio signal;
and F30, sending the noise reduction audio signal to the direction of the target user.
In this embodiment, it should be noted that when it is detected that a target user is in a sleep state, playing preset sleep-assisting audio data is stopped, and a noise-reduction audio signal is generated by using a millimeter wave radar to prevent the user from being awakened by noise, where a signal parameter of the noise-reduction audio signal is consistent with a signal parameter of a noise signal received by the millimeter wave radar, the signal parameter may be a signal phase, a signal amplitude, and the like, and the direction of the target user is the direction in which the target user is located.
As an example, steps F10 to F30 include: stopping playing the preset sleep-aiding audio data played when the target user is not in the state, and acquiring a noise audio signal in the direction of the target user; generating a noise reduction audio signal in accordance with signal parameters of the noise audio signal; and sending the noise reduction audio signal to the direction of the target user.
The embodiment of the application provides a noise signal control method, namely, preset sleep-aiding audio data played when a target user is not in a state is stopped to be played, and a noise audio signal in the direction of the target user is obtained; generating a noise reduction audio signal according to the signal parameter corresponding to the noise audio signal; and sending the noise reduction audio signal to the direction of the target user. Compare in only helping the user to fall asleep and be in the state of falling asleep to apply for the embodiment and will monitor the noise signal of user place direction, and to the direction of user place direction send with the unanimous audio signal that falls of noise audio signal's signal parameter, make the user can not be awaken by the noise in place position after being in the sleep state, so realized the purpose of the noise of effective control user place direction, so, further promoted the effect of helping sleeping.
EXAMPLE III
The embodiment of this application still provides a help dormancy controlling means based on thing networking, refer to fig. 4, help dormancy controlling means based on thing networking includes:
an obtaining module 101, configured to obtain a sleep-assisting instruction for a target user;
a determining module 102, configured to determine, according to the sleep-assisting instruction, a sleep-assisting device in a sleep-assisting area corresponding to the target user;
and the control module 103 is configured to perform sleep-assisting control on the sleep-assisting device according to the sleep state of the target user, so as to assist in sleeping the target user.
Optionally, the sleep-aid device comprises a first sleep-aid device and a second sleep-aid device, and the control module 103 is further configured to:
determining whether the target user is in the sleep state;
if so, controlling a first operation parameter of the first sleep-assisting device to a preset sleep-assisting parameter;
determining a target sleep-assisting parameter of the second sleep-assisting device according to the sleep quality stage of the target user;
controlling a second operational parameter of the second sleep-aid device to the target sleep-aid parameter.
Optionally, the control module 103 is further configured to:
if the sleep quality stage is a deep sleep stage, inquiring a deep sleep aid parameter corresponding to the deep sleep stage in a preset sleep parameter mapping table, and taking the deep sleep aid parameter as the target sleep aid parameter;
and if the sleep quality stage is a light sleep stage, inquiring a shallow sleep-assisting parameter corresponding to the deep sleep stage from the preset sleep parameter mapping table, and taking the shallow sleep-assisting parameter as the target sleep-assisting parameter.
Optionally, the sleep-assisting control device based on the internet of things is further configured to:
acquiring user sleep state information of the target user, wherein the user sleep state information comprises user heart rate beating frequency and user limb movement frequency;
determining a first sleep quality evaluation index according to the difference value between the heart rate beating frequency of the user and a preset heart rate beating frequency;
determining a second sleep quality evaluation index according to the difference between the user limb movement frequency and a preset limb movement frequency;
and determining the sleep quality stage of the target user according to the first sleep quality evaluation index and the second sleep quality evaluation index.
Optionally, the control module 103 is further configured to:
acquiring human body posture information of the target user, and judging whether the target user is in a sleeping state according to the human body displacement corresponding to the human body posture information;
if the target user is in the sleep state, point cloud data of the target user are obtained;
detecting whether eye displacement change information exists in user position change information corresponding to the point cloud data;
if so, determining that the target user is not in a sleep state;
if not, determining that the target user is in a sleep state.
Optionally, the sleep-aid control device based on the internet of things is further configured to:
stopping playing the preset sleep-aiding audio data played when the target user is not in the state, and acquiring a noise audio signal in the direction of the target user;
generating a noise reduction audio signal according to the signal parameter corresponding to the noise audio signal;
and sending the noise reduction audio signal to the direction of the target user.
Optionally, the sleep-aid control device based on the internet of things is further configured to:
acquiring current audio playing data and current audio playing volume corresponding to the audio playing data;
detecting whether the current audio playing volume is a preset sleep-assisting volume;
if so, replacing the current audio playing data with preset sleep-assisting audio data;
if not, the front audio playing volume is adjusted to the preset sleep-assisting volume, and the current audio playing data is replaced by preset sleep-assisting audio data
The sleep-aiding control device based on the Internet of things provided by the invention adopts the sleep-aiding control method based on the Internet of things in the embodiment, so that the technical problem of poor sleep-aiding effect of a mode of assisting a user in sleeping is solved. Compared with the prior art, the beneficial effects of the sleep-assisting control device based on the internet of things provided by the embodiment of the invention are the same as the beneficial effects of the sleep-assisting control method based on the internet of things provided by the embodiment of the invention, and other technical characteristics of the sleep-assisting control device based on the internet of things are the same as those disclosed by the embodiment of the method, and are not described herein again.
Example four
An embodiment of the present invention provides an electronic device, including: at least one processor; and a memory communicatively coupled to the at least one processor; the storage stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method for sleep control based on the internet of things according to the first embodiment.
Referring now to FIG. 5, shown is a schematic diagram of an electronic device suitable for use in implementing embodiments of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 5, an electronic device may include a processing means 1001 (e.g., a central processing unit, a graphics processor, etc.) that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 1002 or a program loaded from the storage means 1003 into a Random Access Memory (RAM) 1004. In the RAM1004, various programs and data necessary for the operation of the electronic apparatus are also stored. The processing device 1001, the ROM1002, and the RAM1004 are connected to each other via a bus 1005. An input/output (I/O) interface 1006 is also connected to the bus.
Generally, the following systems may be connected to the I/O interface 1006: an input device 1007 including, for example, a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, or the like; output devices 1008 including, for example, a Liquid Crystal Display (LCD), speakers, vibrators, or the like; a storage device 1003 including, for example, a magnetic tape, a hard disk, or the like; and a communication device 1009. The communication means may allow the electronic device to communicate wirelessly or by wire with other devices to exchange data. While the figures illustrate an electronic device with various systems, it is to be understood that not all illustrated systems are required to be implemented or provided. More or fewer systems may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication means 1009, or installed from the storage means 1003, or installed from the ROM 1002. The computer program, when executed by the processing device 1001, performs the above-described functions defined in the methods of embodiments of the present disclosure.
By adopting the sleep-assisting control method based on the Internet of things in the embodiment, the electronic equipment provided by the invention solves the technical problem of poor sleep-assisting effect of a mode for assisting the user in sleeping. Compared with the prior art, the beneficial effects of the electronic device provided by the embodiment of the invention are the same as the beneficial effects of the sleep-assisting control method based on the internet of things provided by the embodiment, and other technical features of the electronic device are the same as those disclosed by the embodiment method, which are not repeated herein.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the foregoing description of embodiments, the particular features, structures, materials, or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
EXAMPLE five
The present embodiment provides a computer-readable storage medium having computer-readable program instructions stored thereon for executing the method for controlling sleep assistance based on the internet of things in the above embodiments.
Embodiments of the present invention provide a computer readable storage medium, such as a USB flash drive, but are not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, or device, or any combination thereof. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present embodiment, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer-readable storage medium may be embodied in an electronic device; or may be present alone without being incorporated into the electronic device.
The computer readable storage medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: acquiring a sleep-assisting instruction aiming at a target user; according to the sleep-assisting instruction, determining sleep-assisting equipment in a sleep-assisting area corresponding to the target user; and performing sleep-assisting control on the sleep-assisting device according to the sleep state of the target user so as to assist in sleeping the target user.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present disclosure may be implemented by software or hardware. Wherein the names of the modules do not in some cases constitute a limitation of the unit itself.
The computer readable storage medium provided by the invention stores computer readable program instructions for executing the sleep-aiding control method based on the Internet of things, and solves the technical problem of poor sleep-aiding effect of a mode for assisting a user to sleep. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the embodiment of the invention are the same as the beneficial effects of the sleep-aid control method based on the internet of things provided by the embodiment, and are not repeated herein.
EXAMPLE six
The present application also provides a computer program product, including a computer program, which when executed by a processor, implements the steps of the method for sleep aid control based on the internet of things as described above.
The computer program product solves the technical problem that the sleep assisting effect of a mode for assisting a user in sleeping is poor. Compared with the prior art, the beneficial effects of the computer program product provided by the embodiment of the invention are the same as those of the sleep-aid control method based on the internet of things provided by the embodiment, and are not repeated herein.
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 equivalent structures or equivalent processes, which are directly or indirectly applied to other related technical fields, and which are not limited by the present application, are also included in the scope of the present application.
Claims (10)
1. A sleep-aiding control method based on the Internet of things is characterized by comprising the following steps:
acquiring a sleep-assisting instruction aiming at a target user;
according to the sleep-assisting instruction, determining sleep-assisting equipment in a sleep-assisting area corresponding to the target user;
and performing sleep-assisting control on the sleep-assisting device according to the sleep state of the target user so as to assist in sleeping the target user.
2. The Internet of things-based sleep-aid control method as claimed in claim 1, wherein the sleep-aid device comprises a first sleep-aid device and a second sleep-aid device,
the step of performing sleep-aid control on the sleep-aid device according to the sleep state of the target user comprises the following steps:
determining whether the target user is in the sleep state;
if so, controlling a first operation parameter of the first sleep-assisting device to a preset sleep-assisting parameter;
determining a target sleep-assisting parameter of the second sleep-assisting device according to the sleep quality stage of the target user;
controlling a second operational parameter of the second sleep-aid device to the target sleep-aid parameter.
3. The method as claimed in claim 2, wherein the step of determining the target sleep-assisting parameter of the second sleep-assisting device according to the sleep quality stage of the target user comprises:
if the sleep quality stage is a deep sleep stage, querying a deep sleep aid parameter corresponding to the deep sleep stage in a preset sleep parameter mapping table, and taking the deep sleep aid parameter as the target sleep aid parameter;
and if the sleep quality stage is a light sleep stage, inquiring a shallow sleep-assisting parameter corresponding to the deep sleep stage from the preset sleep parameter mapping table, and taking the shallow sleep-assisting parameter as the target sleep-assisting parameter.
4. The method as claimed in claim 2, wherein before the step of determining the target sleep-assisting parameter of the second sleep-assisting device according to the sleep quality stage of the target user, the method further comprises:
acquiring user sleep state information of the target user, wherein the user sleep state information comprises user heart rate beating frequency and user limb movement frequency;
determining a first sleep quality evaluation index according to the difference value between the heart rate beating frequency of the user and a preset heart rate beating frequency;
determining a second sleep quality evaluation index according to the difference between the user limb movement frequency and a preset limb movement frequency;
and determining the sleep quality stage of the target user according to the first sleep quality evaluation index and the second sleep quality evaluation index.
5. The internet of things-based sleep-aid control method according to claim 2, wherein the step of determining whether the target user is in a sleep state comprises:
acquiring human body posture information of the target user, and judging whether the target user is in a sleeping state according to the human body displacement corresponding to the human body posture information;
if the target user is in the sleep state, point cloud data of the target user is acquired;
detecting whether eye displacement change information exists in user position change information corresponding to the point cloud data;
if so, determining that the target user is not in a sleep state;
if not, determining that the target user is in a sleep state.
6. The internet of things-based sleep-aid control method according to claim 5, wherein after the step of determining that the target user is in a sleep state, the internet of things-based sleep-aid control method further comprises:
stopping playing the preset sleep-aiding audio data played when the target user is not in the state, and acquiring a noise audio signal in the direction of the target user;
generating a noise reduction audio signal according to the signal parameter corresponding to the noise audio signal;
and sending the noise reduction audio signal to the direction of the target user.
7. The internet of things-based sleep-aid control method according to claim 5, wherein after the step of determining that the target user is not in a sleep state, the internet of things-based sleep-aid control method further comprises:
acquiring current audio playing data and current audio playing volume corresponding to the audio playing data;
detecting whether the current audio playing volume is a preset sleep-assisting volume;
if so, replacing the current audio playing data with preset sleep-assisting audio data;
if not, the front audio playing volume is adjusted to the preset sleep-assisting volume, and the current audio playing data is replaced by the preset sleep-assisting audio data.
8. The utility model provides a help dormancy controlling means based on thing networking which characterized in that, help dormancy controlling means based on thing networking includes:
the acquisition module is used for acquiring a sleep-assisting instruction for a target user;
the determining module is used for determining sleep-assisting equipment in a sleep-assisting area corresponding to the target user according to the sleep-assisting instruction;
and the control module is used for performing sleep-assisting control on the sleep-assisting equipment according to the sleep state of the target user so as to assist in sleeping the target user.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to cause the at least one processor to perform the steps of the internet of things based sleep aid control method of any one of claims 1 to 7.
10. A computer-readable storage medium, having a program for implementing an internet of things-based sleep-aid control method stored thereon, the program being executed by a processor to implement the steps of the internet of things-based sleep-aid control method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211078539.XA CN115407675A (en) | 2022-09-05 | 2022-09-05 | Sleep-aiding control method and device based on Internet of things, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211078539.XA CN115407675A (en) | 2022-09-05 | 2022-09-05 | Sleep-aiding control method and device based on Internet of things, electronic equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115407675A true CN115407675A (en) | 2022-11-29 |
Family
ID=84163415
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211078539.XA Pending CN115407675A (en) | 2022-09-05 | 2022-09-05 | Sleep-aiding control method and device based on Internet of things, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115407675A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116300491A (en) * | 2023-02-01 | 2023-06-23 | 深圳市盛况科技有限公司 | Control method, device, equipment and medium based on intelligent wearable equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108309233A (en) * | 2017-12-21 | 2018-07-24 | 速眠创新科技(深圳)有限公司 | Sleep quality monitoring method, system, computer equipment and storage medium |
CN111281341A (en) * | 2020-02-04 | 2020-06-16 | 乐歌信息科技(上海)有限公司 | Sleep evaluation method and device, electronic equipment and storage medium |
CN112066528A (en) * | 2020-08-10 | 2020-12-11 | 珠海格力电器股份有限公司 | Air conditioner control method and device, storage medium and air conditioner |
CN112584242A (en) * | 2020-12-03 | 2021-03-30 | 深圳创维-Rgb电子有限公司 | Television-based sleep-aiding function implementation method and device, intelligent terminal and medium |
CN113393855A (en) * | 2021-06-16 | 2021-09-14 | 珠海格力电器股份有限公司 | Active noise reduction method and device, computer readable storage medium and processor |
CN113883669A (en) * | 2021-09-13 | 2022-01-04 | Tcl空调器(中山)有限公司 | Sleep-assisting control method and device for air conditioner, electronic equipment and storage medium |
CN113883668A (en) * | 2021-09-13 | 2022-01-04 | Tcl空调器(中山)有限公司 | Sleep-aiding method and device for air conditioner, air conditioner and storage medium |
-
2022
- 2022-09-05 CN CN202211078539.XA patent/CN115407675A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108309233A (en) * | 2017-12-21 | 2018-07-24 | 速眠创新科技(深圳)有限公司 | Sleep quality monitoring method, system, computer equipment and storage medium |
CN111281341A (en) * | 2020-02-04 | 2020-06-16 | 乐歌信息科技(上海)有限公司 | Sleep evaluation method and device, electronic equipment and storage medium |
CN112066528A (en) * | 2020-08-10 | 2020-12-11 | 珠海格力电器股份有限公司 | Air conditioner control method and device, storage medium and air conditioner |
CN112584242A (en) * | 2020-12-03 | 2021-03-30 | 深圳创维-Rgb电子有限公司 | Television-based sleep-aiding function implementation method and device, intelligent terminal and medium |
CN113393855A (en) * | 2021-06-16 | 2021-09-14 | 珠海格力电器股份有限公司 | Active noise reduction method and device, computer readable storage medium and processor |
CN113883669A (en) * | 2021-09-13 | 2022-01-04 | Tcl空调器(中山)有限公司 | Sleep-assisting control method and device for air conditioner, electronic equipment and storage medium |
CN113883668A (en) * | 2021-09-13 | 2022-01-04 | Tcl空调器(中山)有限公司 | Sleep-aiding method and device for air conditioner, air conditioner and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116300491A (en) * | 2023-02-01 | 2023-06-23 | 深圳市盛况科技有限公司 | Control method, device, equipment and medium based on intelligent wearable equipment |
CN116300491B (en) * | 2023-02-01 | 2023-11-17 | 深圳市盛况科技有限公司 | Control method, device, equipment and medium based on intelligent wearable equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6365939B2 (en) | Sleep assist system | |
US11423899B2 (en) | Controlling device output according to a determined condition of a user | |
TWI684116B (en) | Terminal state judgment method, device and terminal | |
WO2021238230A1 (en) | Smart home system and control method and device thereof | |
WO2021017947A1 (en) | Terminal control method and device, mobile terminal and storage medium | |
US9276541B1 (en) | Event-based presentation and processing of content | |
CN109432568B (en) | Sleep assisting method, device, storage medium and terminal | |
CN115407675A (en) | Sleep-aiding control method and device based on Internet of things, electronic equipment and storage medium | |
CN111387978A (en) | Method, device, equipment and medium for detecting action section of surface electromyogram signal | |
WO2019227376A1 (en) | Intelligent lighting unit and system | |
CN115866485A (en) | Play control method, device and equipment based on sleep detection and storage medium | |
CN106375809B (en) | Volume adjusting method and device and storage medium | |
CN113656260B (en) | Control method and control device for electronic equipment, electronic equipment and storage medium | |
KR20210000974A (en) | Method and apparatus for providing a service for electronic device by forming a zone | |
CN113080919A (en) | Heart rate detection method, device, equipment and computer readable storage medium | |
CN110730266A (en) | Alarm clock volume control method and device, storage medium and terminal | |
CN114205657A (en) | Television rotation processing method based on millimeter waves, smart television, terminal and medium | |
JP7405769B2 (en) | Information processing device, information processing method, information processing program, and information processing system | |
CN109788143B (en) | Call processing method and mobile terminal | |
US20210129031A1 (en) | Adaptive time dilation based on player performance | |
CN115691498A (en) | Voice interaction method, electronic device and medium | |
CN112562258A (en) | Monitoring method and device based on electronic equipment, electronic equipment and storage medium | |
CN111862574A (en) | Distance measurement reminding processing method and device based on remote controller | |
CN112997453B (en) | Selecting a destination for a sensor signal based on an activated light setting | |
US11430320B2 (en) | Method and device to notify an individual |
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 |