WO2019120279A1 - Sleep quality monitoring method and system, computer device and storage medium - Google Patents

Sleep quality monitoring method and system, computer device and storage medium Download PDF

Info

Publication number
WO2019120279A1
WO2019120279A1 PCT/CN2018/122602 CN2018122602W WO2019120279A1 WO 2019120279 A1 WO2019120279 A1 WO 2019120279A1 CN 2018122602 W CN2018122602 W CN 2018122602W WO 2019120279 A1 WO2019120279 A1 WO 2019120279A1
Authority
WO
WIPO (PCT)
Prior art keywords
sleep
monitoring
monitoring device
data
instruction
Prior art date
Application number
PCT/CN2018/122602
Other languages
French (fr)
Chinese (zh)
Inventor
屈狄
韩振亚
Original Assignee
速眠创新科技(深圳)有限公司
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 速眠创新科技(深圳)有限公司 filed Critical 速眠创新科技(深圳)有限公司
Publication of WO2019120279A1 publication Critical patent/WO2019120279A1/en

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/48Other medical applications
    • A61B5/4806Sleep evaluation
    • A61B5/4815Sleep quality
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/68Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient
    • A61B5/6801Arrangements of detecting, measuring or recording means, e.g. sensors, in relation to patient specially adapted to be attached to or worn on the body surface
    • A61B5/6802Sensor mounted on worn items
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M21/00Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
    • A61M21/02Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis for inducing sleep or relaxation, e.g. by direct nerve stimulation, hypnosis, analgesia
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61MDEVICES FOR INTRODUCING MEDIA INTO, OR ONTO, THE BODY; DEVICES FOR TRANSDUCING BODY MEDIA OR FOR TAKING MEDIA FROM THE BODY; DEVICES FOR PRODUCING OR ENDING SLEEP OR STUPOR
    • A61M21/00Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis
    • A61M2021/0005Other devices or methods to cause a change in the state of consciousness; Devices for producing or ending sleep by mechanical, optical, or acoustical means, e.g. for hypnosis by the use of a particular sense, or stimulus

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Physics & Mathematics (AREA)
  • Veterinary Medicine (AREA)
  • Public Health (AREA)
  • Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • General Health & Medical Sciences (AREA)
  • Animal Behavior & Ethology (AREA)
  • Surgery (AREA)
  • Molecular Biology (AREA)
  • Medical Informatics (AREA)
  • Pathology (AREA)
  • Biophysics (AREA)
  • Anesthesiology (AREA)
  • Pain & Pain Management (AREA)
  • Acoustics & Sound (AREA)
  • Psychology (AREA)
  • Hematology (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)
  • Measuring And Recording Apparatus For Diagnosis (AREA)

Abstract

A sleep quality monitoring method and system, a computer device and a storage medium. The method comprises: receiving a first monitoring instruction sent by a monitoring apparatus (104), and entering a first mode according to the first monitoring instruction (step 202); under the first mode, collecting a first sleep parameter of a monitored object (step 204); under the first mode, sending a first synchronization instruction to a sleep assistance apparatus (106), and receiving a second sleep parameter of the monitored object returned by the sleep assistance apparatus (106) according to the first synchronization instruction (step 206); acquiring a pre-set sleep analysis model, and inputting the first sleep parameter and the second sleep parameter into the sleep analysis model to obtain sleep data of the monitored object (step 208); and sending the sleep data to the monitoring apparatus (104), and the monitoring apparatus (104) analyzing the sleep data to obtain data corresponding to sleep quality of the monitored object through the analysis (step 210). The present method can improve the accuracy of sleep quality monitoring.

Description

睡眠质量监测方法、系统、计算机设备和存储介质Sleep quality monitoring method, system, computer device and storage medium 技术领域Technical field
本申请涉及计算机技术领域,特别是涉及一种睡眠质量监测方法、系统、计算机设备和存储介质。The present application relates to the field of computer technology, and in particular, to a sleep quality monitoring method, system, computer device, and storage medium.
背景技术Background technique
合理正常的生活方式是确保人体健康的关键因素。生活方式一般体现在饮食、活动量和睡眠质量三个方面。其中,睡眠对于身体维持正常的生理功能以及生长发育极为重要。传统方式人们普遍根据入睡时间、夜里起夜次数、第二天的精神状态等来粗略判断自己的睡眠质量。但因判定标准不一致以及个人记忆的偏差,导致无法准确判定自己的睡眠质量。为了更好的监测睡眠质量,市场上出现了各种各样的睡眠监测装置。市场上专业的睡眠监测装置需要在被监测对象的身体上贴上很多电极,被监测对象一个人无法独自完成上述操作,并且对被监测对象的睡眠产生较大影响,无法得到被监测对象在自然状态下的睡眠情况,从而难以真实的反映被监测对象的真实睡眠质量。而市场上简易的睡眠监测装置检测的参数比较单一,使得监测结果也不够准确。A reasonable and normal lifestyle is a key factor in ensuring human health. Lifestyle is generally reflected in the three aspects of diet, activity and sleep quality. Among them, sleep is extremely important for the body to maintain normal physiological functions and growth and development. Traditionally, people generally judge their sleep quality based on the time of falling asleep, the number of nights at night, and the mental state of the next day. However, due to inconsistent judgment criteria and deviations in personal memory, it is impossible to accurately determine the quality of sleep. In order to better monitor the quality of sleep, a variety of sleep monitoring devices have appeared on the market. The professional sleep monitoring device on the market needs to stick a lot of electrodes on the body of the monitored object, and the monitored object cannot perform the above operation alone, and has a great influence on the sleep of the monitored object, and cannot obtain the monitored object in nature. The sleep condition in the state, so that it is difficult to truly reflect the true sleep quality of the monitored object. The parameters of the simple sleep monitoring device on the market are relatively simple, which makes the monitoring results less accurate.
发明内容Summary of the invention
基于此,有必要针对上述技术问题,提供一种能够提高睡眠质量监测准确度的睡眠质量监测方法、系统、计算机设备和存储介质。Based on this, it is necessary to provide a sleep quality monitoring method, system, computer device and storage medium capable of improving the accuracy of sleep quality monitoring in response to the above technical problems.
一种睡眠质量监测方法,包括:接收监控装置发送的第一监控指令,根据所述第一监控指令进入第一模式;在所述第一模式下,采集被监测对象的第一睡眠参数;在所述第一模式下,向助眠装置发送第一同步指令,接收所述助眠装置根据所述第一同步指令返回的所述被监测对象的第二睡眠参数;获取预设的睡眠分析模型,将所述第一睡眠参数和第二睡眠参数输入至所述睡眠分析模型,得到所述被监测对象的睡眠数据;将所述睡眠数据发送至所述监控装置, 所述监控装置对所述睡眠数据进行分析,分析得到被监测对象的睡眠质量对应的数据。A sleep quality monitoring method includes: receiving a first monitoring instruction sent by a monitoring device, entering a first mode according to the first monitoring instruction; and collecting a first sleep parameter of the monitored object in the first mode; In the first mode, sending a first synchronization instruction to the sleep aid device, receiving a second sleep parameter of the monitored object returned by the sleep aid device according to the first synchronization instruction; acquiring a preset sleep analysis model And inputting the first sleep parameter and the second sleep parameter to the sleep analysis model to obtain sleep data of the monitored object; sending the sleep data to the monitoring device, where the monitoring device is The sleep data is analyzed, and the data corresponding to the sleep quality of the monitored object is analyzed.
一种睡眠质量监测方法,包括:向监测装置发送第一监控指令,使所述监测装置根据所述第一监控指令进入第一模式,在所述第一模式下采集被监测对象的第一睡眠参数,向助眠装置发送第一同步指令,接收所述助眠装置根据所述第一同步指令返回的所述被监测对象的第二睡眠参数;获取预设的睡眠分析模型,将所述第一睡眠参数和第二睡眠参数输入至所述睡眠分析模型,得到所述被监测对象的睡眠数据;向所述监测装置发送第二同步指令,接收所述监测装置根据所述第二同步指令返回的被监测对象的睡眠数据;对所述睡眠数据进行分析,得到所述被监测对象的睡眠质量对应的数据。A sleep quality monitoring method includes: transmitting a first monitoring instruction to a monitoring device, causing the monitoring device to enter a first mode according to the first monitoring instruction, and collecting a first sleep of the monitored object in the first mode a parameter, sending a first synchronization instruction to the sleep aid device, receiving a second sleep parameter of the monitored object returned by the sleep aid device according to the first synchronization instruction; acquiring a preset sleep analysis model, Entering a sleep parameter and a second sleep parameter to the sleep analysis model to obtain sleep data of the monitored object; sending a second synchronization instruction to the monitoring device, and receiving the monitoring device to return according to the second synchronization instruction The sleep data of the monitored object; analyzing the sleep data to obtain data corresponding to the sleep quality of the monitored object.
一种睡眠质量监测系统,包括:监控装置,用于向监测装置发送第一监控指令,使所述监测装置根据所述第一监控指令进入第一模式;所述监测装置,用于在所述第一模式下采集被监测对象的第一睡眠参数;以及在所述第一模式下向助眠装置发送第一同步指令;所述助眠装置,用于根据所述第一同步指令向所述监测装置上报所述被监测对象的第二睡眠参数;所述监测装置还用于获取预设的睡眠分析模型,将所述第一睡眠参数和第二睡眠参数输入至所述睡眠分析模型,得到所述被监测对象的睡眠数据,将所述睡眠数据发送至所述监控装置;所述监控装置还用于对所述睡眠数据进行分析,分析得到被监测对象的睡眠质量对应的数据。A sleep quality monitoring system includes: a monitoring device, configured to send a first monitoring instruction to the monitoring device, to cause the monitoring device to enter a first mode according to the first monitoring instruction; Collecting a first sleep parameter of the monitored object in the first mode; and transmitting a first synchronization instruction to the sleep aid device in the first mode; the sleep aid device, configured to: according to the first synchronization instruction The monitoring device reports a second sleep parameter of the monitored object; the monitoring device is further configured to acquire a preset sleep analysis model, and input the first sleep parameter and the second sleep parameter into the sleep analysis model to obtain The sleep data of the monitored object sends the sleep data to the monitoring device; the monitoring device is further configured to analyze the sleep data and analyze the data corresponding to the sleep quality of the monitored object.
一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述任一项方法的步骤。A computer apparatus comprising a memory, a processor, and a computer program stored on the memory and operative on the processor, the processor executing the computer program to implement the steps of any of the above methods.
一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述任一项方法的步骤。A computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements the steps of any of the above methods.
上述睡眠质量监测方法、系统、计算机设备和存储介质,监测装置根据监控装置发送的监控指令,可以进入相应的工作模式。在第一模式下,监测装置可以采集被监测对象的第一睡眠参数,也可以获取助眠装置采集到的被监测对象的第二睡眠参数。监测装置根据第一睡眠参数和第二睡眠参数,可以分析计 算得到被监测对象的睡眠数据。将睡眠数据发送至监控装置对睡眠数据进行分析,可以分析得到被监测对象的睡眠质量对应的数据。利用助眠装置和监测装置可以在不影响被监测对象睡眠的情况下,从多个维度获取被监测对象的睡眠参数,利用多维度的睡眠参数分析得到的睡眠质量监测结果可以更加准确。The above sleep quality monitoring method, system, computer equipment and storage medium, the monitoring device can enter a corresponding working mode according to the monitoring instruction sent by the monitoring device. In the first mode, the monitoring device may collect the first sleep parameter of the monitored object, and may also acquire the second sleep parameter of the monitored object collected by the sleep aid device. The monitoring device can analyze the calculated sleep data of the monitored object according to the first sleep parameter and the second sleep parameter. The sleep data is sent to the monitoring device to analyze the sleep data, and the data corresponding to the sleep quality of the monitored object can be analyzed. The sleep aid device and the monitoring device can acquire the sleep parameters of the monitored object from multiple dimensions without affecting the sleep of the monitored object, and the sleep quality monitoring result obtained by using the multi-dimensional sleep parameter analysis can be more accurate.
附图说明DRAWINGS
图1为一个实施例中睡眠质量监测方法的应用场景图;1 is an application scenario diagram of a sleep quality monitoring method in an embodiment;
图2A为一个实施例中睡眠质量监测方法的流程图;2A is a flow chart of a sleep quality monitoring method in an embodiment;
图2B为一个实施例中睡眠质量监测方法的交互时序图;2B is an interaction timing diagram of a sleep quality monitoring method in one embodiment;
图2C为另一个实施例中睡眠质量监测方法的交互时序图;2C is an interaction timing diagram of a sleep quality monitoring method in another embodiment;
图2D为再一个实施例中睡眠质量监测方法的交互时序图;2D is an interaction timing diagram of a sleep quality monitoring method in still another embodiment;
图2E为又一个实施例中睡眠质量监测方法的交互时序图;2E is an interaction timing diagram of a sleep quality monitoring method in still another embodiment;
图3为另一个实施例中睡眠质量监测方法的流程图;3 is a flow chart of a sleep quality monitoring method in another embodiment;
图4为一个实施例中睡眠质量监测系统的结构图;4 is a structural diagram of a sleep quality monitoring system in one embodiment;
图5为一个实施例中监控装置的结构图;Figure 5 is a structural diagram of a monitoring device in an embodiment;
图6为另一个实施例中监控装置的结构图;Figure 6 is a structural diagram of a monitoring device in another embodiment;
图7为一个实施例中监测装置的结构图;Figure 7 is a structural view of a monitoring device in an embodiment;
图8为一个实施例中助眠装置的结构图。Figure 8 is a block diagram of a sleep aid device in one embodiment.
具体实施方式Detailed ways
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the objects, technical solutions, and advantages of the present application more comprehensible, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It is understood that the specific embodiments described herein are merely illustrative of the application and are not intended to be limiting.
可以理解,本发明所使用的术语“第一”、“第二”等可在本文中用于描述各种元件,但这些元件不受这些术语限制。这些术语仅用于将第一个元件与另一个元件区分。举例来说,在不脱离本发明的范围的情况下,可以将第一客户端称为第二客户端,且类似地,可将第二客户端称为第一客户端。第一客户端和第二客户端两者都是客户端,但其不是同一客户端。It will be understood that the terms "first", "second" and the like, as used herein, may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first client may be referred to as a second client, and similarly, a second client may be referred to as a first client, without departing from the scope of the present invention. Both the first client and the second client are clients, but they are not the same client.
本申请提供睡眠质量监测方法,可以应用于如图1所示的应用环境中。其中,监控装置102通过网路与监测装置104连接。监测装置104通过网路与助眠装置106连接。监控装置102可以是终端1022,也可以是终端1022与服务器1024的组合。终端1022可以是智能手机、平板电脑、台式计算机或笔记本电脑中的至少一种,但并不局限于此。服务器1024可以是独立的物理服务器,也可以是多个物理服务器构成的服务器集群。监测装置104可以是穿戴式设备,如手环、脚环、颈环或腰带等。助眠装置106可以是床上用品,如枕头或床垫等。需要说明的是,监测装置104与助眠装置106分别可以是一个,也可以是多个。The present application provides a sleep quality monitoring method that can be applied to an application environment as shown in FIG. 1. The monitoring device 102 is connected to the monitoring device 104 via a network. The monitoring device 104 is coupled to the sleep aid device 106 via a network. The monitoring device 102 can be the terminal 1022 or a combination of the terminal 1022 and the server 1024. The terminal 1022 may be at least one of a smartphone, a tablet, a desktop computer, or a notebook computer, but is not limited thereto. The server 1024 may be a stand-alone physical server or a server cluster composed of multiple physical servers. The monitoring device 104 can be a wearable device such as a wristband, a toe ring, a neck ring or a waistband, and the like. The sleep aid device 106 can be a bedding item such as a pillow or mattress. It should be noted that the monitoring device 104 and the sleep aid device 106 may be one or more.
当被监测对象需要对自己在一段时间内(以下称“监测时段”)的睡眠质量进行监测时,可以通过监控装置102向监测装置104发送监控指令。监测装置104根据监控指令进入相应的工作模式。When the monitored object needs to monitor the quality of sleep of itself for a period of time (hereinafter referred to as "monitoring period"), the monitoring device 102 can transmit a monitoring instruction to the monitoring device 104. The monitoring device 104 enters the corresponding operating mode according to the monitoring command.
当监测装置104进入第一模式时,按照预设频率采集被监测对象的第一睡眠参数,如心率参数,第一体动参数或肌电参数等。监测装置104在第一模式下,按照预设频率向助眠装置106发送第一同步指令。助眠装置106根据第一同步指令,向监测装置104上报采集到的被监测对象的第二睡眠参数,如第二体动参数等。监测装置104预存储了睡眠分析模型,将第一睡眠参数和第二睡眠参数输入至睡眠分析模型,利用睡眠分析模型分析得到被监测对象的睡眠数据,如睡眠状态或睡眠深度等。当被监测对象需要了解自己在监测时段的睡眠质量时,可以通过监控装置102向监测装置104发送第二同步指令。监测装置104根据第二同步指令,将被监测对象在监测时段的睡眠数据发送至监控装置102。监控装置102对睡眠数据进行分析,得到被监测对象的睡眠质量对应的数据,并对分析得到的睡眠质量对应的数据进行展示。When the monitoring device 104 enters the first mode, the first sleep parameter of the monitored object, such as a heart rate parameter, a first body motion parameter or an electromyogram parameter, is collected according to a preset frequency. In the first mode, the monitoring device 104 transmits a first synchronization command to the sleep aid device 106 at a preset frequency. The sleep aid device 106 reports the collected second sleep parameter of the monitored object, such as the second body motion parameter, to the monitoring device 104 according to the first synchronization command. The monitoring device 104 pre-stores the sleep analysis model, inputs the first sleep parameter and the second sleep parameter to the sleep analysis model, and uses the sleep analysis model to analyze the sleep data of the monitored object, such as a sleep state or a sleep depth. When the monitored object needs to know the quality of sleep during the monitoring period, the monitoring device 102 can send a second synchronization instruction to the monitoring device 104. The monitoring device 104 transmits the sleep data of the monitored object during the monitoring period to the monitoring device 102 according to the second synchronization instruction. The monitoring device 102 analyzes the sleep data to obtain data corresponding to the sleep quality of the monitored object, and displays the data corresponding to the analyzed sleep quality.
当监测装置104进入第二模式时,按照上述方式获取被监测对象在监测时段的睡眠数据。睡眠数据包括睡眠状态。监测装置104在第二模式下,当睡眠状态为第一状态时,生成助眠指令,将助眠指令发送至助眠装置106。助眠装置106根据助眠指令进入助眠模式,生成有助于被监测对象睡眠的脉冲信号。当睡眠状态为第二状态时,监测装置104生成助眠停止指令,将助眠停止指令发送至助眠装置106。助眠装置106根据助眠停止指令停止生成脉冲信号。当睡眠状 态为第三状态时,生成休眠指令,将休眠指令发送至助眠装置106。助眠装置106根据休眠指令切换为休眠模式,暂停工作。When the monitoring device 104 enters the second mode, the sleep data of the monitored object during the monitoring period is acquired in the above manner. Sleep data includes sleep states. In the second mode, the monitoring device 104 generates a sleep aid command when the sleep state is the first state, and sends the sleep aid command to the sleep aid device 106. The sleep aid device 106 enters the sleep aid mode according to the sleep aid command, and generates a pulse signal that helps the subject to sleep. When the sleep state is the second state, the monitoring device 104 generates a sleep aid stop command to transmit a sleep aid stop command to the sleep aid device 106. The sleep aid device 106 stops generating the pulse signal according to the sleep aid stop command. When the sleep state is the third state, a sleep command is generated, and the sleep command is sent to the sleep aid device 106. The sleep aid device 106 switches to the sleep mode according to the sleep command, and suspends the operation.
利用助眠装置和监测装置可以在不影响被监测对象睡眠的情况下,从多个维度获取被监测对象的睡眠参数,利用多维度的睡眠参数分析得到的睡眠质量监测结果可以更加准确;根据分析得到的睡眠质量对应的数据对监测装置的工作模式进行调整,使得监测装置不仅可以准确监测被监测对象的睡眠质量,还可以在被监测对象睡眠质量差的时候,及时通过脉冲信号帮助被监测对象睡眠,对睡眠质量的监测形成一种闭环监控,可以进一步提高睡眠质量监测结果的准确度。The sleep aid device and the monitoring device can acquire the sleep parameters of the monitored object from multiple dimensions without affecting the sleep of the monitored object, and the sleep quality monitoring result obtained by using the multi-dimensional sleep parameter analysis can be more accurate; The data corresponding to the obtained sleep quality adjusts the working mode of the monitoring device, so that the monitoring device can not only accurately monitor the sleep quality of the monitored object, but also help the monitored object through the pulse signal in time when the monitored object has poor sleep quality. Sleep, monitoring of sleep quality forms a closed-loop monitoring that can further improve the accuracy of sleep quality monitoring results.
在一个实施例中,如图2A所示,提供了一种睡眠质量监测方法,以该方法应用于监测装置为例进行说明,具体包括以下步骤:In an embodiment, as shown in FIG. 2A, a sleep quality monitoring method is provided, which is applied to the monitoring device as an example, and specifically includes the following steps:
步骤202,接收监控装置发送的第一监控指令,根据第一监控指令进入第一模式。Step 202: Receive a first monitoring instruction sent by the monitoring device, and enter the first mode according to the first monitoring instruction.
当被监测对象需要对自己的睡眠质量进行监测时,可以通过终端触发监测装置进入相应的工作模式,如第一模式或第二模式。通过终端触发监测装置进入相应工作模式具有多种实施方式。如图2B所示,在一种实施方式中,被监测对象可以将终端与监测装置无线连接,将监测装置与助眠装置无线连接,将监测装置进行佩戴,在终端通过点击按键,输入文本或语音等方式生成监控指令,终端将监控指令发送至监测装置,监测装置根据监控指令进入相应工作模式。监控指令包括第一监控指令和第二监控指令。监测装置根据第一监控指令进入第一模式,或者根据第二监控指令进入第二模式。如图2C所示,在另一种实施方式中,被监测对象可以将服务器与终端无线连接,将终端与监测装置无线连接,将监测装置与助眠装置无线连接,将监测装置进行佩戴,服务器获取被监测对象的历史睡眠数据或爬取被监测对象的就诊记录,根据被监测对象的历史睡眠数据或就诊记录生成监控指令,终端将监控指令转发至监测装置,监测装置根据监控指令进入相应工作模式。When the monitored object needs to monitor the quality of its sleep, the terminal can trigger the monitoring device to enter a corresponding working mode, such as the first mode or the second mode. There are various embodiments for the terminal to trigger the monitoring device to enter the corresponding working mode. As shown in FIG. 2B, in an embodiment, the monitored object can wirelessly connect the terminal to the monitoring device, wirelessly connect the monitoring device to the sleep aid device, wear the monitoring device, and input text or a button at the terminal by clicking a button. The monitoring instruction is generated by voice or the like, and the terminal sends the monitoring instruction to the monitoring device, and the monitoring device enters the corresponding working mode according to the monitoring instruction. The monitoring instruction includes a first monitoring instruction and a second monitoring instruction. The monitoring device enters the first mode according to the first monitoring instruction or enters the second mode according to the second monitoring instruction. As shown in FIG. 2C, in another embodiment, the monitored object can wirelessly connect the server to the terminal, wirelessly connect the terminal to the monitoring device, wirelessly connect the monitoring device to the sleep aid device, and wear the monitoring device. Obtaining historical sleep data of the monitored object or crawling the medical record of the monitored object, generating a monitoring instruction according to the historical sleep data or the medical record of the monitored object, and the terminal forwards the monitoring instruction to the monitoring device, and the monitoring device enters the corresponding work according to the monitoring instruction. mode.
第一模式是指监测装置仅需进行数据采集的工作模式。第二模式是指监测 装置不仅需要进行数据采集,还需要对助眠装置进行控制的工作模式。终端与监测装置,监测装置与助眠装置分别可以通过蓝牙、Wi-Fi等无线网络进行连接。需要说明的是,终端可以通过局域网与监测装置连接,也可以通过广域网或移动网络等与监测装置连接,从而终端可以对监测装置进行近距离控制,也可以对监测装置进行远程控制。The first mode refers to a working mode in which the monitoring device only needs to perform data acquisition. The second mode refers to a mode of operation in which the monitoring device not only needs to perform data acquisition but also controls the sleep aid device. The terminal and the monitoring device, the monitoring device and the sleep aid device can be respectively connected through a wireless network such as Bluetooth or Wi-Fi. It should be noted that the terminal may be connected to the monitoring device through the local area network, or may be connected to the monitoring device through a wide area network or a mobile network, so that the terminal can perform close control on the monitoring device or remotely control the monitoring device.
在另一个实施例中,如图2D所示,也可以通过自触发的方式触发监测装置进入相应工作模式。具体的,当被监测对象需要对自己的睡眠质量进行监测时,可以仅将监测装置与助眠装置无线连接,将监测装置进行佩戴。当佩戴完毕时,监测装置自动进行佩戴检测,若检测结果为佩戴成功,生成参数采集指令,根据参数采集指令进入第一模式。该触发方式可以减少被监测对象对监控装置与监测装置的连接操作。监控装置只需在对监测装置采集的参数进行同步时,与监测装置无线连接。In another embodiment, as shown in FIG. 2D, the monitoring device can also be triggered to enter the corresponding working mode by self-triggering. Specifically, when the monitored object needs to monitor the quality of sleep, the monitoring device can be wirelessly connected only to the sleep aid device, and the monitoring device can be worn. When the wearing is completed, the monitoring device automatically performs the wearing detection. If the detection result is successful wearing, the parameter collecting instruction is generated, and the first mode is entered according to the parameter collecting instruction. The triggering manner can reduce the connection operation of the monitored object to the monitoring device and the monitoring device. The monitoring device only needs to wirelessly connect with the monitoring device when synchronizing the parameters collected by the monitoring device.
步骤204,在第一模式下,采集被监测对象的第一睡眠参数。Step 204: Collect the first sleep parameter of the monitored object in the first mode.
步骤206,在第一模式下,向助眠装置发送第一同步指令,接收助眠装置根据第一同步指令返回的被监测对象的第二睡眠参数。Step 206: In the first mode, send a first synchronization instruction to the sleep aid device, and receive a second sleep parameter of the monitored object returned by the sleep aid device according to the first synchronization instruction.
当通过终端触发监测装置进入第一模式时,被监测对象可以在终端设置用户标识和监测时段。用户标识可以是社交账号、手机号码或身份证号等能够唯一识别一个被监测对象的信息。监测时段是指需要对被监测对象的睡眠质量进行监测的时间区间,如第一天晚上10:00~第二天早上6:00等。终端发送至监测装置的监控指令记录了当前时间的时间戳。监测装置可以根据该时间戳进行时间同步。容易理解,当通过自触发的方式触发监测装置进入第一模式时,监测时段是指自监测装置佩戴成功至监测装置佩戴失败的时间区间。When the terminal triggers the monitoring device to enter the first mode, the monitored object can set the user identification and the monitoring period at the terminal. The user identifier may be a social account, a mobile phone number, or an ID number that can uniquely identify a monitored object. The monitoring period refers to the time interval in which the quality of sleep of the monitored object needs to be monitored, such as 10:00 on the first day to 6:00 in the morning on the next day. The monitoring command sent by the terminal to the monitoring device records the time stamp of the current time. The monitoring device can perform time synchronization based on the time stamp. It is easy to understand that when the monitoring device is triggered to enter the first mode by means of self-triggering, the monitoring period refers to a time interval from the successful wearing of the monitoring device to the failure of the monitoring device to wear.
为了提高睡眠质量监测结果,监测装置从多个维度获取被监测对象的睡眠参数。具体的,在第一模式下,监测装置在监测时段按照第一预设频率对被监测对象的第一睡眠参数进行采集。第一预设频率可以综合考虑监测装置的功耗和睡眠质量监测结果的准确度进行设置,如1次/分钟。第一睡眠参数包括第一体动参数、心率参数或肌电参数中的至少一项。第一体动参数是指被监测对象的睡眠动作参数,如手臂抬起动作,腿部抬起动作或躯体扭动动作等的参数。In order to improve the sleep quality monitoring result, the monitoring device acquires sleep parameters of the monitored object from multiple dimensions. Specifically, in the first mode, the monitoring device collects the first sleep parameter of the monitored object according to the first preset frequency during the monitoring period. The first preset frequency can be set in consideration of the power consumption of the monitoring device and the accuracy of the sleep quality monitoring result, such as 1 time/minute. The first sleep parameter includes at least one of a first body motion parameter, a heart rate parameter, or an electromyogram parameter. The first body motion parameter refers to a parameter of a sleep action parameter of the monitored object, such as an arm lift action, a leg lift action, or a body twist action.
在第一模式下,监测装置还在监测时段按照第二预设频率向助眠装置发送第一同步指令,以使助眠装置对被监测对象的第二睡眠参数进行上报。具体的,助眠装置按照第三预设频率对被监测对象的第二睡眠参数进行采集。其中,第二预设频率可以根据需求自由设置,如30分钟;第三预设频率与第一预设频率可以相同,也可以不同。第二睡眠参数包括第二体动参数。根据助眠装置不同,第二体动参数可以不同。例如,当助眠装置包括助眠枕头时,第二体动参数包括被监测对象的头部离开枕头的参数;当助眠装置包括助眠床垫时,第二体动参数包括被监测对象的躯体离开床垫的参数等。In the first mode, the monitoring device sends a first synchronization instruction to the sleep aid device according to the second preset frequency during the monitoring period, so that the sleep aid device reports the second sleep parameter of the monitored object. Specifically, the sleep aid device collects the second sleep parameter of the monitored object according to the third preset frequency. The second preset frequency may be freely set according to requirements, such as 30 minutes; the third preset frequency may be the same as the first preset frequency, or may be different. The second sleep parameter includes a second body motion parameter. The second body motion parameters may vary depending on the sleep aid device. For example, when the sleep aid device includes a sleep aid pillow, the second body motion parameter includes a parameter of the head of the monitored object leaving the pillow; when the sleep aid device includes the sleep aid mattress, the second body motion parameter includes the monitored object The parameters of the body leaving the mattress, etc.
步骤208,获取预设的睡眠分析模型,将第一睡眠参数和第二睡眠参数输入至睡眠分析模型,得到被监测对象的睡眠数据。Step 208: Acquire a preset sleep analysis model, input the first sleep parameter and the second sleep parameter to the sleep analysis model, and obtain sleep data of the monitored object.
监测装置获取睡眠分析模型,将第一睡眠参数和第二睡眠参数输入至睡眠分析模型。睡眠分析模型可以是服务器或终端利用多个被监测对象的睡眠参数训练得到,并预先存储至监测装置的。监测装置利用睡眠分析模型分析得到被监测对象的睡眠数据,如睡眠状态或睡眠深度等。The monitoring device acquires a sleep analysis model, and inputs the first sleep parameter and the second sleep parameter to the sleep analysis model. The sleep analysis model may be obtained by the server or the terminal using the sleep parameters of the plurality of monitored objects and stored in advance to the monitoring device. The monitoring device uses the sleep analysis model to analyze the sleep data of the monitored object, such as the sleep state or the depth of sleep.
步骤210,将睡眠数据发送至监控装置,监控装置对睡眠数据进行分析,分析得到被监测对象的睡眠质量对应的数据。Step 210: Send sleep data to the monitoring device, and the monitoring device analyzes the sleep data, and analyzes and obtains data corresponding to the sleep quality of the monitored object.
当被监测对象需要了解自己在监测时段的睡眠质量时,可以通过终端向监测装置发送第二同步指令。例如,在上述举例中,被监测对象可以在早上7:00起床后,将第一天晚上10:00至第二天早上6:00的睡眠数据从监测装置同步至终端。终端在接收到监测装置根据第二同步指令返回的被监测对象的睡眠数据之后,生成同步成功应答,将同步成功应答返回至监测装置,使监测装置将相应监测时段的睡眠数据进行删除,以减少对监测装置的资源占用。When the monitored object needs to know the quality of sleep during the monitoring period, the terminal may send a second synchronization instruction to the monitoring device through the terminal. For example, in the above example, the monitored object can synchronize the sleep data from 10:00 on the first day to 6:00 am on the next day from the monitoring device to the terminal after getting up at 7:00 in the morning. After receiving the sleep data of the monitored object returned by the monitoring device according to the second synchronization instruction, the terminal generates a synchronization success response, returns the synchronization success response to the monitoring device, and causes the monitoring device to delete the sleep data of the corresponding monitoring period to reduce Resource occupancy of the monitoring device.
终端将接收到的睡眠数据发送至服务器,由服务器对被监测对象的睡眠数据进行分析。或者终端对接收到的睡眠数据直接进行分析。如图2E所示,睡眠数据包括用户标识。当终端对接收到的睡眠数据进行分析时,终端获取存储的用户标识,将睡眠数据的用户标识与获取到的用户标识进行匹配,当匹配成功时,根据睡眠数据统计被监测对象在监测时段的睡眠总时长,清醒次数等。为了描述方便,将第二预设频率对应的时间称为参数同步周期,如在上述举例中, 参数同步周期可以是30分钟。睡眠数据还包括在监测时段内的每个参数同步周期获取到的被监测对象的睡眠状态,即被监测对象在监测时段内的每个参数同步周期的睡眠状态。例如,晚上10:00~晚上10:30的睡眠状态。终端根据被监测对象在监测时段的睡眠总时长,清醒次数和睡眠状态,计算被监测对象的睡眠质量分数。终端利用被监测对象在监测时段的睡眠总时长,清醒次数,睡眠状态和睡眠质量分数等,生成用户标识对应的分析文件,并在接收到被监测对象的查询请求时对分析文件进行展示。The terminal sends the received sleep data to the server, and the server analyzes the sleep data of the monitored object. Or the terminal directly analyzes the received sleep data. As shown in FIG. 2E, the sleep data includes a user identification. When the terminal analyzes the received sleep data, the terminal acquires the stored user identifier, and matches the user identifier of the sleep data with the obtained user identifier. When the matching is successful, the monitored object is monitored according to the sleep data during the monitoring period. The total length of sleep, the number of waking hours, etc. For convenience of description, the time corresponding to the second preset frequency is referred to as a parameter synchronization period. As in the above example, the parameter synchronization period may be 30 minutes. The sleep data further includes a sleep state of the monitored object acquired in each parameter synchronization period within the monitoring period, that is, a sleep state of each parameter synchronization period of the monitored object during the monitoring period. For example, sleep state from 10:00 pm to 10:30 pm. The terminal calculates the sleep quality score of the monitored object according to the total sleep duration, the number of awake and the sleep state of the monitored object during the monitoring period. The terminal uses the total sleep duration, the number of awake, the sleep state, and the sleep quality score of the monitored object to generate an analysis file corresponding to the user identifier, and displays the analysis file when receiving the query request of the monitored object.
服务器上部署了数据库。当服务器对接收到的睡眠数据进行分析时,服务器按照上述方式对被监测对象的睡眠数据进行分析,并对分析得到的分析文件发送至终端,将分析得到的被监测对象在监测时段的睡眠数据、睡眠总时长,清醒次数,睡眠状态和睡眠质量分数等数据记录至数据库。A database is deployed on the server. When the server analyzes the received sleep data, the server analyzes the sleep data of the monitored object according to the above manner, and sends the analyzed analysis file to the terminal, and analyzes the sleep data of the monitored object during the monitoring period. Data such as total sleep duration, number of awake, sleep status, and sleep quality score are recorded to the database.
本实施例中,监测装置根据监控装置发送的监控指令,可以进入相应的工作模式。在第一模式下,监测装置可以采集被监测对象的第一睡眠参数,也可以获取助眠装置采集到的被监测对象的第二睡眠参数。监测装置根据第一睡眠参数和第二睡眠参数,可以分析计算得到被监测对象的睡眠数据。将睡眠数据发送至监控装置对睡眠数据进行分析,可以分析得到被监测对象的睡眠质量对应的数据。利用助眠装置和监测装置可以在不影响被监测对象睡眠的情况下,从多个维度获取被监测对象的睡眠参数,利用多维度的睡眠参数分析得到的睡眠质量监测结果可以更加准确。In this embodiment, the monitoring device can enter the corresponding working mode according to the monitoring instruction sent by the monitoring device. In the first mode, the monitoring device may collect the first sleep parameter of the monitored object, and may also acquire the second sleep parameter of the monitored object collected by the sleep aid device. The monitoring device can analyze and calculate the sleep data of the monitored object according to the first sleep parameter and the second sleep parameter. The sleep data is sent to the monitoring device to analyze the sleep data, and the data corresponding to the sleep quality of the monitored object can be analyzed. The sleep aid device and the monitoring device can acquire the sleep parameters of the monitored object from multiple dimensions without affecting the sleep of the monitored object, and the sleep quality monitoring result obtained by using the multi-dimensional sleep parameter analysis can be more accurate.
在一个实施例中,该方法还包括:接收监控装置发送的第二监控指令,根据第二监控指令进入第二模式;在第二模式下,按照预设频率获取被监测对象的睡眠数据;睡眠数据包括睡眠状态;当睡眠状态为第一状态时,生成助眠指令,利用助眠指令将助眠装置的工作模式设置为助眠模式,使助眠装置生成脉冲信号;当睡眠状态为第二状态时,生成助眠停止指令,将助眠停止指令发送至助眠装置,使助眠装置根据助眠停止指令停止生成脉冲信号。In an embodiment, the method further includes: receiving a second monitoring instruction sent by the monitoring device, entering the second mode according to the second monitoring instruction; and acquiring the sleep data of the monitored object according to the preset frequency in the second mode; The data includes a sleep state; when the sleep state is the first state, a sleep aid command is generated, and the sleep mode is set to the sleep mode by the sleep aid command, so that the sleep aid device generates a pulse signal; when the sleep state is the second state In the state, a sleep aid stop command is generated, and the sleep aid stop command is sent to the sleep aid device, and the sleep aid device stops generating the pulse signal according to the sleep aid stop command.
当监测装置根据监控装置发送的第二监控指令进入第二模式时,监测装置按照上述方式获取被监测对象在监测时段的睡眠数据。预设频率可以是上述的第二预设频率。睡眠数据包括被监测对象在监测时段内的每个参数同步周期的 睡眠状态。在第二模式下,监测装置根据上一个参数同步周期采集到的睡眠数据,对助眠装置在当前的参数同步周期的工作模式进行控制。具体的,本实施例睡眠状态包括第一状态、第二状态或第三状态中的至少一项,其中,第一状态可以是清醒状态,第二状态可以是浅睡状态,第三状态可以是深睡状态。容易理解,可以根据实际需求对被监测对象的睡眠状态进行不同精度的划分,如可以包括第四状态,也可以仅包括第一状态和第二状态等,对此不做限制。When the monitoring device enters the second mode according to the second monitoring instruction sent by the monitoring device, the monitoring device acquires the sleep data of the monitored object during the monitoring period according to the above manner. The preset frequency may be the second preset frequency described above. The sleep data includes the sleep state of each parameter synchronization period of the monitored object during the monitoring period. In the second mode, the monitoring device controls the working mode of the sleep aid device in the current parameter synchronization period according to the sleep data collected in the previous parameter synchronization period. Specifically, the sleep state of the embodiment includes at least one of a first state, a second state, or a third state, wherein the first state may be an awake state, the second state may be a light sleep state, and the third state may be Deep sleep state. It is easy to understand that the sleep state of the monitored object can be divided into different precisions according to actual needs, for example, the fourth state may be included, or only the first state and the second state may be included, and no limitation is imposed thereon.
当睡眠状态为第一状态时,监测装置生成助眠指令,利用助眠指令将助眠装置的工作模式设置为助眠模式。在助眠模式下,助眠装置对被监测对象的第二睡眠参数进行采集和上报,并生成脉冲信号。脉冲信号的脉冲频率接近于人体脑电波频率,可以促进人体睡眠。容易理解,也可以采用其他方式来促进被监测对象的睡眠,如助眠装置按照预设频率震动等,对此不作限制。当监测装置中不存在上一个参数同步周期采集到的睡眠数据时,如被监测对象在监测时段使用监测装置的第一个参数同步周期,可以将助眠装置在第一个参数同步周期的工作模式默认设置为助眠模式。When the sleep state is the first state, the monitoring device generates a sleep aid command, and uses the sleep aid command to set the working mode of the sleep aid device to the sleep assist mode. In the sleep assist mode, the sleep aid device collects and reports the second sleep parameter of the monitored object, and generates a pulse signal. The pulse frequency of the pulse signal is close to the frequency of the human brain wave, which can promote human sleep. It is easy to understand that other methods can be used to promote the sleep of the monitored object, such as the sleep aid device vibrating according to the preset frequency, etc., which is not limited. When there is no sleep data collected by the previous parameter synchronization period in the monitoring device, if the monitored object uses the first parameter synchronization period of the monitoring device during the monitoring period, the sleep aid device can work in the first parameter synchronization period. The mode is set to sleep mode by default.
当睡眠状态为第二状态时,监测装置生成助眠停止指令,利用助眠停止指令将助眠装置的工作模式切换为监测模式。在监测模式下,助眠装置停止生成脉冲信号,只需按照第三预设频率对被监测对象的第二睡眠参数进行采集,按照第二预设频率将每个参数同步周期采集到的第二睡眠参数上报至监测装置,可以减少助眠装置的功耗。When the sleep state is the second state, the monitoring device generates a sleep aid stop command, and switches the operation mode of the sleep aid device to the monitoring mode by using the sleep aid stop command. In the monitoring mode, the sleep aid device stops generating the pulse signal, and only needs to collect the second sleep parameter of the monitored object according to the third preset frequency, and collect the second synchronization time of each parameter according to the second preset frequency. The sleep parameter is reported to the monitoring device, which can reduce the power consumption of the sleep aid device.
当睡眠状态为第三状态时,监测装置生成休眠指令,利用休眠指令将助眠装置的工作模式切换为休眠模式。在休眠模式下,助眠装置暂停工作,无需生成脉冲信号,也无需对被监测对象的第二睡眠参数进行采集,进一步节省助眠装置的功耗。When the sleep state is the third state, the monitoring device generates a sleep command, and uses the sleep command to switch the working mode of the sleep aid device to the sleep mode. In the sleep mode, the sleep aid device is suspended, no need to generate a pulse signal, and no need to collect the second sleep parameter of the monitored object, further saving the power consumption of the sleep aid device.
本实施例中,监测装置根据监控装置发送的监控指令,可以进入不同的工作模式。在第二模式下,监测装置按照上述方式获取被监测对象在监测时段的睡眠数据,并根据睡眠数据对助眠装置的工作模式进行控制。助眠装置可以根据被监测对象的睡眠情况及时调整助眠装置的工作模式,使得在助眠装置的功耗,助眠效果以及睡眠质量监测结果的准确度之间达到一种均衡。In this embodiment, the monitoring device can enter different working modes according to the monitoring instruction sent by the monitoring device. In the second mode, the monitoring device acquires sleep data of the monitored object during the monitoring period according to the above manner, and controls the working mode of the sleep aid device according to the sleep data. The sleep aid device can adjust the working mode of the sleep aid device according to the sleep condition of the monitored object, so as to achieve a balance between the power consumption of the sleep aid device, the sleep aid effect and the accuracy of the sleep quality monitoring result.
在一个实施例中,睡眠数据还包括睡眠深度;当睡眠状态为第一状态时,生成助眠指令,利用助眠指令将助眠装置的工作模式设置为助眠模式,使助眠装置生成脉冲信号的步骤,包括:当睡眠状态为第一状态时,获取第一状态对应的多个睡眠深度区间以及每个睡眠深度区间对应的脉冲强度;根据被监测对象的睡眠深度所属睡眠深度区间,获取对应的脉冲强度;利用获取到的脉冲强度生成助眠指令,利用助眠指令将助眠装置的工作模式设置为助眠模式,使助眠装置根据助眠指令中的脉冲强度生成脉冲信号。In one embodiment, the sleep data further includes a sleep depth; when the sleep state is the first state, generating a sleep aid command, and setting a working mode of the sleep aid device to a sleep assist mode by using a sleep aid command, causing the sleep aid device to generate a pulse The step of the signal includes: acquiring a plurality of sleep depth intervals corresponding to the first state and a pulse intensity corresponding to each sleep depth interval when the sleep state is the first state; acquiring the sleep depth interval according to the sleep depth of the monitored object Corresponding pulse intensity; using the acquired pulse intensity to generate a sleep aid command, and using the sleep aid command to set the working mode of the sleep aid device to the sleep aid mode, so that the sleep aid device generates a pulse signal according to the pulse intensity in the sleep aid command.
睡眠数据还包括睡眠深度。睡眠深度是指被监测对象睡眠的深入程度,是可以表征被监测对象的睡眠状态的参数值。监测装置根据被监测对象的睡眠深度,对助眠装置生成脉冲信号的脉冲强度进行控制。具体的,监测装置预存储了多个睡眠深度区间以及每个睡眠深度区间对应的脉冲强度。当睡眠状态为第一状态时,表示被监测对象当前阶段的睡眠深入程度较弱,需要助眠装置进行助眠,监测装置获取预存储的多个睡眠深度区间以及每个睡眠深度区间对应的脉冲强度,根据被监测对象当前的睡眠深度所属的睡眠深度区间,查询对应的脉冲强度。监测装置利用获取到的脉冲强度生成助眠指令,使助眠装置根据助眠指令中的脉冲强度生成脉冲信号,从而对脉冲信号的脉冲强度进行调节。Sleep data also includes sleep depth. The depth of sleep refers to the depth of sleep of the monitored object, and is a parameter value that can characterize the sleep state of the monitored object. The monitoring device controls the pulse intensity of the pulse signal generated by the sleep aid device according to the depth of sleep of the monitored object. Specifically, the monitoring device pre-stores a plurality of sleep depth intervals and a pulse intensity corresponding to each sleep depth interval. When the sleep state is the first state, it indicates that the sleep stage of the monitored object is weaker in the current stage, and the sleep aid device is required to assist the sleep, and the monitoring device acquires a plurality of pre-stored sleep depth intervals and pulses corresponding to each sleep depth interval. Intensity, according to the sleep depth interval to which the current sleep depth of the monitored object belongs, the corresponding pulse intensity is queried. The monitoring device generates a sleep aid command by using the acquired pulse intensity, so that the sleep aid device generates a pulse signal according to the pulse intensity in the sleep aid command, thereby adjusting the pulse intensity of the pulse signal.
本实施例中,监测装置根据被监测对象的睡眠深度,对助眠装置生成脉冲信号的脉冲强度进行控制,使得脉冲信号的脉冲强度适应被监测对象当前的睡眠深度,达到一种较好的助眠效果,也在助眠效果和功耗之间达到一种均衡。In this embodiment, the monitoring device controls the pulse intensity of the pulse signal generated by the sleep aid device according to the sleep depth of the monitored object, so that the pulse intensity of the pulse signal adapts to the current sleep depth of the monitored object, thereby achieving a better help. The sleep effect also achieves a balance between sleep aid effect and power consumption.
在一个实施例中,该方法还包括:在第一模式下,采集监测设备信息;监测设备信息包括第一充电信息或第一版本信息中的至少一项;当接收到监控装置发送的第二同步指令时,将监测设备信息发送至监控装置;使监控装置根据第一充电信息生成低电量提示;当接收到监控装置根据第一版本信息发送的监测升级指令时,监测升级指令携带了监测升级包,利用监测升级包进行版本升级。In an embodiment, the method further includes: collecting, in the first mode, the monitoring device information; the monitoring device information includes at least one of the first charging information or the first version information; and receiving the second sent by the monitoring device When the synchronization command is sent, the monitoring device information is sent to the monitoring device; the monitoring device generates a low battery prompt according to the first charging information; and when the monitoring device transmits the monitoring upgrade command according to the first version information, the monitoring upgrade command carries the monitoring upgrade. Package, use the monitoring upgrade package to upgrade the version.
在第一模式下,监测装置不仅对被监测对象的第一睡眠参数进行采集,还对监测装置的监测设备信息进行采集。监测设备信息包括第一充电信息或第一版本信息中的至少一项。其中,第一充电信息包括监测装置的当前电量和充电 状态等。监测装置上运行了用于参数采集、参数分析等的应用程序,第一版本信息是指该应用程序的版本号等。容易理解,监测设备信息还可以包括其他信息,如监测装置的产品序列号,Mac地址(Medium Access Control,物理地址)等,对此不作限制。监控装置对接收到的监测设备信息进行展示,并根据接收到的监测设备信息,判断监测装置上的应用程序是否需要版本升级,当需要进行版本升级时,获取对应的监测升级包,利用监测升级包生成监测升级指令,将监测升级指令发送至监测装置,使监测装置利用监测升级包对运行的应用程序进行版本升级。In the first mode, the monitoring device not only collects the first sleep parameter of the monitored object, but also collects the monitoring device information of the monitoring device. The monitoring device information includes at least one of the first charging information or the first version information. The first charging information includes a current power quantity, a charging state, and the like of the monitoring device. An application for parameter acquisition, parameter analysis, and the like is run on the monitoring device, and the first version information refers to the version number of the application. It is easy to understand that the monitoring device information may also include other information, such as the product serial number of the monitoring device, the Mac address (Medium Access Control, physical address), etc., without limitation. The monitoring device displays the received monitoring device information, and determines whether the application on the monitoring device needs to be upgraded according to the received monitoring device information. When the version upgrade is required, the corresponding monitoring and upgrading package is obtained, and the monitoring upgrade is performed. The package generates a monitoring upgrade command, and sends a monitoring upgrade command to the monitoring device, so that the monitoring device uses the monitoring upgrade package to upgrade the running application.
本实施例中,监测装置不仅对被监测对象的第一睡眠参数进行采集,还对监测设备信息进行采集,被监测对象可以通过监控装置直接了解监测装置的电量等监测设备信息,便于被监测对象对监测装置进行维护。监控装置可以根据监测设备信息自动对监测装置上的应用程序进行版本升级,可以减少人工维护监测装置的时间成本。In this embodiment, the monitoring device not only collects the first sleep parameter of the monitored object, but also collects the monitoring device information, and the monitored object can directly understand the monitoring device information such as the power of the monitoring device through the monitoring device, and is convenient for the monitored object. Maintenance of the monitoring device. The monitoring device can automatically upgrade the application on the monitoring device according to the monitoring device information, which can reduce the time cost of manually maintaining the monitoring device.
在一个实施例中,该方法还包括:在第一模式下,向助眠装置发送第一同步指令,接收助眠装置根据第一同步指令发送的助眠设备信息;助眠设备信息包括助眠装置的第二充电信息、第二版本信息或异常错误码中的至少一项;当接收到监控装置发送的第二同步指令时,将助眠设备信息发送至监控装置;使监控装置根据第二充电信息生成低电量提示,或者根据异常错误码生成助眠装置对应的过流提示或过温提示;当接收到监控装置根据第二版本信息发送的助眠升级指令时,拆除与助眠装置之间的通信链路;使监控装置与助眠装置之间建立通信链路,对助眠装置进行版本升级。In an embodiment, the method further includes: in the first mode, sending a first synchronization instruction to the sleep aid device, receiving sleep aid device information sent by the sleep aid device according to the first synchronization instruction; and the sleep aid device information includes a sleep aid At least one of the second charging information, the second version information, or the abnormal error code of the device; when receiving the second synchronization command sent by the monitoring device, transmitting the sleep aid device information to the monitoring device; and causing the monitoring device according to the second The charging information generates a low battery prompt, or generates an overcurrent prompt or an over temperature prompt corresponding to the sleep aid device according to the abnormal error code; and when the monitoring device receives the sleep aid upgrade command according to the second version information, the sleep device is removed and assisted Inter-communication link; establish a communication link between the monitoring device and the sleep aid device, and upgrade the sleep aid device.
在助眠模式或监测模式下,助眠装置不仅对被监测对象的第二睡眠参数进行采集,还对助眠装置的助眠设备信息进行采集。助眠设备信息包括助眠装置的第二充电信息、第二版本信息或异常错误码中的至少一项。其中,第二充电信息包括助眠装置的当前电量和充电状态等。助眠装置上运行了用于参数采集、助眠控制等的应用程序,第二版本信息是指该应用程序的版本号等。异常错误码可以是助眠装置获取到电流信息和温度信息后,并对电流信息和温度信息分别与预设的电流阈值和温度阈值进行比较得到的。其中,电流阈值和温度阈值 分别可以根据实际需求自由设置,如电流阈值可以是3A,温度阈值可以是70℃。容易理解,助眠设备信息还可以包括其他信息,如助眠装置的产品序列号,Mac地址等,对此不作限制。In the sleep aid mode or the monitoring mode, the sleep aid device not only collects the second sleep parameter of the monitored object, but also collects the sleep aid device information of the sleep aid device. The sleep aid device information includes at least one of second charging information, second version information, or abnormal error code of the sleep aid device. The second charging information includes a current power and a charging state of the sleep aid device. An application for parameter acquisition, sleep control, and the like is run on the sleep aid device, and the second version information refers to the version number of the application. The abnormal error code may be obtained after the sleep aid device obtains the current information and the temperature information, and compares the current information and the temperature information with a preset current threshold and a temperature threshold, respectively. The current threshold and the temperature threshold can be freely set according to actual requirements, for example, the current threshold can be 3A, and the temperature threshold can be 70 °C. It is easy to understand that the sleep aid device information may also include other information, such as the product serial number of the sleep aid device, the Mac address, etc., without limitation.
监控装置对接收到的助眠设备信息进行展示,并在助眠装置的当前电量低于阈值时生成低电量提示,或根据异常错误码生成助眠装置对应的过流提示或过温提示。在另一个实施例中,监测装置根据助眠装置上报的异常错误码,控制助眠装置进入休眠模式,暂停工作,以减少助眠装置的损耗以及过流或过温带来的安全隐患。The monitoring device displays the received sleep aid device information, and generates a low battery prompt when the current power of the sleep aid device is lower than the threshold, or generates an overcurrent prompt or an over temperature prompt corresponding to the sleep aid device according to the abnormal error code. In another embodiment, the monitoring device controls the sleep aid device to enter the sleep mode according to the abnormal error code reported by the sleep aid device, and suspends the work to reduce the loss of the sleep aid device and the safety hazard caused by over-current or over-temperature.
监控装置根据助眠装置的第二版本信息,判断助眠装置上的应用程序是否需要版本升级。当需要进行版本升级时,监控装置断开与监测装置之间的网络连接,与助眠装置之间通过无线网络或有线网络连接。监控装置获取对应的助眠升级包,利用助眠升级包生成助眠升级指令,将助眠升级指令发送至助眠装置,使助眠装置利用助眠升级包对运行的应用程序进行版本升级。The monitoring device determines whether the application on the sleep aid device requires a version upgrade based on the second version information of the sleep aid device. When a version upgrade is required, the monitoring device disconnects from the network connection with the monitoring device and connects to the sleep aid device via a wireless network or a wired network. The monitoring device obtains the corresponding sleep aid upgrade package, generates a sleep aid upgrade command by using the sleep aid upgrade package, and sends the sleep aid upgrade command to the sleep aid device, so that the sleep aid device uses the sleep aid upgrade package to upgrade the running application.
本实施例中,助眠装置不仅对被监测对象的第二睡眠参数进行采集,还对助眠设备信息进行采集,被监测对象可以通过监控装置直接了解助眠装置的电量、电流、温度等监测设备信息,并根据监测设备信息生成相关的提示,便于被监测对象对监测装置进行维护。监控装置可以根据助眠设备信息自动对助眠装置上的应用程序进行版本升级,可以减少人工维护助眠装置的时间成本。In this embodiment, the sleep aid device not only collects the second sleep parameter of the monitored object, but also collects the information of the sleep aid device, and the monitored object can directly monitor the power, current, temperature, etc. of the sleep aid device through the monitoring device. The device information is generated according to the monitoring device information, so that the monitored object can maintain the monitoring device. The monitoring device can automatically upgrade the application on the sleep aid device according to the information of the sleep aid device, thereby reducing the time cost of manually maintaining the sleep aid device.
在一个实施例中,如图3所示,提供了一种睡眠质量监测方法,以该方法应用于监控装置为例进行说明,具体包括以下步骤:In an embodiment, as shown in FIG. 3, a sleep quality monitoring method is provided. The method is applied to the monitoring device as an example, and specifically includes the following steps:
步骤302,向监测装置发送第一监控指令,使监测装置根据第一监控指令进入第一模式,在第一模式下,采集被监测对象的第一睡眠参数,向助眠装置发送第一同步指令,接收助眠装置根据第一同步指令返回的被监测对象的第二睡眠参数;获取预设的睡眠分析模型,将第一睡眠参数和第二睡眠参数输入至睡眠分析模型,得到被监测对象的睡眠数据。Step 302: Send a first monitoring instruction to the monitoring device, so that the monitoring device enters the first mode according to the first monitoring instruction, and in the first mode, collects a first sleep parameter of the monitored object, and sends a first synchronization instruction to the sleep aid device. Receiving a second sleep parameter of the monitored object returned by the sleep aid device according to the first synchronization instruction; acquiring a preset sleep analysis model, inputting the first sleep parameter and the second sleep parameter to the sleep analysis model, and obtaining the monitored object Sleep data.
步骤304,向监测装置发送第二同步指令,接收监测装置根据第二同步指令返回的被监测对象的睡眠数据。Step 304: Send a second synchronization instruction to the monitoring device, and receive sleep data of the monitored object returned by the monitoring device according to the second synchronization instruction.
步骤306,对睡眠数据进行分析,得到被监测对象的睡眠质量对应的数据。 Step 306, analyzing the sleep data to obtain data corresponding to the sleep quality of the monitored object.
在一个实施例中,该方法还包括:接收监测装置发送的睡眠监测请求,睡眠监测请求携带了用户标识;根据用户标识检测是否存储对应的历史睡眠数据;当存在对应的历史睡眠数据时,根据历史睡眠数据生成第一监控指令或第二监控指令;当不存在对应的历史睡眠数据时,爬取用户标识在预设时间内的就诊记录,根据就诊记录生成第一监控指令或第二监控指令。In an embodiment, the method further includes: receiving a sleep monitoring request sent by the monitoring device, the sleep monitoring request carrying the user identifier; detecting whether to store the corresponding historical sleep data according to the user identifier; and when there is corresponding historical sleep data, according to The historical sleep data generates a first monitoring instruction or a second monitoring instruction; when there is no corresponding historical sleep data, crawling the medical record of the user identification within a preset time, and generating a first monitoring instruction or a second monitoring instruction according to the medical record .
当被监测对象需要对自己的睡眠质量进行监测时,可以通过终端触发监测装置进入相应的工作模式。具体的,被监测对象可以将服务器与终端无线连接,将终端与监测装置无线连接,将监测装置与助眠装置无线连接,将监测装置进行佩戴。当佩戴完毕时,监测装置自动进行佩戴检测,若检测结果为佩戴成功,生成睡眠监测请求,将睡眠监测请求发送至终端。终端将睡眠监测请求发送至服务器。When the monitored object needs to monitor the quality of its sleep, the terminal can trigger the monitoring device to enter the corresponding working mode. Specifically, the monitored object can wirelessly connect the server to the terminal, wirelessly connect the terminal to the monitoring device, wirelessly connect the monitoring device to the sleep aid device, and wear the monitoring device. When the wearing is completed, the monitoring device automatically performs the wearing detection. If the detection result is successful wearing, the sleep monitoring request is generated, and the sleep monitoring request is sent to the terminal. The terminal sends a sleep monitoring request to the server.
睡眠监测请求携带了用户标识。服务器根据用户标识,在数据库中查询是否存储有对应的历史睡眠数据以及根据历史睡眠数据分析得到的睡眠质量的数据。当存在对应的历史睡眠数据时,表示用户标识对应的被监测对象已经至少一次采用本实施例提供的睡眠质量监测方法对自己的睡眠数据进行采集,服务器在数据库中获取用户标识对应的历史睡眠数据以及根据历史睡眠数据分析得到的睡眠质量对应的数据。服务器根据获取到的数据判断被监测对象是否需要助眠,当不需要助眠时,将监测装置的工作模式设置为第一模式;反之,将监测装置的工作模式设置为第二模式,利用工作模式的设置信息生成第一监控指令或第二监控指令。The sleep monitoring request carries the user identification. The server queries, in the database, whether the corresponding historical sleep data and the sleep quality data obtained from the historical sleep data analysis are stored in the database according to the user identifier. When the corresponding historical sleep data exists, the monitored object corresponding to the user identifier has collected the sleep data by using the sleep quality monitoring method provided by the embodiment at least once, and the server obtains the historical sleep data corresponding to the user identifier in the database. And data corresponding to sleep quality obtained from historical sleep data analysis. The server determines, according to the acquired data, whether the monitored object needs to help sleep, and when the sleep aid is not needed, sets the working mode of the monitoring device to the first mode; otherwise, sets the working mode of the monitoring device to the second mode, and uses the work. The setting information of the mode generates a first monitoring instruction or a second monitoring instruction.
当数据库中不存在对应的历史睡眠数据时,表示用户标识对应的被监测对象是第一次采用本实施例提供的睡眠质量监测方法对自己的睡眠数据进行采集,服务器根据用户标识,在预设网站爬取用户标识对应的被监测对象在预设时间内的就诊记录,根据就诊记录预测被监测对象的睡眠质量。预设时间可以根据需要自由设置,如1个月等。就诊记录可以包括用户标识对应被监测对象采用其他方法采集的睡眠数据,或去往医院就诊的就诊数据。服务器根据预测的睡眠质量判断被监测对象是否需要助眠,当不需要助眠时,将监测装置的工 作模式设置为第一模式,利用第一模式的设置信息生成第一监控指令,终端将第一监控指令转发至监测装置。反之,服务器将监测装置的工作模式设置为第二模式,利用第二模式的设置信息生成第二监控指令,终端将第二监控指令转发至监测装置。When the corresponding historical sleep data does not exist in the database, the monitored object corresponding to the user identifier is the first time to collect the sleep data by using the sleep quality monitoring method provided in this embodiment, and the server is preset according to the user identifier. The website crawls the medical record of the monitored object corresponding to the user identifier within a preset time, and predicts the sleep quality of the monitored object according to the medical record. The preset time can be freely set as needed, such as 1 month. The medical record may include the user identification corresponding to the sleep data collected by the monitored object by other methods, or the medical data of the visit to the hospital. The server determines whether the monitored object needs to help sleep according to the predicted sleep quality. When the sleep aid is not needed, the working mode of the monitoring device is set to the first mode, and the first monitoring instruction is generated by using the setting information of the first mode, and the terminal will A monitoring command is forwarded to the monitoring device. On the contrary, the server sets the working mode of the monitoring device to the second mode, generates the second monitoring command by using the setting information of the second mode, and the terminal forwards the second monitoring command to the monitoring device.
本实施例中,当存储有被监测对象的历史睡眠数据时,根据历史睡眠数据控制监测装置进入相应工作模式;当不存储有被监测对象的历史睡眠数据时,爬取被监测对象的就诊记录,利用就诊记录辅助判断被监测对象的睡眠质量,进一步根据被监测对象的睡眠质量控制监测装置进入相应工作模式,从而使得对监测装置工作模式的控制更加精准,进而在系统功耗,助眠效果以及睡眠质量监测效果之间达到一种均衡。In this embodiment, when the historical sleep data of the monitored object is stored, the monitoring device is controlled to enter the corresponding working mode according to the historical sleep data; when the historical sleep data of the monitored object is not stored, the medical record of the monitored object is crawled. Using the medical record to assist in judging the sleep quality of the monitored object, and further controlling the monitoring device to enter the corresponding working mode according to the sleep quality of the monitored object, thereby making the control mode of the monitoring device more precise, and thus the system power consumption and the sleep aid effect. And a balance between sleep quality monitoring effects.
在一个实施例中,该方法还包括:根据睡眠质量对应的数据生成第一监控指令或第二监控指令,利用第二监控指令将监测装置的工作模式切换为第二模式,使监测装置在第二模式下生成助眠指令,利用助眠指令将助眠装置的工作模式设置为助眠模式,使助眠装置生成脉冲信号。In an embodiment, the method further includes: generating a first monitoring instruction or a second monitoring instruction according to the data corresponding to the sleep quality, and switching the working mode of the monitoring device to the second mode by using the second monitoring instruction, so that the monitoring device is in the In the second mode, a sleep aid command is generated, and the sleep mode is set to the sleep mode by using the sleep aid command, so that the sleep aid device generates a pulse signal.
睡眠数据以及分析得到的睡眠质量对应的数据成为被监测对象下次采用本实施例提供的睡眠质量监测方法时,监控装置判断监测装置工作模式的依据。换言之,接收到的睡眠数据以及分析得到的睡眠质量对应的数据成为上述实施例中的历史睡眠数据。本实施例中,监控装置控制监测装置和助眠装置的工作模式,在第一模式时监测装置和助眠装置分别对被监测对象的睡眠数据进行采集,将采集到的睡眠数据反馈至监控装置,监控装置根据睡眠数据分析被监测对象的睡眠质量,根据睡眠质量对监测装置的工作模式进行调节,从而对睡眠质量形成一种闭环监控,这种闭环监控使得本方案提供的睡眠质量监测方法不仅仅停留在监测阶段,也可以根据监测结果及时利用脉冲信号对被监测对象的睡眠质量进行改善,从而真正意义上达到睡眠质量监测与监控的效果。The sleep data and the data corresponding to the sleep quality obtained by the analysis become the basis for the monitoring device to determine the working mode of the monitoring device when the monitored object uses the sleep quality monitoring method provided by the embodiment. In other words, the received sleep data and the data corresponding to the analyzed sleep quality become the historical sleep data in the above embodiment. In this embodiment, the monitoring device controls the working mode of the monitoring device and the sleep aid device. In the first mode, the monitoring device and the sleep aid device respectively collect sleep data of the monitored object, and feed back the collected sleep data to the monitoring device. The monitoring device analyzes the sleep quality of the monitored object according to the sleep data, and adjusts the working mode of the monitoring device according to the sleep quality, thereby forming a closed-loop monitoring of the sleep quality, and the closed-loop monitoring makes the sleep quality monitoring method provided by the solution not only It only stays in the monitoring stage, and can also use the pulse signal to improve the sleep quality of the monitored object according to the monitoring result, so as to achieve the effect of sleep quality monitoring and monitoring.
在一个实施例中,该方法还包括:向监测装置发送第二同步指令,接收监测装置根据第二同步指令返回的设备信息;设备信息具有对应的用户标识;获取多个用户标识对应的睡眠数据和设备信息;对获取到的多组睡眠数据和设备信息,进行大数据分析;根据分析结果生成对监测装置和/或助眠装置的改进指 引文件;将改进指引文件发送至指定设备;改进指引文件记录了装置改进需求信息。In an embodiment, the method further includes: sending a second synchronization instruction to the monitoring device, receiving device information returned by the monitoring device according to the second synchronization instruction; the device information has a corresponding user identifier; acquiring sleep data corresponding to the plurality of user identifiers And device information; perform large data analysis on the acquired sets of sleep data and device information; generate improved guidance documents for the monitoring device and/or the sleep aid device according to the analysis result; send the improved guidance file to the designated device; The document records device improvement requirements information.
为了提高监测装置与助眠装置的产品质量,服务器按照预设周期或者根据指定设备的大数据分析请求,在数据库中提取对多个用户标识对应的睡眠数据和设备信息,对获取到的多组睡眠数据和设备信息进行大数据分析。预设周期可以根据实际需求自由设置,如3个月等。指定设备是指监测装置生产商家和/或助眠装置生产制造商对应的计算机设备。需要说明的是,本实施例中的睡眠数据可以不仅包括上述实施例中监测装置根据第一睡眠参数和第二睡眠参数分析得到的睡眠数据,还可以包括第一睡眠参数和第二睡眠参数本身,以及对睡眠数据分析得到的分析文件。设备信息包括监测设备信息和助眠设备信息。In order to improve the product quality of the monitoring device and the sleep aid device, the server extracts sleep data and device information corresponding to multiple user identifiers in the database according to a preset period or according to a big data analysis request of the specified device, and acquires multiple groups of the acquired Big data analysis of sleep data and device information. The preset period can be freely set according to actual needs, such as 3 months. The designated device refers to a computer device corresponding to the manufacturer of the monitoring device manufacturer and/or the manufacturer of the sleep aid device. It should be noted that the sleep data in this embodiment may include not only the sleep data obtained by the monitoring apparatus according to the first sleep parameter and the second sleep parameter in the foregoing embodiment, but also the first sleep parameter and the second sleep parameter itself. And analysis files obtained from analysis of sleep data. Device information includes monitoring device information and sleep aid device information.
服务器对多组睡眠数据进行大数据分析。具体的,服务器根据获取到的多组睡眠数据,确定目标睡眠数据。换言之,服务器计算多组睡眠数据的平均值,将该平均值作为目标睡眠数据。目标睡眠数据是本实施例提供的睡眠质量监测方法用以判断被监测对象睡眠质量的基准值。服务器在数据库中读取预先存储的基线睡眠数据。基线数据可以是根据行业标准或医学经验规定的睡眠数据的正常值。基线睡眠数据可以是数据区间。服务器将获取到的目标睡眠数据与基线睡眠数据进行比较,根据比较结果生成监测参数基准调节的改进指引文件,将监测参数基准调节的改进指引文件发送至指定设备,使监测装置和/或助眠装置生产商可以根据指定设备展示的改进指引文件对监测装置采集的第一睡眠参数或对用于分析睡眠数据的睡眠分析模型进行校准;或者根据该改进指引文件对助眠装置采集的第二睡眠参数进行校准。The server performs big data analysis on multiple sets of sleep data. Specifically, the server determines target sleep data according to the acquired plurality of sets of sleep data. In other words, the server calculates an average of the plurality of sets of sleep data, and uses the average as the target sleep data. The target sleep data is a reference value used by the sleep quality monitoring method provided in this embodiment to determine the sleep quality of the monitored object. The server reads the pre-stored baseline sleep data in the database. The baseline data can be normal values of sleep data as specified by industry standards or medical experience. The baseline sleep data can be a data interval. The server compares the acquired target sleep data with the baseline sleep data, generates an improved guidance file for monitoring parameter reference adjustment according to the comparison result, and sends an improved guidance file of the monitoring parameter reference adjustment to the designated device to enable the monitoring device and/or the sleep aid The device manufacturer may calibrate the first sleep parameter collected by the monitoring device or the sleep analysis model for analyzing the sleep data according to the improved guidance document displayed by the designated device; or the second sleep collected by the sleep aid device according to the improved guidance file The parameters are calibrated.
服务器还对多组设备信息进行大数据分析。具体的,服务器根据设备信息中产品序列号等,利用网络爬虫的页面解析技术从网站分别抓取多个监测装置和助眠装置对应的评论信息,根据评论信息生成装置性能的改进指引文件,将装置性能的改进指引文件发送至指定设备,使监测装置和/或助眠装置生产商可以根据指定设备展示的改进指引文件对监测装置和/或助眠装置的硬件结构进行调整,或者对监测装置和/或助眠装置上的应用程序进行升级。容易理解,对多组睡眠数据和设备信息大数据分析的方式还有很多,在此不再赘述。The server also performs big data analysis on multiple sets of device information. Specifically, the server uses the web crawler's page analysis technology to capture the review information corresponding to the plurality of monitoring devices and the sleep aid device from the website according to the product serial number in the device information, and generates a guide file for improving the performance of the device according to the review information. The device performance improvement guide file is sent to the designated device, so that the monitoring device and/or the sleep aid device manufacturer can adjust the hardware structure of the monitoring device and/or the sleep aid device according to the improved guidance document displayed by the designated device, or the monitoring device And/or upgrade the application on the sleep aid. It is easy to understand that there are many ways to analyze large data sets of sleep data and device information, and will not be repeated here.
本实施例中,对获取到的多组睡眠数据和设备信息进行大数据分析,根据分析结果对监测装置和助眠装置的改进进行指引,便于监测装置和助眠装置的生产制造商对监测装置和助眠装置进行维护,可以提高对监测装置和助眠装置系统问题的问题发现时间和问题解决时间,从而可以减少人工维护监测装置和助眠装置的时间成本。In this embodiment, big data analysis is performed on the acquired plurality of sets of sleep data and device information, and the improvement of the monitoring device and the sleep aid device is guided according to the analysis result, so that the monitoring device and the manufacturer of the sleep aid device can be used for the monitoring device. Maintenance with the sleep aid device can improve the problem finding time and problem solving time for the monitoring device and the sleep aid device system, thereby reducing the time cost of manually maintaining the monitoring device and the sleep aid device.
在一个实施例中,如图4所示,提供了一种睡眠质量监测系统,包括:监控装置402、监测装置404和助眠装置406,其中:In one embodiment, as shown in FIG. 4, a sleep quality monitoring system is provided, comprising: a monitoring device 402, a monitoring device 404, and a sleep aid device 406, wherein:
监控装置402,用于向监测装置404发送第一监控指令,使监测装置根据第一监控指令进入第一模式。The monitoring device 402 is configured to send a first monitoring instruction to the monitoring device 404, so that the monitoring device enters the first mode according to the first monitoring instruction.
监测装置404,用于在第一模式下采集被监测对象的第一睡眠参数;以及在第一模式下向助眠装置406发送第一同步指令。The monitoring device 404 is configured to collect the first sleep parameter of the monitored object in the first mode; and send the first synchronization instruction to the sleep aid device 406 in the first mode.
助眠装置406,用于根据第一同步指令向监测装置上报被监测对象的第二睡眠参数。监测装置404还用于获取预设的睡眠分析模型,将第一睡眠参数和第二睡眠参数输入至睡眠分析模型,得到被监测对象的睡眠数据,将睡眠数据发送至监控装置402。监控装置402还用于对睡眠数据进行分析,分析得到被监测对象的睡眠质量对应的数据。The sleep aid device 406 is configured to report the second sleep parameter of the monitored object to the monitoring device according to the first synchronization instruction. The monitoring device 404 is further configured to acquire a preset sleep analysis model, input the first sleep parameter and the second sleep parameter to the sleep analysis model, obtain sleep data of the monitored object, and send the sleep data to the monitoring device 402. The monitoring device 402 is further configured to analyze the sleep data and analyze the data corresponding to the sleep quality of the monitored object.
在一个实施例中,监控装置402可以是终端4022。终端4022的内部结构图可以如图5所示,该终端包括通过系统总线连接的处理器、存储器、网络接口、显示屏和输入装置。该终端的处理器用于提供计算和控制能力。该终端的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该终端的网络接口用于与外部的终端通过网络连接通信。该计算机程序被处理器执行时以实现一种睡眠质量监测方法。该终端的显示屏可以是液晶显示屏或者电子墨水显示屏,该终端的输入装置可以是显示屏上覆盖的触摸层,也可以是终端外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。In one embodiment, monitoring device 402 can be terminal 4022. The internal structure diagram of the terminal 4022 can be as shown in FIG. 5, and the terminal includes a processor, a memory, a network interface, a display screen, and an input device connected through a system bus. The processor of the terminal is used to provide computing and control capabilities. The memory of the terminal includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for operation of an operating system and computer programs in a non-volatile storage medium. The network interface of the terminal is used for communication with an external terminal through a network connection. The computer program is executed by the processor to implement a sleep quality monitoring method. The display screen of the terminal may be a liquid crystal display or an electronic ink display screen, and the input device of the terminal may be a touch layer covered on the display screen, or a button, a trackball or a touchpad provided on the terminal housing, or It is an external keyboard, trackpad or mouse.
在另一个实施例中,监控装置402也可以是终端4022与服务器4024的组合。服务器4024的内部结构图可以如图6所示,该服务器包括通过系统总线连 接的处理器、存储器、网络接口和数据库。其中,该服务器的处理器用于提供计算和控制能力。该服务器的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统、计算机程序和数据库。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该服务器的数据库用于存储历史睡眠数据以及根据历史睡眠数据分析得到的睡眠质量对应的数据。该服务器的网络接口用于与外部的终端通过网络连接通信。In another embodiment, the monitoring device 402 can also be a combination of the terminal 4022 and the server 4024. An internal block diagram of server 4024 can be as shown in Figure 6, which includes a processor, memory, network interface, and database connected by a system bus. The processor of the server is used to provide computing and control capabilities. The memory of the server includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for operation of an operating system and computer programs in a non-volatile storage medium. The database of the server is used to store historical sleep data and data corresponding to sleep quality obtained from historical sleep data analysis. The server's network interface is used to communicate with external terminals over a network connection.
本领域技术人员可以理解,图5和图6中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。It will be understood by those skilled in the art that the structures shown in FIG. 5 and FIG. 6 are only block diagrams of part of the structure related to the solution of the present application, and do not constitute a limitation of the computer device to which the solution of the present application is applied. The computer device may include more or fewer components than those shown in the figures, or some components may be combined, or have different component arrangements.
在一个实施例中,监测装置404的内部结构图可以如图7所示,该监测装置包括第一控制模块702、第一参数采集模块704、通信模块706和佩戴检测模块708。第一参数采集模块704、通信模块706和佩戴检测模块708分别与第一控制模块702电性连接。其中,第一参数采集模块704包括肌电模块7042、加速度传感器7044或心率模块7046中的至少一项。肌电模块7042包括电极和滤波放大电路。电极通过放大滤波电路与第一控制模块702电性连接。肌电模块7042用于采集被监测对象的肌电参数。加速度传感器7044用于采集被监测对象的第一体动参数。心率模块7046用于采集被监测对象的心率参数。第一控制模块702用于获取预设的睡眠分析模型,将第一体动参数、心率参数或肌电参数输入至睡眠分析模型。通信模块706可以是无线通信模块,如蓝牙模块或Wi-Fi模块等。容易理解,该监测装置还包括充电模块710、电源模块712,提示模块714、存储器716或按键718等。第一控制模块702、第一参数采集模块704、通信模块706、佩戴检测模块708、充电模块710、提示模块714以及存储器716分别与电源模块712电性连接。提示模块714可以是扬声器或者LED灯等能够对被监测对象进行提示的器件。In one embodiment, the internal structure of the monitoring device 404 can be as shown in FIG. 7, which includes a first control module 702, a first parameter acquisition module 704, a communication module 706, and a wear detection module 708. The first parameter collection module 704, the communication module 706, and the wear detection module 708 are electrically connected to the first control module 702, respectively. The first parameter collection module 704 includes at least one of a myoelectric module 7042, an acceleration sensor 7044, or a heart rate module 7046. The myoelectric module 7042 includes an electrode and a filter amplification circuit. The electrode is electrically connected to the first control module 702 through an amplification filter circuit. The myoelectric module 7042 is used to collect the myoelectric parameters of the monitored object. The acceleration sensor 7044 is configured to acquire a first body motion parameter of the monitored object. The heart rate module 7046 is used to collect heart rate parameters of the monitored object. The first control module 702 is configured to acquire a preset sleep analysis model, and input the first body motion parameter, the heart rate parameter, or the myoelectric parameter to the sleep analysis model. The communication module 706 can be a wireless communication module such as a Bluetooth module or a Wi-Fi module. It is easy to understand that the monitoring device further includes a charging module 710, a power module 712, a prompting module 714, a memory 716 or a button 718, and the like. The first control module 702, the first parameter collection module 704, the communication module 706, the wearing detection module 708, the charging module 710, the prompting module 714, and the memory 716 are electrically connected to the power module 712, respectively. The prompt module 714 can be a device such as a speaker or an LED lamp that can prompt the monitored object.
在一个实施例中,助眠装置406的内部结构图可以如图8所示,该助眠装置包括第二控制模块802、第二参数采集模块804、通信模块806和脉冲助眠模块808。第二参数采集模块804、通信模块806和脉冲助眠模块808分别与第二 控制模块802电性连接。其中,第二参数采集模块804包括第二体动参数模块、电量检测模块、电流检测模块和温度检测模块等子模块。多个子模块可以通过系统总线与第二控制模块802电性连接。第二体动参数模块可以是红外传感器、距离传感器等。第二体动参数模块用于采集被监测对象的第二体动参数。第二控制模块802用于将第二体动参数上报至监测装置404。脉冲助眠模块808用于生成脉冲信号。脉冲信号的脉冲频率接近于人体脑电波频率,可以促进人体睡眠。容易理解,也可以采用其他方式来促进被监测对象的睡眠,如助眠装置406按照预设频率震动等,对此不作限制。容易理解,该助眠装置也还包括充电模块810、电源模块812、提示模块814或存储器816等。第二控制模块802、脉冲助眠模块808、充电模块810以及提示模块814分别与电源模块812电性连接。In one embodiment, the internal structure of the sleep aid device 406 can be as shown in FIG. 8. The sleep aid device includes a second control module 802, a second parameter acquisition module 804, a communication module 806, and a pulse sleep aid module 808. The second parameter collection module 804, the communication module 806, and the pulse sleep aid module 808 are electrically connected to the second control module 802, respectively. The second parameter collecting module 804 includes a sub-module such as a second body motion parameter module, a power detecting module, a current detecting module, and a temperature detecting module. A plurality of submodules can be electrically connected to the second control module 802 through a system bus. The second body motion parameter module may be an infrared sensor, a distance sensor, or the like. The second body motion parameter module is configured to collect the second body motion parameter of the monitored object. The second control module 802 is configured to report the second body motion parameter to the monitoring device 404. The pulse sleep aid module 808 is used to generate a pulse signal. The pulse frequency of the pulse signal is close to the frequency of the human brain wave, which can promote human sleep. It is easy to understand that other methods may be used to promote sleep of the monitored object, such as the sleep aid device 406 vibrating according to a preset frequency, etc., which is not limited thereto. It is easy to understand that the sleep aid device also includes a charging module 810, a power module 812, a prompt module 814 or a memory 816, and the like. The second control module 802, the pulse sleep module 808, the charging module 810, and the prompt module 814 are electrically connected to the power module 812, respectively.
在一个实施例中,监控装置402还用于向监测装置404发送近场连接请求或远程连接请求。监测装置404还用于根据近场连接请求或远程连接请求与监控装置402之间建立通信链路,通过通信链路接收监控装置402发送的第一监控指令。本实施例中,监控装置可以通过局域网与监测装置连接,也可以通过广域网或移动网络等与监测装置连接,从而监控装置可以对监测装置进行近距离控制,也可以对监测装置进行远程控制。In one embodiment, the monitoring device 402 is further configured to send a near field connection request or a remote connection request to the monitoring device 404. The monitoring device 404 is further configured to establish a communication link with the monitoring device 402 according to the near field connection request or the remote connection request, and receive the first monitoring instruction sent by the monitoring device 402 through the communication link. In this embodiment, the monitoring device may be connected to the monitoring device through the local area network, or may be connected to the monitoring device through a wide area network or a mobile network, so that the monitoring device can perform close control on the monitoring device or remotely control the monitoring device.
在一个实施例中,监控装置402还用于在向监测装置404发送第一监控指令之前,向监测装置404发送第二同步指令。第二同步指令包括用户标识。监测装置404还用于根据第二同步指令检测是否存储有用户标识对应的睡眠数据。监控装置402还用于当监测装置404未存储用户标识对应的睡眠数据时,爬取用户标识对应预设时间内的就诊记录,根据就诊记录生成第一监控指令或第二监控指令;或者当监测装置404存储了用户标识对应的睡眠数据时,接收监测装置404根据第二同步指令返回的被监测对象的睡眠数据,根据睡眠数据生成第一监控指令或第二监控指令。In one embodiment, the monitoring device 402 is further configured to send a second synchronization command to the monitoring device 404 prior to transmitting the first monitoring command to the monitoring device 404. The second synchronization instruction includes a user identification. The monitoring device 404 is further configured to detect, according to the second synchronization instruction, whether the sleep data corresponding to the user identifier is stored. The monitoring device 402 is further configured to: when the monitoring device 404 does not store the sleep data corresponding to the user identifier, crawl the medical record corresponding to the medical record corresponding to the preset time, generate a first monitoring instruction or a second monitoring instruction according to the medical record; or when monitoring When the device 404 stores the sleep data corresponding to the user identifier, the receiving monitoring device 404 generates the first monitoring command or the second monitoring command according to the sleep data according to the sleep data of the monitored object returned by the second synchronization instruction.
在一个实施例中,助眠装置406包括第二控制模块802和脉冲助眠模块808;监控装置402还用于根据睡眠质量对应的数据生成第一监控指令或第二监控指令,利用第二监控指令将监测装置404的工作模式切换为第二模式;监测装置404还用于根据第二监控指令进入第二模式,在第二模式下,按照预设频率获取 被监测对象的睡眠数据,睡眠数据包括睡眠状态;当睡眠状态为第一状态时,生成助眠指令,利用助眠指令将助眠装置406的工作模式设置为助眠模式;第二控制模块802还用于在助眠模式下控制脉冲助眠模块808生成脉冲信号;监测装置404还用于当睡眠状态为第二状态时,生成助眠停止指令,将助眠停止指令发送至第二控制模块802;第二控制模块802还用于根据助眠停止指令控制脉冲助眠模块808停止生成脉冲信号。In one embodiment, the sleep aid device 406 includes a second control module 802 and a pulse sleep aid module 808. The monitoring device 402 is further configured to generate a first monitoring command or a second monitoring command according to the data corresponding to the sleep quality, using the second monitoring The instruction switches the working mode of the monitoring device 404 to the second mode; the monitoring device 404 is further configured to enter the second mode according to the second monitoring instruction, and obtain the sleep data of the monitored object according to the preset frequency in the second mode, the sleep data The sleep state is generated. When the sleep state is the first state, a sleep aid command is generated, and the sleep mode is used to set the working mode of the sleep aid device 406 to the sleep mode; the second control module 802 is further configured to control in the sleep mode. The pulse sleep aid module 808 generates a pulse signal; the monitoring device 404 is further configured to generate a sleep aid stop command when the sleep state is the second state, and send the sleep aid stop command to the second control module 802; the second control module 802 further uses The pulse-sleeping module 808 is controlled to stop generating the pulse signal according to the sleep aid stop command.
在一个实施例中,监测装置404还包括存储模块716,用于存储第一状态对应的多个睡眠深度区间以及每个睡眠深度区间对应的脉冲强度;第一控制模块702还用于根据被监测对象的睡眠深度所属睡眠深度区间,获取对应的脉冲强度,利用获取到的脉冲强度生成助眠指令,利用助眠指令将助眠装置406的工作模式设置为助眠模式;脉冲助眠模块808还用于根据助眠指令中的脉冲强度生成脉冲信号。In one embodiment, the monitoring device 404 further includes a storage module 716, configured to store a plurality of sleep depth intervals corresponding to the first state and a pulse intensity corresponding to each sleep depth interval; the first control module 702 is further configured to be monitored according to The sleeping depth of the object belongs to the sleep depth interval, the corresponding pulse intensity is obtained, the sleep pulse command is generated by using the acquired pulse intensity, and the working mode of the sleep aid device 406 is set to the sleep assist mode by using the sleep aid command; the pulse sleep aid module 808 is further Used to generate a pulse signal based on the pulse intensity in the sleep aid command.
在一个实施例中,监测装置404在第一模式下,采集监测设备信息;监测设备信息包括第一充电信息或第一版本信息中的至少一项;当接收到监控装置402发送的第二同步指令时,将监测设备信息发送至监控装置402;监控装置402还用于根据第一充电信息生成低电量提示;或根据第一版本信息生成监测升级指令,监测升级指令携带了监测升级包,将监测升级包发送至监测装置404,使监测装置404利用监测升级包进行版本升级。In one embodiment, the monitoring device 404 collects monitoring device information in the first mode; the monitoring device information includes at least one of the first charging information or the first version information; when the second synchronization sent by the monitoring device 402 is received When the command is sent, the monitoring device information is sent to the monitoring device 402; the monitoring device 402 is further configured to generate a low battery prompt according to the first charging information; or generate a monitoring upgrade command according to the first version information, and the monitoring upgrade command carries the monitoring upgrade package, The monitoring upgrade package is sent to the monitoring device 404, causing the monitoring device 404 to perform a version upgrade using the monitoring upgrade package.
在一个实施例中,监测装置404还用于在第一模式下,向助眠装置406发送第一同步指令,接收助眠装置406根据第一同步指令发送的助眠设备信息;助眠设备信息包括助眠装置406的第二充电信息、第二版本信息或异常错误码中的至少一项;当接收到监控装置402发送的第二同步指令时,将助眠设备信息发送至监控装置402;监控装置402还用于根据第二充电信息生成低电量提示,或者根据异常错误码生成助眠装置406对应的过流提示或过温提示;根据第二版本信息生成助眠升级指令,拆除与助眠装置406之间的通信链路;使监控装置402与助眠装置406之间建立通信链路,将助眠升级指令发送至助眠装置406,对助眠装置406进行版本升级。In one embodiment, the monitoring device 404 is further configured to send, in the first mode, the first synchronization instruction to the sleep aid device 406, and receive the sleep aid device information sent by the sleep aid device 406 according to the first synchronization instruction; the sleep aid device information. The at least one of the second charging information, the second version information or the abnormal error code of the sleep aid device 406; when receiving the second synchronization command sent by the monitoring device 402, the sleep device information is sent to the monitoring device 402; The monitoring device 402 is further configured to generate a low battery prompt according to the second charging information, or generate an overcurrent prompt or an over temperature prompt corresponding to the sleep aid device 406 according to the abnormal error code; generate a sleep aid upgrade command according to the second version information, and dismantle and assist The communication link between the sleep devices 406; the communication link between the monitoring device 402 and the sleep aid device 406 is established, the sleep aid upgrade command is sent to the sleep aid device 406, and the sleep aid device 406 is version upgraded.
在一个实施例中,监控装置402还用于向监测装置404发送第二同步指令, 接收监测装置404根据第二同步指令返回的设备信息;设备信息具有对应的用户标识;获取多个用户标识对应的睡眠数据和设备信息;对获取到的多组睡眠数据和设备信息,进行大数据分析;根据分析结果生成对监测装置404和/或助眠装置406的改进指引文件;将改进指引文件发送至指定设备;改进指引文件记录了装置改进需求信息。In one embodiment, the monitoring device 402 is further configured to send a second synchronization instruction to the monitoring device 404, and receive device information returned by the monitoring device 404 according to the second synchronization instruction; the device information has a corresponding user identifier; and the multiple user identifiers are acquired. Sleep data and device information; perform large data analysis on the acquired sets of sleep data and device information; generate an improved guidance file for the monitoring device 404 and/or the sleep aid device 406 according to the analysis result; send the improved guidance file to Designated equipment; improved guidance documents document device improvement requirements information.
在一个实施例中,提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序。处理器执行计算机程序时可以执行以下步骤:接收监控装置发送的第一监控指令,根据第一监控指令进入第一模式;在第一模式下,采集被监测对象的第一睡眠参数;在第一模式下,向助眠装置发送第一同步指令,接收助眠装置根据第一同步指令返回的被监测对象的第二睡眠参数;获取预设的睡眠分析模型,将第一睡眠参数和第二睡眠参数输入至睡眠分析模型,得到被监测对象的睡眠数据;将睡眠数据发送至监控装置,监控装置对睡眠数据进行分析,分析得到被监测对象的睡眠质量对应的数据。In one embodiment, a computer device is provided comprising a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, the following steps may be performed: receiving the first monitoring instruction sent by the monitoring device, entering the first mode according to the first monitoring instruction; and collecting the first sleep parameter of the monitored object in the first mode; In the mode, sending a first synchronization instruction to the sleep aid device, receiving a second sleep parameter of the monitored object returned by the sleep aid device according to the first synchronization instruction, acquiring a preset sleep analysis model, and using the first sleep parameter and the second sleep The parameter is input to the sleep analysis model to obtain sleep data of the monitored object; the sleep data is sent to the monitoring device, and the monitoring device analyzes the sleep data and analyzes the data corresponding to the sleep quality of the monitored object.
在一个实施例中,处理器执行计算机程序时还执行以下步骤:接收监控装置发送的第二监控指令,根据第二监控指令进入第二模式;在第二模式下,按照预设频率获取被监测对象的睡眠数据;睡眠数据包括睡眠状态;当睡眠状态为第一状态时,生成助眠指令,利用助眠指令将助眠装置的工作模式设置为助眠模式,使助眠装置生成脉冲信号;当睡眠状态为第二状态时,生成助眠停止指令,将助眠停止指令发送至助眠装置,使助眠装置根据助眠停止指令停止生成脉冲信号。In an embodiment, when the processor executes the computer program, the method further includes: receiving a second monitoring instruction sent by the monitoring device, entering the second mode according to the second monitoring instruction; and acquiring the monitored according to the preset frequency in the second mode Sleep data of the object; the sleep data includes a sleep state; when the sleep state is the first state, generating a sleep aid command, and setting a working mode of the sleep aid device to a sleep assist mode by using a sleep aid command, so that the sleep aid device generates a pulse signal; When the sleep state is the second state, a sleep aid stop command is generated, and the sleep aid stop command is sent to the sleep aid device, and the sleep aid device stops generating the pulse signal according to the sleep aid stop command.
在一个实施例中,睡眠数据还包括睡眠深度;处理器执行计算机程序时还执行以下步骤:当睡眠状态为第一状态时,获取第一状态对应的多个睡眠深度区间以及每个睡眠深度区间对应的脉冲强度;根据被监测对象的睡眠深度所属睡眠深度区间,获取对应的脉冲强度;利用获取到的脉冲强度生成助眠指令,利用助眠指令将助眠装置的工作模式设置为助眠模式,使助眠装置根据助眠指令中的脉冲强度生成脉冲信号。In one embodiment, the sleep data further includes a sleep depth; the processor further performs the following steps: when the sleep state is the first state, acquiring a plurality of sleep depth intervals corresponding to the first state and each sleep depth interval Corresponding pulse intensity; according to the sleep depth interval of the monitored object, the corresponding pulse intensity is obtained; the sleep pulse command is generated by using the acquired pulse intensity, and the sleep mode is set to the sleep mode by using the sleep aid command. The sleep aid device generates a pulse signal according to the pulse intensity in the sleep aid command.
在一个实施例中,提供了一种计算机设备,包括存储器、处理器及存储在 存储器上并可在处理器上运行的计算机程序。处理器执行计算机程序时可以执行以下步骤:向监测装置发送第一监控指令,使监测装置根据第一监控指令进入第一模式,在第一模式下采集被监测对象的第一睡眠参数,向助眠装置发送第一同步指令,接收助眠装置根据第一同步指令返回的被监测对象的第二睡眠参数;获取预设的睡眠分析模型,将第一睡眠参数和第二睡眠参数输入至睡眠分析模型,得到被监测对象的睡眠数据;向监测装置发送第二同步指令,接收监测装置根据第二同步指令返回的被监测对象的睡眠数据;对睡眠数据进行分析,得到被监测对象的睡眠质量对应的数据。In one embodiment, a computer device is provided comprising a memory, a processor, and a computer program stored on the memory and executable on the processor. The processor may execute the following steps: sending a first monitoring instruction to the monitoring device, causing the monitoring device to enter the first mode according to the first monitoring instruction, and collecting the first sleep parameter of the monitored object in the first mode, assisting The sleep device sends a first synchronization instruction, receives a second sleep parameter of the monitored object returned by the sleep aid device according to the first synchronization instruction, acquires a preset sleep analysis model, and inputs the first sleep parameter and the second sleep parameter to the sleep analysis Model, obtaining sleep data of the monitored object; sending a second synchronization instruction to the monitoring device, receiving sleep data of the monitored object returned by the monitoring device according to the second synchronization instruction; analyzing the sleep data to obtain a sleep quality corresponding to the monitored object The data.
在一个实施例中,处理器执行计算机程序时还执行以下步骤:接收监测装置发送的睡眠监测请求,睡眠监测请求携带了用户标识;根据用户标识检测是否存储对应的历史睡眠数据;当存在对应的历史睡眠数据时,根据历史睡眠数据生成第一监控指令或第二监控指令;当不存在对应的历史睡眠数据时,爬取用户标识在预设时间内的就诊记录,根据就诊记录生成第一监控指令或第二监控指令。In an embodiment, the processor further performs the following steps: receiving a sleep monitoring request sent by the monitoring device, the sleep monitoring request carrying the user identifier; detecting whether to store the corresponding historical sleep data according to the user identifier; when there is a corresponding When the historical sleep data is generated, the first monitoring instruction or the second monitoring instruction is generated according to the historical sleep data; when there is no corresponding historical sleep data, the medical record of the user identification in the preset time is crawled, and the first monitoring is generated according to the medical record. Instruction or second monitoring instruction.
在一个实施例中,处理器执行计算机程序时还执行以下步骤:根据睡眠质量对应的数据生成第一监控指令或第二监控指令,利用第二监控指令将监测装置的工作模式切换为第二模式,使监测装置在第二模式下生成第一监控指令或第二监控指令,利用助眠指令将助眠装置的工作模式设置为助眠模式,使助眠装置生成脉冲信号。In one embodiment, when the processor executes the computer program, the method further includes: generating a first monitoring instruction or a second monitoring instruction according to the data corresponding to the sleep quality, and switching the working mode of the monitoring device to the second mode by using the second monitoring instruction And causing the monitoring device to generate the first monitoring command or the second monitoring command in the second mode, and setting the working mode of the sleep aid device to the sleep assist mode by using the sleep aid command, so that the sleep aid device generates the pulse signal.
在一个实施例中,睡眠数据具有对应的用户标识;处理器执行计算机程序时还执行以下步骤:向监测装置发送第二同步指令,接收监测装置根据第二同步指令返回的设备信息;设备信息具有对应的用户标识;获取多个用户标识对应的睡眠数据和设备信息;对获取到的多组睡眠数据和设备信息,进行大数据分析;根据分析结果生成对监测装置和/或助眠装置的改进指引文件;将改进指引文件发送至指定设备,改进指引文件记录了装置改进需求信息。In one embodiment, the sleep data has a corresponding user identifier; the processor executes the computer program to: send a second synchronization instruction to the monitoring device, and receive device information returned by the monitoring device according to the second synchronization instruction; the device information has Corresponding user identifier; acquiring sleep data and device information corresponding to multiple user identifiers; performing large data analysis on the acquired plurality of sets of sleep data and device information; and generating improvement on the monitoring device and/or the sleep aid device according to the analysis result Guidance document; the improvement guidance document is sent to the designated equipment, and the improvement guidance document records the device improvement demand information.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现计算机程序以下步骤:接收监控装置发送的第一监控指令,根据第一监控指令进入第一模式;在第一模式下,采集被监测对 象的第一睡眠参数;在第一模式下,向助眠装置发送第一同步指令,接收助眠装置根据第一同步指令返回的被监测对象的第二睡眠参数;获取预设的睡眠分析模型,将第一睡眠参数和第二睡眠参数输入至睡眠分析模型,得到被监测对象的睡眠数据;将睡眠数据发送至监控装置,监控装置对睡眠数据进行分析,分析得到被监测对象的睡眠质量对应的数据。In one embodiment, a computer readable storage medium is provided having stored thereon a computer program that, when executed by a processor, implements the computer program to: receive a first monitoring command sent by the monitoring device, according to the first monitoring The instruction enters the first mode; in the first mode, the first sleep parameter of the monitored object is collected; in the first mode, the first synchronization instruction is sent to the sleep aid device, and the received sleep aid device returns according to the first synchronization instruction Monitoring a second sleep parameter of the object; acquiring a preset sleep analysis model, inputting the first sleep parameter and the second sleep parameter to the sleep analysis model to obtain sleep data of the monitored object; and sending the sleep data to the monitoring device, and the monitoring device The sleep data is analyzed, and the data corresponding to the sleep quality of the monitored object is analyzed.
在一个实施例中,计算机程序被处理器执行时还执行以下步骤:接收监控装置发送的第二监控指令,根据第二监控指令进入第二模式;在第二模式下,按照预设频率获取被监测对象的睡眠数据;睡眠数据包括睡眠状态;当睡眠状态为第一状态时,生成助眠指令,利用助眠指令将助眠装置的工作模式设置为助眠模式,使助眠装置生成脉冲信号;当睡眠状态为第二状态时,生成助眠停止指令,将助眠停止指令发送至助眠装置,使助眠装置根据助眠停止指令停止生成脉冲信号。In an embodiment, when the computer program is executed by the processor, the method further comprises: receiving a second monitoring instruction sent by the monitoring device, entering the second mode according to the second monitoring instruction; and acquiring the second frequency according to the preset frequency Monitoring sleep data of the object; the sleep data includes a sleep state; when the sleep state is the first state, generating a sleep aid command, and setting a working mode of the sleep aid device to a sleep assist mode by using a sleep aid command, so that the sleep aid device generates a pulse signal When the sleep state is the second state, a sleep aid stop command is generated, and the sleep aid stop command is sent to the sleep aid device, so that the sleep aid device stops generating the pulse signal according to the sleep aid stop command.
在一个实施例中,睡眠数据还包括睡眠深度;计算机程序被处理器执行时还执行以下步骤:当睡眠状态为第一状态时,获取第一状态对应的多个睡眠深度区间以及每个睡眠深度区间对应的脉冲强度;根据被监测对象的睡眠深度所属睡眠深度区间,获取对应的脉冲强度;利用获取到的脉冲强度生成助眠指令,利用助眠指令将助眠装置的工作模式设置为助眠模式,使助眠装置根据助眠指令中的脉冲强度生成脉冲信号。In one embodiment, the sleep data further includes a sleep depth; when the computer program is executed by the processor, the following steps are further performed: when the sleep state is the first state, acquiring a plurality of sleep depth intervals corresponding to the first state and each sleep depth The pulse intensity corresponding to the interval; according to the sleep depth interval of the monitored object's sleep depth, the corresponding pulse intensity is obtained; the sleep pulse command is used to generate the sleep aid command, and the sleep mode is used to set the working mode of the sleep aid device to help sleep The mode causes the sleep aid to generate a pulse signal based on the pulse intensity in the sleep aid command.
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现计算机程序以下步骤:向监测装置发送第一监控指令,使监测装置根据第一监控指令进入第一模式,在第一模式下采集被监测对象的第一睡眠参数,向助眠装置发送第一同步指令,接收助眠装置根据第一同步指令返回的被监测对象的第二睡眠参数;获取预设的睡眠分析模型,将第一睡眠参数和第二睡眠参数输入至睡眠分析模型,得到被监测对象的睡眠数据;向监测装置发送第二同步指令,接收监测装置根据第二同步指令返回的被监测对象的睡眠数据;对睡眠数据进行分析,得到被监测对象的睡眠质量对应的数据。In one embodiment, a computer readable storage medium is provided having stored thereon a computer program that, when executed by a processor, implements the computer program to: send a first monitoring command to the monitoring device to cause the monitoring device to a monitoring instruction enters a first mode, and collects a first sleep parameter of the monitored object in the first mode, and sends a first synchronization instruction to the sleep aid device, and receives a second monitored object returned by the sleep aid device according to the first synchronization instruction. a sleep parameter; acquiring a preset sleep analysis model, inputting the first sleep parameter and the second sleep parameter to the sleep analysis model to obtain sleep data of the monitored object; sending a second synchronization instruction to the monitoring device, and receiving the monitoring device according to the second The sleep data of the monitored object returned by the synchronization command; the sleep data is analyzed to obtain data corresponding to the sleep quality of the monitored object.
在一个实施例中,计算机程序被处理器执行时还执行以下步骤:接收监测 装置发送的睡眠监测请求,睡眠监测请求携带了用户标识;根据用户标识检测是否存储对应的历史睡眠数据;当存在对应的历史睡眠数据时,根据历史睡眠数据生成第一监控指令或第二监控指令;当不存在对应的历史睡眠数据时,爬取用户标识在预设时间内的就诊记录,根据就诊记录生成第一监控指令或第二监控指令。In one embodiment, when the computer program is executed by the processor, the following steps are further performed: receiving a sleep monitoring request sent by the monitoring device, the sleep monitoring request carrying the user identifier; detecting whether to store the corresponding historical sleep data according to the user identifier; When the historical sleep data is generated, the first monitoring instruction or the second monitoring instruction is generated according to the historical sleep data; when there is no corresponding historical sleep data, the medical record of the user identification in the preset time is crawled, and the first record is generated according to the medical record. Monitor instruction or second monitor instruction.
在一个实施例中,计算机程序被处理器执行时还执行以下步骤:根据睡眠质量对应的数据生成第一监控指令或第二监控指令,利用第二监控指令将监测装置的工作模式切换为第二模式,使监测装置在第二模式下生成助眠指令,利用助眠指令将助眠装置的工作模式设置为助眠模式,使助眠装置生成脉冲信号。In one embodiment, when the computer program is executed by the processor, the step of: generating a first monitoring instruction or a second monitoring instruction according to the data corresponding to the sleep quality, and switching the working mode of the monitoring device to the second by using the second monitoring instruction. The mode causes the monitoring device to generate a sleep aid command in the second mode, and uses the sleep aid command to set the working mode of the sleep aid device to the sleep assist mode, so that the sleep aid device generates a pulse signal.
在一个实施例中,睡眠数据具有对应的用户标识;计算机程序被处理器执行时还执行以下步骤:向监测装置发送第二同步指令,接收监测装置根据第二同步指令返回的设备信息;设备信息具有对应的用户标识;获取多个用户标识对应的睡眠数据和设备信息;对获取到的多组睡眠数据和设备信息,进行大数据分析;根据分析结果生成对监测装置和/或助眠装置的改进指引文件;将改进指引文件发送至指定设备,改进指引文件记录了装置改进需求信息。In one embodiment, the sleep data has a corresponding user identification; the computer program is further executed by the processor to: send a second synchronization instruction to the monitoring device, receive device information returned by the monitoring device according to the second synchronization instruction; device information Having a corresponding user identifier; acquiring sleep data and device information corresponding to the plurality of user identifiers; performing large data analysis on the acquired plurality of sets of sleep data and device information; generating a pair of monitoring devices and/or sleep aid devices according to the analysis result Improve the guidance document; send the improvement guidance document to the designated equipment, and improve the guidance document to record the equipment improvement demand information.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,前述计算机程序可存储于一非易失性存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,前述存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等。A person skilled in the art can understand that all or part of the process of implementing the above embodiment method can be completed by a computer program to instruct related hardware, and the computer program can be stored in a non-volatile storage medium. When executed, the flow of an embodiment of the methods as described above may be included. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or the like.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments may be arbitrarily combined. For the sake of brevity of description, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction in the combination of these technical features, It is considered to be the range described in this specification.
以上实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above embodiments are merely illustrative of several embodiments of the present application, and the description thereof is more specific and detailed, but is not to be construed as limiting the scope of the claims. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the present application. Therefore, the scope of the invention should be determined by the appended claims.

Claims (17)

  1. 一种睡眠质量监测方法,包括:A method for monitoring sleep quality, comprising:
    接收监控装置发送的第一监控指令,根据所述第一监控指令进入第一模式;Receiving a first monitoring instruction sent by the monitoring device, and entering the first mode according to the first monitoring instruction;
    在所述第一模式下,采集被监测对象的第一睡眠参数;Collecting, in the first mode, a first sleep parameter of the monitored object;
    在所述第一模式下,向助眠装置发送第一同步指令,接收所述助眠装置根据所述第一同步指令返回的所述被监测对象的第二睡眠参数;In the first mode, sending a first synchronization instruction to the sleep aid device, and receiving a second sleep parameter of the monitored object returned by the sleep aid device according to the first synchronization instruction;
    获取预设的睡眠分析模型,将所述第一睡眠参数和第二睡眠参数输入至所述睡眠分析模型,得到所述被监测对象的睡眠数据;Obtaining a preset sleep analysis model, inputting the first sleep parameter and the second sleep parameter to the sleep analysis model to obtain sleep data of the monitored object;
    将所述睡眠数据发送至所述监控装置,所述监控装置对所述睡眠数据进行分析,分析得到被监测对象的睡眠质量对应的数据。The sleep data is sent to the monitoring device, and the monitoring device analyzes the sleep data and analyzes data corresponding to the sleep quality of the monitored object.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    接收监控装置发送的第二监控指令,根据所述第二监控指令进入第二模式;Receiving a second monitoring instruction sent by the monitoring device, and entering the second mode according to the second monitoring instruction;
    在所述第二模式下,按照预设频率获取所述被监测对象的睡眠数据;所述睡眠数据包括睡眠状态;In the second mode, acquiring sleep data of the monitored object according to a preset frequency; the sleep data includes a sleep state;
    当所述睡眠状态为第一状态时,生成助眠指令,利用所述助眠指令将所述助眠装置的工作模式设置为助眠模式,使所述助眠装置生成脉冲信号;When the sleep state is the first state, generating a sleep aid command, using the sleep aid command to set the working mode of the sleep aid device to a sleep assist mode, and causing the sleep aid device to generate a pulse signal;
    当所述睡眠状态为第二状态时,生成助眠停止指令,将所述助眠停止指令发送至助眠装置,使所述助眠装置根据助眠停止指令停止生成所述脉冲信号。When the sleep state is the second state, a sleep aid stop command is generated, and the sleep aid stop command is sent to the sleep aid device, and the sleep aid device stops generating the pulse signal according to the sleep aid stop command.
  3. 根据权利要求2所述的方法,其特征在于,所述睡眠数据还包括睡眠深度;当所述睡眠状态为第一状态时,生成助眠指令,利用所述助眠指令将助眠装置的工作模式设置为助眠模式,使助眠装置生成脉冲信号的步骤,包括:The method according to claim 2, wherein the sleep data further comprises a sleep depth; when the sleep state is the first state, generating a sleep aid instruction, and the sleep aid device is operated by the sleep aid instruction The mode is set to the sleep mode, and the sleep device generates a pulse signal, including:
    当所述睡眠状态为第一状态时,获取所述第一状态对应的多个睡眠深度区间以及每个睡眠深度区间对应的脉冲强度;When the sleep state is the first state, acquiring a plurality of sleep depth intervals corresponding to the first state and a pulse intensity corresponding to each sleep depth interval;
    根据所述被监测对象的睡眠深度所属睡眠深度区间,获取对应的脉冲强度;Obtaining a corresponding pulse intensity according to a sleep depth interval to which the sleep depth of the monitored object belongs;
    利用获取到的脉冲强度生成所述助眠指令,利用所述助眠指令将所述助眠装置的工作模式设置为助眠模式,使助眠装置根据所述助眠指令中的脉冲强度生成脉冲信号。Generating the sleep aid command by using the acquired pulse intensity, setting the working mode of the sleep aid device to a sleep assist mode by using the sleep aid command, and causing the sleep aid device to generate a pulse according to the pulse intensity in the sleep aid command signal.
  4. 一种睡眠质量监测方法,包括:A method for monitoring sleep quality, comprising:
    向监测装置发送第一监控指令,使所述监测装置根据所述第一监控指令进入第一模式,在所述第一模式下采集被监测对象的第一睡眠参数,向助眠装置发送第一同步指令,接收所述助眠装置根据所述第一同步指令返回的所述被监测对象的第二睡眠参数;获取预设的睡眠分析模型,将所述第一睡眠参数和第二睡眠参数输入至所述睡眠分析模型,得到所述被监测对象的睡眠数据;Sending a first monitoring instruction to the monitoring device, causing the monitoring device to enter the first mode according to the first monitoring instruction, collecting the first sleep parameter of the monitored object in the first mode, and transmitting the first to the sleep aid device a synchronization instruction, receiving a second sleep parameter of the monitored object returned by the sleep aid device according to the first synchronization instruction; acquiring a preset sleep analysis model, inputting the first sleep parameter and the second sleep parameter Obtaining sleep data of the monitored object to the sleep analysis model;
    向所述监测装置发送第二同步指令,接收所述监测装置根据所述第二同步指令返回的被监测对象的睡眠数据;Sending a second synchronization instruction to the monitoring device, and receiving sleep data of the monitored object returned by the monitoring device according to the second synchronization instruction;
    对所述睡眠数据进行分析,得到所述被监测对象的睡眠质量对应的数据。The sleep data is analyzed to obtain data corresponding to the sleep quality of the monitored object.
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method of claim 4, wherein the method further comprises:
    接收监测装置发送的睡眠监测请求,所述睡眠监测请求携带了用户标识;Receiving a sleep monitoring request sent by the monitoring device, where the sleep monitoring request carries a user identifier;
    根据所述用户标识检测是否存储对应的历史睡眠数据;Detecting whether to store corresponding historical sleep data according to the user identifier;
    当存在对应的历史睡眠数据时,根据所述历史睡眠数据生成所述第一监控指令或第二监控指令;Generating the first monitoring instruction or the second monitoring instruction according to the historical sleep data when there is corresponding historical sleep data;
    当不存在对应的历史睡眠数据时,爬取所述用户标识在预设时间内的就诊记录,根据所述就诊记录生成所述第一监控指令或第二监控指令。When the corresponding historical sleep data does not exist, the medical record of the user identifier in the preset time is crawled, and the first monitoring instruction or the second monitoring instruction is generated according to the medical record.
  6. 根据权利要求4所述的方法,其特征在于,所述方法还包括:The method of claim 4, wherein the method further comprises:
    根据所述睡眠质量对应的数据生成所述第一监控指令或第二监控指令,利用所述第二监控指令将所述监测装置的工作模式切换为第二模式,使所述监测装置在所述第二模式下生成助眠指令,利用所述助眠指令将所述助眠装置的工作模式设置为助眠模式,使所述助眠装置生成脉冲信号。Generating, according to the data corresponding to the sleep quality, the first monitoring instruction or the second monitoring instruction, and using the second monitoring instruction, switching an operation mode of the monitoring device to a second mode, so that the monitoring device is in the In the second mode, a sleep aid command is generated, and the sleep mode of the sleep aid device is set to a sleep assist mode, and the sleep aid device generates a pulse signal.
  7. 根据权利要求4所述的方法,其特征在于,所述睡眠数据具有对应的用户标识;所述方法还包括:The method according to claim 4, wherein the sleep data has a corresponding user identifier; the method further comprises:
    向所述监测装置发送第二同步指令,接收所述监测装置根据所述第二同步指令返回的设备信息;所述设备信息具有对应的用户标识;Sending a second synchronization instruction to the monitoring device, and receiving device information returned by the monitoring device according to the second synchronization instruction; the device information has a corresponding user identifier;
    获取多个用户标识对应的睡眠数据和设备信息;Obtaining sleep data and device information corresponding to multiple user identifiers;
    对获取到的多组睡眠数据和设备信息,进行大数据分析;Performing big data analysis on the acquired sets of sleep data and device information;
    根据分析结果生成对所述监测装置和/或所述助眠装置的改进指引文件;Generating an improved guidance document for the monitoring device and/or the sleep aid device based on the analysis result;
    将所述改进指引文件发送至指定设备;所述改进指引文件记录了装置改进 需求信息。The improved guidance file is sent to a designated device; the improved guidance file records device improvement demand information.
  8. 一种睡眠质量监测系统,包括:A sleep quality monitoring system comprising:
    监控装置,用于向监测装置发送第一监控指令,使所述监测装置根据所述第一监控指令进入第一模式;a monitoring device, configured to send a first monitoring instruction to the monitoring device, to cause the monitoring device to enter the first mode according to the first monitoring instruction;
    所述监测装置,用于在所述第一模式下采集被监测对象的第一睡眠参数;以及在所述第一模式下向助眠装置发送第一同步指令;The monitoring device is configured to collect a first sleep parameter of the monitored object in the first mode; and send a first synchronization instruction to the sleep aid device in the first mode;
    所述助眠装置,用于根据所述第一同步指令向所述监测装置上报所述被监测对象的第二睡眠参数;所述监测装置还用于获取预设的睡眠分析模型,将所述第一睡眠参数和第二睡眠参数输入至所述睡眠分析模型,得到所述被监测对象的睡眠数据,将所述睡眠数据发送至所述监控装置;所述监控装置还用于对所述睡眠数据进行分析,分析得到被监测对象的睡眠质量对应的数据。The sleep aid device is configured to report a second sleep parameter of the monitored object to the monitoring device according to the first synchronization instruction; the monitoring device is further configured to acquire a preset sleep analysis model, and the Inputting a first sleep parameter and a second sleep parameter to the sleep analysis model, obtaining sleep data of the monitored object, and transmitting the sleep data to the monitoring device; the monitoring device is further configured to use the sleep The data is analyzed and analyzed to obtain data corresponding to the sleep quality of the monitored object.
  9. 根据权利要求8所述的系统,其特征在于,所述监控装置还用于向所述监测装置发送近场连接请求或远程连接请求;所述监测装置还用于根据所述近场连接请求或远程连接请求与所述监控装置之间建立通信链路,通过所述通信链路接收所述监控装置发送的第一监控指令。The system according to claim 8, wherein said monitoring means is further configured to send a near field connection request or a remote connection request to said monitoring means; said monitoring means is further operative to respond to said near field connection request or And establishing, by the remote connection request, a communication link with the monitoring device, and receiving, by the communication link, a first monitoring instruction sent by the monitoring device.
  10. 根据权利要求8所述的系统,其特征在于,所述监控装置还用于在向所述监测装置发送第一监控指令之前,向所述监测装置发送第二同步指令,所述第二同步指令包括用户标识;所述监测装置还用于根据所述第二同步指令检测是否存储有所述用户标识对应的睡眠数据;所述监控装置还用于当所述监测装置未存储所述用户标识对应的睡眠数据时,爬取所述用户标识对应预设时间内的就诊记录,根据所述就诊记录生成所述第一监控指令或第二监控指令;或者当所述监测装置存储了所述用户标识对应的睡眠数据时,接收所述监测装置根据所述第二同步指令返回的被监测对象的睡眠数据,根据所述睡眠数据生成所述第一监控指令或第二监控指令。The system of claim 8 wherein said monitoring means is further operative to transmit a second synchronization command to said monitoring device prior to transmitting said first monitoring command to said monitoring device, said second synchronization command The monitoring device is further configured to detect, according to the second synchronization instruction, whether the sleep data corresponding to the user identifier is stored; the monitoring device is further configured to: when the monitoring device does not store the user identifier, The sleep data of the user identifier corresponding to the preset time, the first monitoring instruction or the second monitoring instruction is generated according to the medical record; or when the monitoring device stores the user identifier And corresponding to the sleep data, receiving, by the monitoring device, the first monitoring instruction or the second monitoring instruction according to the sleep data according to the sleep data of the monitored object returned by the second synchronization instruction.
  11. 根据权利要求8所述的系统,其特征在于,所述监测装置包括第一控制模块和第一参数采集模块,所述第一参数采集模块包括心率模块、加速度传感器或肌电模块中的至少一项;The system according to claim 8, wherein the monitoring device comprises a first control module and a first parameter acquisition module, and the first parameter acquisition module comprises at least one of a heart rate module, an acceleration sensor or a myoelectric module. item;
    所述心率模块,用于采集所述被监测对象的心率参数;The heart rate module is configured to collect a heart rate parameter of the monitored object;
    所述加速度传感器,用于采集所述被监测对象的第一体动参数;The acceleration sensor is configured to collect a first body motion parameter of the monitored object;
    所述肌电模块,用于采集所述被监测对象的肌电参数;The myoelectric module is configured to collect electromyographic parameters of the monitored object;
    所述第一控制模块,用于获取预设的睡眠分析模型,将所述心率参数、第一体动参数或肌电参数输入至所述睡眠分析模型。The first control module is configured to acquire a preset sleep analysis model, and input the heart rate parameter, the first body motion parameter, or the myoelectric parameter to the sleep analysis model.
  12. 根据权利要求8所述的系统,其特征在于,所述助眠装置包括:The system of claim 8 wherein said sleep aid comprises:
    第二参数采集模块,用于采集所述被监测对象的第二体动参数;a second parameter collection module, configured to collect a second body motion parameter of the monitored object;
    第二控制模块,用于将所述第二体动参数上报至所述监测装置。The second control module is configured to report the second body motion parameter to the monitoring device.
  13. 根据权利要求8所述的系统,其特征在于,所述助眠装置包括第二控制模块和脉冲助眠模块;所述监控装置还用于根据所述睡眠质量对应的数据生成所述第一监控指令或第二监控指令,利用所述第二监控指令将所述监测装置的工作模式切换为第二模式;所述监测装置还用于根据所述第二监控指令进入第二模式,在所述第二模式下,按照预设频率获取所述被监测对象的睡眠数据,所述睡眠数据包括睡眠状态;当所述睡眠状态为第一状态时,生成助眠指令,利用所述助眠指令将所述助眠装置的工作模式设置为助眠模式;所述第二控制模块还用于在所述助眠模式下控制所述脉冲助眠模块生成脉冲信号;当所述睡眠状态为第二状态时,生成助眠停止指令,将所述助眠停止指令发送至所述第二控制模块;所述第二控制模块还用于根据所述助眠停止指令控制所述脉冲助眠模块停止生成所述脉冲信号。The system according to claim 8, wherein the sleep aid device comprises a second control module and a pulse sleep aid module; the monitoring device is further configured to generate the first monitor according to the data corresponding to the sleep quality And the second monitoring command is used to switch the working mode of the monitoring device to the second mode; the monitoring device is further configured to enter the second mode according to the second monitoring instruction, In the second mode, the sleep data of the monitored object is acquired according to a preset frequency, and the sleep data includes a sleep state; when the sleep state is the first state, a sleep aid instruction is generated, and the sleep aid instruction is used The working mode of the sleep aid device is set to a sleep mode; the second control module is further configured to control the pulse sleep module to generate a pulse signal in the sleep mode; when the sleep state is a second state Generating a sleep aid stop command to send the sleep aid stop command to the second control module; the second control module is further configured to control the sleep mode stop command according to the The pulse sleep aid module stops generating the pulse signal.
  14. 根据权利要求13所述的系统,其特征在于,所述监测装置还包括存储模块,用于存储所述第一状态对应的多个睡眠深度区间以及每个睡眠深度区间对应的脉冲强度;所述第一控制模块还用于根据所述被监测对象的睡眠深度所属睡眠深度区间,获取对应的脉冲强度,利用获取到的脉冲强度生成所述助眠指令,利用所述助眠指令将所述助眠装置的工作模式设置为助眠模式;所述脉冲助眠模块还用于根据所述助眠指令中的脉冲强度生成脉冲信号。The system according to claim 13, wherein the monitoring device further comprises a storage module, configured to store a plurality of sleep depth intervals corresponding to the first state and a pulse intensity corresponding to each sleep depth interval; The first control module is further configured to acquire a corresponding pulse intensity according to a sleep depth interval to which the sleep depth of the monitored object belongs, generate the sleep aid instruction by using the acquired pulse strength, and use the sleep aid instruction to use the assisting instruction The working mode of the sleep device is set to a sleep assist mode; the pulse sleep aid module is further configured to generate a pulse signal according to a pulse intensity in the sleep aid command.
  15. 根据权利要求8所述的系统,其特征在于,所述睡眠数据具有对应的用户标识;所述监控装置还用于向所述监测装置发送第二同步指令,接收所述监测装置根据所述第二同步指令返回的设备信息;所述设备信息具有对应的用户标识;获取多个用户标识对应的睡眠数据和设备信息;对获取到的多组睡眠 数据和设备信息,进行大数据分析;根据分析结果生成对所述监测装置和/或所述助眠装置的改进指引文件;将所述改进指引文件发送至指定设备,所述改进指引文件记录了装置改进需求信息。The system according to claim 8, wherein said sleep data has a corresponding user identifier; said monitoring means is further configured to send a second synchronization command to said monitoring device, said receiving said monitoring device according to said The device information returned by the second synchronization instruction; the device information has a corresponding user identifier; acquires sleep data and device information corresponding to the plurality of user identifiers; performs large data analysis on the acquired plurality of sets of sleep data and device information; The result is an improved guidance document for the monitoring device and/or the sleep aid device; the improved guidance file is sent to a designated device, the improved guidance file recording device improvement demand information.
  16. 一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现权利要求1-3或4-7任意一项所述方法的步骤。A computer device comprising a memory, a processor, and a computer program stored on the memory and operable on the processor, the processor executing the computer program to implement any one of claims 1-3 or 4-7 The steps of the method.
  17. 一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现权利要求1-3或4-7任意一项所述方法的步骤。A computer readable storage medium having stored thereon a computer program, the computer program being executed by a processor to perform the steps of the method of any of claims 1-3 or 4-7.
PCT/CN2018/122602 2017-12-21 2018-12-21 Sleep quality monitoring method and system, computer device and storage medium WO2019120279A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711397817.7A CN108309233B (en) 2017-12-21 2017-12-21 Sleep quality monitoring method, system, computer device and storage medium
CN201711397817.7 2017-12-21

Publications (1)

Publication Number Publication Date
WO2019120279A1 true WO2019120279A1 (en) 2019-06-27

Family

ID=62893141

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/122602 WO2019120279A1 (en) 2017-12-21 2018-12-21 Sleep quality monitoring method and system, computer device and storage medium

Country Status (2)

Country Link
CN (1) CN108309233B (en)
WO (1) WO2019120279A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110680339A (en) * 2019-09-25 2020-01-14 橙意家人科技(天津)有限公司 Low-load multi-dimensional intelligent sleep monitoring screening method

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108309233B (en) * 2017-12-21 2020-07-10 速眠创新科技(深圳)有限公司 Sleep quality monitoring method, system, computer device and storage medium
CN109567747B (en) * 2018-11-09 2022-04-15 速眠创新科技(深圳)有限公司 Sleep monitoring method and device, computer equipment and storage medium
CN109567749B (en) * 2018-11-09 2022-04-15 速眠创新科技(深圳)有限公司 Sleep data processing method and device, computer equipment and storage medium
CN109567750B (en) * 2018-11-09 2021-09-28 速眠创新科技(深圳)有限公司 Sleep stage determination method and device and computer equipment
WO2021120079A1 (en) * 2019-12-19 2021-06-24 杭州星迈科技有限公司 Health monitoring method and system
CN111281341A (en) * 2020-02-04 2020-06-16 乐歌信息科技(上海)有限公司 Sleep evaluation method and device, electronic equipment and storage medium
CN112398928B (en) * 2020-11-04 2024-04-16 广东源泉科技有限公司 Operation method of Internet of things equipment software
CN113647909B (en) * 2021-08-09 2022-05-17 珠海格力电器股份有限公司 Sleep index monitoring method, electronic device, device and readable storage medium
CN114675556B (en) * 2022-03-29 2023-12-26 浙江想能睡眠科技股份有限公司 Personalized sleep-aiding intelligent pillow device and control method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227858A (en) * 2005-07-26 2008-07-23 松下电工株式会社 Illumination and sleep evaluation system
AU2008350278A1 (en) * 2008-02-14 2009-08-20 Kingsdown, Inc. Apparatuses and methods for evaluating a person for a sleep system
JP2009233027A (en) * 2008-03-26 2009-10-15 Aisin Seiki Co Ltd Sleep improvement device and program
CN104095615A (en) * 2014-07-17 2014-10-15 上海翰临电子科技有限公司 Human sleep monitoring method and system
WO2016136450A1 (en) * 2015-02-26 2016-09-01 ヤマハ株式会社 Sound source control apparatus, sound source control method, and computer-readable storage medium
CN106037639A (en) * 2016-05-18 2016-10-26 成都九十度工业产品设计有限公司 Sleep management device, system and method
CN106974620A (en) * 2017-03-08 2017-07-25 中国人民解放军南京军区南京总医院 Monitored for sleep quality, manage and promote the device slept
CN108309233A (en) * 2017-12-21 2018-07-24 速眠创新科技(深圳)有限公司 Sleep quality monitoring method, system, computer equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102068260B (en) * 2009-11-25 2013-06-05 深圳市健康鼠科技有限公司 Sleep quality monitoring method and life style management suggestion system
CN104715128A (en) * 2013-12-12 2015-06-17 中国移动通信集团公司 Processing method and equipment of electronic health service
CN104224132B (en) * 2014-09-26 2016-09-14 天彩电子(深圳)有限公司 sleep monitoring device and monitoring method thereof
CN105096561A (en) * 2015-07-22 2015-11-25 小米科技有限责任公司 Mattress temperature adjusting method, apparatus and terminal
CN105231995B (en) * 2015-09-29 2018-03-30 浙江康满家新营销有限公司 A kind of sleep system
CN105797270B (en) * 2016-03-07 2018-04-24 宁波力芯科信息科技有限公司 The intelligence system and method for a kind of assisting sleep

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101227858A (en) * 2005-07-26 2008-07-23 松下电工株式会社 Illumination and sleep evaluation system
AU2008350278A1 (en) * 2008-02-14 2009-08-20 Kingsdown, Inc. Apparatuses and methods for evaluating a person for a sleep system
JP2009233027A (en) * 2008-03-26 2009-10-15 Aisin Seiki Co Ltd Sleep improvement device and program
CN104095615A (en) * 2014-07-17 2014-10-15 上海翰临电子科技有限公司 Human sleep monitoring method and system
WO2016136450A1 (en) * 2015-02-26 2016-09-01 ヤマハ株式会社 Sound source control apparatus, sound source control method, and computer-readable storage medium
CN107614045A (en) * 2015-02-26 2018-01-19 雅马哈株式会社 Sound source controlling device, sound source control method and computer readable recording medium storing program for performing
CN106037639A (en) * 2016-05-18 2016-10-26 成都九十度工业产品设计有限公司 Sleep management device, system and method
CN106974620A (en) * 2017-03-08 2017-07-25 中国人民解放军南京军区南京总医院 Monitored for sleep quality, manage and promote the device slept
CN108309233A (en) * 2017-12-21 2018-07-24 速眠创新科技(深圳)有限公司 Sleep quality monitoring method, system, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110680339A (en) * 2019-09-25 2020-01-14 橙意家人科技(天津)有限公司 Low-load multi-dimensional intelligent sleep monitoring screening method

Also Published As

Publication number Publication date
CN108309233A (en) 2018-07-24
CN108309233B (en) 2020-07-10

Similar Documents

Publication Publication Date Title
WO2019120279A1 (en) Sleep quality monitoring method and system, computer device and storage medium
US11430245B2 (en) Urination prediction and monitoring
US7621871B2 (en) Systems and methods for monitoring and evaluating individual performance
US20200054292A1 (en) Remote biometric monitoring and communication system
Patil et al. Health monitoring system using IoT
CN105808946B (en) Mobile telemedicine system based on cloud computing
MX2013014764A (en) Method and apparatus for detecting seizures.
EP3220301A1 (en) Method and system for collecting and analysing data from health monitoring devices
US11363998B2 (en) Managing audio for remote health services
WO2018218310A1 (en) Digital health monitoring system
CN105997053B (en) It is a kind of based on the health management system arranged of intelligent bedding
WO2018176935A1 (en) Health management platform and management method based on children-oriented robot
US20180296112A1 (en) Methods and apparatuses for seizure monitoring
Fati et al. Integrated health monitoring system using GSM and IoT
CN106650265A (en) Intelligent medical diagnosis system
RU2016125573A (en) Patient monitor and method for monitoring patient status
WO2020247032A1 (en) Health device with remote health services
CN104997498A (en) Grassroots medical platform and hypertension patient monitoring method based on grassroots medical platform
CN209547960U (en) Sleep quality monitoring device and system
CN204950897U (en) Long -range sleep monitor
WO2020132799A1 (en) Method and apparatus for setting alarm limit value for monitoring device
CN107582038B (en) Blood pressure monitoring artificial intelligence reminding system and method
Hagargund et al. Smart and automatic health monitoring of patient using wireless sensor network
WO2021136116A1 (en) Method and system for controlling intelligent medical bed and computer device
US20220310251A1 (en) Smart Cords in Medical Applications

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18892088

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC, EPO FORM 1205A DATED 20/10/20

122 Ep: pct application non-entry in european phase

Ref document number: 18892088

Country of ref document: EP

Kind code of ref document: A1