Adjusting method and system based on intelligent mattress

The smart mattress system solves the problem that traditional mattresses cannot adapt to the human body curve by setting independent areas and pressure sensors in the inflatable layer, combining the camera to identify the user's sleeping posture and facial features, and adjusting the spinal air pressure.

CN119257394APending Publication Date: 2025-01-07GUANGDONG MEMOS BEDDING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411684385.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-22
Publication Date
2025-01-07

AI Technical Summary

Technical Problem

Traditional mattresses cannot adapt to the human body curve and different changes in posture, resulting in increased shear force on the body, thereby increasing the burden on the spine and affecting the quality of sleep.

Method used

Using a smart mattress system, the air pressure at the spine position is adjusted to reduce the pressure on the spine by setting multiple independent areas and pressure sensors in the inflatable layer, combining the camera to identify the user's sleeping position and facial features.

Benefits of technology

Effectively adjust the user's spinal curve during sleep, reduce the pressure on the spine, and improve sleep quality and comfort.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119257394A_ABST
    Figure CN119257394A_ABST
Patent Text Reader

Abstract

The invention discloses an adjusting method based on an intelligent mattress. The adjusting method comprises the following steps: inputting physiological features of a user, wherein the physiological features comprise facial features of the user and habitual sleeping postures of the user; associating the face orientations of the user under different habitual sleeping postures, and constructing a sleeping posture table; when the starting time starts, starting a camera, acquiring a face video of the user through the camera, identifying the face video of the user, judging the face orientation of the user, and determining the sleeping posture of the user according to the face orientation of the user and a preset sleeping posture table; by adjusting the air pressure at the spine position in the independent area, the height of the independent area can be reduced in the air pressure reducing process, so that the curve of the spine of a user during sleeping is adjusted, the physiological requirement is met, and the pressure received by the spine is reduced. And finally, the effect of improving the sleep quality of the user is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of mattresses, and in particular to an adjustment method and system based on a smart mattress. Background Art

[0002] One third of life is spent in sleep. The four major indicators of whether people have "healthy sleep" are: sufficient sleep, sufficient time, good quality, high efficiency; easy to fall asleep; continuous sleep without interruption; deep and comfortable sleep, no tiredness when waking up, etc. Mattresses are used between the human body and the bed to ensure consumers get healthy and comfortable sleep. There are many materials, and the quality of sleep is closely related to the mattress.

[0003] Traditional mattresses are usually made of traditional materials such as springs, sponges or memory foam. Their shortcomings are fixed structures that cannot adapt to the curves of the human body and different changing postures. They give the body the wrong shape during sleep, which increases the shear force on the body. This increases the burden on the spine, and the user will increase the number of times they turn over due to physical discomfort, which ultimately reduces the user's deep sleep time. After sleeping in a fixed position for a long time, the user will also experience body aches. Therefore, a smart mattress that can improve the user's sleep quality is urgently needed. Summary of the invention

[0004] In view of the above-mentioned defects, the purpose of the present invention is to propose an adjustment method and system based on a smart mattress to solve the problem that when a user is sleeping, the mattress cannot adapt to the human body curve and different changing postures, resulting in shear force on the body and increased burden on the spine.

[0005] To achieve this purpose, the present invention adopts the following technical solution: an adjustment method based on a smart mattress, comprising the following steps:

[0006] Step S1: a mattress is provided with a cushion layer and an inflatable layer from top to bottom, a plurality of independent areas are provided in the inflatable layer, a plurality of independent areas are provided with pressure sensors, and the plurality of independent areas are connected to the inflatable device respectively;

[0007] Step S2: recording the user's physiological characteristics, wherein the physiological characteristics include the user's facial features and the user's habitual sleeping position;

[0008] Associate the user's face orientation in different sleeping positions and build a sleeping position table;

[0009] Step S3: when the start time starts, start the camera, obtain the user's facial video through the camera, recognize the user's facial video, determine the direction of the user's face, and determine the user's sleeping position according to the direction of the user's face and the preset sleeping position table;

[0010] Step S4: Obtaining the pressure parameters of the mattress, and determining the user's spinal position according to the pressure parameters and the user's sleeping posture;

[0011] Step S5: Adjust the air pressure of the independent area at the position of the spine.

[0012] Preferably, in step S3, the start time is obtained in the following manner:

[0013] Acquiring biometric information of a smart watch carried by a user, wherein the biometric information is used to determine the user's sleep cycle;

[0014] When the user enters a deep sleep period or a deep sleep period, the current time is used as the camera startup time.

[0015] Preferably, when the user's facial video is recognized, the following steps need to be performed:

[0016] In the one-second video of the face, two frames are extracted and marked as the first frame and the second frame respectively;

[0017] Taking the first screen as a prototype, a first processing sub-screen and a second processing sub-screen are respectively copied;

[0018] Respectively obtain each pixel in the first processing sub-picture and the second processing sub-picture, and store them in the first sequence and the second sequence in sequence respectively;

[0019] In the first sequence, each pixel is gray-scaled by a first threshold value;

[0020] In the second sequence, each pixel is gray-scaled by a second threshold value;

[0021] Merging the first sequence with the second sequence to obtain a first replacement picture;

[0022] Taking the second screen as a prototype, a third processing sub-screen and a fourth processing sub-screen are respectively copied;

[0023] Respectively obtain each pixel in the third processing sub-picture and the fourth processing sub-picture, and store them in the third sequence and the fourth sequence in sequence respectively;

[0024] In the third sequence, each pixel has its brightness adjusted by a third threshold value;

[0025] In the fourth sequence, each pixel has its brightness adjusted by a fourth threshold value;

[0026] The third sequence is merged with the fourth sequence to obtain a second replacement picture;

[0027] The second replacement picture is combined with the first replacement picture for high frequency images to obtain a processed picture.

[0028] Preferably, the specific steps of determining the user's spinal position according to the pressure parameter and the user's sleeping posture in step S4 are as follows:

[0029] Acquire an independent area whose pressure parameter is greater than a first pressure threshold as a pressure area;

[0030] determining a critical area in the pressure area according to the sleeping posture of the user;

[0031] Use a line from the user's head to the midpoint of the key area as the spine location.

[0032] Preferably, the specific steps of step S5 are as follows:

[0033] Acquire an independent area in the spinal region with a pressure less than a second pressure threshold as a first area, and calculate an average value of the pressure parameter of the first area;

[0034] An independent area in the spinal region with a pressure greater than a second pressure threshold is obtained as a second area, and the air pressure in the second area is reduced until the pressure parameter of the second area reaches an average value of the pressure parameter.

[0035] Preferably, the method further comprises the following steps:

[0036] When the pressure in all the independent areas is less than the first pressure threshold, the inflation device is driven to inflate the independent areas until the air pressure in all the independent areas reaches a preset value.

[0037] A smart mattress-based adjustment system, using the smart mattress-based adjustment method, wherein the mattress is provided with a cushion layer and an inflatable layer from top to bottom, a plurality of independent areas are provided in the inflatable layer, the plurality of independent areas are respectively provided with pressure sensors, and the plurality of independent areas are respectively connected to the inflatable device, and comprises an input module, a first determination module, a second determination module and an adjustment module;

[0038] The input module is used to input the user's physiological characteristics, wherein the physiological characteristics include the user's facial features and the user's habitual sleeping position;

[0039] Associate the user's face orientation in different sleeping positions and build a sleeping position table;

[0040] The first determination module is used to start the camera at the start time, obtain the user's facial video through the camera, recognize the user's facial video, determine the direction of the user's face, and determine the user's sleeping position according to the direction of the user's face and a preset sleeping position table;

[0041] The second determination module is used to obtain the pressure parameters of the mattress and determine the spinal position of the user according to the pressure parameters and the sleeping posture of the user;

[0042] The regulating module is used to regulate the air pressure of the independent area at the position of the spine.

[0043] Preferably, the first determination module includes an automatic start submodule, and the automatic adjustment submodule is used to obtain biological information of the smart watch carried by the user, wherein the biological information is used to determine the sleep cycle of the user;

[0044] When the user enters a deep sleep period or a deep sleep period, the current time is used as the camera startup time.

[0045] Preferably, the second determination module includes a first region confirmation submodule, a second region confirmation submodule and a third region confirmation submodule;

[0046] The first region confirmation submodule is used to obtain an independent region whose pressure parameter is greater than a first pressure threshold as a pressure region;

[0047] The second area confirmation submodule is used to determine the key area in the pressure area according to the sleeping posture of the user;

[0048] The third area confirmation submodule is used to use the line from the user's head to the midpoint of the key area as the spine position.

[0049] Preferably, the regulating module includes a mean value acquisition submodule and an air pressure control submodule;

[0050] The average value acquisition submodule is used to acquire an independent area in the spinal region with a pressure less than a second pressure threshold as a first area, and calculate an average value of the pressure parameter of the first area;

[0051] The air pressure control submodule is used to obtain an independent area with a pressure greater than a second pressure threshold in the spinal position as the second area, and reduce the air pressure in the second area until the pressure parameter of the second area reaches an average value of the pressure parameter.

[0052] One of the above technical solutions has the following advantages or beneficial effects: when the user falls asleep, the camera will start, and the camera can be installed on the ceiling above the bed. At this time, the camera will recognize the user's facial features, determine the user's current facial orientation, and then take a corresponding sleeping posture in the sleeping posture table according to the facial orientation. After confirming the user's sleeping posture, the spine can be located according to the pressure on the user's head and the independent area, thereby determining the user's spinal position. Finally, by adjusting the air pressure at the position of the spine in the independent area, the height of the independent area will become lower during the process of reducing the air pressure, thereby adjusting the curve of the user's spine when sleeping, thereby meeting physiological needs and reducing the pressure on the spine. Ultimately, it has the effect of improving the user's sleep quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 is a flow chart of an embodiment of the method of the present invention.

[0054] Figure 2 is a cross-sectional view of a mattress in one embodiment of the present invention.

[0055] Figure 3 FIG. 4 is a top view of an inflation layer in one embodiment of the present invention.

[0056] Figure 4 It is a schematic diagram of the structure of an embodiment of the system of the present invention. DETAILED DESCRIPTION

[0057] The embodiments of the present invention are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals represent the same or similar elements or elements having the same or similar functions from beginning to end. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0058] In the description of the embodiments of the present invention, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the embodiments of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0059] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of the present invention, unless otherwise specified, the meaning of "plurality" is two or more. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0060] like Figures 1 to 4 As shown, a method for adjusting a smart mattress comprises the following steps:

[0061] Step S1: a mattress is provided with a cushion layer and an inflatable layer from top to bottom, a plurality of independent areas are provided in the inflatable layer, a plurality of independent areas are provided with pressure sensors, and the plurality of independent areas are connected to the inflatable device respectively;

[0062] Step S2: recording the user's physiological characteristics, wherein the physiological characteristics include the user's facial features and the user's habitual sleeping position;

[0063] Associate the user's face orientation in different sleeping positions and build a sleeping position table;

[0064] Step S3: when the start time starts, start the camera, obtain the user's facial video through the camera, recognize the user's facial video, determine the direction of the user's face, and determine the user's sleeping position according to the direction of the user's face and the preset sleeping position table;

[0065] Step S4: Obtaining the pressure parameters of the mattress, and determining the user's spinal position according to the pressure parameters and the user's sleeping posture;

[0066] Step S5: Adjust the air pressure of the independent area at the position of the spine.

[0067] In the present invention, the mattress is divided into at least two layers of layered structures, such as Figure 2 As shown in FIG. 1 , the top is a cushion layer, which is in contact with the user when sleeping, and the bottom of the cushion layer is an inflatable layer, in which multiple independent zones are arranged, such as Figure 3 As shown, each independent area is connected to an inflatable device, and the inflatable device can adjust the air pressure in each independent area. Before the user goes to sleep, all independent areas are in a state of full air.

[0068] After the user falls asleep, the air pressure in the independent area needs to be adjusted to reduce the pressure on the user's spine. However, due to different positions of the spine in different sleeping positions, and in some cases, the user may be covered with a quilt, the user's sleeping position cannot be directly identified by the recognition model. For this reason, in the present invention, an association table (sleeping position table) is made by recording the user's different habitual sleeping positions and the direction of the user's face at this time, and the current user's sleeping position can be quickly identified by identifying the direction of the user's face.

[0069] When the user falls asleep, the camera will start. The camera can be installed on the ceiling above the bed. At this time, the camera will recognize the user's facial features, determine the user's current facial orientation, and then take a corresponding sleeping posture in the sleeping posture table based on the facial orientation. After confirming the user's sleeping posture, the spine can be located according to the pressure on the user's head and the independent area, thereby determining the user's spinal position. Finally, by adjusting the air pressure at the position of the spine in the independent area, the height of the independent area will become lower during the process of reducing the air pressure, thereby adjusting the curve of the user's spine when sleeping, thereby meeting physiological needs and reducing the pressure on the spine. Ultimately, it has the effect of improving the user's sleep quality.

[0070] Preferably, in step S3, the start time is obtained in the following manner:

[0071] Acquiring biometric information of a smart watch carried by a user, wherein the biometric information is used to determine the user's sleep cycle;

[0072] When the user enters a deep sleep period or a deep sleep period, the current time is used as the camera startup time.

[0073] The start time can be a manually set time. It can also be an automatically set time. In one embodiment of the present invention, the start time is the moment when the user enters a deep sleep or a deep sleep period. Since the user's sleeping posture changes little when the user enters a deep sleep or a deep sleep period, and the perception of the surroundings is weak at this time, the changes that occur when adjusting the independent area will not affect the user's sleep. Ensure the user's sleep quality.

[0074] Preferably, when the user's facial video is recognized, the following steps need to be performed:

[0075] In the one-second video of the face, two frames are extracted and marked as the first frame and the second frame respectively;

[0076] Taking the first screen as a prototype, a first processing sub-screen and a second processing sub-screen are respectively copied;

[0077] Respectively obtain each pixel in the first processing sub-picture and the second processing sub-picture, and store them in the first sequence and the second sequence in sequence respectively;

[0078] In the first sequence, each pixel is gray-scaled by a first threshold value;

[0079] In the second sequence, each pixel is gray-scaled by a second threshold value;

[0080] Merging the first sequence with the second sequence to obtain a first replacement picture;

[0081] Taking the second screen as a prototype, a third processing sub-screen and a fourth processing sub-screen are respectively copied;

[0082] Respectively obtain each pixel in the third processing sub-picture and the fourth processing sub-picture, and store them in the third sequence and the fourth sequence in sequence respectively;

[0083] In the third sequence, each pixel has its brightness adjusted by a third threshold value;

[0084] In the fourth sequence, each pixel has its brightness adjusted by a fourth threshold value;

[0085] The third sequence is merged with the fourth sequence to obtain a second replacement picture;

[0086] The second replacement picture is combined with the first replacement picture for high frequency images to obtain a processed picture.

[0087] Since most people go to bed at night or are used to sleeping in a dark environment, it is difficult to identify the facial features of the user in a dark environment. In order to improve the clarity and visibility of the facial video in a dark environment, the present invention extracts two frames from one second of the facial video. The first frame and the second frame are extracted in the same second, and there is continuity in time. When the subsequent second replacement frame is synthesized with the first replacement frame, there will be no picture splitting, so that the processed picture is close to the picture of the facial video.

[0088] The first processing sub-picture and the second processing sub-picture will store the pixel information in the first sequence and the second sequence in order respectively, and then adjust the grayscale;

[0089] Specifically, when making adjustments, a first threshold with a higher grayscale threshold can be used to adjust the first sequence, and then a second threshold with a lower grayscale threshold can be used to adjust the second sequence. After the adjustments, a pixel image with a higher grayscale and a pixel image with a lower grayscale will be obtained. After obtaining the first replacement image, the first replacement image will contain high grayscale features and low grayscale features. Features with different grayscales can remove unnecessary noise or interference. This helps to improve the clarity and recognizability of the image and improve the clarity of the image in a dark environment.

[0090] Similarly, the second replacement image will also contain high-brightness features and low-brightness features. Brightness adjustment can improve the overall brightness distribution of the image, making the image brighter or softer, thereby enhancing the visual experience. When performing subsequent recognition, the processed image is directly used to recognize the user's facial features, thereby improving the accuracy of user facial feature recognition in a dark environment.

[0091] Preferably, the specific steps of determining the user's spinal position according to the pressure parameter and the user's sleeping posture in step S4 are as follows:

[0092] Acquire an independent area whose pressure parameter is greater than a first pressure threshold as a pressure area;

[0093] determining a critical area in the pressure area according to the sleeping posture of the user;

[0094] Use a line from the user's head to the midpoint of the key area as the spine location.

[0095] In different sleeping positions, the pressure on the mattress is different, so the pressure on the independent area is also different. For example, when a person sleeps on his side, the pressure points of the body are mainly concentrated in the shoulders and hips. At this time, the pressure on the independent area located at the shoulders and hips will be relatively large, causing the pressure in the independent area of ​​the area to increase. When a person lies flat, the pressure points of the body are mainly concentrated on the back, buttocks and feet of the body. For example, when a user lies flat, due to the pressure exerted by the user's back, buttocks and feet, the pressure parameter of the independent area in this part will be greater than the first pressure threshold, and this part of the independent area will be used as a pressure area.

[0096] Due to the characteristics of sleeping posture, the back, buttocks and feet will all exert pressure on the mattress. At this time, the second to last pressure area or the third pressure area away from the user's head (the feet of some users will swing, causing the positions of the two feet to be not in the same horizontal line) can be obtained to determine the position of the buttocks. At this time, the second to last pressure area or the third pressure area away from the user's head is the key area. At this time, the line from the user's head to the midpoint of the second pressure area or the third pressure area is used as the spinal position.

[0097] Similarly, when sleeping on the side, the body's pressure points are mainly concentrated on the shoulders and hips. At this time, the penultimate pressure area away from the user's head is taken as the key area.

[0098] It is worth noting that when the area of ​​the independent area is designed to be small, the buttocks, shoulders, hips or other parts of the human body will exert pressure in multiple independent areas. At this time, the key area can be composed of multiple connected pressure areas.

[0099] Preferably, the specific steps of step S5 are as follows:

[0100] Acquire an independent area in the spinal region with a pressure less than a second pressure threshold as a first area, and calculate an average value of the pressure parameter of the first area;

[0101] An independent area in the spinal region with a pressure greater than a second pressure threshold is obtained as a second area, and the air pressure in the second area is reduced until the pressure parameter of the second area reaches an average value of the pressure parameter.

[0102] The second pressure threshold is greater than the first pressure threshold. When sleeping on the side, the pressure exerted by the shoulders and hips on the mattress is the greatest. At this time, the pressure area of ​​the shoulders and hips is greater than the second threshold. At this time, you only need to lower the height of the shoulders and hips to immediately make the curve of the human spine meet physiological needs, that is, you only need to lower the air pressure in the second area. When the pressure in the second area drops to the average value, the pressure exerted by the person on the mattress as a whole reaches a balance. At this time, the human spine also meets physiological needs, thereby improving the comfort of the mattress and ultimately improving the user's sleep instructions.

[0103] Preferably, the method further comprises the following steps:

[0104] When the pressure in all the independent areas is less than the first pressure threshold, the inflation device is driven to inflate the independent areas until the air pressure in all the independent areas reaches a preset value.

[0105] When the pressure in all independent areas is less than the first pressure threshold, it means that the user has gotten up, and the air pressure in the independent areas needs to be reset.

[0106] A smart mattress-based adjustment system, using the smart mattress-based adjustment method, wherein the mattress is provided with a cushion layer and an inflatable layer from top to bottom, a plurality of independent areas are provided in the inflatable layer, the plurality of independent areas are respectively provided with pressure sensors, and the plurality of independent areas are respectively connected to the inflatable device, and comprises an input module, a first determination module, a second determination module and an adjustment module;

[0107] The input module is used to input the user's physiological characteristics, wherein the physiological characteristics include the user's facial features and the user's habitual sleeping position;

[0108] Associate the user's face orientation in different sleeping positions and build a sleeping position table;

[0109] The first determination module is used to start the camera at the start time, obtain the user's facial video through the camera, recognize the user's facial video, determine the direction of the user's face, and determine the user's sleeping position according to the direction of the user's face and a preset sleeping position table;

[0110] The second determination module is used to obtain the pressure parameters of the mattress and determine the spinal position of the user according to the pressure parameters and the sleeping posture of the user;

[0111] The regulating module is used to regulate the air pressure of the independent area at the position of the spine.

[0112] Preferably, the first determination module includes an automatic start submodule, and the automatic adjustment submodule is used to obtain biological information of the smart watch carried by the user, wherein the biological information is used to determine the sleep cycle of the user;

[0113] When the user enters a deep sleep period or a deep sleep period, the current time is used as the camera startup time.

[0114] Preferably, the second determination module includes a first region confirmation submodule, a second region confirmation submodule and a third region confirmation submodule;

[0115] The first region confirmation submodule is used to obtain an independent region whose pressure parameter is greater than a first pressure threshold as a pressure region;

[0116] The second area confirmation submodule is used to determine the key area in the pressure area according to the sleeping posture of the user;

[0117] The third area confirmation submodule is used to use the line from the user's head to the midpoint of the key area as the spine position.

[0118] Preferably, the regulating module includes a mean value acquisition submodule and an air pressure control submodule;

[0119] The average value acquisition submodule is used to acquire an independent area in the spinal region with a pressure less than a second pressure threshold as a first area, and calculate an average value of the pressure parameter of the first area;

[0120] The air pressure control submodule is used to obtain an independent area with a pressure greater than a second pressure threshold in the spinal position as the second area, and reduce the air pressure in the second area until the pressure parameter of the second area reaches an average value of the pressure parameter.

[0121] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0122] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

Claims

1. A method for adjusting a smart mattress, characterized in that: The steps include: Step S1: a mattress is provided with a cushion layer and an inflatable layer from top to bottom, a plurality of independent areas are provided in the inflatable layer, a plurality of independent areas are provided with pressure sensors, and the plurality of independent areas are connected to the inflatable device respectively; Step S2: recording the user's physiological characteristics, wherein the physiological characteristics include the user's facial features and the user's habitual sleeping position; Associate the user's face orientation in different sleeping positions and build a sleeping position table; Step S3: when the start time starts, start the camera, obtain the user's facial video through the camera, recognize the user's facial video, determine the direction of the user's face, and determine the user's sleeping position according to the direction of the user's face and the preset sleeping position table; Step S4: Obtaining the pressure parameters of the mattress, and determining the user's spinal position according to the pressure parameters and the user's sleeping posture; Step S5: Adjust the air pressure of the independent area at the position of the spine.

2. The adjustment method based on the smart mattress according to claim 1, characterized in that: In step S3, the start time is obtained in the following manner: Acquiring biometric information of a smart watch carried by a user, wherein the biometric information is used to determine the user's sleep cycle; When the user enters a deep sleep period or a deep sleep period, the current time is used as the camera startup time.

3. The adjustment method based on the smart mattress according to claim 1, characterized in that: When recognizing the user's facial video, the following steps need to be performed: In the one-second video of the face, two frames are extracted and marked as the first frame and the second frame respectively; Taking the first screen as a prototype, a first processing sub-screen and a second processing sub-screen are respectively copied; Respectively obtain each pixel in the first processing sub-picture and the second processing sub-picture, and store them in the first sequence and the second sequence in sequence respectively; In the first sequence, each pixel is gray-scaled by a first threshold value; In the second sequence, each pixel is gray-scaled by a second threshold value; Merging the first sequence with the second sequence to obtain a first replacement picture; Taking the second screen as a prototype, a third processing sub-screen and a fourth processing sub-screen are respectively copied; Respectively obtain each pixel in the third processing sub-picture and the fourth processing sub-picture, and store them in the third sequence and the fourth sequence in sequence respectively; In the third sequence, each pixel has its brightness adjusted by a third threshold value; In the fourth sequence, each pixel has its brightness adjusted by a fourth threshold value; The third sequence is merged with the fourth sequence to obtain a second replacement picture; The second replacement picture is combined with the first replacement picture for high frequency images to obtain a processed picture.

4. The adjustment method based on the smart mattress according to claim 1, characterized in that: The specific steps of determining the user's spine position according to the pressure parameter and the user's sleeping posture in step S4 are as follows: Acquire an independent area whose pressure parameter is greater than a first pressure threshold as a pressure area; determining a critical area in the pressure area according to the sleeping posture of the user; Use a line from the user's head to the midpoint of the key area as the spine location.

5. The adjustment method based on the smart mattress according to claim 4, characterized in that: The specific steps of step S5 are as follows: Acquire an independent area in the spinal region with a pressure less than a second pressure threshold as a first area, and calculate an average value of the pressure parameter of the first area; An independent area in the spinal region with a pressure greater than a second pressure threshold is obtained as a second area, and the air pressure in the second area is reduced until the pressure parameter of the second area reaches an average value of the pressure parameters.

6. The adjustment method based on the smart mattress according to claim 1, characterized in that: The following steps are also included: When the pressure in all the independent areas is less than the first pressure threshold, the inflation device is driven to inflate the independent areas until the air pressure in all the independent areas reaches a preset value.

7. An adjustment system based on a smart mattress, characterized in that: Using the adjustment method based on the smart mattress as described in any one of claims 1 to 6, the mattress is provided with a cushion layer and an inflatable layer from top to bottom, a plurality of independent areas are provided in the inflatable layer, the plurality of independent areas are respectively provided with pressure sensors, and the plurality of independent areas are respectively connected to the inflatable device, and includes an input module, a first determination module, a second determination module and an adjustment module; The input module is used to input the user's physiological characteristics, wherein the physiological characteristics include the user's facial features and the user's habitual sleeping position; Associate the user's face orientation in different sleeping positions and build a sleeping position table; The first determination module is used to start the camera at the start time, obtain the user's facial video through the camera, recognize the user's facial video, determine the direction of the user's face, and determine the user's sleeping position according to the direction of the user's face and a preset sleeping position table; The second determination module is used to obtain the pressure parameters of the mattress and determine the spinal position of the user according to the pressure parameters and the sleeping posture of the user; The regulating module is used to regulate the air pressure of the independent area at the position of the spine.

8. The adjustment system based on the smart mattress according to claim 7, characterized in that: The first determination module includes an automatic start submodule, and the automatic adjustment submodule is used to obtain biological information of the smart watch carried by the user, wherein the biological information is used to determine the sleep cycle of the user; When the user enters a deep sleep period or a deep sleep period, the current time is used as the camera startup time.

9. The adjustment system based on the smart mattress according to claim 7, characterized in that: The second determination module includes a first area confirmation submodule, a second area confirmation submodule and a third area confirmation submodule; The first region confirmation submodule is used to obtain an independent region whose pressure parameter is greater than a first pressure threshold as a pressure region; The second area confirmation submodule is used to determine the key area in the pressure area according to the sleeping posture of the user; The third area confirmation submodule is used to use the line from the user's head to the midpoint of the key area as the spine position.

10. The adjustment system based on the smart mattress according to claim 7, characterized in that: The regulating module includes a mean value acquisition submodule and an air pressure control submodule; The average value acquisition submodule is used to acquire an independent area in the spinal region with a pressure less than a second pressure threshold as a first area, and calculate an average value of the pressure parameter of the first area; The air pressure control submodule is used to obtain an independent area with a pressure greater than a second pressure threshold in the spinal position as the second area, and reduce the air pressure in the second area until the pressure parameter of the second area reaches an average value of the pressure parameter.