WO2022227820A1 - Method and apparatus for sleep environment control in home system, and device and system - Google Patents

Method and apparatus for sleep environment control in home system, and device and system Download PDF

Info

Publication number
WO2022227820A1
WO2022227820A1 PCT/CN2022/077182 CN2022077182W WO2022227820A1 WO 2022227820 A1 WO2022227820 A1 WO 2022227820A1 CN 2022077182 W CN2022077182 W CN 2022077182W WO 2022227820 A1 WO2022227820 A1 WO 2022227820A1
Authority
WO
WIPO (PCT)
Prior art keywords
sleep
state information
user
sleep state
air conditioner
Prior art date
Application number
PCT/CN2022/077182
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 WO2022227820A1 publication Critical patent/WO2022227820A1/en

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Definitions

  • the present application relates to the technical field of intelligent air conditioners, for example, to a method, apparatus, device and system for controlling a sleeping environment in a home system.
  • Sleep occupies one-third of our lives, and its impact on human health is enormous.
  • some sleep devices can detect the sleep quality of the human body, and determine the sleep state of the human body through the detection of vital physiques.
  • the vital signs include body temperature, heart rate, respiration rate, and blood pressure.
  • the user's sleep quality can be monitored through contact devices such as wearable devices and smart pillows. In this way, the user can adjust and improve sleep according to the monitored sleep quality.
  • the user's adjustment is only an artificial adjustment of sleep time and sleep environment. , and cannot automatically adjust the sleep environment during the sleep process.
  • the home sleep environment cannot alleviate the user's related sleep pain points, nor can it help the user to improve the quality of sleep, that is, it is difficult to realize the smart scene of the sleep environment.
  • Embodiments of the present disclosure provide a method, device, device, and system for controlling a sleep environment in a home system, so as to solve the technical problem that it is difficult to realize a smart scene in a sleep environment.
  • the home system includes: a cloud control device, and an air conditioner and a contactless sleep device that are communicatively connected to the cloud device.
  • the method includes:
  • the operation of the air conditioner is controlled according to the first current user sleep state information.
  • the device for sleep environment control in a home system includes:
  • an acquisition module configured to acquire current user sleep state information of users within the scope of the air conditioner monitored by the contactless sleep device;
  • a parsing module configured to parse the current user sleep state information, and determine the first current user sleep state information corresponding to the first user with the highest user category priority
  • the control module is configured to control the operation of the air conditioner according to the first current user sleep state information.
  • the apparatus for controlling a sleep environment in a home system includes a processor and a memory storing program instructions, the processor is configured to, when executing the program instructions, execute the above-mentioned system for home use A sleep environment control method in a system.
  • the cloud control device includes the above-mentioned apparatus for controlling a sleep environment in a home system.
  • a home system for air cleaning includes: a cloud control device, and an air conditioner and a contactless sleep device communicatively connected to the cloud device, wherein,
  • the contactless sleep device is configured to monitor current user sleep state information of users within the scope of the air conditioner;
  • the cloud control device is configured to acquire the current user sleep state information; parse the current user sleep state information, and determine the first current user sleep state information corresponding to the first user with the highest user category priority; according to the The first current user sleep state information, production environment control instructions, and sent to the air conditioner;
  • the air conditioner is configured to operate according to the received environmental control instruction.
  • the method, device, device, and system for sleep environment control in a home system provided by the embodiments of the present disclosure can achieve the following technical effects:
  • the user sleep status information of users within the scope of the air conditioner can be obtained through the non-contact sleep device, thus improving the application scenario of sleep monitoring, and the sleep status of the first current user corresponding to the first user with the highest priority of the user category can be improved.
  • Status information, control the operation of the air conditioner realize the intelligent scene of the sleeping environment, improve the intelligence of the home, improve the sleeping quality of users, and improve people's health level, production safety and quality of life.
  • FIG. 1 is a schematic structural diagram of a home system for sleep environment control provided by an embodiment of the present disclosure
  • FIG. 2 is a schematic flowchart of a method for controlling a sleep environment in a home system provided by an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart of a method for controlling a sleep environment in a home system provided by an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of a sleep environment control device for a home system provided by an embodiment of the present disclosure
  • FIG. 5 is a schematic structural diagram of a sleep environment control device for a home system provided by an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of a device for controlling a sleep environment in a home system provided by an embodiment of the present disclosure.
  • A/B means: A or B.
  • a and/or B means: A or B, or, A and B three relationships.
  • the sleep device for monitoring vital signs adopts a non-contact sleep device.
  • the user sleep state information of the users within the scope of the air conditioner can be obtained.
  • the application scenario of sleep monitoring is improved, and the first current user sleep state corresponding to the first user with the highest user category priority can be obtained.
  • information, control the operation of the air conditioner realize the intelligent scene of the sleeping environment, improve the intelligence of the home, improve the sleeping quality of users, and improve people's health level, production safety and quality of life.
  • FIG. 1 is a schematic structural diagram of a home system for sleep environment control provided by an embodiment of the present disclosure. As shown in FIG. 1 , the home system includes: a cloud control device 100 , an air conditioner 200 communicatively connected to the cloud device, and a contactless sleep device 300 communicatively connected to the cloud device.
  • the non-contact sleep device 300 may include: a millimeter radar wave module, which can monitor the user's heart rate, breathing, body movement and other basic sleep characteristics with multiple targets based on the millimeter wave radar technology, that is, the non-contact sleep device 300, The current user sleep status information of the users within the scope of the air conditioner that is configured to be monitored.
  • a millimeter radar wave module which can monitor the user's heart rate, breathing, body movement and other basic sleep characteristics with multiple targets based on the millimeter wave radar technology, that is, the non-contact sleep device 300.
  • the cloud control device 100 is configured to obtain current user sleep state information; analyze the current user sleep state information, and determine the first current user sleep state information corresponding to the first user with the highest user category priority; according to the first current user sleep state information , the production environment control instructions are sent to the air conditioner 200 .
  • the air conditioner 200 is configured to operate according to the received environmental control instruction.
  • the air conditioner 200 and the contactless sleep device 300 are configured in the same space, and the two can be bound under the same account system, that is, the cloud control device 100 saves the contactless sleep device and the air conditioner under the same account system.
  • the non-contact sleep device 300 can monitor basic sleep characteristics such as heart rate, breathing, and body movement of each user within the range of the air conditioner 200 with multiple targets.
  • the non-contact sleep device 300 can output the corresponding data of each user according to the set data model.
  • the user sleep state information of wherein the set data model may include: a user category model and a sleep state model, so that the output user sleep state information includes: user category and corresponding sleep state information.
  • the user categories may include: children, youth, middle-aged and elderly, or may include: weak people and strong people, or may include: fast heart rate people and slow heart rate people, and so on.
  • the sleep state information may include: falling asleep state information, falling asleep state information, waking state information, etc., or may include: falling asleep state information, light sleep state information, deep sleep state information, waking state information, and the like.
  • the cloud control device 100 can directly acquire the user sleep state information, and each acquisition corresponds to the current user sleep state information.
  • the sleep platform device can remotely control the contactless sleep device 300, and can communicate with the cloud control device 100.
  • the home system further includes a sleep platform device 400.
  • the contactless sleep The device 300 can only monitor the basic sleep characteristics of each user within the range of the air conditioner 200, such as heart rate, respiration, and physical activity.
  • the sleep platform device 400, the sleep platform device 400 can generate user sleep state information according to the sleep data of the user within the scope of the air conditioner monitored by the contactless sleep device 300, and the sleep platform device 400 saves the set data model to obtain the contactless sleep state information.
  • the sleep platform device 400 saves the set data model to obtain the contactless sleep state information.
  • the sleep platform device 400 After the sleep data monitored by the sleep mode sleep device 300, the corresponding user sleep state information can be obtained by performing machine learning.
  • the cloud control device 100 can obtain the user sleep state information from the sleep platform device 400. Corresponds to the current user sleep state information. It can be seen that the contactless sleep device 300 only collects data, which reduces resource occupation and improves the efficiency of sleep monitoring.
  • the cloud control platform 100 is configured to subscribe from the message queue of the sleep platform device 400 to user sleep state information of users within the scope of the air conditioner, wherein the user sleep state information is the sleep platform device according to the contactless
  • the sleep data of the user within the scope of the air conditioner monitored by the sleep device is generated, including: the user category and the corresponding sleep state information; and the subscribed user sleep state information is determined as the current user sleep state information.
  • the sleep platform device 400 After the sleep platform device 400 outputs the user's sleep state information through machine learning, it can be thrown into the message queue, for example, into the high-throughput distributed publish-subscribe message system kafka message queue. In this way, the cloud control platform 100 can Subscribe to obtain the current user sleep state information of the users within the scope of the air conditioner 200 monitored by the contactless sleep device 300 .
  • the cloud control platform 100 can parse the current user sleep state information to obtain the current user category and the corresponding current sleep state information.
  • the determinable information includes: The current user category is youth, the corresponding current sleep state information is awake state, the current user category of user 2 is youth, the corresponding current sleep state information is sleeping state, the current user category of user 3 is child, the corresponding current sleep state The state information is the sleeping state, the current user category of the user 4 is elderly, and the corresponding current sleep state information is the sleeping state.
  • the priority of the user category can be preset, so that after parsing the current sleep status information, the cloud control device 100 can determine the first current user sleep status information corresponding to the first user with the highest priority of the user category.
  • the priority of the preset user category includes: the user category priority of children is higher than the priority of the user category of the elderly, the priority of the user category of the elderly is higher than that of the middle-aged user category, and the priority of the middle-aged user category is higher.
  • User category priority for youth includes: after parsing the current user sleep state information, the obtained current user categories include: children, and one of youth, middle-aged, and elderly.
  • the child is determined as the first user with the highest priority of the user category; after parsing the current sleep state information, the obtained current user category includes: the elderly, and one or both of the young and middle-aged In this case, determine the elderly as the first user with the highest priority of the user category; in the case of parsing the current sleep state information, the current user categories obtained include: youth and middle-aged, determine the middle-aged as the user category with the highest priority. the first user.
  • the user categories include: a weak group category and a strong group category
  • the user category priority of the weak group category is higher than the user category priority of the strong group category. Not listed in detail.
  • the cloud control platform 100 may control the operation of the air conditioner 200 according to the sleep state information of the first current user corresponding to the first user.
  • the air conditioner 200 may operate according to the temperature adjustment curve.
  • the temperature adjustment curve may include: adjustment every half hour by 0.5 degrees each time, the adjustment time is 8 hours, and the temperature adjustment range is: current air conditioner detection temperature + 3.5.
  • the temperature value of each execution point may be as follows :
  • controlling the operation of the air conditioner according to the first current user sleep state information includes: in the first current user sleep state information When the current sleep state information of the device includes the sleep state information, the start time corresponding to the sleep state is determined as the sleep curve opening time; according to the sleep curve opening time, the air conditioner is controlled to operate according to the temperature adjustment curve.
  • the user category is a child
  • the start time corresponding to the sleep state is 8:00 pm
  • 8:00 can be the start time of the sleep curve, so that 9:00 lasts until 7 am: 00 is the sleep execution time
  • the temperature of the corresponding execution point is set every 1 hour, and the temperature value of each execution point has been set according to the sleep curve.
  • the sleep state information of the first current user corresponding to the first user is the sleep-wake state information
  • the operation of the air conditioner can also be controlled according to the physical characteristic information of the first user, for example, the set target temperature and The physical feature information of the first user is matched.
  • the cloud control device 100 may send a sleep instruction to the contactless sleep device 300 to control the contactless sleep device 300 to sleep. In this way, resources are saved.
  • the cloud control device 100 in order to improve the sleep accuracy of the contactless sleep device 300, if each current sleep state information in the current user sleep state information includes sleep-wake state information, if the delay is set When the time arrives, for example, with a delay of 3, 5 or 6 minutes, the cloud control device 100 sends a sleep instruction to the contactless sleep device 300 to control the contactless sleep device 300 to sleep.
  • the cloud control device can obtain the user sleep status information of the users within the scope of the air conditioner through the non-contact sleep device, and can obtain the user sleep status information corresponding to the first user with the highest priority according to the user category.
  • the first current user sleep state information controls the operation of the air conditioner, and realizes a smart scene of the sleep environment.
  • FIG. 2 is a schematic flowchart of a method for controlling a sleep environment in a home system provided by an embodiment of the present disclosure. As shown in Figure 2, the process for sleep environment control in the home system includes:
  • Step 201 Acquire current user sleep state information of users within the scope of action of the air conditioner monitored by the contactless sleep device.
  • the non-contact sleep device may include: a millimeter-wave radar module, which can monitor basic sleep characteristics such as the user's heart rate, respiration, and body movement with multiple targets based on the millimeter-wave radar technology.
  • a millimeter-wave radar module which can monitor basic sleep characteristics such as the user's heart rate, respiration, and body movement with multiple targets based on the millimeter-wave radar technology.
  • the non-contact sleep device can output the user corresponding to each user according to the set data model. Sleep state information. Therefore, the user sleep state information can be obtained directly from the contactless sleep device, and each time the information is obtained, it corresponds to the current user sleep state information.
  • the non-contact sleep device monitors basic sleep data such as heart rate, respiration, physical activity and other basic sleep data of each user within the scope of the air conditioner, and then sends the sleep data to the sleep platform device, so that the sleep platform device can
  • the user sleep status information is generated according to the sleep data of the user within the scope of the air conditioner monitored by the non-contact sleep device, that is, according to the saved set data model, after the sleep data is obtained, perform machine learning to obtain the corresponding sleep data.
  • the user sleep state information is output to the message queue.
  • obtaining the current user sleep state information of the user within the scope of the air conditioner monitored by the contactless sleep device includes: from the message queue of the sleep platform device, subscribing to the user's information within the scope of the air conditioner.
  • User sleep state information where the user sleep state information is generated by the sleep platform device according to the sleep data of the user within the scope of the air conditioner monitored by the contactless sleep device, including: user category and corresponding sleep state information; will subscribe to The user sleep state information of is determined as the current user sleep state information.
  • the user sleep state information includes: user category and corresponding sleep state information.
  • the user categories may include: children, youth, middle-aged and elderly, or may include: weak people, strong people, and the like.
  • the sleep state information may include: falling asleep state information, falling asleep state information, waking state information, etc., or may include: falling asleep state information, light sleep state information, deep sleep state information, waking state information, and the like.
  • Step 202 Parse the current user sleep state information, and determine the first current user sleep state information corresponding to the first user with the highest user category priority.
  • the current user sleep state information can be parsed to obtain the current user category and the corresponding current sleep state information.
  • the priority of the user category can be preset, so that after parsing the current sleep status information, the first current user sleep status information corresponding to the first user with the highest priority of the user category can be determined.
  • the preset user category priorities include: the user category priority of children is higher than the user category priority of the elderly, the user category priority of the elderly is higher than that of the middle-aged user category, and the middle-aged user category priority is higher than that of the middle-aged user category.
  • the user category priority for youth is higher than the user category priority for youth.
  • the child is determined as the first user with the highest priority of the user category; after parsing the current sleep state information, the obtained current user category includes: the elderly, and one or both of the young and middle-aged In this case, determine the elderly as the first user with the highest priority of the user category; in the case of parsing the current sleep state information, the current user categories obtained include: youth and middle-aged, determine the middle-aged as the user category with the highest priority. the first user.
  • Step 203 Control the operation of the air conditioner according to the first current user sleep state information.
  • the operation of the air conditioner can be controlled according to the sleep state information of the child's first current user.
  • the operation of the air conditioner can be controlled according to the sleep state information of the first current user of the old man.
  • the air conditioner can operate according to the temperature adjustment curve.
  • the temperature adjustment curve may include: adjustment every half hour, 0.5 degrees for each adjustment, and the adjustment duration is 8 hours. Alternatively, it can be adjusted every hour, and the temperature value of each adjustment can be preset according to the season. Therefore, controlling the operation of the air conditioner according to the first current user sleep state information includes: when the current sleep state information in the first current user sleep state information includes the sleep state information, determining the start time corresponding to the sleep state as the sleep curve Turn-on time; according to the turn-on time of the sleep curve, control the air conditioner to operate according to the temperature adjustment curve.
  • the contactless sleep device does not need to be turned on in real time to detect user sleep state information.
  • each current sleep state information in the current user sleep state information includes sleep and wake state information.
  • the non-contact sleep device can also enter the working state after receiving the remote control start command and the start command sent by the cloud control platform, and monitor the current user sleep state information of the user within the scope of the air conditioner.
  • the user sleep state information of the users within the scope of the air conditioner can be obtained through the non-contact sleep device, so that the application scenario of sleep monitoring is improved, and the first user category with the highest priority can be used according to the user category.
  • the first current user sleep state information corresponding to the user controls the operation of the air conditioner, realizes the smart scene of the sleeping environment, improves the intelligence of the home, improves the sleep quality of the user, and improves people's health level, production safety and quality of life. .
  • the home system includes: a cloud control device, and an air conditioner, a millimeter radar wave module, a sleep platform device, and a terminal that are respectively connected to the cloud control device for communication.
  • the cloud control device has saved the binding relationship between the air conditioner, the millimeter radar wave module and the terminal under the same account system.
  • the preset user category priorities are saved, including: the user category priority of children is higher than the user category priority of the elderly, the user category priority of the elderly is higher than that of the middle-aged user category, and the user category priority of the middle-aged User category priority is higher than youth's user category priority.
  • FIG. 3 is a schematic flowchart of a method for controlling a sleep environment in a home system provided by an embodiment of the present disclosure.
  • the process for sleep environment control in the home system includes:
  • Step 301 Receive a startup instruction sent by the terminal, and send it to the millimeter radar wave module to control the startup of the millimeter radar wave module.
  • the millimeter radar wave module After the millimeter radar wave module is activated, it can monitor the basic sleep data such as heart rate, breathing, and physical activity of each user within the scope of the air conditioner, and send it to the sleep platform device. Perform machine learning on the obtained sleep data, obtain the corresponding user sleep state information, and output it to the Kafka message queue.
  • the basic sleep data such as heart rate, breathing, and physical activity of each user within the scope of the air conditioner
  • Step 302 From the Kafka message queue of the sleep platform device, subscribe the user sleep state information of the users within the scope of the air conditioner, and determine the subscribed user sleep state information as the current user sleep state information.
  • Step 303 Parse the current user sleep state information, and determine the first current user sleep state information corresponding to the first user with the highest priority of the user category according to the preset priority of the user category.
  • Step 304 Determine whether the current sleep state information in the sleep state information of the first current user includes the sleep state information? If yes, go to step 305; otherwise, go to step 306.
  • Step 305 Determine the start time corresponding to the falling asleep state as the sleep curve opening time, and control the air conditioner to operate according to the temperature adjustment curve according to the sleep curve opening time.
  • Step 306 Determine whether each current sleep state information in the current user sleep state information includes sleep-wake state information? If yes, go to step 307; otherwise, go back to step 302.
  • Step 307 Has the delay set time been reached? If yes, go to step 308; otherwise, go back to step 307.
  • Step 308 Send a sleep instruction to the millimeter radar wave module to control the millimeter radar wave module to sleep.
  • the millimeter radar wave module is based on the millimeter wave radar technology, multi-target monitoring of basic sleep characteristics such as the user's heart rate, respiration, body movement, etc., can improve the application scenarios of sleep monitoring.
  • the user sleep state information of the users within the scope of the air conditioner can be obtained through the millimeter radar wave module.
  • the operation of the air conditioner can be controlled according to the first current user sleep state information corresponding to the first user with the highest priority of the user category, and sleep is realized.
  • the intelligent scene of the environment improves the intelligence of the home, improves the sleep quality of users, and improves people's health level, production safety and quality of life.
  • an apparatus for sleep environment control in a home system can be constructed.
  • the home system includes: a cloud control device, and one or more home environment adjustment devices communicated and connected with the cloud device.
  • the air cleaning device can be located in the cloud control device.
  • FIG. 4 is a schematic structural diagram of a sleep environment control device used in a home system provided by an embodiment of the present disclosure.
  • the device for controlling the sleep environment in the home system includes: an acquisition module 410 , an analysis module 420 and a control module 430 .
  • the obtaining module 410 is configured to obtain the current user sleep state information of the user within the scope of the air conditioner monitored by the contactless sleep device.
  • the parsing module 420 is configured to parse the current user sleep state information, and determine the first current user sleep state information corresponding to the first user with the highest user category priority.
  • the control module 430 is configured to control the operation of the air conditioner according to the first current user sleep state information.
  • it further includes: a binding module configured to save the binding relationship between the contactless sleep device and the air conditioner under the same account system.
  • the obtaining module 410 is specifically configured to subscribe the user sleep state information of the users within the scope of the air conditioner from the message queue of the sleep platform device, wherein the user sleep state information is the sleep platform device according to the contactless sleep state information.
  • the sleep data of the user within the scope of the air conditioner monitored by the device is generated, including: the user category and the corresponding sleep state information; the subscribed user sleep state information is determined as the current user sleep state information.
  • the parsing module 420 is specifically configured to parse the current user sleep state information, and the obtained current user category includes: children, and one or more of young, middle-aged, and elderly The child is determined as the first user with the highest priority of the user category; after parsing the current sleep state information, the current user category obtained includes: the elderly, and one or both of the young and middle-aged, and the elderly is determined as the user category. The first user with the highest priority; if the current user categories obtained by parsing the current sleep state information include youth and middle-aged, the middle-aged is determined as the first user with the highest user category priority.
  • control module 430 is specifically configured to determine the start time corresponding to the sleep state as the sleep curve opening time when the current sleep state information in the first current user sleep state information includes the sleep state information ; According to the opening time of the sleep curve, control the air conditioner to operate according to the temperature adjustment curve.
  • it further includes: a dormancy module, configured to, when each current sleep state information in the current user sleep state information includes sleep-wake state information, when the delay set time arrives, send the The contactless sleep device sends a sleep command to control the contactless sleep device to sleep.
  • a dormancy module configured to, when each current sleep state information in the current user sleep state information includes sleep-wake state information, when the delay set time arrives, send the The contactless sleep device sends a sleep command to control the contactless sleep device to sleep.
  • the following specifically describes the sleep environment control process in the home system of the device for sleep environment control in the home system applied to the air conditioner.
  • the home system includes: the home system includes a cloud control device, and an air conditioner, a millimeter radar wave module, and a sleep platform device that are respectively connected to the cloud control device for communication.
  • FIG. 5 is a schematic structural diagram of a device for controlling a sleep environment in a home system provided by an embodiment of the present disclosure.
  • the device for controlling the sleep environment in the home system includes: an acquisition module 410 , an analysis module 420 , a control module 430 , a binding module 440 and a sleep module 450 .
  • the binding module 440 has saved the binding relationship between the air conditioner and the millimeter radar wave module under the same account system.
  • the millimeter radar wave module has started operation under the control of remote control commands. It can monitor the basic sleep data such as heart rate, respiration, and body movement of each user within the scope of the air conditioner, and send it to the sleep platform device. In this way, the sleep platform device According to the set data model, machine learning is performed on the obtained sleep data to obtain the corresponding user sleep state information, and output to the Kafka message queue. Therefore, the acquisition module 410 can subscribe the user sleep state information of the users within the scope of the air conditioner from the kafka message queue of the sleep platform device, and determine the subscribed user sleep state information as the current user sleep state information.
  • the basic sleep data such as heart rate, respiration, and body movement of each user within the scope of the air conditioner
  • the parsing module 420 parses the current user sleep state information, and determines the first current user sleep state information corresponding to the first user with the highest priority of the user type according to the preset priority of the user type.
  • the control module 430 may determine the time corresponding to the sleep state as the sleep curve opening time, and control the air conditioner according to the sleep curve opening time. The temperature regulation curve runs.
  • the sleep module 450 sends a sleep command to the millimeter radar wave module to control the millimeter radar wave module to sleep.
  • the millimeter radar wave module is based on the millimeter wave radar technology, multi-target monitoring of basic sleep characteristics such as the user's heart rate, respiration, body movement, etc., can improve the application scenarios of sleep monitoring.
  • the device for controlling the sleep environment in the home system can obtain the user sleep state information of the users within the scope of the air conditioner through the millimeter radar wave module. Status information, control the operation of the air conditioner, realize the intelligent scene of the sleeping environment, improve the intelligence of the home, improve the sleeping quality of users, and improve people's health level, production safety and quality of life.
  • An embodiment of the present disclosure provides a device for controlling a sleep environment in a home system, the structure of which is shown in FIG. 6 and includes:
  • a processor (processor) 1000 and a memory (memory) 1001 may also include a communication interface (Communication Interface) 1002 and a bus 1003 .
  • the processor 1000 , the communication interface 1002 , and the memory 1001 can communicate with each other through the bus 1003 .
  • Communication interface 1002 may be used for information transfer.
  • the processor 1000 can call the logic instructions in the memory 1001 to execute the method for controlling the sleep environment in the home system of the above-mentioned embodiments.
  • logic instructions in the memory 1001 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
  • the memory 1001 can be used to store software programs and computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure.
  • the processor 1000 executes function applications and data processing by running the program instructions/modules stored in the memory 1001, that is, to implement the method for controlling the sleep environment in the home system in the above method embodiments.
  • the memory 1001 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal air conditioner, and the like.
  • the memory 1001 may include high-speed random access memory, and may also include non-volatile memory.
  • An embodiment of the present disclosure provides a device for controlling a sleep environment in a home system, including: a processor and a memory storing program instructions.
  • the processor is configured to execute the control device for a sleep environment in the home system when the program instructions are executed. method.
  • An embodiment of the present disclosure provides a cloud control device, including the above-mentioned device for controlling a sleep environment in a home system.
  • An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, where the computer-executable instructions are configured to execute the above-mentioned method for controlling a sleep environment in a home system.
  • An embodiment of the present disclosure provides a computer program product, where the computer program product includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions that, when executed by a computer, cause all The computer executes the above-mentioned method for controlling the sleep environment in the home system.
  • the above-mentioned computer-readable storage medium may be a transient computer-readable storage medium, and may also be a non-transitory computer-readable storage medium.
  • the technical solutions of the embodiments of the present disclosure may be embodied in the form of software products, and the computer software products are stored in a storage medium and include one or more instructions to make a computer air conditioner (which may be a personal computer, a server, or a network air conditioner, etc.) to perform all or part of the steps of the methods described in the embodiments of the present disclosure.
  • the aforementioned storage medium can be a non-transitory storage medium, including: U disk, removable hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc.
  • a first element could be termed a second element, and similarly, a second element could be termed a first element, so long as all occurrences of "the first element” were consistently renamed and all occurrences of "the first element” were named consistently
  • the “second element” can be renamed consistently.
  • the first element and the second element are both elements, but may not be the same element.
  • the terms used in this application are used to describe the embodiments only and not to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a” (a), “an” (an) and “the” (the) are intended to include the plural forms as well, unless the context clearly dictates otherwise. .
  • the term “and/or” as used in this application is meant to include any and all possible combinations of one or more of the associated listings.
  • the term “comprise” and its variations “comprises” and/or including and/or the like refer to stated features, integers, steps, operations, elements, and/or The presence of a component does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and/or groupings of these.
  • an element defined by the phrase “comprising a" does not preclude the presence of additional identical elements in the process, method, or air conditioner that includes the element.
  • each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other.
  • the methods, products, etc. disclosed in the embodiments if they correspond to the method sections disclosed in the embodiments, reference may be made to the descriptions of the method sections for relevant parts.
  • the disclosed methods and products can be implemented in other ways.
  • the apparatus embodiments described above are only illustrative.
  • the division of the units may only be a logical function division.
  • there may be other division methods for example, multiple units or components may be combined Either it can be integrated into another system, or some features can be omitted, or not implemented.
  • the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
  • each functional unit in the embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more functions for implementing the specified logical function(s) executable instructions.
  • the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

A method and apparatus for sleep environment control in a home system, and a device and the system. The home system comprises a cloud control device (100), and an air conditioner (200) and a non-contact sleep device (300) which are communicationally connected to the cloud control device. The method comprises: obtaining current user sleep state information, monitored by the non-contact sleep device (300), of users within the action range of the air conditioner (200); parsing the current user sleep state information, and determining first current user sleep state information corresponding to a first user having the highest user category priority; and controlling, according to the first current user sleep state information, the air conditioner (200) to operate. Therefore, an intelligent scene of a sleep environment is achieved, and home intelligence is improved.

Description

用于家居系统中睡眠环境控制的方法、装置、设备及系统Method, device, device and system for sleep environment control in home system
本申请基于申请号为202110486466.7、申请日为2021年4月30日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。This application is based on the Chinese patent application with the application number of 202110486466.7 and the filing date of April 30, 2021, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is incorporated herein by reference.
技术领域technical field
本申请涉及智能空调技术领域,例如涉及用于家居系统中睡眠环境控制的方法、装置、设备及系统。The present application relates to the technical field of intelligent air conditioners, for example, to a method, apparatus, device and system for controlling a sleeping environment in a home system.
背景技术Background technique
睡眠占据了我们一生中三分之一的时间,对人体健康的影响是巨大的。目前,有些睡眠设备可检测人体的睡眠质量,通过对生命体质的检测,来确定人体的睡眠状态,其中,生命体征包括体温、心率、呼吸率和血压等。Sleep occupies one-third of our lives, and its impact on human health is enormous. At present, some sleep devices can detect the sleep quality of the human body, and determine the sleep state of the human body through the detection of vital physiques. The vital signs include body temperature, heart rate, respiration rate, and blood pressure.
通过穿戴设备、智能枕头等接触式设备,可监测出用户的睡眠质量,这样,用户根据监测出的睡眠质量进行调整并改善睡眠,但是,用户的调整还仅仅是人为的调整睡眠时间以及睡眠环境,并不能在睡眠过程自动调整睡眠环境,目前家居睡眠环境还不能缓解用户的相关睡眠痛点,还不能帮助用户改善睡觉质量,即还能很难实现睡眠环境的智慧场景。The user's sleep quality can be monitored through contact devices such as wearable devices and smart pillows. In this way, the user can adjust and improve sleep according to the monitored sleep quality. However, the user's adjustment is only an artificial adjustment of sleep time and sleep environment. , and cannot automatically adjust the sleep environment during the sleep process. At present, the home sleep environment cannot alleviate the user's related sleep pain points, nor can it help the user to improve the quality of sleep, that is, it is difficult to realize the smart scene of the sleep environment.
发明内容SUMMARY OF THE INVENTION
为了对披露的实施例的一些方面有基本的理解,下面给出了简单的概括。所述概括不是泛泛评述,也不是要确定关键/重要组成元素或描绘这些实施例的保护范围,而是作为后面的详细说明的序言。In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not intended to be an extensive review, nor to identify key/critical elements or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.
本公开实施例提供了一种用于家居系统中睡眠环境控制的方法、装置、设备及系统,以解决睡眠环境难以实现智慧场景的技术问题。其中,所述家居系统包括:云端控制设备,以及与所述云端设备通讯连接的空调和非接触式睡眠设备。Embodiments of the present disclosure provide a method, device, device, and system for controlling a sleep environment in a home system, so as to solve the technical problem that it is difficult to realize a smart scene in a sleep environment. Wherein, the home system includes: a cloud control device, and an air conditioner and a contactless sleep device that are communicatively connected to the cloud device.
在一些实施例中,所述方法包括:In some embodiments, the method includes:
获取所述非接触式睡眠设备监测的所述空调作用范围内用户的当前用户睡眠状态信息;Acquire current user sleep state information of users within the scope of the air conditioner monitored by the contactless sleep device;
解析所述当前用户睡眠状态信息,确定用户类别优先级最高的第一用户对应的第一当前用户睡眠状态信息;Parse the current user sleep state information, and determine the first current user sleep state information corresponding to the first user with the highest user category priority;
根据所述第一当前用户睡眠状态信息,控制所述空调运行。The operation of the air conditioner is controlled according to the first current user sleep state information.
在一些实施例中,所述用于家居系统中睡眠环境控制的装置,包括:In some embodiments, the device for sleep environment control in a home system includes:
获取模块,被配置为获取所述非接触式睡眠设备监测的所述空调作用范围内用户的当前用户睡眠状态信息;an acquisition module, configured to acquire current user sleep state information of users within the scope of the air conditioner monitored by the contactless sleep device;
解析模块,被配置为解析所述当前用户睡眠状态信息,确定用户类别优先级最高的第一用户对应的第一当前用户睡眠状态信息;a parsing module, configured to parse the current user sleep state information, and determine the first current user sleep state information corresponding to the first user with the highest user category priority;
控制模块,被配置为根据所述第一当前用户睡眠状态信息,控制所述空调运行。The control module is configured to control the operation of the air conditioner according to the first current user sleep state information.
在一些实施例中,所述用于家居系统中睡眠环境控制的装置,包括处理器和存储有程序指令的存储器,所述处理器被配置为在执行所述程序指令时,执行上述用于家居系统中睡眠环境控制方法。In some embodiments, the apparatus for controlling a sleep environment in a home system includes a processor and a memory storing program instructions, the processor is configured to, when executing the program instructions, execute the above-mentioned system for home use A sleep environment control method in a system.
在一些实施例中,所述云端控制设备,包括上述用于家居系统中睡眠环境控制的装置。In some embodiments, the cloud control device includes the above-mentioned apparatus for controlling a sleep environment in a home system.
在一些实施例中,用于空气清洁的家居系统包括:云端控制设备,以及与所述云端设备通讯连接的空调和非接触式睡眠设备,其中,In some embodiments, a home system for air cleaning includes: a cloud control device, and an air conditioner and a contactless sleep device communicatively connected to the cloud device, wherein,
所述非接触式睡眠设备,被配置为监测的所述空调作用范围内用户的当前用户睡眠状态信息;The contactless sleep device is configured to monitor current user sleep state information of users within the scope of the air conditioner;
所述云端控制设备,被配置为获取所述当前用户睡眠状态信息;解析所述当前用户睡眠状态信息,确定用户类别优先级最高的第一用户对应的第一当前用户睡眠状态信息;根据所述第一当前用户睡眠状态信息,生产环境控制指令,并发送给所述空调;The cloud control device is configured to acquire the current user sleep state information; parse the current user sleep state information, and determine the first current user sleep state information corresponding to the first user with the highest user category priority; according to the The first current user sleep state information, production environment control instructions, and sent to the air conditioner;
所述空调,被配置为根据接收到的所述环境控制指令,进行运行。The air conditioner is configured to operate according to the received environmental control instruction.
本公开实施例提供的用于家居系统中睡眠环境控制的方法、装置、设备和系统,可以实现以下技术效果:The method, device, device, and system for sleep environment control in a home system provided by the embodiments of the present disclosure can achieve the following technical effects:
可通过非接触式睡眠设备,获取空调作用范围内用户的用户睡眠状态信息,这样,提高了睡眠监测的应用场景,并且,可根据用户类别优先级最高的第一用户对应的第一当前用户睡眠状态信息,控制空调的运行,实现了睡眠环境的智慧场景,提高了家居智能性,也改善了用户的睡觉质量,提高了人们的健康水平、生产安全和生活质量。The user sleep status information of users within the scope of the air conditioner can be obtained through the non-contact sleep device, thus improving the application scenario of sleep monitoring, and the sleep status of the first current user corresponding to the first user with the highest priority of the user category can be improved. Status information, control the operation of the air conditioner, realize the intelligent scene of the sleeping environment, improve the intelligence of the home, improve the sleeping quality of users, and improve people's health level, production safety and quality of life.
以上的总体描述和下文中的描述仅是示例性和解释性的,不用于限制本申请。The foregoing general description and the following description are exemplary and explanatory only and are not intended to limit the application.
附图说明Description of drawings
一个或多个实施例通过与之对应的附图进行示例性说明,这些示例性说明和附图并不构成对实施例的限定,附图中具有相同参考数字标号的元件示为类似的元件,附图不构成比例限制,并且其中:One or more embodiments are exemplified by the accompanying drawings, which are not intended to limit the embodiments, and elements with the same reference numerals in the drawings are shown as similar elements, The drawings do not constitute a limitation of scale, and in which:
图1是本公开实施例提供的一种用于睡眠环境控制的家居系统的结构示意图;1 is a schematic structural diagram of a home system for sleep environment control provided by an embodiment of the present disclosure;
图2是本公开实施例提供的一种用于家居系统中睡眠环境控制方法的流程示意图;2 is a schematic flowchart of a method for controlling a sleep environment in a home system provided by an embodiment of the present disclosure;
图3是本公开实施例提供的一种用于家居系统中睡眠环境控制方法的流程示意图;3 is a schematic flowchart of a method for controlling a sleep environment in a home system provided by an embodiment of the present disclosure;
图4是本公开实施例提供的一种用于家居系统中睡眠环境控制装置的结构示意图;4 is a schematic structural diagram of a sleep environment control device for a home system provided by an embodiment of the present disclosure;
图5是本公开实施例提供的一种用于家居系统中睡眠环境控制装置的结构示意图;5 is a schematic structural diagram of a sleep environment control device for a home system provided by an embodiment of the present disclosure;
图6是本公开实施例提供的一种用于家居系统中睡眠环境控制装置的结构示意图。FIG. 6 is a schematic structural diagram of a device for controlling a sleep environment in a home system provided by an embodiment of the present disclosure.
具体实施方式Detailed ways
为了能够更加详尽地了解本公开实施例的特点与技术内容,下面结合附图对本公开实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本公开实施例。在以下的技术描述中,为方便解释起见,通过多个细节以提供对所披露实施例的充分理解。然而,在没有这些细节的情况下,一个或多个实施例仍然可以实施。在其它情况下,为简化附图,熟知的结构和装置可以简化展示。In order to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings, which are for reference only and are not intended to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, numerous details are provided to provide a thorough understanding of the disclosed embodiments. However, one or more embodiments may be practiced without these details. In other instances, well-known structures and devices may be shown simplified in order to simplify the drawings.
本公开实施例的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本公开实施例的实施例。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含。The terms "first", "second" and the like in the description and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data so used may be interchanged under appropriate circumstances for the purposes of implementing the embodiments of the disclosure described herein. Furthermore, the terms "comprising" and "having", and any variations thereof, are intended to cover non-exclusive inclusion.
除非另有说明,术语“多个”表示两个或两个以上。Unless stated otherwise, the term "plurality" means two or more.
本公开实施例中,字符“/”表示前后对象是一种“或”的关系。例如,A/B表示:A或B。In the embodiment of the present disclosure, the character "/" indicates that the preceding and following objects are in an "or" relationship. For example, A/B means: A or B.
术语“和/或”是一种描述对象的关联关系,表示可以存在三种关系。例如,A和/或B,表示:A或B,或,A和B这三种关系。The term "and/or" is an associative relationship describing objects, indicating that three relationships can exist. For example, A and/or B, means: A or B, or, A and B three relationships.
对生命体征进行监测,可获取用户睡眠状态信息,其中,生命体征包括体温、心率、呼吸率和血压等,目前,一些接触式睡眠设备可监测生命特征,例如:穿戴设备、智能枕头等等。但是,接触式睡眠设备存在了很多的局限性,如重度烧伤患者,接触式睡眠设备一方面会增加患者的痛苦,另一方面容易引发二次感染;对于正常家用的体 征监护,特别的老人的体征监护,佩戴接触式睡眠设备一方面操作复杂,另一方面可能会影响老人的正常行动和生活,因此,本公开实施例中,监测生命特征的睡眠设备采用非接触式睡眠设备,这样,可通过非接触式睡眠设备,获取空调作用范围内用户的用户睡眠状态信息,这样,提高了睡眠监测的应用场景,并且,可根据用户类别优先级最高的第一用户对应的第一当前用户睡眠状态信息,控制空调的运行,实现了睡眠环境的智慧场景,提高了家居智能性,也改善了用户的睡觉质量,提高了人们的健康水平、生产安全和生活质量。By monitoring vital signs, you can obtain information about the user's sleep status. Among them, vital signs include body temperature, heart rate, respiration rate, and blood pressure. Currently, some contact sleep devices can monitor vital signs, such as wearable devices, smart pillows, and so on. However, contact sleep equipment has many limitations. For example, for patients with severe burns, contact sleep equipment will increase the pain of patients on the one hand, and cause secondary infection on the other hand. For normal household sign monitoring, especially for the elderly Sign monitoring, wearing a contact-type sleep device on the one hand is complicated to operate, and on the other hand may affect the normal actions and life of the elderly. Therefore, in the embodiment of the present disclosure, the sleep device for monitoring vital signs adopts a non-contact sleep device. Through the contactless sleep device, the user sleep state information of the users within the scope of the air conditioner can be obtained. In this way, the application scenario of sleep monitoring is improved, and the first current user sleep state corresponding to the first user with the highest user category priority can be obtained. information, control the operation of the air conditioner, realize the intelligent scene of the sleeping environment, improve the intelligence of the home, improve the sleeping quality of users, and improve people's health level, production safety and quality of life.
对于正常家用的睡眠环境中,家居系统包括:云端控制设备,以及与云端设备通讯连接的空调和非接触式睡眠设备。图1是本公开实施例提供的一种用于睡眠环境控制的家居系统的结构示意图。如图1所示,家居系统包括:云端控制设备100,与云端设备通讯连接的空调200,以及云端设备通讯连接的非接触式睡眠设备300。其中,非接触式睡眠设备300可包括:毫米雷达波模块,该模块可基于毫米波雷达技术,多目标监测用户的心率、呼吸、体动等基本的睡眠特征,即非接触式睡眠设备300,被配置为监测的空调作用范围内用户的当前用户睡眠状态信息。For a normal home sleeping environment, the home system includes cloud control devices, air conditioners and contactless sleep devices that communicate and connect with the cloud devices. FIG. 1 is a schematic structural diagram of a home system for sleep environment control provided by an embodiment of the present disclosure. As shown in FIG. 1 , the home system includes: a cloud control device 100 , an air conditioner 200 communicatively connected to the cloud device, and a contactless sleep device 300 communicatively connected to the cloud device. Wherein, the non-contact sleep device 300 may include: a millimeter radar wave module, which can monitor the user's heart rate, breathing, body movement and other basic sleep characteristics with multiple targets based on the millimeter wave radar technology, that is, the non-contact sleep device 300, The current user sleep status information of the users within the scope of the air conditioner that is configured to be monitored.
云端控制设备100,被配置为获取当前用户睡眠状态信息;解析当前用户睡眠状态信息,确定用户类别优先级最高的第一用户对应的第一当前用户睡眠状态信息;根据第一当前用户睡眠状态信息,生产环境控制指令,并发送给空调200。The cloud control device 100 is configured to obtain current user sleep state information; analyze the current user sleep state information, and determine the first current user sleep state information corresponding to the first user with the highest user category priority; according to the first current user sleep state information , the production environment control instructions are sent to the air conditioner 200 .
空调200,被配置为根据接收到的环境控制指令,进行运行。The air conditioner 200 is configured to operate according to the received environmental control instruction.
家居睡眠环境中相同空间中配置了空调200和非接触式睡眠设备300,两者可绑定在同一账号体系下,即云端控制设备100中保存了同一账号体系下非接触式睡眠设备和空调之间的绑定关系,这样,非接触式睡眠设备300才可多目标监测空调200作用范围内每个用户的心率、呼吸、体动等基本的睡眠特征。In the home sleeping environment, the air conditioner 200 and the contactless sleep device 300 are configured in the same space, and the two can be bound under the same account system, that is, the cloud control device 100 saves the contactless sleep device and the air conditioner under the same account system. In this way, the non-contact sleep device 300 can monitor basic sleep characteristics such as heart rate, breathing, and body movement of each user within the range of the air conditioner 200 with multiple targets.
在一些实施例中,非接触式睡眠设备300多目标监测空调200作用范围内每个用户的心率、呼吸、体动等基本的睡眠特征后,可根据设定的数据模型,输出每个用户对应的用户睡眠状态信息,其中,设定的数据模型可包括:用户类别模型,以及睡眠状态模型,从而,输出的用户睡眠状态信息包括:用户类别,以及对应的睡眠状态信息。用户类别可包括:小孩、青年、中年和老年,或者,可包括:体弱人群和体强人群,或者,可包括:心率快人群和心率慢人群等等。睡眠状态信息可包括:入睡状态信息、睡着状态信息、睡醒状态信息等等,或者,可包括:入睡状态信息、浅睡状态信息、熟睡状态信息、睡醒状态信息等等。In some embodiments, after the non-contact sleep device 300 monitors basic sleep characteristics such as heart rate, respiration, body movement and other basic sleep characteristics of each user within the range of action of the air conditioner 200, the non-contact sleep device 300 can output the corresponding data of each user according to the set data model. The user sleep state information of , wherein the set data model may include: a user category model and a sleep state model, so that the output user sleep state information includes: user category and corresponding sleep state information. The user categories may include: children, youth, middle-aged and elderly, or may include: weak people and strong people, or may include: fast heart rate people and slow heart rate people, and so on. The sleep state information may include: falling asleep state information, falling asleep state information, waking state information, etc., or may include: falling asleep state information, light sleep state information, deep sleep state information, waking state information, and the like.
在非接触式睡眠设备300输出空调作用范围内用户的用户睡眠状态信息情况下,云端控制设备100可直接获取用户睡眠状态信息,每次获取,即对应当前用户睡眠状态信息。When the contactless sleep device 300 outputs the user sleep state information of the user within the scope of the air conditioner, the cloud control device 100 can directly acquire the user sleep state information, and each acquisition corresponds to the current user sleep state information.
在一些实施例中,睡眠平台设备可远程控制非接触式睡眠设备300,并且,可与云端控制设备100进行通讯,如图1,家居系统包括还包括睡眠平台设备400,这样,非接触式睡眠设备300可只多目标监测空调200作用范围内每个用户的心率、呼吸、体动等基本的睡眠特征,即非接触式睡眠设备300监测到的空调作用范围内用户的睡眠数据后,发送给睡眠平台设备400,睡眠平台设备400即可根据非接触式睡眠设备300监测到的空调作用范围内用户的睡眠数据生成用户睡眠状态信息,睡眠平台设备400保存了设定的数据模型,得到非接触式睡眠设备300监测到的睡眠数据后,进行机器学习,即可得到对应的用户睡眠状态信息,这样,云端控制设备100即可从睡眠平台设备400获取到用户睡眠状态信息,每次获取,即对应当前用户睡眠状态信息。可见,非接触式睡眠设备300只采集数据,减少了资源占用,提高了睡眠监测的效率。In some embodiments, the sleep platform device can remotely control the contactless sleep device 300, and can communicate with the cloud control device 100. As shown in FIG. 1, the home system further includes a sleep platform device 400. In this way, the contactless sleep The device 300 can only monitor the basic sleep characteristics of each user within the range of the air conditioner 200, such as heart rate, respiration, and physical activity. The sleep platform device 400, the sleep platform device 400 can generate user sleep state information according to the sleep data of the user within the scope of the air conditioner monitored by the contactless sleep device 300, and the sleep platform device 400 saves the set data model to obtain the contactless sleep state information. After the sleep data monitored by the sleep mode sleep device 300, the corresponding user sleep state information can be obtained by performing machine learning. In this way, the cloud control device 100 can obtain the user sleep state information from the sleep platform device 400. Corresponds to the current user sleep state information. It can be seen that the contactless sleep device 300 only collects data, which reduces resource occupation and improves the efficiency of sleep monitoring.
在一些实施例中,云端控制平台100,被配置为从睡眠平台设备400的消息队列中,订阅空调作用范围内用户的用户睡眠状态信息,其中,用户睡眠状态信息是睡眠平台设备根据非接触式睡眠设备监测到的空调作用范围内用户的睡眠数据生成的,包括:用户类别,以及对应的睡眠状态信息;并将订阅到的用户睡眠状态信息确定为当前用户睡眠状态信息。In some embodiments, the cloud control platform 100 is configured to subscribe from the message queue of the sleep platform device 400 to user sleep state information of users within the scope of the air conditioner, wherein the user sleep state information is the sleep platform device according to the contactless The sleep data of the user within the scope of the air conditioner monitored by the sleep device is generated, including: the user category and the corresponding sleep state information; and the subscribed user sleep state information is determined as the current user sleep state information.
睡眠平台设备400通过机器学习,输出用户睡眠状态信息后,即可丢入消息队列中,例如,丢入高吞吐量的分布式发布订阅消息系统kafka消息队列中,这样,云端控制平台100即可订阅获取非接触式睡眠设备300监测的空调200作用范围内用户的当前用户睡眠状态信息。After the sleep platform device 400 outputs the user's sleep state information through machine learning, it can be thrown into the message queue, for example, into the high-throughput distributed publish-subscribe message system kafka message queue. In this way, the cloud control platform 100 can Subscribe to obtain the current user sleep state information of the users within the scope of the air conditioner 200 monitored by the contactless sleep device 300 .
获取到当前用户睡眠状态信息,云端控制平台100可解析当前用户睡眠状态信息,得到当前用户类别以及对应的当前睡眠状态信息,例如:云端控制平台100解析后,可确定的信息包括:用户1的当前用户类别为青年,对应的当前睡眠状态信息为睡醒状态,用户2的当前用户类别为青年,对应的当前睡眠状态信息为睡着状态,用户3的当前用户类别为小孩,对应的当前睡眠状态信息为睡着状态,用户4的当前用户类别为老年,对应的当前睡眠状态信息为睡醒状态。After obtaining the current user sleep state information, the cloud control platform 100 can parse the current user sleep state information to obtain the current user category and the corresponding current sleep state information. For example, after the cloud control platform 100 parses, the determinable information includes: The current user category is youth, the corresponding current sleep state information is awake state, the current user category of user 2 is youth, the corresponding current sleep state information is sleeping state, the current user category of user 3 is child, the corresponding current sleep state The state information is the sleeping state, the current user category of the user 4 is elderly, and the corresponding current sleep state information is the sleeping state.
可预设用户类别的优先级,这样,在解析当前睡眠状态信息后,云端控制设备100可确定用户类别优先级最高的第一用户对应的第一当前用户睡眠状态信息,在一些实施 例中,预设的用户类别的优先级包括:小孩的用户类别优先级高于老人的用户类别优先级,老人的用户类别优先级高于中年的用户类别优先级,而中年的用户类别优先级高于青年的用户类别优先级。这样,确定用户类别优先级最高的第一用户对应的第一当前用户睡眠状态信息包括:在解析当前用户睡眠状态信息,得到的当前用户类别包括:小孩,以及青年、中年和老年中的一种或多种的情况下,将小孩确定为用户类别优先级最高的第一用户;在解析当前睡眠状态信息,得到的当前用户类别包括:老年,以及青年和中年中的一种或两种情况下,将老年确定为用户类别优先级最高的第一用户;在解析当前睡眠状态信息,得到的当前用户类别包括:青年、以及中年的情况下,将中年确定为用户类别优先级最高的第一用户。The priority of the user category can be preset, so that after parsing the current sleep status information, the cloud control device 100 can determine the first current user sleep status information corresponding to the first user with the highest priority of the user category. In some embodiments, The priority of the preset user category includes: the user category priority of children is higher than the priority of the user category of the elderly, the priority of the user category of the elderly is higher than that of the middle-aged user category, and the priority of the middle-aged user category is higher. User category priority for youth. In this way, determining the first current user sleep state information corresponding to the first user with the highest user category priority includes: after parsing the current user sleep state information, the obtained current user categories include: children, and one of youth, middle-aged, and elderly. In one or more cases, the child is determined as the first user with the highest priority of the user category; after parsing the current sleep state information, the obtained current user category includes: the elderly, and one or both of the young and middle-aged In this case, determine the elderly as the first user with the highest priority of the user category; in the case of parsing the current sleep state information, the current user categories obtained include: youth and middle-aged, determine the middle-aged as the user category with the highest priority. the first user.
当然,用户类别包括:体弱人群类别和体强人群类别时,则体弱人群类别的用户类别优先级高于体强人群类别的用户类别优先级。具体就不一一列举了。Of course, when the user categories include: a weak group category and a strong group category, the user category priority of the weak group category is higher than the user category priority of the strong group category. Not listed in detail.
确定了用户类别优先级最高的第一用户后,云端控制平台100可根据第一用户对应的第一当前用户睡眠状态信息,控制空调200运行。针对用户睡眠状态,空调200可根据温度调节曲线,进行运行。在一些实施例中,温度调节曲线可包括:每隔半小时调节,每次调节0.5度,调节时长8个小时,温度调节范围为:当前空调检测温度+3.5。例如:当前检测温度为24度,则制热季节,温度可调节最高为27.5,则浮动范围数值:halfColdLine={0.5,1,1.5,2,2,2.5,2.5,3,3,3,3,2.5,2.5,2,2,2};halfHotLine={0.5,1,2,2,2.5,3,3,3.5,3.5,3.5,3.5,3,3,2.5,2.5,2.5}。或者,在每隔1个小时设置对应执行点的温度,例如入睡时间为晚上11:00,则从12:00一直持续到早上8:00为睡眠执行时间,则执行每个点温度值可能如下:After determining the first user with the highest user category priority, the cloud control platform 100 may control the operation of the air conditioner 200 according to the sleep state information of the first current user corresponding to the first user. For the sleep state of the user, the air conditioner 200 may operate according to the temperature adjustment curve. In some embodiments, the temperature adjustment curve may include: adjustment every half hour by 0.5 degrees each time, the adjustment time is 8 hours, and the temperature adjustment range is: current air conditioner detection temperature + 3.5. For example: the current detection temperature is 24 degrees, then the heating season, the temperature can be adjusted up to 27.5, then the floating range value: halfColdLine={0.5, 1, 1.5, 2, 2, 2.5, 2.5, 3, 3, 3, 3 , 2.5, 2.5, 2, 2, 2}; halfHotLine={0.5, 1, 2, 2, 2.5, 3, 3, 3.5, 3.5, 3.5, 3.5, 3, 3, 2.5, 2.5, 2.5}. Or, set the temperature of the corresponding execution point every 1 hour. For example, the time to fall asleep is 11:00 pm, and the execution time is from 12:00 to 8:00 am. The temperature value of each execution point may be as follows :
制冷季节cooling season 23.323.3 24.524.5 25.325.3 2626 26.326.3 26.426.4 26.226.2 25.725.7
制热季节heating season 18.918.9 20.420.4 21.621.6 22.522.5 22.922.9 23twenty three 22.822.8 22.122.1
可见,空调根据温度调节曲线,进行运行时,需要确定睡眠曲线开启时间,因此,在一些实施例中,根据第一当前用户睡眠状态信息,控制空调运行包括:在第一当前用户睡眠状态信息中的当前睡眠状态信息包括入睡状态信息的情况下,将入睡状态对应的起始时间确定为睡眠曲线开启时间;根据睡眠曲线开启时间,控制空调根据温度调节曲线运行。例如:第一当前用户睡眠状态信息中,用户类别是小孩,入睡状态对应的起始时间为晚上8:00,则可以8:00为睡眠曲线开启时间,从而9:00一直持续到早上7:00为睡眠执行时间,在每隔1个小时设置对应执行点的温度,而每个执行点温度值已根据睡眠曲线进行了设定。It can be seen that when the air conditioner operates according to the temperature adjustment curve, it is necessary to determine the opening time of the sleep curve. Therefore, in some embodiments, controlling the operation of the air conditioner according to the first current user sleep state information includes: in the first current user sleep state information When the current sleep state information of the device includes the sleep state information, the start time corresponding to the sleep state is determined as the sleep curve opening time; according to the sleep curve opening time, the air conditioner is controlled to operate according to the temperature adjustment curve. For example, in the first current user sleep state information, the user category is a child, and the start time corresponding to the sleep state is 8:00 pm, then 8:00 can be the start time of the sleep curve, so that 9:00 lasts until 7 am: 00 is the sleep execution time, the temperature of the corresponding execution point is set every 1 hour, and the temperature value of each execution point has been set according to the sleep curve.
当然,在一些实施例中,第一用户对应的第一当前用户睡眠状态信息为睡醒状态信息,也可根据第一用户的身体特征信息,控制空调的运行,例如:设定的目标温度与第一用户的身体特征信息匹配。Of course, in some embodiments, the sleep state information of the first current user corresponding to the first user is the sleep-wake state information, and the operation of the air conditioner can also be controlled according to the physical characteristic information of the first user, for example, the set target temperature and The physical feature information of the first user is matched.
在当前用户睡眠状态信息中每个当前睡眠状态信息都包括睡醒状态信息的情况下,云端控制设备100可向非接触式睡眠设备300发送休眠指令,控制非接触式睡眠设备300休眠。这样,节省了资源。当然,在一些实施例中,为提高非接触式睡眠设备300休眠的准确率,可在当前用户睡眠状态信息中每个当前睡眠状态信息都包括睡醒状态信息的情况下,若延时设定时间到达时,例如:延时3、5或6分钟,云端控制设备100再向非接触式睡眠设备300发送休眠指令,控制非接触式睡眠设备300休眠。When each current sleep state information in the current user sleep state information includes sleep-wake state information, the cloud control device 100 may send a sleep instruction to the contactless sleep device 300 to control the contactless sleep device 300 to sleep. In this way, resources are saved. Of course, in some embodiments, in order to improve the sleep accuracy of the contactless sleep device 300, if each current sleep state information in the current user sleep state information includes sleep-wake state information, if the delay is set When the time arrives, for example, with a delay of 3, 5 or 6 minutes, the cloud control device 100 sends a sleep instruction to the contactless sleep device 300 to control the contactless sleep device 300 to sleep.
可见,在用于睡眠环境控制的家居系统中,云端控制设备可通过非接触式睡眠设备,获取空调作用范围内用户的用户睡眠状态信息,并可根据用户类别优先级最高的第一用户对应的第一当前用户睡眠状态信息,控制空调的运行,实现了睡眠环境的智慧场景。It can be seen that in the home system used for sleep environment control, the cloud control device can obtain the user sleep status information of the users within the scope of the air conditioner through the non-contact sleep device, and can obtain the user sleep status information corresponding to the first user with the highest priority according to the user category. The first current user sleep state information controls the operation of the air conditioner, and realizes a smart scene of the sleep environment.
图2是本公开实施例提供的用于家居系统中睡眠环境控制方法的流程示意图。如图2所示,用于家居系统中睡眠环境控制的过程包括:FIG. 2 is a schematic flowchart of a method for controlling a sleep environment in a home system provided by an embodiment of the present disclosure. As shown in Figure 2, the process for sleep environment control in the home system includes:
步骤201:获取非接触式睡眠设备监测的空调作用范围内用户的当前用户睡眠状态信息。Step 201: Acquire current user sleep state information of users within the scope of action of the air conditioner monitored by the contactless sleep device.
在家居系统中,非接触式睡眠设备可包括:毫米雷达波模块,该模块可基于毫米波雷达技术,多目标监测用户的心率、呼吸、体动等基本的睡眠特征。In a home system, the non-contact sleep device may include: a millimeter-wave radar module, which can monitor basic sleep characteristics such as the user's heart rate, respiration, and body movement with multiple targets based on the millimeter-wave radar technology.
在一些实施例中,非接触式睡眠设备多目标监测空调作用范围内每个用户的心率、呼吸、体动等基本的睡眠特征后,可根据设定的数据模型,输出每个用户对应的用户睡眠状态信息。从而,可直接从非接触式睡眠设备,获取用户睡眠状态信息,每次获取,即对应当前用户睡眠状态信息。In some embodiments, after multi-target monitoring of basic sleep characteristics such as heart rate, respiration, and physical activity of each user within the scope of the air conditioner, the non-contact sleep device can output the user corresponding to each user according to the set data model. Sleep state information. Therefore, the user sleep state information can be obtained directly from the contactless sleep device, and each time the information is obtained, it corresponds to the current user sleep state information.
在一些实施例中,非接触式睡眠设备多目标监测空调作用范围内每个用户的心率、呼吸、体动等基本的睡眠数据后,将睡眠数据发送给睡眠平台设备,从而,睡眠平台设备可根据非接触式睡眠设备监测到的空调作用范围内用户的睡眠数据生成用户睡眠状态信息,即可根据保存的设定的数据模型,在获取到睡眠数据后,进行机器学习,即可得到对应的用户睡眠状态信息,并输出到消息队列,这样,获取非接触式睡眠设备监测的空调作用范围内用户的当前用户睡眠状态信息包括:从睡眠平台设备的消息队列中,订阅空调作用范围内用户的用户睡眠状态信息,其中,用户睡眠状态信息是睡眠平台设 备根据非接触式睡眠设备监测到的空调作用范围内用户的睡眠数据生成的,包括:用户类别,以及对应的睡眠状态信息;将订阅到的用户睡眠状态信息确定为当前用户睡眠状态信息。In some embodiments, the non-contact sleep device monitors basic sleep data such as heart rate, respiration, physical activity and other basic sleep data of each user within the scope of the air conditioner, and then sends the sleep data to the sleep platform device, so that the sleep platform device can The user sleep status information is generated according to the sleep data of the user within the scope of the air conditioner monitored by the non-contact sleep device, that is, according to the saved set data model, after the sleep data is obtained, perform machine learning to obtain the corresponding sleep data. The user sleep state information is output to the message queue. In this way, obtaining the current user sleep state information of the user within the scope of the air conditioner monitored by the contactless sleep device includes: from the message queue of the sleep platform device, subscribing to the user's information within the scope of the air conditioner. User sleep state information, where the user sleep state information is generated by the sleep platform device according to the sleep data of the user within the scope of the air conditioner monitored by the contactless sleep device, including: user category and corresponding sleep state information; will subscribe to The user sleep state information of is determined as the current user sleep state information.
其中,用户睡眠状态信息包括:用户类别,以及对应的睡眠状态信息。而用户类别可包括:小孩、青年、中年和老年,或者,可包括:体弱人群和体强人群等等。睡眠状态信息可包括:入睡状态信息、睡着状态信息、睡醒状态信息等等,或者,可包括:入睡状态信息、浅睡状态信息、熟睡状态信息、睡醒状态信息等等。The user sleep state information includes: user category and corresponding sleep state information. The user categories may include: children, youth, middle-aged and elderly, or may include: weak people, strong people, and the like. The sleep state information may include: falling asleep state information, falling asleep state information, waking state information, etc., or may include: falling asleep state information, light sleep state information, deep sleep state information, waking state information, and the like.
步骤202:解析当前用户睡眠状态信息,确定用户类别优先级最高的第一用户对应的第一当前用户睡眠状态信息。Step 202: Parse the current user sleep state information, and determine the first current user sleep state information corresponding to the first user with the highest user category priority.
获取到当前用户睡眠状态信息,可解析当前用户睡眠状态信息,得到当前用户类别以及对应的当前睡眠状态信息。并且,可预设用户类别的优先级,这样,在解析当前睡眠状态信息后,可确定用户类别优先级最高的第一用户对应的第一当前用户睡眠状态信息。After the current user sleep state information is obtained, the current user sleep state information can be parsed to obtain the current user category and the corresponding current sleep state information. In addition, the priority of the user category can be preset, so that after parsing the current sleep status information, the first current user sleep status information corresponding to the first user with the highest priority of the user category can be determined.
在一些实施例中,预设的用户类别的优先级包括:小孩的用户类别优先级高于老人的用户类别优先级,老人的用户类别优先级高于中年的用户类别优先级,而中年的用户类别优先级高于青年的用户类别优先级。这样,确定用户类别优先级最高的第一用户对应的第一当前用户睡眠状态信息包括:在解析当前用户睡眠状态信息,得到的当前用户类别包括:小孩,以及青年、中年和老年中的一种或多种的情况下,将小孩确定为用户类别优先级最高的第一用户;在解析当前睡眠状态信息,得到的当前用户类别包括:老年,以及青年和中年中的一种或两种情况下,将老年确定为用户类别优先级最高的第一用户;在解析当前睡眠状态信息,得到的当前用户类别包括:青年、以及中年的情况下,将中年确定为用户类别优先级最高的第一用户。In some embodiments, the preset user category priorities include: the user category priority of children is higher than the user category priority of the elderly, the user category priority of the elderly is higher than that of the middle-aged user category, and the middle-aged user category priority is higher than that of the middle-aged user category. The user category priority for youth is higher than the user category priority for youth. In this way, determining the first current user sleep state information corresponding to the first user with the highest user category priority includes: after parsing the current user sleep state information, the obtained current user categories include: children, and one of youth, middle-aged, and elderly. In one or more cases, the child is determined as the first user with the highest priority of the user category; after parsing the current sleep state information, the obtained current user category includes: the elderly, and one or both of the young and middle-aged In this case, determine the elderly as the first user with the highest priority of the user category; in the case of parsing the current sleep state information, the current user categories obtained include: youth and middle-aged, determine the middle-aged as the user category with the highest priority. the first user.
步骤203:根据第一当前用户睡眠状态信息,控制空调运行。Step 203: Control the operation of the air conditioner according to the first current user sleep state information.
第一用户为孩子时,可根据孩子的第一当前用户睡眠状态信息,控制空调运行。第一用户为老人时,则可根据老人的第一当前用户睡眠状态信息,控制空调运行。When the first user is a child, the operation of the air conditioner can be controlled according to the sleep state information of the child's first current user. When the first user is an old man, the operation of the air conditioner can be controlled according to the sleep state information of the first current user of the old man.
针对用户睡眠状态,空调可根据温度调节曲线,进行运行。在一些实施例中,温度调节曲线可包括:每隔半小时调节,每次调节0.5度,调节时长8个小时。或者,每隔一个小时调节,每次调节的温度值可根据季节预先设定。因此,根据第一当前用户睡眠状态信息,控制空调运行包括:在第一当前用户睡眠状态信息中的当前睡眠状态信息包括入睡状态信息的情况下,将入睡状态对应的起始时间确定为睡眠曲线开启时间;根 据睡眠曲线开启时间,控制空调根据温度调节曲线运行。According to the user's sleep state, the air conditioner can operate according to the temperature adjustment curve. In some embodiments, the temperature adjustment curve may include: adjustment every half hour, 0.5 degrees for each adjustment, and the adjustment duration is 8 hours. Alternatively, it can be adjusted every hour, and the temperature value of each adjustment can be preset according to the season. Therefore, controlling the operation of the air conditioner according to the first current user sleep state information includes: when the current sleep state information in the first current user sleep state information includes the sleep state information, determining the start time corresponding to the sleep state as the sleep curve Turn-on time; according to the turn-on time of the sleep curve, control the air conditioner to operate according to the temperature adjustment curve.
为节省资源,非接触式睡眠设备不用实时开启,检测用户睡眠状态信息,在一些实施例中,在当前用户睡眠状态信息中每个当前睡眠状态信息都包括睡醒状态信息的情况下,若延时设定时间到达时,向非接触式睡眠设备发送休眠指令,控制非接触式睡眠设备休眠。In order to save resources, the contactless sleep device does not need to be turned on in real time to detect user sleep state information. In some embodiments, if each current sleep state information in the current user sleep state information includes sleep and wake state information, When the set time arrives, send a sleep instruction to the contactless sleep device to control the contactless sleep device to sleep.
这样,不仅可以节省资源,还可提高非接触式睡眠设备休眠的准确率。In this way, not only resources can be saved, but also the accuracy of hibernation of the contactless sleep device can be improved.
当然,非接触式睡眠设备还可在接收到遥控启动指令、云端控制平台发送的启动指令的情况,进入工作状态,监测的空调作用范围内用户的当前用户睡眠状态信息。Of course, the non-contact sleep device can also enter the working state after receiving the remote control start command and the start command sent by the cloud control platform, and monitor the current user sleep state information of the user within the scope of the air conditioner.
可见,本公开实施例中,可通过非接触式睡眠设备,获取空调作用范围内用户的用户睡眠状态信息,这样,提高了睡眠监测的应用场景,并且,可根据用户类别优先级最高的第一用户对应的第一当前用户睡眠状态信息,控制空调的运行,实现了睡眠环境的智慧场景,提高了家居智能性,也改善了用户的睡觉质量,提高了人们的健康水平、生产安全和生活质量。It can be seen that, in the embodiment of the present disclosure, the user sleep state information of the users within the scope of the air conditioner can be obtained through the non-contact sleep device, so that the application scenario of sleep monitoring is improved, and the first user category with the highest priority can be used according to the user category. The first current user sleep state information corresponding to the user controls the operation of the air conditioner, realizes the smart scene of the sleeping environment, improves the intelligence of the home, improves the sleep quality of the user, and improves people's health level, production safety and quality of life. .
下面将操作流程集合到具体实施例中,举例说明本发明实施例提供的用于家居系统中睡眠环境控制过程。The operation procedures are collected into specific embodiments below, and the process for controlling the sleep environment in the home system provided by the embodiments of the present invention is described by way of example.
本实施例中,家居系统包括:云端控制设备,以及与云端控制设备分别通讯连接的空调、毫米雷达波模块、睡眠平台设备以及终端。云端控制设备已保存了同一账号体系下空调、毫米雷达波模块以及终端之间的绑定关系。并且,保存了预设的用户类别的优先级,包括:小孩的用户类别优先级高于老人的用户类别优先级,老人的用户类别优先级高于中年的用户类别优先级,而中年的用户类别优先级高于青年的用户类别优先级。In this embodiment, the home system includes: a cloud control device, and an air conditioner, a millimeter radar wave module, a sleep platform device, and a terminal that are respectively connected to the cloud control device for communication. The cloud control device has saved the binding relationship between the air conditioner, the millimeter radar wave module and the terminal under the same account system. In addition, the preset user category priorities are saved, including: the user category priority of children is higher than the user category priority of the elderly, the user category priority of the elderly is higher than that of the middle-aged user category, and the user category priority of the middle-aged User category priority is higher than youth's user category priority.
图3是本公开实施例提供的一种用于家居系统中睡眠环境控制方法的流程示意图。结合图3,用于家居系统中睡眠环境控制的过程包括:3 is a schematic flowchart of a method for controlling a sleep environment in a home system provided by an embodiment of the present disclosure. With reference to Figure 3, the process for sleep environment control in the home system includes:
步骤301:接收终端发送的启动指令,并发送给毫米雷达波模块,控制毫米雷达波模块启动。Step 301: Receive a startup instruction sent by the terminal, and send it to the millimeter radar wave module to control the startup of the millimeter radar wave module.
毫米雷达波模块启动后,可多目标监测空调作用范围内每个用户的心率、呼吸、体动等基本的睡眠数据,并发送给睡眠平台设备,这样,睡眠平台设备根据设定的数据模型,对得到的睡眠数据进行机器学习,得到对应的用户睡眠状态信息,并输出到kafka消息队列中。After the millimeter radar wave module is activated, it can monitor the basic sleep data such as heart rate, breathing, and physical activity of each user within the scope of the air conditioner, and send it to the sleep platform device. Perform machine learning on the obtained sleep data, obtain the corresponding user sleep state information, and output it to the Kafka message queue.
步骤302:从睡眠平台设备的kafka消息队列中,订阅空调作用范围内用户的用户 睡眠状态信息,并将订阅到的用户睡眠状态信息确定为当前用户睡眠状态信息。Step 302: From the Kafka message queue of the sleep platform device, subscribe the user sleep state information of the users within the scope of the air conditioner, and determine the subscribed user sleep state information as the current user sleep state information.
步骤303:解析当前用户睡眠状态信息,并根据预设的用户类别的优先级,确定用户类别优先级最高的第一用户对应的第一当前用户睡眠状态信息。Step 303 : Parse the current user sleep state information, and determine the first current user sleep state information corresponding to the first user with the highest priority of the user category according to the preset priority of the user category.
步骤304:判断第一当前用户睡眠状态信息中的当前睡眠状态信息是否包括入睡状态信息?若是,执行步骤305,否则,执行步骤306。Step 304: Determine whether the current sleep state information in the sleep state information of the first current user includes the sleep state information? If yes, go to step 305; otherwise, go to step 306.
步骤305:将入睡状态对应的起始时间确定为睡眠曲线开启时间,并根据睡眠曲线开启时间,控制空调根据温度调节曲线运行。Step 305: Determine the start time corresponding to the falling asleep state as the sleep curve opening time, and control the air conditioner to operate according to the temperature adjustment curve according to the sleep curve opening time.
步骤306:判断当前用户睡眠状态信息中每个当前睡眠状态信息是否都包括睡醒状态信息?若是,执行步骤307,否则,返回步骤302。Step 306: Determine whether each current sleep state information in the current user sleep state information includes sleep-wake state information? If yes, go to step 307; otherwise, go back to step 302.
步骤307:是否到达延时设定时间?若是,执行步骤308,否则,返回步骤307。Step 307: Has the delay set time been reached? If yes, go to step 308; otherwise, go back to step 307.
步骤308:向毫米雷达波模块发送休眠指令,控制毫米雷达波模块休眠。Step 308: Send a sleep instruction to the millimeter radar wave module to control the millimeter radar wave module to sleep.
可见,本实施例中,毫米雷达波模块基于毫米波雷达技术,多目标监测用户的心率、呼吸、体动等基本的睡眠特征,可提高睡眠监测的应用场景。并且可通过毫米雷达波模块获取空调作用范围内用户的用户睡眠状态信息,这样,可根据用户类别优先级最高的第一用户对应的第一当前用户睡眠状态信息,控制空调的运行,实现了睡眠环境的智慧场景,提高了家居智能性,也改善了用户的睡觉质量,提高了人们的健康水平、生产安全和生活质量。It can be seen that in this embodiment, the millimeter radar wave module is based on the millimeter wave radar technology, multi-target monitoring of basic sleep characteristics such as the user's heart rate, respiration, body movement, etc., can improve the application scenarios of sleep monitoring. In addition, the user sleep state information of the users within the scope of the air conditioner can be obtained through the millimeter radar wave module. In this way, the operation of the air conditioner can be controlled according to the first current user sleep state information corresponding to the first user with the highest priority of the user category, and sleep is realized. The intelligent scene of the environment improves the intelligence of the home, improves the sleep quality of users, and improves people's health level, production safety and quality of life.
根据上述用于家居系统中睡眠环境控制的过程,可构建一种用于家居系统中睡眠环境控制的装置。家居系统包括:云端控制设备,以及一个或多个与云端设备通讯连接的家居环境调节设备。空气清洁装置可位于云端控制设备中。According to the above-mentioned process for sleep environment control in a home system, an apparatus for sleep environment control in a home system can be constructed. The home system includes: a cloud control device, and one or more home environment adjustment devices communicated and connected with the cloud device. The air cleaning device can be located in the cloud control device.
图4是本公开实施例提供的一种用于家居系统中睡眠环境控制装置的结构示意图。如图4所示,用于家居系统中睡眠环境控制装置包括:获取模块410、解析模块420和控制模块430。FIG. 4 is a schematic structural diagram of a sleep environment control device used in a home system provided by an embodiment of the present disclosure. As shown in FIG. 4 , the device for controlling the sleep environment in the home system includes: an acquisition module 410 , an analysis module 420 and a control module 430 .
获取模块410,被配置为获取非接触式睡眠设备监测的空调作用范围内用户的当前用户睡眠状态信息。The obtaining module 410 is configured to obtain the current user sleep state information of the user within the scope of the air conditioner monitored by the contactless sleep device.
解析模块420,被配置为解析当前用户睡眠状态信息,确定用户类别优先级最高的第一用户对应的第一当前用户睡眠状态信息。The parsing module 420 is configured to parse the current user sleep state information, and determine the first current user sleep state information corresponding to the first user with the highest user category priority.
控制模块430,被配置为根据第一当前用户睡眠状态信息,控制空调运行。The control module 430 is configured to control the operation of the air conditioner according to the first current user sleep state information.
在一些实施例中,还包括:绑定模块,被配置为保存同一账号体系下非接触式睡眠设备和空调之间的绑定关系。In some embodiments, it further includes: a binding module configured to save the binding relationship between the contactless sleep device and the air conditioner under the same account system.
在一些实施例中,获取模块410,具体被配置为从睡眠平台设备的消息队列中,订阅空调作用范围内用户的用户睡眠状态信息,其中,用户睡眠状态信息是睡眠平台设备根据非接触式睡眠设备监测到的空调作用范围内用户的睡眠数据生成的,包括:用户类别,以及对应的睡眠状态信息;将订阅到的用户睡眠状态信息确定为当前用户睡眠状态信息。In some embodiments, the obtaining module 410 is specifically configured to subscribe the user sleep state information of the users within the scope of the air conditioner from the message queue of the sleep platform device, wherein the user sleep state information is the sleep platform device according to the contactless sleep state information. The sleep data of the user within the scope of the air conditioner monitored by the device is generated, including: the user category and the corresponding sleep state information; the subscribed user sleep state information is determined as the current user sleep state information.
在一些实施例中,解析模块420,具体被配置为在解析当前用户睡眠状态信息,得到的当前用户类别包括:小孩,以及青年、中年和老年中的一种或多种的情况下,将小孩确定为用户类别优先级最高的第一用户;在解析当前睡眠状态信息,得到的当前用户类别包括:老年,以及青年和中年中的一种或两种情况下,将老年确定为用户类别优先级最高的第一用户;在解析当前睡眠状态信息,得到的当前用户类别包括:青年、以及中年的情况下,将中年确定为用户类别优先级最高的第一用户。In some embodiments, the parsing module 420 is specifically configured to parse the current user sleep state information, and the obtained current user category includes: children, and one or more of young, middle-aged, and elderly The child is determined as the first user with the highest priority of the user category; after parsing the current sleep state information, the current user category obtained includes: the elderly, and one or both of the young and middle-aged, and the elderly is determined as the user category. The first user with the highest priority; if the current user categories obtained by parsing the current sleep state information include youth and middle-aged, the middle-aged is determined as the first user with the highest user category priority.
在一些实施例中,控制模块430,具体被配置为在第一当前用户睡眠状态信息中的当前睡眠状态信息包括入睡状态信息的情况下,将入睡状态对应的起始时间确定为睡眠曲线开启时间;根据睡眠曲线开启时间,控制空调根据温度调节曲线运行。In some embodiments, the control module 430 is specifically configured to determine the start time corresponding to the sleep state as the sleep curve opening time when the current sleep state information in the first current user sleep state information includes the sleep state information ; According to the opening time of the sleep curve, control the air conditioner to operate according to the temperature adjustment curve.
在一些实施例中,还包括:休眠模块,被配置为在当前用户睡眠状态信息中每个当前睡眠状态信息都包括睡醒状态信息的情况下,若延时设定时间到达时,向非接触式睡眠设备发送休眠指令,控制非接触式睡眠设备休眠。In some embodiments, it further includes: a dormancy module, configured to, when each current sleep state information in the current user sleep state information includes sleep-wake state information, when the delay set time arrives, send the The contactless sleep device sends a sleep command to control the contactless sleep device to sleep.
下面具体描述应用于空调中的用于家居系统中睡眠环境控制的装置的家居系统中睡眠环境控制过程。The following specifically describes the sleep environment control process in the home system of the device for sleep environment control in the home system applied to the air conditioner.
本实施例中,家居系统包括:家居系统包括:云端控制设备,以及与云端控制设备分别通讯连接的空调、毫米雷达波模块、睡眠平台设备。In this embodiment, the home system includes: the home system includes a cloud control device, and an air conditioner, a millimeter radar wave module, and a sleep platform device that are respectively connected to the cloud control device for communication.
图5是本公开实施例提供的一种用于家居系统中睡眠环境控制装置的结构示意图。FIG. 5 is a schematic structural diagram of a device for controlling a sleep environment in a home system provided by an embodiment of the present disclosure.
如图5所示,用于家居系统中睡眠环境控制装置包括:获取模块410、解析模块420、控制模块430,绑定模块440和休眠模块450。As shown in FIG. 5 , the device for controlling the sleep environment in the home system includes: an acquisition module 410 , an analysis module 420 , a control module 430 , a binding module 440 and a sleep module 450 .
其中,绑定模块440已保存了同一账号体系下空调与毫米雷达波模块之间的绑定关系。The binding module 440 has saved the binding relationship between the air conditioner and the millimeter radar wave module under the same account system.
毫米雷达波模块在遥控指令的控制,已启动运行,可多目标监测空调作用范围内每个用户的心率、呼吸、体动等基本的睡眠数据,并发送给睡眠平台设备,这样,睡眠平台设备根据设定的数据模型,对得到的睡眠数据进行机器学习,得到对应的用户睡眠状态信息,并输出到kafka消息队列中。从而,获取模块410可从睡眠平台设备的kafka 消息队列中,订阅空调作用范围内用户的用户睡眠状态信息,并将订阅到的用户睡眠状态信息确定为当前用户睡眠状态信息。The millimeter radar wave module has started operation under the control of remote control commands. It can monitor the basic sleep data such as heart rate, respiration, and body movement of each user within the scope of the air conditioner, and send it to the sleep platform device. In this way, the sleep platform device According to the set data model, machine learning is performed on the obtained sleep data to obtain the corresponding user sleep state information, and output to the Kafka message queue. Therefore, the acquisition module 410 can subscribe the user sleep state information of the users within the scope of the air conditioner from the kafka message queue of the sleep platform device, and determine the subscribed user sleep state information as the current user sleep state information.
解析模块420解析当前用户睡眠状态信息,并根据预设的用户类别的优先级,确定用户类别优先级最高的第一用户对应的第一当前用户睡眠状态信息。在确定第一当前用户睡眠状态信息中的当前睡眠状态信息包括入睡状态信息的情况下,控制模块430可将入睡状态对应的时间确定为睡眠曲线开启时间,并根据睡眠曲线开启时间,控制空调根据温度调节曲线运行。The parsing module 420 parses the current user sleep state information, and determines the first current user sleep state information corresponding to the first user with the highest priority of the user type according to the preset priority of the user type. In the case where it is determined that the current sleep state information in the sleep state information of the first current user includes the sleep state information, the control module 430 may determine the time corresponding to the sleep state as the sleep curve opening time, and control the air conditioner according to the sleep curve opening time. The temperature regulation curve runs.
当然,若当前用户睡眠状态信息中每个当前睡眠状态信息都包括睡醒状态信息,到达了延时设定时间,休眠模块450向毫米雷达波模块发送休眠指令,控制毫米雷达波模块休眠。Certainly, if each current sleep state information in the current user sleep state information includes sleep-wake state information, and the delay set time is reached, the sleep module 450 sends a sleep command to the millimeter radar wave module to control the millimeter radar wave module to sleep.
可见,本实施例中,毫米雷达波模块基于毫米波雷达技术,多目标监测用户的心率、呼吸、体动等基本的睡眠特征,可提高睡眠监测的应用场景。并且,用于家居系统中睡眠环境控制的装置可通过毫米雷达波模块获取空调作用范围内用户的用户睡眠状态信息,这样,可根据用户类别优先级最高的第一用户对应的第一当前用户睡眠状态信息,控制空调的运行,实现了睡眠环境的智慧场景,提高了家居智能性,也改善了用户的睡觉质量,提高了人们的健康水平、生产安全和生活质量。It can be seen that in this embodiment, the millimeter radar wave module is based on the millimeter wave radar technology, multi-target monitoring of basic sleep characteristics such as the user's heart rate, respiration, body movement, etc., can improve the application scenarios of sleep monitoring. In addition, the device for controlling the sleep environment in the home system can obtain the user sleep state information of the users within the scope of the air conditioner through the millimeter radar wave module. Status information, control the operation of the air conditioner, realize the intelligent scene of the sleeping environment, improve the intelligence of the home, improve the sleeping quality of users, and improve people's health level, production safety and quality of life.
本公开实施例提供了一种用于家居系统中睡眠环境控制的装置,其结构如图6所示,包括:An embodiment of the present disclosure provides a device for controlling a sleep environment in a home system, the structure of which is shown in FIG. 6 and includes:
处理器(processor)1000和存储器(memory)1001,还可以包括通信接口(Communication Interface)1002和总线1003。其中,处理器1000、通信接口1002、存储器1001可以通过总线1003完成相互间的通信。通信接口1002可以用于信息传输。处理器1000可以调用存储器1001中的逻辑指令,以执行上述实施例的用于家居系统中睡眠环境控制的方法。A processor (processor) 1000 and a memory (memory) 1001 may also include a communication interface (Communication Interface) 1002 and a bus 1003 . The processor 1000 , the communication interface 1002 , and the memory 1001 can communicate with each other through the bus 1003 . Communication interface 1002 may be used for information transfer. The processor 1000 can call the logic instructions in the memory 1001 to execute the method for controlling the sleep environment in the home system of the above-mentioned embodiments.
此外,上述的存储器1001中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, the above-mentioned logic instructions in the memory 1001 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product.
存储器1001作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序,如本公开实施例中的方法对应的程序指令/模块。处理器1000通过运行存储在存储器1001中的程序指令/模块,从而执行功能应用以及数据处理,即实现上述方法实施例中的用于家居系统中睡眠环境控制的方法。As a computer-readable storage medium, the memory 1001 can be used to store software programs and computer-executable programs, such as program instructions/modules corresponding to the methods in the embodiments of the present disclosure. The processor 1000 executes function applications and data processing by running the program instructions/modules stored in the memory 1001, that is, to implement the method for controlling the sleep environment in the home system in the above method embodiments.
存储器1001可包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、 至少一个功能所需的应用程序;存储数据区可存储根据终端空调的使用所创建的数据等。此外,存储器1001可以包括高速随机存取存储器,还可以包括非易失性存储器。The memory 1001 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal air conditioner, and the like. In addition, the memory 1001 may include high-speed random access memory, and may also include non-volatile memory.
本公开实施例提供了一种用于家居系统中睡眠环境控制装置,包括:处理器和存储有程序指令的存储器,处理器被配置为在执行程序指令时,执行用于家居系统中睡眠环境控制方法。An embodiment of the present disclosure provides a device for controlling a sleep environment in a home system, including: a processor and a memory storing program instructions. The processor is configured to execute the control device for a sleep environment in the home system when the program instructions are executed. method.
本公开实施例提供了一种云端控制设备,包括上述用于家居系统中睡眠环境控制装置。An embodiment of the present disclosure provides a cloud control device, including the above-mentioned device for controlling a sleep environment in a home system.
本公开实施例提供了一种计算机可读存储介质,存储有计算机可执行指令,所述计算机可执行指令设置为执行上述用于家居系统中睡眠环境控制方法。An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, where the computer-executable instructions are configured to execute the above-mentioned method for controlling a sleep environment in a home system.
本公开实施例提供了一种计算机程序产品,所述计算机程序产品包括存储在计算机可读存储介质上的计算机程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述用于家居系统中睡眠环境控制方法。An embodiment of the present disclosure provides a computer program product, where the computer program product includes a computer program stored on a computer-readable storage medium, and the computer program includes program instructions that, when executed by a computer, cause all The computer executes the above-mentioned method for controlling the sleep environment in the home system.
上述的计算机可读存储介质可以是暂态计算机可读存储介质,也可以是非暂态计算机可读存储介质。The above-mentioned computer-readable storage medium may be a transient computer-readable storage medium, and may also be a non-transitory computer-readable storage medium.
本公开实施例的技术方案可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括一个或多个指令用以使得一台计算机空调(可以是个人计算机,服务器,或者网络空调等)执行本公开实施例所述方法的全部或部分步骤。而前述的存储介质可以是非暂态存储介质,包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等多种可以存储程序代码的介质,也可以是暂态存储介质。The technical solutions of the embodiments of the present disclosure may be embodied in the form of software products, and the computer software products are stored in a storage medium and include one or more instructions to make a computer air conditioner (which may be a personal computer, a server, or a network air conditioner, etc.) to perform all or part of the steps of the methods described in the embodiments of the present disclosure. The aforementioned storage medium can be a non-transitory storage medium, including: U disk, removable hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk, etc. A medium that can store program codes, and can also be a transient storage medium.
以上描述和附图充分地示出了本公开的实施例,以使本领域的技术人员能够实践它们。其他实施例可以包括结构的、逻辑的、电气的、过程的以及其他的改变。实施例仅代表可能的变化。除非明确要求,否则单独的部件和功能是可选的,并且操作的顺序可以变化。一些实施例的部分和特征可以被包括在或替换其他实施例的部分和特征。本公开实施例的范围包括权利要求书的整个范围,以及权利要求书的所有可获得的等同物。当用于本申请中时,虽然术语“第一”、“第二”等可能会在本申请中使用以描述各元件,但这些元件不应受到这些术语的限制。这些术语仅用于将一个元件与另一个元件区别开。比如,在不改变描述的含义的情况下,第一元件可以叫做第二元件,并且同样第,第二元件可以叫做第一元件,只要所有出现的“第一元件”一致重命名并且所有出现的“第二元件”一致重命名即可。第一元件和第二元件都是元件,但可以不是相同 的元件。而且,本申请中使用的用词仅用于描述实施例并且不用于限制权利要求。如在实施例以及权利要求的描述中使用的,除非上下文清楚地表明,否则单数形式的“一个”(a)、“一个”(an)和“所述”(the)旨在同样包括复数形式。类似地,如在本申请中所使用的术语“和/或”是指包含一个或一个以上相关联的列出的任何以及所有可能的组合。另外,当用于本申请中时,术语“包括”(comprise)及其变型“包括”(comprises)和/或包括(comprising)等指陈述的特征、整体、步骤、操作、元素,和/或组件的存在,但不排除一个或一个以上其它特征、整体、步骤、操作、元素、组件和/或这些的分组的存在或添加。在没有更多限制的情况下,由语句“包括一个…”限定的要素,并不排除在包括所述要素的过程、方法或者空调中还存在另外的相同要素。本文中,每个实施例重点说明的可以是与其他实施例的不同之处,各个实施例之间相同相似部分可以互相参见。对于实施例公开的方法、产品等而言,如果其与实施例公开的方法部分相对应,那么相关之处可以参见方法部分的描述。The foregoing description and drawings sufficiently illustrate the embodiments of the present disclosure to enable those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, process, and other changes. The examples represent only possible variations. Unless expressly required, individual components and functions are optional and the order of operations may vary. Portions and features of some embodiments may be included in or substituted for those of other embodiments. The scope of the disclosed embodiments includes the full scope of the claims, along with all available equivalents of the claims. When used in this application, although the terms "first," "second," etc. may be used in this application to describe various elements, these elements should not be limited by these terms. These terms are only used to distinguish one element from another. For example, without changing the meaning of the description, a first element could be termed a second element, and similarly, a second element could be termed a first element, so long as all occurrences of "the first element" were consistently renamed and all occurrences of "the first element" were named consistently The "second element" can be renamed consistently. The first element and the second element are both elements, but may not be the same element. Also, the terms used in this application are used to describe the embodiments only and not to limit the claims. As used in the description of the embodiments and the claims, the singular forms "a" (a), "an" (an) and "the" (the) are intended to include the plural forms as well, unless the context clearly dictates otherwise. . Similarly, the term "and/or" as used in this application is meant to include any and all possible combinations of one or more of the associated listings. Additionally, when used in this application, the term "comprise" and its variations "comprises" and/or including and/or the like refer to stated features, integers, steps, operations, elements, and/or The presence of a component does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components and/or groupings of these. Without further limitation, an element defined by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, or air conditioner that includes the element. Herein, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method sections disclosed in the embodiments, reference may be made to the descriptions of the method sections for relevant parts.
本领域技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,可以取决于技术方案的特定应用和设计约束条件。所述技术人员可以对每个特定的应用来使用不同方法以实现所描述的功能,但是这种实现不应认为超出本公开实施例的范围。所述技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. Skilled artisans may use different methods for implementing the described functionality for each particular application, but such implementations should not be considered beyond the scope of the disclosed embodiments. The skilled person can clearly understand that, for the convenience and brevity of the description, for the specific working process of the above-described systems, devices and units, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
本文所披露的实施例中,所揭露的方法、产品(包括但不限于装置、空调等),可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,可以仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例。另外,在本公开实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, air conditioners, etc.) can be implemented in other ways. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units may only be a logical function division. In actual implementation, there may be other division methods, for example, multiple units or components may be combined Either it can be integrated into another system, or some features can be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. This embodiment may be implemented by selecting some or all of the units according to actual needs. In addition, each functional unit in the embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
附图中的流程图和框图显示了根据本公开实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,所述模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个连续的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这可以依所涉及的功能而定。在附图中的流程图和框图所对应的描述中,不同的方框所对应的操作或步骤也可以以不同于描述中所披露的顺序发生,有时不同的操作或步骤之间不存在特定的顺序。例如,两个连续的操作或步骤实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这可以依所涉及的功能而定。框图和/或流程图中的每个方框、以及框图和/或流程图中的方框的组合,可以用执行规定的功能或动作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code that contains one or more functions for implementing the specified logical function(s) executable instructions. In some alternative implementations, the functions noted in the blocks may occur out of the order noted in the figures. For example, two blocks in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, operations or steps corresponding to different blocks may also occur in different sequences than those disclosed in the description, and sometimes there is no specific relationship between different operations or steps. order. For example, two consecutive operations or steps may, in fact, be performed substantially concurrently, or they may sometimes be performed in the reverse order, depending upon the functionality involved. Each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations, can be implemented in special purpose hardware-based systems that perform the specified functions or actions, or special purpose hardware implemented in combination with computer instructions.

Claims (10)

  1. 一种用于家居系统中睡眠环境控制的方法,其特征在于,所述家居系统包括:云端控制设备,以及与所述云端设备通讯连接的空调和非接触式睡眠设备,所述方法包括:A method for controlling a sleep environment in a home system, characterized in that the home system includes: a cloud control device, an air conditioner and a contactless sleep device that are communicatively connected to the cloud device, and the method includes:
    获取所述非接触式睡眠设备监测的所述空调作用范围内用户的当前用户睡眠状态信息;Acquire current user sleep state information of users within the scope of the air conditioner monitored by the contactless sleep device;
    解析所述当前用户睡眠状态信息,确定用户类别优先级最高的第一用户对应的第一当前用户睡眠状态信息;Parse the current user sleep state information, and determine the first current user sleep state information corresponding to the first user with the highest user category priority;
    根据所述第一当前用户睡眠状态信息,控制所述空调运行。The operation of the air conditioner is controlled according to the first current user sleep state information.
  2. 根据权利要求1所述的方法,其特征在于,所述获取所述非接触式睡眠设备监测的所述空调作用范围内用户的当前用户睡眠状态信息之前,包括:The method according to claim 1, wherein before acquiring the current user sleep state information of the user within the scope of the air conditioner monitored by the contactless sleep device, the method comprises:
    保存同一账号体系下所述非接触式睡眠设备和所述空调之间的绑定关系。Save the binding relationship between the contactless sleep device and the air conditioner under the same account system.
  3. 根据权利要求1所述的方法,其特征在于,所述获取所述非接触式睡眠设备监测的所述空调作用范围内用户的当前用户睡眠状态信息包括:The method according to claim 1, wherein the acquiring the current user sleep state information of the user within the scope of the air conditioner monitored by the contactless sleep device comprises:
    从睡眠平台设备的消息队列中,订阅所述空调作用范围内用户的用户睡眠状态信息,其中,所述用户睡眠状态信息是所述睡眠平台设备根据所述非接触式睡眠设备监测到的所述空调作用范围内用户的睡眠数据生成的,包括:用户类别,以及对应的睡眠状态信息;From the message queue of the sleep platform device, subscribe the user sleep state information of the users within the scope of the air conditioner, wherein the user sleep state information is the sleep platform device according to the non-contact sleep device monitoring Generated from the sleep data of users within the scope of the air conditioner, including: user category and corresponding sleep state information;
    将订阅到的所述用户睡眠状态信息确定为所述当前用户睡眠状态信息。The subscribed user sleep state information is determined as the current user sleep state information.
  4. 根据权利要求1所述的方法,其特征在于,所述确定用户类别优先级最高的第一用户对应的第一当前用户睡眠状态信息包括:The method according to claim 1, wherein the determining the first current user sleep state information corresponding to the first user with the highest user category priority comprises:
    在解析所述当前用户睡眠状态信息,得到的当前用户类别包括:小孩,以及青年、中年和老年中的一种或多种的情况下,将小孩确定为用户类别优先级最高的第一用户;In the case where the current user category obtained by parsing the sleep state information of the current user includes: child, and one or more of youth, middle-aged and elderly, determine the child as the first user with the highest priority of the user category ;
    在解析所述当前睡眠状态信息,得到的当前用户类别包括:老年,以及青年和中年中的一种或两种情况下,将老年确定为用户类别优先级最高的第一用户;After parsing the current sleep state information, the obtained current user categories include: the elderly, and in one or both cases of youth and middle age, determine the elderly as the first user with the highest user category priority;
    在解析所述当前睡眠状态信息,得到的当前用户类别包括:青年、以及中年的情况下,将中年确定为用户类别优先级最高的第一用户。If the current user categories obtained by parsing the current sleep state information include youth and middle-aged, the middle-aged is determined as the first user with the highest priority of the user category.
  5. 根据权利要求1所述的方法,其特征在于,所述根据所述第一当前用户睡眠状态信息,控制所述空调运行包括:The method according to claim 1, wherein the controlling the operation of the air conditioner according to the first current user sleep state information comprises:
    在所述第一当前用户睡眠状态信息中的当前睡眠状态信息包括入睡状态信息的情况下,将所述入睡状态对应的起始时间确定为睡眠曲线开启时间;In the case that the current sleep state information in the sleep state information of the first current user includes the sleep state information, determining the start time corresponding to the sleep state as the sleep curve opening time;
    根据所述睡眠曲线开启时间,控制所述空调根据温度调节曲线运行。According to the opening time of the sleep curve, the air conditioner is controlled to operate according to the temperature adjustment curve.
  6. 根据权利要求1-5任一项所述的方法,其特征在于,还包括:The method according to any one of claims 1-5, characterized in that, further comprising:
    在所述当前用户睡眠状态信息中每个当前睡眠状态信息都包括睡醒状态信息的情况下,若延时设定时间到达时,向所述非接触式睡眠设备发送休眠指令,控制所述非接触式睡眠设备休眠。In the case where each current sleep state information in the current user sleep state information includes sleep-wake state information, if the delay set time arrives, a sleep instruction is sent to the contactless sleep device to control the non-contact sleep state. Contact sleep device hibernation.
  7. 一种用于家居系统中睡眠环境控制的装置,其特征在于,所述家居系统包括:云端控制设备,以及与所述云端设备通讯连接的空调和非接触式睡眠设备,所述装置包括:A device for controlling a sleeping environment in a home system, characterized in that the home system includes: a cloud control device, an air conditioner and a non-contact sleep device that are communicatively connected to the cloud device, and the device includes:
    获取模块,被配置为获取所述非接触式睡眠设备监测的所述空调作用范围内用户的当前用户睡眠状态信息;an acquisition module, configured to acquire current user sleep state information of users within the scope of the air conditioner monitored by the contactless sleep device;
    解析模块,被配置为解析所述当前用户睡眠状态信息,确定用户类别优先级最高的第一用户对应的第一当前用户睡眠状态信息;a parsing module, configured to parse the current user sleep state information, and determine the first current user sleep state information corresponding to the first user with the highest user category priority;
    控制模块,被配置为根据所述第一当前用户睡眠状态信息,控制所述空调运行。The control module is configured to control the operation of the air conditioner according to the first current user sleep state information.
  8. 一种用于家居系统中睡眠环境控制的装置,该装置包括处理器和存储有程序指令的存储器,其特征在于,所述处理器被配置为在执行所述程序指令时,执行如权利要求1至6任一项所述用于家居系统中睡眠环境控制的方法。A device for controlling a sleep environment in a home system, the device comprising a processor and a memory storing program instructions, wherein the processor is configured to execute the program as claimed in claim 1 when executing the program instructions The method for controlling a sleep environment in a home system according to any one of to 6.
  9. 一种云端控制设备,其特征在于,包括:如权利要求7或8所述用于家居系统中睡眠环境控制的装置。A cloud control device, characterized by comprising: the device for controlling the sleep environment in a home system as claimed in claim 7 or 8.
  10. 一种用于睡眠环境控制的家居系统,其特征在于,包括:云端控制设备,以及与所述云端设备通讯连接的空调和非接触式睡眠设备,其中,A home system for sleep environment control is characterized by comprising: a cloud control device, and an air conditioner and a contactless sleep device that are communicatively connected to the cloud device, wherein,
    所述非接触式睡眠设备,被配置为监测的所述空调作用范围内用户的当前用户睡眠状态信息;The contactless sleep device is configured to monitor current user sleep state information of users within the scope of the air conditioner;
    所述云端控制设备,被配置为获取所述当前用户睡眠状态信息;解析所述当前用户睡眠状态信息,确定用户类别优先级最高的第一用户对应的第一当前用户睡眠状态信息;根据所述第一当前用户睡眠状态信息,生产环境控制指令,并发送给所述空调;The cloud control device is configured to acquire the current user sleep state information; parse the current user sleep state information, and determine the first current user sleep state information corresponding to the first user with the highest user category priority; according to the The first current user sleep state information, production environment control instructions, and sent to the air conditioner;
    所述空调,被配置为根据接收到的所述环境控制指令,进行运行。The air conditioner is configured to operate according to the received environmental control instruction.
PCT/CN2022/077182 2021-04-30 2022-02-22 Method and apparatus for sleep environment control in home system, and device and system WO2022227820A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110486466.7A CN113189885A (en) 2021-04-30 2021-04-30 Method, device, equipment and system for controlling sleep environment in home system
CN202110486466.7 2021-04-30

Publications (1)

Publication Number Publication Date
WO2022227820A1 true WO2022227820A1 (en) 2022-11-03

Family

ID=76983401

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/077182 WO2022227820A1 (en) 2021-04-30 2022-02-22 Method and apparatus for sleep environment control in home system, and device and system

Country Status (2)

Country Link
CN (1) CN113189885A (en)
WO (1) WO2022227820A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113189885A (en) * 2021-04-30 2021-07-30 海尔(深圳)研发有限责任公司 Method, device, equipment and system for controlling sleep environment in home system
CN113819618B (en) * 2021-09-13 2023-03-24 青岛海尔空调器有限总公司 Method and device for controlling air conditioner, air conditioner and storage medium
CN113819620B (en) * 2021-09-13 2023-03-21 青岛海尔空调器有限总公司 Method and device for controlling air conditioner, air conditioner and storage medium
CN113819617B (en) * 2021-09-13 2023-06-23 青岛海尔空调器有限总公司 Method and device for controlling intelligent household appliance to assist sleep and intelligent household appliance

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001091011A (en) * 1999-09-24 2001-04-06 Hitachi Ltd Air conditioner
JP2005201579A (en) * 2004-01-19 2005-07-28 Hitachi Home & Life Solutions Inc Air conditioner
WO2018014258A1 (en) * 2016-07-20 2018-01-25 张志慧 Cloud-based control method for smart air conditioner
CN207039649U (en) * 2017-05-19 2018-02-23 四川鸣医科技有限公司 Health control interactive service system
CN109405224A (en) * 2018-09-10 2019-03-01 珠海格力电器股份有限公司 A kind of control method of air-conditioning, device, storage medium and air-conditioning
CN111981572A (en) * 2020-08-14 2020-11-24 青岛海信日立空调系统有限公司 Intelligent regulation air conditioner
CN113189885A (en) * 2021-04-30 2021-07-30 海尔(深圳)研发有限责任公司 Method, device, equipment and system for controlling sleep environment in home system

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101382331B (en) * 2007-04-28 2010-12-01 珠海格力电器股份有限公司 Method for controlling air conditioner to operate as custom curve
CN101476762A (en) * 2008-12-20 2009-07-08 广东美的电器股份有限公司 Method for control air conditioner to work according to self-defined easy sleeping curve
CN104764152A (en) * 2015-03-27 2015-07-08 武汉海尔电器股份有限公司 Air conditioner sleeping and running control method
CN105487512A (en) * 2015-12-24 2016-04-13 上海斑竹智能科技有限公司 Energy saving control method applied inside room
CN107166654A (en) * 2017-05-27 2017-09-15 珠海格力电器股份有限公司 A kind of control method of air-conditioning, device and air-conditioning
CN109031960A (en) * 2017-06-09 2018-12-18 深圳大森智能科技有限公司 Setting method, intelligent terminal and the computer readable storage medium of priority
CN108613341A (en) * 2018-04-23 2018-10-02 广东美的制冷设备有限公司 Monitoring method, air conditioner and the computer readable storage medium of sleep stage
CN108592347B (en) * 2018-04-23 2020-11-27 广东美的制冷设备有限公司 Air conditioner, control method and device thereof and readable storage medium
CN111308970A (en) * 2020-01-17 2020-06-19 珠海格力电器股份有限公司 Household equipment control method and device, storage medium and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001091011A (en) * 1999-09-24 2001-04-06 Hitachi Ltd Air conditioner
JP2005201579A (en) * 2004-01-19 2005-07-28 Hitachi Home & Life Solutions Inc Air conditioner
WO2018014258A1 (en) * 2016-07-20 2018-01-25 张志慧 Cloud-based control method for smart air conditioner
CN207039649U (en) * 2017-05-19 2018-02-23 四川鸣医科技有限公司 Health control interactive service system
CN109405224A (en) * 2018-09-10 2019-03-01 珠海格力电器股份有限公司 A kind of control method of air-conditioning, device, storage medium and air-conditioning
CN111981572A (en) * 2020-08-14 2020-11-24 青岛海信日立空调系统有限公司 Intelligent regulation air conditioner
CN113189885A (en) * 2021-04-30 2021-07-30 海尔(深圳)研发有限责任公司 Method, device, equipment and system for controlling sleep environment in home system

Also Published As

Publication number Publication date
CN113189885A (en) 2021-07-30

Similar Documents

Publication Publication Date Title
WO2022227820A1 (en) Method and apparatus for sleep environment control in home system, and device and system
CN106157950A (en) Speech control system and awakening method, Rouser and household electrical appliances, coprocessor
CN112856771A (en) Control method and control device for air conditioner and air conditioner
CN109450750A (en) Sound control method, device, mobile terminal and the household appliance of equipment
CN110060678B (en) Virtual role control method based on intelligent device and intelligent device
CN113091273A (en) Method and device for controlling air conditioner and air conditioner
CN105976814A (en) Headset control method and device
CN105407237B (en) Control method, control device and wearable smart machine
CN104182029A (en) Program wakeup time setting method and device and terminal
CN111128155B (en) Awakening method, device, equipment and medium for intelligent equipment
CN112445147A (en) Awakening method, system and device of intelligent equipment, electronic equipment and storage medium
US20200057882A1 (en) Method and system for unlocking electronic cigarette
CN108375909A (en) A kind of parameters analysis method, device, equipment and computer readable storage medium
JP2017515632A (en) Health monitoring system and data collection method thereof
CN111397114A (en) Air conditioner control method and device, storage medium and wearable device
CN111475213A (en) Power consumption reduction method and device for multi-core structure solid state disk and computer equipment
CN113432286A (en) Control method and control device for air conditioner and air conditioner
CN111954868A (en) Multi-voice assistant control method, device, system and computer readable storage medium
CN109992314B (en) Data reporting method, device, terminal and storage medium
CN110925936A (en) Air conditioner control method and device, computer equipment and storage medium
CN110956968A (en) Voice wake-up and voice wake-up function triggering method and device, and terminal equipment
CN111007732A (en) Air conditioner vision wake-up-free identification method and system based on scale change and intelligent home
CN111179924B (en) Method and system for optimizing awakening performance based on mode switching
CN110335599B (en) Voice control method, system, equipment and computer readable storage medium
CN111007943A (en) Awakening method of electronic sound box and electronic sound box

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: 22794300

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22794300

Country of ref document: EP

Kind code of ref document: A1