CN112819084A - Method and device for determining target sleep information - Google Patents

Method and device for determining target sleep information Download PDF

Info

Publication number
CN112819084A
CN112819084A CN202110181932.0A CN202110181932A CN112819084A CN 112819084 A CN112819084 A CN 112819084A CN 202110181932 A CN202110181932 A CN 202110181932A CN 112819084 A CN112819084 A CN 112819084A
Authority
CN
China
Prior art keywords
target
sleep
time
time period
determining
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.)
Withdrawn
Application number
CN202110181932.0A
Other languages
Chinese (zh)
Inventor
李世新
陈翀
王鹏飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Original Assignee
Gree Electric Appliances Inc of Zhuhai
Zhuhai Lianyun Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Gree Electric Appliances Inc of Zhuhai, Zhuhai Lianyun Technology Co Ltd filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202110181932.0A priority Critical patent/CN112819084A/en
Publication of CN112819084A publication Critical patent/CN112819084A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/214Generating training patterns; Bootstrap methods, e.g. bagging or boosting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods

Abstract

The application relates to a method and a device for determining target sleep information, wherein the method comprises the following steps: acquiring sleep-related data of a target object in a first time period; and determining target sleep information of the target user in a second time period by using a target model according to the sleep related data, wherein the end time of the first time period is earlier than the start time of the second time period, the target sleep information comprises target falling-asleep time and target getting-up time, and the target model is obtained by training the initial model by using the reference sleep related data. The technical problem that the target sleep information efficiency of the target object is low is solved.

Description

Method and device for determining target sleep information
Technical Field
The present application relates to the field of sleep monitoring technologies, and in particular, to a method and an apparatus for determining target sleep information.
Background
Along with the development of the society, the functions of intelligent terminals such as mobile phones are also more and more powerful, and the time that people used these equipment is longer and longer every day, and more people play the cell-phone before sleeping and play to late night, leads to sleep time serious not enough at night, causes the influence to work and study next day, consequently needs to carry out reasonable setting to the user time of falling asleep to remind the user to get up the time, improve the condition that people stay up night and sleep time are irregular. At present, people carry out sleep reminding in a mode of manually setting an alarm clock, and the method cannot remind a user of a sleep surface aiming at actual conditions and is poor in effect.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The application provides a method and a device for determining target sleep information, which are used for at least solving the technical problem that the efficiency of determining the target sleep information of a target object is low in the related art.
According to an aspect of an embodiment of the present application, there is provided a method for determining target sleep information, including: acquiring sleep-related data of a target object in a first time period; and determining target sleep information of the target user in a second time period by using a target model according to the sleep related data, wherein the end time of the first time period is earlier than the start time of the second time period, the target sleep information comprises target sleep time and target getting-up time, and the target model is obtained by training an initial model by using reference sleep related data.
Optionally, determining the target sleep information of the target user within the second time period using a target model according to the sleep-related data comprises: generating a target operation instruction according to the target sleep information, wherein the target operation instruction is used for controlling the target terminal equipment to play target media information; and sending the target operation instruction to target terminal equipment.
Optionally, determining the target sleep information of the target user within the second time period using the target model according to the sleep-related data comprises: acquiring historical sleep time in the sleep related data; determining a target time-to-sleep for the target user within the second time period using the target model based on the historical time-to-sleep.
Optionally, determining the target sleep information of the target user within the second time period using the target model according to the sleep-related data comprises: acquiring the sleep related data, wherein the sleep related data comprises historical sleep duration, historical sleep time and the body characteristic information of the target user; determining a target sleep duration of the target user within the second time period using the target model according to the sleep-related data; acquiring the actual sleep time of the target user in the second time period; determining a target wake-up time of the target user within the second time period based on the actual time to sleep and the target sleep duration.
Optionally, the obtaining the actual time to sleep of the target user within the second time period comprises: acquiring target time of the target user in a target sleep state in the second time period; determining the target time as the actual time to sleep of the target user within the second time period.
Optionally, the obtaining the target time that the target user is in the target sleep state within the second time period includes: obtaining a vibration amplitude output by an intelligent mattress, wherein the vibration amplitude is obtained by the intelligent mattress through body motion detection of the target user; detecting a target time period within which the vibration amplitude does not exceed a set threshold within the second time period; and determining the time corresponding to the end point of the target time period as the target time.
According to another aspect of the embodiments of the present application, there is also provided an apparatus for determining target sleep information, including: the acquisition module is used for acquiring sleep related data of a target object in a first time period; the determining module is used for determining target sleep information of a target user in a second time period by using a target model according to the sleep related data, wherein the end time of the first time period is earlier than the start time of the second time period, the target sleep information comprises target sleep time and target getting-up time, and the target model is obtained by training an initial model by using reference sleep related data.
Optionally, the determining module includes: the generating unit is used for generating a target operation instruction according to the target sleep information, wherein the target operation instruction is used for controlling the target terminal equipment to play target media information; and the sending unit is used for sending the target operation instruction to the target terminal equipment.
According to another aspect of the embodiments of the present application, there is also provided a storage medium including a stored program which, when executed, performs the above-described method.
According to another aspect of the embodiments of the present application, there is also provided an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor executes the above method through the computer program.
In the embodiment of the application, the sleep related data of a target object in a first time period is acquired; determining target sleep information of a target user in a second time period by using a target model according to the sleep related data, wherein the ending time of the first time period is earlier than the starting time of the second time period, the target sleep information comprises target falling-asleep time and target getting-up time, the target model is obtained by training the initial model by using reference sleep related data of the target object, the trained target model is obtained by training the initial model by using the previous reference sleep related data of the target object, the sleep related data of the target object in the previous time period is obtained and is input into the trained target model, so that the target sleep information of the target object in the second event period can be generated, the purpose of determining the target sleep information of the target object according to the sleep related data is achieved, and the technical effect of improving the efficiency of determining the target sleep information of the target object is achieved, and the technical problem of low efficiency in determining the target sleep information of the target object is solved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the present invention 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 that other drawings can be obtained according to the drawings without inventive exercise.
Fig. 1 is a schematic diagram of a hardware environment of a method of determining target sleep information according to an embodiment of the present application;
FIG. 2 is a flow chart of an alternative method of determining target sleep information according to an embodiment of the present application;
FIG. 3 is a flow chart of an alternative sleep onset time recommendation according to an embodiment of the present application;
FIG. 4 is a flow chart of an alternative wake up time recommendation in accordance with an embodiment of the present application;
fig. 5 is a schematic diagram of an alternative apparatus for determining target sleep information according to an embodiment of the present application;
fig. 6 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiments of the present application, an embodiment of a method for determining target sleep information is provided.
Alternatively, in the present embodiment, the method for determining the target sleep information may be applied to a hardware environment formed by the terminal 101 and the server 103 as shown in fig. 1. Fig. 1 is a schematic diagram of a hardware environment of a method for determining target sleep information according to an embodiment of the present application, and as shown in fig. 1, a server 103 is connected to a terminal 101 through a network, and may be used to provide services (such as data computing services) for the terminal or a client installed on the terminal, and a database may be provided on the server or separately from the server, and is used to provide a data storage service for the server 103, where the network includes, but is not limited to: the terminal 101 is not limited to a PC, a mobile phone, a tablet computer, and the like. The method for determining the target sleep information according to the embodiment of the present application may be executed by the server 103, the terminal 101, or both the server 103 and the terminal 101. The terminal 101 may execute the method for determining the target sleep information according to the embodiment of the present application by a client installed thereon.
Fig. 2 is a flowchart of an alternative method for determining target sleep information according to an embodiment of the present application, and as shown in fig. 2, the method may include the following steps:
step S202, acquiring sleep related data of a target object in a first time period;
step S204, determining target sleep information of a target user in a second time period by using a target model according to the sleep related data, wherein the end time of the first time period is earlier than the start time of the second time period, the target sleep information comprises target sleep time and target getting-up time, and the target model is obtained by training an initial model by using reference sleep related data.
Through the steps S202 to S208, the initial model is trained by using the previous reference sleep-related data of the target object, so as to obtain a trained target model, the sleep-related data of the target object in the previous time period is acquired, and the sleep-related data is input into the trained target model, so that the target sleep information of the target object in the second event period can be generated, the purpose of determining the target sleep information of the target object according to the sleep-related data is achieved, the technical effect of improving the efficiency of determining the target sleep information of the target object is achieved, and the technical problem of low efficiency of determining the target sleep information of the target object is solved.
In the technical solution provided in step S202, the first time period may be, but is not limited to, 1 day, 2 days, 5 days, 10 days, and the like.
Alternatively, in the present embodiment, the sleep-related data may include, but is not limited to, historical sleep time, historical wake-up time, historical sleep duration, target subject physical condition, target user's diet, and medication, etc.
Optionally, in this embodiment, the method for acquiring sleep-related data may be to search for stored data, or may also be to acquire sleep-related data of a target object sent by another device.
In the technical solution provided in step S204, the initial model may be, but is not limited to, a constructed neural network model, and the initial model is trained by referring to sleep-related data, and parameter data in the initial model is modified, so as to obtain a target model.
Optionally, in this embodiment, the second time period may be, but is not limited to, 2 hours, 3 hours, 10 hours, 1 day, and the like, and this scheme is not limited thereto.
As an alternative embodiment, determining the target sleep information of the target user within the second time period using a target model according to the sleep-related data comprises:
s11, generating a target operation instruction according to the target sleep information, wherein the target operation instruction is used for controlling the target terminal device to play target media information;
and S12, sending the target operation instruction to the target terminal equipment.
Optionally, in this embodiment, the target media information may include, but is not limited to, preset audio information, video information, and the like, for example, when the target sleep information is the getting-up time of the target object, in case of reaching the getting-up time, the corresponding audio information is automatically played.
Optionally, in this embodiment, the sending of the target operation instruction to the target terminal device may be, but is not limited to, through bluetooth, a local area network, the internet, and the like.
Optionally, in this embodiment, the target terminal device may include, but is not limited to, a smart phone, a smart speaker, a smart watch, a smart desk lamp, a smart television, and the like.
As an alternative embodiment, determining the target sleep information of the target user within the second time period using the target model according to the sleep-related data comprises:
s21, acquiring historical sleep time in the sleep related data;
s22, determining a target time to sleep for the target user within the second time period using the target model based on the historical time to sleep.
Optionally, in this embodiment, the obtaining of the historical sleep time may be obtained by detecting state information of the target object through a wearable device or a non-wearable device, for example, detecting a body movement condition of the target object through a smart watch, detecting a body movement condition of the target object through a camera device, detecting a body movement of the target object through a smart mattress, or detecting a respiratory rate of the target object through the smart mattress, and the like, which is not limited in this embodiment.
Fig. 3 is a flow chart of an alternative sleep time recommendation according to an embodiment of the present application, as shown in fig. 3:
s301, detecting the body movement condition of the user through the intelligent mattress, determining the sleep time in the historical sleep condition of the user, and detecting the obtained sleep time data of different users for 10 continuous days.
S302, constructing a user sleep time information base according to the acquired sleep time data of different users within 10 continuous days.
S303, training the constructed sleep time recommendation network model according to the sleep time data of different users in the database to obtain the trained sleep time recommendation network model.
And S304, extracting sleep time data of the target user in the past 10 days from the user sleep time database.
S305, inputting the acquired sleep time data of the target user in the history of 10 days into the trained sleep time recommendation network model.
S306, calculating the historical sleep time of the target user through the trained sleep time recommendation network model, and outputting the recommended sleep time of the target user on the current day from the model.
As an alternative embodiment, determining the target sleep information of the target user within the second time period using the target model according to the sleep-related data comprises:
s31, acquiring the sleep related data, wherein the sleep related data comprises historical sleep duration, historical sleep time and the body characteristic information of the target user;
s32, determining the target sleeping time length of the target user in the second time period by using the target model according to the sleeping related data;
s33, acquiring the actual sleeping time of the target user in the second time period;
s34, determining the target getting-up time of the target user in the second time period based on the actual sleeping time and the target sleeping time.
Optionally, in this embodiment, the method for acquiring the actual time to fall asleep of the target user may be, but is not limited to, obtained by detecting state information of the target object through a wearable device or a non-wearable device, for example, detecting a body movement condition of the target object through a smart watch, detecting a body movement condition of the target object through a camera device, detecting a body movement of the target object through a smart mattress, or detecting a respiratory rate of the target object through the smart mattress, and the like, which is not limited in this respect.
Fig. 4 is a flow chart of an alternative wake up time recommendation according to an embodiment of the present application, as shown in fig. 4:
s401, detecting the body movement condition of the user through the intelligent mattress, and accordingly obtaining different daily sleeping time and corresponding sleeping time of the user.
S402, establishing a user sleep time database according to the obtained sleep time of different users and the corresponding sleep time.
And S403, training the sleep duration prediction network model according to the sleep data in the sleep duration database to obtain the trained sleep duration prediction network model.
S404, acquiring the sleep time data of the target user within the past 10 days.
S405, inputting the data of the sleep time of the target user within the past 10 days into the trained sleep time prediction network model.
S406, the sleep duration prediction network model calculates based on the sleep time data of the target user in the past 10 days, and outputs the recommended sleep duration of the target object on the current day.
S407, determining the time of falling asleep of the target user on the same day through the detection of the intelligent mattress on the body movement condition of the target user on the same day, and determining the recommended getting-up time of the target user according to the recommended sleep time.
As an alternative embodiment, the obtaining the actual time-to-sleep of the target user within the second time period comprises:
s41, acquiring the target time of the target user in the target sleep state in the second time period;
s42, determining the target time as the actual falling asleep time of the target user in the second time period.
Optionally, in the present embodiment, the target sleep state may include, but is not limited to, a light sleep state, a deep sleep state, and the like.
As an optional embodiment, the obtaining the target time that the target user is in the target sleep state within the second time period includes:
s51, obtaining a vibration amplitude output by the intelligent mattress, wherein the vibration amplitude is obtained by the intelligent mattress through body motion detection of the target user;
s52, detecting a target time period within which the vibration amplitude does not exceed a set threshold value in the second time period;
and S53, determining the time corresponding to the end point of the target time period as the target time.
Optionally, in this embodiment, the setting threshold may include, but is not limited to, 10, 20, 30, and the like.
Optionally, in this embodiment, the stronger the body motion of the target object, the higher the amplitude of the vibration that can only be output by the mattress.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present application is not limited by the order of acts described, as some steps may occur in other orders or concurrently depending on the application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
According to another aspect of the embodiments of the present application, there is also provided a target sleep information determination apparatus for implementing the above target sleep information determination method. Fig. 5 is a schematic diagram of an alternative apparatus for determining target sleep information according to an embodiment of the present application, and as shown in fig. 5, the apparatus may include:
an obtaining module 52, configured to obtain sleep-related data of a target subject in a first time period;
a determining module 54, configured to determine, according to the sleep-related data, target sleep information of the target user in a second time period by using a target model, where an end time of the first time period is earlier than a start time of the second time period, the target sleep information includes a target sleep time and a target wake-up time, and the target model is obtained by training an initial model by using reference sleep-related data.
It should be noted that the obtaining module 52 in this embodiment may be configured to execute step S202 in this embodiment, and the determining module 54 in this embodiment may be configured to execute step S204 in this embodiment.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the above embodiments. It should be noted that the modules described above as a part of the apparatus may operate in a hardware environment as shown in fig. 1, and may be implemented by software or hardware.
Through the module, the technical problem of low target sleep information efficiency of the target object can be solved, and the technical effect of improving the target sleep information efficiency of the target object is achieved.
Optionally, the determining module includes: the generating unit is used for generating a target operation instruction according to the target sleep information, wherein the target operation instruction is used for controlling the target terminal equipment to play target media information; and the sending unit is used for sending the target operation instruction to the target terminal equipment.
Optionally, the determining module includes: a first acquisition unit, configured to acquire a historical sleep time in the sleep-related data; a first determining unit, configured to determine a target sleep time of the target user within the second time period using the target model based on the historical sleep time.
Optionally, the determining module includes: the second acquisition unit is used for acquiring the sleep-related data, wherein the sleep-related data comprises historical sleep duration, historical sleep time and the body characteristic information of the target user; a second determining unit, configured to determine, according to the sleep-related data, a target sleep duration of the target user in the second time period by using the target model; a third obtaining unit, configured to obtain an actual sleep time of the target user in the second time period; a third determining unit, configured to determine a target getting-up time of the target user within the second time period based on the actual sleeping time and the target sleeping duration.
Optionally, the third obtaining unit is configured to: acquiring target time of the target user in a target sleep state in the second time period; determining the target time as the actual time to sleep of the target user within the second time period.
Optionally, the third obtaining unit is configured to: obtaining a vibration amplitude output by an intelligent mattress, wherein the vibration amplitude is obtained by the intelligent mattress through body motion detection of the target user; detecting a target time period within which the vibration amplitude does not exceed a set threshold within the second time period; and determining the time corresponding to the end point of the target time period as the target time.
It should be noted here that the modules described above are the same as the examples and application scenarios implemented by the corresponding steps, but are not limited to the disclosure of the above embodiments. It should be noted that the modules described above as a part of the apparatus may be operated in a hardware environment as shown in fig. 1, and may be implemented by software, or may be implemented by hardware, where the hardware environment includes a network environment.
According to another aspect of the embodiments of the present application, there is also provided an electronic apparatus for implementing the method for determining target sleep information.
Fig. 6 is a block diagram of an electronic device according to an embodiment of the present application, and as shown in fig. 6, the electronic device may include: one or more processors 601 (only one of which is shown), a memory 603, and a transmission 605. as shown in fig. 6, the electronic apparatus may further include an input-output device 607.
The memory 603 may be configured to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for determining target sleep information in the embodiment of the present application, and the processor 601 executes various functional applications and data processing by running the software programs and modules stored in the memory 603, that is, implementing the method for determining target sleep information. The memory 603 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 603 may further include memory located remotely from the processor 601, which may be connected to the electronic device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The above-mentioned transmission device 605 is used for receiving or sending data via a network, and may also be used for data transmission between a processor and a memory. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 605 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmission device 605 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
Among them, the memory 603 is used to store an application program, in particular.
The processor 601 may call the application stored in the memory 603 through the transmission device 605 to perform the following steps: acquiring sleep-related data of a target object in a first time period; and determining target sleep information of the target user in a second time period by using a target model according to the sleep related data, wherein the end time of the first time period is earlier than the start time of the second time period, the target sleep information comprises target sleep time and target getting-up time, and the target model is obtained by training an initial model by using reference sleep related data.
The embodiment of the application provides a method and a device for determining target sleep information. The original model is trained by using the previous reference sleep related data of the target object, so that a trained target model is obtained, the sleep related data of the target object in the previous time period is obtained, and the sleep related data is input into the trained target model, so that the target sleep information of the target object in the second event period can be generated, the purpose of determining the target sleep information of the target object according to the sleep related data is achieved, the technical effect of improving the efficiency of determining the target sleep information of the target object is achieved, and the technical problem of low efficiency of determining the target sleep information of the target object is solved.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
It will be understood by those skilled in the art that the structure shown in fig. 6 is merely an illustration, and the electronic device may be a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, and a Mobile Internet Device (MID), a PAD, etc. Fig. 6 is a diagram illustrating a structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 6, or have a different configuration than shown in FIG. 6.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program for instructing hardware associated with an electronic device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
Embodiments of the present application also provide a storage medium. Alternatively, in this embodiment, the storage medium may be a program code for executing the method for determining target sleep information.
Optionally, in this embodiment, the storage medium may be located on at least one of a plurality of network devices in a network shown in the above embodiment.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps: acquiring sleep-related data of a target object in a first time period; and determining target sleep information of the target user in a second time period by using a target model according to the sleep related data, wherein the end time of the first time period is earlier than the start time of the second time period, the target sleep information comprises target sleep time and target getting-up time, and the target model is obtained by training an initial model by using reference sleep related data.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a storage medium, and including instructions for causing one or more computer devices (which may be personal computers, servers, network devices, or the like) to execute all or part of the steps of the method described in the embodiments of the present application.
In the above embodiments of the present application, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present application and it should be noted that those skilled in the art can make several improvements and modifications without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (10)

1. A method for determining target sleep information, comprising:
acquiring sleep-related data of a target object in a first time period;
and determining target sleep information of the target user in a second time period by using a target model according to the sleep related data, wherein the end time of the first time period is earlier than the start time of the second time period, the target sleep information comprises target sleep time and target getting-up time, and the target model is obtained by training an initial model by using reference sleep related data.
2. The method of claim 1, wherein determining the target sleep information for the target user over the second time period using a target model based on the sleep-related data comprises:
generating a target operation instruction according to the target sleep information, wherein the target operation instruction is used for controlling the target terminal equipment to play target media information;
and sending the target operation instruction to target terminal equipment.
3. The method of claim 1, wherein determining the target sleep information of the target user for the second time period using the target model based on the sleep-related data comprises:
acquiring historical sleep time in the sleep related data;
determining a target time-to-sleep for the target user within the second time period using the target model based on the historical time-to-sleep.
4. The method of claim 1, wherein determining the target sleep information of the target user for the second time period using the target model based on the sleep-related data comprises:
acquiring the sleep related data, wherein the sleep related data comprises historical sleep duration, historical sleep time and the body characteristic information of the target user;
determining a target sleep duration of the target user within the second time period using the target model according to the sleep-related data;
acquiring the actual sleep time of the target user in the second time period;
determining a target wake-up time of the target user within the second time period based on the actual time to sleep and the target sleep duration.
5. The method of claim 4, wherein obtaining the actual time to sleep of the target user over the second time period comprises:
acquiring target time of the target user in a target sleep state in the second time period;
determining the target time as the actual time to sleep of the target user within the second time period.
6. The method of claim 5, wherein obtaining the target time that the target user is in the target sleep state for the second time period comprises:
obtaining a vibration amplitude output by an intelligent mattress, wherein the vibration amplitude is obtained by the intelligent mattress through body motion detection of the target user;
detecting a target time period within which the vibration amplitude does not exceed a set threshold within the second time period;
and determining the time corresponding to the end point of the target time period as the target time.
7. An apparatus for determining target sleep information, comprising:
the acquisition module is used for acquiring sleep related data of a target object in a first time period;
the determining module is used for determining target sleep information of a target user in a second time period by using a target model according to the sleep related data, wherein the end time of the first time period is earlier than the start time of the second time period, the target sleep information comprises target sleep time and target getting-up time, and the target model is obtained by training an initial model by using reference sleep related data.
8. The apparatus of claim 7, wherein the determining module comprises:
the generating unit is used for generating a target operation instruction according to the target sleep information, wherein the target operation instruction is used for controlling the target terminal equipment to play target media information;
and the sending unit is used for sending the target operation instruction to the target terminal equipment.
9. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program when executed performs the method of any of the preceding claims 1 to 6.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor executes the method of any of the preceding claims 1 to 6 by means of the computer program.
CN202110181932.0A 2021-02-09 2021-02-09 Method and device for determining target sleep information Withdrawn CN112819084A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110181932.0A CN112819084A (en) 2021-02-09 2021-02-09 Method and device for determining target sleep information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110181932.0A CN112819084A (en) 2021-02-09 2021-02-09 Method and device for determining target sleep information

Publications (1)

Publication Number Publication Date
CN112819084A true CN112819084A (en) 2021-05-18

Family

ID=75864961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110181932.0A Withdrawn CN112819084A (en) 2021-02-09 2021-02-09 Method and device for determining target sleep information

Country Status (1)

Country Link
CN (1) CN112819084A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112669085A (en) * 2021-01-04 2021-04-16 北京明略软件系统有限公司 Method and device for determining target event data
CN115779229A (en) * 2022-12-08 2023-03-14 深圳正岸健康科技有限公司 Method and system for improving sleep

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106170041A (en) * 2016-07-12 2016-11-30 乐视控股(北京)有限公司 Alarm clock prompting method, device and terminal
CN106326672A (en) * 2016-08-31 2017-01-11 珠海多士科技有限公司 Falling into sleep detecting method and system
CN106540367A (en) * 2016-11-01 2017-03-29 北京小米移动软件有限公司 Dormancy management method and Intelligent bracelet
CN108133363A (en) * 2018-02-05 2018-06-08 广东欧珀移动通信有限公司 Sleep based reminding method, device, terminal and storage medium
CN109246291A (en) * 2018-08-17 2019-01-18 奇酷互联网络科技(深圳)有限公司 Mobile terminal and sleep based reminding method, device
CN111568380A (en) * 2020-05-19 2020-08-25 北京顺源开华科技有限公司 Alarm clock setting method, device and equipment based on wake-up time prediction

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106170041A (en) * 2016-07-12 2016-11-30 乐视控股(北京)有限公司 Alarm clock prompting method, device and terminal
CN106326672A (en) * 2016-08-31 2017-01-11 珠海多士科技有限公司 Falling into sleep detecting method and system
CN106540367A (en) * 2016-11-01 2017-03-29 北京小米移动软件有限公司 Dormancy management method and Intelligent bracelet
CN108133363A (en) * 2018-02-05 2018-06-08 广东欧珀移动通信有限公司 Sleep based reminding method, device, terminal and storage medium
CN109246291A (en) * 2018-08-17 2019-01-18 奇酷互联网络科技(深圳)有限公司 Mobile terminal and sleep based reminding method, device
CN111568380A (en) * 2020-05-19 2020-08-25 北京顺源开华科技有限公司 Alarm clock setting method, device and equipment based on wake-up time prediction

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112669085A (en) * 2021-01-04 2021-04-16 北京明略软件系统有限公司 Method and device for determining target event data
CN115779229A (en) * 2022-12-08 2023-03-14 深圳正岸健康科技有限公司 Method and system for improving sleep
CN115779229B (en) * 2022-12-08 2024-02-02 深圳正岸健康科技有限公司 Method and system for improving sleep

Similar Documents

Publication Publication Date Title
CN112819084A (en) Method and device for determining target sleep information
CN112532885B (en) Anti-shake method and device and electronic equipment
CN108063804A (en) Communication means and device
CN105357653A (en) Reminding method and terminal
CN105117608A (en) Information interaction method and device
CN105426069A (en) Method And Apparatus For Generating Preview Data
CN106550101B (en) Event reminding method and device
CN112528266A (en) Visiting registration method and related device
CN103902040A (en) Processing device and method for mobile terminal and electronic device
CN110730330A (en) Sound processing method and related product
CN108986809B (en) Portable equipment and awakening method and device thereof
CN103905837A (en) Image processing method and device and terminal
CN106022051A (en) Retrieving method of mobile terminal and mobile terminal
WO2021081768A1 (en) Interface switching method and apparatus, wearable electronic device and storage medium
CN112305927A (en) Equipment control method and device
CN105450850A (en) Method for providing information and electronic device thereof
CN107290951B (en) Alarm clock setting method and related product
CN108809815A (en) Item number update method, conversation processing method, device and system are not read in session
CN112820302B (en) Voiceprint recognition method, voiceprint recognition device, electronic equipment and readable storage medium
CN105282714A (en) Life care and rescue system
CN110738812B (en) Doorbell prompting method and related product
CN110177234B (en) Video call method based on scene recognition and wearable device
CN107998498A (en) Intelligence wakes monitoring method, device, mobile terminal and storage medium
CN111988350A (en) Method for synchronously storing data acquired by heart rate earphone to cloud server
CN112565510B (en) Intelligent control method for physical exercise and related device

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
WW01 Invention patent application withdrawn after publication

Application publication date: 20210518

WW01 Invention patent application withdrawn after publication