Intelligent sleep-aiding bed control method, intelligent sleep-aiding bed, equipment and storage medium
By setting up an audio vibration device in the smart sleep aid bed and independently controlling the sleep aid audio and exercise, the problem of poor sleep aid effect in the existing smart sleep aid bed is solved, and more flexible and efficient sleep aid control is achieved, improving the user experience and sleep quality.
Patent Information
- Application Number
- CN202411567706.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-05
- Publication Date
- 2025-02-14
AI Technical Summary
The existing smart sleep aid bed has poor sleep aid effect, mainly due to the strong correlation control of sleep aid audio and sleep aid exercise and the rigid pattern.
By setting up an audio vibration device in the intelligent sleep aid bed, receiving input commands and sleep monitoring information in the controller, using preset rules to generate the current control mode, independently controlling the bed frame and audio vibration device, the vibration playback of sleep aid audio is realized Separation control of sleep aid exercise from bed frame.
It improves the sleep aid effect and user experience of the smart sleep aid bed. By flexibly adjusting the sleep aid audio and exercise modes, it adapts to the sleep state of different users and enhances the quality of sleep.
Smart Images

Figure CN119423521A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of sleep control technology, and in particular to a method for controlling an intelligent sleep-aiding bed, an intelligent sleep-aiding bed, a device and a storage medium. Background Art
[0002] The pace of life in modern society is accelerating, work pressure is increasing, and more and more people are facing sleep disorders. Smart sleep-aid beds are smart devices that can improve sleep quality.
[0003] The smart sleep-aid bed in the prior art usually consists of a bed frame, a mattress arranged on the bed frame, a controller and an input device. The user inputs control instructions for the smart sleep-aid bed through the input device. After receiving the control instructions, the controller plays sleep-aid audio and controls the bed frame to perform sleep-aid movements according to a preset control strategy, so that the user can fall asleep faster.
[0004] However, the control method of this type of smart sleep-aid bed is that the sleep-aid audio and sleep-aid movement are generally strongly correlated, and the mode is fixed, and the sleep-aid effect is not good. Summary of the invention
[0005] The purpose of the present application is to provide a smart sleep-aiding bed control method, a smart sleep-aiding bed, a device and a storage medium to address the problem of poor sleep-aiding effect of the smart sleep-aiding bed in the prior art.
[0006] To achieve the above purpose, the technical solution adopted in the embodiment of the present application is as follows:
[0007] In a first aspect, an embodiment of the present application provides a method for controlling an intelligent sleep-aiding bed, which is applied to a controller in an intelligent sleep-aiding bed, wherein the intelligent sleep-aiding bed comprises: a controller, an input device, a bed frame, a mattress arranged on the bed frame, an audio vibration device, and a sleep monitoring device, wherein the input device, the bed frame, the audio vibration device, and the sleep monitoring device are all connected to the controller in communication, and the audio vibration device is arranged in the mattress; the method comprises:
[0008] receiving an input instruction inputted by the input device, the input instruction comprising: a bed frame control instruction and / or an audio vibration control instruction, wherein the bed frame control instruction is used to control the movement of the bed frame, and the audio vibration control instruction is used to control the audio and / or vibration of the audio vibration device;
[0009] According to the input instruction and the user sleep information acquired by the sleep monitoring device, a current control mode is generated using preset rules, and the bed frame and the audio vibration device are controlled according to the current control mode.
[0010] In a possible implementation, the audio vibration device includes: an audio playback device, a vibration driving device, and a vibration body; the vibration body is distributed in the mattress, the vibration driving device is control-connected to the vibration body, and the audio playback device and the vibration driving device are both communicatively connected to the controller;
[0011] After receiving the input instruction input by the input device, the method further includes:
[0012] If the input instruction includes an audio vibration control instruction, matching and acquiring a target audio file according to the audio vibration control instruction;
[0013] According to the target audio file, sending a play instruction to the audio playback device;
[0014] A vibration control signal is generated according to the target audio file, and the vibration control signal is sent to the vibration driving device to control the vibration body.
[0015] In a possible implementation, generating a vibration control signal according to the target audio file includes:
[0016] Acquire the high and low tone status information of the target audio file;
[0017] According to the high and low tone status information, a sound wave of a preset hertz is implanted to generate the vibration control signal.
[0018] In a possible implementation, the method of generating a current control mode according to the input instruction and the user sleep information acquired by the sleep monitoring device using a preset rule, and controlling the bed frame and the audio vibration device according to the current control mode includes:
[0019] receiving the user's sleep information acquired by the sleep monitoring device at a preset frequency;
[0020] Acquiring the user's current sleep state according to the user's sleep information;
[0021] According to the input instruction and the current sleeping state, a current control mode is generated using a preset rule, and the bed frame and the audio vibration device are controlled according to the current control mode.
[0022] In a possible implementation, the method of generating a current control mode according to the input instruction and the current sleep state using a preset rule, and controlling the bed frame and the audio vibration device according to the current control mode includes:
[0023] Determining whether the current sleep state has changed according to the input instruction and the current sleep state;
[0024] If the current sleep state changes, a preset rule is used to generate a current control mode;
[0025] The bed frame and the audio vibration device are adjusted and controlled according to the current control mode.
[0026] In a possible implementation, the vibration body includes a plurality of vibration units; the vibration units are distributed in different areas of the mattress, and each of the vibration units is controllably connected to the vibration driving device.
[0027] In a possible implementation, the bed frame includes a plurality of lifting devices, each of which is in communication connection with the controller; and the bed frame control instruction is used to control the movement of each of the lifting devices.
[0028] In a second aspect, another embodiment of the present application provides a smart sleep-aiding bed, the smart sleep-aiding bed comprising:
[0029] A controller, an input device, a bed frame, a mattress arranged on the bed frame, an audio vibration device and a sleep monitoring device, wherein the input device, the bed frame, the audio vibration device and the sleep monitoring device are all communicatively connected to the controller, and the audio vibration device is arranged in the mattress; the controller is used to execute the intelligent sleep-aid bed control method described in any one of the first aspects.
[0030] In the third aspect, another embodiment of the present application provides an electronic device, comprising: a processor, a storage medium and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium through the bus, and the processor executes the machine-readable instructions to perform the steps of any method described in the first aspect above.
[0031] In a fourth aspect, another embodiment of the present application provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any method described in the first aspect are executed.
[0032] The beneficial effects of the present application are: by setting an audio vibration device in the mattress, and receiving input instructions including bed frame control instructions and / or audio vibration control instructions input by an input device, and based on the input instructions and the user's sleep information obtained by a sleep monitoring device, a preset rule is adopted to generate a current control mode, and the bed frame and the audio vibration device are controlled according to the current control mode, the vibration playback of the sleep-aiding audio and the sleep-aiding movement of the bed frame can be separated and controlled, the mode is more flexible, and the vibration playback of the sleep-aiding audio and the sleep-aiding movement of the bed frame can be flexibly adjusted according to the user's sleep state, thereby improving the user experience and sleep-aiding effect of the smart sleep-aid bed. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0034] Figure 1 A structural schematic diagram of a smart sleep-aiding bed provided in an embodiment of the present application;
[0035] Figure 2 A schematic diagram of a flow chart of a method for controlling a smart sleep-aiding bed provided in an embodiment of the present application;
[0036] Figure 3 A schematic diagram of a mattress cross-section structure of a smart sleep-aiding bed provided in an embodiment of the present application;
[0037] Figure 4 Another schematic diagram of a flow chart of a smart sleep-aiding bed control method provided in an embodiment of the present application;
[0038] Figure 5 A schematic diagram of a flow chart of generating a vibration control signal in the intelligent sleep-aiding bed control method provided in an embodiment of the present application;
[0039] Figure 6 A schematic diagram of a flow chart of controlling a bed frame and an audio vibration device according to a current control mode in a method for controlling a smart sleep-aiding bed provided in an embodiment of the present application;
[0040] Figure 7 A schematic diagram of another flow chart of controlling a bed frame and an audio vibration device according to a current control mode in the intelligent sleep-aiding bed control method provided in an embodiment of the present application;
[0041] Figure 8 A schematic diagram of another mattress cross-section structure of the smart sleep-aiding bed provided in an embodiment of the present application;
[0042] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0043] To make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of explanation and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn in real proportion. The flowchart used in this application shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can be implemented out of sequence, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art can add one or more other operations to the flowchart under the guidance of the content of the present application, or remove one or more operations from the flowchart.
[0044] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.
[0045] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.
[0046] The smart sleeping-aid bed in the prior art usually consists of a bed frame, a mattress arranged on the bed frame, a controller and an input device. The user turns on the sleeping-aid function of the smart sleeping-aid bed through the input device. After the sleeping-aid function is turned on, the controller plays sleeping-aid audio in a mode selected by the user and controls the bed frame to perform sleeping-aid movements, so that the user can fall asleep faster.
[0047] However, the control method of this type of smart sleep-aid bed usually closely combines sleep-aid audio with sleep-aid movements, and the pattern is rigid, resulting in poor sleep-aid effects for users during use.
[0048] Based on the above problems, the embodiment of the present application proposes a control method for an intelligent sleep-aiding bed, which is applied to a controller in an intelligent sleep-aiding bed, and the intelligent sleep-aiding bed includes: a controller, an input device, a bed frame, a mattress arranged on the bed frame, an audio vibration device, and a sleep monitoring device. By receiving input instructions including bed frame control instructions and / or audio vibration control instructions input by the input device, it is possible to generate a current control mode according to the input instructions and the user's sleep information obtained by the sleep monitoring device, adopt preset rules, and control the bed frame and the audio vibration device according to the current control mode, so that the vibration playback of the sleep-aiding audio and the sleep-aiding movement of the bed frame can be separated and controlled, and the mode is more flexible. The vibration playback of the sleep-aiding audio and the sleep-aiding movement of the bed frame can also be flexibly adjusted according to the user's sleep state, thereby improving the sleep-aiding effect of the intelligent sleep-aiding bed.
[0049] First, the structure of the smart sleep-aiding bed provided in the embodiment of the present application is exemplarily described. Figure 1 A structural diagram of a smart sleep-aiding bed provided in an embodiment of the present application, referring to Figure 1 As shown, the smart sleep-aiding bed provided in the embodiment of the present application includes: a controller, an input device, a bed frame, a mattress arranged on the bed frame, an audio vibration device and a sleep monitoring device.
[0050] Optionally, the input device, the bed frame, the audio vibration device and the sleep monitoring device are all communicatively connected to the controller, and the audio vibration device is disposed inside the mattress.
[0051] For example, continue to refer to Figure 1 As shown, the controller is used to execute the smart sleep-aid bed control method provided in the embodiment of the present application, and can be deployed in a cloud server, or can be set in the smart sleep-aid bed to communicate and interact with the cloud server. The input device can be a device for receiving user input, such as a mobile terminal, including a mobile phone or a remote control. The bed frame can be a bed frame including a lifting device. The audio vibration device can include an audio playback device and a vibration device for audio playback and vibration. The sleep monitoring device is used to monitor the user's sleep information and obtain the user's sleep information. The sleep monitoring device can be a plurality of sensors arranged on the bed frame and the mattress.
[0052] The following is a detailed description of the intelligent sleep-aiding bed control method provided in the embodiment of the present application in combination with multiple embodiments.
[0053] Figure 2 A flow chart of a method for controlling a smart sleep-aiding bed provided in an embodiment of the present application, referring to Figure 2 As shown, the execution subject of the method is the controller in the above-mentioned intelligent sleep-aiding bed, and the method includes:
[0054] S201: Receive an input instruction input by an input device.
[0055] Optionally, when using the smart sleep-aid bed provided in the embodiment of the present application, the user can input input instructions into the smart sleep-aid bed through the input device of the smart sleep-aid bed, so that the controller in the smart sleep-aid bed can receive the input instructions input by the input device, thereby enabling the smart sleep-aid bed to help the user sleep.
[0056] The input instructions include: bed frame control instructions and / or audio vibration control instructions. The bed frame control instructions are used to control the movement of the bed frame, and the audio vibration control instructions are used to control the audio and / or vibration of the audio vibration device.
[0057] Exemplarily, a user can select the bed frame movement mode of the smart sleep-aid bed and the audio vibration mode of the audio vibration device through the input device of the smart sleep-aid bed. After receiving the bed frame movement mode and audio vibration mode selected by the user, the input device can generate bed frame control instructions and audio vibration control instructions, and output the bed frame control instructions and audio vibration control instructions to the controller.
[0058] Exemplarily, a user can select the bed frame movement mode of the smart sleep-aid bed or the audio vibration mode of the audio vibration device through the input device of the smart sleep-aid bed. After receiving the bed frame movement mode or audio vibration mode selected by the user, the input device can generate a bed frame control instruction or an audio vibration control instruction, and output the bed frame control instruction or the audio vibration control instruction to the controller.
[0059] S202: Generate a current control mode using preset rules according to the input instruction and the user's sleep information acquired by the sleep monitoring device, and control the bed frame and the audio vibration device according to the current control mode.
[0060] It can be understood that after the user inputs the input command into the smart sleep-aid bed through the input device of the smart sleep-aid bed, the user can sleep on the smart sleep-aid bed, and the sleep monitoring device of the smart sleep-aid bed can obtain the user's sleep information on the smart sleep-aid bed according to a preset monitoring frequency, and send the user's sleep information to the controller in the smart sleep-aid bed, so that the smart sleep-aid bed can help the user sleep according to the input command and the user's sleep information obtained by the sleep monitoring device.
[0061] Optionally, after receiving the input instruction, the controller in the smart sleep-aid bed can receive the user's sleep information obtained by the sleep monitoring device, and generate the current control mode based on the input instruction and the user's sleep information obtained by the sleep monitoring device using preset rules, and control the bed frame and audio vibration device according to the current control mode.
[0062] Among them, the user's sleep information may include: the time of falling asleep, total sleep time, number of awakenings, wake-up time, light sleep time, deep sleep time, rapid eye movement (REM) sleep time, heart rate changes, breathing rhythm, sleep efficiency, number of early awakenings, number of sleep interruptions, temperature, humidity and noise level of the sleeping environment and other parameters.
[0063] Among them, the preset rules can be mapping rule information pre-stored in the controller or cloud server for indicating the mapping relationship between input instructions, user sleep information and the current control mode, and the preset rules can also be processing rule information pre-stored in the controller or cloud server for processing input instructions and user sleep information to generate the current control mode.
[0064] The current control mode is used to indicate control information of the bed frame and the audio vibration device, and specifically, may include the control method used to control the bed frame and / or the audio vibration device and the control duration.
[0065] Exemplarily, after receiving the input instruction, the controller in the smart sleep-aid bed can receive the user's sleep information obtained by the sleep monitoring device, and match it according to the input instruction and the user's sleep information obtained by the sleep monitoring device using preset rules to determine the current control mode, and control the bed frame and audio vibration device according to the current control mode.
[0066] Exemplarily, after receiving the input instruction, the controller in the smart sleep-aid bed can receive the user sleep information obtained by the sleep monitoring device, and process the input instruction and the user sleep information obtained by the sleep monitoring device using preset rules to determine the current control mode, and control the bed frame and audio vibration device according to the current control mode.
[0067] In this embodiment, an audio vibration device is arranged in the mattress, and input instructions including bed frame control instructions and / or audio vibration control instructions are received from an input device, and according to the input instructions and the user's sleep information obtained by the sleep monitoring device, preset rules are adopted to generate a current control mode, and the bed frame and the audio vibration device are controlled according to the current control mode. The vibration playback of the sleep-aiding audio and the sleep-aiding movement of the bed frame can be separated and controlled. The mode is more flexible, and the vibration playback of the sleep-aiding audio and the sleep-aiding movement of the bed frame can be flexibly adjusted according to the user's sleep state, thereby improving the user experience and sleep-aiding effect of the smart sleep-aid bed.
[0068] In a possible implementation, the audio vibration device includes: an audio playback device, a vibration driving device, and a vibration body.
[0069] Optionally, the vibration body is distributed in the mattress, the vibration driving device is control-connected to the vibration body, and the audio playing device and the vibration driving device are both communicatively connected to the controller.
[0070] Optionally, the audio player device may be a speaker, and the vibration drive device may be a drive device for driving the vibration body. Optionally, the audio player device and the vibration drive device may also be connected to the controller via electrical signals.
[0071] For example, Figure 3 A schematic diagram of a mattress cross-section structure of a smart sleep-aiding bed provided in an embodiment of the present application, referring to Figure 3 As shown, the number of audio playback devices is not unique. The audio playback devices can be set inside the mattress or evenly set around the mattress. The vibration drive device can be set inside the mattress to ensure the sleep-aiding effect of the smart sleep-aiding bed provided in the embodiment of the present application.
[0072] By arranging an audio playback device, a vibration driving device and a vibration body in the audio vibration device, the vibration and playback of the sleep-aiding audio can be separately controlled through the audio playback device and the vibration driving device, thereby improving the flexibility in controlling the smart sleep-aiding bed and the sleep-aiding effect of the smart sleep-aiding bed.
[0073] Figure 4 Another flowchart of the intelligent sleep-aid bed control method provided in an embodiment of the present application.
[0074] In one possible implementation, referring to Figure 4 As shown, after the above S201 receives the input instruction input by the input device, the intelligent sleeping aid bed control method provided by the embodiment of the present application further includes:
[0075] S401: If the input instruction includes an audio vibration control instruction, obtain a target audio file according to the audio vibration control instruction.
[0076] Optionally, the controller of the smart sleep-aid bed can receive bed frame control instructions and audio vibration control instructions input by the input device, and determine, if the input instructions include audio vibration control instructions, to obtain the target audio file from the match according to the audio vibration control instructions.
[0077] The target audio file may be pre-stored in the controller or the cloud server or the audio vibration device. The target audio file may include sleep-aiding music, such as songs, light music, white noise, etc.
[0078] S402: Send a play instruction to an audio playback device according to the target audio file.
[0079] Optionally, after the controller of the smart sleep-aiding bed obtains the target audio file, it can process the target audio file, generate a music signal for playing in the target audio file, and send a play instruction to the audio playback device, so that the audio playback device plays the target audio file after receiving the play instruction. The play instruction may include a music signal.
[0080] Exemplarily, after receiving the play instruction, the audio playback device may play the music signal at a volume and a play rate associated with the current control mode.
[0081] S403: Generate a vibration control signal according to the target audio file, and send the vibration control signal to the vibration driving device to control the vibration body.
[0082] Optionally, after the controller of the smart sleep-aiding bed obtains the target audio file, it can also process the target audio file to generate a vibration control signal, and send the vibration control signal to the vibration driving device to control the vibration body to vibrate. The vibration control signal is a signal in the target audio file for vibration.
[0083] Illustratively, after receiving the vibration control signal, the vibration driving device can control the multiple vibration bodies to vibrate separately or simultaneously according to corresponding vibration intensities under the instruction of the vibration control signal.
[0084] The target audio file is obtained by matching the audio vibration control instructions, and a play instruction is sent to the audio playback device according to the target audio file, and a vibration control signal is generated according to the target audio file, and the vibration control signal is sent to the vibration driving device to control the vibration body. The music signal in the target audio file used to control the audio playback device and the vibration driving device for controlling the vibration body can be separated, so that the smart sleep-aid bed can perform audio playback to aid sleep and vibration to aid sleep in different control modes, respectively, so that the user can choose audio playback to aid sleep, vibration to aid sleep and bed frame sleep-aid movement according to their own habits and preferences, which helps to improve the sleep-aiding effect of the smart sleep-aid bed and also helps to improve the user's sleep quality, thereby improving the user experience.
[0085] Figure 5 A schematic diagram of a flow chart of generating a vibration control signal in the intelligent sleep-aid bed control method provided in an embodiment of the present application.
[0086] In one possible implementation, referring to Figure 5 As shown, the above S403 generates a vibration control signal according to the target audio file, including:
[0087] S501: Acquire high and low pitch status information of a target audio file.
[0088] Optionally, when processing the target audio file and generating the vibration control signal, the controller of the smart sleep-aiding bed can input the target audio file into an audio analysis tool to obtain high and low frequency status information in the target audio file, wherein the high and low frequency status information is used to indicate the high frequency signal and the low frequency signal in the target audio file.
[0089] S502: implant a preset Hz sound wave according to the high and low frequency status information to generate a vibration control signal.
[0090] Optionally, after obtaining the high and low tone status information, the controller of the smart sleep-aid bed can implant a preset hertz sound wave into the high and low tone status information, thereby generating a vibration control signal.
[0091] Exemplarily, the preset hertz sound wave may be a 40 Hz gamma wave.
[0092] By obtaining the high and low bass status information of the target audio file, and implanting a preset hertz sound wave according to the high and low bass status information, a vibration control signal can be generated. This can improve the rhythm and dynamics of the vibration control signal, so that when the vibration control signal is applied to the vibration body, the user's sense of reality and immersion in the sleep-aiding process is improved, which helps to promote blood circulation, relieve muscle tension and improve sleep quality.
[0093] Figure 6 A schematic flow chart of controlling a bed frame and an audio vibration device according to a current control mode in a smart sleep-aid bed control method provided in an embodiment of the present application.
[0094] In one possible implementation, referring to Figure 6 As shown, the above S202 generates the current control mode according to the input instruction and the user sleep information obtained by the sleep monitoring device using the preset rules, and controls the bed frame and the audio vibration device according to the current control mode, including:
[0095] S601: Receive user sleep information acquired by a sleep monitoring device at a preset frequency.
[0096] Optionally, the controller of the smart sleep-aiding bed can receive the user's sleep information acquired by the sleep monitoring device at a preset frequency. The user's sleep information may include the user's sleep time, total sleep time, number of awakenings, awakening time, light sleep time, deep sleep time, rapid eye movement (REM) sleep time, heart rate changes, breathing rhythm, sleep efficiency, number of early awakenings, number of sleep interruptions, temperature, humidity and noise level of the sleeping environment.
[0097] S602: Obtain the current sleep state of the user according to the sleep information of the user.
[0098] Optionally, the controller of the smart sleep-aiding bed can process the user's sleep information according to a preset sleep information processing strategy to generate the user's current sleep state. The user's current sleep state can be the user's sleep state at the current time. The current sleep state can be a falling asleep state, a light sleep state, a deep sleep state, or a continued deep sleep state.
[0099] S603: Generate a current control mode according to the input instruction and the current sleep state using preset rules, and control the bed frame and the audio vibration device according to the current control mode.
[0100] Optionally, after obtaining the current sleep state, the controller of the smart sleep-aid bed can generate a current control mode based on input instructions and the current sleep state using preset rules, and control the bed frame and audio vibration device according to the current control mode, so that the user on the smart sleep-aid bed can fall asleep quickly.
[0101] By receiving the user's sleep information obtained by the sleep monitoring device at a preset frequency and obtaining the user's current sleep state based on the user's sleep information, it is possible to generate the current control mode based on the input instructions and the current sleep state using preset rules, and control the bed frame and audio vibration device according to the current control mode, thereby improving the user experience and sleep-aiding effect of the smart sleep-aid bed.
[0102] Figure 7 Another flowchart diagram of controlling a bed frame and an audio vibration device according to a current control mode in the intelligent sleep-aid bed control method provided in an embodiment of the present application.
[0103] In one possible implementation, referring to Figure 7 As shown, the above S603 generates the current control mode according to the input instruction and the current sleep state using the preset rules, and controls the bed frame and the audio vibration device according to the current control mode, including:
[0104] S701: Determine whether the current sleep state has changed according to an input instruction and the current sleep state.
[0105] Optionally, the controller of the smart sleep-aid bed can judge the current sleep state according to the input instruction and the current sleep state, and determine whether the current sleep state has changed.
[0106] That is to say, after the user inputs input instructions including bed frame control instructions and / or audio vibration control instructions through the input device, the bed frame and the audio vibration device can perform sleep-aiding movements according to the user's input instructions. During the execution of the sleep-aiding movements, the controller of the smart sleep-aiding bed can determine whether the user's current sleep state has changed based on the sleep state corresponding to the input instructions or the current sleep state received at different times.
[0107] S702: If the current sleep state changes, a preset rule is used to generate a current control mode.
[0108] Optionally, if the current sleep state changes, a preset rule may be used for matching to determine the current control mode.
[0109] Optionally, if the current sleep state changes, preset rules may be used to process the input instructions and the user's sleep information to determine the current control mode.
[0110] For example, if the current sleep state changes from the falling asleep state to the light sleep state, a preset rule may be used to match the change from the falling asleep state to the light sleep state, thereby determining that the current control mode is the light sleep control mode.
[0111] S703, adjusting and controlling the bed frame and the audio vibration device according to the current control mode.
[0112] Optionally, after obtaining the current control mode, the controller of the smart sleep-aiding bed can adjust the control of the bed frame and the audio vibration device according to the current control mode.
[0113] Exemplarily, when the current control mode is the light sleep control mode, the lifting angle of the bed frame and the audio playback and vibration of the audio vibration device can be controlled and adjusted. Specifically, the lifting angle of the bed frame can be reduced and the audio playback volume and vibration intensity of the audio vibration device can be reduced.
[0114] By inputting instructions and the current sleep state, it is determined whether the current sleep state has changed. When the current sleep state has changed, the preset rules are used to generate the current control mode, and the control of the bed frame and the audio vibration device are adjusted according to the current control mode. The vibration playback of the sleep-aid audio and the sleep-aid movement of the bed frame can be flexibly adjusted, thereby improving the user experience and sleep-aid effect of the smart sleep-aid bed.
[0115] Figure 8 A schematic diagram of another mattress cross-section structure of the smart sleep-aid bed provided in an embodiment of the present application.
[0116] In one possible implementation, referring to Figure 8 As shown, the vibration body includes a plurality of vibration units.
[0117] Optionally, continue to refer to Figure 8 As shown, the vibration units are distributed in different areas of the mattress, and each vibration unit is controllably connected to a vibration driving device. Exemplarily, the vibration units can be evenly distributed in the mattress.
[0118] By distributing multiple vibration units in different areas of the mattress, precise massage of various parts of the user's body can be achieved during the sleep-aiding process, which helps to relieve pressure on various parts of the body, while promoting blood circulation, relieving muscle tension and pain, thereby improving sleep quality and sleep-aiding effects.
[0119] In a possible implementation, the bed frame includes a plurality of lifting devices.
[0120] Optionally, the bed frame may include a bed back lifting device, a bed foot lifting device and a bed waist lifting device, and each lifting device is communicatively connected to the controller.
[0121] Optionally, the bed frame control instruction is used to control the movement of each lifting device. Specifically, each lifting device is respectively provided with an independent electric telescopic push rod, and each electric telescopic push rod is provided with a counter. When the output movement amount of the counter reaches the counter threshold indicated by the bed frame control instruction, each lifting device stops moving. Optionally, each lifting device can also be electrically connected to the controller.
[0122] By setting up multiple lifting devices in the bed frame, the height and inclination angle of the overall bed surface of the smart sleep-aid bed can be adjusted, which can help users find a suitable sleeping position. It can also be flexibly adjusted according to user needs. For example, it can be lifted to meet the user's needs for activities such as leaning back to read, play games, etc. before going to bed, and it can also be used to wake the user when the user gets up, and assist the user to lie down or sit up. No specific restrictions are made here.
[0123] The present application embodiment also provides an electronic device 900, such as Fig. 9 As shown, Fig. 9 The structural diagram of the electronic device provided in the embodiment of the present application includes: a processor 901, a memory 902, and optionally, a bus 903. The memory 902 stores machine-readable instructions executable by the processor 901. When the electronic device 900 is running, the processor 901 communicates with the memory 902 through the bus 903. When the machine-readable instructions are executed by the processor 901, the steps of the above-mentioned intelligent sleep-aid bed control method are executed.
[0124] The embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned intelligent sleep-aid bed control method are executed.
[0125] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the method embodiment, and will not be repeated in this application. In the several embodiments provided in this application, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0126] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or part of the technical solution that contributes to the prior art or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), disk or optical disk and other media that can store program code.
[0127] The above are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be covered by the protection scope of the present application.
Claims
1. A method for controlling an intelligent sleeping-aiding bed, characterized in that: A controller used in an intelligent sleep-aiding bed, the intelligent sleep-aiding bed comprising: a controller, an input device, a bed frame, a mattress arranged on the bed frame, an audio vibration device and a sleep monitoring device, the input device, the bed frame, the audio vibration device and the sleep monitoring device are all connected to the controller in communication, and the audio vibration device is arranged in the mattress; the method comprises: receiving an input instruction inputted by the input device, the input instruction comprising: a bed frame control instruction and / or an audio vibration control instruction, wherein the bed frame control instruction is used to control the movement of the bed frame, and the audio vibration control instruction is used to control the audio and / or vibration of the audio vibration device; According to the input instruction and the user sleep information acquired by the sleep monitoring device, a current control mode is generated using preset rules, and the bed frame and the audio vibration device are controlled according to the current control mode.
2. The intelligent sleep-aiding bed control method according to claim 1, characterized in that: The audio vibration device comprises: an audio playback device, a vibration driving device, and a vibration body; the vibration body is distributed in the mattress, the vibration driving device is control-connected with the vibration body, and the audio playback device and the vibration driving device are both communicatively connected with the controller; After receiving the input instruction input by the input device, the method further includes: If the input instruction includes an audio vibration control instruction, matching and acquiring a target audio file according to the audio vibration control instruction; According to the target audio file, sending a play instruction to the audio playback device; A vibration control signal is generated according to the target audio file, and the vibration control signal is sent to the vibration driving device to control the vibration body.
3. The intelligent sleep-aiding bed control method according to claim 2, characterized in that: The step of generating a vibration control signal according to the target audio file comprises: Acquire the high and low tone status information of the target audio file; According to the high and low tone status information, a sound wave of a preset hertz is implanted to generate the vibration control signal.
4. The intelligent sleep-aiding bed control method according to claim 1, characterized in that: The method of generating a current control mode according to the input instruction and the user sleep information obtained by the sleep monitoring device using a preset rule, and controlling the bed frame and the audio vibration device according to the current control mode includes: receiving the user's sleep information acquired by the sleep monitoring device at a preset frequency; Acquiring the user's current sleep state according to the user's sleep information; According to the input instruction and the current sleeping state, a current control mode is generated using a preset rule, and the bed frame and the audio vibration device are controlled according to the current control mode.
5. The intelligent sleep-aiding bed control method according to claim 4, characterized in that: The method of generating a current control mode according to the input instruction and the current sleep state by using a preset rule, and controlling the bed frame and the audio vibration device according to the current control mode includes: Determining whether the current sleep state has changed according to the input instruction and the current sleep state; If the current sleep state changes, a preset rule is used to generate a current control mode; The bed frame and the audio vibration device are adjusted and controlled according to the current control mode.
6. The intelligent sleep-aiding bed control method according to claim 2, characterized in that: The vibration body includes a plurality of vibration units; the vibration units are distributed in different areas of the mattress, and each of the vibration units is controllably connected to the vibration driving device.
7. The intelligent sleep-aiding bed control method according to claim 1, characterized in that: The bed frame includes a plurality of lifting devices, each of which is in communication connection with the controller; the bed frame control instruction is used to control the movement of each of the lifting devices.
8. An intelligent sleeping-aiding bed, characterized in that: include: A controller, an input device, a bed frame, a mattress arranged on the bed frame, an audio vibration device and a sleep monitoring device, wherein the input device, the bed frame, the audio vibration device and the sleep monitoring device are all communicatively connected to the controller, and the audio vibration device is arranged in the mattress; the controller is used to execute the intelligent sleep-aid bed control method described in any one of claims 1-7.
9. An electronic device, characterized in that: include: A processor and a memory, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor executes the machine-readable instructions to perform the steps of the intelligent sleep-aid bed control method as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the intelligent sleep-aiding bed control method as claimed in any one of claims 1 to 7 are executed.