CN109326309B - User sleep management system - Google Patents

User sleep management system Download PDF

Info

Publication number
CN109326309B
CN109326309B CN201811140635.6A CN201811140635A CN109326309B CN 109326309 B CN109326309 B CN 109326309B CN 201811140635 A CN201811140635 A CN 201811140635A CN 109326309 B CN109326309 B CN 109326309B
Authority
CN
China
Prior art keywords
user
sleep
music
time
sleeping
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811140635.6A
Other languages
Chinese (zh)
Other versions
CN109326309A (en
Inventor
宋亚楠
邱楠
梁剑华
邵浩
严汉明
邓婧文
邹创华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Gowild Robotics Co ltd
Original Assignee
Shenzhen Gowild Robotics 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 Shenzhen Gowild Robotics Co ltd filed Critical Shenzhen Gowild Robotics Co ltd
Priority to CN201811140635.6A priority Critical patent/CN109326309B/en
Publication of CN109326309A publication Critical patent/CN109326309A/en
Application granted granted Critical
Publication of CN109326309B publication Critical patent/CN109326309B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES 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/00Other 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/02Other 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/109Time management, e.g. calendars, reminders, meetings or time accounting
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES 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/00Other 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/0005Other 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/0027Other 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
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES 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
    • A61M2205/00General characteristics of the apparatus
    • A61M2205/33Controlling, regulating or measuring
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/10527Audio or video recording; Data buffering arrangements
    • G11B2020/10537Audio or video recording
    • G11B2020/10546Audio or video recording specifically adapted for audio data

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Business, Economics & Management (AREA)
  • Human Resources & Organizations (AREA)
  • Anesthesiology (AREA)
  • Strategic Management (AREA)
  • Physics & Mathematics (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Veterinary Medicine (AREA)
  • Pain & Pain Management (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • General Health & Medical Sciences (AREA)
  • Public Health (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Biomedical Technology (AREA)
  • Psychology (AREA)
  • Data Mining & Analysis (AREA)
  • Acoustics & Sound (AREA)
  • Hematology (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The invention provides a user sleep management system, which comprises a processor, an input device, an output device and a memory, wherein the processor is configured to call the program instruction and execute the following method: receiving a sleep setting instruction of a user, and setting a sleep cycle of the user, wherein the sleep cycle comprises bedtime; receiving a music setting instruction of a user, and setting a sleep-aiding music set of the user, wherein the sleep-aiding music set comprises a plurality of sleep-aiding music; when the sleeping time of the user is detected to arrive, playing the sleeping-aid music in the sleeping-aid music set, and receiving the preset system sleeping time; work as system sleep time arrives, and the warning information of generating system going to bed reminds the user, and the user can set up the sleep cycle of oneself and helps the music collection of sleeping by oneself, and when user's going to bed time arrived, the broadcast helps the music of sleeping to help the user to fall asleep, can also fall asleep through the system, guides the user in time to go to bed. The system manages and accompanies the sleep of the user by using an artificial intelligence technology.

Description

User sleep management system
Technical Field
The invention belongs to the technical field of electronic products, and particularly relates to a user sleep management system.
Background
Currently, the sleep management function is generally a function that the smart wearable device has. Such devices generally collect information such as brain wave information of a user, health information of the user, or listening habits of the user, and then analyze the sleep condition of the user based on the information, and give corresponding guidance to the user.
With the popularization of artificial intelligence technology, people hope that the artificial intelligence technology can be applied to sleep management methods, and a more scientific and effective sleep management method is provided. However, the existing sleep management method lacks of a method for managing the sleep of the user by using an artificial intelligence technology.
Disclosure of Invention
Aiming at the defects in the prior art, the invention provides a user sleep management system, which manages the sleep of a user by utilizing an artificial intelligence technology.
A user sleep management system comprising a processor, an input device, an output device and a memory, the processor, input device, output device and memory being interconnected, wherein the memory is for storing a computer program, the computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method of:
receiving a sleep setting instruction of a user and setting a sleep cycle of the user; the sleep period comprises bedtime;
receiving a music setting instruction of a user, and setting a sleep-aiding music set of the user, wherein the sleep-aiding music set comprises a plurality of sleep-aiding music;
when the sleeping time of the user is detected to arrive, the sleeping-aid music in the sleeping-aid music set is played;
receiving preset system sleep time;
and generating a system sleeping reminding message to remind the user when the system sleeping time is reached.
Further, the step of playing the sleep-aiding music in the sleep-aiding music set specifically includes:
randomly generating a playing sequence of the sleep-aiding music, and defining the playing sequence as a music sequence;
receiving a playing time setting instruction of a user, and setting the playing time of the sleep-aiding music;
playing the sleep-aiding music in the sleep-aiding music set in sequence according to the music sequence and the playing time;
receiving a label setting instruction of a user, inputting a music label, and adding the music label to currently played sleep-aiding music;
receiving one or more music labels selected by a user, using the music labels as specific labels, and modifying the music sequence according to the sleep-aiding music which contains the specific labels in the sleep-aiding music set;
and when receiving a sleeping instruction of the user, stopping playing the sleep-aiding music.
Further, the processor is configured to invoke the program instructions to perform the following method after the playing of the sleep-aid music set:
receiving a sleeping preparation setting instruction of a user, and setting preparation information before the user sleeps;
generating reminding time according to the preparation information;
and when the reminding time is up, generating bedtime preparation reminding information according to the preparation information to remind the user.
Further, the processor is configured to call the program instruction, and after stopping playing the sleep-aid music when receiving the instruction of the user to go to bed, further execute the following method:
recording the time of the last interaction between the user and the user sleep management system as the actual bedtime;
or when the sleeping instruction is received, recording the current time as the actual sleeping time;
when the actual bedtime exists, defining that the user enters a bedtime state;
and judging the sleep state of the user according to the actual bedtime of the user.
Further, the sleep states include normal, insomnia and late sleep;
when the user is detected not to enter the sleeping state after the sleeping time of the user arrives, defining the sleeping state of the user as late sleeping, and recording the current time as late sleeping trigger time;
when a user receives a wake-up instruction after the user enters a bedtime state and before a preset waking time, defining the sleep state of the user as insomnia, and recording the current time as insomnia triggering time.
Further, the processor is configured to invoke the program instructions to further perform the following method after the determining the sleep state of the user from the actual bedtime of the user:
receiving user information input by a user; the user information includes age and gender;
acquiring average time length required for falling asleep corresponding to the age and the gender to obtain the time length required for falling asleep of the user;
calculating the time length required by actual sleep entering: the actual sleeping time length is the actual sleeping time-sleeping time;
and adjusting the time length required by the user to fall asleep according to the actual time length required by the user to fall asleep.
Further, the processor is configured to call the program instruction, and after the adjusting the time length required by the user to fall asleep according to the actual time length required by the user to fall asleep, execute the following method:
receiving an evaluation period input by a user;
and when the evaluation period of the user is up, scoring the sleep quality of the user according to the sleep state of the user and the sleep time of the user.
Further, the processor is configured to invoke the program instructions and also perform the following method:
receiving a prompt tone setting instruction of a user, and setting a voice prompt set, wherein the voice prompt set comprises a sleeping prompt tone and a getting-up prompt tone;
when the bedtime of the user is detected to arrive, a bedtime prompt tone is played, and the playing level of the played bedtime prompt tone is set to be the lowest;
and when the arrival of the getting-up time of the user is detected, playing the getting-up prompt tone, and setting the playing grade of the played getting-up prompt tone to be lowest.
Further characterized in that the processor is configured to invoke the program instructions and also perform the following method:
receiving and analyzing interactive contents of a user and the user sleep management system;
and when the interactive content has the sleepy keywords, playing the sleep-assisting music in the sleep-assisting music set.
According to the technical scheme, the user sleep management system provided by the invention has the advantages that the user can set the sleep cycle and the sleep-assisting music collection of the user by himself, when the sleeping time of the user is up, the sleep-assisting music is played to help the user to fall asleep, and the user can be guided to fall asleep in time through the system. The system manages and accompanies the sleep of the user by using an artificial intelligence technology.
Drawings
In order to more clearly illustrate the detailed description of the invention or the technical solutions in the prior art, the drawings that are needed in the detailed description of the invention or the prior art will be briefly described below. Throughout the drawings, like elements or portions are generally identified by like reference numerals. In the drawings, elements or portions are not necessarily drawn to scale.
Fig. 1 is a schematic block diagram of a user sleep management system according to an embodiment.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and therefore are only examples, and the protection scope of the present invention is not limited thereby. It is to be noted that, unless otherwise specified, technical or scientific terms used herein shall have the ordinary meaning as understood by those skilled in the art to which the invention pertains.
The first embodiment is as follows:
a user sleep management system, see fig. 1, comprising a processor 801, an input device 802, an output device 803 and a memory 804, the processor 801, the input device 802, the output device 803 and the memory 804 being interconnected by a bus 805, wherein the memory 804 is configured to store a computer program comprising program instructions, the processor 801 being configured to invoke the program instructions to perform the following method:
receiving a sleep setting instruction of a user and setting a sleep cycle of the user; the sleep period comprises bedtime;
specifically, the user can set the sleep cycle of the user in various modes such as voice, motion, mobile phone APP and the like. Bedtime is used to indicate the time at which the user begins to sleep. The sleep cycle may also include a wake up time and a sleep duration, the sleep duration indicating a time for which the user sleeps in an intuition.
Receiving a music setting instruction of a user, and setting a sleep-aiding music set of the user; the sleep-aiding music set comprises a plurality of sleep-aiding music;
and when the sleeping time of the user is detected to arrive, playing the sleep-aiding music in the sleep-aiding music set.
Specifically, each piece of sleep-aid music can be provided with an ID number for identifying different pieces of sleep-aid music. The sleep-aid music can be audio loaded by the user or audio built in the system. The system can automatically play the sleep-aiding music when the bedtime of the user arrives, and helps the user to better sleep.
Receiving preset system sleep time;
and generating a system sleeping reminding message to remind the user when the system sleeping time is reached.
Specifically, the user sleep management system itself may set the system sleep time. When the system sleep time is up, the system can remind the user that the user is going to sleep, and the reminding mode comprises one or more modes of voice, light, action or information and the like. Therefore, the system can tell the user that the user is going to go to bed, play a role in suggesting and influencing the user, and guide the user to go to bed in time by utilizing the people's mind.
This user sleep management system can be applied to among current family's intelligent audio amplifier product or the robot, and the user can set up the sleep cycle of oneself and help the music collection of sleeping by oneself, and when user's bedtime arrived, the broadcast helps the music of sleeping to help the user to fall asleep, can also fall asleep through the system, guides the user in time to fall asleep. The system manages and accompanies the sleep of the user by using an artificial intelligence technology.
It should be understood that in the present embodiment, the Processor 801 may be a Central Processing Unit (CPU), and the Processor may be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The input device 802 may include a touch pad, a fingerprint collection sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, etc., and the output device 803 may include a display (LCD, etc.), a speaker, etc.
The memory 804 may include both read-only memory and random access memory, and provides instructions and data to the processor 801. A portion of the memory 804 may also include non-volatile random access memory. For example, the memory 804 may also store device type information.
Example two:
the second embodiment provides a function of playing the sleep-aid music on the basis of the first embodiment.
The playing of the sleep-aiding music concentrated comprises the following specific steps:
randomly generating a playing sequence of the sleep-aiding music, and defining the playing sequence as a music sequence;
specifically, at the time of initial use, the playing sequence of the sleep-aid music can be randomly generated, and the system plays the sleep-aid music according to the random sequence.
Receiving a playing time setting instruction of a user, and setting the playing time of the sleep-aiding music;
specifically, the playing time may be set by the user, for example, 10 minutes, and when 10 minutes arrive, the sleep-aiding music is stopped playing.
Playing the sleep-aiding music in the sleep-aiding music set in sequence according to the music sequence and the playing time;
specifically, if the user does not adjust the playing sequence of the sleep-aiding music, the sleep-aiding music is still played according to the randomly generated sequence, and if the user adjusts the playing sequence of the sleep-aiding music in the later period, the sleep-aiding music is played according to the adjusted sequence.
Receiving a label setting instruction of a user, inputting a music label, and adding the music label to currently played sleep-aiding music;
specifically, the music tag refers to a category tag of music, and the music tag is generally labeled by people, and may be a music type, for example. A sleep aid music may have multiple music tags. The system can add music labels during the listening process of the user.
Receiving one or more music labels selected by a user, using the music labels as specific labels, and modifying the music sequence according to the sleep-aiding music which contains the specific labels in the sleep-aiding music set;
specifically, during the use process of the user, the sleep-aiding music can be selected according to the music labels and the sleep condition, the preference and the like of the user, for example, the user who has insomnia plays specific and relatively mild music. If the user likes the light music, the light music is played.
And when receiving a sleeping instruction of the user, stopping playing the sleep-aiding music.
Specifically, when a sleeping instruction of the user is received, it indicates that the user is going to sleep immediately, and the sleep-aiding music does not need to be played, and the playing of the sleep-aiding music is stopped at the moment. The system can also automatically adjust the playing time and the volume during playing according to the sleeping difficulty degree of the user, for example, the playing volume can be reduced when the user is difficult to sleep, and the playing time is prolonged.
In addition, the embodiment also provides a bedtime preparation work reminding function. The processor is configured to invoke the program instructions to, after the playing of the sleep-aid music set, also perform the following method:
receiving a sleeping preparation setting instruction of a user, and setting preparation information before the user sleeps;
generating reminding time according to the preparation information;
and when the reminding time is up, generating bedtime preparation reminding information according to the preparation information to remind the user.
Specifically, the preparation information includes a plurality of preparation items and corresponding completion times. Before going to bed, people usually take some preparations, such as washing, drinking milk, and soaking feet. The system also has a preparation work reminding function. The user can set and inform the system of preparation items needed before going to bed. The system may predict how long in advance it is necessary to remind the user based on the completion time of each preparation item, for example, half an hour in advance to remind the user that the user should wash his or her teeth. Therefore, before the bedtime of the user arrives, the system can inform the user of preparing in various ways, so that the user can sleep in time after the bedtime arrives.
For the sake of brief description, the embodiments of the present invention do not refer to the corresponding contents in the foregoing embodiments of the present invention.
Example three:
the third embodiment provides a method for calculating the sleep difficulty level of the user on the basis of other embodiments. The processor is configured to invoke the program instructions to further perform the following method after the determining the sleep state of the user from the actual bedtime of the user:
receiving user information input by a user; the user information includes age and gender;
acquiring average time length required for falling asleep corresponding to the age and the gender to obtain the time length required for falling asleep of the user;
specifically, the user's difficulty in falling asleep can be expressed in terms of the length of time the user takes to fall asleep. When the system is used, the system can set the time length required by the user to fall asleep according to the average time length required by the crowd corresponding to the age and the gender of the user. For example: if the user is a female aged 32 years, the preset time length required for the user to fall asleep is the average time length required for the female aged 30-40 years: 0.5 hour. The user can also adjust the time length required by the user to fall asleep.
Calculating the time length required by actual sleep entering: the actual sleeping time length is the actual sleeping time-sleeping time;
and adjusting the time length required by the user to fall asleep according to the actual time length required by the user to fall asleep.
Specifically, the system can also adjust the time length required by the user to fall asleep according to the time length required by the user to actually fall asleep, so that the statistics of the time length required by the user to fall asleep is more accurate. The adjustment method can be that according to the statistical data of the month or the week, the average value of the time length needed by the actual sleep is taken, and the average value of the time length needed by the actual sleep is compared with the time length needed by the current user to sleep: if the difference value of the two values is less than the threshold value 1, the time length required by the user to fall asleep is not adjusted. And if the difference value of the two values is between the threshold value 1 and the threshold value 2, taking the average value of the time length required by the actual sleep as the time length required by the new user to sleep. And if the difference value of the two is greater than the threshold value 2, taking the average value of the time length required by the actual sleep as the time length required by the new user to sleep.
Besides, the embodiment also provides a method for determining the sleep state of the user. The processor is configured to call the program instructions, and when the instruction of sleeping of the user is received, after the playing of the sleep-aiding music is stopped, the following method is further executed:
recording the time of the last interaction between the user and the user sleep management system as the actual bedtime;
specifically, the interaction between the user and the system includes modes such as voice interaction, key interaction, mobile phone APP interaction, camera interaction or mic interaction. If the user does not interact with the robot through voice and keys, the user does not operate the mobile phone, the APP, the camera, the mic and other devices, and the fact that the user is asleep is indicated, and the user enters a sleeping state. The system can also acquire user actions through the camera/infrared module, and if the user frequently adjusts the actions, the user is judged not to fall asleep. The system can also collect environmental sounds through mic, if the user speaks, the user is judged not to fall asleep.
Or when the sleeping instruction is received, recording the current time as the actual sleeping time;
specifically, the instruction for going to bed includes an instruction for interrupting the playing of the sleep-aiding music, which is sent in a mode of key pressing, voice, APP and the like. This indicates that the user is asleep and is going to sleep.
When the actual bedtime exists, defining that the user enters a bedtime state;
and judging the sleep state of the user according to the actual bedtime of the user.
Wherein the sleep states include normal, insomnia and late sleep;
when the user is detected not to enter the sleeping state after the sleeping time of the user arrives, defining the sleeping state of the user as late sleeping, and recording the current time as late sleeping trigger time;
specifically, when the user does not fall asleep after the bedtime, it is determined that the user triggers the late-sleep condition, and the sleep state of the user is late-sleep. After the user triggers the late sleep condition, the time (including date) triggered by the user needs to be recorded and counted, and the late sleep condition of the user needs to be recorded.
When a user receives a wake-up instruction after the user enters a bedtime state and before a preset waking time, defining the sleep state of the user as insomnia, and recording the current time as insomnia triggering time.
Specifically, after the user enters the bedtime state, if the user wakes up the system before the time of getting up, for example, wakes up by pressing a button one hour before the time of getting up or sends an instruction to the system through the app, an insomnia condition is triggered, and the sleep state of the user is insomnia. After the user triggers the insomnia condition, the time (including the date) triggered by the user needs to be recorded for analyzing the insomnia condition of the user. If the user has slept before the bedtime prompt is triggered, the sleeping state of the user is normal.
In summary, there are 3 states of daily sleep for the user: normal, late sleep and insomnia. Wherein the achievement of the insomnia condition must achieve the late sleep condition at the same time, and the normal state and the latter two states cannot be achieved at the same time.
For the sake of brief description, the embodiments of the present invention do not refer to the corresponding contents in the foregoing embodiments of the present invention.
Example four:
fourth embodiment on the basis of the other embodiments, a sleep management method is provided. The processor is configured to call the program instructions, and after the adjusting the time length required by the user to fall asleep according to the actual time length required by the user to fall asleep, the following method is further executed:
receiving an evaluation period input by a user;
and when the evaluation period of the user is up, scoring the sleep quality of the user according to the sleep state of the user and the sleep time of the user.
Specifically, the evaluation period may be set to 7 days for one week. The daily sleep state or information of the user is recorded for counting the sleep quality of the user in the week. During the scoring, various triggering conditions and corresponding scores can be set, and finally the triggering conditions in the week of the user are synthesized to obtain the total sleep score in the week of the user. For example, the types of trigger conditions are: the number of consecutive occurrences of a certain state; the number of times a certain state appears within 7 days; a bedtime point later/earlier than a physical time point, etc. Each trigger condition may also be provided with a corresponding suggestion.
In addition, the embodiment also provides a voice prompt function. The processor is configured to invoke the program instructions and further perform the method of:
receiving a prompt tone setting instruction of a user, and setting a voice prompt set, wherein the voice prompt set comprises a sleeping prompt tone and a getting-up prompt tone;
when the bedtime of the user is detected to arrive, a bedtime prompt tone is played, and the playing level of the played bedtime prompt tone is set to be the lowest;
and when the arrival of the getting-up time of the user is detected, playing the getting-up prompt tone, and setting the playing grade of the played getting-up prompt tone to be lowest.
Specifically, the sleep prompt tone may be "your sleep time is up, please sleep in time". The get-up cue tone may be "now 8 am, the get-up". If the sleeping prompt tone and the getting-up prompt tone are played, the probability that the sleeping prompt tone and the getting-up prompt tone are played again on the same day is adjusted to be the lowest of all prompts, and the playing grade is the lowest. On program processing, a queue implementation may be used. Each time an alert tone is played, the alert tone is listed and then enqueued. Therefore, the played warning tone is placed at the last of the queue, and the playing probability of the warning tone placed at the last of the queue is lower than that of all the warning tones at the front because the queue is first-in first-out.
In addition, the embodiment also provides a sleep accompanying process for the user. The processor is configured to invoke the program instructions and further perform the method of:
receiving and analyzing interactive contents of a user and the user sleep management system;
and when the interactive content has the sleepy keywords, playing the sleep-assisting music in the sleep-assisting music set. Specifically, the sleepy keyword includes phrases of wanting to sleep, tired, sleepy, and the like. In the daily interaction process with the user, if the user informs the system that the user is going to rest at a non-sleep time point or the user talks about the user to be arduous and insomnia in the interactive content, the system records the information expressed by the user, adjusts the playing time of the sleep-aid music, plays the sleep-aid music and helps the user to go to bed. For example: if the user expresses own insomnia, the music label is selected to play the insomnia-aiding music when the insomnia-aiding music is played. If the user expresses that the user is hard, the user selects the music label to play the sleep-aiding music with the function of relieving the spirit and the like.
For the sake of brief description, the embodiments of the present invention do not refer to the corresponding contents in the foregoing embodiments of the present invention.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; such modifications and substitutions do not depart from the spirit and scope of the present invention, and they should be construed as being included in the following claims and description.

Claims (4)

1. A user sleep management system comprising a processor, an input device, an output device and a memory, the processor, the input device, the output device and the memory being interconnected, wherein the memory is configured to store a computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method of:
receiving a sleep setting instruction of a user and setting a sleep cycle of the user; the sleep period comprises bedtime;
receiving a music setting instruction of a user, and setting a sleep-aiding music set of the user, wherein the sleep-aiding music set comprises a plurality of sleep-aiding music;
when the sleeping time of the user is detected to arrive, the sleeping-aid music in the sleeping-aid music set is played;
receiving preset system sleep time;
when the system sleep time reaches, generating system bedtime reminding information to remind a user;
the processor is configured to call the program instructions, and when the instruction of sleeping of the user is received, after the playing of the sleep-aiding music is stopped, the following method is further executed:
recording the time of the last interaction between the user and the user sleep management system as the actual bedtime;
or when the sleeping instruction is received, recording the current time as the actual sleeping time;
when the actual bedtime exists, defining that the user enters a bedtime state;
judging the sleep state of the user according to the actual bedtime of the user;
the sleep states comprise normal, insomnia and late sleep;
when the user is detected not to enter the sleeping state after the sleeping time of the user arrives, defining the sleeping state of the user as late sleeping, and recording the current time as late sleeping trigger time;
when a user receives a wake-up instruction after the user enters a bedtime state and before a preset waking time, defining the sleep state of the user as insomnia, and recording the current time as insomnia triggering time;
the processor is configured to invoke the program instructions to further perform the following method after the determining the sleep state of the user from the actual bedtime of the user:
receiving user information input by a user; the user information includes age and gender;
acquiring average time length required for falling asleep corresponding to the age and the gender to obtain the time length required for falling asleep of the user;
calculating the time length required by actual sleep entering: the actual sleeping time length is the actual sleeping time-sleeping time;
adjusting the time length required by the user to fall asleep according to the time length required by the actual fall asleep;
the processor is configured to call the program instructions, and after the adjusting the time length required by the user to fall asleep according to the actual time length required by the user to fall asleep, the following method is further executed:
receiving an evaluation period input by a user;
when the evaluation period of the user is up, scoring the sleep quality of the user according to the sleep state of the user and the sleep time of the user;
the processor is configured to invoke the program instructions and further perform the method of:
receiving and analyzing interactive contents of a user and the user sleep management system;
and when the interactive content has the sleepy keywords, playing the sleep-assisting music in the sleep-assisting music set.
2. The system for managing sleep of a user as claimed in claim 1, wherein the playing of the sleep-aid music in the set of sleep-aid music comprises:
randomly generating a playing sequence of the sleep-aiding music, and defining the playing sequence as a music sequence;
receiving a playing time setting instruction of a user, and setting the playing time of the sleep-aiding music;
playing the sleep-aiding music in the sleep-aiding music set in sequence according to the music sequence and the playing time;
receiving a label setting instruction of a user, inputting a music label, and adding the music label to currently played sleep-aiding music;
receiving one or more music labels selected by a user, using the music labels as specific labels, and modifying the music sequence according to the sleep-aiding music which contains the specific labels in the sleep-aiding music set;
and when receiving a sleeping instruction of the user, stopping playing the sleep-aiding music.
3. The system according to claim 1, wherein the processor is configured to invoke the program instructions to perform the following method after the playing of the sleep-aid music in the set of sleep-aid music:
receiving a sleeping preparation setting instruction of a user, and setting preparation information before the user sleeps;
generating reminding time according to the preparation information;
and when the reminding time is up, generating bedtime preparation reminding information according to the preparation information to remind the user.
4. The user sleep management system of claim 1, wherein the processor is configured to invoke the program instructions and further perform the method of:
receiving a prompt tone setting instruction of a user, and setting a voice prompt set, wherein the voice prompt set comprises a sleeping prompt tone and a getting-up prompt tone;
when the bedtime of the user is detected to arrive, a bedtime prompt tone is played, and the playing level of the played bedtime prompt tone is set to be the lowest;
and when the arrival of the getting-up time of the user is detected, playing the getting-up prompt tone, and setting the playing grade of the played getting-up prompt tone to be lowest.
CN201811140635.6A 2018-09-28 2018-09-28 User sleep management system Active CN109326309B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811140635.6A CN109326309B (en) 2018-09-28 2018-09-28 User sleep management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811140635.6A CN109326309B (en) 2018-09-28 2018-09-28 User sleep management system

Publications (2)

Publication Number Publication Date
CN109326309A CN109326309A (en) 2019-02-12
CN109326309B true CN109326309B (en) 2020-11-03

Family

ID=65266525

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811140635.6A Active CN109326309B (en) 2018-09-28 2018-09-28 User sleep management system

Country Status (1)

Country Link
CN (1) CN109326309B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112561468A (en) * 2020-12-04 2021-03-26 珠海格力电器股份有限公司 Sleep-in reminding method and device, readable storage medium and computer equipment
CN112657038A (en) * 2020-12-05 2021-04-16 深圳市领为创新科技有限公司 Sleep-aiding method and device based on intelligent wearable sleep-aiding device
CN114431837B (en) * 2022-04-12 2022-08-16 深圳市心流科技有限公司 Sleep state control method and device, sleep-assisting equipment and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105877701A (en) * 2016-03-24 2016-08-24 安徽华米信息科技有限公司 Method and device for analyzing sleep period in real time and intelligent wearable equipment
CN107561919A (en) * 2017-09-05 2018-01-09 深圳天珑无线科技有限公司 A kind of method of adjustment of timer, terminal and the device with store function
CN108310587A (en) * 2018-02-02 2018-07-24 贺鹏程 A kind of sleep control device and method

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060019224A1 (en) * 2004-07-23 2006-01-26 Pics, Inc. Insomnia assessment and treatment device and method
US20150258301A1 (en) * 2014-03-14 2015-09-17 Aliphcom Sleep state management by selecting and presenting audio content
CN106693143A (en) * 2015-07-27 2017-05-24 中兴通讯股份有限公司 Sleeping-aiding method and device
US9869973B2 (en) * 2016-06-10 2018-01-16 Apple Inc. Scheduling device for customizable electronic notifications
CN106540367B (en) * 2016-11-01 2020-06-02 北京小米移动软件有限公司 Sleep management method and smart bracelet
CN106600938A (en) * 2017-01-23 2017-04-26 赵红领 Intelligent sleep guiding alarm clock
CN106897576B (en) * 2017-04-17 2023-10-31 安徽咏鹅家纺股份有限公司 Intelligent sleep monitoring and sleep-aiding cloud service system
CN107463646A (en) * 2017-07-24 2017-12-12 上海斐讯数据通信技术有限公司 A kind of sleeping music intelligent recommendation method and device
CN107493388A (en) * 2017-08-24 2017-12-19 深圳天珑无线科技有限公司 Terminal and its sleep intelligent prompt method, storage device
CN108133363B (en) * 2018-02-05 2021-02-09 Oppo广东移动通信有限公司 Sleep reminding method, device, terminal and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105877701A (en) * 2016-03-24 2016-08-24 安徽华米信息科技有限公司 Method and device for analyzing sleep period in real time and intelligent wearable equipment
CN107561919A (en) * 2017-09-05 2018-01-09 深圳天珑无线科技有限公司 A kind of method of adjustment of timer, terminal and the device with store function
CN108310587A (en) * 2018-02-02 2018-07-24 贺鹏程 A kind of sleep control device and method

Also Published As

Publication number Publication date
CN109326309A (en) 2019-02-12

Similar Documents

Publication Publication Date Title
CN109326309B (en) User sleep management system
US11806158B2 (en) Adjusting alarms based on sleep onset latency
US10083397B2 (en) Personalized intelligent wake-up system and method based on multimodal deep neural network
CN106653059B (en) Automatic identification method and system for infant crying reason
CN105282343A (en) Smart sleep reminding method and smart sleep reminding device
CN108734096A (en) A kind of data processing method, device and the device for data processing
CN105556595A (en) Method and apparatus for adjusting detection threshold for activating voice assistant function
CN110349579B (en) Voice wake-up processing method and device, electronic equipment and storage medium
CN110533894B (en) Visual fatigue reminding method, device, equipment and readable storage medium
US20170330561A1 (en) Nonlinguistic input for natural language generation
CN105096102A (en) Prompting processing method and apparatus
CN112700768B (en) Speech recognition method, electronic equipment and storage device
CN106540367B (en) Sleep management method and smart bracelet
US9870689B1 (en) Codependent alarm device
CN111524513A (en) Wearable device and voice transmission control method, device and medium thereof
WO2019019489A1 (en) Exercise guidance method and apparatus, and intelligent wearable device
CN114022933A (en) Live telecommand technology sensitive word monitoring method and system
CN107659710B (en) Intelligent terminal, playing control method thereof and device with storage function
CN107515765A (en) A kind of method for closing of quarter-bell, system and terminal device
CN111602168A (en) Information processing apparatus, information processing method, and recording medium
CN108111664A (en) A kind of method, terminal and the computer-readable medium of the tinkle of bells control
WO2019104779A1 (en) Pressure measurement method and terminal
KR101912860B1 (en) Smart jewelry system for depression cognitive and care
CN111163219A (en) Alarm clock processing method and device, storage medium and terminal
WO2018172410A1 (en) Method and apparatus for sending a message to a subject

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
CB02 Change of applicant information

Address after: Room 301, Building 39, 239 Renmin Road, Gusu District, Suzhou City, Jiangsu Province, 215000

Applicant after: SHENZHEN GOWILD ROBOTICS Co.,Ltd.

Address before: Oriental Science and Technology Building No. 16 Keyuan Road, Shenzhen street 518000 city in Guangdong province Nanshan District Guangdong 1307-09

Applicant before: SHENZHEN GOWILD ROBOTICS Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
PP01 Preservation of patent right

Effective date of registration: 20220228

Granted publication date: 20201103

PP01 Preservation of patent right