Disclosure of Invention
The invention aims to provide a sleep mode control method and a sleep mode control system of an intelligent bed, and aims to solve the problem that the sleep quality cannot be improved as the intelligent bed cannot make various sleep modes according to the behavior habits of a human body in the background technology.
In order to achieve the purpose, the invention provides the following technical scheme: the sleep mode control method of the intelligent bed comprises the following steps:
step one, APP software associated with an intelligent bed in mobile equipment is started, and the APP software can acquire an effective and real data source associated with the APP software;
step two, the acquired data source is transmitted to a control box in the intelligent bed through a wireless transmission module;
step three, the control box receives the acquired data source and then detects whether a task mode condition is met in real time, if yes, the corresponding task mode is triggered, a related control instruction is sent to the main MCU, and the main MCU triggers the task mode to enter a to-be-run state;
step four, the intelligent bed can sense whether the user gets into the bed or not in real time, and if so, the intelligent bed control box can activate the task mode through the wireless transmission module so as to realize the adjustment control function of the intelligent bed on the sleep scene mode;
and step five, after the task mode is activated, the main MCU sends the control instruction to each device related to the task mode to complete the execution work in the corresponding mode.
Preferably, the wireless transmission module generally includes a bluetooth module, a WIFI module, and the like.
Preferably, the task mode comprises a relaxation mode, a wake-up mode and the like, and the foot is ascendingly adjusted to forty-five degrees in the relaxation mode and starts low-frequency vibration.
Preferably, when the intelligent bed reaches the set getting-up time, the waking mode is triggered, and at the moment, the intelligent bed automatically rises to the highest angle.
Preferably, the triggered task mode is sent to a preset mobile terminal in an information form for reminding.
A sleep mode control system for a smart bed, the sleep mode control system comprising:
the intelligent bed comprises a presetting unit, a processing unit and a control unit, wherein the presetting unit is used for setting different task modes and conditions of corresponding task modes of the intelligent bed through mobile equipment, and is also used for the number of motion steps and the getting-up time under the corresponding task modes;
the detection unit is used for detecting whether a task mode condition is met or not in real time, if so, triggering the corresponding task mode and sending a related control instruction to the control box;
the instruction transmission unit is used for sending the control instruction to the main MCU through the WIFI module after the control box receives the control instruction;
the instruction execution unit is used for sending the control instruction to each device related to the task mode by the main MCU to complete execution in the corresponding mode;
the power conversion unit is used for converting the voltage of the power adapter and converting the power of input 24-29V into an output3.3V/5.0V/24V power, so that the power supply work of the system power utilization module is facilitated
Preferably, the executing device comprises an up-down lifting mechanism, a vibration massage mechanism and the like, and the executing device can also be controlled to operate through a remote control module.
Preferably, the up-down lifting mechanism and the vibration massage mechanism comprise a sensing module and a motor control module, the sensing module is used for receiving a control instruction, and the motor control module provides power for the operation of the mechanism.
Preferably, the sleep mode control system further comprises a task reminding unit, and the task reminding unit is used for sending the triggered information of the task mode to a preset mobile terminal for reminding.
Compared with the prior art, the invention has the beneficial effects that: the sleep mode control method and the sleep mode control system of the intelligent bed can make various sleep modes according to the behavior habits of a human body, adjust the sleep scene mode through the intelligent bed control box according to actual data, improve the sleep quality, adopt effective and real data sources, combine scenes and angles of medical research sleep, give users deep sleep through an algorithm, and improve the sleep quality;
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments, and furthermore, the terms "first", "second", "third", "upper, lower, left, right", and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. Meanwhile, in the description of the present invention, unless otherwise explicitly specified or limited, the terms "connected" and "connected" should be interpreted broadly, for example, as being fixedly connected, detachably connected, or integrally connected; the connection can be mechanical connection or electrical connection; the embodiments of the present invention can be directly connected or indirectly connected through an intermediary, and all other embodiments obtained by those skilled in the art without any creative efforts belong to the protection scope of the present invention.
The structure of the sleep mode control method and system of the intelligent bed provided by the invention is shown in fig. 1 and fig. 2, and the sleep mode control method comprises the following steps:
step one, APP software associated with an intelligent bed in mobile equipment is started, and the APP software can acquire an effective and real data source associated with the APP software;
step two, the acquired data source is transmitted to a control box in the intelligent bed through a wireless transmission module, and the wireless transmission module generally comprises a Bluetooth module (BLE 2.4G), a WIFI module (WIFI802.11b/G/n) and the like;
step three, the control box receives the acquired data source and then detects whether a task mode condition is met in real time, if yes, the corresponding task mode is triggered, a related control instruction is sent to the main MCU, the main MCU triggers the task mode to enter a to-be-run state, the task mode comprises a relaxation mode, a wake-up mode and the like, feet can rise and be adjusted to forty-five degrees in the relaxation mode, low-frequency vibration is started, when the intelligent bed reaches set getting-up time, the wake-up mode is triggered, and at the moment, the intelligent bed automatically rises to the highest angle;
step four, the intelligent bed can sense whether the user gets into the bed or not in real time, and if so, the intelligent bed control box can activate the task mode through the wireless transmission module so as to realize the adjustment control function of the intelligent bed on the sleep scene mode;
and step five, after the task mode is activated, the main MCU sends a control instruction to each device related to the task mode to complete execution work in the corresponding mode, and the triggered task mode can be sent to a preset mobile terminal in an information form to be reminded.
A sleep mode control system for a smart bed, the sleep mode control system comprising:
the intelligent bed comprises a presetting unit, a processing unit and a control unit, wherein the presetting unit is used for setting different task modes and conditions of corresponding task modes of the intelligent bed through mobile equipment, and is also used for the number of motion steps and the getting-up time under the corresponding task modes;
the detection unit is used for detecting whether a task mode condition is met or not in real time, if so, triggering the corresponding task mode and sending a related control instruction to the control box;
the instruction transmission unit is used for sending the control instruction to the main MCU through the WIFI module after the control box receives the control instruction;
the command execution unit is used for the main MCU to send a control command to each device related to the task mode to complete execution in the corresponding mode, the execution device comprises an up-down lifting mechanism, a vibration massage mechanism and the like, the execution device can also be controlled to operate through a remote controller module, the up-down lifting mechanism and the vibration massage mechanism comprise a sensing module and a motor control module, the sensing module is used for receiving the control command, and the motor control module provides power for the operation of the mechanism;
the power conversion unit is used for converting the voltage of the power adapter and converting the power of input 24-29V into an output3.3V/5.0V/24V power, so that the power supply work of the system power utilization module is facilitated;
the sleep mode control system also comprises a task reminding unit, and the task reminding unit is used for sending the triggered information of the task mode to a preset mobile terminal by the main MCU for reminding.
According to the sleep mode control method and system of the intelligent bed, APP software associated with the intelligent bed in the mobile equipment is started at first, the mobile equipment is preset through the presetting unit, different task modes and conditions of the corresponding task modes of the intelligent bed are set, the movement step number and the getting-up time under the corresponding task mode are set simultaneously, and after the setting is completed, the APP software can acquire effective and real data sources related to the APP software.
The data source after the collection passes through bluetooth module (BLE 2.4G) or WIFI module (WIFI802.11b/G/n) and transmits the control box in the intelligent bed, can pass through detecting element real-time detection after the control box receives the data source of collection, judge whether satisfy the condition of task mode, if, then trigger corresponding task mode, and send relevant control command to main MCU through instruction transmission unit, main MCU triggers the task mode and gets into the state of awaiting operation, wherein the task mode includes relax mode and wake-up mode etc. relax mode, foot can rise to adjust to forty-five degrees under the relax mode, open low frequency vibrations simultaneously, can rise to the highest angle automatically when intelligent bed reaches the set-up time during wake-up mode.
Whether intelligent bed can respond to the user in real time and go to bed, if yes, intelligent bed control box can pass through bluetooth module (BLE 2.4G) or WIFI module (WIFI802.11b/G/n) activation task mode, main MCU sends control command to each equipment that relates to this task mode again after the task mode activation, and accomplish the executive work under the corresponding mode through the instruction execution unit, this executive equipment includes elevating system and vibrations massage mechanism etc. elevating system and vibrations massage mechanism's sensing and power control accomplish through sensing module and motor control module respectively, this executive equipment can also control the operation through remote controller module simultaneously.
After the task mode is executed, the executed task mode can be sent to a preset mobile terminal for reminding in an information mode through a task reminding unit, meanwhile, the sleep mode control method and the sleep mode control system convert the voltage of a power adapter through a power conversion unit during power supply, and convert a power of input 24-29V into an output3.3V/5.0V/24V power supply to supply power to a power utilization module.
Comprehensively speaking, the sleep mode control method and the sleep mode control system of the intelligent bed can make various sleep modes according to the behavior habits of the human body, adjust the sleep scene mode through the intelligent bed control box according to actual data, improve the sleep quality, adopt effective and real data sources, combine scenes and angles of medical research sleep, and improve the sleep quality for users through an algorithm.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.