Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
It should be noted that the terms "comprising" 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, article, or apparatus that comprises a list of steps or elements is not limited to only those listed steps or elements but may include other steps or elements not listed or inherent to such process, method, article, or apparatus.
The embodiment of the application discloses a body-building recovery method based on a mattress, the mattress and a storage medium, which can massage body-building parts of a user by using the mattress, facilitate muscle relaxation of the user, achieve a sleep-aiding effect and better promote body-building recovery. The following will describe in detail.
Referring to fig. 1, fig. 1 is an exemplary diagram of an application scenario of a mattress-based fitness recovery method according to an embodiment of the present application. As shown in fig. 1, a mattress 10 and a mobile terminal 20 may be included. Wherein,
Mattress 10 may include at least a controller and a communication module. The controller may be a unit or module with computing power, such as a single-chip microcomputer, an electronic control unit (Electronic Control Unit, ECU), etc. The communication module can be a Bluetooth module, a Wi-Fi module and other modules which can be used for data transmission. The mattress is internally provided with a plurality of inflatable and deflatable air bags, the controller can control the air bags to perform inflation operation by sending inflation instructions to the air bags, and can control the air bags to perform deflation operation by sending deflation instructions to the air bags. When the inflation operation is performed, the airbag inflates, and the volume of the airbag becomes large; when the deflation operation is performed, the balloon is deflated, and the volume of the balloon becomes small.
The mobile terminal 20 may include a smart phone, a tablet computer, a personal computer, and the like, and is not particularly limited.
The mobile terminal 20 may be loaded with an application for recording workout plan data, in which the user may enter a workout plan. For example, the workout plan may include: training chest by monday, training buttocks by monday, training back by monday, etc. Or the mobile terminal may be loaded with an application program for providing exercise courses, which the user may follow to exercise. Or the mobile terminal can be further loaded with an application program for recording the body-building action, the mobile terminal can be in communication connection with wearable equipment such as an intelligent watch and an intelligent bracelet, the body-building action of a user is identified through the motion data detected by the motion sensors such as an accelerometer and a gyroscope of the wearable equipment, and the application program for recording the body-building action is displayed.
The mobile terminal 20 may establish a communication connection with the mattress 10. By way of example, the mobile terminal 20 may establish a Bluetooth communication connection, wi-Fi communication connection, with the mattress 10.
Referring to fig. 2, fig. 2 is a schematic flow chart of a method for recovering fitness based on a mattress according to an embodiment of the present application, where the method can be applied to the mattress, and can be executed by a unit or a module with computing capability, such as a single-chip microcomputer, an ECU, etc. of the mattress. As shown in fig. 2, the method may include the steps of:
210. and receiving the body-building part sent by the mobile terminal.
The exercise location is identified by the mobile terminal from exercise data of the current date. The workout data may include workout plan data, workout record data, and the like.
For example, the mobile terminal may read exercise program data recorded by the application program and determine the exercise location based on the current date. For example, the current date is monday and the exercise program data shows monday training chest, then the exercise site is chest.
The mobile terminal can also read exercise course data recorded by the application program and played on the current date, and determine the exercise part according to the exercise course data played on the current date. For example, when the mobile terminal plays the course "abdominal muscle tearers" today, the exercise part is the abdomen.
The mobile terminal may also read exercise record data recorded by the application program and determine the exercise location based on the current date, for example. For example, the application program records that the user performed a swimming exercise on monday and strength training on monday. The current date is monday, and the body-building part is the whole body.
220. After detecting that a person is on the mattress, the sleeping area of the person is identified.
As an alternative implementation mode, the mattress can be further provided with a plurality of pressure sensors, the setting positions of the different pressure sensors are different, and whether a person is on the mattress can be judged according to pressure data acquired by the pressure sensors. For example, if there is a pressure sensor that collects a pressure value greater than a pressure threshold, it may be determined that a person is detected on the mattress.
After detecting that a person is on the mattress, the mattress can further determine the setting positions of the effective pressure sensors, which are acquired by the pressure sensors and have pressure values larger than a pressure threshold value, in the mattress, so that the sleeping area of the person on the mattress can be determined.
As another alternative implementation mode, the mattress can be in communication connection with the camera, the mattress can receive the mattress image sent by the camera, and the person on the mattress can be determined by carrying out human body identification on the mattress image. The human body recognition can be performed by methods such as feature matching or deep neural network, and the like, and is not particularly limited.
After detecting that a person is on the mattress, the mattress can further identify the mattress in the mattress image, and the sleeping area of the person on the mattress is determined according to the image positions of the mattress and the person in the mattress image respectively. The mattress can convert the image positions corresponding to the mattress and the human body respectively to a world coordinate system through the external parameters and the internal parameters of the camera, and a relative coordinate system is built by taking the mattress as an origin. Then, the through points can be converted to the corresponding positions of the mattress and the human body under the world coordinate system to be expressed under the relative coordinate system, so that the position of the human body relative to the mattress is obtained, and the sleeping area of the human body on the mattress is determined.
It should be noted that, in other possible embodiments, the mattress may detect whether a person is on the mattress through the pressure sensor, and identify a sleeping area where the person is on the mattress through the mattress image captured by the camera; or whether a person is on the mattress or not can be detected through the mattress image, and the sleeping area of the person on the mattress is identified through the pressure sensor, and the method is not particularly limited.
230. A first sub-region corresponding to a workout site is determined in the sleep area.
In the embodiment of the application, after the sleep area is determined, the mattress can divide the sleep area according to the distribution rule of the body parts, the sleep area is divided into two or more subareas, and different subareas respectively correspond to different body parts. The number of divided subareas can be determined according to the air bag setting density in the mattress, and the higher the air bag setting density is, the more the number of subareas is.
Referring to fig. 3, fig. 3 is an exemplary diagram illustrating a sleep area division according to an embodiment of the present application. As shown in fig. 3, the area of the person in which the mattress 10 is located is a sleeping area 30. Sleep area 30 may be divided into 5 sub-areas, respectively a head area 31, a chest or back area 32, a waist or abdomen area 33, a buttocks area 34, a leg area 35.
In embodiments of the present application, the mattress may determine a first sub-region corresponding to the exercise site in two or more sub-regions of the sleep area division. For example, with continued reference to fig. 3, if the exercise site is the buttocks, the first sub-region may be the buttocks region 34. If the exercise site is a back, the first sub-region may be a chest or back region 32.
It should be noted that the number of first sub-regions may be less than or equal to the number of exercise sites. For example, if the exercise performed by the user on the current date is a High intensity intermittent exercise (High-INTENSITY INTERVAL TRAINING, HIIT) for the whole body, the exercise site determined by the mobile terminal may include chest, back, abdomen and legs. Correspondingly, the first sub-region may comprise a chest or back region 32, a waist or abdomen region 33 and a leg region 35.
When the sleeping area is divided into different subareas, as an alternative implementation manner, the mattress can directly use one end, closest to the bed head, of the sleeping area as a reference, and divide the sleeping area according to the distribution rule of the body part.
However, although the head is facing the head of the bed, it is a conventional posture in which most people lie in the bed. But in some possible scenarios, such as a larger mattress, a more random lying down, etc., the head may not be facing the head of the bed.
As another alternative embodiment, the mattress may also detect the head position of the human body, and after detecting the head position, divide the sleeping area according to the distribution rule of the body parts based on the detected head position. For example, the detected head position may be at an end near the head of the bed or at an end remote from the head of the bed. Therefore, the head position is detected first, and then the sleep area is divided by taking the head position as a reference, so that the accuracy of division can be improved, and the influence of the unconventional sleep posture on the accuracy of division can be reduced.
Embodiments in which the mattress detects head position may include, but are not limited to, the following two:
Mode one: the mattress can be provided with pressure sensor and sound play device, and mattress accessible sound play device plays suggestion pronunciation, suggestion user rotates the head. For example, the user may be prompted to turn the head left to right or right to left, or the played prompting voice may also include the action steps of a head healthcare operation. The mattress can detect the pressure value collected by each pressure sensor after prompting voice playing, determine the pressure sensor with the pressure value changed from each pressure sensor, and determine the setting position of the pressure sensor with the pressure value changed as the head position of the human body. In addition, the action of rotating the head can be used for detecting the position of the head, and can also guide the human body to stretch neck muscles and relax the neck muscles.
Mode two: the mattress can be provided with a plurality of pressure sensors, and the head position of a human body can be determined by analyzing the pressure values acquired by the pressure sensors. Wherein the pressure applied to the mattress is different for different body parts due to different weight and different contact area with the mattress. Therefore, the mattress can determine the pressure sensor pressed by the head according to the pressure values acquired by different pressure sensors, and the setting position of the pressure sensor pressed by the head is determined as the head position.
240. The airbag disposed in the first sub-region is controlled to alternately perform an inflation operation and a deflation operation.
In the embodiment of the present application, the number of the air bags in the first sub-area is not limited, and may be one or more. The number of times the air cells of the first sub-region alternately perform the inflating operation and the deflating operation is not limited. The inflatable process of the air bag can apply certain pressure to the human body, and the inflatable operation and the deflatable operation which are alternately executed by the air bag of the first subarea can achieve the effect of massaging the body-building part.
It can be seen that in the foregoing embodiments, the mobile terminal may identify the user's exercise location from the exercise data of the current date and send the exercise location to the mattress. After detecting that a person is on the bed, the mattress can further determine a first subarea corresponding to the body-building part in the sleep area by detecting the sleep area of the person, so as to control the air bags arranged in the first subarea to alternately perform the air inflation operation and the air deflation operation, massage the body-building part and relax muscles of the body-building part. And moreover, the mattress provides a massage function, so that the back and other parts which are difficult to massage by a single person can be deeply relaxed, and a user can directly fall asleep after the massage is finished, and the position is not required to be moved, thereby being beneficial to promoting the user to fall asleep more quickly. In addition, the massage on the body-building part is beneficial to relieving fatigue and can promote the user to fall asleep more quickly.
Referring to fig. 4, fig. 4 is a flow chart illustrating another exercise recovery method based on a mattress according to an embodiment of the present application, which can be applied to the mattress. As shown in fig. 4, the method may include the steps of:
410. and receiving the body-building part sent by the mobile terminal.
In step 410, the exercise site is identified by the mobile terminal from exercise data for the current date.
420. After detecting that a person is on the mattress, the sleeping area of the person is identified.
430. A first sub-region corresponding to the exercise site is determined in the sleep area.
The implementation of steps 410-430 can be seen in the foregoing embodiments, and the following descriptions are omitted.
440. Detecting a first posture of a human body on the mattress, and determining a contact position of the human body and the mattress according to the first posture.
In the embodiment of the application, the mattress can be provided with a plurality of pressure sensors, and the pressure values respectively acquired by the pressure sensors can be analyzed to identify the first posture of the human body on the mattress. Or the mattress can also recognize the first posture of the human body on the mattress by performing posture recognition on the mattress image acquired by the camera, and the method is not particularly limited.
For example, the first gesture may include: supine position, prone position, etc., and is not particularly limited.
The different first gestures may correspond to different contact locations. For example, if the first posture is a supine position, the contact locations may include the head, back, waist, buttocks, thigh backside, calf backside. If the first posture is prone, the contact portion may include: head, chest, abdomen, thigh back side, calf front side.
450. Judging whether the contact part comprises a body-building part or not; if so, then step 460 is performed; if not, step 470 is performed.
If the contact portion includes the exercise portion in step 450, it can be considered that the current lying posture of the human body is correct, and the exercise portion can be effectively massaged by the inflation and deflation of the air bag, step 460 described below may be performed. If the contact portion does not include the body-building portion, the current lying posture of the human body may be considered incorrect.
For example, if the first posture is a supine position and the exercise site is the chest, then the actual contact site of the human body with the mattress is the back, not the chest. If the contact portion and the body-building portion of the human body with the mattress are not judged, the following step 460 is directly performed, and only the back can be actually massaged, but the chest cannot be massaged.
It can be seen that the mattress firstly judges whether the contact part of the human body and the mattress comprises the body-building part, and then after judging that the body-building part is contacted with the mattress, the following step 460 is executed, so that the accuracy of massaging the body-building part through the mattress can be improved.
460. The airbag disposed in the first sub-region is controlled to alternately perform an inflation operation and a deflation operation.
470. And sending the first gesture and a gesture adjustment instruction to the mobile terminal.
In step 470, after receiving the first gesture and the gesture adjustment instruction, the mobile terminal may generate and output a gesture adjustment animation according to the first gesture and the gesture adjustment instruction. A posture adjustment animation is used to demonstrate the process of adjusting from the first posture to the second posture, the second posture being the posture of the body-building site in contact with the mattress.
For example, if the first posture is a supine position, the second posture may be a prone position. If the first posture is a prone position, the second posture may be a supine position.
It can be seen that in the foregoing embodiments, the mattress can massage the exercise portion through the air bag according to the exercise portion transmitted from the mobile terminal. In order to improve the accuracy of massage, the mattress can identify the contact position of the human body and the mattress before the control air bag alternately executes the inflation operation and the deflation operation, judge whether the contact position of the human body and the mattress comprises a body-building position, and control the air bag to alternately inflate and deflate after judging that the contact position comprises the body-building position. And after judging that the contact part does not comprise the body-building part, the mattress can also send the first posture and a posture adjustment instruction to the mobile terminal to trigger the mobile terminal to output a posture adjustment animation, so that a user can be prompted to adjust the posture to a correct second posture when the body-building part is in contact with the mattress.
In some embodiments, after performing the foregoing step 450 to determine that the contact portion of the human body with the mattress does not include the exercise portion, and before performing the step 470 to send the first posture and posture adjustment instruction to the mobile terminal, the following steps may be further performed:
s11, acquiring the physical state information of the human body.
The posture information can be input by the user at the self, can be input by the user at the mobile terminal, and is sent to the mattress by the mobile terminal. Or the user can input the posture information by using the controller of the mattress, and the user can input the posture information through keys and a display screen provided by the controller, and the method is not particularly limited.
The posture information may include normal posture and bad posture, which may include humpback, pelvic tilt, etc.
S12, judging whether the contact part contacting the first subarea is required to be relaxed according to the body state information of the human body; if yes, executing step S13; if not, the aforementioned step 470 is performed.
The cause of the bad posture is generally that the muscles on one side of the body are too tense and the muscles on the opposite side are too weak. Thus, the key to correcting the bad posture is to strengthen the too weak muscle strength and relax the too tense muscle. If the user is exercising for the purpose of correcting bad posture, the muscles of the non-exercising part are also required to be deeply relaxed.
For example, for the posture of humpback, it is desirable to relax the chest muscles on the front of the body and to enhance the back muscle strength on the back of the body. For the posture of pelvic forward tilting, it is necessary to relax the ilio-lumbar muscles on the front of the body and to enhance the muscle strength on the back of the body and on the rear of the thighs.
In the embodiment of the application, the body parts which need to be relaxed corresponding to different postures can be pre-stored in the database of the mattress, and after the acquired posture information is obtained by the mattress, if the posture information is a certain bad posture, the mattress can further compare the body parts which need to be relaxed when correcting the bad posture with the contact parts which contact the first subarea according to the pre-stored body parts. If the body part to be relaxed comprises a contact part contacting the first sub-area, it may be determined that a relaxation of the contact part is required.
S13, controlling the air bags arranged in the first subarea to alternately perform an inflating operation and a deflating operation.
In the embodiment of the present application, if it is determined that the contact portion between the human body and the mattress does not include the exercise portion according to the aforementioned step 450, after the mattress cannot massage the exercise portion when the human body is in the current first posture, the mattress may further determine whether the current contact portion needs to be relaxed, if yes, the air bags in the first sub-area are controlled to be alternately inflated and deflated, so as to massage the contact portion corresponding to the first sub-area, thereby achieving the effect of helping to correct the bad posture, and enabling the exercise to achieve the intended purpose.
For example, if the exercise site is a back and the first posture is a supine position, then the mattress performs the step 450 described above and then determines that the contact site does not include a back, and the contact site that contacts the first sub-region is not a back but a chest. At this time, if the acquired posture information is humpback, the mattress can judge that the chest muscles need to be relaxed according to the humpback posture information, and can control the air bags in the first subarea to alternately perform the inflation operation and the deflation operation so as to massage the chest muscles through the mattress.
Further optionally, after the step S13 is performed, the mattress may further perform the aforementioned step 470, so that the human body is adjusted from the first posture to the second posture, and the body-building portion is massaged, so as to promote the muscle recovery of the body-building portion.
Referring to fig. 5, fig. 5 is a flow chart illustrating another exercise recovery method based on a mattress according to an embodiment of the present application, which can be applied to the mattress. As shown in fig. 5, the method may include the steps of:
510. Receiving a body-building part sent by the mobile terminal; the body-building part is identified by the mobile terminal from body-building data of the current date;
520. After detecting that a person is on the mattress, the sleeping area of the person is identified.
530. A first sub-region corresponding to a workout site is determined in the sleep area.
540. The airbag disposed in the first sub-region is controlled to alternately perform an inflation operation and a deflation operation.
The implementation of steps 510-540 can be seen in the foregoing embodiments, and the following descriptions are omitted.
550. The duration of the air bag in the first sub-area alternately performing the inflating operation and the deflating operation is recorded.
In the embodiment of the application, after the air bag in the first subarea is controlled to perform the first inflation operation or the first deflation operation, the mattress can start timing, and the timing duration is the duration of the air bag to alternately perform the inflation operation and the deflation operation.
560. When the duration exceeds the duration threshold, controlling the balloon in the first sub-area to maintain an inflated state and controlling the balloon disposed in the second sub-area to maintain a deflated state.
In step 560, the second region is a second sub-region of the sleep region that is adjacent to the first sub-region.
For example, with continued reference to fig. 3, if the first sub-region is the chest or back region 32, the second sub-region may be one of the head region 31 and the waist or abdomen region 33, or both the regions 31 and 33 may be the second sub-region, which is not limited in particular.
After the mattress judges that the duration of massaging the body-building part through the air bags exceeds the duration threshold, the air bags of the first subarea are controlled to keep an inflated state, and the air bags of the second subarea are controlled to keep a deflated state, so that the body-building part is slightly higher than the adjacent non-body-building part, blood reflux is facilitated, congestion of the body-building part is relieved, and muscles of the body-building part can be further relaxed.
In some embodiments, after performing step 560, the mattress may also perform the following steps:
s21, acquiring vital sign data of a human body on the mattress.
Vital sign data may include, but is not limited to, heart rate, respiratory rate, and the like. Optionally, a heart rate sensor and a respiration sensor may be disposed in the mattress, the heart rate sensor may be used to detect heart rate data of a human body on the mattress, and the respiration sensor may be used to detect respiration rate data of a human body on the mattress. Optionally, the mattress can also be in communication connection with wearable devices such as smart watches, smart bracelets, etc. worn on the human body. The wearable device can be provided with vital sign sensors such as heart rate sensor, and the wearable device can detect the vital sign data of human body to transmit the vital sign data detected to the mattress.
S22, judging whether the human body is in a sleep state according to vital sign data of the human body.
The vital sign data of the human body may correspond to different characteristics while in a sleep state and while in an awake state. Illustratively, the heart rate is typically in the range of 70 times/minute to 80 times/minute when the human body is in an awake state. When the human body is in a sleep state, the heart rate range is generally less than or equal to 60 beats/min. Therefore, the mattress can judge whether the human body is in a sleep state according to the vital sign data of the human body.
S23, if the human body is judged to be in the sleep state, the air bag arranged in the first subarea can be controlled to execute the deflation operation so as to switch from the inflation state to the deflation state.
When the human body is in a sleeping state, the mattress can deflate the inflatable air bags in the first subarea so as to level the mattress, so that the height difference of each area of the mattress does not exist, and the body-building part is prevented from being in a high position for a long time. During sleep, it is a better opportunity for muscle regrowth at the exercise site, one of the conditions for muscle growth being adequate blood supply. Therefore, after the human body is judged to fall asleep, the mattress can be put flat, so that the long blood backflow time is avoided, the smooth blood circulation of the body-building part during sleep is ensured, the muscle growth is facilitated, and the body-building recovery is facilitated.
It can be seen that in the foregoing embodiments, the mattress can massage the exercise portion through the air bag according to the exercise portion transmitted from the mobile terminal. In addition, the mattress can also keep the inflated state by controlling the air bags of the first subarea and keep the deflated state by controlling the air bags of the adjacent second subarea after the massage time of the body-building part is long enough, so that the body-building part can be slightly higher than the adjacent non-body-building part, the blood backflow is facilitated, and the congestion of muscles is reduced. Furthermore, the mattress can be leveled after the human body is detected to fall asleep, so that the blood backflow time is long, the blood circulation of the body-building part is smooth during the period of sleep obstacle, the muscle growth is promoted, and the body-building recovery is facilitated.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a mattress according to an embodiment of the present application. As shown in fig. 6, the mattress 600 may include: a communication module 610, an identification module 620, a determination module 630, and a control module 640.
A communication module 610, configured to receive the exercise portion sent by the mobile terminal; the exercise location is identified by the mobile terminal from exercise data performed by the user on a current date;
The identifying module 620 is configured to identify a sleeping area where a person is located on the mattress after detecting that the person is located on the mattress;
A determining module 630 for determining a first sub-region in the sleep region corresponding to the exercise site;
A control module 640 for controlling the air bags provided in the first sub-area to alternately perform an inflating operation and a deflating operation.
In one embodiment, the identification module 620 may include: a head detection unit, a region division unit, and a determination unit.
A head detection unit for detecting a head position of the human body;
The region dividing unit is used for dividing the sleeping region into at least two sub-regions according to the distribution rule of the body part by taking the head position as a reference; the at least two sub-areas respectively correspond to different body parts;
And the determining unit is used for determining a first subarea corresponding to the body-building part from the at least two subareas.
In one embodiment, mattress 600 may be provided with pressure sensors and sound playback devices at different locations. Mattress 600 may further include: and a playing module.
And the playing module is used for playing prompt voice through the sound playing device and prompting a user to rotate the head.
The head detection unit can be used for detecting the pressure value acquired by each pressure sensor after the prompt voice is played by the playing module, determining the pressure sensor with the pressure value change from each pressure sensor, and determining the setting position of the pressure sensor with the pressure value change as the head position of the human body.
In one embodiment, mattress 600 may further comprise: the gesture detection module and the judgment module.
A posture detection module for detecting a first posture of the human body on the mattress after the communication module receives the body-building part transmitted by the mobile terminal and before the control module controls the air bag arranged in the first sub-area to alternately perform the inflating operation and the deflating operation;
The judging module is used for determining the contact position of the human body and the mattress according to the first posture and judging whether the contact position comprises the body-building position or not;
the control module 640 is further configured to control the air bag disposed in the first sub-area to alternately perform an inflating operation and a deflating operation after the judging module judges that the contact portion includes the body-building portion.
In one embodiment, the communication module 610 may be further configured to, after the determining module determines that the contact location does not include the exercise location, output a gesture adjustment animation to the mobile terminal according to the first gesture and the gesture adjustment instruction, where the gesture adjustment animation is used to demonstrate a process of adjusting from the first gesture to the second gesture; the second posture is a posture in which the exercise portion is in contact with the mattress.
In one embodiment, mattress 600 may further comprise: and a first acquisition module.
The first acquisition module is used for acquiring the body state information of the human body after the judgment module judges that the contact part does not comprise the body-building part.
The judging module is further configured to judge whether the contact portion contacting the first sub-area needs to be relaxed according to the body state information of the human body.
The control module 640 may be further configured to control the air bag disposed in the first sub-area to alternately perform the inflating operation and the deflating operation after the judging module judges that the contact portion contacting the first sub-area needs to be relaxed.
The communication module 610 may be further configured to send the first gesture and the gesture adjustment instruction to the mobile terminal after the determining module determines that the touch portion touching the first sub-area does not need to be relaxed.
In one embodiment, the sleep area includes: the first subarea and a second subarea adjacent to the first subarea; mattress 600 may further include: and a recording module.
A recording module, configured to record a duration of time for which the air bags in the first sub-area alternately perform the inflating operation and the deflating operation;
The control module 640 is further configured to control the air bag in the first sub-area to maintain an inflated state and control the air bag disposed in the second sub-area to maintain a deflated state when the duration recorded by the recording module exceeds a duration threshold.
In one embodiment, mattress 600 may further comprise: the second acquisition module and the sleep detection module.
The second acquiring module may be further configured to acquire vital sign data of a human body on the mattress after the control module 640 controls the air bag in the first sub-area to maintain an inflated state and controls the air bag disposed in the second sub-area to maintain a deflated state.
The sleep detection module can be used for judging whether the human body is in a sleep state according to vital sign data of the human body.
The control module 640 is further configured to control the air bag disposed in the first sub-area to perform an air release operation to switch from the inflated state to the deflated state after the sleep detection module determines that the human body is in the sleep state.
It can be seen that in the foregoing embodiments, the mobile terminal may identify the user's exercise location from the exercise data of the current date and send the exercise location to the mattress. After the bed mattress detects that a person is on the bed, the first subarea corresponding to the body-building part in the sleeping area can be further determined by detecting the sleeping area of the person, so that the air bags arranged in the first subarea are controlled to alternately perform the air inflation operation and the air deflation operation, the body-building part is massaged, muscles of the body-building part are relaxed, and the user can be promoted to fall asleep more quickly.
Referring to fig. 7, fig. 7 is a schematic view illustrating a mattress according to another embodiment of the present application. As shown in fig. 7, the mattress may include:
A memory 710 storing executable program code;
A processor 720 coupled to the memory 710;
Wherein processor 720 invokes executable program code stored in memory 710 to perform any of the mattress thickness control methods disclosed in embodiments of the present application.
It should be noted that, the mattress shown in fig. 7 may further include components not shown, such as a power supply, an input key, a speaker, a screen, a bluetooth module, a sensor, etc., which are not described in detail in this embodiment.
The embodiment of the application discloses a computer readable storage medium which stores a computer program, wherein the computer program enables a computer to execute any one of the mattress-based fitness recovery methods disclosed by the embodiment of the application.
Embodiments of the present application disclose a computer program product comprising a non-transitory computer readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform any of the mattress-based exercise recovery methods disclosed in embodiments of the present application.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present application. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. Those skilled in the art will also appreciate that the embodiments described in the specification are alternative embodiments and that the acts and modules referred to are not necessarily required for the present application.
In various embodiments of the present application, it should be understood that the sequence numbers of the foregoing processes do not imply that the execution sequences of the processes should be determined by the functions and internal logic of the processes, and should not be construed as limiting the implementation of the embodiments of the present application.
The units described above as separate components may or may not be physically separate, and components shown as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the embodiment.
In addition, each functional unit in the embodiments of the present application may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The integrated units described above, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer-accessible memory. Based on this understanding, the technical solution of the present application, or a part contributing to the prior art or all or part of the technical solution, may be embodied in the form of a software product stored in a memory, comprising several requests for a computer device (which may be a personal computer, a server or a network device, etc., in particular may be a processor in a computer device) to execute some or all of the steps of the above-mentioned method of the various embodiments of the present application.
Those of ordinary skill in the art will appreciate that all or part of the steps of the various methods of the above embodiments may be implemented by a program that instructs associated hardware, the program may be stored in a computer readable storage medium including read-only memory (ROM), random access memory (Random Access Memory, RAM), programmable read-only memory (Programmable Read-only memory, PROM), erasable programmable read-only memory (Erasable Programmable Read Only Memory, EPROM), one-time programmable read-only memory (OTPROM), electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (Compact Disc Read-only memory, CD-ROM) or other optical disk memory, magnetic disk memory, tape memory, or any other medium that can be used for carrying or storing data.
The above detailed description of a mattress-based fitness recovery method, mattress and storage medium disclosed in the embodiments of the present application applies specific examples to illustrate the principles and embodiments of the present application, and the above description of the embodiments is only used to help understand the method and core idea of the present application. Meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present application, the present description should not be construed as limiting the present application in view of the above.