An interactive control method based on smart mattress and related products
Through the interactive control method of smart mattresses, the projection components and vocal components are used to attract children's movements, solving the problem of single functions of existing mattresses and improving the fun and interactiveness of children's games on mattresses.
Patent Information
- Application Number
- CN202211176139.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-26
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2042-09-26
AI Technical Summary
The existing mattress has a single function and cannot meet the fun requirements of children to have fun on the mattress.
Design an interactive control method for smart mattresses, which can set target positions in the safe area by determining the current position and motor ability parameters of children, and use projection components and vocal components to attract children to move to the target position, increasing the fun of game interaction .
On the premise of ensuring children's safety, children's fun playing games on the mattress is improved, and children's participation and interactive experience are enhanced.
Smart Images

Figure CN115500657B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of household appliances, and in particular to an interactive control method based on a smart mattress and related products. Background Art
[0002] During the growth of children, the mattress is not only a place for children to sleep, but also a place for children to play, which is of great significance to the growth of children.
[0003] The existing mattresses have relatively simple functions, and are mainly used to satisfy sleeping. When children play on the mattresses, they either lie down and play with toys or jump on the mattresses. The methods are too simple and boring, and cannot meet the children's requirements for fun in playing on the mattresses. Summary of the invention
[0004] The embodiment of the present application discloses an interactive control method based on a smart mattress and related products. When a child is on the smart mattress, a target position is selected on the smart mattress and the child is prompted to move to the target position, so as to improve the fun of the child's game interaction on the mattress.
[0005] A first aspect of an embodiment of the present application provides an interactive control method based on a smart mattress, characterized in that it includes: when the smart mattress is in an interactive control mode, determining whether the user on the smart mattress is a child; if the user on the smart mattress is a child, determining the current position of the child; determining a first target position on the smart mattress, wherein the first target position is located in a safety area of the smart mattress, and the safety area is an area on the smart mattress that maintains a preset safety distance from the edge of the smart mattress; controlling the projection component of the smart mattress to project a preset light to the first target position, and controlling the sound-emitting component of the smart mattress to emit a preset sound effect at the first target position, so that the child moves from the current position to the first target position.
[0006] As an optional implementation, determining the first target position on the smart mattress includes: acquiring a motor ability parameter of the child; and determining the first target position according to the motor ability parameter.
[0007] As an optional implementation, the obtaining of the motor ability parameters of the child includes: obtaining physiological data of the child; and determining the motor ability parameters based on the physiological data.
[0008] As an optional implementation, determining the athletic ability parameter of the child includes: acquiring historical athletic data of the child; and determining the athletic ability parameter based on the historical athletic data.
[0009] As an optional implementation, the method further includes: when the child has not reached the first target position, upon detecting that the child has stayed at the second target position for a preset stay time, controlling the vibration component of the smart mattress to start vibrating at the second target position.
[0010] As an optional implementation, after controlling the vibration component of the smart mattress to start vibration at the second target position, the method further includes: detecting that the child leaves the second target position, and controlling the vibration component to stop the vibration at the second target position.
[0011] As an optional implementation manner, determining whether the user on the smart mattress is a child includes: obtaining the weight of the user on the smart mattress; and determining whether the user on the smart mattress is a child based on the weight of the user.
[0012] As an optional implementation, the smart mattress is divided into multiple position areas, each of which is provided with a pressure sensor, and determining the current position of the child includes: obtaining the sensing value of the pressure sensor; screening out the target pressure sensor whose sensing value has changed from the sensing values; and determining the current position of the child according to the position area corresponding to the target pressure sensor.
[0013] As an optional implementation, the method further includes: when the duration of the smart mattress being in the interactive control mode reaches a preset interactive duration, obtaining a fatigue level parameter of the child; when the fatigue level parameter reaches a preset fatigue threshold, exiting the interactive control mode.
[0014] As an optional implementation, obtaining the child's fatigue level parameter includes: obtaining the child's interaction speed, wherein the interaction speed is determined based on the distance between the current position and the first target position, and the time it takes for the child to move from the current position to the first target position; and determining the fatigue level parameter based on the interaction speed.
[0015] According to a second aspect of an embodiment of the present application, there is provided an interactive control device based on a smart mattress, comprising: a user determination module, a current position module, a target position module and an interactive execution module, wherein: the user determination module is used to determine whether the user on the smart mattress is a child when the smart mattress is in an interactive control mode; the current position module is used to determine the current position of the child when it is determined that the user of the smart mattress is a child; the target position module is used to determine a first target position on the smart mattress, wherein the first target position is located within a safety area of the smart mattress, and the safety area is an area on the smart mattress that maintains a preset safety distance from the edge of the smart mattress; the interactive execution module is used to control the projection component of the smart mattress to project a preset light to the first target position, and control the sound-emitting component of the smart mattress to emit a preset sound effect at the first target position, so that the child moves from the current position to the first target position.
[0016] A third aspect of an embodiment of the present application provides a smart mattress, comprising: a memory storing executable program code; a processor coupled to the memory; the processor calls the executable program code stored in the memory to execute the steps in the interactive control method provided in the first aspect.
[0017] A fourth aspect of an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps in the interactive control method provided in the first aspect are implemented.
[0018] Compared with the prior art, the interactive control method provided in the embodiment of the present application selects a target position on the smart mattress and prompts the child to move to the target position when the child is on the smart mattress. This improves the fun of the child's game interaction on the mattress while ensuring the child's safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] 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.
[0020] Figure 1 A schematic flow chart of an interactive control method based on a smart mattress provided in an embodiment of the present application;
[0021] Figure 2 A flowchart of a method for determining a first target position provided in an embodiment of the present application;
[0022] Figure 3A flowchart of another interactive control method provided in an embodiment of the present application;
[0023] Figure 4 A flowchart of another interactive control method provided in an embodiment of the present application;
[0024] Figure 5 A flowchart of another interactive control method provided in an embodiment of the present application;
[0025] Figure 6 A schematic diagram of the structure of an interactive control device based on a smart mattress provided in an embodiment of the present application;
[0026] Figure 7 A schematic diagram of the structure of a smart mattress provided in an embodiment of the present application. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0028] It should be noted that the terms "including" and "having" and any variations thereof in the embodiments of the present application and the accompanying drawings 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 limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.
[0029] The existing mattresses have relatively simple functions, and are mainly used to satisfy sleeping. When children play on the mattresses, they either lie down and play with toys or jump on the mattresses. The methods are too simple and boring, and cannot meet the children's requirements for fun in playing on the mattresses.
[0030] In view of this, an embodiment of the present application provides an interactive control method based on a smart mattress. When a child is on the smart mattress, a target position is selected on the smart mattress and the child is prompted to move to the target position to increase the fun of the child's game interaction on the mattress.
[0031] Figure 1 The following is a flow chart of an interactive control method based on a smart mattress provided in an embodiment of the present application. Figure 1 As shown, the interactive control method may include:
[0032] Step 101: When the smart mattress is in an interactive control mode, determining whether the user on the smart mattress is a child.
[0033] It should be noted that, in addition to the conventional sleeping function, the smart mattress also has an interactive control mode, which is used for the mattress to interact with the user on the mattress. There are different interactive modes for different users, for example, the interactive mode may include yoga interaction for adults, massage interaction for the elderly, game interaction for children, etc. This embodiment is mainly for game interaction for children, so the smart mattress first needs to determine whether the user on the smart mattress is a child. This embodiment does not limit the implementation method of determining whether the user on the smart mattress is a child.
[0034] In a possible implementation, the smart mattress may be provided with a shooting module, and a photographed image of the smart mattress may be acquired through the shooting module of the smart mattress, and whether the user on the smart mattress is a child may be determined based on the photographed image.
[0035] Furthermore, the image of the child in the captured image can be obtained for further analysis, and the image of the child can be transmitted to the server for face recognition to determine whether the user is a child. With this embodiment, it is possible to quickly determine whether the user on the smart mattress is a child based on the user image without the user having to perform any additional actions, thereby improving the user experience.
[0036] Furthermore, the image of the child in the captured image is further analyzed, and the image of the child can be compared with the user image pre-stored in the server to determine whether the user is a child. That is, the server of the smart mattress pre-stores the image and information of each user. By comparing the captured image with the pre-stored user image, the corresponding user can be determined to obtain the user's information. According to the age information in the user's information, it can be determined that the user is a child. This method can quickly and accurately determine whether the user on the smart mattress is a child, thereby improving the accuracy of the judgment.
[0037] In another possible implementation, determining whether the user on the smart mattress is a child may include: acquiring the weight of the user on the smart mattress; and determining whether the user on the smart mattress is a child according to the weight of the user.
[0038] It should be noted that the method of obtaining the weight of the user on the smart mattress may include: a gravity sensor may be provided on the smart mattress, and the weight of the user may be obtained through the gravity sensor. A more preferred method is to provide a gravity sensor on the edge of the smart mattress. Since the user needs to get into bed from the edge of the mattress, the method of providing a gravity sensor on the edge of the mattress is more intelligent and effective.
[0039] According to the weight of the user, the method of determining whether the user on the smart mattress is a child may include: the smart mattress is provided with a correspondence between the weight of the user and the type of the user, and the type of the user can be determined according to the obtained weight of the child and the preset correspondence. In addition, the weight of a child is generally lighter than that of an adult, and the weight of children of different age groups is also different. This embodiment may also preset a weight range. If the obtained weight of the child is within the preset weight range, the user is determined to be a child. If not, the user is determined to be not a child. Among them, the preset correspondence or the preset weight range may be stored in the local memory of the smart mattress or in the server. Through the above implementation, it is possible to more quickly and conveniently determine whether the user is a child based on the weight of the user, thereby determining whether to proceed with the subsequent interactive steps.
[0040] Step 102: If the user on the smart mattress is a child, determine the current position of the child.
[0041] It should be noted that after determining that the user on the smart mattress is a child, the interactive game begins by first determining the current position of the child on the smart mattress. This embodiment does not limit the implementation method of determining the current position of the child.
[0042] In a possible implementation, the smart mattress may be provided with a camera module, through which a captured image of the smart mattress is obtained, and the current position of the child is determined based on the captured image. Furthermore, the mattress may be divided into a plurality of position areas, and the current position of the child may be determined based on the position area on the mattress blocked by the child in the captured image. By adopting the above implementation, the current position of the child can be obtained without the user noticing, thereby improving the user experience.
[0043] In another possible embodiment, the smart mattress is provided with an infrared sensing module, through which the distance of the child relative to the preset position of the smart mattress is obtained, and the current position of the child is determined according to the distance and the size of the smart mattress. Furthermore, the position of the child can be located by at least two infrared sensing modules, and the two infrared sensing modules can be arranged at opposite ends of the smart mattress, for example, one module is arranged at the front end, one module is arranged at the rear end, or two modules are arranged at diagonal positions respectively. By adopting the above embodiment, the current position of the child can be obtained more accurately, and the accuracy of detection is improved.
[0044] In another possible implementation, the smart mattress is divided into a plurality of position areas, each of the position areas is provided with a pressure sensor, and determining the current position of the child may include: acquiring a sensing value of the pressure sensor; screening out a target pressure sensor whose sensing value has changed from the sensing values; and determining the current position of the child according to the position area corresponding to the target pressure sensor.
[0045] It should be noted that this embodiment does not limit the arrangement of the multiple pressure sensors set on the smart mattress. For example, they can be evenly arranged in strips or in a mesh. When a child sits on the smart mattress, the sensing value of the pressure sensor corresponding to the child's position will change, for example, the sensing value increases or decreases. Then, after the smart mattress obtains the sensing values of all pressure sensors, it can filter out the target pressure sensor whose sensing value changes. The location area where the target pressure sensor is located is the current location of the child. The above implementation method can accurately and quickly determine the current location of the child.
[0046] Step 103: Determine a first target position on the smart mattress, where the first target position is located within a safety area of the smart mattress, and the safety area is an area on the smart mattress that maintains a preset safety distance from an edge of the smart mattress.
[0047] It should be noted that the interactive game set for children in this embodiment is to attract children to move from the current position to the first target position. Therefore, after determining the current position of the child, it is necessary to determine the first target position on the smart mattress, which is the destination of the child's movement. In order to ensure the safety of the child, the first target position must be within the safe area, which is a preset safe area or a known safe area of the smart mattress. The safe area is an area on the smart mattress that maintains a preset safe distance from the edge of the mattress. Exemplarily, if the preset safety distance is 20cm, then the safe area of the smart mattress needs to have a safety distance of 20cm from each side edge of the smart mattress. If the smart mattress is rectangular, then the central rectangular area 20cm away from each side edge is the safe area. It can be understood that the preset safety distance can be set according to actual needs, and this embodiment does not limit the value of the preset safety distance. This embodiment does not limit the method for determining the first target position, as long as the first target position is within the safe area.
[0048] In a possible implementation, in order to enhance the fun of the interaction, an exercise intensity that matches the child is set, and the child's athletic ability may be considered when setting the first target area.
[0049] Figure 2 A flowchart of a method for determining a first target position provided in an embodiment of the present application is shown as follows: Figure 2 As shown, determining the first target position on the smart mattress may include:
[0050] Step 1031: Obtaining the child's athletic ability parameters;
[0051] Step 1032: Determine the first target position according to the athletic ability parameter.
[0052] It should be noted that the exercise ability parameter is used to indicate the exercise intensity suitable for the child, and the distance of the first target position can be determined according to the strength of the exercise intensity suitable for the child. For example, if the exercise intensity suitable for the child is high, then a position far from the child's current position can be set as the first target position, and if the exercise intensity suitable for the child is low, then a position close to the child's current position can be set as the first target position. By setting the first target position suitable for the child's exercise intensity, the child can not only exercise, but also will not lose interest in participating in the interaction because the exercise is too tiring or too easy.
[0053] In some embodiments, the step 1031 of obtaining the motor ability parameters of the child may be performed by: obtaining physiological data of the child; and determining the motor ability parameters based on the physiological data.
[0054] It should be noted that physiological data may include but are not limited to data such as the child's height, weight, and age. The present embodiment does not limit the method for obtaining the child's physiological data. For example, in the present embodiment, the child's physiological data may be obtained through user input, or the child's physiological data may have been obtained during the child's normal sleep, and here the data may be obtained by reading the child's physiological data.
[0055] After obtaining the physiological data of the child, the motor ability parameters can be determined based on the physiological data. This embodiment does not limit the method of determining the motor ability parameters based on the physiological data. In a possible implementation, the smart mattress or server pre-stores the correspondence between the physiological data and the motor ability parameters, and the motor ability parameters can be determined based on the acquired physiological data and the correspondence. Exemplarily, when the physiological data of the child is obtained and the child is 1 year old, then according to the correspondence between the physiological data and the motor ability parameters, it can be determined that the motor ability parameter is 1. According to the motor ability parameter being 1, it can be determined that the first target position is a position in a safe area 1 meter away from the child's current position. Similarly, if the child is 1.5 years old, it can be determined that the first target position is a position 1.8 meters away from the child's current position.
[0056] It is understandable that children's physiological data such as height and weight ultimately reflect the children's age. Determining the children's motor ability parameters based on their age is a more reliable method. By adopting the above implementation method, the children's motor ability can be determined more accurately, thereby matching the children with a first target position with appropriate exercise intensity.
[0057] In some embodiments, the step 1031 of obtaining the athletic ability parameters of the child may be performed by: obtaining the historical athletic data of the child; and determining the athletic ability parameters based on the historical athletic data.
[0058] It should be noted that this embodiment does not limit the method of obtaining the historical motion data of the child. For example, after identifying the child's identity, the historical motion data of the child playing the interactive game on the smart mattress can be obtained, or it can be obtained through a wearable device worn by the child, or obtained from other devices (such as a server) through the network, etc.
[0059] The historical motion data can reflect the child's recent motion situation, and the child's motion ability parameter can be determined based on the historical motion data. For example, if the child's motion ability parameter is 1 when playing the same interactive game last time, and the time of a round of interaction is very short, that is, the child's motion speed is very fast, then the motion ability parameter can be determined to be 1.1 based on the historical motion data, so that the child can play the interactive game more interestingly.
[0060] It is understandable that determining the athletic ability parameter based on historical athletic data is an objective determination method. By adopting the above implementation, the athletic ability of the child can be determined more accurately, thereby matching the first target position with a suitable athletic intensity for the child.
[0061] Step 104: Control the projection component of the smart mattress to project a preset light to the first target position, and control the sound-generating component of the smart mattress to emit a preset sound effect at the first target position, so that the child moves from the current position to the first target position.
[0062] It should be noted that after the first target position is determined, it is necessary to attract the child to move from the current position to the first target position. For infants in the crawling period, light and sound have a strong attraction to them, so this embodiment adopts a solution of controlling the projection component of the smart mattress to project a preset light to the first target position, and controlling the sound component of the smart mattress to emit a preset sound effect at the first target position, so as to attract the child to move from the current position to the first target position.
[0063] The projection component may be a rotatable spotlight or other light-emitting device capable of adjusting the projection position. The sound-generating component may be a speaker or other device capable of generating sound.
[0064] In a possible implementation, the projection component of the smart mattress may be arranged above the smart mattress, and the projection component includes a projection position adjustment unit and a light projection unit. After determining the first target position, the smart mattress adjusts the light projection unit through the projection position adjustment unit according to the first target position so that the light projected by the light projection unit is aligned with the first target position, and after the adjustment is completed, the light adjustment unit is controlled to emit a preset light.
[0065] In a possible implementation, the projection component of the smart mattress can be arranged inside the smart mattress. The smart mattress includes a plurality of projection components that are evenly arranged inside the smart mattress. After determining the first target position, the smart mattress controls the projection component corresponding to the first target position to emit a preset light. Since the mattress fabric is a breathable fabric with air holes, the light can pass through the surface of the smart mattress so that the child can see the light.
[0066] In a possible implementation, the sound-emitting component of the smart mattress may be disposed inside the smart mattress. The smart mattress includes a plurality of sound-emitting components that are evenly disposed inside the smart mattress. After determining the first target position, the smart mattress controls the sound-emitting component corresponding to the first target position to emit a preset sound effect to attract the child to move from the current position to the first target position.
[0067] In some embodiments, children have a characteristic of poor concentration, so when crawling from the current position to the first target position, the children may stop moving because their attention is attracted by something else. Therefore, when the children stop moving due to distraction, they can be reminded to continue moving.
[0068] Figure 3 A flow chart of another interactive control method provided in an embodiment of the present application is shown as follows: Figure 3 As shown, after step 104, the following steps may also be included:
[0069] Step 201: When the child has not reached the first target position, and when it is detected that the child has stayed at the second target position for a preset stay time, the vibration component of the smart mattress is controlled to start vibration at the second target position.
[0070] It should be noted that after the projection component of the smart mattress is controlled to project a preset light to the first target position, and the sound component of the smart mattress is controlled to emit a preset sound effect at the first target position, the movement of the child is monitored. This embodiment does not limit the method of detecting that the duration of the child's stay at the second target position reaches the preset stay duration.
[0071] In a possible implementation, the smart mattress is provided with a shooting module, through which a photo of the smart mattress is taken at a preset interval, the location of the child is determined based on the acquired photo, and the photo of the smart mattress is taken again after a preset interval to determine the location of the child. If the location of the child has not changed, it is recorded, and the photo of the smart mattress is taken again after a preset interval to determine the location of the child. If it still has not changed, it is continued to be recorded. When it is found that the child has not moved when the preset stay time is reached, that is, the location of the child detected n times has not changed within the preset stay time, the reminder mechanism is activated. Exemplarily, a photo of the smart mattress is taken at the first second to determine that the location of the child is the second target location, and the photo is recorded. The photo of the smart mattress is taken at the second second to determine that the location of the child is the second target location, and the photo is recorded again. The photo of the smart mattress is taken at the third second to determine that the location of the child is still the second target location, and the vibration component of the smart mattress is controlled to start vibration at the second target location to remind the child to exercise.
[0072] Through the above implementation, when the child is attracted by the outside world and stops exercising, the child can be reminded in time to continue exercising, and the fun of interaction can be enhanced.
[0073] Furthermore, after controlling the vibration component of the smart mattress to start vibration at the second target position, the method further includes: detecting that the child leaves the second target position, and controlling the vibration component to stop vibration at the second target position.
[0074] It should be noted that after the vibration is turned on, the child continues to be monitored to see if he / she moves, and after detecting that the child leaves the second target position, the vibration component is controlled to stop vibrating. The method for detecting whether the child leaves the second target position is consistent with the above-mentioned method for detecting whether the child moves, and will not be repeated here.
[0075] In some embodiments, in order to ensure the physical health of the child, after the smart mattress interacts with the child for a period of time, if the child is too tired, the child needs to rest, that is, the smart mattress exits the interactive control mode.
[0076] Figure 4 A flow chart of another interactive control method provided in an embodiment of the present application is as follows: Figure 4 As shown, after step 104, the following steps may also be included:
[0077] Step 301: when the duration of the smart mattress being in the interactive control mode reaches a preset interactive duration, obtaining a fatigue level parameter of the child;
[0078] Step 302: When the fatigue level parameter reaches a preset fatigue threshold, exit the interactive control mode.
[0079] It should be noted that the smart mattress will record the duration of the interactive control mode. When the duration of the interactive control mode reaches the preset interactive duration, the child's fatigue level parameter can be obtained. The fatigue level parameter is used to indicate the state parameter of the child's current participation in the interaction. If the fatigue level parameter reaches the preset fatigue threshold, the interactive control mode is exited. This embodiment does not limit the method for obtaining the child's fatigue level parameter.
[0080] In a possible implementation, obtaining the child's fatigue level parameter may include: obtaining the child's interaction speed, where the interaction speed is determined based on the distance between the current position and the first target position, and the time it takes for the child to move from the current position to the first target position; and determining the fatigue level parameter based on the interaction speed.
[0081] It should be noted that the child's interaction speed can be determined based on the distance between the current position and the first target position, as well as the time it takes for the child to move the distance. Since the smart mattress has information about the current position and the first target position, the distance between them can be calculated. The shooting component takes a photo when the child is at the current position to obtain the current time. When the child arrives at the first target position, it takes another photo to obtain the destination time. The time difference between them can be calculated, and the interaction speed can be obtained by dividing the distance by the time difference. The smart mattress is set with a corresponding relationship between the interaction speed and the fatigue degree parameter, and the fatigue degree parameter is determined based on the obtained interaction speed. If the fatigue degree parameter reaches the preset fatigue threshold, the interactive control mode is exited. If the fatigue degree parameter is lower than the preset fatigue threshold, it can be tested again after a period of time.
[0082] Through the above implementation, the fatigue degree of the child can be accurately determined, and the interactive control mode can be exited in time when the child is tired to avoid affecting the child's physical health.
[0083] In some embodiments, in order to increase the fun of the interaction, different levels of difficulty of movement may be added to the movement path according to the age of the child.
[0084] Figure 5 A flow chart of another interactive control method provided in an embodiment of the present application is as follows: Figure 5 As shown, after step 104, the following steps may also be included:
[0085] Step 401: Determine the physiological data of the child, and set a movement obstacle on a movement path according to the physiological data, wherein the movement path is used to indicate a path between the current position and the first target position.
[0086] It should be noted that physiological data may include but are not limited to data such as the child's height, weight, and age. The present embodiment does not limit the method for obtaining the child's physiological data. For example, in the present embodiment, the child's physiological data may be obtained through user input, or the child's physiological data may have been obtained during the child's normal sleep, and here the data may be obtained by reading the child's physiological data.
[0087] After obtaining the physiological data of the child, a movement obstacle can be set on the motion path according to the physiological data. This embodiment does not limit the manner of setting the movement obstacle on the motion path according to the physiological data. In one possible implementation, the smart mattress or server pre-stores the correspondence between the physiological data and the movement obstacle, and the movement obstacle can be determined based on the acquired physiological data and the correspondence. Movement obstacles include, but are not limited to, setting vibrations on the motion path, setting slopes on the motion path, and the like. Exemplarily, when the physiological data of the child is obtained, that is, the age is 1 year old, then according to the correspondence between the physiological data and the movement obstacle, it can be determined that the movement obstacle is a level 1 vibration on the motion path through the vibration component or a level 1 slope on the motion path through the inflatable component. Similarly, if the child is 3 years old, it can be determined that the movement obstacle is a level 3 vibration on the motion path through the vibration component or a level 3 slope on the motion path through the inflatable component.
[0088] Through the above implementation, movement obstacles are set according to the physiological parameters of children, which can not only increase the fun of the interaction between the smart mattress and children, but also ensure the physical health of children.
[0089] Figure 6 A schematic diagram of the structure of an interactive control device based on a smart mattress provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the device 500 includes: a user determination module 501, a current location module 502, a target location module 503 and an interaction execution module 504, wherein:
[0090] A user determination module 501 is used to determine whether the user on the smart mattress is a child when the smart mattress is in an interactive control mode;
[0091] The current position module 502 is used to determine the current position of the child when it is determined that the user of the smart mattress is a child;
[0092] A target position module 503 is used to determine a first target position on the smart mattress, where the first target position is located in a safety area of the smart mattress, where the safety area is an area on the smart mattress that maintains a preset safety distance from the edge of the smart mattress;
[0093] The interactive execution module 504 is used to control the projection component of the smart mattress to project a preset light to the first target position, and control the sound-generating component of the smart mattress to emit a preset sound effect at the first target position, so that the child moves from the current position to the first target position.
[0094] In some embodiments, the user determination module 501 includes: a weight acquisition submodule, used to obtain the weight of the user on the smart mattress; and a user determination submodule, used to determine whether the user on the smart mattress is a child based on the weight of the user.
[0095] In some embodiments, the smart mattress is divided into multiple position areas, each of which is provided with a pressure sensor, and the current position module 502 includes: a sensing value acquisition submodule, used to acquire the sensing value of the pressure sensor; a sensor acquisition submodule, used to filter out the target pressure sensor whose sensing value has changed from the sensing value; and a position determination submodule, used to determine the current position of the child according to the position area corresponding to the target pressure sensor.
[0096] In some embodiments, the target position module 503 includes: an ability acquisition submodule, used to acquire the motor ability parameters of the child; and a first setting submodule, used to determine the first target position according to the motor ability parameters.
[0097] In some embodiments, the ability acquisition submodule includes: a physiological data acquisition unit, used to acquire the physiological data of the child; and a first parameter determination unit, used to determine the athletic ability parameter based on the physiological data.
[0098] In some embodiments, the ability acquisition submodule includes: a historical data acquisition unit, used to acquire the historical movement data of the child; and a second parameter determination unit, used to determine the movement ability parameter based on the historical movement data.
[0099] In some embodiments, the device further includes: a reminder activation module 601, wherein the reminder activation module 601 is used to control the vibration component of the smart mattress to start vibration at the second target position when the child has not reached the first target position and detects that the child has stayed at the second target position for a preset stay time.
[0100] In some embodiments, the device further includes: a reminder closing module 602, wherein the reminder closing module 602 is used to detect that the child leaves the second target position after the vibration component of the smart mattress is controlled to start vibration at the second target position, and control the vibration component to stop the vibration at the second target position.
[0101] In some embodiments, the device also includes: a fatigue monitoring module 701, which is used to obtain the child's fatigue level parameter when the duration of the smart mattress in the interactive control mode reaches a preset interactive duration; an interactive closing module 702, which is used to exit the interactive control mode when the fatigue level parameter reaches a preset fatigue threshold.
[0102] In some embodiments, the fatigue monitoring module 701 includes: a speed acquisition submodule, used to acquire the interaction speed of the child, and the interaction speed is determined based on the distance between the current position and the first target position, and the time it takes for the child to move from the current position to the first target position; a fatigue determination submodule, used to determine the fatigue level parameter based on the interaction speed.
[0103] Figure 7 A schematic diagram of the structure of a smart mattress provided in an embodiment of the present application is shown in FIG. Figure 7 As shown, the smart mattress comprises:
[0104] A memory 1001 storing executable program codes;
[0105] A processor 1002 coupled to the memory;
[0106] The processor 1002 calls the executable program code stored in the memory 1001 and performs the following steps:
[0107] When the smart mattress is in an interactive control mode, determining whether a user on the smart mattress is a child;
[0108] If the user on the smart mattress is a child, determining the current position of the child;
[0109] Determine a first target position on the smart mattress, where the first target position is located in a safety area of the smart mattress, where the safety area is an area on the smart mattress that maintains a preset safety distance from an edge of the smart mattress;
[0110] controlling the projection component of the smart mattress to project a preset light to the first target position, and controlling the sound-generating component of the smart mattress to emit a preset sound effect at the first target position, so as to enable the child to move from the current position to the first target position,
[0111] In some implementations, the processor 1002 determines the first target position on the smart mattress as follows:
[0112] Obtaining the child's motor ability parameters;
[0113] The first target position is determined according to the athletic ability parameter.
[0114] In some implementations, the processor 1002 obtains the child's motor ability parameter in the following manner:
[0115] obtaining physiological data of the child;
[0116] The athletic performance parameter is determined based on the physiological data.
[0117] In some embodiments, the processor 1002 determines the child's motor ability parameter as follows:
[0118] Obtaining historical movement data of the child;
[0119] The athletic ability parameter is determined based on the historical athletic data.
[0120] In some implementations, the processor 1002 may further include:
[0121] When the child has not reached the first target position, when it is detected that the child has stayed at the second target position for a preset stay time, the vibration component of the smart mattress is controlled to start vibration at the second target position.
[0122] In some embodiments, after controlling the vibration component of the smart mattress to start vibrating at the second target position, the processor 1002 further includes:
[0123] When it is detected that the child leaves the second target position, the vibration component is controlled to stop the vibration at the second target position.
[0124] In some implementations, the processor 1002 determines whether the user on the smart mattress is a child in the following manner:
[0125] Obtaining the weight of the user on the smart mattress;
[0126] Whether the user on the smart mattress is a child is determined according to the weight of the user.
[0127] In one embodiment, the smart mattress is divided into a plurality of position areas, each of which is provided with a pressure sensor, and the processor 1002 determines the current position of the child in the following manner:
[0128] Obtaining a sensing value of the pressure sensor;
[0129] Filtering out the target pressure sensor whose sensing value has changed from the sensing values;
[0130] The current position of the child is determined according to the position area corresponding to the target pressure sensor.
[0131] In some implementations, the processor 1002 may further include:
[0132] When the duration of the smart mattress being in the interactive control mode reaches a preset interactive duration, obtaining a fatigue level parameter of the child;
[0133] When the fatigue level parameter reaches a preset fatigue threshold, the interactive control mode is exited.
[0134] In some implementations, the processor 1002 obtains the child's fatigue level parameter in the following manner:
[0135] Acquire the interaction speed of the child, where the interaction speed is determined according to the distance between the current position and the first target position, and the time taken by the child to move from the current position to the first target position;
[0136] The fatigue level parameter is determined according to the interaction speed.
[0137] The embodiments of the present application further disclose a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, all or part of the steps in the foregoing method embodiments are implemented.
[0138] The above is a detailed introduction to an interactive control method based on a smart mattress and related products disclosed in the embodiment of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for general technicians in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the application.
Claims
1. An interactive control method based on a smart mattress, characterized in that: include: When the smart mattress is in an interactive control mode, determining whether a user on the smart mattress is a child; If the user on the smart mattress is a child, determining the current position of the child; Determine a first target position on the smart mattress, where the first target position is located in a safety area of the smart mattress, where the safety area is an area on the smart mattress that maintains a preset safety distance from an edge of the smart mattress; Determining the first target position on the smart mattress includes: acquiring the motor ability parameter of the child; determining the first target position according to the motor ability parameter; The projection component of the smart mattress is controlled to project a preset light to the first target position, and the sound-generating component of the smart mattress is controlled to emit a preset sound effect at the first target position, so that the child moves from the current position to the first target position.
2. The method according to claim 1, characterized in that The obtaining of the child's athletic ability parameter comprises: obtaining physiological data of the child; The athletic performance parameter is determined based on the physiological data.
3. The method according to claim 1, characterized in that Determining the child's athletic ability parameters comprises: Obtaining historical movement data of the child; The athletic ability parameter is determined based on the historical athletic data.
4. The method according to claim 1, characterized in that The method further comprises: When the child has not reached the first target position, when it is detected that the child has stayed at the second target position for a preset stay time, the vibration component of the smart mattress is controlled to start vibration at the second target position.
5. The method according to claim 4, characterized in that After controlling the vibration component of the smart mattress to start vibration at the second target position, the method further includes: When it is detected that the child leaves the second target position, the vibration component is controlled to stop the vibration at the second target position.
6. The method according to claim 1, characterized in that The determining whether the user on the smart mattress is a child comprises: Obtaining the weight of the user on the smart mattress; Whether the user on the smart mattress is a child is determined according to the weight of the user.
7. The method according to claim 1, characterized in that The smart mattress is divided into a plurality of position areas, each of which is provided with a pressure sensor, and the determining of the current position of the child includes: Obtaining a sensing value of the pressure sensor; Filtering out the target pressure sensor whose sensing value has changed from the sensing values; The current position of the child is determined according to the position area corresponding to the target pressure sensor.
8. The method according to claim 1, characterized in that The method further comprises: When the duration of the smart mattress being in the interactive control mode reaches a preset interactive duration, obtaining a fatigue level parameter of the child; When the fatigue level parameter reaches a preset fatigue threshold, the interactive control mode is exited.
9. The method according to claim 8, characterized in that The step of obtaining the fatigue level parameter of the child comprises: Acquire the interaction speed of the child, where the interaction speed is determined according to the distance between the current position and the first target position, and the time taken by the child to move from the current position to the first target position; The fatigue level parameter is determined according to the interaction speed.
10. An interactive control device based on a smart mattress, characterized in that: include: User determination module, current location module, target location module and interactive execution module, wherein: A user determination module, used to determine whether the user on the smart mattress is a child when the smart mattress is in an interactive control mode; A current location module, for determining the current location of the child when it is determined that the user of the smart mattress is a child; a target position module, configured to determine a first target position on the smart mattress, wherein the first target position is located within a safety area of the smart mattress, wherein the safety area is an area on the smart mattress that maintains a preset safety distance from an edge of the smart mattress; the determining of the first target position on the smart mattress comprises: obtaining a motor ability parameter of the child; and determining the first target position according to the motor ability parameter; The interactive execution module is used to control the projection component of the smart mattress to project a preset light to the first target position, and control the sound-generating component of the smart mattress to emit a preset sound effect at the first target position, so as to enable the child to move from the current position to the first target position.
11. A smart mattress, characterized in that: include: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the steps in the interactive control method according to any one of claims 1 to 9.
12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the interactive control method according to any one of claims 1 to 9 are implemented.
Citation Information
Patent Citations
Multi-mode control acousto-optic interaction game pad for training logic and sense system of children
CN105212594A
Intelligent baby mattress and working method thereof
CN108991831A
Game blanket for children
CN202724695U
Dancing blanket with stage effect light
CN203264253U
Intelligence mattress and sleep monitor system
CN208550677U
