[go: up one dir, main page]

CN108536996B - Automatic sleep coaxing method, device, storage medium and smart crib - Google Patents

Automatic sleep coaxing method, device, storage medium and smart crib Download PDF

Info

Publication number
CN108536996B
CN108536996B CN201810172557.1A CN201810172557A CN108536996B CN 108536996 B CN108536996 B CN 108536996B CN 201810172557 A CN201810172557 A CN 201810172557A CN 108536996 B CN108536996 B CN 108536996B
Authority
CN
China
Prior art keywords
sleep
crib
soothing
coaxing
baby
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.)
Expired - Fee Related
Application number
CN201810172557.1A
Other languages
Chinese (zh)
Other versions
CN108536996A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201810172557.1A priority Critical patent/CN108536996B/en
Publication of CN108536996A publication Critical patent/CN108536996A/en
Application granted granted Critical
Publication of CN108536996B publication Critical patent/CN108536996B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47DFURNITURE SPECIALLY ADAPTED FOR CHILDREN
    • A47D15/00Accessories for children's furniture, e.g. safety belts or baby-bottle holders
    • AHUMAN NECESSITIES
    • A47FURNITURE; DOMESTIC ARTICLES OR APPLIANCES; COFFEE MILLS; SPICE MILLS; SUCTION CLEANERS IN GENERAL
    • A47DFURNITURE SPECIALLY ADAPTED FOR CHILDREN
    • A47D9/00Cradles ; Bassinets
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/174Facial expression recognition
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16ZINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS, NOT OTHERWISE PROVIDED FOR
    • G16Z99/00Subject matter not provided for in other main groups of this subclass

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Theoretical Computer Science (AREA)
  • Pediatric Medicine (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Abstract

The disclosure relates to an automatic sleeping method, an automatic sleeping device, a storage medium and an intelligent baby crib. The method comprises the following steps: acquiring current state information for representing the current state of a baby in the crib; inquiring historical sleep-soothing data according to the current time and the current state information, wherein the historical sleep-soothing data at least comprises the sleep-soothing starting and stopping time of each previous sleep-soothing process, sleep-soothing operation executed by the infant bed in each sleep-soothing process and the state information of the infant before entering each sleep-soothing process; when the sleep-soothing data matched with the current time and the current state information is inquired in the historical sleep-soothing data, determining target sleep-soothing operation to be executed by the infant bed and target sleep-soothing duration according to the matched sleep-soothing data; and controlling the crib to execute the target sleep-soothing operation according to the target sleep-soothing duration. Therefore, the crib can be timely and automatically controlled to sleep the baby without user intervention, the trouble of manual operation is omitted for the user, and the user experience is improved.

Description

自动哄睡方法、装置、存储介质及智能婴儿床Automatic sleep coaxing method, device, storage medium and smart crib

技术领域technical field

本公开涉及通信领域,具体地,涉及一种自动哄睡方法、装置、存储介质及智能婴儿床。The present disclosure relates to the field of communications, and in particular, to an automatic sleep coaxing method, device, storage medium, and smart crib.

背景技术Background technique

在有婴儿存在的家庭中,常常会购买婴儿床作为常用工具。婴儿可以在婴儿床内活动或者睡觉,父母还可以通过摇晃婴儿床对婴儿进行哄睡。但是,由于婴儿常常需要父母哄睡,父母需要长时间摇晃婴儿床以哄睡婴儿,且哄睡次数也十分频繁,这种方式十分不便。In families with babies, a crib is often purchased as a common tool. Babies can move or sleep in the crib, and parents can also rock the crib to coax the baby to sleep. However, since the baby often needs to be coaxed to sleep by the parents, the parents need to shake the crib for a long time to coax the baby to sleep, and the coaxing frequency is also very frequent, which is very inconvenient.

发明内容SUMMARY OF THE INVENTION

为克服相关技术中存在的问题,本公开提供一种自动哄睡方法、装置、存储介质及智能婴儿床。In order to overcome the problems existing in the related art, the present disclosure provides an automatic sleep coaxing method, device, storage medium and intelligent baby crib.

根据本公开实施例的第一方面,提供一种自动哄睡方法,所述方法包括:获取用于表示婴儿床中婴儿当前状态的当前状态信息;根据当前时间以及所述当前状态信息查询历史哄睡数据,其中,所述历史哄睡数据至少包括以往各次哄睡过程的哄睡起止时间、所述婴儿床在各次哄睡过程中所执行的哄睡操作、以及在进入各次哄睡过程之前婴儿的状态信息;当在所述历史哄睡数据中查询到与所述当前时间和所述当前状态信息相匹配的哄睡数据时,根据所述相匹配的哄睡数据,确定所述婴儿床要执行的目标哄睡操作及目标哄睡时长;根据所述目标哄睡时长,控制所述婴儿床执行所述目标哄睡操作。According to a first aspect of the embodiments of the present disclosure, there is provided an automatic sleep coaxing method, the method comprising: acquiring current state information representing the current state of a baby in a crib; querying historical coaxing according to the current time and the current state information Sleep data, wherein the historical sleep coax data includes at least the start and end times of previous sleep coaxing processes, the sleep coaxing operations performed by the crib in each sleep coaxing process, and the sleep coaxing operations performed during each sleep coaxing process, The state information of the baby before the procedure; when the sleep coaxing data matching the current time and the current state information is queried in the historical sleep coaxing data, according to the matching sleep coaxing data, determine the The target sleep coaxing operation to be performed by the crib and the target sleep coaxing duration; according to the target coaxing sleep duration, the baby crib is controlled to perform the target sleep coaxing operation.

可选地,所述获取用于表示婴儿床中婴儿当前状态的当前状态信息,包括:接收以下检测信息中的一者或多者:摄像头拍摄的所述婴儿的面部图像信息、声音传感器检测到的婴儿声音信息、婴儿佩戴的智能穿戴设备检测的婴儿体征信息、所述智能穿戴设备检测的婴儿体动信息;根据接收到的检测信息,确定婴儿的当前状态,获得所述当前状态信息。Optionally, the acquiring the current state information used to represent the current state of the baby in the crib includes: receiving one or more of the following detection information: the facial image information of the baby captured by the camera, the sound sensor detected According to the received detection information, determine the current state of the baby, and obtain the current state information.

可选地,所述根据当前时间以及所述当前状态信息查询历史哄睡数据,包括:当所述当前状态信息表示所述婴儿当前处于啼哭状态时,根据当前时间以及所述当前状态信息查询历史哄睡数据。Optionally, the querying historical sleep coaxing data according to the current time and the current state information includes: when the current state information indicates that the baby is currently in a crying state, querying the history according to the current time and the current state information. Sleep data.

可选地,所述根据所述目标哄睡时长,控制所述婴儿床执行所述目标哄睡操作,包括:当所述婴儿被放置到所述婴儿床上后,控制所述婴儿床开始执行所述目标哄睡操作,并在执行所述目标哄睡操作的时长达到所述目标哄睡时长时,停止执行所述目标哄睡操作。Optionally, the controlling the crib to perform the target coaxing operation according to the target coaxing duration includes: after the baby is placed on the crib, controlling the crib to start executing the target coaxing operation. The target sleep coaxing operation is executed, and when the duration of executing the target sleep coaxing operation reaches the target sleep coaxing duration, the execution of the target sleep coaxing operation is stopped.

可选地,所述方法还包括:根据所述婴儿床上设置的重力传感器的检测数据,确定所述婴儿是否被放置到所述婴儿床上。Optionally, the method further includes: determining whether the infant is placed on the crib according to detection data of a gravity sensor disposed on the crib.

可选地,所述方法还包括:当所述当前状态信息表示所述婴儿当前处于啼哭状态时,根据预先标记的啼哭时段与啼哭原因之间的对应关系,确定与所述当前时间相对应的啼哭原因;输出提醒消息,所述提醒消息用于提示所述啼哭原因。Optionally, the method further includes: when the current state information indicates that the baby is currently in a crying state, according to the corresponding relationship between the pre-marked crying period and the reason for crying, determining the corresponding current time. The reason for crying; output a reminder message, the reminder message is used to prompt the reason for crying.

可选地,所述目标哄睡操作包括以下一者或多者:所述婴儿床的摆动幅度、所述婴儿床的摆动频率、所述婴儿床的音频播放模式。Optionally, the target sleep coaxing operation includes one or more of the following: a swing amplitude of the crib, a swing frequency of the crib, and an audio playback mode of the crib.

根据本公开实施例的第二方面,提供一种自动哄睡装置,所述装置包括:获取模块,被配置为获取用于表示婴儿床中婴儿当前状态的当前状态信息;查询模块,被配置为根据当前时间以及所述当前状态信息查询历史哄睡数据,其中,所述历史哄睡数据至少包括以往各次哄睡过程的哄睡起止时间、所述婴儿床在各次哄睡过程中所执行的哄睡操作、以及在进入各次哄睡过程之前婴儿的状态信息;第一确定模块,被配置为当在所述历史哄睡数据中查询到与所述当前时间和所述当前状态信息相匹配的哄睡数据时,根据所述相匹配的哄睡数据,确定所述婴儿床要执行的目标哄睡操作及目标哄睡时长;控制模块,被配置为根据所述目标哄睡时长,控制所述婴儿床执行所述目标哄睡操作。According to a second aspect of the embodiments of the present disclosure, there is provided an automatic sleep coaxing device, the device comprising: an acquisition module configured to acquire current state information representing the current state of the baby in the crib; a query module configured to The historical sleep coaxing data is queried according to the current time and the current state information, wherein the historical sleep coaxing data at least includes the sleep coaxing start and end times of previous sleep coaxing processes, and the execution times of the crib in each sleep coaxing process. and the state information of the baby before entering each sleep coaxing process; the first determining module is configured to, when the historical sleep coaxing data is queried and related to the current time and the current state information When matching sleep coaxing data, according to the matching sleep coaxing data, determine the target sleep coaxing operation to be performed by the crib and the target coaxing sleep duration; the control module is configured to control the target sleep coaxing duration according to the target coaxing duration. The crib performs the target sleep-soothing operation.

可选地,所述获取模块包括:接收子模块,被配置为接收以下检测信息中的一者或多者:摄像头拍摄的所述婴儿的面部图像信息、声音传感器检测到的婴儿声音信息、婴儿佩戴的智能穿戴设备检测的婴儿体征信息、所述智能穿戴设备检测的婴儿体动信息;第一确定子模块,被配置为根据接收到的检测信息,确定婴儿的当前状态,获得所述当前状态信息。Optionally, the acquisition module includes: a receiving sub-module configured to receive one or more of the following detection information: facial image information of the baby captured by a camera, baby voice information detected by a sound sensor, baby The baby's physical sign information detected by the smart wearable device and the baby's body movement information detected by the smart wearable device; the first determination sub-module is configured to determine the current state of the baby according to the received detection information, and obtain the current state information.

可选地,所述查询模块被配置为当所述当前状态信息表示所述婴儿当前处于啼哭状态时,根据当前时间以及所述当前状态信息查询历史哄睡数据。Optionally, the query module is configured to query historical sleep coaxing data according to the current time and the current state information when the current state information indicates that the baby is currently in a crying state.

可选地,所述控制模块被配置为当所述婴儿被放置到所述婴儿床上后,控制所述婴儿床开始执行所述目标哄睡操作,并在执行所述目标哄睡操作的时长达到所述目标哄睡时长时,停止执行所述目标哄睡操作。Optionally, the control module is configured to, after the baby is placed on the crib, control the crib to start executing the target sleep coaxing operation, and the duration of executing the target sleep coaxing operation reaches When the target sleep coaxing time is long, the execution of the target sleep coaxing operation is stopped.

可选地,所述控制模块包括:第二确定子模块,被配置为根据所述婴儿床上设置的重力传感器的检测数据,确定所述婴儿是否被放置到所述婴儿床上。Optionally, the control module includes: a second determination submodule configured to determine whether the infant is placed on the crib according to detection data of a gravity sensor provided on the crib.

可选地,所述装置还包括:第二确定模块,被配置为当所述当前状态信息表示所述婴儿当前处于啼哭状态时,根据预先标记的啼哭时段与啼哭原因之间的对应关系,确定与所述当前时间相对应的啼哭原因;输出模块,被配置为输出提醒消息,所述提醒消息用于提示所述啼哭原因。Optionally, the device further includes: a second determination module configured to determine, according to the correspondence between the pre-marked crying period and the reason for crying, when the current state information indicates that the baby is currently in a crying state. the reason for crying corresponding to the current time; the output module is configured to output a reminder message, and the reminder message is used to prompt the reason for crying.

可选地,所述目标哄睡操作包括以下一者或多者:所述婴儿床的摆动幅度、所述婴儿床的摆动频率、所述婴儿床的音频播放模式。Optionally, the target sleep coaxing operation includes one or more of the following: a swing amplitude of the crib, a swing frequency of the crib, and an audio playback mode of the crib.

根据本公开实施例的第三方面,提供一种自动哄睡装置,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为运行所述存储器中的指令以实现本公开第一方面所提供的自动哄睡方法的步骤。According to a third aspect of the embodiments of the present disclosure, there is provided an automatic sleep coaxing device, comprising: a processor; a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions in the memory In order to realize the steps of the automatic sleep coaxing method provided by the first aspect of the present disclosure.

根据本公开实施例的第四方面,提供一种计算机可读存储介质,其上存储有计算机程序指令,该程序指令被处理器执行时实现本公开第一方面所提供的自动哄睡方法的步骤。According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium on which computer program instructions are stored, and when the program instructions are executed by a processor, implement the steps of the automatic sleep coaxing method provided in the first aspect of the present disclosure .

根据本公开实施例的第五方面,提供一种智能婴儿床,包括:床体;状态检测模块,用于获取婴儿床中婴儿的当前状态信息;存储器,用于存储处理器可执行指令;处理器,被配置为运行所述存储器中的指令以实现本公开第一方面所提供的自动哄睡方法的步骤。According to a fifth aspect of the embodiments of the present disclosure, there is provided a smart crib, including: a bed body; a state detection module for acquiring current state information of a baby in the crib; a memory for storing processor executable instructions; processing A device is configured to execute the instructions in the memory to implement the steps of the automatic sleep coaxing method provided by the first aspect of the present disclosure.

通过上述技术方案,根据婴儿床内婴儿的当前状态以及历史哄睡数据,在确定婴儿需要哄睡时,自动对婴儿进行哄睡。这样,可以在婴儿出现与之前相似的情况时直接根据历史记录自动照顾婴儿,在无需用户干预的情况下及时且自动对婴儿床进行控制以对婴儿进行哄睡,为用户省去手动操作的麻烦,提升用户体验。Through the above technical solution, according to the current state of the baby in the crib and the historical sleep coaxing data, when it is determined that the baby needs to be coaxed to sleep, the baby is automatically coaxed to sleep. In this way, the baby can be automatically taken care of according to the historical records when the baby is in a similar situation as before, and the crib can be controlled in a timely and automatic manner without user intervention to coax the baby to sleep, saving the user the trouble of manual operation , to improve the user experience.

本公开的其他特征和优点将在随后的具体实施方式部分予以详细说明。Other features and advantages of the present disclosure will be described in detail in the detailed description that follows.

附图说明Description of drawings

附图是用来提供对本公开的进一步理解,并且构成说明书的一部分,与下面的具体实施方式一起用于解释本公开,但并不构成对本公开的限制。在附图中:The accompanying drawings are used to provide a further understanding of the present disclosure, and constitute a part of the specification, and together with the following detailed description, are used to explain the present disclosure, but not to limit the present disclosure. In the attached image:

图1是根据一示例性实施例示出的一种自动哄睡方法的流程图。Fig. 1 is a flowchart of an automatic sleep coaxing method according to an exemplary embodiment.

图2是根据本公开提供的自动哄睡方法中,获取当前状态信息的步骤的一种示例性实现方式的流程图。FIG. 2 is a flowchart of an exemplary implementation manner of the steps of acquiring current state information in the automatic sleep coaxing method provided according to the present disclosure.

图3是根据另一示例性实施例示出的一种自动哄睡方法的流程图。Fig. 3 is a flowchart of an automatic sleep coaxing method according to another exemplary embodiment.

图4是根据一示例性实施例示出的一种自动哄睡装置的框图。Fig. 4 is a block diagram of an automatic sleeping device according to an exemplary embodiment.

图5是根据另一示例性实施例示出的一种自动哄睡装置的框图。Fig. 5 is a block diagram of an automatic sleeping device according to another exemplary embodiment.

图6是根据另一示例性实施例示出的一种自动哄睡装置的框图。Fig. 6 is a block diagram of an automatic sleeping device according to another exemplary embodiment.

图7是根据另一示例性实施例示出的一种自动哄睡装置的框图。Fig. 7 is a block diagram of an automatic sleeping device according to another exemplary embodiment.

图8是根据一示例性实施例示出的一种自动哄睡装置的框图。Fig. 8 is a block diagram of an automatic sleeping device according to an exemplary embodiment.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. Where the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the illustrative examples below are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.

需要说明的是,本公开提供的方法可以应用于诸如婴儿床、智能终端(例如,智能手机、平板电脑、智能穿戴设备等)、服务器等,在后文中将会对几种可能的方法执行主体在执行相应方法时的实施例进行详细说明。It should be noted that the method provided by the present disclosure can be applied to such as cribs, smart terminals (eg, smart phones, tablet computers, smart wearable devices, etc.), servers, etc., and the main body of several possible methods will be executed in the following. The embodiments when performing the corresponding methods are described in detail.

图1是根据一示例性实施例示出的一种自动哄睡方法的流程图。如图1所示,该方法可以包括以下步骤。Fig. 1 is a flowchart of an automatic sleep coaxing method according to an exemplary embodiment. As shown in Figure 1, the method may include the following steps.

在步骤101中,获取当前状态信息。In step 101, current state information is acquired.

当前状态信息可以用于表示婴儿床中婴儿当前状态。当前状态信息可以例如是任意字符或字符串。婴儿当前状态可以例如为睡眠状态、啼哭状态等。示例地,若当前状态信息为数字组合,且数字22对应的婴儿当前状态为睡眠状态、数字23对应的婴儿当前状态为啼哭状态,那么若当前状态信息为23,则表示婴儿床中婴儿当前状态为啼哭状态。The current state information can be used to indicate the current state of the baby in the crib. The current state information can be, for example, any character or string. The current state of the baby may be, for example, a sleeping state, a crying state, or the like. For example, if the current state information is a combination of numbers, and the current state of the baby corresponding to the number 22 is the sleeping state, and the current state of the baby corresponding to the number 23 is the crying state, then if the current state information is 23, it means the current state of the baby in the crib. in a state of crying.

在一种实施方式中,如图2所示,步骤101可以包括以下步骤。In one embodiment, as shown in FIG. 2 , step 101 may include the following steps.

在步骤201中,接收检测信息。In step 201, detection information is received.

检测信息可以包括但不限于以下中的一者或多者:婴儿的面部图像信息、婴儿声音信息、婴儿的体征信息、婴儿体动信息。The detection information may include, but is not limited to, one or more of the following: baby's facial image information, baby's voice information, baby's physical sign information, and baby's body movement information.

婴儿的面部图像信息可以通过摄像头获取。示例地,该摄像头可以安装在婴儿床上或者安装在婴儿床附近,以对婴儿床中婴儿的面部图像信息进行采集。婴儿声音信息可以通过声音传感器获取,示例地,声音传感器可以设置于婴儿床上,或者,声音传感器可以设置在婴儿所佩戴的智能穿戴设备(例如,智能手环、智能项链)上,以便对婴儿床中婴儿的声音信息进行采集。婴儿体征信息或者婴儿体动信息可以通过婴儿佩戴的智能穿戴设备进行检测。示例地,婴儿可以佩戴智能手环,该智能手环可以实时检测婴儿的体征信息和/或婴儿体动信息。The baby's facial image information can be obtained through the camera. For example, the camera can be installed on or near the crib to collect facial image information of the baby in the crib. The baby's sound information can be acquired through a sound sensor. For example, the sound sensor can be set on a crib, or the sound sensor can be set on a smart wearable device (for example, a smart bracelet, a smart necklace) worn by the baby, so that the baby's cot can be adjusted. The baby's voice information is collected. The baby's physical sign information or the baby's body movement information can be detected by the smart wearable device worn by the baby. For example, the baby can wear a smart bracelet, and the smart bracelet can detect the baby's physical information and/or the baby's body movement information in real time.

在一种情况中,当该方法应用于婴儿床时,婴儿床的相应模块(例如,婴儿床的处理器)可以接收摄像头采集到的婴儿的面部图像信息、声音传感器采集到的声音信息、以及智能穿戴设备检测到的婴儿体征信息及体动信息。In one case, when the method is applied to a crib, a corresponding module of the crib (eg, a processor of the crib) may receive the baby's facial image information collected by the camera, the sound information collected by the sound sensor, and The baby's sign information and body motion information detected by the smart wearable device.

在另一种情况中,当该方法应用于智能终端(例如,智能手机、平板电脑、智能穿戴设备等)时,智能终端可以接收婴儿的面部图像信息、婴儿声音信息、婴儿体征信息及体动信息。In another case, when the method is applied to a smart terminal (eg, a smart phone, a tablet computer, a smart wearable device, etc.), the smart terminal can receive the baby's facial image information, baby voice information, baby physical sign information and body movement information.

在另一种情况中,当该方法应用于服务器时,服务器可以接收婴儿的面部图像信息、婴儿声音信息、婴儿体征信息及体动信息。In another case, when the method is applied to the server, the server may receive the baby's facial image information, the baby's voice information, the baby's physical sign information, and the body motion information.

在步骤202中,根据接收到的检测信息,确定婴儿的当前状态,获得当前状态信息。In step 202, the current state of the baby is determined according to the received detection information, and current state information is obtained.

在一种实施方式中,根据接收到的检测信息,以及检测信息与婴儿状态之间的对应关系,可以确定婴儿的当前状态,进而获得当前状态信息。可选地,若接收到的检测信息为多项,可以通过任意一项检测信息以及检测信息与婴儿状态之间的对应关系,确定婴儿的当前状态。示例地,若检测信息与婴儿状态之间的对应关系中包含婴儿声音信息与婴儿状态之间的对应关系,且婴儿声音大于或等于50db(分贝)对应婴儿的啼哭状态,那么例如当接收到的检测信息为婴儿声音信息且婴儿的声音信息显示婴儿声音为65db时,可以确定婴儿的当前状态为啼哭状态,获得的当前状态信息即为用于表示婴儿处于啼哭状态的信息。In one embodiment, according to the received detection information and the corresponding relationship between the detection information and the status of the baby, the current status of the baby can be determined, and then the current status information can be obtained. Optionally, if there are multiple items of detection information received, the current state of the baby can be determined by using any item of detection information and the corresponding relationship between the detection information and the baby's state. For example, if the corresponding relationship between the detection information and the baby state includes the corresponding relationship between the baby voice information and the baby state, and the baby voice is greater than or equal to 50db (decibel) corresponding to the baby's crying state, then, for example, when the received When the detection information is baby voice information and the baby's voice information shows that the baby's voice is 65db, it can be determined that the current state of the baby is a crying state, and the obtained current state information is the information used to indicate that the baby is in a crying state.

在一种情况中,该方法可以应用于婴儿床。示例地,婴儿床的相应模块(例如,婴儿床的存储器)可以存储有检测信息与婴儿状态之间的对应关系,或者,婴儿床可以从例如智能终端、服务器等设备获取检测信息与婴儿状态之间的对应关系。根据婴儿床接收到的检测信息以及上述检测信息与婴儿状态之间的对应关系,可以确定婴儿的当前状态,进而获得当前状态信息。In one instance, the method can be applied to a crib. For example, the corresponding module of the crib (for example, the memory of the crib) may store the correspondence between the detection information and the status of the baby, or the crib may obtain the relationship between the detection information and the status of the baby from devices such as smart terminals, servers, etc. Correspondence between. According to the detection information received by the crib and the corresponding relationship between the detection information and the state of the baby, the current state of the baby can be determined, and then the current state information can be obtained.

在另一种情况中,该方法可以应用于智能终端。示例地,智能终端可以预先存储有检测信息与婴儿状态之间的对应关系,或者,智能终端可以从例如婴儿床、服务器等设备获取检测信息与婴儿状态信息之间的对应关系。在智能终端接收到检测信息后,根据该检测信息以及上述检测信息与婴儿状态之间的对应关系,可以确定婴儿的当前状态,进而获得当前状态信息。In another case, the method can be applied to a smart terminal. For example, the intelligent terminal may pre-store the correspondence between the detection information and the baby state, or the intelligent terminal may acquire the correspondence between the detection information and the baby state information from devices such as a crib, a server, and the like. After the intelligent terminal receives the detection information, the current state of the baby can be determined according to the detection information and the corresponding relationship between the detection information and the state of the baby, and then the current state information can be obtained.

在另一种情况中,该方法可以应用于服务器。示例地,服务器可以存储有检测信息与婴儿状态之间的对应关系,或者,服务器可以从例如婴儿床、智能终端等设备获取检测信息与婴儿状态信息之间的对应关系。在服务器接收到检测信息后,根据该检测信息以及上述检测信息与婴儿状态之间的对应关系,可以确定婴儿的当前状态,进而获得当前状态信息。In another case, the method can be applied to the server. For example, the server may store the correspondence between the detection information and the baby's state, or the server may acquire the correspondence between the detection information and the baby's state information from a device such as a crib, a smart terminal, or the like. After the server receives the detection information, the current state of the baby can be determined according to the detection information and the corresponding relationship between the detection information and the state of the baby, and then the current state information can be obtained.

在另一种实施方式中,根据接收到的检测信息,以及预定的状态确定模型(如,神经网络模型),可以确定婴儿的当前状态,进而获得当前状态信息。In another implementation manner, according to the received detection information and a predetermined state determination model (eg, a neural network model), the current state of the infant may be determined, thereby obtaining current state information.

在一种情况中,该方法可以应用于婴儿床。示例地,婴儿床的相应模块(例如,婴儿床的存储器)可以预先存储有预定的状态确定模型,或者,婴儿床可以从例如智能终端、服务器等设备获取该状态确定模型。根据接收到的检测信息,以及该状态确定模型,可以确定婴儿的当前状态,进而获得当前状态信息。In one instance, the method can be applied to a crib. For example, a corresponding module of the crib (eg, the memory of the crib) may pre-store a predetermined state determination model, or the crib may acquire the state determination model from a device such as a smart terminal, a server, or the like. According to the received detection information and the state determination model, the current state of the baby can be determined, and then the current state information can be obtained.

在另一种情况中,该方法可以应用于智能终端。示例地,智能终端可以预先存储有预定的状态确定模型,或者,智能终端可以从例如婴儿床、服务器等设备获取该状态确定模型。在智能终端接收到检测信息后,根据该检测信息以及上述状态确定模型,可以确定婴儿的当前状态,进而获得当前状态信息。In another case, the method can be applied to a smart terminal. For example, the smart terminal may store a predetermined state determination model in advance, or the smart terminal may acquire the state determination model from a device such as a crib, a server, or the like. After the intelligent terminal receives the detection information, the current state of the baby can be determined according to the detection information and the above-mentioned state determination model, and then the current state information can be obtained.

在另一种情况中,该方法可以应用于服务器。示例地,服务器可以存储有预定的状态确定模型,或者,服务器可以从例如婴儿床、智能终端等设备获取该状态确定模型。在服务器接收到检测信息后,根据该检测信息以及上述状态确定模型,可以确定婴儿的当前状态,进而获得当前状态信息。In another case, the method can be applied to the server. For example, the server may store a predetermined state determination model, or the server may acquire the state determination model from a device such as a crib, a smart terminal, or the like. After the server receives the detection information, the current state of the baby can be determined according to the detection information and the above-mentioned state determination model, and then the current state information can be obtained.

在另一种实施方式中,根据接收到的检测信息,可以将其发送至其他设备,并根据该设备反馈的相应结果,以获得当前状态信息。In another implementation manner, according to the received detection information, it can be sent to other devices, and current status information can be obtained according to the corresponding results fed back by the device.

在一种情况中,当该方法应用于婴儿床时,婴儿床可以将接收到的检测信息发送至例如智能终端、服务器等设备,以使智能终端、服务器等根据该检测信息确定婴儿的当前状态,婴儿床可以接收确定结果。示例地,该确定结果可以用于指示婴儿的当前状态,或者,该确定结果可以用于指示当前状态信息。根据该确定结果,婴儿床可以获得当前状态信息。In one case, when the method is applied to a crib, the crib can send the received detection information to a device such as a smart terminal, a server, etc., so that the smart terminal, the server, etc. can determine the current state of the baby according to the detection information , the crib can receive confirmation results. For example, the determination result may be used to indicate the current state of the baby, or the determination result may be used to indicate current state information. According to the determination result, the crib can obtain current state information.

在另一种情况中,当该方法应用于智能终端时,智能终端可以将接收到的检测信息发送至例如婴儿床、服务器等设备,以使其根据该检测信息确定婴儿的当前状态,智能终端可以接收确定结果。示例地,该确定结果可以用于指示婴儿的当前状态,或者,该确定结果可以用于指示当前状态信息。根据该确定结果,智能终端可以获得当前状态信息。In another case, when the method is applied to a smart terminal, the smart terminal can send the received detection information to a device such as a crib, a server, etc., so that it can determine the current state of the baby according to the detection information, and the smart terminal Confirmation results can be received. For example, the determination result may be used to indicate the current state of the baby, or the determination result may be used to indicate current state information. According to the determination result, the smart terminal can obtain current state information.

在另一种情况中,当该方法应用于服务器时,服务器可以将接收到的检测信息发送至例如婴儿床、智能终端等设备,以使其根据该检测信息确定婴儿的当前状态,服务器可以接收确定结果。示例地,该确定结果可以用于指示婴儿的当前状态,或者,该确定结果可以用于指示当前状态信息。根据该确定结果,服务器可以获得当前状态信息。In another case, when the method is applied to the server, the server can send the received detection information to a device such as a crib, a smart terminal, etc., so that it can determine the current state of the baby according to the detection information, and the server can receive Determine the result. For example, the determination result may be used to indicate the current state of the baby, or the determination result may be used to indicate current state information. According to the determination result, the server can obtain the current state information.

回到图1,在步骤102中,根据当前时间以及当前状态信息查询历史哄睡数据。Returning to FIG. 1 , in step 102 , the historical sleep coaxing data is queried according to the current time and current state information.

可选地,历史哄睡数据可以至少包括但不限于以下信息:以往各次哄睡过程的哄睡起止时间、婴儿床在各次哄睡过程中所执行的哄睡操作、在进入各次哄睡过程之前婴儿的状态信息。其中,针对历史哄睡数据中的某一次哄睡过程,其哄睡起止时间(可以包括哄睡起始时间和哄睡终止时间)可以为婴儿床开始执行哄睡操作的时间以及当前哄睡过程中婴儿床停止执行哄睡操作的时间,示例地,历史哄睡数据中某次哄睡过程的哄睡起止时间可以为14:00和14:30。可选地,哄睡操作可以包括但不限于以下中的一者或多者:婴儿床的摆动幅度、婴儿床的摆动频率、婴儿床的音频播放模式。其中,婴儿床上可以设置有电机,该电机可以与婴儿床的床体连接,用以控制婴儿床的摆动幅度、摆动频率。音频播放方式可以用于指示要播放的音频、播放音量大小、播放时长等。示例地,婴儿床的音频播放方式可以为从当前时间开始低音量播放舒缓音乐20min。可选地,在一次哄睡过程中,哄睡操作可以是一直保持相同的,或者,哄睡操作可以是均匀变化的,或者,哄睡操作可以是不规则变化的。示例地,在进入各次哄睡过程之前婴儿的状态信息可以为用于指示婴儿处于啼哭状态的状态信息。即,婴儿啼哭为婴儿床执行哄睡操作的条件。Optionally, the historical sleep coaxing data may include at least but not limited to the following information: sleep coaxing start and end times of previous sleep coaxing processes, sleep coaxing operations performed by the crib in each sleep coaxing process, Status information of the baby before the sleep process. Wherein, for a certain sleep coaxing process in the historical sleep coaxing data, the sleep coaxing start and end time (which may include the sleep coaxing start time and the sleep coaxing end time) can be the time when the crib starts to perform the sleep coaxing operation and the current sleep coaxing process. The time when the baby crib stops performing the sleep coaxing operation. For example, the sleep coaxing start and end times of a sleep coaxing process in the historical sleep coaxing data may be 14:00 and 14:30. Optionally, the sleep coaxing operation may include, but is not limited to, one or more of the following: the swing amplitude of the crib, the swing frequency of the crib, and the audio playback mode of the crib. Wherein, the crib can be provided with a motor, and the motor can be connected with the bed body of the crib to control the swing amplitude and the swing frequency of the crib. The audio playback mode can be used to indicate the audio to be played, the playback volume, and the playback duration. For example, the audio playback mode of the crib may be to play soothing music at a low volume for 20 minutes from the current time. Optionally, in a sleep coaxing process, the sleep coaxing operation may always remain the same, or the sleep coaxing operation may vary uniformly, or the sleep coaxing operation may vary irregularly. For example, the state information of the baby before entering each sleep coaxing process may be state information indicating that the baby is in a crying state. That is, the cry of the baby is a condition for the crib to perform the sleep-soothing operation.

在一般情况下,若婴儿正在啼哭,那么有可能是因为该婴儿需要哄睡。因此,在一种实施方式中,步骤102可以包括以下步骤:当当前状态信息表示婴儿当前处于啼哭状态时,根据当前时间以及当前状态信息查询历史哄睡数据。In general, if a baby is crying, it may be because the baby needs to be put to sleep. Therefore, in one embodiment, step 102 may include the following steps: when the current state information indicates that the baby is currently in a crying state, query historical sleep coaxing data according to the current time and the current state information.

若当前状态信息表示婴儿当前处于啼哭状态时,说明该婴儿有可能需要哄睡,因此,可以根据当前时间和当前状态信息查询历史哄睡数据,以确定在历史哄睡数据中是否存在与当前时间和当前状态信息相匹配的哄睡数据。示例地,若当前时间与历史哄睡数据中某一次哄睡过程的哄睡起始时间相同,且当前状态信息与进入该次哄睡过程之前婴儿的状态信息相同,则说明在历史哄睡数据中查询到与当前时间和当前状态信息相匹配的哄睡数据。再例如,若当前时间为历史哄睡数据中某一次哄睡过程的哄睡起始时间到哄睡终止时间这一时间段内的时间,且当前状态信息与进入该次哄睡过程之前婴儿的状态信息相同,则说明在历史哄睡数据中查询到与当前时间和当前状态信息相匹配的哄睡数据。If the current state information indicates that the baby is currently crying, it means that the baby may need to be coaxed to sleep. Therefore, you can query the historical sleep coax data according to the current time and current state information to determine whether there is a relationship between the current time and the current time in the historical sleep coax data. Sleep data matching the current state information. For example, if the current time is the same as the sleep coaxing start time of a certain sleep coaxing process in the historical sleep coaxing data, and the current state information is the same as the baby's state information before entering the sleep coaxing process, it means that the historical coaxing process data is the same as the baby's state information. The sleep coaxing data matching the current time and current state information is queried in . For another example, if the current time is the time from the sleep coaxing start time to the sleep coaxing end time of a certain sleep coaxing process in the historical sleep coaxing data, and the current state information is the same as the baby's status before entering the sleep coaxing process. If the status information is the same, it means that the sleeping data matching the current time and the current state information is queried in the historical sleeping data.

在步骤103中,当在历史哄睡数据中查询到与当前时间和当前状态信息相匹配的哄睡数据时,根据相匹配的哄睡数据,确定婴儿床要执行的目标哄睡操作及目标哄睡时长。In step 103, when the sleep coaxing data matching the current time and the current state information is queried in the historical sleep coaxing data, according to the matching sleep coaxing data, the target sleep coaxing operation and target coaxing operation to be performed by the crib are determined. sleep time.

当在历史哄睡数据中查询到与当前时间和当前状态信息相匹配的哄睡数据时,根据相匹配的哄睡数据,可以确定历史哄睡数据中与当前时间和当前状态信息对应的哄睡过程。可以将该哄睡过程中婴儿床所执行的哄睡操作确定为婴儿床要执行的目标哄睡操作,并且,可以将当前时间到该哄睡过程的哄睡终止时间的时长确定为目标哄睡时长。示例地,若当前时间为该哄睡过程的哄睡起始时间,那么目标哄睡时长即为该哄睡过程的哄睡起始时间到哄睡终止时间所经过的时长。目标哄睡操作可以包括但不限于以下一者或多者:婴儿床的摆动幅度、婴儿床的摆动频率、婴儿床的音频播放模式。When the sleeping data matching the current time and the current state information is found in the historical sleeping data, the sleeping data corresponding to the current time and the current state information in the historical sleeping data can be determined according to the matching sleeping data. process. The sleep coaxing operation performed by the crib during the sleep coaxing process may be determined as the target sleep coaxing operation to be performed by the crib, and the duration from the current time to the sleep coaxing termination time of the sleep coaxing process may be determined as the target sleep coaxing operation. duration. For example, if the current time is the sleep coaxing start time of the sleep coaxing process, then the target sleep coaxing duration is the time elapsed from the sleep coaxing start time of the sleep coaxing process to the sleep coaxing end time. The target sleep-inducing operation may include, but is not limited to, one or more of the following: the swing amplitude of the crib, the swing frequency of the crib, and the audio playback mode of the crib.

对于上述步骤102及步骤103所描述的,在一种情况中,当该方法应用于婴儿床时,在当前状态信息表示婴儿当前处于啼哭状态的情况下,示例地,婴儿床的相应模块(例如,婴儿床的存储器)可以存储有历史哄睡数据,根据当前时间及当前状态信息可以直接查询历史哄睡数据,并在查询到与当前时间和当前状态信息相匹配的哄睡数据时,根据相匹配的哄睡数据,确定婴儿床要执行的目标哄睡操作及目标哄睡时长。再例如,婴儿床可以与例如智能终端、服务器等设备(存储有历史哄睡数据)进行通信,并将当前时间和当前状态信息发送至相应设备,以使该设备查询历史哄睡数据,并获得查询结果。可选地,当在历史哄睡数据中查询到与当前时间和当前状态信息相匹配的哄睡数据时,该查询结果可以包括相匹配的哄睡数据,或者该查询结果可以为确定的婴儿床要执行的目标哄睡操作及目标哄睡时长,根据该查询结果,婴儿床可以确定要执行的目标哄睡操作及目标哄睡时长。For the steps 102 and 103 described above, in one case, when the method is applied to a crib, in the case that the current state information indicates that the baby is currently in a crying state, for example, the corresponding module of the crib (for example, , the memory of the crib) can store historical sleep coaxing data, according to the current time and current state information, the historical sleep coaxing data can be directly inquired, and when the sleep coaxing data matching the current time and current state information is queried, The matching sleep coaxing data determines the target coaxing operation and the target coaxing duration to be performed by the crib. For another example, the crib can communicate with devices such as smart terminals, servers, etc. (stored with historical sleep coaxing data), and send the current time and current status information to the corresponding device, so that the device can query the historical sleep coaxing data and obtain the data. search result. Optionally, when the historical sleep coaxing data is queried for sleep coaxing data that matches the current time and current state information, the query result may include the matching sleep coaxing data, or the query result may be the determined crib. The target sleep coaxing operation to be performed and the target sleep coaxing duration, according to the query result, the crib can determine the target sleep coaxing operation to be performed and the target coaxing sleep duration.

在另一种情况中,当该方法应用于智能终端时,在当前状态信息表示婴儿当前处于啼哭状态的情况下,示例地,智能终端可以存储有历史哄睡数据,根据当前时间及当前状态信息可以直接查询历史哄睡数据,并在查询到与当前时间和当前状态信息相匹配的哄睡数据时,根据相匹配的哄睡数据,确定婴儿床要执行的目标哄睡操作及目标哄睡时长。再例如,智能终端可以与例如婴儿床、服务器等设备(存储有历史哄睡数据)进行通信,并将当前时间和当前状态信息发送至相应设备,以使该设备查询历史哄睡数据,并获得查询结果。可选地,当在历史哄睡数据中查询到与当前时间和当前状态信息相匹配的哄睡数据时,该查询结果可以包括相匹配的哄睡数据,或者该查询结果可以为确定的婴儿床要执行的目标哄睡操作及目标哄睡时长,根据该查询结果,智能终端可以确定婴儿床要执行的目标哄睡操作及目标哄睡时长。In another case, when the method is applied to a smart terminal, if the current state information indicates that the baby is currently in a crying state, for example, the smart terminal may store historical sleep coaxing data, according to the current time and current state information You can directly query the historical sleep coaxing data, and when you find the sleep coaxing data that matches the current time and current state information, determine the target sleep coaxing operation and target sleep coaxing time to be performed by the crib according to the matching sleep coaxing data. . For another example, the smart terminal can communicate with devices such as cribs, servers, etc. (stored with historical sleep coaxing data), and send the current time and current state information to the corresponding device, so that the device can query the historical sleep coaxing data and obtain the data. search result. Optionally, when the historical sleep coaxing data is queried for sleep coaxing data that matches the current time and current state information, the query result may include the matching sleep coaxing data, or the query result may be the determined crib. The target sleep coaxing operation to be performed and the target sleep coaxing duration, and according to the query result, the intelligent terminal can determine the target sleep coaxing operation and the target sleep coaxing duration to be performed by the crib.

在另一种情况中,当该方法应用于服务器时,在当前状态信息表示婴儿当前处于啼哭状态的情况下,示例地,服务器可以存储有历史哄睡数据,根据当前时间及当前状态信息可以直接查询历史哄睡数据,并在查询到与当前时间和当前状态信息相匹配的哄睡数据时,根据相匹配的哄睡数据,确定婴儿床要执行的目标哄睡操作及目标哄睡时长。再例如,服务器可以与例如婴儿床、智能终端等设备(存储有历史哄睡数据)进行通信,并将当前时间和当前状态信息发送至相应设备,以使该设备查询历史哄睡数据,并获得查询结果。可选地,当在历史哄睡数据中查询到与当前时间和当前状态信息相匹配的哄睡数据时,该查询结果可以包括相匹配的哄睡数据,或者该查询结果可以为确定的婴儿床要执行的目标哄睡操作及目标哄睡时长,根据该查询结果,服务器可以确定婴儿床要执行的目标哄睡操作及目标哄睡时长。In another case, when the method is applied to the server, in the case that the current state information indicates that the baby is currently in a crying state, for example, the server may store historical sleep coaxing data, and according to the current time and current state information, it can directly Query the historical sleep coaxing data, and when the sleep coaxing data matching the current time and current state information is queried, determine the target sleep coaxing operation and target sleep coaxing duration to be performed by the crib according to the matching sleep coaxing data. For another example, the server may communicate with devices such as cribs, smart terminals, etc. (stored with historical sleep coaxing data), and send the current time and current state information to the corresponding device, so that the device can query the historical sleep coaxing data and obtain the data. search result. Optionally, when the historical sleep coaxing data is queried for sleep coaxing data that matches the current time and current state information, the query result may include the matching sleep coaxing data, or the query result may be the determined crib. The target sleep coaxing operation to be performed and the target sleep coaxing duration, and according to the query result, the server can determine the target sleep coaxing operation and the target sleep coaxing duration to be performed by the crib.

在步骤104中,根据目标哄睡时长,控制婴儿床执行目标哄睡操作。In step 104, control the crib to perform the target sleeping operation according to the target sleeping duration.

根据确定的目标哄睡操作以及目标哄睡时长,可以控制婴儿床执行目标哄睡操作,且哄睡的时长为目标哄睡时长。According to the determined target coaxing operation and the target coaxing duration, the crib can be controlled to perform the target coaxing operation, and the duration of coaxing is the target coaxing duration.

在一种情况中,当该方法应用于婴儿床时,婴儿床可以根据目标哄睡时长,执行目标哄睡操作。In one case, when the method is applied to a crib, the crib can perform a target sleep coaxing operation according to the target sleep coaxing duration.

在另一种情况中,当该方法应用于智能终端时,智能终端可以根据目标哄睡时长,向婴儿床发送包括目标哄睡操作的指令,以使婴儿床在目标哄睡时长对应的时段内执行目标哄睡操作。In another case, when the method is applied to an intelligent terminal, the intelligent terminal can send an instruction including a target sleep coaxing operation to the crib according to the target sleep coaxing duration, so that the crib is within the time period corresponding to the target coaxing duration. Perform the target sleep coaxing operation.

在另一种情况中,当该方法应用于服务器时,服务器可以根据目标哄睡时长,向婴儿床发送包括目标哄睡操作的指令,以使婴儿床在目标哄睡时长对应的时段内执行目标哄睡操作。In another case, when the method is applied to the server, the server may send an instruction including a target sleep coax operation to the crib according to the target sleep coax duration, so that the baby crib executes the target within the time period corresponding to the target sleep coax duration Sleeping operation.

由于在婴儿处于婴儿床内时,控制婴儿床执行哄睡操作才是有意义的,因此,可以检测婴儿是否被放置到婴儿床上,以判断是否需要婴儿床执行哄睡操作。在一种实施方式中,步骤104可以包括以下步骤:当婴儿被放置到婴儿床上后,控制婴儿床开始执行目标哄睡操作,并在执行目标哄睡操作的时长达到目标哄睡时长时,停止执行目标哄睡动作。Since it is meaningful to control the crib to perform a sleep-soothing operation when the baby is in the baby's crib, whether the baby is placed in the baby's crib can be detected to determine whether the baby's crib is required to perform the sleep-soothing operation. In one embodiment, step 104 may include the following steps: after the baby is placed on the crib, controlling the crib to start the target sleep coaxing operation, and when the duration of the target sleep coaxing operation reaches the target sleep coaxing duration, stop Perform the target sleep-inducing action.

婴儿床上可以设置有重力传感器,示例地,该重力传感器可以设置于婴儿床的床板上,这样可以准确检测婴儿是否被放置到婴儿床上。可以通过预设的判断依据确定婴儿是否被放置到婴儿床上,例如,可以存储一个临界值,当重力传感器检测到的重力数值大于或者等于该临界值时,确定婴儿被放置到婴儿床上;当重力传感器检测到的重力数值小于该临界值时,确定婴儿未被放置到婴儿床上。因此,根据婴儿床上设置的重力传感器的检测数据,可以确定婴儿是否被放置到婴儿床上。The crib may be provided with a gravity sensor, for example, the gravity sensor may be provided on the bed of the crib, so that it can accurately detect whether the baby is placed on the crib. Whether the baby is placed on the crib can be determined through a preset judgment basis, for example, a threshold value can be stored, and when the gravity value detected by the gravity sensor is greater than or equal to the threshold value, it is determined that the baby is placed in the crib; When the gravity value detected by the sensor is less than the threshold value, it is determined that the baby is not placed in the crib. Therefore, according to the detection data of the gravity sensor provided in the crib, it can be determined whether the baby is placed in the crib.

当根据重力传感器的检测数据确定婴儿被放置到婴儿床上后,可以控制婴儿床开始执行目标哄睡操作,并在执行目标哄睡操作的时长达到目标哄睡时长时,停止执行目标哄睡动作。When it is determined that the baby is placed on the crib according to the detection data of the gravity sensor, the crib can be controlled to start the target sleep coaxing operation, and when the duration of the target sleep coaxing operation reaches the target sleep coaxing time, the execution of the target sleep coaxing action is stopped.

在一种情况中,当该方法应用于婴儿床时,婴儿床的相应模块(例如,婴儿床的存储器)可以存储有判断婴儿是否处于婴儿床的判断依据,根据该判断依据可以确定婴儿是否被放置到婴儿床上。在确定婴儿被放置到婴儿床上后,婴儿床可以开始执行目标哄睡操作,并在执行目标哄睡操作的时长达到目标哄睡时长时,停止执行目标哄睡动作,结束当前哄睡过程。In one case, when the method is applied to a crib, a corresponding module of the crib (eg, a memory of the crib) may store a judgment basis for judging whether the baby is in the crib, and according to the judgment basis, it can be determined whether the baby is in the crib or not. Put it in the crib. After it is determined that the baby is placed on the crib, the crib can start to perform the target coaxing operation, and when the duration of executing the target coaxing operation reaches the target coaxing duration, stop performing the target coaxing action and end the current coaxing process.

在另一种情况中,当该方法应用于智能终端时,智能终端可以存储有判断婴儿是否处于婴儿床的判断依据,根据重力传感器的检测数据以及该判断依据可以确定婴儿是否被放置到婴儿床上。在确定婴儿被放置到婴儿床上后,智能终端可以向婴儿床发送哄睡指令,以控制婴儿床开始执行目标哄睡操作,并在控制婴儿床执行目标哄睡操作的时长达到目标哄睡时长时,停止向婴儿床发送哄睡指令,以使婴儿床停止执行目标哄睡动作,结束当前哄睡过程。In another case, when the method is applied to a smart terminal, the smart terminal can store a judgment basis for judging whether the baby is in a crib, and can determine whether the baby is placed in the crib according to the detection data of the gravity sensor and the judgment basis . After determining that the baby is placed in the crib, the smart terminal can send a sleep coaxing instruction to the crib to control the crib to start the target coaxing operation, and when the duration of controlling the crib to perform the target coaxing operation reaches the target coaxing duration , stop sending the sleep coaxing command to the crib, so that the baby crib stops performing the target coaxing action, and ends the current coaxing process.

在另一种情况中,当该方法应用于服务器时,服务器可以存储有判断婴儿是否处于婴儿床的判断依据,根据重力传感器的检测数据以及该判断依据可以确定婴儿是否被放置到婴儿床上。在确定婴儿被放置到婴儿床上后,服务器可以向婴儿床发送哄睡指令,以控制婴儿床开始执行目标哄睡操作,并在控制婴儿床执行目标哄睡操作的时长达到目标哄睡时长时,停止向婴儿床发送哄睡指令,以使婴儿床停止执行目标哄睡动作,结束当前哄睡过程。In another case, when the method is applied to the server, the server may store a judgment basis for judging whether the baby is in the crib, and can determine whether the baby is placed in the crib according to the detection data of the gravity sensor and the judgment basis. After determining that the baby is placed in the crib, the server may send a sleep coaxing instruction to the crib to control the crib to start performing the target coaxing operation, and when the duration of controlling the crib to perform the target coaxing operation reaches the target coaxing duration, Stop sending the sleep coaxing command to the crib, so that the crib stops executing the target sleep coaxing action and ends the current coaxing process.

通过上述方案,根据婴儿床内婴儿的当前状态以及历史哄睡数据,在确定婴儿需要哄睡时,自动对婴儿进行哄睡。这样,可以在婴儿出现与之前相似的情况时直接根据历史记录自动照顾婴儿,在无需用户干预的情况下及时且自动对婴儿床进行控制以对婴儿进行哄睡,为用户省去手动操作的麻烦,提升用户体验。Through the above solution, according to the current state of the baby in the crib and the historical sleep coaxing data, when it is determined that the baby needs to be coaxed to sleep, the baby is automatically coaxed to sleep. In this way, the baby can be automatically taken care of according to the historical records when the baby is in a similar situation as before, and the crib can be controlled in a timely and automatic manner without user intervention to coax the baby to sleep, saving the user the trouble of manual operation , to improve the user experience.

图3是根据另一示例性实施例示出的一种自动哄睡方法的流程图。如图3所示,本公开提供的方法还可以包括以下步骤。Fig. 3 is a flowchart of an automatic sleep coaxing method according to another exemplary embodiment. As shown in FIG. 3 , the method provided by the present disclosure may further include the following steps.

在步骤301中,当当前状态信息表示婴儿当前处于啼哭状态时,根据预先标记的啼哭时段与啼哭原因之间的对应关系,确定与当前时间相对应的啼哭原因。In step 301, when the current state information indicates that the baby is currently crying, the reason for crying corresponding to the current time is determined according to the correspondence between the pre-marked crying period and the reason for crying.

示例地,啼哭原因可以例如为饥饿、环境温度过高、环境温度过低、呼吸不畅、胃肠不适、情绪不佳等。可选地,啼哭时段与啼哭原因之间的对应关系可以由监护人根据经验手动标记。示例地,若啼哭时段为下午3:00~下午3:10,其对应的啼哭原因为饥饿,那么当在下午3:05时婴儿处于啼哭状态时,可以确定啼哭原因为饥饿。For example, the reason for crying may be, for example, hunger, high ambient temperature, low ambient temperature, poor breathing, gastrointestinal discomfort, poor mood, and the like. Optionally, the correspondence between the crying period and the reason for crying can be manually marked by the guardian according to experience. For example, if the crying period is from 3:00 pm to 3:10 pm, and the corresponding crying reason is hunger, then when the baby is in a crying state at 3:05 pm, it can be determined that the crying reason is hunger.

在一种情况中,当该方法应用于婴儿床时,啼哭时段与啼哭原因之间的对应关系可以存储在婴儿床的相应模块(例如,婴儿床的存储器)中,根据啼哭时段即可确定啼哭原因。或者,婴儿床可以向例如服务器、智能终端等存储有啼哭时段与啼哭原因之间对应关系的设备发送包含啼哭时段的信息,以获得上述设备确定的啼哭原因。In one case, when the method is applied to a crib, the correspondence between the crying period and the reason for crying can be stored in a corresponding module of the crib (eg, the memory of the crib), and the crying can be determined according to the crying period reason. Alternatively, the crib can send information including the crying period to a device such as a server, a smart terminal, etc. that stores the corresponding relationship between the crying period and the crying reason, so as to obtain the crying reason determined by the above-mentioned device.

在另一种情况中,当该方法应用于智能终端时,智能终端可以存储有啼哭时段与啼哭原因之间的对应关系,根据啼哭时段即可确定啼哭原因。或者,智能终端可以向例如婴儿床、服务器等设备(存储有啼哭时段与啼哭原因之间对应关系的设备)发送包含啼哭时段的信息,以获得上述设备确定的啼哭原因。In another case, when the method is applied to a smart terminal, the smart terminal may store the correspondence between the crying period and the reason for crying, and the reason for crying can be determined according to the crying period. Alternatively, the smart terminal may send information including the crying period to a device such as a crib or a server (a device storing a corresponding relationship between the crying period and the crying reason) to obtain the crying reason determined by the above device.

在另一种情况中,当该方法应用于服务器时,服务器可以存储有啼哭时段与啼哭原因之间的对应关系,根据啼哭时段即可确定啼哭原因。或者,服务器可以向例如婴儿床、智能终端等设备(存储有啼哭时段与啼哭原因之间对应关系的设备)发送包含啼哭时段的信息,以获得上述设备确定的啼哭原因。In another case, when the method is applied to the server, the server can store the corresponding relationship between the crying period and the crying reason, and the crying reason can be determined according to the crying period. Alternatively, the server may send information including the crying period to devices such as cribs and smart terminals (devices that store the corresponding relationship between crying periods and crying reasons) to obtain the crying reasons determined by the above-mentioned devices.

另外,啼哭原因还可以包括需要睡眠这一项,相应地,预先标记的啼哭时段与需要睡眠这一啼哭原因之间的对应关系可以通过上文中所述的历史哄睡数据生成,即上述对应关系与历史哄睡数据相关联。示例地,在啼哭原因为需要睡眠时,啼哭时段可以为相应哄睡过程的哄睡起始时间到哄睡终止时间这一时段。In addition, the reason for crying may also include the item of needing sleep. Accordingly, the corresponding relationship between the pre-marked crying period and the reason for crying requiring sleep may be generated through the historical sleep coaxing data described above, that is, the above-mentioned corresponding relationship Associated with historical sleep coax data. For example, when the reason for crying is the need for sleep, the crying period may be the period from the sleep coaxing start time to the sleep coaxing end time of the corresponding sleep coaxing process.

在步骤302中,输出提醒消息。In step 302, a reminder message is output.

提醒消息可以用于提示啼哭原因。当该方法应用于婴儿床时,婴儿床可以通过文字、语音、图像等方式输出提醒消息。当该方法应用于智能终端时,智能终端可以通过文字、语音、图像等方式输出提醒消息,或者,智能终端可以将接收到的婴儿床或服务器发送的提醒消息输出。当该方法应用于服务器时,服务器可以向智能终端或婴儿床输出该提醒消息。Reminder messages can be used to indicate the reason for crying. When the method is applied to a crib, the crib can output a reminder message through text, voice, image, and the like. When the method is applied to the smart terminal, the smart terminal can output the reminder message through text, voice, image, etc., or the smart terminal can output the received reminder message sent by the crib or the server. When the method is applied to the server, the server can output the reminder message to the smart terminal or the crib.

在提醒消息被输出时,用户可以获知该提醒消息,并根据该提醒消息采取相应的措施,这样可以省去用户自己分析或者查询的麻烦。When the reminder message is output, the user can know the reminder message and take corresponding measures according to the reminder message, which saves the user the trouble of analyzing or querying by himself.

图4是根据一示例性实施例示出的一种自动哄睡装置的框图。如图4所示,所述装置400包括:获取模块401,被配置为获取用于表示婴儿床中婴儿当前状态的当前状态信息;查询模块402,被配置为根据当前时间以及所述当前状态信息查询历史哄睡数据,其中,所述历史哄睡数据至少包括以往各次哄睡过程的哄睡起止时间、所述婴儿床在各次哄睡过程中所执行的哄睡操作、以及在进入各次哄睡过程之前婴儿的状态信息;第一确定模块403,被配置为当在所述历史哄睡数据中查询到与所述当前时间和所述当前状态信息相匹配的哄睡数据时,根据所述相匹配的哄睡数据,确定所述婴儿床要执行的目标哄睡操作及目标哄睡时长;控制模块404,被配置为根据所述目标哄睡时长,控制所述婴儿床执行所述目标哄睡操作。Fig. 4 is a block diagram of an automatic sleeping device according to an exemplary embodiment. As shown in FIG. 4 , the apparatus 400 includes: an obtaining module 401 configured to obtain current state information for representing the current state of the baby in the crib; a query module 402 configured to obtain current state information according to the current time and the current state information Query historical sleep coaxing data, wherein the historical sleep coaxing data includes at least the sleep coaxing start and end times of previous sleep coaxing processes, the sleep coaxing operations performed by the crib in each sleep coaxing process, and the sleep coaxing operations performed during each sleep coaxing process. The state information of the baby before the second sleep coaxing process; the first determining module 403 is configured to, when the sleep coaxing data matching the current time and the current state information is queried in the historical sleep coaxing data, according to The matched sleep coaxing data determines a target coaxing operation and a target coaxing duration to be performed by the crib; the control module 404 is configured to control the crib to perform the said coaxing according to the target coaxing duration. Target sleep operation.

图5是根据另一示例性实施例示出的一种自动哄睡装置的框图。如图5所示,所述获取模块401包括:接收子模块501,被配置为接收以下检测信息中的一者或多者:摄像头拍摄的所述婴儿的面部图像信息、声音传感器检测到的婴儿声音信息、婴儿佩戴的智能穿戴设备检测的婴儿体征信息、所述智能穿戴设备检测的婴儿体动信息;第一确定子模块502,被配置为根据接收到的检测信息,确定婴儿的当前状态,获得所述当前状态信息。Fig. 5 is a block diagram of an automatic sleeping device according to another exemplary embodiment. As shown in FIG. 5 , the acquisition module 401 includes: a receiving sub-module 501 configured to receive one or more of the following detection information: facial image information of the baby captured by a camera, and baby detected by a sound sensor. sound information, baby sign information detected by the smart wearable device worn by the baby, and baby body motion information detected by the smart wearable device; the first determination sub-module 502 is configured to determine the current state of the baby according to the received detection information, Obtain the current state information.

可选地,所述查询模块402被配置为当所述当前状态信息表示所述婴儿当前处于啼哭状态时,根据当前时间以及所述当前状态信息查询历史哄睡数据。Optionally, the query module 402 is configured to query historical sleep coaxing data according to the current time and the current state information when the current state information indicates that the baby is currently in a crying state.

可选地,所述控制模块404被配置为当所述婴儿被放置到所述婴儿床上后,控制所述婴儿床开始执行所述目标哄睡操作,并在执行所述目标哄睡操作的时长达到所述目标哄睡时长时,停止执行所述目标哄睡操作。Optionally, the control module 404 is configured to, after the baby is placed on the crib, control the crib to start executing the target sleep coaxing operation, and to perform the target sleep coaxing operation for the duration of the execution of the target sleep coaxing operation. When the target sleep coaxing duration is reached, the execution of the target sleep coaxing operation is stopped.

图6是根据另一示例性实施例示出的一种自动哄睡装置的框图。如图6所示,所述控制模块404包括:第二确定子模块601,被配置为根据所述婴儿床上设置的重力传感器的检测数据,确定所述婴儿是否被放置到所述婴儿床上。Fig. 6 is a block diagram of an automatic sleeping device according to another exemplary embodiment. As shown in FIG. 6 , the control module 404 includes: a second determination sub-module 601 configured to determine whether the baby is placed on the baby bed according to the detection data of the gravity sensor provided on the baby bed.

图7是根据另一示例性实施例示出的一种自动哄睡装置的框图。如图7所示,所述装置400还包括:第二确定模块701,被配置为当所述当前状态信息表示所述婴儿当前处于啼哭状态时,根据预先标记的啼哭时段与啼哭原因之间的对应关系,确定与所述当前时间相对应的啼哭原因;输出模块702,被配置为输出提醒消息,所述提醒消息用于提示所述啼哭原因。Fig. 7 is a block diagram of an automatic sleeping device according to another exemplary embodiment. As shown in FIG. 7 , the apparatus 400 further includes: a second determination module 701 configured to, when the current state information indicates that the baby is currently in a crying state, according to the difference between the pre-marked crying period and the reason for crying The corresponding relationship is to determine the reason for crying corresponding to the current time; the output module 702 is configured to output a reminder message, where the reminder message is used to prompt the reason for crying.

可选地,所述目标哄睡操作包括以下一者或多者:所述婴儿床的摆动幅度、所述婴儿床的摆动频率、所述婴儿床的音频播放模式。Optionally, the target sleep coaxing operation includes one or more of the following: a swing amplitude of the crib, a swing frequency of the crib, and an audio playback mode of the crib.

关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above-mentioned embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be described in detail here.

本公开还提供一种计算机可读存储介质,其上存储有计算机程序指令,该程序指令被处理器执行时实现本公开提供的自动哄睡方法的步骤。The present disclosure also provides a computer-readable storage medium on which computer program instructions are stored, and when the program instructions are executed by a processor, implement the steps of the automatic sleep coaxing method provided by the present disclosure.

图8是根据一示例性实施例示出的一种自动哄睡装置800的框图。例如,装置800可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。FIG. 8 is a block diagram of an automatic sleeping device 800 according to an exemplary embodiment. For example, apparatus 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, and the like.

参照图8,装置800可以包括以下一个或多个组件:处理组件802,存储器804,电力组件806,多媒体组件808,音频组件810,输入/输出(I/O)的接口812,传感器组件814,以及通信组件816。8, the apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and communication component 816.

处理组件802通常控制装置800的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件802可以包括一个或多个处理器820来执行指令,以完成上述自动哄睡方法的全部或部分步骤。此外,处理组件802可以包括一个或多个模块,便于处理组件802和其他组件之间的交互。例如,处理组件802可以包括多媒体模块,以方便多媒体组件808和处理组件802之间的交互。The processing component 802 generally controls the overall operation of the device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the above-described automatic sleep coaxing method. Additionally, processing component 802 may include one or more modules that facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.

存储器804被配置为存储各种类型的数据以支持在装置800的操作。这些数据的示例包括用于在装置800上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器804可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。Memory 804 is configured to store various types of data to support operations at device 800 . Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and the like. Memory 804 may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

电力组件806为装置800的各种组件提供电力。电力组件806可以包括电源管理系统,一个或多个电源,及其他与为装置800生成、管理和分配电力相关联的组件。Power component 806 provides power to various components of device 800 . Power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power to device 800 .

多媒体组件808包括在所述装置800和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件808包括一个前置摄像头和/或后置摄像头。当装置800处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。Multimedia component 808 includes a screen that provides an output interface between the device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touch, swipe, and gestures on the touch panel. The touch sensor may not only sense the boundaries of a touch or swipe action, but also detect the duration and pressure associated with the touch or swipe action. In some embodiments, the multimedia component 808 includes a front-facing camera and/or a rear-facing camera. When the apparatus 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each of the front and rear cameras can be a fixed optical lens system or have focal length and optical zoom capability.

音频组件810被配置为输出和/或输入音频信号。例如,音频组件810包括一个麦克风(MIC),当装置800处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器804或经由通信组件816发送。在一些实施例中,音频组件810还包括一个扬声器,用于输出音频信号。Audio component 810 is configured to output and/or input audio signals. For example, audio component 810 includes a microphone (MIC) that is configured to receive external audio signals when device 800 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 804 or transmitted via communication component 816 . In some embodiments, audio component 810 also includes a speaker for outputting audio signals.

I/O接口812为处理组件802和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 812 provides an interface between the processing component 802 and a peripheral interface module, which may be a keyboard, a click wheel, a button, or the like. These buttons may include, but are not limited to: home button, volume buttons, start button, and lock button.

传感器组件814包括一个或多个传感器,用于为装置800提供各个方面的状态评估。例如,传感器组件814可以检测到装置800的打开/关闭状态,组件的相对定位,例如所述组件为装置800的显示器和小键盘,传感器组件814还可以检测装置800或装置800一个组件的位置改变,用户与装置800接触的存在或不存在,装置800方位或加速/减速和装置800的温度变化。传感器组件814可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件814还可以包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件814还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。Sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of device 800 . For example, the sensor assembly 814 can detect the open/closed state of the device 800, the relative positioning of components, such as the display and keypad of the device 800, and the sensor assembly 814 can also detect a change in the position of the device 800 or a component of the device 800 , the presence or absence of user contact with the device 800 , the orientation or acceleration/deceleration of the device 800 and the temperature change of the device 800 . Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects in the absence of any physical contact. Sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

通信组件816被配置为便于装置800和其他设备之间有线或无线方式的通信。装置800可以接入基于通信标准的无线网络,如WiFi,2G或3G,或它们的组合。在一个示例性实施例中,通信组件816经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性实施例中,所述通信组件816还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。Communication component 816 is configured to facilitate wired or wireless communication between apparatus 800 and other devices. Device 800 may access wireless networks based on communication standards, such as WiFi, 2G or 3G, or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

在示例性实施例中,装置800可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述自动哄睡方法。In an exemplary embodiment, apparatus 800 may be implemented by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A gate array (FPGA), a controller, a microcontroller, a microprocessor, or other electronic components are implemented for implementing the above-mentioned automatic sleep coaxing method.

在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器804,上述指令可由装置800的处理器820执行以完成上述自动哄睡方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a memory 804 including instructions, is also provided, and the instructions are executable by the processor 820 of the apparatus 800 to implement the above-mentioned automatic sleep coaxing method. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like.

本公开还提供一种智能婴儿床,包括:床体;状态检测模块,用于获取婴儿床中婴儿的当前状态信息;存储器,用于存储处理器可执行指令;处理器,被配置为运行所述存储器中的指令以实现本公开任意实施例所提供的自动哄睡方法的步骤。The present disclosure also provides an intelligent crib, comprising: a bed body; a state detection module for acquiring current state information of a baby in the crib; a memory for storing processor executable instructions; and a processor configured to run the The instructions in the memory are used to implement the steps of the automatic sleep coaxing method provided by any embodiment of the present disclosure.

状态检测模块可以包括但不限于以下一者或多者:摄像头、声音传感器、智能穿戴设备、重力传感器等。The state detection module may include, but is not limited to, one or more of the following: a camera, a sound sensor, a smart wearable device, a gravity sensor, and the like.

处理器可以控制智能婴儿床的整体操作,诸如与检测婴儿状态,哄睡,显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作,以完成上述自动哄睡方法的全部或部分步骤。此外,处理器可以包括一个或多个模块,便于智能婴儿床的内部交互。The processor can control the overall operation of the smart crib, such as operations associated with detecting the status of the baby, coaxing, displaying, calling, data communication, camera operations, and recording operations, to complete all or part of the steps of the above-described automatic coaxing method . Additionally, the processor may include one or more modules to facilitate internal interaction of the smart crib.

存储器可以被配置为存储各种类型的数据以支持在智能婴儿床的操作。这些数据的示例包括用于在智能婴儿床上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The memory can be configured to store various types of data to support operation in the smart crib. Examples of such data include instructions for any application or method of operation in the smart crib, contact data, phonebook data, messages, pictures, videos, etc. Memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random Access Memory (SRAM), Electrically Erasable Programmable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory (EPROM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Magnetic Memory, Flash Memory, Magnetic or Optical Disk.

本领域技术人员在考虑说明书及实践本公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the present disclosure. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or techniques in the technical field not disclosed by the present disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.

应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (8)

1. An automatic sleep-soothing method, the method comprising:
acquiring current state information for representing the current state of a baby in the crib;
inquiring historical sleep-soothing data according to the current time and the current state information, wherein the historical sleep-soothing data at least comprises sleep-soothing starting and stopping time of each past sleep-soothing process, sleep-soothing operation executed by the infant bed in each sleep-soothing process and state information of the infant before entering each sleep-soothing process;
when the sleep-soothing data matched with the current time and the current state information is inquired in the historical sleep-soothing data, determining target sleep-soothing operation to be executed by the infant bed and target sleep-soothing duration according to the matched sleep-soothing data;
controlling the crib to execute the target sleep-soothing operation according to the target sleep-soothing duration;
the step of controlling the crib to execute the target sleep-soothing operation according to the target sleep-soothing duration comprises the following steps:
and after the infant is placed on the crib, controlling the crib to start executing the target sleep-soothing operation, and stopping executing the target sleep-soothing operation when the time length for executing the target sleep-soothing operation reaches the target sleep-soothing time length.
2. The method of claim 1, wherein obtaining current state information indicative of a current state of the infant in the crib comprises:
receiving one or more of the following detection information: the infant body movement monitoring system comprises facial image information of an infant shot by a camera, infant sound information detected by a sound sensor, infant sign information detected by intelligent wearing equipment worn by the infant, and infant body movement information detected by the intelligent wearing equipment;
and determining the current state of the infant according to the received detection information, and acquiring the current state information.
3. The method of claim 1, wherein said querying historical sleepy data based on a current time and the current state information comprises:
and when the current state information indicates that the infant is in the crying state currently, querying historical sleep soothing data according to the current time and the current state information.
4. The method of claim 1, further comprising:
when the current state information indicates that the infant is in a crying state currently, determining a crying reason corresponding to the current time according to a corresponding relation between a pre-marked crying time period and the crying reason;
and outputting a reminding message, wherein the reminding message is used for reminding the crying reason.
5. The method of any of claims 1-4, wherein the target sleepy operation comprises one or more of: the swing amplitude of the crib, the swing frequency of the crib and the audio playing mode of the crib.
6. An automatic sleep-soothing device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute the instructions in the memory to implement the steps of the method of any one of claims 1 to 5.
7. A computer-readable storage medium, on which computer program instructions are stored, which program instructions, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 5.
8. An intelligent crib, comprising:
a bed body;
the state detection module is used for acquiring the current state information of the baby in the crib;
a memory for storing processor-executable instructions;
a processor configured to execute the instructions in the memory to implement the steps of the method of any one of claims 1 to 5.
CN201810172557.1A 2018-03-01 2018-03-01 Automatic sleep coaxing method, device, storage medium and smart crib Expired - Fee Related CN108536996B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810172557.1A CN108536996B (en) 2018-03-01 2018-03-01 Automatic sleep coaxing method, device, storage medium and smart crib

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810172557.1A CN108536996B (en) 2018-03-01 2018-03-01 Automatic sleep coaxing method, device, storage medium and smart crib

Publications (2)

Publication Number Publication Date
CN108536996A CN108536996A (en) 2018-09-14
CN108536996B true CN108536996B (en) 2020-07-03

Family

ID=63485896

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810172557.1A Expired - Fee Related CN108536996B (en) 2018-03-01 2018-03-01 Automatic sleep coaxing method, device, storage medium and smart crib

Country Status (1)

Country Link
CN (1) CN108536996B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11166677B2 (en) * 2019-03-06 2021-11-09 General Electric Company Systems and methods for monitoring a patient
CN110780622A (en) * 2019-10-24 2020-02-11 舒城县红叶五金塑料制品有限公司 Auxiliary sleep assisting control method and device, storage medium and intelligent baby crib
CN110897820A (en) * 2019-12-12 2020-03-24 田苹 Obstetrical department is with intelligent control by temperature change obstetric table
CN111067305A (en) * 2019-12-23 2020-04-28 珠海格力电器股份有限公司 Storage medium and crib based method for placating baby
CN111214211A (en) * 2020-01-16 2020-06-02 珠海格力电器股份有限公司 Sleep monitoring method and device and intelligent bed
CN111543948A (en) * 2020-05-12 2020-08-18 河海大学常州校区 Infant sleep detection foot ring based on neural network
CN112401566A (en) * 2020-11-17 2021-02-26 广州大学华软软件学院 Intelligent infant care system and method
CN116363739A (en) * 2021-12-28 2023-06-30 海尔优家智能科技(北京)有限公司 Method for determining adjustment strategy, storage medium and electronic device
CN119226870B (en) * 2023-06-29 2025-10-21 杭州海康威视数字技术股份有限公司 Method, device, equipment and storage medium for coaxing infant to sleep
CN118105037B (en) * 2024-03-06 2024-08-23 嘉兴元贝贝科技有限公司 Infant sleep recording and sleeping-setting mechanism and use method thereof

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002075687A3 (en) * 2001-03-15 2003-05-30 Koninkl Philips Electronics Nv Automatic system for monitoring person requiring care and his/her caretaker automatic system for monitoring person requiring care and his/her caretaker
CN1759897A (en) * 2005-09-09 2006-04-19 创联有限公司 Method and device for remote looking after baby
CN105991724A (en) * 2015-02-15 2016-10-05 阿里巴巴集团控股有限公司 Information pushing method and device
CN106510295A (en) * 2016-10-27 2017-03-22 乐视控股(北京)有限公司 Intelligent infant bed for infant nursing, server and method
CN106600938A (en) * 2017-01-23 2017-04-26 赵红领 Intelligent sleep guiding alarm clock
CN106653059A (en) * 2016-11-17 2017-05-10 沈晓明 Automatic identification method and system for infant crying cause
CN107126010A (en) * 2017-05-27 2017-09-05 温雅璐 It is intelligent baby bed
US9824606B2 (en) * 2009-08-28 2017-11-21 International Business Machines Corporation Adaptive system for real-time behavioral coaching and command intermediation
CN107424627A (en) * 2016-05-24 2017-12-01 葛莱儿婴儿产品股份有限公司 System and method for autonomous baby soothing
WO2018000292A1 (en) * 2016-06-30 2018-01-04 宋英楠 Control method for smart appliances
WO2018000289A1 (en) * 2016-06-30 2018-01-04 宋英楠 Smart bed and hypnosis implementation method thereof

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002075687A3 (en) * 2001-03-15 2003-05-30 Koninkl Philips Electronics Nv Automatic system for monitoring person requiring care and his/her caretaker automatic system for monitoring person requiring care and his/her caretaker
CN1759897A (en) * 2005-09-09 2006-04-19 创联有限公司 Method and device for remote looking after baby
US9824606B2 (en) * 2009-08-28 2017-11-21 International Business Machines Corporation Adaptive system for real-time behavioral coaching and command intermediation
CN105991724A (en) * 2015-02-15 2016-10-05 阿里巴巴集团控股有限公司 Information pushing method and device
CN107424627A (en) * 2016-05-24 2017-12-01 葛莱儿婴儿产品股份有限公司 System and method for autonomous baby soothing
WO2018000292A1 (en) * 2016-06-30 2018-01-04 宋英楠 Control method for smart appliances
WO2018000289A1 (en) * 2016-06-30 2018-01-04 宋英楠 Smart bed and hypnosis implementation method thereof
CN106510295A (en) * 2016-10-27 2017-03-22 乐视控股(北京)有限公司 Intelligent infant bed for infant nursing, server and method
CN106653059A (en) * 2016-11-17 2017-05-10 沈晓明 Automatic identification method and system for infant crying cause
CN106600938A (en) * 2017-01-23 2017-04-26 赵红领 Intelligent sleep guiding alarm clock
CN107126010A (en) * 2017-05-27 2017-09-05 温雅璐 It is intelligent baby bed

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Sleep State Scoring in Infants from Respiratory and Activity Measurements;Nadezhda A. Sazonova等;《Proceedings of the 28th IEEE EMBS Annual International Conference》;20061215;第2462-2465页 *
仿生摇摆婴儿床的机构设计;张大然等;《肇庆学院学报》;20140930;第35卷(第5期);第20-23页 *

Also Published As

Publication number Publication date
CN108536996A (en) 2018-09-14

Similar Documents

Publication Publication Date Title
CN108536996B (en) Automatic sleep coaxing method, device, storage medium and smart crib
CN104394312B (en) Filming control method and device
CN106766022B (en) Sensor control method and device
CN105872952B (en) Information sending method and device based on wearable equipment
CN105931428A (en) Alarming method and apparatus
CN105167746A (en) Alarm clock control method and alarm clock control device
CN106843706B (en) Shutdown control method and device and terminal equipment
CN107582028A (en) Sleep monitor method and device
WO2016008244A1 (en) Health data display method and device
CN106406117A (en) Device control method and device
CN106652336A (en) Method and device for monitoring voice of children
CN105708609A (en) User snore reminding method, device and system
CN106406175B (en) Door opening reminder method and device
CN106021077B (en) The alarming method for power and device of terminal
CN106060296A (en) Terminal control method, device and system
CN105214197A (en) Based reminding method and device
CN106292994A (en) The control method of virtual reality device, device and virtual reality device
CN106303043A (en) Method for sending information and device
CN106550012B (en) Monitoring method of intelligent equipment and intelligent equipment
CN110602324A (en) Reminding method and device of wearable equipment
CN107158685B (en) Movement testing method and device
CN106527703B (en) A message reminder method and device
CN107945341A (en) Intelligent door lock control method and device
CN106534517B (en) Operating state adjustment method, device and electronic equipment
CN107510441A (en) Alarming method by monitoring and device, the electronic equipment of User Status

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200703