Intelligent mattress control method and intelligent mattress

By obtaining the user's head and legs images, combining the lying position prediction model, the smart mattress dynamically adjusts the massage position, solving the problem that cannot be dynamically adjusted in the existing technology, and achieving precise massage and fatigue relief.

CN120477526APending Publication Date: 2025-08-15SHANGHAI RONGTAI HEALTH TECHNOLOGY CORPORATION LIMITED
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510932242.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-07
Publication Date
2025-08-15

AI Technical Summary

Technical Problem

The existing smart mattresses cannot adjust the massage method according to the actual dynamics of the user, resulting in the inability to provide a comprehensive and comfortable resting environment.

Method used

By obtaining the user's head and legs images, the bed position information is determined using the pre-trained lying position prediction model, and the adjustment module is controlled to move to the massage position to perform massage, realizing dynamic and intelligent sensing-free adjustment.

Benefits of technology

Ensure that the massage positioning is accurately adapted to different body shapes and postures, avoid errors in traditional fixed massage points, automatically update the massage position, enhance the user experience, and target to relieve fatigue in areas that are prone to fatigue.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120477526A_ABST
    Figure CN120477526A_ABST
Patent Text Reader

Abstract

The invention provides an intelligent mattress control method and an intelligent mattress, and the method comprises the steps: obtaining a head image and a leg image of a user in response to a bedridden action of the user; according to the head image, the leg image and a lying position prediction model obtained by pre-training, determining lying position information of the user; determining at least one massage position according to the first position information and the second position information; and controlling each adjusting module to move to each massage position and starting the massage element to execute massage. According to the method, it can be ensured that massage positioning is accurate and adapts to different body types and postures, errors of traditional fixed massage points are avoided, the massage position can be automatically updated, manual adjustment is not needed, dynamic and intelligent non-inductive adjustment is achieved, the user experience is improved, and in addition, the user experience is improved. And fatigue-prone areas such as shoulders, necks, waists or legs can be massaged emphatically based on the real-time body position data of the user, fatigue of the user is relieved in a targeted manner, and the relaxing effect is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of device control technology, and in particular to a smart mattress control method and a smart mattress. Background Art

[0002] With the rapid development of science and technology and the improvement of people's living standards, the smart home industry has experienced rapid development, driven by demand and the promotion of intelligent and automated technologies. As a key component of smart homes, smart mattresses may become one of the core terminals for home health management in the future.

[0003] The smart mattresses in the prior art are often limited to fixed modes and cannot dynamically adjust the massage mode according to the user's actual situation, making it difficult to provide users with a comprehensive and comfortable resting environment. Summary of the Invention

[0004] The purpose of this application is to provide a smart mattress control method and a smart mattress to address the deficiencies in the above-mentioned prior art, so as to solve the problem that the smart mattress in the prior art is limited to a fixed mode and has limitations.

[0005] To achieve the above objectives, the technical solutions adopted in the embodiments of the present application are as follows:

[0006] In a first aspect, an embodiment of the present application provides a smart mattress control method for controlling a smart mattress, wherein the smart mattress includes: a mattress body and an adjustment unit, wherein the adjustment unit includes at least one adjustment module, each of the adjustment modules includes at least one massage element, and the method includes:

[0007] In response to the user's lying-in-bed action, acquiring a head image and a leg image of the user;

[0008] Determining, based on the head image, the leg image, and a pre-trained lying position prediction model, bed position information of the user, the bed position information comprising: first position information and second position information, the first position information being used to indicate the position of the user's head on the smart mattress, and the second position information being used to indicate the position of the user's legs on the smart mattress;

[0009] determining at least one massage position according to the first position information and the second position information;

[0010] Controlling each of the adjustment modules to move to each of the massage positions and activating the massage elements to perform massage.

[0011] In a second aspect, another embodiment of the present application provides a smart mattress control device for controlling a smart mattress, wherein the smart mattress includes: a mattress body and an adjustment unit, wherein the adjustment unit includes at least one adjustment module, each of the adjustment modules includes at least one massage element, and the device includes:

[0012] an acquisition module, configured to acquire a head image and a leg image of the user in response to the user's bed-lying action;

[0013] a first determining module, configured to determine bed position information of the user based on the head image, the leg image, and a pre-trained lying position prediction model, the bed position information comprising: first position information and second position information, the first position information being used to indicate the position of the user's head on the smart mattress, and the second position information being used to indicate the position of the user's legs on the smart mattress;

[0014] a second determining module, configured to determine at least one massage position according to the first position information and the second position information;

[0015] The control module is used to control each of the adjustment modules to move to each of the massage positions and activate the massage elements to perform massage.

[0016] In the third aspect, another embodiment of the present application provides a smart mattress, comprising: a control module, a mattress body and an adjustment unit, the adjustment unit comprising at least one adjustment module, each of the adjustment modules comprising at least one massage element, and the control module being used to execute the steps of any method described in the first aspect above.

[0017] In a fourth aspect, another embodiment of the present application provides a storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of any method described in the first aspect are executed.

[0018] The beneficial effects of the present application are: by responding to the user's bed-lying movements, the user's head image and leg image are obtained, and the user's bed position information is determined based on the head image, leg image and a pre-trained lying position prediction model, the bed position information includes: first position information and second position information, and based on the first position information and the second position information, at least one massage position is determined, each adjustment module is controlled to move to each massage position and the massage element is started to perform massage, and it can obtain head and leg images in real time, combine the model to predict the lying position, ensure that the massage positioning is accurate to adapt to different body shapes and postures, avoid the errors of traditional fixed massage points, and can also automatically update the massage position according to the user's body position adjustment when lying in bed, without manual adjustment, to achieve dynamic, intelligent and senseless adjustment, and enhance the user experience. In addition, based on the user's real-time body position data, it can focus on massaging fatigue-prone areas such as shoulders, neck, waist or legs, targetedly relieve the user's fatigue, and enhance the relaxation effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.

[0020] Figure 1 A schematic structural diagram of a smart mattress provided in an embodiment of the present application;

[0021] Figure 2 A schematic structural diagram of a mattress body in a smart mattress provided in an embodiment of the present application;

[0022] Figure 3 A schematic diagram of the structure of an adjustment unit in a smart mattress provided in an embodiment of the present application;

[0023] Figure 4 Another structural diagram of the adjustment unit in the smart mattress provided in an embodiment of the present application;

[0024] Figure 5 A schematic flow chart of a smart mattress control method provided in an embodiment of the present application;

[0025] Figure 6 A schematic diagram of a flow chart for determining at least one massage position in the intelligent mattress control method provided in an embodiment of the present application;

[0026] Figure 7 A schematic diagram of a flow chart for determining a first position sequence in the intelligent mattress control method provided in an embodiment of the present application;

[0027] Figure 8 A schematic diagram of a flow chart for determining at least one massage position in the intelligent mattress control method provided in an embodiment of the present application;

[0028] Figure 9 A schematic diagram of a structure of a lying position prediction model in the intelligent mattress control method provided in an embodiment of the present application;

[0029] Figure 10 A schematic diagram of a process for determining the user's bed position information in the smart mattress control method provided in an embodiment of the present application;

[0030] Figure 11 Another structural diagram of the lying position prediction model in the intelligent mattress control method provided in an embodiment of the present application;

[0031] Figure 12 Another flowchart of determining the user's bed position information in the smart mattress control method provided in an embodiment of the present application;

[0032] Figure 13 A schematic diagram of a flow chart for determining second position information in the intelligent mattress control method provided in an embodiment of the present application;

[0033] Figure 14 A schematic diagram of a process for controlling each adjustment module to move to each massage position and activating the massage elements to perform massage in the intelligent mattress control method provided in an embodiment of the present application;

[0034] Figure 15 A schematic diagram of an intelligent mattress control device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0035] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of illustration and description and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn to scale. The flowcharts used in this application illustrate the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowcharts can be implemented out of sequence, and steps without logical context can be reversed or implemented simultaneously. In addition, those skilled in the art, under the guidance of the contents of this application, can add one or more other operations to the flowchart, or remove one or more operations from the flowchart.

[0036] In addition, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application generally described and shown in the drawings here can be arranged and designed in various configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed application, but merely represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application.

[0037] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the existence of the features declared thereafter, but does not exclude the addition of other features.

[0038] The smart mattresses in the prior art are often limited to fixed modes and cannot dynamically adjust the massage mode according to the user's actual situation, making it difficult to provide users with a comprehensive and comfortable resting environment.

[0039] To address the above-mentioned issues, embodiments of the present application propose an intelligent mattress control method. This method obtains head and leg images of the user in response to the user's movements in bed, and determines the user's bed position information based on the head and leg images and a pre-trained lying position prediction model. The bed position information includes first and second position information. Based on the first and second position information, at least one massage position is determined, and each adjustment module is controlled to move to each massage position and activate the massage elements to perform massage. By acquiring head and leg images in real time and combining them with the model to predict the lying position, this method ensures that massage positioning accurately adapts to different body shapes and postures, avoiding the errors associated with traditional fixed massage points. Furthermore, the method automatically updates the massage position based on the user's movements in bed (such as turning over or sitting up), eliminating the need for manual adjustment. This method achieves dynamic, intelligent, and seamless adjustment, enhancing the user experience. Furthermore, based on real-time body position data, the method can focus on massaging fatigue-prone areas such as the shoulders, neck, waist, or legs, improving relaxation and alleviating fatigue in a targeted manner, thereby improving comfort while maintaining health.

[0040] First, the smart mattress involved in the smart mattress control method provided in the embodiment of the present application is described.

[0041] It can be understood that a smart mattress is a mattress that combines sensors, artificial intelligence (AI), Internet of Things (IoT) and automation technology. It can monitor the user's sleep status, physical condition and lying posture in real time, and automatically adjust support, temperature, massage and other functions to optimize sleep quality and health management.

[0042] Optionally, Figure 1 A schematic diagram of the structure of the smart mattress provided in the embodiment of the present application, referring to Figure 1 As shown, the smart mattress includes: a control module (not shown in the figure), a mattress body (1-1) and an adjustment unit, the adjustment unit includes at least one adjustment module, each adjustment module includes at least one massage element, and the control module is used to execute the steps of the smart mattress control method provided in the embodiment of the present application.

[0043] For example, the embodiment of the present application is illustrated by taking the example that the adjustment unit includes two adjustment modules (1-2 and 1-3). The number of adjustment modules can be adjusted according to actual conditions, which is not elaborated in this application.

[0044] Optionally, continue with reference to Figure 1 As shown, when the adjustment unit includes two adjustment modules (1-2 and 1-3), the adjustment unit may also include a front sliding electric cylinder 1-4, a rear sliding electric cylinder 1-5, a fixing bolt 1-6 and a fixing nut 1-7, so that the front sliding electric cylinder 1-4 and the rear sliding electric cylinder 1-5 can adjust the adjustment unit.

[0045] Optionally, Figure 2 A schematic diagram of the structure of the mattress body in the smart mattress provided in the embodiment of the present application, referring to Figure 2 As shown, the mattress body includes a mattress support 1-1-1 and a mattress filler 1-1-2. For example, the mattress filler can be sponge.

[0046] Optionally, Figure 3 A structural diagram of the adjustment unit in the smart mattress provided in the embodiment of the present application, referring to Figure 3 As shown, the adjustment module 1-2 of the adjustment unit may include a mattress adjustment front support 1-2-1, a front filler 1-2-2, a speaker 1-2-3, a massage element 1-2-4, a sleep detection unit 1-2-5, a roller 1-2-6, and a bolt 1-2-7. For example, the front filler may be a sponge, and the massage element may be an audio vibrator or an air bag.

[0047] Optionally, Figure 4 Another structural diagram of the adjustment unit in the smart mattress provided in the embodiment of the present application, referring to Figure 4 As shown, the adjustment module 1-3 of the adjustment unit may include a mattress adjustment rear support 1-3-1, a rear filler 1-3-2, a massage element 1-2-4, a roller 1-2-6, and a bolt 1-2-7.

[0048] Exemplarily, the massage elements are arranged in preset positions in the adjustment unit, for example, evenly arranged in rows and columns, or arranged in a specific shape.

[0049] Optionally, the control module can be a control module deployed in a cloud server. The control module can interact with the smart mattress and other IoT devices to collect relevant information of the user, process it in the cloud server, and execute the steps of the smart mattress control method provided in the embodiment of the present application to control the smart mattress to perform massage operations and other sleep management operations for the user.

[0050] Optionally, the control module may also be a control module deployed in a smart mattress, for example Figure 4 1-3-3 in the.

[0051] Optionally, the scene where the smart mattress is located may further include: a sensor unit and a visual unit. The smart mattress may interact with the sensor unit and the visual unit to execute the steps of the smart mattress control method provided in the embodiment of the present application.

[0052] The sensor unit may include pressure sensors, inertial sensors, and millimeter wave sensors. Specifically, the pressure sensor may be a pressure point array embedded in a mattress. The inertial sensor may be a wearable device worn by the user, such as a wristband, capable of detecting acceleration and angular changes. Millimeter wave sensors can monitor a person's breathing rate or limb movement in a non-contact manner.

[0053] The visual unit can include an infrared camera or an RGB-D camera. Specifically, the infrared camera can capture movement through thermal imaging or infrared light sources. The RGB-D camera uses depth images to identify key points of the human body. For example, the visual unit can be set at the edge of the smart mattress, such as at the head or foot of the bed.

[0054] The sensor unit and the vision unit can be kept in different modes according to the user's settings, such as a timed off state or an on state.

[0055] The following describes in detail the smart mattress control method provided by the embodiments of the present application in combination with multiple embodiments.

[0056] Figure 5 A flow chart of the intelligent mattress control method provided in the embodiment of the present application, referring to Figure 5 As shown, the method is used to control the smart mattress. The execution subject of the method can be any electronic device with processing capabilities, such as the above-mentioned control module. The method includes:

[0057] S501 : In response to a user lying in bed, obtain a head image and a leg image of the user.

[0058] Optionally, the head image and leg images of the user may be acquired in response to the user's bed-lying action, wherein the bed-lying action may be a specific action performed by the user in bed, such as lying down or turning over.

[0059] For example, the sensor unit and the vision unit can continuously perform motion detection and image acquisition, so as to capture the user's head image and leg image when the user makes a specific motion in bed. The user's head image can be an image including the user's head, and the leg image can be an image including the user's legs.

[0060] For example, the sensor unit and the visual unit can continuously perform motion detection and image acquisition, thereby capturing a head image and leg image of the user that meet preset conditions within a preset time period when the user performs a specific motion in bed. For example, when a user performs a specific motion in bed, the image with the largest exposed area of the user's facial features within 5 seconds is used as the head image, and the image with the largest exposed area of the user's legs within 5 seconds is used as the leg image.

[0061] For example, a target detection model, a key point detection algorithm, or an image segmentation algorithm may be used to detect the positions of the user's head and legs in real time, thereby obtaining images of the user's head and legs.

[0062] S502: Determine the user's bed position information based on the head image, the leg image, and a pre-trained lying position prediction model.

[0063] Optionally, after obtaining the head image and the leg image, the user's bed position information can be determined using a pre-trained lying position prediction model. The user's bed position information is used to indicate the position where the user lies on the smart mattress.

[0064] For example, the head image and the leg image may be input into a pre-trained lying position prediction model to obtain the user's bed position information.

[0065] For example, the head image and the leg image may be spliced together and input into a pre-trained lying position prediction model to obtain the user's bed position information.

[0066] The bed position information includes: first position information and second position information, the first position information is used to indicate the position of the user's head on the smart mattress, and the second position information is used to indicate the position of the user's legs on the smart mattress.

[0067] For example, the position of the user's head on the smart mattress may include: the position of the user's facial features on the smart mattress, the position of the user's external occipital protuberance on the smart mattress, the position of the user's zygomatic protuberance on the smart mattress, etc.

[0068] For example, the positions of the user's legs on the smart mattress may include the positions of the user's thighs, calves, knee joints, and feet on the smart mattress, respectively.

[0069] In one example, the position of the user's thigh on the smart mattress may include: the position of the starting point of the user's thigh on the smart mattress and the position of the distal end of the user's thigh on the smart mattress. In another example, the position of the user's thigh on the smart mattress may include: the position of the center of the user's thigh on the smart mattress.

[0070] S503: Determine at least one massage position according to the first position information and the second position information.

[0071] Optionally, after obtaining the first position information and the second position information, processing may be performed based on the first position information and the second position information to determine at least one massage position.

[0072] The massage position refers to the position of the massage element in the smart mattress when massaging the user.

[0073] For example, the user's body position information can be calculated based on the first position information and the second position information, and at least one massage position can be determined based on the user's body position information. The body position information indicates the position information of various parts of the user's body on the smart mattress, such as the position information of the user's neck, waist, elbows, hips, buttocks, and shoulders on the smart mattress.

[0074] S504: Control each adjustment module to move to each massage position and start the massage elements to perform massage.

[0075] Optionally, after obtaining at least the massage position, each adjustment module may be controlled to move to each massage position and activate the massage elements to perform massage.

[0076] For example, continue to refer to Figure 1 As shown, continuing to take the example of the adjustment unit including two adjustment modules (1-2 and 1-3), each adjustment module can be controlled to move so that each massage element in the adjustment module moves to each massage position, and the massage element is started to perform massage.

[0077] In this embodiment, by responding to the user's bed-lying movements, the user's head image and leg image are obtained, and the user's bed position information is determined based on the head image, leg image and a pre-trained lying position prediction model. The bed position information includes: first position information and second position information. Based on the first position information and the second position information, at least one massage position is determined, and each adjustment module is controlled to move to each massage position and the massage element is started to perform massage. By obtaining head and leg images in real time and combining the model to predict the lying position, it is possible to ensure that the massage positioning is accurate to adapt to different body shapes and postures, avoiding the errors of traditional fixed massage points, and the massage position can be automatically updated according to the user's body position adjustment when lying in bed, without manual adjustment, to achieve dynamic, intelligent and senseless adjustment, thereby improving the user experience. In addition, based on the user's real-time body position data, the massage can focus on massaging fatigue-prone areas such as the shoulders, neck, waist or legs, targetedly relieving the user's fatigue and improving the relaxation effect.

[0078] It is understandable that after obtaining the first position information and the second position information, there are multiple ways to determine at least one massage position, control each adjustment module to move to each massage position, and start the massage element to perform massage, which are described in detail below.

[0079] In one possible implementation, Figure 6 A flow chart of determining at least one massage position in the intelligent mattress control method provided in the embodiment of the present application, referring to Figure 6 As shown, in the above S503, determining at least one massage position according to the first position information and the second position information includes:

[0080] S601: Determine a first position sequence according to first position information.

[0081] Optionally, a first position sequence can be determined based on the first position information. The first position sequence can be used to indicate the positions of the massage elements when massaging the upper body of the user. The first position sequence includes: a plurality of upper body positions.

[0082] Specifically, the first position sequence may include: shoulder position, neck position, back position, waist position, etc.

[0083] For example, after obtaining the first position information, the first position information and a preset standard human body size database can be combined to query and obtain standard shoulder data, standard neck data, standard back data, and standard waist data, and on the basis of the first position information, the standard shoulder data, standard neck data, standard back data, and standard waist data are superimposed respectively to obtain the shoulder position, neck position, back position, and waist position.

[0084] The standard human body size database stores mapping relationships among standard head data, standard shoulder data, standard neck data, standard back data, and standard waist data. The head data can be obtained based on the first position information, and the standard shoulder data, standard neck data, standard back data, and standard waist data can be obtained by querying the standard human body size database based on the head data.

[0085] For example, after obtaining the first position information, the user's body data may be obtained, so that the shoulder position, neck position, back position, and waist position may be calculated based on the user's body data and the first position information.

[0086] The user's body data may be height. After obtaining the user's height, the shoulder position, neck position, back position, and waist position may be calculated in combination with preset body proportion data.

[0087] S602: Determine a second position sequence according to the second position information.

[0088] Optionally, after obtaining the second position information, a second position sequence may be determined according to the positions of the user's thigh, calf, knee joint, and foot on the smart mattress, respectively.

[0089] For example, the positions of the user's thighs, calves, and feet on the smart mattress may be used as the lower body positions in the second position sequence.

[0090] The second position sequence includes: multiple lower body positions.

[0091] S603: Each upper body position in the first position sequence and each lower body position in the second position sequence is regarded as a massage position.

[0092] Optionally, each upper body position in the first position sequence and each lower body position in the second position sequence is used as a massage position.

[0093] The first position sequence is determined through the first position information, and the second position sequence is determined through the second position information, so that each upper body position in the first position sequence and each lower body position in the second position sequence are respectively used as a massage position, and multiple upper body positions and multiple lower body positions that the user needs to massage can be determined respectively, so that dynamic massage of the user can be achieved based on multiple upper body positions and multiple lower body positions, ensuring that the massage positioning accurately adapts to different body shapes and postures, avoiding errors of traditional fixed massage points, and automatically updating the massage position according to the user's body position adjustment when lying in bed, without manual adjustment, realizing dynamic, intelligent and senseless adjustment, and improving the user experience.

[0094] In a possible implementation, at least one adjustment module includes: a first adjustment module and a second adjustment module. The above-mentioned S504 controls each adjustment module to move to each massage position and activates the massage element to perform massage, including:

[0095] According to the order of the upper body positions in the first position sequence, the first adjustment module is controlled to move to each upper body position in sequence, and the massage element in the first adjustment module is controlled to perform massage at each upper body position; according to the order of the lower body positions in the second position sequence, the second adjustment module is controlled to move to each lower body position in sequence, and the massage element in the second adjustment module is controlled to perform massage at each lower body position.

[0096] Optionally, continue with reference to Figure 1 As shown, the adjustment unit includes two adjustment modules (1-2 and 1-3) as an example, the first adjustment module is Figure 1 1-2 in the second adjustment module is Figure 1 1-3 can control the first adjustment module 1-2 to move to each upper body position in sequence according to the order of each upper body position in the first position sequence, and control the massage elements in the first adjustment module 1-2 to perform massage at each upper body position.

[0097] Optionally, according to the order of the lower body positions in the second position sequence, the second adjustment modules 1-3 are controlled to move to the lower body positions in sequence, and the massage elements in the second adjustment modules 1-3 are controlled to perform massage at the lower body positions.

[0098] Exemplarily, only one massage element may be deployed in the first adjustment module 1-2, or at least one massage element may be deployed in a specific shape. The first adjustment module 1-2 may be controlled to move to each upper body position in sequence according to the order of each upper body position in the first position sequence, so that the massage elements in the first adjustment module 1-2 are located at each upper body position, and the massage elements in the first adjustment module 1-2 are controlled to perform massage at each upper body position, so that the smart mattress can massage each upper body position of the user in the order of each upper body position after the user lies down, so that the massage position can be automatically updated according to the user's body position adjustment when lying in bed, without manual adjustment, to achieve dynamic, intelligent and senseless adjustment, thereby improving the user experience.

[0099] Exemplarily, only one massage element may be deployed in the second adjustment module 1-3, or at least one massage element may be deployed in a specific shape. According to the order of each lower body position in the second position sequence, the second adjustment module 1-3 is controlled to move to each lower body position in sequence, and the massage elements in the second adjustment module 1-3 are controlled to perform massage at each lower body position, so that the smart mattress can massage each lower body position of the user in the order of each lower body position after the user lies down, so that the massage position can be automatically updated according to the body position adjustment of the user when lying in bed, without manual adjustment, to achieve dynamic, intelligent and senseless adjustment, thereby improving the user experience.

[0100] For example, the specific shape may be that the massage elements are arranged in a row or a column.

[0101] In one possible implementation, Figure 7 A flow chart of determining the first position sequence in the intelligent mattress control method provided in the embodiment of the present application, referring to Figure 7 As shown, determining the first position sequence according to the first position information in the above S601 includes:

[0102] S701: Determine a reference point position according to first position information and second position information.

[0103] Optionally, the reference point position may be determined based on the position of the user's legs on the smart mattress in the first position information and the second position information, wherein the reference point position may be the position of the seventh cervical vertebra spinous process (C7).

[0104] In one example, the line from the center point of the head to the hip joint in the first position information and the second position information can be calculated as the torso direction vector, and the reference amount can be determined based on the user's height, and the reference point position can be calculated using the reference amount and the torso direction vector.

[0105] The reference amount refers to the offset of the seventh cervical spinous process (C7) relative to the bottom of the head at the user's current height. The user's height can be calculated based on the first position information and the second position information.

[0106] In another example, the user's height can be calculated using the first position information and the second position information, and the head length ratio can be calculated using the user's height and the first position information, thereby calculating the reference point position based on the head length ratio.

[0107] S702: Determine a first position sequence according to the reference point positions.

[0108] Optionally, after obtaining the reference point position, the first position information and the reference point position may be subjected to Bezier curve fitting or spline interpolation to obtain the neck position.

[0109] Optionally, after obtaining the reference point position, the user's shoulder width may be calculated based on the user's height, and the shoulder position may be calculated based on the user's shoulder width and the reference point position.

[0110] Optionally, after obtaining the reference point position, the user's back position may be calculated based on the reference point position.

[0111] The first and second position information are used to determine the reference point location, and then the first position sequence is determined based on the reference point location. This allows multiple upper body positions to be determined from a single reference point, reducing the need for full-body sensor coverage, reducing reliance on sensors, improving computational efficiency, and simplifying operations. Furthermore, even if the user's body is partially obscured, multiple upper body positions can be accurately determined, improving dynamic adaptability.

[0112] In one possible implementation, Figure 8 A flow chart of determining at least one massage position in the intelligent mattress control method provided in the embodiment of the present application, referring to Figure 8 As shown, in the above S503, determining at least one massage position according to the first position information and the second position information includes:

[0113] S801. Determine a first massage point according to first position information.

[0114] Optionally, a first massage point may be determined based on the first position information, wherein the first massage point is used to indicate the position of the first adjustment module of the smart mattress when massaging the upper body of the user.

[0115] For example, the first massage point can be the center point of the user's upper body, or a specific point on the user's upper body. The specific point can be pre-configured by the user or obtained by analyzing the user's historical preferences. For example, it can be the location of the Jianjing acupoint or the Dazhui acupoint.

[0116] For example, assuming that it is determined in the user's historical preferences that the user often massages his shoulders, the first massage point can be the location of the user's Jianjing acupoint. Then, based on the first position information, the user's acromion position can be determined, and based on the user's acromion position, the location of the user's Jianjing acupoint can be calculated.

[0117] S802: Determine a second massage point according to the second position information.

[0118] Optionally, a second massage point may be determined based on the second position information, wherein the second massage point is used to indicate the position of the second adjustment module of the smart mattress when massaging the lower body of the user.

[0119] For example, the second massage point can be the center point of the user's lower body, or a specific point on the user's lower body. The specific point can be pre-configured by the user or determined by analyzing the user's historical preferences. For example, it can be the location of the Weizhong acupoint or the Chengshan acupoint.

[0120] For example, assuming that the user's historical preferences show that the user often massages the back of the knee joint, the second massage point can be the location of the user's Weizhong acupoint. Then, based on the second position information, the user's thigh length and the length of the lower edge of the patella can be determined, and based on the user's thigh length and the length of the lower edge of the patella, the location of the user's Jianjing acupoint can be calculated.

[0121] S803: Set the first massage point and the second massage point as a massage position respectively.

[0122] Optionally, the first massage point and the second massage point can be respectively used as a massage position.

[0123] In a possible implementation, the adjustment module includes a first adjustment module and a second adjustment module. The above-mentioned S504 controls each adjustment module to move to each massage position and activates the massage element to perform massage, including:

[0124] The first adjustment module is controlled to move to the first massage point, and the massage elements in the first adjustment module are controlled to perform massage; the second adjustment module is controlled to move to the second massage point, and the massage elements in the second adjustment module are controlled to perform massage.

[0125] Optionally, continue with reference to Figure 1 As shown, the adjustment unit includes two adjustment modules (1-2 and 1-3) as an example, the first adjustment module is Figure 1 1-2 in the second adjustment module is Figure 1 1-3 can control the first adjustment module 1-2 to move to the first massage point, and control the massage elements in the first adjustment module 1-2 to perform massage.

[0126] Optionally, the second adjustment module 1 - 3 is controlled to move to the second massage point, and the massage elements in the second adjustment module are controlled to perform massage.

[0127] Exemplarily, only one massage element may be deployed in the first adjustment module 1-2, or at least one massage element may be deployed in a specific shape. The first adjustment module 1-2 may be controlled to move to the first massage point, and the massage elements in the first adjustment module 1-2 may be controlled to perform massage, so that the focus of the massage on fatigue-prone areas such as the shoulders and neck can be adjusted according to the user's posture when lying in bed, so as to relieve the user's fatigue in a targeted manner, enhance the relaxation effect, and take into account health maintenance while improving comfort, thereby enhancing the user's experience.

[0128] Exemplarily, only one massage element may be deployed in the second adjustment module 1-3, or at least one massage element may be deployed in a specific shape. The second adjustment module 1-3 is controlled to move to the second massage point, and the massage elements in the second adjustment module 1-3 are controlled to perform massage, so that the focus of massage on fatigue-prone areas such as the legs can be adjusted according to the user's posture when lying in bed, targeted relief of user fatigue, enhanced relaxation effect, and taking into account health maintenance while improving comfort, thereby enhancing the user experience.

[0129] For example, the specific shape may be that the massage elements are arranged in a row, a column, or arranged in the contour of a human body.

[0130] In a possible implementation, determining at least one massage position according to the first position information and the second position information in S503 includes:

[0131] The massage position is calculated based on the first position information and the second position information.

[0132] Optionally, a massage position may be calculated based on the first position information and the second position information, wherein the massage position is used to indicate the position of the adjustment unit of the smart mattress when massaging the user's entire body.

[0133] For example, the massage location can be the center point of the user's body, or a specific point on the user's body. The specific point can be pre-configured by the user or determined by analyzing the user's historical preferences. For example, the location of the Dazhui acupoint, the Shenque acupoint, and the Mingmen acupoint can be located.

[0134] In one possible implementation, the adjustment unit includes an adjustment module; and the above-mentioned step S504 of controlling each adjustment module to move to each massage position and starting the massage element to perform massage includes:

[0135] The control adjustment module moves to the massage position, and controls the massage elements in the control module to perform massage.

[0136] Optionally, taking the example of an adjustment unit including an adjustment module, the adjustment module can be controlled to move to the massage position, and the massage elements in the adjustment module can be controlled to perform massage, so that the massage position can be automatically updated, dynamic, intelligent and seamless adjustment can be achieved, and the user experience can be enhanced.

[0137] The above is an exemplary description of the process of determining at least one massage position, controlling each adjustment module to move to each massage position, and starting the massage element to perform massage. The following describes the process of determining the user's bed position information based on the head image, leg image, and the pre-trained lying position prediction model.

[0138] In one possible implementation, Figure 9 A structural diagram of a lying position prediction model in the intelligent mattress control method provided in the embodiment of the present application, referring to Figure 9 As shown, the lying position prediction model includes: a feature extraction module and a key point comparison module. Figure 10 A flow chart of determining the user's bed position information in the smart mattress control method provided in the embodiment of the present application, referring to Figure 10 As shown, the above S502 determines the user's bed position information based on the head image, the leg image and the pre-trained lying position prediction model, including:

[0139] S1001. Determine head features and leg features based on the head image, leg image, and feature extraction module.

[0140] Optionally, the head image is input into the feature extraction module to extract the head features, and the leg image is input into the feature extraction module to extract the leg features.

[0141] Optionally, the head image and the leg image may be input into a feature extraction module to extract the head features and the leg features.

[0142] Among them, the feature extraction module can be implemented based on a two-dimensional key point detection algorithm to extract the head key point features of the head image and the leg key point features of the leg image.

[0143] S1002: Determine the user's bed position information based on head features, leg features, and a key point comparison module.

[0144] Optionally, the head features and leg features are input into a key point comparison module to determine the user's bed position information.

[0145] Specifically, the key point comparison module is used to perform key point comparison on features.

[0146] Through the feature extraction module and the key point comparison module, the user's bed position information can be accurately determined.

[0147] In one possible implementation, Figure 11 Another structural diagram of the lying position prediction model in the intelligent mattress control method provided in the embodiment of the present application, referring to Figure 11 As shown, in Figure 9 Based on this, the lying position prediction model also includes: a leg segmentation module. Figure 12 Another flow chart of determining the user's bed position information in the smart mattress control method provided in the embodiment of the present application, referring to Figure 12 As shown, the above S1002 determines the user's bed position information based on the head features, leg features and key point comparison module, including:

[0148] S1201. Determine first position information based on head features and a key point comparison module.

[0149] Optionally, the head features may be input into a key point comparison module, and the key point comparison module may compare the head features to determine the first position information.

[0150] Specifically, the key point comparison module is used to determine the position information of the key points in the head features based on the head features.

[0151] S1202: Determine second position information according to the leg features and the leg segmentation module.

[0152] Optionally, the leg features may be input into a leg segmentation module to obtain second position information.

[0153] In a possible implementation, determining the first position information according to the head feature and the key point comparison module in S1201 includes:

[0154] The key point comparison module determines the user's head state based on the head features and preset standard head features; the key point comparison module determines the first position information based on the head state.

[0155] Optionally, the key point comparison module can be pre-trained and contain preset standard head features. The key point comparison module compares the input user head features with the standard head features to determine the user's head state. The user's head state can be used to indicate the user's head posture while in bed, specifically, data representing the head's rotation angle relative to the plane of the smart mattress.

[0156] Optionally, after obtaining the head state, the first position information can be calculated based on the head state and head features, so that when the user lies down on the smart mattress with any head posture, the accuracy of the obtained first position information can be guaranteed, thereby improving the targeted massage and thus improving the user's comfort.

[0157] In one possible implementation, Figure 13 A flow chart of determining the second position information in the intelligent mattress control method provided in the embodiment of the present application, referring to Figure 13 As shown, the above S1202 determines the second position information according to the leg features and the leg segmentation module, including:

[0158] S1301. The leg segmentation module determines the area ratio of each part of the user's leg according to leg features.

[0159] Optionally, the leg features are input into a leg segmentation module, which predicts the area ratios of various parts of the user's leg based on the leg features. Specifically, the area ratios of various parts of the leg include: the area ratio of the thigh, the area ratio of the calf, the area ratio of the knee, and the area ratio of the foot.

[0160] S1302: The leg segmentation module determines the user's leg status according to the area ratio of each part of the user's leg.

[0161] Optionally, the leg segmentation module calculates the user's leg state based on the area ratio of each part of the user's leg. The user's leg state can be used to indicate the posture of the user's legs while lying in bed. Specifically, it can be represented by the orientation data and overlap information of the legs relative to the plane of the smart mattress.

[0162] S1303: The leg segmentation module determines second position information based on the leg state.

[0163] Optionally, the leg segmentation module calculates the second position information based on the obtained leg state, so as to ensure the accuracy of the obtained second position information when the user lies down on the smart mattress with any leg posture, thereby improving the targeted massage and thus improving the user's comfort.

[0164] In a possible implementation, each of the adjustment modules includes: an electric cylinder. Figure 14 This is a flow chart of controlling each adjustment module to move to each massage position and starting the massage element to perform massage in the intelligent mattress control method provided in the embodiment of the present application, with reference to Figure 14 As shown, the above S504 controls each adjustment module to move to each massage position and activates the massage element to perform massage, including:

[0165] S1401. Determine the movement information of the electric cylinder according to each massage position.

[0166] Optionally, after determining each massage position, the current position of each electric cylinder can be obtained, and based on each massage position and the current position of each electric cylinder, movement information of the electric cylinder can be calculated. The movement information is used to indicate movement data of the electric cylinder in each adjustment module. The electric cylinder can be the aforementioned front sliding electric cylinder or rear sliding electric cylinder.

[0167] S1402: Move each adjustment module according to the movement information, and control each massage element in each adjustment module to perform massage movement.

[0168] Optionally, each adjustment module is moved according to the movement information, and each massage element in each adjustment module is controlled to perform massage movement.

[0169] Optionally, the control module includes: a master controller and a slave controller.

[0170] The main controller controls each massage element in the first adjustment module to perform massage movement according to the first position information, or the slave controller sends the first position information to the main controller so that the main controller controls each massage element in the first adjustment module to perform massage movement according to the first position information.

[0171] In a possible implementation, the method further includes:

[0172] Determine the user's sleep quality information; and control the first adjustment module and the second adjustment module to optimize the sleep quality according to the sleep quality information.

[0173] Optionally, the user's sleep quality can be monitored by the aforementioned sensor unit and visual unit to determine the user's sleep quality information, and then the first adjustment module and the second adjustment module can be controlled to optimize the sleep quality according to the sleep quality information.

[0174] Based on the same inventive concept, an intelligent mattress control device corresponding to the intelligent mattress control method is also provided in the embodiment of the present application. Since the principle of solving the problem by the device in the embodiment of the present application is similar to that of the above-mentioned intelligent mattress control method in the embodiment of the present application, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0175] Figure 15 This is a schematic diagram of an intelligent mattress control device provided in an embodiment of the present application, referring to Figure 15 As shown, the device includes: an acquisition module 1501, a first determination module 1502, a second determination module 1503 and a control module 1504;

[0176] A first determining module 1502 is configured to determine the user's bed position information based on the head image, the leg image, and a pre-trained lying position prediction model, where the bed position information includes first position information and second position information, where the first position information indicates the position of the user's head on the smart mattress, and the second position information indicates the position of the user's legs on the smart mattress;

[0177] A second determining module 1503 is configured to determine at least one massage position based on the first position information and the second position information;

[0178] The control module 1504 is used to control each adjustment module to move to each massage position and activate the massage elements to perform massage.

[0179] In a possible implementation, the second determining module 1503 is specifically configured to:

[0180] Determining a first position sequence according to the first position information, the first position sequence including: a plurality of upper body positions;

[0181] determining a second position sequence according to the second position information, the second position sequence including: a plurality of lower body positions;

[0182] Each upper body position in the first position sequence and each lower body position in the second position sequence is regarded as a massage position.

[0183] In a possible implementation, the at least one adjustment module includes: a first adjustment module and a second adjustment module; and a control module 1504, specifically configured to:

[0184] controlling the first adjustment module to move to each upper body position in sequence according to the order of each upper body position in the first position sequence, and controlling the massage elements in the first adjustment module to perform massage at each upper body position;

[0185] According to the order of the lower body positions in the second position sequence, the second adjustment module is controlled to move to the lower body positions in sequence, and the massage elements in the second adjustment module are controlled to perform massage at the lower body positions.

[0186] In a possible implementation, the second determining module 1503 is specifically configured to:

[0187] Determining a reference point position according to the first position information and the second position information;

[0188] A first position sequence is determined according to the reference point positions.

[0189] In a possible implementation, the second determining module 1503 is specifically configured to:

[0190] determining a first massage point according to the first position information;

[0191] determining a second massage point according to the second position information;

[0192] The first massage point and the second massage point are respectively regarded as a massage position.

[0193] In a possible implementation, the adjustment module includes a first adjustment module and a second adjustment module; the control module 1504 is specifically configured to:

[0194] controlling the first adjustment module to move to the first massage point, and controlling the massage elements in the first adjustment module to perform massage;

[0195] The second adjusting module is controlled to move to the second massage point, and the massage elements in the second adjusting module are controlled to perform massage.

[0196] In one possible implementation, the lying position prediction model includes: a feature extraction module and a key point comparison module; a first determination module 1502, specifically configured to:

[0197] Determine head features and leg features based on the head image, the leg image and the feature extraction module;

[0198] The user's bed position information is determined based on head features, leg features and key point comparison modules.

[0199] In a possible implementation, the lying position prediction model further includes: a leg segmentation module; and a first determination module 1502, specifically configured to:

[0200] Determine first position information according to the head feature and the key point comparison module;

[0201] The second position information is determined according to the leg features and the leg segmentation module.

[0202] In a possible implementation, the first determining module 1502 is specifically configured to:

[0203] The key point comparison module determines the user's head state based on head features and preset standard head features;

[0204] The key point comparison module determines the first position information based on the head state.

[0205] In a possible implementation, the first determining module 1502 is specifically configured to:

[0206] The leg segmentation module determines the area ratio of each part of the user's leg based on the leg features;

[0207] The leg segmentation module determines the user's leg status based on the area ratio of each part of the user's leg;

[0208] The leg segmentation module determines second position information based on the leg state.

[0209] In a possible implementation, each adjustment module includes: an electric cylinder; and a control module 1504, specifically configured to:

[0210] Determine the movement information of the electric cylinder according to each massage position;

[0211] According to the movement information, each adjustment module is moved, and each massage element in the adjustment module is controlled to perform massage movement.

[0212] For descriptions of the processing flow of each module in the device and the interaction flow between each module, reference can be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.

[0213] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the steps of the above-mentioned intelligent mattress control method are executed.

[0214] The above is only a specific implementation method of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with this technical field can easily think of changes or replacements within the technical scope disclosed in this application, which should be covered by the protection scope of the present application.

Claims

1. A smart mattress control method, characterized in that: The method is used to control a smart mattress, the smart mattress comprising: a mattress body and an adjustment unit, the adjustment unit comprising at least one adjustment module, each of the adjustment modules comprising at least one massage element, the method comprising: In response to the user's lying-in-bed action, acquiring a head image and a leg image of the user; Determining, based on the head image, the leg image, and a pre-trained lying position prediction model, bed position information of the user, the bed position information comprising: first position information and second position information, the first position information being used to indicate the position of the user's head on the smart mattress, and the second position information being used to indicate the position of the user's legs on the smart mattress; determining at least one massage position according to the first position information and the second position information; The adjusting modules are controlled to move to the massage positions and the massage elements are activated to perform massage.

2. The intelligent mattress control method according to claim 1, characterized in that: The determining of at least one massage position according to the first position information and the second position information includes: Determining a first position sequence according to the first position information, wherein the first position sequence includes: a plurality of upper body positions; determining a second position sequence according to the second position information, wherein the second position sequence includes: a plurality of lower body positions; Each upper body position in the first position sequence and each lower body position in the second position sequence is respectively regarded as a massage position.

3. The intelligent mattress control method according to claim 2, characterized in that: The at least one adjustment module includes: a first adjustment module and a second adjustment module; The controlling each of the adjustment modules to move to each of the massage positions and activating the massage elements to perform massage includes: controlling the first adjustment module to move to each upper body position in sequence according to the order of each upper body position in the first position sequence, and controlling the massage elements in the first adjustment module to perform massage at each upper body position; According to the order of each lower body position in the second position sequence, the second adjustment module is controlled to move to each lower body position in sequence, and the massage elements in the second adjustment module are controlled to perform massage at each lower body position.

4. The intelligent mattress control method according to claim 2, characterized in that: The determining a first position sequence according to the first position information includes: Determining a reference point position according to the first position information and the second position information; The first position sequence is determined according to the reference point positions.

5. The intelligent mattress control method according to claim 1, characterized in that: The determining of at least one massage position according to the first position information and the second position information includes: determining a first massage point according to the first position information; determining a second massage point according to the second position information; The first massage point and the second massage point are respectively regarded as a massage position.

6. The intelligent mattress control method according to claim 5, characterized in that: The adjustment module includes a first adjustment module and a second adjustment module; The controlling each of the adjustment modules to move to each of the massage positions and activating the massage elements to perform massage includes: controlling the first adjustment module to move to the first massage point, and controlling the massage elements in the first adjustment module to perform massage; The second adjusting module is controlled to move to the second massage point, and the massage elements in the second adjusting module are controlled to perform massage.

7. The intelligent mattress control method according to claim 1, characterized in that: The lying position prediction model includes: a feature extraction module and a key point comparison module; The determining the user's bed position information based on the head image, the leg image, and a pre-trained lying position prediction model includes: Determining head features and leg features according to the head image, the leg image, and the feature extraction module; The bed position information of the user is determined based on the head features, the leg features and the key point comparison module.

8. The intelligent mattress control method according to claim 7, characterized in that: The lying position prediction model further includes: a leg segmentation module; The determining the bed position information of the user according to the head feature, the leg feature, and the key point comparison module includes: Determining the first position information according to the head feature and the key point comparison module; The second position information is determined according to the leg features and the leg segmentation module.

9. The intelligent mattress control method according to claim 8, characterized in that: The determining the first position information according to the head feature and the key point comparison module includes: The key point comparison module determines the head state of the user based on the head features and preset standard head features; The key point comparison module determines the first position information based on the head state.

10. The intelligent mattress control method according to claim 8, characterized in that: The determining the second position information according to the leg feature and the leg segmentation module includes: The leg segmentation module determines the area ratio of each part of the user's leg according to the leg features; The leg segmentation module determines the leg status of the user according to the area ratio of each part of the user's leg; The leg segmentation module determines the second position information based on the leg state.

11. The intelligent mattress control method according to claim 1, characterized in that: Each of the adjustment modules includes an electric cylinder; and controlling each of the adjustment modules to move to each of the massage positions and activating the massage elements to perform massage includes: determining movement information of the electric cylinder according to each of the massage positions; According to the movement information, each of the adjustment modules is moved, and each massage element in the adjustment module is controlled to perform massage movement.

12. A smart mattress, characterized in that: include: A control module, a mattress body and an adjustment unit, wherein the adjustment unit includes at least one adjustment module, each of which includes at least one massage element, and the control module is used to execute the steps of the intelligent mattress control method according to any one of claims 1 to 11.