A control method for a smart home device and related products
By detecting user trajectories on the electric bed and using laser projection and sensing components or flexible labels, the problem of users having difficulty controlling smart home devices in zero gravity mode is solved, achieving convenient control and intelligent improvement.
Patent Information
- Application Number
- CN202210973403.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-15
- Publication Date
- 2025-07-22
- Estimated Expiration
- 2042-08-15
AI Technical Summary
When the electric bed is in zero gravity mode, the user needs to control the smart home device but the control terminal is not around, which makes the operation inconvenient, resulting in low control efficiency.
The electric bed detects the user's trajectory on the mattress in the divided area and uses laser projection components and induction camera components or flexible electronic tags to identify the user's trajectory to control smart home devices.
Users can easily control smart home equipment without leaving the bed, improving the control efficiency in zero gravity mode and improving the intelligence of electric beds.
Smart Images

Figure CN115291532B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of smart home, and specifically to a control method for smart home devices and related products. Background Art
[0002] The zero-gravity mode of an electric bed adopts the principle of a zero-gravity space capsule seat. The motor raises the head of the mattress of the electric bed by about 15°, and raises the foot of the mattress by about 35°, so that the heart and knees of the user on the mattress are at the same horizontal line, and the body pressure of the user on the mattress is evenly dispersed, thereby effectively reducing the pressure on the internal organs and spine of the user on the mattress.
[0003] In practice, it is found that if the user on the mattress of the electric bed needs to control (such as turn on) a certain smart home device (such as a smart fan) and the control terminal (such as a mobile phone or a remote control) is not around the user, the user on the mattress has to get out of bed to control the smart home device. However, when the electric bed is in the zero-gravity mode, the head of the mattress of the electric bed will be raised by about 15°, and the foot of the mattress will be raised by about 35°, which causes inconvenience for the user to get out of bed and reduces the efficiency of controlling the smart home device when the electric bed is in the zero-gravity mode. Summary of the Invention
[0004] The embodiments of this application disclose a control method for smart home devices and related products, which can at least improve the efficiency of controlling smart home devices when the electric bed is in the zero-gravity mode.
[0005] In the first aspect of the embodiments of this application, a control method for smart home devices is disclosed. The control method is applied to an electric bed, and the mattress of the electric bed is divided into several areas. The method includes:
[0006] When the electric bed is in the zero-gravity mode, it detects a first specified trajectory drawn by a target user in a first area on the mattress and a second specified trajectory drawn by the target user in a second area. The first area is a certain area on the left side of the target user among the several areas, and the second area is another area on the right side of the target user among the several areas;
[0007] Based on the first specified trajectory and the second specified trajectory, the electric bed controls the corresponding smart home device.
[0008] As an alternative embodiment, in the first aspect of the embodiments of the present application, the electric bed is configured with smart glasses. A laser projection component is provided on the left side of the smart glasses, and an induction camera component is provided on the right side of the smart glasses. Moreover, the smart glasses are wirelessly connected to the electric bed. Before the electric bed detects a first specified trajectory drawn by a target user on the mattress in a first area and a second specified trajectory drawn by the target user in a second area when in the zero-gravity mode, the method further includes:
[0009] The electric bed monitors whether the smart glasses are worn by the target user on the mattress; if so, it sends a mode selection interface to the smart glasses, and several different modes including the zero-gravity mode are displayed on the mode selection interface; wherein, when the smart glasses receive the mode selection interface, they control the laser projection component to project the mode selection interface; and, it captures through the induction camera component that the zero-gravity mode displayed on the mode selection interface projected onto a certain surface is selected, and sends a control instruction to the electric bed, and the control instruction is used to instruct to enter the zero-gravity mode;
[0010] The electric bed receives the control instruction and enters the zero-gravity mode in response to the control instruction.
[0011] As another alternative embodiment, in the first aspect of the embodiments of the present application, a flexible electronic tag is laid under each of the several areas. After the electric bed receives the control instruction and enters the zero-gravity mode in response to the control instruction, and before the electric bed detects a first specified trajectory drawn by the target user on the mattress in a first area and a second specified trajectory drawn by the target user in a second area when in the zero-gravity mode, the method further includes:
[0012] The electric bed sends first data to the smart glasses; wherein, when the smart glasses receive the first data, they control the laser projection component to project a first positioning laser beam, and when it captures through the induction camera component that the first positioning laser beam falls into a certain area on the left side of the target user among the several areas and the certain area is designated by the left hand of the target user, it controls the laser projection component to project a first data laser beam containing the first data towards the certain area, so that the first data is written into the flexible electronic tag laid under the certain area;
[0013] Moreover, when the electric bed detects that the first data is stored in the flexible electronic tag laid under the certain area, it takes the certain area as the first area;
[0014] In addition, the electric bed sends second data to the smart glasses; wherein, upon receiving the second data, the smart glasses control the laser projection component to project a second positioning laser beam, and when it is captured by the induction camera component that the second positioning laser beam falls into another area on the right side of the target user among the several areas and the other area is designated by the right hand of the target user, the smart glasses control the laser projection component to project a data laser beam containing the second data towards the other area, so that the second data is written into the flexible electronic tag laid under the other area; wherein, the second data is different from the first data;
[0015] In addition, when the electric bed detects that the second data is stored in the flexible electronic tag laid under the other area, the electric bed takes the other area as the second area.
[0016] A second aspect of the embodiments of the present application discloses an electric bed, the mattress of the electric bed is divided into several areas, and the electric bed includes:
[0017] A first detection unit, configured to detect a first designated trajectory drawn by a target user on a first area and a second designated trajectory drawn by the target user on a second area on the mattress when the electric bed is in the zero-gravity mode; the first area is a certain area on the left side of the target user among the several areas, and the second area is another area on the right side of the target user among the several areas;
[0018] A first control unit, configured to control the corresponding smart home device based on the first designated trajectory and the second designated trajectory.
[0019] As an optional implementation manner, in the second aspect of the embodiments of the present application, the electric bed is configured with smart glasses, a laser projection component is arranged on the left side of the smart glasses, an induction camera component is arranged on the right side of the smart glasses, and the smart glasses are wirelessly connected to the electric bed. The electric bed further includes:
[0020] A monitoring unit, configured to monitor whether the smart glasses are worn by the target user on the mattress before the first detection unit detects the first designated trajectory drawn by the target user on the first area and the second designated trajectory drawn by the target user on the second area on the mattress when the electric bed is in the zero-gravity mode;
[0021] An interaction unit, configured to send a mode selection interface to the smart glasses when the monitoring unit detects that the smart glasses are worn by a target user on the mattress, where the mode selection interface displays several different modes including a zero-gravity mode; wherein, the smart glasses receive the mode selection interface and control the laser projection component to project the mode selection interface; and, capture through the induction camera component that the zero-gravity mode displayed on the mode selection interface projected onto a certain surface is selected, and send a control instruction to the electric bed, where the control instruction is used to instruct to enter the zero-gravity mode;
[0022] The interaction unit is further configured to receive the control instruction;
[0023] A second control unit, configured to control the electric bed to enter the zero-gravity mode in response to the control instruction.
[0024] As another alternative embodiment, in the second aspect of the embodiments of the present application, a flexible electronic tag is laid under each of the several regions, then:
[0025] The interaction unit is further configured to send first data to the smart glasses after the second control unit controls the electric bed to enter the zero-gravity mode in response to the control instruction, and before the first detection unit detects a first specified trajectory drawn by the target user in the first region and a second specified trajectory drawn by the target user in the second region when the electric bed is in the zero-gravity mode; wherein, the smart glasses receive the first data and control the laser projection component to project a first positioning laser beam, and when it is captured through the induction camera component that the first positioning laser beam falls into a certain region on the left side of the target user among the several regions and the certain region is designated by the left hand of the target user, control the laser projection component to project a first data laser beam containing the first data towards the certain region, so that the first data is written into the flexible electronic tag laid under the certain region;
[0026] The electric bed further includes a second detection unit, wherein:
[0027] The second detection unit is configured to use the certain region as the first region when it detects that the first data is stored in the flexible electronic tag laid under the certain region;
[0028] The interaction unit is further configured to send second data to the smart glasses; wherein, the smart glasses receive the second data, control the laser projection component to project a second positioning laser beam, and when it is detected by the induction camera component that the second positioning laser beam falls into another area on the right side of the target user among the several areas and the other area is designated by the right hand of the target user, control the laser projection component to project a data laser beam including the second data towards the other area, so that the second data is written into the flexible electronic tag laid under the other area; wherein, the second data is different from the first data;
[0029] The second detection unit is further configured to use the other area as the second area when it detects that the flexible electronic tag laid under the other area stores the second data.
[0030] A third aspect of the embodiments of the present application discloses an electric bed, the mattress of the electric bed is divided into several areas, and the electric bed includes:
[0031] A memory storing executable program code;
[0032] A processor coupled to the memory;
[0033] The processor calls the executable program code stored in the memory and executes the following steps:
[0034] When the electric bed is in the zero-gravity mode, detecting a first designated trajectory drawn by a target user on the mattress in a first area and a second designated trajectory drawn by the target user in a second area; the first area is a certain area on the left side of the target user among the several areas, and the second area is another area on the right side of the target user among the several areas;
[0035] Controlling corresponding smart home devices based on the first designated trajectory and the second designated trajectory.
[0036] As an optional implementation manner, in the third aspect of the embodiments of the present application, the electric bed is configured with smart glasses, a laser projection component is arranged on the left side of the smart glasses, an induction camera component is arranged on the right side of the smart glasses, and the smart glasses are wirelessly connected to the electric bed. Before the processor detects a first designated trajectory drawn by a target user on the mattress in a first area and a second designated trajectory drawn by the target user in a second area when the electric bed is in the zero-gravity mode, the processor further executes the following steps:
[0037] Monitor whether the smart glasses are worn by the target user on the mattress; if so, send a mode selection interface to the smart glasses, and several different modes including the zero-gravity mode are displayed on the mode selection interface; wherein, the smart glasses receive the mode selection interface and control the laser projection component to project the mode selection interface; and, capture through the induction camera component that the zero-gravity mode displayed on the mode selection interface projected onto a certain surface is selected, and send a control instruction to the electric bed, and the control instruction is used to instruct to enter the zero-gravity mode;
[0038] Receive the control instruction and enter the zero-gravity mode to respond to the control instruction.
[0039] As another optional implementation manner, in the third aspect of the embodiments of the present application, a flexible electronic tag is laid under each of the several regions. After the processor receives the control instruction and enters the zero-gravity mode to respond to the control instruction, and before the processor detects the first specified trajectory drawn by the target user in the first region and the second specified trajectory drawn by the target user in the second region when the electric bed is in the zero-gravity mode, the following steps are further executed:
[0040] Send the first data to the smart glasses; wherein, the smart glasses receive the first data, control the laser projection component to project a first positioning laser beam, and when it is captured through the induction camera component that the first positioning laser beam falls into a certain region on the left side of the target user among the several regions and the certain region is designated by the left hand of the target user, control the laser projection component to project a first data laser beam containing the first data towards the certain region, so that the first data is written into the flexible electronic tag laid under the certain region; wherein, the second data is different from the first data;
[0041] And, when it is detected that the first data is stored in the flexible electronic tag laid under the certain region, use the certain region as the first region;
[0042] And, send the second data to the smart glasses; wherein, the smart glasses receive the second data, control the laser projection component to project a second positioning laser beam, and when it is captured through the induction camera component that the second positioning laser beam falls into another region on the right side of the target user among the several regions and the another region is designated by the right hand of the target user, control the laser projection component to project a data laser beam containing the second data towards the another region, so that the second data is written into the flexible electronic tag laid under the another region;
[0043] And, when it is detected that the second data is stored in the flexible electronic tag laid under the another area, the another area is used as the second area.
[0044] A fourth aspect of an embodiment of the present application discloses a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps in the method for controlling a smart home device disclosed in the first aspect of the embodiment of the present application are implemented.
[0045] Compared with the prior art, the embodiments of the present application have the following beneficial effects:
[0046] In the embodiment of the present application, when the electric bed is in zero gravity mode, it can detect the first designated track drawn by the target user on its mattress in the first area of the several areas divided by the mattress and the second designated track drawn in the second area of the several areas; wherein the first area is a certain area located on the left side of the target user, and the second area is another area located on the right side of the target user; on this basis, the electric bed can control the corresponding smart home devices based on the first designated track and the second designated track. It can be seen that in the implementation of the embodiment of the present application, when the electric bed is in zero gravity mode, the user on the mattress of the electric bed only needs to draw the first designated track in the first area of the mattress and the second designated track in the second area of the mattress to conveniently control the smart home devices, so that even if the electric bed is in zero gravity mode and the control terminal (such as a mobile phone or a remote control) of the smart home device is not around the user on the mattress, the user on the mattress can also conveniently control the smart home devices without leaving the bed, thereby improving the efficiency of controlling the smart home devices when the electric bed is in zero gravity mode.
[0047] In addition, the implementation of the embodiments of the present application expands the functions of the electric bed and improves the intelligence level of the electric bed, which is conducive to the promotion and application of electric beds. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0049] Figures 1 to 3 It is a flowchart of the first to third embodiments of the control method of the smart home device disclosed in the embodiments of the present application;
[0050] Figures 4 to 6 It is a schematic structural diagram of the first to third embodiments of the electric bed disclosed in the embodiments of the present application. Detailed implementation manners
[0051] The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part rather than all of the embodiments of the present application. All other embodiments obtained by those of ordinary skill in the art based on the embodiments in the present application without creative efforts shall fall within the protection scope of the present application.
[0052] It should be noted that the terms "including" and "having" in the embodiments of the present application and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device including a series of steps or units is not necessarily limited to those clearly listed steps or units, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.
[0053] The embodiments of the present application disclose a control method and related products for a smart home device, which can at least improve the efficiency of controlling the smart home device when the electric bed is in the zero-gravity mode. The following will be described in detail with reference to the accompanying drawings.
[0054] Please refer to Figure 1 , Figure 1 which is a schematic flowchart of the first embodiment of the control method for the smart home device disclosed in the embodiments of the present application. Among them, Figure 1 the control method for the smart home device shown is applied to an electric bed, and the mattress of the electric bed can be divided into several regions. Exemplarily, the electric bed may include, but is not limited to, electric beds installed in places such as homes, apartments, hotels, or hospitals, and the smart home device may be a smart electronic device in the place where the electric bed is located. For example, the smart electronic device may include, but is not limited to, a smart fan, a smart air conditioner, a smart TV, a smart door lock, a smart refrigerator, smart kitchenware, smart lamps, smart shoes, smart clothing, a smart wardrobe, a smart full-length mirror, a smart chair, a smart wheelchair, or a smart cleaning robot. As Figure 1 shown, the control method for the smart home device may include the following steps:
[0055] 101. When the electric bed is in the zero-gravity mode, detect a first specified trajectory drawn by a target user on the mattress in a first region and a second specified trajectory drawn by the target user in a second region; wherein, the first region is a certain region on the left side of the target user among the several regions, and the second region is another region on the right side of the target user among the several regions.
[0056] In some embodiments, a flexible pressure sensing point array may be laid below each of the above-mentioned several regions. The flexible pressure sensing point array includes a series of pressure sensing points distributed in an array; correspondingly, when in the zero-gravity mode, the electric bed can use the flexible pressure sensing point array laid below the first region to detect the first specified trajectory drawn by the target user on the mattress in the first region; and can use the flexible pressure sensing point array laid below the second region to detect the second specified trajectory drawn by the target user on the mattress in the second region.
[0057] Specifically, when the electric bed is in the zero-gravity mode and the target user on the mattress of the electric bed draws the first specified trajectory in the first region, the electric bed can detect each pressure sensing point in the flexible pressure sensing point array laid below the first region through which the first specified trajectory passes, and use the known position points of each pressure sensing point in the flexible pressure sensing point array laid below the first region through which the first specified trajectory passes as the trajectory points of the first specified trajectory, and identify the first specified trajectory drawn by the target user in the first region according to the trajectory points of the first specified trajectory. Similarly, when the electric bed is in the zero-gravity mode and the target user on the mattress of the electric bed draws the second specified trajectory in the second region, the electric bed can detect each pressure sensing point in the flexible pressure sensing point array laid below the second region through which the second specified trajectory passes, and use the known position points of each pressure sensing point in the flexible pressure sensing point array laid below the second region through which the second specified trajectory passes as the trajectory points of the second specified trajectory, and identify the second specified trajectory drawn by the target user in the second region according to the trajectory points of the second specified trajectory.
[0058] 102. The electric bed controls the corresponding smart home devices based on the first specified trajectory and the second specified trajectory.
[0059] In some embodiments, the way for the electric bed to control the corresponding smart home devices based on the first specified trajectory and the second specified trajectory may be:
[0060] The electric bed identifies the smart home devices corresponding to the combination of the first specified trajectory and the second specified trajectory (such as any one or several combinations of a smart fan, a smart air conditioner, a smart TV, a smart door lock, smart kitchen utensils or smart lights);
[0061] And, the electric bed identifies the instant state of the corresponding smart home device. If the instant state is identified as the off state, it controls the corresponding smart home device to switch to the on state; or, if the instant state is identified as the on state, it controls the corresponding smart home device to switch to the off state.
[0062] It can be seen that the implementation Figure 1In the method shown, when the electric bed is in the zero-gravity mode, a user on the mattress of the electric bed only needs to draw a first specified trajectory in the first area of the mattress and a second specified trajectory in the second area of the mattress to conveniently control the smart home device. In this way, even when the electric bed is in the zero-gravity mode and the control terminal of the smart home device (such as a mobile phone or a remote control) is not beside the user on the mattress, the user on the mattress can conveniently control the smart home device without getting out of bed, thereby improving the efficiency of controlling the smart home device when the electric bed is in the zero-gravity mode. In addition, implementing Figure 1 the method shown can expand the functions of the electric bed and improve the intelligence level of the electric bed, which is conducive to the popularization and application of the electric bed.
[0063] Please refer to Figure 2 , Figure 2 which is a schematic flowchart of the second embodiment of the control method of the smart home device disclosed in the embodiment of the present application. Among them, Figure 2 the control method of the smart home device shown is applied to an electric bed, and the mattress of the electric bed can be divided into several areas. Further, the electric bed can also be configured with smart glasses. A laser projection component (also called a laser projector) is arranged on the left side of the smart glasses, and an induction camera component (also called an induction camera) is arranged on the right side of the smart glasses, and the smart glasses are wirelessly connected to the electric bed. Figure 2 As shown, the control method of the smart home device can include the following steps:
[0064] 201. The electric bed monitors whether the smart glasses are worn by a target user on the mattress of the electric bed; if so, execute steps 202 to 206; if not, end this process.
[0065] In some embodiments, the electric bed can monitor whether it receives a notification message sent by the smart glasses for describing that the smart glasses are worn by a target user on the mattress of the electric bed. If received, the electric bed monitors that the smart glasses are worn by a target user on the mattress of the electric bed and executes steps 202 to 206; if not received, end this process.
[0066] Among them, the smart glasses can detect whether the smart glasses are worn by a certain target user through a wearing sensor. If so, it can use its induction camera component to detect that the target user is on the mattress of the electric bed; if so, send a notification message to the electric bed for describing that the smart glasses are worn by a target user on the mattress of the electric bed.
[0067] 202. The electric bed sends a mode selection interface to the smart glasses. The mode selection interface displays several different modes including the zero-gravity mode. Among them, the smart glasses receive the mode selection interface and control the laser projection component to project the mode selection interface. And, the zero-gravity mode displayed on the mode selection interface projected onto a certain surface is captured by the induction camera component, and a control instruction is sent to the electric bed. The control instruction is used to instruct to enter the zero-gravity mode.
[0068] Exemplarily, the several different modes displayed on the mode selection interface may include, in addition to the zero-gravity mode, a reading mode, a yoga mode, a movie-watching mode, a snoring intervention mode, etc.
[0069] Exemplarily, a certain surface onto which the mode selection interface is projected may include the outer surface of the palm, the inner surface of the palm, the outer surface of the wrist, or the inner surface of the wrist of the target user wearing the smart glasses.
[0070] For example, after the smart glasses receive the mode selection interface, they can control the laser projection component to project the mode selection interface onto the inner surface of the wrist of the left hand of the target user wearing the smart glasses. And, the smart glasses can capture that the zero-gravity mode displayed on the mode selection interface is selected by a certain finger (such as the index finger) of the right hand of the target user wearing the smart glasses, and send a control instruction for instructing to enter the zero-gravity mode to the electric bed.
[0071] 203. The electric bed receives the control instruction and enters the zero-gravity mode in response to the control instruction.
[0072] Among them, implementing the above steps 201 to 203 can enable the target user on the mattress of the electric bed to conveniently control the electric bed to enter the zero-gravity mode through the smart glasses worn by the user, improving the experience of the target user.
[0073] 204. When the electric bed is in the zero-gravity mode, it detects a first specified trajectory drawn by the target user on the mattress in a first area and a second specified trajectory drawn by the target user in a second area. Among them, the first area is a certain area on the left side of the target user among the above several areas, and the second area is another area on the right side of the target user among the above several areas.
[0074] Among them, the implementation method of step 204 can refer to the implementation method of step 101 in the previous embodiment, which will not be elaborated here.
[0075] 205. The electric bed obtains the time interval between the start time point when the target user on the mattress draws the first specified trajectory in the first area and the start time point when the target user on the mattress draws the second specified trajectory in the second area.
[0076] 206. The electric bed checks whether the time interval is within the preset interval range; if so, step 207 is executed; if not, this process ends.
[0077] It can be understood that the preset interval range is the preset time interval range, and this preset interval range can be set as needed, and the embodiments of the present application do not make specific limitations.
[0078] Among them, implementing the above steps 205 to 206 can improve the accuracy of the electric bed to control the corresponding smart home devices based on the first specified trajectory and the second specified trajectory, thereby reducing the miscontrol of the corresponding smart home devices.
[0079] 207. The electric bed controls the corresponding smart home devices based on the first specified trajectory and the second specified trajectory.
[0080] In some embodiments, the electric bed controls the corresponding smart home devices based on the first specified trajectory and the second specified trajectory, including:
[0081] The electric bed identifies the smart home device corresponding to the combination of the first specified trajectory and the second specified trajectory; wherein, the smart home device is a smart cleaning robot;
[0082] And, the electric bed identifies whether the electric bed records the ground area to be cleaned corresponding to the first specified trajectory (such as the ground area of a certain room among at least two rooms included in the indoor environment where the electric bed is located); if it is recorded, it identifies whether the electric bed records the specified resolution corresponding to the second specified trajectory; if it is recorded, it identifies whether the immediate state of the smart cleaning robot is the powered-on state; if not, it controls the smart cleaning robot to power on, and controls the powered-on smart cleaning robot to move to the above-mentioned ground area to be cleaned and perform a cleaning operation on the above-mentioned ground area to be cleaned; and, controls the front shooting module of the smart cleaning robot to capture the real-time video image of the smart cleaning robot performing the cleaning operation on the above-mentioned ground area to be cleaned according to the specified resolution and transmit it to the electric bed;
[0083] In addition, the electric bed receives the real-time video footage captured by the intelligent cleaning robot at the specified resolution during the cleaning operation of the above-mentioned ground area to be cleaned, and sends it to the intelligent glasses, so that the intelligent glasses can output the real-time video footage to the eyes of the target user wearing the intelligent glasses. As a result, when the electric bed is in the zero-gravity mode, the target user on the mattress of the electric bed can conveniently view the real-time video footage of the intelligent cleaning robot cleaning the above-mentioned ground area to be cleaned without getting out of bed, and can judge whether the cleaning operation of the intelligent cleaning robot on the above-mentioned ground area to be cleaned meets the standard based on the real-time video footage. This can not only improve the intelligence level of the electric bed, but also enhance the experience of the target user.
[0084] In some other embodiments, the electric bed controls the corresponding smart home devices based on the first specified trajectory and the second specified trajectory, including:
[0085] The electric bed identifies the smart home device corresponding to the combination of the first specified trajectory and the second specified trajectory; wherein, the smart home device is a smart full-length mirror;
[0086] In addition, the electric bed sends command information to the smart full-length mirror, and the command information is used to command the smart full-length mirror to capture a full-body photo of the person looking at the mirror in front of the smart full-length mirror through the camera;
[0087] In addition, the electric bed receives the full-body photo of the person looking at the mirror sent by the smart full-length mirror;
[0088] In addition, the electric bed sends the full-body photo of the person looking at the mirror to the intelligent glasses, so that the intelligent glasses can output the full-body photo of the person looking at the mirror to the eyes of the target user wearing the intelligent glasses. As a result, when the electric bed is in the zero-gravity mode, the target user on the mattress of the electric bed can conveniently view the full-body photo of the person looking at the mirror in front of the smart full-length mirror without getting out of bed;
[0089] In addition, the electric bed receives the voice sent by the intelligent glasses picked up and sent by the target user based on the full-body photo of the person looking at the mirror, and the voice is used to provide dressing suggestions to the person looking at the mirror;
[0090] In addition, the electric bed sends the voice to the smart full-length mirror, so that the smart full-length mirror can play the voice to the person looking at the mirror through the speaker.
[0091] Among them, implementing the above embodiments enables the target user on the mattress of the electric bed to conveniently view the full-body photo of the person looking at the mirror in front of the smart full-length mirror without getting out of bed when the electric bed is in the zero-gravity mode, and provide dressing suggestions to the person looking at the mirror based on the full-body photo. This can not only improve the intelligence level of the electric bed, but also enhance the experience of the target user.
[0092] In some other embodiments, the electric bed controls corresponding smart home devices based on a first specified trajectory and a second specified trajectory, including:
[0093] The electric bed identifies a smart home device corresponding to the combination of the first specified trajectory and the second specified trajectory; wherein, the smart home device is a smart shoe. Exemplarily, the smart shoe can be a smart shoe placed under the electric bed waiting for the target user to wear.
[0094] In addition, the electric bed sends a temperature adjustment instruction including the current temperature value configured by the target user for the mattress of the electric bed to the smart shoe. This temperature adjustment instruction is used to instruct the smart shoe to adjust the instant temperature value of the inner skin-friendly layer of the smart shoe to be consistent with the current temperature value. In this way, the target user on the mattress of the electric bed can conveniently control the instant temperature value of the inner skin-friendly layer of the smart shoe to be consistent with the current temperature value without getting out of bed, so as to avoid discomfort caused by inconsistent foot feeling temperatures between the mattress and the smart shoe when the target user gets out of bed and wears the smart shoe later.
[0095] In addition, implementing Figure 2 the method shown can improve the efficiency of controlling smart home devices when the electric bed is in the zero-gravity mode. In addition, implementing Figure 2 the method shown can expand the functions of the electric bed and enhance the intelligence level of the electric bed, which is conducive to the popularization and application of the electric bed.
[0096] Please refer to Figure 3 , Figure 3 which is a schematic flowchart of the third embodiment of the control method for smart home devices disclosed in the embodiments of the present application. Among them, Figure 3 the control method for smart home devices shown is applied to an electric bed. The mattress of the electric bed can be divided into several regions, and a flexible electronic tag is laid under each region. Optionally, when a flexible pressure sensor point array is laid under each of the above-mentioned several regions, the flexible electronic tag can be attached on the flexible pressure sensor point array, and the flexible electronic tag can be located between the flexible pressure sensor point array and the upper surface of the region, and the flexible electronic tag does not affect the flexible pressure sensor point array from detecting the trajectory drawn by the target user in the region. Further, the electric bed can also be configured with smart glasses. A laser projection component is arranged on the left side of the smart glasses, and an induction camera component is arranged on the right side of the smart glasses, and the smart glasses are wirelessly connected to the electric bed. Figure 3 As shown, the control method for smart home devices can include the following steps:
[0097] 301. The electric bed monitors whether the smart glasses are worn by the target user on the mattress of the electric bed; if so, execute steps 302 to 310; if not, end this process.
[0098] 302. The electric bed sends a mode selection interface to the smart glasses. The mode selection interface displays several different modes including the zero-gravity mode. Among them, the smart glasses receive the mode selection interface and control the laser projection component to project the mode selection interface. And, the zero-gravity mode displayed on the mode selection interface projected onto a certain surface is captured through the induction camera component and a control instruction is sent to the electric bed. The control instruction is used to instruct to enter the zero-gravity mode.
[0099] 303. The electric bed receives the control instruction and enters the zero-gravity mode in response to the control instruction.
[0100] Among them, by implementing the above steps 301 to 303, the target user on the mattress of the electric bed can conveniently control the electric bed to enter the zero-gravity mode through the smart glasses worn by the user, improving the experience of the target user.
[0101] 304. The electric bed sends first data to the smart glasses. Among them, the smart glasses receive the first data and control the laser projection component to project a first positioning laser beam. And when the first positioning laser beam is captured by the induction camera component and falls into a certain area on the left side of the target user among the above-mentioned several areas and the certain area is designated by the left hand of the target user, the laser projection component is controlled to project a first data laser beam containing the first data toward the certain area, so that the first data is written into the flexible electronic tag laid under the certain area.
[0102] In the embodiment of the present application, after the smart glasses receive the first data, they can control the laser projection component to project a first positioning laser beam of a first color (such as blue). And the target user wearing the smart glasses on the mattress of the electric bed can adjust the head posture so that the first positioning laser beam falls into a certain area on the left side of the target user among the above-mentioned several areas. And the target user can designate (such as by a certain finger of the left hand) the certain area, so that when the smart glasses capture through the induction camera component that the first positioning laser beam falls into the certain area and the certain area is designated by the left hand of the target user, the laser projection component can be controlled to project a first data laser beam of a second color (such as green) containing the first data toward the certain area, so that the first data is written into the flexible electronic tag laid under the certain area. Among them, the flexible electronic tag laid under the certain area can receive the first data laser beam of the second color (such as green) containing the first data projected by the laser projection component, convert the modulated optical signal in the first data laser beam into an electrical signal, and perform demodulation processing on the electrical signal to obtain the first data.
[0103] 305. When the electric bed detects that the flexible electronic tag laid under a certain area stores the first data, it takes this certain area as the first area.
[0104] Among them, by implementing the above steps 304 to 305, the electric bed can accurately take a certain area on the left side of the target user among the above-mentioned several areas as the first area.
[0105] 306. The electric bed sends the second data to the smart glasses; among them, the smart glasses receive the second data, control the laser projection component to project the second positioning laser beam, and when the second positioning laser beam is captured by the induction camera component and falls into another area on the right side of the target user among the above-mentioned several areas and this another area is designated by the right hand of the target user, control the laser projection component to project the data laser beam containing the second data towards this another area, so that the second data is written into the flexible electronic tag laid under this another area; among them, the second data is different from the first data.
[0106] In the embodiment of the present application, after the smart glasses receive the second data, they can control the laser projection component to project the second positioning laser beam of the first color (such as blue), and the target user wearing the smart glasses on the mattress of the electric bed can adjust the head posture so that the second positioning laser beam falls into another area on the right side of the target user among the above-mentioned several areas, and the target user can use the right hand to designate (such as a certain finger of the right hand) this another area, so that when the smart glasses capture through the induction camera component that the second positioning laser beam falls into this another area and this another area is designated by the right hand of the target user, they can control the laser projection component to project the second data laser beam of the second color (such as green) containing the second data towards this another area, so that the second data is written into the flexible electronic tag laid under this another area. Among them, the flexible electronic tag laid under this another area can receive the second data laser beam of the second color (such as green) containing the second data projected by the laser projection component, convert the modulated optical signal in the second data laser beam into an electrical signal, and demodulate this electrical signal to obtain the second data.
[0107] 307. When the electric bed detects that the flexible electronic tag laid under this another area stores the second data, it takes this another area as the second area.
[0108] Among them, by implementing the above steps 306 to 307, the electric bed can accurately take another area on the right side of the target user among the above-mentioned several areas as the second area.
[0109] 308. When the electric bed is in the zero-gravity mode, it detects the first specified trajectory drawn by the target user on the mattress in the first area and the second specified trajectory drawn by the target user in the second area; wherein, the first area is a certain area on the left side of the target user among the above-mentioned several areas, and the second area is another area on the right side of the target user among the above-mentioned several areas.
[0110] 309. The electric bed obtains the time interval between the starting time point when the target user on the mattress draws the first specified trajectory in the first area and the starting time point when the target user on the mattress draws the second specified trajectory in the second area.
[0111] 310. The electric bed checks whether the time interval is within the preset interval range; if so, execute step 311; if not, end this process.
[0112] 311. The electric bed controls the corresponding smart home devices based on the first specified trajectory and the second specified trajectory.
[0113] In some embodiments, the above-mentioned first data is the room number of a certain room (such as the room number of a certain room among at least two rooms included in the indoor environment where the electric bed is located), and the above-mentioned second data is the specified resolution; correspondingly, the electric bed controls the corresponding smart home devices based on the first specified trajectory and the second specified trajectory, including:
[0114] The electric bed identifies the smart home device corresponding to the combination of the first specified trajectory and the second specified trajectory; wherein, the smart home device is a smart cleaning robot.
[0115] And, the electric bed identifies whether the immediate state of the smart cleaning robot is the power-on state; if not, controls the smart cleaning robot to power on, and controls the powered-on smart cleaning robot to move to the above-mentioned certain room and perform a cleaning operation on the area of the ground to be cleaned in the above-mentioned certain room; and, controls the front shooting module of the smart cleaning robot to capture the real-time video image when the smart cleaning robot performs the cleaning operation on the area of the ground to be cleaned in the above-mentioned certain room according to the specified resolution and transmits it to the electric bed.
[0116] Moreover, the electric bed receives the real-time video footage captured by the intelligent cleaning robot at the specified resolution during the cleaning operation of the to-be-cleaned ground area in a certain room, and sends it to the intelligent glasses, so that the intelligent glasses can output the real-time video footage to the eyes of the target user wearing the intelligent glasses. As a result, when the electric bed is in the zero-gravity mode, the target user on the mattress of the electric bed can conveniently view the real-time video footage of the intelligent cleaning robot cleaning the to-be-cleaned ground in a certain room without getting out of bed, and can judge whether the cleaning operation of the intelligent cleaning robot on the to-be-cleaned ground in a certain room meets the standard based on the real-time video footage. This can not only improve the intelligence level of the electric bed, but also enhance the experience of the target user.
[0117] In some other embodiments, the above first data is a specified distance, and the above second data is a specified resolution; correspondingly, the electric bed controls the corresponding smart home devices based on the first specified trajectory and the second specified trajectory, including:
[0118] The electric bed identifies the smart home device corresponding to the combination of the first specified trajectory and the second specified trajectory; wherein, the smart home device is a smart full-length mirror;
[0119] Moreover, the electric bed sends instruction information including the specified distance and the specified resolution to the smart full-length mirror, and the instruction information is used to instruct the smart full-length mirror to capture a full-body photo of the person looking at the mirror in front of the smart full-length mirror, who is at a distance of the specified distance from the smart full-length mirror and has a resolution of the specified resolution, through the camera;
[0120] Moreover, the electric bed receives the full-body photo of the person looking at the mirror sent by the smart full-length mirror;
[0121] Moreover, the electric bed sends the full-body photo of the person looking at the mirror to the intelligent glasses, so that the intelligent glasses can output the full-body photo of the person looking at the mirror to the eyes of the target user wearing the intelligent glasses. As a result, when the electric bed is in the zero-gravity mode, the target user on the mattress of the electric bed can conveniently view the full-body photo of the person looking at the mirror without getting out of bed;
[0122] Moreover, the electric bed receives the voice sent by the intelligent glasses picked up and sent by the target user based on the full-body photo of the person looking at the mirror, and the voice is used to provide dressing suggestions to the person looking at the mirror;
[0123] Moreover, the electric bed sends the voice to the smart full-length mirror, so that the smart full-length mirror can play the voice to the person looking at the mirror through the speaker.
[0124] Among them, implementing the above-described embodiments enables a target user on the mattress of the electric bed to conveniently view a full-body photo of a person in front of the intelligent full-length mirror without getting out of bed when the electric bed is in the zero-gravity mode, and provide dressing suggestions to the person in front of the mirror based on the full-body photo. This can not only improve the intelligence level of the electric bed but also enhance the experience of the target user.
[0125] In some other embodiments, the above first data is a specified duration, and the above second data is the current temperature value configured by the target user for the mattress of the electric bed; correspondingly, the electric bed controls the corresponding smart home devices based on the first specified trajectory and the second specified trajectory, including:
[0126] The electric bed identifies the smart home device corresponding to the combination of the first specified trajectory and the second specified trajectory; among them, the smart home device is a smart shoe. Exemplarily, the smart shoe can be placed under the electric bed waiting for the target user to wear.
[0127] In addition, the electric bed sends a temperature adjustment instruction including the specified duration and the current temperature value configured by the target user for the mattress of the electric bed to the smart shoe. The temperature adjustment instruction is used to instruct the smart shoe to adjust the immediate temperature value of the inner skin-friendly layer of the smart shoe to be consistent with the current temperature value within the specified duration. In this way, the target user on the mattress of the electric bed can conveniently control the immediate temperature value of the inner skin-friendly layer of the smart shoe to be consistent with the current temperature value without getting out of bed, so as to avoid discomfort caused by inconsistent foot feeling temperatures between the mattress and the smart shoe when the target user gets out of bed and wears the smart shoe later.
[0128] In addition, implementing Figure 3 the method shown can improve the efficiency of controlling smart home devices when the electric bed is in the zero-gravity mode. In addition, implementing Figure 3 the method shown can expand the functions of the electric bed and improve the intelligence level of the electric bed, which is conducive to the popularization and application of the electric bed.
[0129] Please refer to Figure 4 , Figure 4 which is a schematic structural diagram of the first embodiment of the electric bed disclosed in the embodiments of the present application. Among them, Figure 4 the mattress of the electric bed shown can be divided into several regions. Figure 4 As shown, the electric bed may include:
[0130] The first detection unit 401 is configured to detect a first specified trajectory drawn by a target user on the mattress of the electric bed in a first area and a second specified trajectory drawn by the target user in a second area when the electric bed is in the zero-gravity mode; wherein, the first area is one of the several areas located on the left side of the target user, and the second area is another area of the several areas located on the right side of the target user.
[0131] The first control unit 402 is configured to control corresponding smart home devices based on the first specified trajectory and the second specified trajectory.
[0132] In some embodiments, when in the zero-gravity mode, the first detection unit 401 can use the flexible pressure sensing point array laid under the first area to detect the first specified trajectory drawn by the target user on the mattress in the first area; and can use the flexible pressure sensing point array laid under the second area to detect the second specified trajectory drawn by the target user on the mattress in the second area.
[0133] In some embodiments, the manner in which the first control unit 402 controls corresponding smart home devices based on the first specified trajectory and the second specified trajectory may be:
[0134] Identify the smart home devices corresponding to the combination of the first specified trajectory and the second specified trajectory (such as any one or several combinations of a smart fan, a smart air conditioner, a smart TV, a smart door lock, smart kitchenware, or smart lights);
[0135] And, identify the current state of the corresponding smart home device. If the current state is identified as the off state, control the corresponding smart home device to switch to the on state; or, if the current state is identified as the on state, control the corresponding smart home device to switch to the off state.
[0136] It can be seen that implementing Figure 4 the electric bed shown can improve the efficiency of controlling smart home devices when the electric bed is in the zero-gravity mode. In addition, implementing Figure 4 the electric bed shown can expand the functions of the electric bed, enhance the intelligence level of the electric bed, and thus is conducive to the popularization and application of the electric bed.
[0137] Please refer to Figure 5 , Figure 5 which is a schematic structural diagram of a second embodiment of the electric bed disclosed in the embodiments of the present application. Among them, Figure 5 the electric bed shown is obtained by optimizing the electric bed shown in Figure 4 . In Figure 5In the electric bed shown, the electric bed can also be configured with smart glasses. A laser projection component is provided on the left side of the smart glasses, and an induction camera component is provided on the right side of the smart glasses. Moreover, the smart glasses are wirelessly connected to the electric bed. Correspondingly, Figure 5 The electric bed shown may further include:
[0138] A monitoring unit 403, configured to monitor whether the smart glasses are worn by the target user on the mattress before the first detection unit 401 detects a first specified trajectory drawn by the target user in a first area and a second specified trajectory drawn by the target user in a second area when the electric bed is in the zero-gravity mode; Exemplarily, the monitoring unit 403 can monitor whether it receives a notification message sent by the smart glasses for describing that the smart glasses are worn by the target user on the mattress of the electric bed. If received, it is monitored that the smart glasses are worn by the target user on the mattress of the electric bed; wherein, the smart glasses can detect whether they are worn by a certain target user through a wearing sensor. If so, it can use its induction camera component to detect that the target user is on the mattress of the electric bed; if so, send a notification message for describing that the smart glasses are worn by the target user on the mattress of the electric bed to the electric bed;
[0139] An interaction unit 404, configured to send a mode selection interface to the smart glasses when the monitoring unit 403 monitors that the smart glasses are worn by the target user on the mattress. The mode selection interface displays several different modes including the zero-gravity mode; wherein, the smart glasses receive the mode selection interface and control the laser projection component to project the mode selection interface; and, capture through the induction camera component that the zero-gravity mode displayed on the mode selection interface projected onto a certain surface is selected, and send a control instruction to the electric bed. The control instruction is used to instruct to enter the zero-gravity mode;
[0140] The interaction unit 404 is further configured to receive the control instruction;
[0141] A second control unit 405, configured to control the electric bed to enter the zero-gravity mode in response to the control instruction.
[0142] Among them, implementing Figure 5 the electric bed shown can enable the target user on the mattress of the electric bed to conveniently control the electric bed to enter the zero-gravity mode through the smart glasses worn by the target user, improving the experience of the target user.
[0143] In some embodiments, Figure 5 A flexible electronic tag can be laid under each of the above-mentioned several areas into which the mattress of the electric bed shown is divided. Then:
[0144] The interaction unit 404 is further configured to send first data to the smart glasses after the second control unit 405 controls the electric bed to enter the zero-gravity mode in response to the control instruction, and before the first detection unit 401 detects a first specified trajectory drawn by the target user on the mattress in the first area and a second specified trajectory drawn by the target user in the second area when the electric bed is in the zero-gravity mode; wherein, after receiving the first data, the smart glasses control the laser projection component to project a first positioning laser beam, and when the first positioning laser beam is captured by the induction camera component and falls into a certain area on the left side of the target user among the above-mentioned several areas and the certain area is designated by the left hand of the target user, the smart glasses control the laser projection component to project a first data laser beam containing the first data towards the certain area, so that the first data is written into the flexible electronic tag laid under the certain area;
[0145] Correspondingly, Figure 5 The electric bed shown further includes a second detection unit 406, wherein:
[0146] The second detection unit 406 is configured to use the certain area as the first area when it detects that the first data is stored in the flexible electronic tag laid under the certain area;
[0147] The interaction unit 404 is further configured to send second data to the smart glasses; wherein, after receiving the second data, the smart glasses control the laser projection component to project a second positioning laser beam, and when the second positioning laser beam is captured by the induction camera component and falls into another area on the right side of the target user among the above-mentioned several areas and the another area is designated by the right hand of the target user, the smart glasses control the laser projection component to project a data laser beam containing the second data towards the another area, so that the second data is written into the flexible electronic tag laid under the another area; wherein, the second data is different from the first data;
[0148] The second detection unit 406 is further configured to use the another area as the second area when it detects that the second data is stored in the flexible electronic tag laid under the another area.
[0149] Wherein, when implementing Figure 5 the electric bed shown can accurately use a certain area on the left side of the target user among the above-mentioned several areas as the first area; and can accurately use another area on the right side of the target user among the above-mentioned several areas as the second area.
[0150] In some embodiments, Figure 5 the electric bed shown may further include:
[0151] An acquisition unit 407, configured to acquire, after a first detection unit 401 detects a first specified trajectory drawn by a target user in a first area and a second specified trajectory drawn by the target user in a second area on the mattress when the electric bed is in a zero-gravity mode, a time interval between a start time point when the target user on the mattress draws the first specified trajectory in the first area and a start time point when the target user on the mattress draws the second specified trajectory in the second area;
[0152] A verification unit 408, configured to verify whether the time interval is within a preset interval range; if so, trigger a first control unit 402 to execute steps of controlling corresponding smart home devices based on the first specified trajectory and the second specified trajectory.
[0153] Among them, implementing the above embodiments can improve the accuracy of controlling corresponding smart home devices based on the first specified trajectory and the second specified trajectory by the electric bed, thereby reducing the miscontrol of the corresponding smart home devices.
[0154] In some embodiments, the above first data is a room number of a certain room (such as the room number of a certain room among at least two rooms included in the indoor environment where the electric bed is located), and the above second data is a specified resolution; correspondingly, the first control unit 402 controls corresponding smart home devices based on the first specified trajectory and the second specified trajectory, including:
[0155] The first control unit 402 identifies a smart home device corresponding to the combination of the first specified trajectory and the second specified trajectory; wherein, the smart home device is a smart cleaning robot;
[0156] In addition, the first control unit 402 identifies whether the immediate state of the smart cleaning robot is a powered-on state; if not, controls the smart cleaning robot to power on, and controls the powered-on smart cleaning robot to move to the above-mentioned certain room and perform a cleaning operation on the area of the ground to be cleaned in the above-mentioned certain room; and controls the front shooting module of the smart cleaning robot to capture a real-time video image of the smart cleaning robot performing a cleaning operation on the area of the ground to be cleaned in the above-mentioned certain room according to the specified resolution and transmit it to the electric bed;
[0157] In addition, the first control unit 402 receives the real-time video image of the intelligent cleaning robot cleaning the area of the floor to be cleaned in a certain room at the specified resolution sent by the intelligent cleaning robot and sends it to the intelligent glasses, so that the intelligent glasses can output the real-time video image to the eyes of the target user wearing the intelligent glasses. As a result, when the electric bed is in the zero-gravity mode, the target user on the mattress of the electric bed can conveniently view the real-time video image of the intelligent cleaning robot cleaning the floor to be cleaned in a certain room without getting out of bed, and can judge whether the cleaning operation of the intelligent cleaning robot on the floor to be cleaned in a certain room meets the standard according to the real-time video image. This can not only improve the intelligence level of the electric bed, but also enhance the experience of the target user.
[0158] In some other embodiments, the above first data is a specified distance, and the above second data is a specified resolution; correspondingly, the first control unit 402 controls the corresponding smart home devices based on the first specified trajectory and the second specified trajectory, including:
[0159] The first control unit 402 identifies the smart home device corresponding to the combination of the first specified trajectory and the second specified trajectory; wherein, the smart home device is a smart full-length mirror;
[0160] In addition, the first control unit 402 sends instruction information including the specified distance and the specified resolution to the smart full-length mirror, and the instruction information is used to instruct the smart full-length mirror to capture a full-body photo of the person looking at the mirror in front of the smart full-length mirror, which is at the specified distance from the smart full-length mirror and has the specified resolution, through the camera;
[0161] In addition, the first control unit 402 receives the full-body photo of the person looking at the mirror sent by the smart full-length mirror;
[0162] In addition, the first control unit 402 sends the full-body photo of the person looking at the mirror to the intelligent glasses, so that the intelligent glasses can output the full-body photo of the person looking at the mirror to the eyes of the target user wearing the intelligent glasses. As a result, when the electric bed is in the zero-gravity mode, the target user on the mattress of the electric bed can conveniently view the full-body photo of the person looking at the mirror without getting out of bed;
[0163] In addition, the first control unit 402 receives the voice sent by the intelligent glasses picked up and sent by the target user according to the full-body photo of the person looking at the mirror, and the voice is used to provide dressing suggestions to the person looking at the mirror;
[0164] In addition, the first control unit 402 sends the voice to the smart full-length mirror, so that the smart full-length mirror can play the voice to the person looking at the mirror through the speaker.
[0165] Among them, implementing the above-mentioned implementation manner enables the target user on the mattress of the electric bed to conveniently view the full-body photo of the person in front of the intelligent full-length mirror without getting out of bed when the electric bed is in the zero-gravity mode, and provide dressing suggestions to the person in front of the mirror based on the full-body photo. This can not only improve the intelligence level of the electric bed, but also enhance the experience of the target user.
[0166] In some other implementation manners, the above first data is a specified duration, and the above second data is the current temperature value configured by the target user for the mattress of the electric bed; correspondingly, the first control unit 402 controls the corresponding smart home devices based on the first specified trajectory and the second specified trajectory, including:
[0167] The first control unit 402 identifies the smart home devices corresponding to the combination of the first specified trajectory and the second specified trajectory; among them, the smart home device is a smart shoe. Exemplarily, the smart shoe can be placed under the electric bed waiting for the target user to wear.
[0168] And, the first control unit 402 sends a temperature adjustment instruction including the specified duration and the current temperature value configured by the target user for the mattress of the electric bed to the smart shoe. The temperature adjustment instruction is used to instruct the smart shoe to adjust the instant temperature value of the inner skin-friendly layer of the smart shoe to be consistent with the current temperature value within the specified duration. In this way, the target user on the mattress of the electric bed can conveniently control the instant temperature value of the inner skin-friendly layer of the smart shoe to be consistent with the current temperature value without getting out of bed, so as to avoid discomfort caused by inconsistent foot feeling temperatures between the mattress and the smart shoe when the target user gets out of bed and wears the smart shoe later.
[0169] Please refer to Figure 6 , Figure 6 which is a schematic structural diagram of the third embodiment of the electric bed disclosed in the embodiments of the present application. Among them, Figure 6 The mattress of the shown electric bed can be divided into several regions. As Figure 6 shown, the electric bed includes:
[0170] A memory 601 storing executable program code;
[0171] A processor 602 coupled to the memory 601;
[0172] Among them, the processor 602 calls the executable program code stored in the memory 601 and executes the following steps:
[0173] When the electric bed is in the zero - gravity mode, the first specified trajectory drawn by the target user on the mattress in the first area and the second specified trajectory drawn by the target user in the second area are detected; wherein, the first area is a certain area on the left side of the target user among the several areas, and the second area is another area on the right side of the target user among the several areas;
[0174] Based on the first specified trajectory and the second specified trajectory, the corresponding smart home devices are controlled.
[0175] In some embodiments, Figure 6 The shown electric bed is configured with smart glasses. A laser projection component is arranged on the left side of the smart glasses, and an induction camera component is arranged on the right side of the smart glasses. And the smart glasses are wirelessly connected to the electric bed. Before the processor 602 detects the first specified trajectory drawn by the target user on the mattress in the first area and the second specified trajectory drawn by the target user in the second area when the electric bed is in the zero - gravity mode, the following steps are also executed:
[0176] Monitor whether the smart glasses are worn by the target user on the mattress; if so, send a mode selection interface to the smart glasses. The mode selection interface displays several different modes including the zero - gravity mode; wherein, the smart glasses receive the mode selection interface and control the laser projection component to project the mode selection interface; and, through the induction camera component, it is captured that the zero - gravity mode displayed on the mode selection interface projected onto a certain surface is selected, and a control instruction is sent to the electric bed. The control instruction is used to instruct to enter the zero - gravity mode;
[0177] Receive the control instruction and enter the zero - gravity mode to respond to the control instruction.
[0178] In some embodiments, a flexible electronic tag is laid under each of the several areas. After the processor 602 receives the control instruction and enters the zero - gravity mode to respond to the control instruction, and before the processor 602 detects the first specified trajectory drawn by the target user on the mattress in the first area and the second specified trajectory drawn by the target user in the second area when the electric bed is in the zero - gravity mode, the following steps are also executed:
[0179] Send the first data to the smart glasses; wherein, the smart glasses receive the first data and control the laser projection component to project a first positioning laser beam, and when it is captured by the induction camera component that the first positioning laser beam falls into a certain area on the left side of the target user among the several areas and the certain area is designated by the left hand of the target user, control the laser projection component to project a first data laser beam containing the first data towards the certain area, so that the first data is written into the flexible electronic tag laid under the certain area;
[0180] And when it is detected that the first data is stored in the flexible electronic tag laid under the certain area, taking the certain area as the first area;
[0181] And sending the second data to the smart glasses; wherein, the smart glasses receive the second data, control the laser projection component to project a second positioning laser beam, and when it is captured by the induction camera component that the second positioning laser beam falls into another area on the right side of the target user among the several areas and the other area is designated by the right hand of the target user, control the laser projection component to project a data laser beam containing the second data towards the other area, so that the second data is written into the flexible electronic tag laid under the other area; wherein, the second data is different from the first data.
[0182] And when it is detected that the second data is stored in the flexible electronic tag laid under the other area, taking the other area as the second area.
[0183] In some embodiments, after the processor 602 detects the first specified trajectory drawn by the target user on the first area and the second specified trajectory drawn by the target user on the second area when the electric bed is in the zero - gravity mode, the following steps are further executed:
[0184] Obtaining the time interval between the starting time point when the target user on the mattress draws the first specified trajectory on the first area and the starting time point when the target user on the mattress draws the second specified trajectory on the second area;
[0185] Verifying whether the time interval is within a preset interval range; if so, executing the above - mentioned steps of controlling the corresponding smart home devices based on the first specified trajectory and the second specified trajectory.
[0186] In some embodiments, the manner in which the processor 602 controls the corresponding smart home devices based on the first specified trajectory and the second specified trajectory is as follows:
[0187] Identifying the smart home devices corresponding to the combination of the first specified trajectory and the second specified trajectory;
[0188] Identifying the instant state of the corresponding smart home device, if the instant state is identified as the off state, controlling the corresponding smart home device to switch to the on state; or, if the instant state is identified as the on state, controlling the corresponding smart home device to switch to the off state.
[0189] In some other embodiments, the above-mentioned first data is the room number of a certain room (such as the room number of a certain room among at least two rooms included in the indoor environment where the electric bed is located), and the above-mentioned second data is the specified resolution; correspondingly, the processor 602 controls the corresponding smart home device based on the first specified trajectory and the second specified trajectory, including:
[0190] Identifying the smart home device corresponding to the combination of the first specified trajectory and the second specified trajectory; wherein, the smart home device is a smart cleaning robot;
[0191] And, identifying whether the immediate state of the smart cleaning robot is the powered-on state; if not, controlling the smart cleaning robot to power on, and controlling the powered-on smart cleaning robot to move to the above-mentioned certain room and perform a cleaning operation on the area of the ground to be cleaned in the above-mentioned certain room; and, controlling the front shooting module of the smart cleaning robot to capture a real-time video image of the smart cleaning robot performing a cleaning operation on the area of the ground to be cleaned in the above-mentioned certain room according to the specified resolution and transmit it to the electric bed;
[0192] And, receiving the real-time video image of the smart cleaning robot performing a cleaning operation on the area of the ground to be cleaned in the above-mentioned certain room captured according to the specified resolution sent by the smart cleaning robot and sending it to the smart glasses, so that the smart glasses can output the real-time video image to the eyes of the target user wearing the smart glasses, so that when the electric bed is in the zero-gravity mode, the target user on the mattress of the electric bed can conveniently view the real-time video image of the smart cleaning robot performing a cleaning operation on the area of the ground to be cleaned in the above-mentioned certain room without getting out of bed, and judging whether the cleaning operation of the smart cleaning robot on the area of the ground to be cleaned in the above-mentioned certain room meets the standard according to the real-time video image. This can not only improve the intelligence level of the electric bed, but also improve the experience of the target user.
[0193] In some other embodiments, the above-mentioned first data is the specified distance, and the above-mentioned second data is the specified resolution; correspondingly, the processor 602 controls the corresponding smart home device based on the first specified trajectory and the second specified trajectory, including:
[0194] Identifying the smart home device corresponding to the combination of the first specified trajectory and the second specified trajectory; wherein, the smart home device is a smart full-length mirror;
[0195] And, sending instruction information including the specified distance and the specified resolution to the smart full-length mirror, and the instruction information is used to instruct the smart full-length mirror to capture a full-body photo of the person looking at the mirror located in front of the smart full-length mirror, at a distance of the specified distance from the smart full-length mirror and with a resolution of the specified resolution through the camera;
[0196] And receiving a full-body photo of the person looking at the mirror sent by the intelligent full-body mirror;
[0197] And sending the full-body photo of the person looking at the mirror to the intelligent glasses, so that the intelligent glasses can output the full-body photo of the person looking at the mirror to the eyes of the target user wearing the intelligent glasses, so that when the electric bed is in the zero-gravity mode, the target user on the mattress of the electric bed can conveniently view the full-body photo of the person looking at the mirror without getting out of bed;
[0198] And receiving the voice sent by the intelligent glasses picked up and sent by the target user according to the full-body photo of the person looking at the mirror, and the voice is used to provide dressing suggestions to the person looking at the mirror;
[0199] And sending the voice to the intelligent full-body mirror, so that the intelligent full-body mirror can play the voice to the person looking at the mirror through the speaker.
[0200] Among them, implementing the above implementation method enables the target user on the mattress of the electric bed to conveniently view the full-body photo of the person looking at the mirror in front of the intelligent full-body mirror without getting out of bed when the electric bed is in the zero-gravity mode, and provide dressing suggestions to the person looking at the mirror according to the full-body photo. This can not only improve the intelligence level of the electric bed, but also improve the experience of the target user.
[0201] In some other implementation methods, the above first data is a specified duration, and the above second data is the current temperature value configured by the target user for the mattress of the electric bed; correspondingly, the processor 602 controls the corresponding smart home devices based on the first specified trajectory and the second specified trajectory, including:
[0202] Identifying the smart home device corresponding to the combination of the first specified trajectory and the second specified trajectory; among them, the smart home device is a smart shoe. Exemplarily, the smart shoe can be placed under the electric bed waiting for the target user to wear;
[0203] And sending a temperature adjustment instruction including the specified duration and the current temperature value configured by the target user for the mattress of the electric bed to the smart shoe, and the temperature adjustment instruction is used to instruct the smart shoe to adjust the instant temperature value of the inner skin-friendly layer of the smart shoe to be consistent with the current temperature value within the specified duration, so that the target user on the mattress of the electric bed can conveniently control the instant temperature value of the inner skin-friendly layer of the smart shoe to be consistent with the current temperature value without getting out of bed, so as to avoid discomfort caused by inconsistent foot feeling temperatures of the mattress and the smart shoe when the target user gets out of bed and wears the smart shoe later.
[0204] In addition, implementing Figure 6 the shown electric bed can improve the control efficiency of smart home devices when the electric bed is in the zero-gravity mode. In addition, implementing Figure 6The electric bed shown can expand the functions of the electric bed and improve the intelligence level of the electric bed, thereby facilitating the popularization and application of the electric bed.
[0205] An embodiment of the present application further discloses a computer-readable storage medium, on which a computer program is stored. It is characterized in that when the computer program is executed by a processor, the steps in the control method of the smart home device described in the previous embodiments are implemented.
[0206] The above has introduced in detail a control method for a smart home device and related products disclosed in the embodiments of the present application. Specific examples are used in this article to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the application.
Claims
1. A control method for a smart home device, characterized in that, The control method is applied to an electric bed, and the mattress of the electric bed is divided into several regions. The method includes: When the electric bed is in the zero-gravity mode, it detects a first specified trajectory drawn by a target user on the mattress in a first region and a second specified trajectory drawn by the target user in a second region. The first region is a certain region among the several regions located on the left side of the target user, and the second region is another region among the several regions located on the right side of the target user. Based on the first specified trajectory and the second specified trajectory, the electric bed controls the corresponding smart home devices. The electric bed is equipped with smart glasses. A laser projection component is arranged on the left side of the smart glasses, and an induction camera component is arranged on the right side of the smart glasses. And the smart glasses are wirelessly connected to the electric bed. Before the electric bed detects the first specified trajectory drawn by the target user on the mattress in the first region and the second specified trajectory drawn by the target user in the second region when it is in the zero-gravity mode, the method further includes: The electric bed monitors whether the smart glasses are worn by the target user on the mattress. If so, it sends a mode selection interface to the smart glasses. The mode selection interface displays several different modes including the zero-gravity mode. Among them, the smart glasses receive the mode selection interface and control the laser projection component to project the mode selection interface. And, when the zero-gravity mode displayed on the mode selection interface projected onto a certain surface is captured by the induction camera component and selected, it sends a control instruction to the electric bed. The control instruction is used to instruct to enter the zero-gravity mode. The electric bed receives the control instruction and enters the zero-gravity mode to respond to the control instruction. A flexible electronic tag is laid under each of the several regions. After the electric bed receives the control instruction and enters the zero-gravity mode to respond to the control instruction, and before the electric bed detects the first specified trajectory drawn by the target user on the mattress in the first region and the second specified trajectory drawn by the target user in the second region when it is in the zero-gravity mode, the method further includes: The electric bed sends first data to the smart glasses. Among them, the smart glasses receive the first data and control the laser projection component to project a first positioning laser beam. And when the first positioning laser beam is captured by the induction camera component and falls into a certain region among the several regions located on the left side of the target user and the certain region is designated by the left hand of the target user, it controls the laser projection component to project a first data laser beam containing the first data towards the certain region, so that the first data is written into the flexible electronic tag laid under the certain region. And, when the electric bed detects that the first data is stored in the flexible electronic tag laid under the certain region, it takes the certain region as the first region. In addition, the electric bed sends second data to the smart glasses; wherein, upon receiving the second data, the smart glasses control the laser projection component to project a second positioning laser beam, and when it is captured by the induction camera component that the second positioning laser beam falls into another area on the right side of the target user among the several areas and the other area is designated by the right hand of the target user, the smart glasses control the laser projection component to project a data laser beam containing the second data towards the other area, so that the second data is written into the flexible electronic tag laid under the other area; wherein, the second data is different from the first data; In addition, when the electric bed detects that the second data is stored in the flexible electronic tag laid under the other area, the electric bed designates the other area as the second area.
2. The control method according to claim 1, characterized in that After the electric bed in the zero-gravity mode detects the first designated trajectory drawn by the target user on the mattress in the first area and the second designated trajectory drawn by the target user in the second area, the method further includes: The electric bed obtains the time interval between the starting time point when the target user on the mattress draws the first designated trajectory in the first area and the starting time point when the target user on the mattress draws the second designated trajectory in the second area; The electric bed verifies whether the time interval is within a preset interval range; if so, the step of controlling the corresponding smart home device based on the first designated trajectory and the second designated trajectory is executed.
3. The control method according to claim 2, characterized in that, The electric bed controls the corresponding smart home device based on the first designated trajectory and the second designated trajectory, including: The electric bed identifies the smart home device corresponding to the combination of the first designated trajectory and the second designated trajectory; The electric bed identifies the immediate state of the corresponding smart home device. If the immediate state is identified as the off state, the electric bed controls the corresponding smart home device to switch to the on state; or, if the immediate state is identified as the on state, the electric bed controls the corresponding smart home device to switch to the off state.
4. An electric bed, characterized in that, The mattress of the electric bed is divided into several areas, and the electric bed includes: A first detection unit, configured to detect the first designated trajectory drawn by the target user on the mattress in the first area and the second designated trajectory drawn by the target user in the second area when the electric bed is in the zero-gravity mode; the first area is a certain area on the left side of the target user among the several areas, and the second area is another area on the right side of the target user among the several areas; A first control unit, configured to control the corresponding smart home device based on the first designated trajectory and the second designated trajectory; The electric bed is configured with smart glasses. A laser projection component is arranged on the left side of the smart glasses, and an induction camera component is arranged on the right side of the smart glasses. Moreover, the smart glasses are wirelessly connected to the electric bed. The electric bed further includes: A monitoring unit, configured to monitor whether the smart glasses are worn by the target user on the mattress before the first detection unit detects a first specified trajectory drawn by the target user in a first area and a second specified trajectory drawn by the target user in a second area when the electric bed is in the zero-gravity mode; An interaction unit, configured to send a mode selection interface to the smart glasses when the monitoring unit monitors that the smart glasses are worn by the target user on the mattress, where the mode selection interface displays several different modes including the zero-gravity mode; wherein, the smart glasses receive the mode selection interface and control the laser projection component to project the mode selection interface; and, when the zero-gravity mode displayed on the mode selection interface projected onto a certain surface is captured by the induction camera component and selected, send a control instruction to the electric bed, where the control instruction is used to instruct to enter the zero-gravity mode; The interaction unit is further configured to receive the control instruction; A second control unit, configured to control the electric bed to enter the zero-gravity mode in response to the control instruction; A flexible electronic tag is laid under each of the several areas, then: The interaction unit is further configured to send first data to the smart glasses after the second control unit controls the electric bed to enter the zero-gravity mode in response to the control instruction and before the first detection unit detects a first specified trajectory drawn by the target user in a first area and a second specified trajectory drawn by the target user in a second area when the electric bed is in the zero-gravity mode; wherein, the smart glasses receive the first data and control the laser projection component to project a first positioning laser beam, and when the first positioning laser beam is captured by the induction camera component and falls into a certain area located on the left side of the target user among the several areas and the certain area is specified by the left hand of the target user, control the laser projection component to project a first data laser beam containing the first data towards the certain area, so that the first data is written into the flexible electronic tag laid under the certain area; The electric bed further includes a second detection unit, wherein: The second detection unit is configured to use the certain area as the first area when it detects that the first data is stored in the flexible electronic tag laid under the certain area; The interaction unit is further configured to send second data to the smart glasses; wherein, the smart glasses receive the second data, control the laser projection component to project a second positioning laser beam, and when it is detected by the induction camera component that the second positioning laser beam falls into another area on the right side of the target user among the several areas and the other area is designated by the right hand of the target user, control the laser projection component to project a data laser beam containing the second data towards the other area, so that the second data is written into the flexible electronic tag laid under the other area; wherein, the second data is different from the first data; The second detection unit is further configured to use the other area as the second area when it detects that the flexible electronic tag laid under the other area stores the second data.
5. An electric bed, characterized in that, The mattress of the electric bed is divided into several areas, and the electric bed includes: A memory storing executable program code; A processor coupled to the memory; The processor calls the executable program code stored in the memory and executes the following steps: When the electric bed is in the zero-gravity mode, detecting a first designated trajectory drawn by the target user in a first area and a second designated trajectory drawn by the target user in a second area on the mattress; the first area is a certain area on the left side of the target user among the several areas, and the second area is another area on the right side of the target user among the several areas; Controlling corresponding smart home devices based on the first designated trajectory and the second designated trajectory; The electric bed is configured with smart glasses, a laser projection component is arranged on the left side of the smart glasses, an induction camera component is arranged on the right side of the smart glasses, and the smart glasses are wirelessly connected to the electric bed. Before the processor detects a first designated trajectory drawn by the target user in a first area and a second designated trajectory drawn by the target user in a second area on the mattress when the electric bed is in the zero-gravity mode, the processor further executes the following steps: Monitoring whether the smart glasses are worn by the target user on the mattress; if so, sending a mode selection interface to the smart glasses, and the mode selection interface displays several different modes including the zero-gravity mode; wherein, the smart glasses receive the mode selection interface and control the laser projection component to project the mode selection interface; and, when it is detected by the induction camera component that the zero-gravity mode displayed on the mode selection interface projected onto a certain surface is selected, sending a control instruction to the electric bed, and the control instruction is used to instruct to enter the zero-gravity mode; Receiving the control instruction and entering the zero-gravity mode to respond to the control instruction; A flexible electronic tag is laid under each of the several regions. After the processor receives the control instruction and enters the zero-gravity mode in response to the control instruction, and before the processor detects the first specified trajectory drawn by the target user on the mattress in the first region and the second specified trajectory drawn by the target user in the second region when the electric bed is in the zero-gravity mode, the following steps are further performed: Send the first data to the smart glasses; wherein, when the smart glasses receive the first data, control the laser projection component to project a first positioning laser beam, and when it is captured by the induction camera component that the first positioning laser beam falls into a certain region on the left side of the target user among the several regions and the certain region is designated by the left hand of the target user, control the laser projection component to project a first data laser beam containing the first data towards the certain region, so that the first data is written into the flexible electronic tag laid under the certain region; And, when it is detected that the first data is stored in the flexible electronic tag laid under the certain region, regard the certain region as the first region; And, send the second data to the smart glasses; wherein, when the smart glasses receive the second data, control the laser projection component to project a second positioning laser beam, and when it is captured by the induction camera component that the second positioning laser beam falls into another region on the right side of the target user among the several regions and the another region is designated by the right hand of the target user, control the laser projection component to project a data laser beam containing the second data towards the another region, so that the second data is written into the flexible electronic tag laid under the another region; wherein, the second data is different from the first data; And, when it is detected that the second data is stored in the flexible electronic tag laid under the another region, regard the another region as the second region.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it realizes the steps in the control method of the smart home device according to any one of claims 1 to 3.
Citation Information
Patent Citations
Smart home control method and system, intelligent foot pad and intelligent gateway
CN109298638A
Smart home device linkage control method, apparatus and smart home device
CN109634251A
Method and device for controlling intelligent household electrical appliance, and intelligent glasses
CN113655638A