Air bag adjusting method and device, intelligent mattress and storage medium

By using airbag adjustment methods on the mattress, using air pumps and sensors to detect the user's turnover movements and adjusting the airbag air pressure in real time, the problem that existing mattresses cannot adjust the softness and hardness is solved, and the user's sleep quality and comfort are improved.

CN119453695APending Publication Date: 2025-02-18DONGGUAN DERUCCI BEDDING CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411961258.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

The existing mattresses cannot adjust the softness and hardness, and cannot meet the user's comfort requirements during sleep, affecting the user's sleep quality.

Method used

The airbag adjustment method is adopted to detect the user's turnover action through the air pump, air pressure sensor and optical sensor, and adjust the air pressure of the airbag in each adjustment area in real time, achieving flexible adjustment of softness and hardness.

Benefits of technology

It improves users' comfort during sleep, enhances users' sleep quality, and meets users' diverse needs for mattress softness and hardness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119453695A_ABST
    Figure CN119453695A_ABST
Patent Text Reader

Abstract

The invention discloses an air bag adjusting method and device, an intelligent mattress and a storage medium. The method is applied to the intelligent mattress and comprises the following steps: acquiring air pressure information collected by air pressure sensors corresponding to all adjusting areas; when it is detected that a target user on the intelligent mattress turns over according to the air pressure information, the current first air pressure gear of each adjusting area is obtained, and the air pressure difference value, corresponding to the turning-over action, of each adjusting area is obtained; according to the air pressure difference value, corresponding to the turning-over action, of each adjusting area and the current first air pressure gear of each adjusting area, a second air pressure gear corresponding to each adjusting area is determined; and according to the second air pressure gears corresponding to all the adjusting areas, the air pump is controlled to adjust one or more air bags in all the adjusting areas. By means of the intelligent mattress, the air bags in the adjusting areas in the intelligent mattress can be flexibly adjusted, the comfort degree of a user in the sleeping process is improved, and the sleeping quality of the user 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 smart home technology, and in particular to an airbag adjustment method, device, smart mattress and storage medium. Background Art

[0002] As people's pursuit of material life continues to improve and technology continues to advance, people are paying more and more attention to the impact of the hardness of mattresses on sleep quality. However, most mattresses on the market currently cannot adjust the hardness and softness, and cannot meet the user's comfort requirements during sleep, affecting the user's sleep quality. Summary of the invention

[0003] The embodiments of the present application disclose an airbag adjustment method, device, smart mattress and storage medium, which can flexibly adjust the airbags in each adjustment area of ​​the smart mattress, thereby improving the user's comfort during sleep and improving the user's sleep quality.

[0004] The first aspect of the embodiment of the present application discloses an airbag adjustment method, wherein the smart mattress includes an air pump, one or more adjustment areas, and an air pressure sensor corresponding to each of the adjustment areas, and each of the adjustment areas includes one or more airbags connected to the air pump; the method includes:

[0005] Acquiring air pressure information collected by air pressure sensors corresponding to each of the adjustment areas;

[0006] When it is detected according to the air pressure information that the target user on the smart mattress turns over, the current first air pressure level of each of the adjustment areas is obtained, and the air pressure difference value corresponding to the turning over action of each of the adjustment areas is obtained;

[0007] Determine the second air pressure level corresponding to each of the adjustment areas according to the air pressure difference corresponding to each of the adjustment areas and the turning over action, and the current first air pressure level of each of the adjustment areas;

[0008] According to the second air pressure level corresponding to each of the adjustment areas, the air pump is controlled to adjust one or more of the airbags in each of the adjustment areas.

[0009] In some possible embodiments, the smart mattress further includes an optical sensor; before determining the second air pressure level corresponding to each of the adjustment areas according to the air pressure difference corresponding to each of the adjustment areas and the turning over action, and the current first air pressure level of each of the adjustment areas, the method further includes:

[0010] When it is detected according to the air pressure information that the target user on the smart mattress turns over, a spectral time domain signal collected by the optical sensor is acquired, the spectral time domain signal is converted into a frequency domain signal, and a target sleeping position of the target user after turning over is identified according to the frequency domain signal;

[0011] Determining the second air pressure level corresponding to each of the adjustment areas according to the air pressure difference corresponding to each of the adjustment areas and the turning over action, and the current first air pressure level of each of the adjustment areas, comprises:

[0012] The second air pressure level corresponding to each of the adjustment areas is determined according to the target sleeping posture, the air pressure difference corresponding to each of the adjustment areas and the turning over action, and the current first air pressure level of each of the adjustment areas.

[0013] In some possible embodiments, acquiring the spectral time domain signal collected by the optical sensor, converting the spectral time domain signal into a frequency domain signal, and identifying the target sleeping position of the target user after turning over according to the frequency domain signal includes:

[0014] Acquire a first spectral time domain signal collected by the optical sensor before the target user turns over, and a second spectral time domain signal collected after the target user turns over;

[0015] Converting the first spectrum time domain signal into a first frequency domain signal, and determining a first spectrum energy maximum value corresponding to the first frequency domain signal;

[0016] Converting the second spectrum time domain signal into a second frequency domain signal, and determining a second spectrum energy maximum value corresponding to the second frequency domain signal;

[0017] A target sleeping posture of the target user after turning over is determined according to a ratio between the first spectrum energy maximum value and the second spectrum energy maximum value.

[0018] In some possible embodiments, determining the second air pressure level corresponding to each of the adjustment areas according to the air pressure difference corresponding to each of the adjustment areas and the turning over action, and the current first air pressure level of each of the adjustment areas, includes:

[0019] Calculate the third air pressure level corresponding to each of the adjustment areas according to the current first air pressure level of each of the adjustment areas and the air pressure difference corresponding to each of the adjustment areas and the turning over action;

[0020] According to the correction rules corresponding to the body areas corresponding to the respective adjustment areas, the third air pressure levels corresponding to the respective adjustment areas are corrected to obtain the second air pressure levels corresponding to the respective adjustment areas.

[0021] In some possible embodiments, the smart mattress is provided with a first adjustment area, a second adjustment area, and a third adjustment area, the first adjustment area corresponds to the shoulder and back area of ​​the target user, the second adjustment area corresponds to the waist area of ​​the target user, and the third adjustment area corresponds to the hip and leg area of ​​the target user; the third air pressure level corresponding to each adjustment area is corrected according to the correction rules corresponding to the body areas corresponding to each adjustment area to obtain the second air pressure level corresponding to each adjustment area, including:

[0022] Based on the first correction rule corresponding to the shoulder and back area, and according to the third air pressure level corresponding to the second adjustment area, the third air pressure level corresponding to the first adjustment area is corrected to obtain the second air pressure level corresponding to the first adjustment area;

[0023] Based on the second correction rule corresponding to the hip-leg area, and according to the third air pressure level corresponding to the second adjustment area, the third air pressure level corresponding to the third adjustment area is corrected to obtain the second air pressure level corresponding to the third adjustment area;

[0024] The third air pressure level corresponding to the second regulating area is used as the second air pressure level corresponding to the second regulating area.

[0025] In some possible embodiments, the first correction rule includes a plurality of first gear intervals, and the interval ranges of the plurality of first gear intervals are determined according to the difference between the third air pressure level corresponding to the second adjustment area and the first threshold and the second threshold respectively; the interval ranges of the plurality of first gear intervals are different;

[0026] The method of correcting the third air pressure level corresponding to the first adjustment area based on the first correction rule corresponding to the shoulder area and according to the third air pressure level corresponding to the second adjustment area to obtain the second air pressure level corresponding to the first adjustment area includes:

[0027] Comparing the third air pressure level corresponding to the first regulating area with the plurality of first gear ranges respectively, to determine a target first gear range to which the third air pressure level corresponding to the first regulating area belongs;

[0028] The second air pressure level corresponding to the first adjustment area is determined according to the difference between the third air pressure level corresponding to the second adjustment area and the correction value corresponding to the target first gear range, and the third air pressure level corresponding to the first adjustment area.

[0029] In some possible embodiments, the second correction rule includes a plurality of second gear intervals, and the ranges of the plurality of second gear intervals are determined according to the sum of the third air pressure level corresponding to the second adjustment area and the second threshold, or the ranges of the plurality of second gear intervals are determined according to the sum of the third air pressure level corresponding to the second adjustment area and the first threshold and the second threshold respectively; the ranges of the plurality of second gear intervals are different;

[0030] The method of correcting the third air pressure level corresponding to the third adjustment area based on the second correction rule corresponding to the hip-leg area and according to the third air pressure level corresponding to the second adjustment area to obtain the second air pressure level corresponding to the third adjustment area includes:

[0031] Comparing the third air pressure level corresponding to the third regulating area with the plurality of second level intervals respectively, and determining a target second level interval to which the third air pressure level corresponding to the third regulating area belongs;

[0032] The second air pressure level corresponding to the third adjustment area is determined according to the sum of the third air pressure level corresponding to the second adjustment area, the correction value corresponding to the target second level interval, and the third air pressure level corresponding to the third adjustment area.

[0033] A second aspect of the embodiment of the present application discloses an airbag adjustment device, which is applied to a smart mattress, wherein the smart mattress includes an air pump, one or more adjustment areas, and an air pressure sensor corresponding to each of the adjustment areas, each of the adjustment areas includes one or more airbags connected to the air pump; the device includes:

[0034] An information acquisition module, used to acquire air pressure information collected by the air pressure sensor corresponding to each of the adjustment areas;

[0035] The information acquisition module is further used to acquire the current first air pressure level of each of the adjustment areas and the air pressure difference value corresponding to the turning over action of each of the adjustment areas when it is detected that the target user on the smart mattress turns over according to the air pressure information;

[0036] An air pressure determination module, used to determine the second air pressure level corresponding to each of the adjustment areas according to the air pressure difference corresponding to each of the adjustment areas and the turning over action, and the current first air pressure level of each of the adjustment areas;

[0037] The airbag adjustment module is used to control the air pump to adjust one or more airbags in each of the adjustment areas according to the second air pressure level corresponding to each of the adjustment areas.

[0038] A third aspect of an embodiment of the present application discloses a smart mattress, comprising a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the smart mattress implements the airbag adjustment method described in any of the above embodiments.

[0039] A fourth aspect of the embodiments of the present application discloses a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the processor implements the airbag adjustment method as described in any of the above embodiments.

[0040] The present application provides an air bag adjustment method, device, smart mattress and storage medium. The smart mattress can obtain air pressure information collected by an air pressure sensor corresponding to each adjustment area. When a target user on the smart mattress is detected to have turned over according to the air pressure information, the current first air pressure level of each adjustment area is obtained, as well as the air pressure difference between each adjustment area and the turning over action. The smart mattress can determine the second air pressure level corresponding to each adjustment area according to the air pressure difference corresponding to the turning over action and the current first air pressure level of each adjustment area; the smart mattress can control the air pump to adjust one or more air bags in each adjustment area according to the second air pressure level corresponding to each adjustment area. In the embodiment of the present application, when the target user turns over, the smart mattress can collect the air pressure information of each air bag inside the smart mattress through the air pressure sensor. The smart mattress can determine the second air pressure level corresponding to each adjustment area according to the air pressure difference corresponding to each adjustment area and the turning over action and the current first air pressure level of each adjustment area, and adjust the air bag of each adjustment area according to the second air pressure level corresponding to each adjustment area. During the target user's sleep, the air bag of each adjustment area in the smart mattress can be flexibly adjusted according to the target user's turning over action, thereby improving the user's comfort during sleep and improving the user's sleep quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0042] Figure 1 An application scenario diagram of an airbag adjustment method provided in an embodiment of the present application;

[0043] Figure 2 A flow chart of an airbag adjustment method provided in an embodiment of the present application;

[0044] Figure 3A flow chart of another airbag adjustment method provided in an embodiment of the present application;

[0045] Figure 4 A schematic diagram of an optical fiber sensor provided in an embodiment of the present application and arranged inside a smart mattress;

[0046] Figure 5 A flow chart for identifying a target sleeping position of a target user provided in an embodiment of the present application;

[0047] Figure 6 A flow chart for determining the second air pressure level corresponding to each adjustment area provided in an embodiment of the present application;

[0048] Figure 7 A flow chart of determining the second air pressure level corresponding to each adjustment area through the correction rules corresponding to each adjustment area provided in an embodiment of the present application;

[0049] Figure 8 A flow chart of airbag adjustment after a target user goes to bed provided in an embodiment of the present application;

[0050] Fig. 9 A structural block diagram of an airbag adjustment device provided in an embodiment of the present application;

[0051] Fig.10 A structural block diagram of a smart mattress provided in an embodiment of the present application. DETAILED DESCRIPTION

[0052] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0053] It should be noted that the terms "including" and "having" and any variations thereof in the embodiments of the present application and the accompanying drawings are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.

[0054] In addition, "at least one" means one or more, and "plurality" means two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b and c can mean: a, or b, or c, or a and b, or a and c, or b and c, or a, b and c, where a, b, c can be single or multiple.

[0055] Figure 1 This is an application scenario diagram of an airbag adjustment method provided in an embodiment of the present application. Figure 1 As shown, the airbag adjustment method can be applied to a smart mattress 100, which may include an air pump (not shown in the figure), one or more adjustment areas and air pressure sensors corresponding to each adjustment area (not shown in the figure), and each adjustment area includes one or more airbags 120 connected to the air pump.

[0056] The smart mattress 100 may be provided with a receiving cavity, which may be used to receive the air pump and the airbag 120. In the smart mattress 100, the airbags 120 may be arranged in sequence, and illustratively, the airbags 120 may be in a strip or a circular shape, or in other shapes, which are not limited here.

[0057] The smart mattress 100 may also include a controller and a solenoid valve assembly (not shown in the figure). The controller signal is connected to the air pump and the solenoid valve assembly. The solenoid valve assembly is arranged in the air supply pipeline between the air pump and the airbag. The controller can control the opening and closing of the air pump and the solenoid valve assembly to control the inflation or deflation of one or more target airbags 120, thereby adjusting the hardness, shape and other characteristics of the airbags 120 in the adjustment area 110.

[0058] In some embodiments, the smart mattress 100 may include a first adjustment area, a second adjustment area and a third adjustment area. The first adjustment area may correspond to the shoulder and back area of ​​the target user, and the first adjustment area may include two air bags; the second adjustment area may correspond to the waist area of ​​the target user, and the second adjustment area may include two air bags; the third adjustment area may correspond to the hip and leg area of ​​the target user, and the third adjustment area may include three air bags.

[0059] The air pressure sensor can be used to detect changes in gas pressure in one or more air bags 120 inside the smart mattress 100. Optionally, the adjustment area 110 may correspond to one or more air pressure sensors. When the adjustment area 110 has multiple air bags 120, each air bag 120 may correspond to one air pressure sensor.

[0060] In some embodiments, the smart mattress 100 may further include an optical sensor. The optical sensor may be used to identify the target sleeping position of the target user on the smart mattress 100. The optical sensor may include but is not limited to an optical fiber sensor, a photoelectric sensor, or an infrared sensor, etc. The optical sensor may be disposed inside the smart mattress 100 or outside the smart mattress 100, which is not limited here.

[0061] The smart mattress 100 can obtain the air pressure information collected by the air pressure sensor corresponding to each adjustment area 110, and when it is detected that the target user on the smart mattress 100 turns over according to the air pressure information, the current first air pressure level of each adjustment area 110 is obtained, and the air pressure difference value corresponding to the turning over action of each adjustment area 110 is obtained. The smart mattress 100 can determine the second air pressure level corresponding to each adjustment area 110 according to the air pressure difference value corresponding to the turning over action of each adjustment area 110 and the current first air pressure level of each adjustment area 110. The smart mattress 100 can control the air pump to adjust one or more air bags 120 of each adjustment area 110 according to the second air pressure level corresponding to each adjustment area 110.

[0062] like Figure 2 As shown, in one embodiment, an airbag adjustment method is provided, which can be applied to the above-mentioned smart mattress. The method may include the following steps:

[0063] Step 202: Obtain air pressure information collected by the air pressure sensors corresponding to each adjustment area.

[0064] The smart mattress can obtain air pressure information of one or more air bags collected by the air pressure sensors corresponding to each adjustment area.

[0065] Air pressure information may include but is not limited to air pressure value, air pressure distribution, and air pressure change trend, among which, air pressure value may refer to the specific value of the air pressure of the airbag, air pressure distribution may refer to the distribution of air pressure values ​​at various positions in each adjustment area, and air pressure change trend may refer to the change trend of air pressure values ​​over time. The smart mattress can form an air pressure distribution by integrating the air pressure values ​​collected in real time by the air pressure sensors corresponding to each adjustment area; the smart mattress can also analyze the air pressure change trend through the air pressure values ​​collected by the air pressure sensors corresponding to each adjustment area over a period of time.

[0066] Step 204, when it is detected according to the air pressure information that the target user on the smart mattress has turned over, the current first air pressure level of each adjustment area is obtained, and the air pressure difference value corresponding to the turning over action of each adjustment area is obtained.

[0067] The smart mattress can determine whether the target user turns over based on the air pressure information corresponding to each adjustment area, where the target user refers to the user on the smart mattress.

[0068] The turning over action may refer to the action process of the target user changing from one sleeping position to another sleeping position on the surface of the smart mattress. The turning over action will cause the air pressure distribution on the surface of the smart mattress to change, thereby generating air pressure changes on the surface of the smart mattress corresponding to each adjustment area. The sleeping position may refer to the sleeping position of the target user on the surface of the smart mattress, and the sleeping position may include but is not limited to one or more of lying flat, lying on the side and lying prone.

[0069] The smart mattress can determine the air pressure difference based on the air pressure values ​​in each air bag over a period of time, and judge whether the target user has turned over based on the sum of the air pressure difference corresponding to the first adjustment area and the air pressure difference corresponding to the third adjustment area. If the sum is greater than the preset turning over threshold, it means that the air pressure difference corresponding to the first adjustment area and the third adjustment area is caused by the body movement of the target user, and therefore it can be determined that the target user has turned over on the smart mattress.

[0070] For example, the smart mattress can obtain the air pressure difference p corresponding to the first adjustment area respectively. f1 The pressure difference p corresponding to the third adjustment area f3 , thus determining the eigenvalue as:

[0071] f0=p f1 +p f3 Formula (1);

[0072] Among them, p f1 is the pressure difference corresponding to the first adjustment area, p f3 is the pressure difference corresponding to the third adjustment area, and f0 is the characteristic value;

[0073] The characteristic value f0 is compared with the preset turning over threshold f1. If f0>f1, it is determined that the target user has turned over on the smart mattress.

[0074] In some embodiments, multiple air pressure levels may be pre-set for each adjustment area. Different air pressure levels result in different air pressures inside the airbags, and different softness and hardness of the corresponding positions of the airbags. For example, a higher air pressure level indicates that the air pressure inside one or more airbags in the adjustment area is greater, and the corresponding softness and hardness of the airbags is harder, and the supporting force of the airbags is stronger; a lower air pressure level indicates that the corresponding softness and hardness of the airbags is softer, and the supporting force of the airbags is weaker.

[0075] When the target user is sleeping on the smart mattress, the smart mattress can dynamically adjust the air pressure level corresponding to each adjustment area according to the target user's turning over action on the smart mattress, so that the hardness of each adjustment area is more suitable for the target user's sleeping posture. When the target user on the smart mattress turns over, the current first air pressure level of each adjustment area can be obtained, and the first air pressure level can refer to the air pressure level corresponding to each adjustment area before the target user turns over action is detected.

[0076] When it is detected that the target user on the smart mattress turns over, the smart mattress can also obtain the air pressure difference corresponding to each adjustment area and the turning over action. The air pressure difference can be used to reflect the air pressure changes in each airbag after and before the target user turns over.

[0077] As an implementation mode, the smart mattress can determine the pressure difference corresponding to each adjustment area by subtracting the average value of the air pressure value in a period of time before the target user turns over from the average value of the air pressure value in each adjustment area after the target user turns over. Optionally, the smart mattress can also determine the pressure difference corresponding to each adjustment area by subtracting the maximum value of the air pressure value in a period of time before the turning over from the maximum value of the air pressure value in a period of time after the turning over. However, the present invention is not limited thereto.

[0078] Step 206, determining the second air pressure level corresponding to each adjustment area according to the air pressure difference corresponding to each adjustment area and the turning over action, and the current first air pressure level of each adjustment area.

[0079] When the target user turns over, the smart mattress can adjust the current first air pressure level of each adjustment area according to the air pressure difference corresponding to each adjustment area and the turning over action to determine the second air pressure level corresponding to each adjustment area.

[0080] Furthermore, the air pressure adjustment parameters corresponding to each adjustment area can be determined according to the air pressure difference corresponding to each adjustment area and the turning over action, and the current first air pressure level of each adjustment area can be adjusted according to the air pressure adjustment parameters corresponding to each adjustment area to determine the second air pressure level corresponding to each adjustment area.

[0081] Optionally, when detecting that a preset condition is met, the smart mattress can also determine the second air pressure level corresponding to each adjustment area by obtaining the air pressure difference in each adjustment area within a period of time before and after the moment when the preset condition is met as a time node, and the preset condition may include but is not limited to one or more conditions such as time conditions or air pressure conditions.

[0082] Exemplarily, the smart mattress can obtain the air pressure difference of each adjustment area over a period of time every half hour to determine the air pressure adjustment parameters corresponding to each adjustment area, and adjust the current first air pressure level of each adjustment area according to the air pressure adjustment parameters corresponding to each adjustment area to determine the second air pressure level corresponding to each adjustment area; the smart mattress can also determine the air pressure adjustment parameters corresponding to each adjustment area according to the air pressure difference of each adjustment area over a period of time before and after the time node when the air pressure value suddenly changes in one or more adjustment areas but no turning over action of the target user is detected, and adjust the current first air pressure level of each adjustment area.

[0083] Step 208, controlling the air pump to adjust one or more airbags in each adjustment area according to the second air pressure level corresponding to each adjustment area.

[0084] The smart mattress can control the air pump to inflate or deflate one or more air bags in each adjustment area, so as to adjust the one or more air bags in each adjustment area from a first air pressure level to a second air pressure level.

[0085] When the second air pressure level is greater than the first air pressure level, the smart mattress can control the air pump and the solenoid valve assembly through the controller to increase the air pressure of one or more air bags in each adjustment area by inflation, thereby hardening the air bags; and when the second air pressure level is less than the first air pressure level, the smart mattress can control the air pump and the solenoid valve assembly through the controller to deflate, thereby reducing the air pressure in the air bags and softening the air bags.

[0086] In an embodiment of the present application, when the smart mattress detects that the target user has turned over, the second air pressure level corresponding to each adjustment area is determined according to the air pressure difference corresponding to each adjustment area and the turning over action, and the current first air pressure level of each adjustment area, and the air pump is controlled to adjust one or more air bags in each adjustment area to the second air pressure level. This ensures that the smart mattress can automatically adjust the air bag pressure according to the initial first air pressure level and the turning over action of the target user to adjust the hardness of each air bag, so that the shape of the smart mattress is more in line with the sleeping posture of the target user, thereby improving the sleep quality of the target user.

[0087] like Figure 3 As shown, in one embodiment, another airbag adjustment method is provided, which can be applied to the above-mentioned smart mattress, and the smart mattress also includes an optical sensor. The method may include the following steps:

[0088] Step 301, obtaining air pressure information collected by the air pressure sensor corresponding to each adjustment area.

[0089] Step 303, when it is detected according to the air pressure information that the target user on the smart mattress has turned over, the current first air pressure level of each adjustment area is obtained, and the air pressure difference value corresponding to the turning over action of each adjustment area is obtained.

[0090] Step 305 , obtaining the spectral time domain signal collected by the optical sensor, converting the spectral time domain signal into a frequency domain signal, and identifying the target sleeping position of the target user after turning over according to the frequency domain signal.

[0091] In some embodiments, when the target user turns over, the smart mattress can identify the target sleeping position of the target user after turning over, and determine the second air pressure level corresponding to each adjustment area based on the target sleeping position.

[0092] The smart mattress can detect the target sleeping position of the target user after turning over through an optical sensor. When the target user on the smart mattress turns over, the smart mattress can obtain the spectral time domain signal collected by the optical sensor, and convert the spectral time domain signal into a frequency domain signal, and determine the target sleeping position of the target user after turning over according to the characteristics of the frequency domain signal. The spectral time domain signal may refer to the light intensity or spectral distribution that varies with time, and the frequency domain signal may refer to the signal obtained by converting the spectral time domain signal through a time-frequency conversion method, and the time-frequency conversion method may include but is not limited to Fourier transform and wavelet transform.

[0093] In some embodiments, the optical sensor may be a fiber optic sensor, and the fiber optic sensor may be embedded inside the smart mattress. When the target user turns over on the surface of the smart mattress, the pressure caused by the turning over causes the optical fiber inside the smart mattress to bend and deform, thereby changing the light transmission path, causing light signal loss, and thus generating obvious signal fluctuations in the spectral time domain, so that the smart mattress can identify the target sleeping position of the target user based on the signal fluctuation characteristics.

[0094] For example, Figure 4 This is a schematic diagram of an optical fiber sensor provided in an embodiment of the present application and arranged inside a smart mattress. Figure 4As shown, along the thickness direction of the smart mattress 400, the smart mattress 400 may include a first silicone layer 401, a first polyvinyl chloride (PVC) layer 402, a second PVC layer 403 and a second silicone layer 404 stacked in sequence, wherein the optical fiber sensor 405 is arranged between the first PVC layer 402 and the second PVC layer 403, and a pressurizing device 406 is arranged between the second PVC layer 403 and the second silicone layer 404 corresponding to the optical fiber sensor 405. The pressurizing device 406 can be used to apply appropriate pressure to the optical fiber sensor 405 when the target user turns over, thereby causing the optical fiber to be significantly deformed, so that the optical fiber sensor 405 can collect more obvious spectral time domain signals.

[0095] The smart mattress can identify the target sleeping position of the target user after turning over based on the frequency domain signal converted from the spectral time domain signal. Figure 5 This is a flow chart for identifying the target sleeping posture of a target user provided by an embodiment of the present application. Figure 5 As shown, the step of acquiring the spectral time domain signal collected by the optical sensor, converting the spectral time domain signal into a frequency domain signal, and identifying the target sleeping position of the target user after turning over according to the frequency domain signal may include the following steps:

[0096] Step 501 : acquiring a first spectral time domain signal collected by the optical sensor before the target user turns over, and a second spectral time domain signal collected after the target user turns over.

[0097] The smart mattress can set the time when the target user turns over as a time node, and obtain the first spectral time domain signal collected by the optical sensor before the time node, and the second spectral time domain signal collected after the time node. The first spectral time domain signal can be a spectral time domain signal collected by the optical sensor in a first time period before the target user turns over, and the second spectral time domain signal can be a spectral time domain signal collected by the optical sensor in a second time period after the target user turns over, wherein the first time period can be the same as the second time period, or different from the second time period.

[0098] Optionally, the smart mattress may also obtain a second spectral time-domain signal collected by the optical sensor after the target user completes the turning over action and when the spectral time-domain signal collected by the optical sensor tends to remain unchanged.

[0099] Step 503: convert the first spectrum time domain signal into a first frequency domain signal, and determine the maximum value of the first spectrum energy corresponding to the first frequency domain signal.

[0100] The smart mattress can convert the first spectral time domain signal into a first frequency domain signal through a frequency domain analysis method, and determine the maximum value of the first spectrum energy corresponding to the first frequency domain signal through spectrum analysis.

[0101] Frequency domain analysis methods may include but are not limited to power spectrum, energy spectrum, inverse spectrum and power spectrum density, etc. The maximum energy value of the first spectrum may refer to the energy value corresponding to the frequency point with the most concentrated or maximum energy in the corresponding spectrum obtained by the frequency domain analysis method.

[0102] Exemplarily, the smart mattress can determine the power spectrum density of the first spectral time domain signal x(t) by the power spectrum density calculation formula (2) of the continuous signal:

[0103]

[0104] Where T is the acquisition time length of the continuous first spectrum time domain signal, x(t) is the continuous first spectrum time domain signal, x ω (t) is the first spectral time domain signal in a limited range after the window function ω(t) is introduced, is the continuous Fourier transform function of the first spectral time domain signal, f is the frequency, is the power spectral density of the continuous first spectrum time domain signal;

[0105] Or the power spectral density of the first spectral time domain signal x(n) is determined by the power spectral density calculation formula (3) of the discrete signal:

[0106]

[0107] Wherein, N is the number of sampling points of the discrete first spectrum-time domain signal, x(n) is the discrete first spectrum-time domain signal, and n=1, 2, ..., N, DFT{·} is the discrete Fourier transform function of the first spectrum-time domain signal, f s is the sampling frequency, is the power spectral density of the discrete first spectral time domain signal;

[0108] After obtaining the power spectrum density of the first spectrum time domain signal, the smart mattress can draw a power spectrum density curve and find the point with the maximum power spectrum density value on the power spectrum density curve. The power spectrum density value corresponding to the point is the maximum value of the first spectrum energy.

[0109] Step 505: convert the second spectrum time domain signal into a second frequency domain signal, and determine the second spectrum energy maximum value corresponding to the second frequency domain signal.

[0110] Step 507: Determine the target sleeping position of the target user after turning over according to the ratio between the first spectrum energy maximum value and the second spectrum energy maximum value.

[0111] When the target sleeping position includes lying on the side and lying flat, the smart mattress can determine that the target sleeping position after the target user turns over is lying on the side based on the ratio between the first spectrum energy maximum value and the second spectrum energy maximum value. When the ratio is less than a preset threshold, the smart mattress can determine that the target sleeping position after the target user turns over is lying on the side; when the ratio is not less than the preset threshold, the smart mattress can determine that the target sleeping position after the target user turns over is lying flat.

[0112] It is understandable that different sleeping positions of the target user will cause different parts of the body to contact the surface of the smart mattress and form different air pressure distributions, which will further cause the smart mattress to produce different frequency components. The maximum energy value of the first spectrum can represent the main frequency characteristics of the target user before turning over, and the maximum energy value of the second spectrum can represent the main frequency characteristics of the target user after turning over. Therefore, the ratio between the above two can reflect the dynamic changes of the air pressure distribution on the mattress surface under different sleeping positions, so as to determine the target sleeping position of the target user after turning over.

[0113] Exemplarily, the smart mattress determines the first spectrum energy maximum value f1 and the second spectrum energy maximum value f2 respectively through formula (2) or formula (3), and determines whether the ratio f1 / f2 between the two is less than a preset threshold value. If it is less than the preset threshold value, the target sleeping position is determined to be lying on the side, otherwise, the target sleeping position is determined to be lying flat.

[0114] In this embodiment, the spectral time domain signal collected by the optical sensor is converted into a frequency domain signal, and after frequency domain analysis, the target sleeping position of the target user after turning over can be accurately identified. The target sleeping position can be identified more accurately, which helps to accurately adjust the air pressure level of each adjustment area subsequently.

[0115] Step 307 , determining the second air pressure level corresponding to each adjustment area according to the target sleeping posture, the air pressure difference corresponding to each adjustment area and the turning over action, and the current first air pressure level of each adjustment area.

[0116] The smart mattress can determine the air pressure adjustment parameters corresponding to each adjustment area according to the target sleeping position and the air pressure difference corresponding to each adjustment area and the turning over action, and adjust the current first air pressure level of each adjustment area according to the air pressure adjustment parameters corresponding to each adjustment area to determine the second air pressure level corresponding to each adjustment area.

[0117] Furthermore, for each sleeping position, there may be a corresponding method for determining the second air pressure level, and the method for determining the second air pressure level may be different for different sleeping positions. When the target sleeping positions corresponding to the target users are different, the second air pressure levels corresponding to the determined adjustment areas may be different.

[0118] Step 309: Control the air pump to adjust one or more airbags in each adjustment area according to the second air pressure level corresponding to each adjustment area.

[0119] In the embodiment of the present application, the smart mattress can accurately identify the target sleeping position, and determine the second air pressure level corresponding to each adjustment area according to the air pressure difference corresponding to each adjustment area of ​​the target sleeping position and the turning over action, as well as the current first air pressure level of each adjustment area, and adjust the airbags of each adjustment area according to the second air pressure level corresponding to each adjustment area, so that the adjusted airbags can provide more suitable support and softness and hardness, so that the surface of the smart mattress can fit the target user's body closely under different sleeping positions of the target user, thereby promoting the improvement of the target user's sleep quality.

[0120] In some embodiments, Figure 6 A flow chart for determining the second air pressure level corresponding to each adjustment area provided in an embodiment of the present application. Figure 6 As shown, the step of determining the second air pressure level corresponding to each adjustment area according to the air pressure difference corresponding to each adjustment area and the turning action, and the current first air pressure level of each adjustment area, may include the following steps:

[0121] Step 602, calculating the third air pressure level corresponding to each adjustment area according to the current first air pressure level of each adjustment area and the air pressure difference corresponding to each adjustment area and the turning over action.

[0122] Based on the target sleeping position, the smart mattress can determine the air pressure adjustment parameters according to the air pressure difference corresponding to each adjustment area and the turning over action, and adjust the current first air pressure level of each adjustment area according to the air pressure adjustment parameters corresponding to each adjustment area to determine the third air pressure level corresponding to each adjustment area.

[0123] Furthermore, the smart mattress can determine the third air pressure level corresponding to each adjustment area according to different target sleeping positions and different calculation methods.

[0124] Exemplarily, the first adjustment area in the smart mattress is the first adjustment area, corresponding to the shoulder and back area of ​​the target user; the second adjustment area is the second adjustment area, corresponding to the waist area of ​​the target user; the third adjustment area is the third adjustment area, corresponding to the hip and leg area of ​​the target user.

[0125] Therefore, the smart mattress can first obtain the current first air pressure level of each adjustment area. And the pressure difference corresponding to each adjustment area and the turning action and When the target sleeping position is side-lying, the third air pressure level corresponding to each adjustment area is determined as:

[0126]

[0127] in, is the third air pressure level corresponding to the i-th adjustment area, is the air pressure adjustment parameter corresponding to the ith adjustment area, abs(·) is the absolute value function, and round(·) is the function that rounds the input value to a specified number of decimal places;

[0128] When the target sleeping position is lying flat, the smart mattress can first re-determine the first air pressure level corresponding to the first adjustment area and the third adjustment area according to the first air pressure level corresponding to the second adjustment area:

[0129]

[0130] Among them, "8" in formula (5) and "15" in formula (6) are the preset adjustment correction values ​​of the smart mattress.

[0131] Then determine the third air pressure level corresponding to each adjustment area:

[0132]

[0133] in, is the air pressure adjustment parameter corresponding to the i-th adjustment area.

[0134] Step 604, correcting the third air pressure level corresponding to each adjustment area according to the correction rule corresponding to the body area corresponding to each adjustment area, to obtain the second air pressure level corresponding to each adjustment area.

[0135] The smart mattress can determine the correction value corresponding to each adjustment area according to the correction rules corresponding to the body area corresponding to each adjustment area, and determine the second air pressure level corresponding to each adjustment area according to the difference or sum between the third air pressure level corresponding to each adjustment area and the correction value corresponding to each adjustment area, and the third air pressure level corresponding to each adjustment area.

[0136] The correction rule may refer to the rule used by the smart mattress to adjust or optimize the air pressure level of each adjustment area according to the body area corresponding to each adjustment area. Different adjustment areas have different correction rules, and the same adjustment area also has different correction rules under different target sleeping positions.

[0137] In some embodiments, Figure 7 A flowchart of determining the second air pressure level corresponding to each adjustment area through the correction rules corresponding to each adjustment area provided in the embodiment of the present application. Figure 7 As shown, the step 604 corrects the third air pressure level corresponding to each adjustment area according to the correction rule corresponding to the body area corresponding to each adjustment area to obtain the second air pressure level corresponding to each adjustment area. The step 604 may include the following steps:

[0138] Step 701, based on the first correction rule corresponding to the shoulder and back area, according to the third air pressure level corresponding to the second adjustment area, correct the third air pressure level corresponding to the first adjustment area to obtain the second air pressure level corresponding to the first adjustment area.

[0139] The smart mattress can determine the correction value corresponding to the third air pressure level corresponding to the second adjustment area based on the first correction rule corresponding to the shoulder and back area, and obtain the second air pressure level corresponding to the first adjustment area according to the difference between the third air pressure level corresponding to the first adjustment area and the correction value, and the third air pressure level corresponding to the first adjustment area.

[0140] In some embodiments, the first correction rule includes multiple first gear intervals, and the interval ranges of the multiple first gear intervals are determined according to the difference between the third air pressure level corresponding to the second adjustment area and the first threshold and the second threshold respectively; the interval ranges of the multiple first gear intervals are different. The third air pressure level corresponding to the first adjustment area is compared with the multiple first gear intervals respectively to determine the target first gear interval to which the third air pressure level corresponding to the first adjustment area belongs; according to the difference between the third air pressure level corresponding to the second adjustment area and the correction value corresponding to the target first gear interval, and the third air pressure level corresponding to the first adjustment area, the second air pressure level corresponding to the first adjustment area is determined.

[0141] The smart mattress can form two threshold nodes according to the difference between the third air pressure level corresponding to the second adjustment area and the first threshold and the second threshold, and form three first level intervals according to the two threshold nodes, and each first level interval has a different range.

[0142] For example, when the target sleeping posture is lying on the side or lying flat, the smart mattress can adjust the air pressure level according to the third air pressure level corresponding to the second adjustment area. The differences between the first threshold value TH1 and the second threshold value TH2 respectively determine the three first gear intervals, and the third air pressure gear corresponding to the second adjustment area is set. The difference between the correction value corresponding to the target first gear interval and the third air pressure gear corresponding to the first adjustment area Determine the second air pressure level corresponding to the first adjustment area

[0143]

[0144] Wherein, TH1 is a preset first threshold, TH2 is a preset second threshold, and TH1>TH2, is the third air pressure level corresponding to the first adjustment area, The third air pressure level corresponding to the second adjustment area, It is the second air pressure level corresponding to the first adjustment area.

[0145] The smart mattress divides the first-level intervals into three different ranges according to the difference between the third air pressure level corresponding to the second adjustment area and the first threshold and the second threshold. In addition, in each first-level interval, the correction method of the air pressure level of the first adjustment area is different, so that the first adjustment area can be corrected more accurately according to the value of the third air pressure level corresponding to it, so as to obtain the second air pressure level that better meets the needs of the target user corresponding to the shoulder and back area, and then the airbags in the first adjustment area provide more suitable support and softness and hardness for the shoulder and back area of ​​the target user, thereby promoting the improvement of the sleep quality of the target user.

[0146] Step 703, based on the second correction rule corresponding to the hip and leg area, according to the third air pressure level corresponding to the second adjustment area, correct the third air pressure level corresponding to the third adjustment area to obtain the second air pressure level corresponding to the third adjustment area.

[0147] The smart mattress can determine the correction value corresponding to the third air pressure level corresponding to the second adjustment area based on the second correction rule corresponding to the hip and leg area, and obtain the second air pressure level corresponding to the third adjustment area according to the sum of the third air pressure level corresponding to the third adjustment area and the correction value, and the third air pressure level corresponding to the third adjustment area.

[0148] In some embodiments, the second correction rule includes multiple second gear intervals, and the interval ranges of the multiple second gear intervals are determined according to the sum of the third air pressure level corresponding to the second adjustment area and the second threshold, or the interval ranges of the multiple second gear intervals are determined according to the sum of the third air pressure level corresponding to the second adjustment area and the first threshold and the second threshold respectively; the interval ranges of the multiple second gear intervals are different. The third air pressure level corresponding to the third adjustment area is compared with the multiple second gear intervals respectively to determine the target second gear interval to which the third air pressure level corresponding to the third adjustment area belongs; according to the third air pressure level corresponding to the second adjustment area, the sum of the correction value corresponding to the target second gear interval, and the third air pressure level corresponding to the third adjustment area, the second air pressure level corresponding to the third adjustment area is determined.

[0149] When the target sleeping position is lying on the side, the smart mattress can form two second gear intervals according to the sum of the third air pressure level corresponding to the second adjustment area and the second threshold; when the target sleeping position is lying flat, the smart mattress can form three second gear intervals according to the sum of the third air pressure level corresponding to the second adjustment area and the first threshold and the second threshold respectively; the interval range of each second gear interval is different.

[0150] For example, when the target sleeping posture is side-lying, the smart mattress can adjust the air pressure level according to the third air pressure level corresponding to the second adjustment area. The sum of the second threshold value TH2 and the second threshold value TH4 forms two second gear intervals, and the third air pressure gear corresponding to the second adjustment area is adjusted. The sum of the correction values ​​corresponding to the target second gear range determines the second air pressure gear corresponding to the third adjustment area.

[0151]

[0152] in, The third air pressure level corresponds to the third adjustment area. It is the second air pressure level corresponding to the third adjustment area.

[0153] When the target sleeping position is lying flat, the smart mattress can adjust the air pressure level according to the third air pressure level corresponding to the second adjustment area. The sum of the first threshold value TH1 and the second threshold value TH2 respectively forms three second gear intervals, and the third air pressure gear corresponding to the second adjustment area is adjusted. The sum of the correction values ​​corresponding to the target second gear interval and the third air pressure gear corresponding to the third adjustment area Determine the second air pressure level corresponding to the third adjustment area:

[0154]

[0155] By obtaining the design of the second air pressure level corresponding to the third adjustment area through the second correction rule based on the hip and leg area, it is also possible to obtain a second air pressure level that better meets the needs of the target users corresponding to the hip and leg area, so that the airbags in the third adjustment area can provide more suitable support and softness and hardness for the hip and leg areas of the target users, thereby promoting the improvement of the sleep quality of the target users.

[0156] Step 705: Use the third air pressure level corresponding to the second regulating area as the second air pressure level corresponding to the second regulating area.

[0157] Since the waist area does not have a corresponding correction rule, the smart mattress can use the third air pressure level corresponding to the second adjustment area as the second air pressure level corresponding to the second adjustment area without making any correction.

[0158] The design of the second air pressure level corresponding to each adjustment area is determined by the above-mentioned correction rules based on different areas, so that the second air pressure level of each adjustment area is obtained by correcting or not correcting the third air pressure level corresponding to the second adjustment area, so that each adjustment area can provide an air pressure level that matches the support state of the target user's lumbar area, thereby better meeting the needs of the target user in different sleeping positions and improving the sleep quality of the target user.

[0159] In the embodiment of the present application, the smart mattress calculates the third air pressure level corresponding to each adjustment area based on the current first air pressure level of each adjustment area and the air pressure difference corresponding to the turning over action of each adjustment area, and corrects the third air pressure level corresponding to each adjustment area according to the correction rules corresponding to the body area corresponding to each adjustment area to obtain the second air pressure level corresponding to each adjustment area, so that the smart mattress can provide corresponding support and softness and hardness for different body areas of the target user, so that the smart mattress is more in line with the target sleeping posture of the target user, thereby improving the sleep quality of the target user.

[0160] In some embodiments, when the smart mattress detects that the target user has gotten into bed, it can set the initial air pressure level corresponding to each adjustment area, and adjust one or more airbags corresponding to each adjustment area according to the initial air pressure level corresponding to each adjustment area. Figure 8 As shown, after detecting that the target user on the smart mattress has taken a bed-going action according to the air pressure information, the steps may include the following steps:

[0161] Step 802: when it is detected according to the air pressure information that the target user has taken a bed-going action, obtain the air pressure difference value corresponding to each adjustment area and the bed-going action.

[0162] The bed-going action may refer to the action process of the target user lying on the surface of the smart mattress.

[0163] Step 804, determining the average value of the air pressure difference according to the air pressure difference values ​​corresponding to each adjustment area and the bed-getting action.

[0164] The smart mattress can fuse the air pressure difference values ​​corresponding to each adjustment area and the bed-getting action into an average air pressure difference value according to the fusion method. The fusion method may include but is not limited to taking the average value, weighted average, median calculation or machine learning algorithm. The average air pressure difference value can be used to represent the overall air pressure change trend of the smart mattress.

[0165] Exemplarily, after the smart mattress obtains the air pressure difference values ​​corresponding to the first adjustment area, the second adjustment area, and the third adjustment area and the getting-into-bed action, the absolute value of the sum of the air pressure difference values ​​corresponding to each adjustment area and the getting-into-bed action is averaged to determine the air pressure difference average value:

[0166]

[0167] Among them, p o1 , p o2 and p o3 are the air pressure differences corresponding to the first adjustment area, the second adjustment area, and the third adjustment area for the action of getting into bed, respectively, and a is the average air pressure difference.

[0168] Step 806: Determine the reference value corresponding to the average air pressure difference according to the average air pressure difference.

[0169] The intelligent mattress can, based on the reference value determination rule, compare the average air pressure difference in multiple reference gear ranges to determine the target reference gear range to which the average air pressure difference belongs, and the reference value corresponding to the target reference gear range.

[0170] The reference value determination rule includes multiple reference gear ranges, and the range of each of the multiple reference gear ranges is determined according to the third threshold and the fourth threshold; the ranges of the multiple reference gear ranges are different. The reference value can refer to the standard value used to guide the intelligent mattress to adjust the softness and hardness of the airbags in each adjustment area. The reference value can include multiple different gears, such as "soft", "moderate", and "hard", etc. Among them, the "soft" gear can refer to a smaller reference value. When the intelligent mattress determines the initial air pressure gear based on the reference value corresponding to the "soft" gear, the softness and hardness of the airbags in each adjustment area are relatively soft, that is, the initial air pressure gears in each adjustment area are relatively small.

[0171] Exemplarily, the intelligent mattress can determine three reference gear ranges according to the third threshold and the fourth threshold, and compare the average air pressure difference with the three reference gear ranges respectively to determine the target reference gear range to which the average air pressure difference belongs, so as to determine the reference value corresponding to the target reference gear range:

[0172]

[0173] Among them, TH3 is the third threshold, TH4 is the fourth threshold, j is the reference value, and j soft is the reference value for making the airbag softer in the reference gear range where a ≤ TH3, and j medium is the reference value for making the softness and hardness of the airbag moderate in the reference gear range where TH3 < a < TH4, and j hard is the reference value for making the airbag harder in the reference gear range where a ≥ TH4.

[0174] Step 808: Determine the initial air pressure gear corresponding to each adjustment area according to the air pressure difference corresponding to each adjustment area for the action of getting into bed, the average air pressure difference, and the reference value corresponding to the average air pressure difference.

[0175] The smart mattress can determine the initial air pressure level of each adjustment area based on the difference between the air pressure difference corresponding to each adjustment area and the bed-getting action, the difference between the average air pressure difference, and the sum of the difference and the reference value.

[0176] For example, the smart mattress can determine the initial air pressure level of each adjustment area according to the above steps:

[0177] t oi =j+(p oi -a) Formula (13);

[0178] Among them, t oi is the initial air pressure level corresponding to the i-th adjustment area.

[0179] Furthermore, after determining the initial air pressure level corresponding to each adjustment area, the smart mattress can also correct the initial air pressure level corresponding to each adjustment area to determine the target initial air pressure level corresponding to each adjustment area.

[0180] For example, the smart mattress obtains the initial air pressure level t corresponding to each adjustment area. oi After that, the smart mattress can adjust the initial air pressure level t corresponding to the second adjustment area according to the following formula: o2 To make corrections:

[0181]

[0182] Among them, TH y Represents the preset correction threshold. o2 ≤t o1 -TH y Under the condition of o1 The initial air pressure level corresponding to the second adjustment area t o2 To exchange, when t is satisfied o2 >t o1 -TH y Under the condition of o2 Make corrections.

[0183] Then, according to the initial air pressure level t corresponding to the revised second adjustment area o2 According to formula (8), the initial air pressure level t corresponding to the first adjustment area is o1 According to formula (10), the initial air pressure level t corresponding to the third adjustment area is corrected. o3 Make corrections.

[0184] Step 810, controlling the air pump to adjust one or more airbags in each adjustment area according to the initial air pressure level corresponding to each adjustment area.

[0185] The smart mattress can control the air pump to adjust one or more air bags in each adjustment area according to the corrected target initial air pressure level corresponding to each adjustment area. When the target user on the smart mattress is detected to turn over for the first time according to the air pressure information, the initial air pressure level or target initial air pressure level corresponding to each adjustment area can be used as the first air pressure level corresponding to each adjustment area.

[0186] In the embodiment of the present application, after the smart mattress detects that the target user has gone to bed based on the air pressure information, the air pressure difference mean and the reference value are determined in sequence according to the air pressure difference corresponding to each adjustment area and the going-in-bed action, and the initial air pressure level corresponding to each adjustment area is determined according to the air pressure difference corresponding to each adjustment area and the going-in-bed action, the air pressure difference mean and the reference value, and the adjustment of one or more air bags in each adjustment area is completed, so that the smart mattress starts to adjust the air pressure level of each adjustment area after the target user has gone to bed, providing the target user with a good pre-sleep aid experience and improving the target user's sleep quality. At the same time, a more accurate initial air pressure level is provided for the subsequent air pressure level adjustment during turning over, so that the second air pressure level determined in the subsequent air bag adjustment process is more accurate and meets user needs.

[0187] In some embodiments, after the above embodiments determine the target initial air pressure level or the second air pressure level for the air pump to adjust one or more air bags in each adjustment area, it is necessary to further determine whether it is within the normal adjustment level range to avoid too high or too low adjustment levels, which affects the sleep quality of the target user. The smart mattress is also provided with a normal adjustment level range, which is composed of a fifth threshold and a sixth threshold, and the fifth threshold is less than the sixth threshold. After determining the target air pressure level corresponding to each adjustment area, the target air pressure level corresponding to each adjustment area is compared with the normal adjustment level range. If it is not within the normal adjustment level range, the target air pressure level corresponding to each adjustment area is set to the fifth threshold or the sixth threshold; the target air pressure level corresponding to each adjustment area refers to the air pressure level at which the smart mattress controls the air pump to adjust one or more air bags in each adjustment area.

[0188] The smart mattress can construct a normal adjustment gear range based on the preset fifth threshold and sixth threshold, and compare the target air pressure gear corresponding to each adjustment area with the normal adjustment gear range, and set the target air pressure gear less than the fifth threshold to the fifth threshold, and set the target air pressure gear greater than the sixth threshold to the sixth threshold.

[0189] It can be understood that the target air pressure level may include but is not limited to an initial air pressure level, a first air pressure level, and a second air pressure level.

[0190] For example, the smart mattress may set the fifth threshold value to 50 and the sixth threshold value to 100 to form a normal adjustment range. The smart mattress may obtain the target air pressure level t corresponding to each adjustment area. ti After that, if the target air pressure level of the i-th adjustment area is t ti >100, then the target air pressure level of the i-th adjustment area is set to t ti Set to 100, if the target air pressure level of the i-th adjustment area is t ti <50, then set the target air pressure level of the i-th adjustment area to t ti Set to 50, and then determine the final target air pressure level of all adjustment areas; the smart mattress can control the air pump to adjust one or more air bags in each adjustment area according to the final target air pressure level corresponding to each adjustment area.

[0191] In the embodiment of the present application, by adjusting the target air pressure level of one or more airbags corresponding to each adjustment area to a normal air pressure level, the smart mattress can adjust the airbag air pressure in each adjustment area within a reasonable range, so that the support and softness and hardness provided by the airbags in each adjustment area are reasonable and meet the preferences of the target user, thereby improving the sleep quality of the target user.

[0192] In some embodiments, it is necessary to control the working time of the airbag adjustment of the smart mattress to avoid the airbag adjustment process affecting the sleep quality of the target user. When the sleep time of the target user is longer than the time threshold, the smart mattress no longer controls the air pump to adjust one or more airbags in each adjustment area.

[0193] The smart mattress can adjust one or more air bags in each adjustment area according to the methods or steps described in the above embodiments when the sleep duration of the target user is not greater than the duration threshold. When the sleep duration of the target user is greater than the duration threshold, the smart mattress no longer controls the air pump to adjust one or more air bags in each adjustment area.

[0194] The smart mattress can start calculating the target user's sleep time from the time when the target user gets into bed, or from the time when the target user turns over for the first time, or from the time when other sensors detect that the target user has entered a sleeping state, but is not limited thereto. The duration threshold may include but is not limited to 40 minutes, 50 minutes, or 60 minutes, which are not specifically limited here.

[0195] Optionally, when the sleep duration of the target user is greater than the duration threshold, the smart mattress may continue to obtain and update the second air pressure level corresponding to each adjustment area, but does not adjust one or more airbags in each adjustment area.

[0196] In an embodiment of the present application, when the target user's sleep duration is greater than the duration threshold, the smart mattress no longer controls the air pump to adjust one or more air bags in each adjustment area, thereby avoiding affecting the target user's deep sleep during air bag adjustment, thereby promoting the improvement of the target user's sleep quality.

[0197] Based on the airbag adjustment method provided in the above embodiment, Fig. 9 This is a structural block diagram of an airbag adjustment device provided in an embodiment of the present application. Fig. 9 As shown, in one embodiment, an airbag adjustment device 900 is provided and applied to a smart mattress. The smart mattress includes an air pump, one or more adjustment areas and an air pressure sensor corresponding to each adjustment area. Each adjustment area includes one or more airbags connected to the air pump; the airbag adjustment device 900 includes an information acquisition module 901, an air pressure determination module 902 and an airbag adjustment module 903.

[0198] The information acquisition module 901 is used to acquire the air pressure information collected by the air pressure sensor corresponding to each adjustment area.

[0199] The information acquisition module 901 is also used to obtain the current first air pressure level of each adjustment area and the air pressure difference value corresponding to the turning over action of each adjustment area when it is detected that the target user on the smart mattress turns over according to the air pressure information.

[0200] The air pressure determination module 902 is used to determine the second air pressure level corresponding to each adjustment area according to the air pressure difference corresponding to each adjustment area and the turning over action, and the current first air pressure level of each adjustment area.

[0201] The airbag adjustment module 903 is used to control the air pump to adjust one or more airbags in each adjustment area according to the second air pressure level corresponding to each adjustment area.

[0202] In some embodiments, the airbag adjustment device 900 also includes a sleeping posture determination module.

[0203] The sleeping posture determination module is used to obtain the spectral time domain signal collected by the optical sensor when the target user on the smart mattress turns over according to the air pressure information, convert the spectral time domain signal into a frequency domain signal, and identify the target sleeping posture after the target user turns over according to the frequency domain signal.

[0204] The air pressure determination module 902 is further used to determine the second air pressure level corresponding to each adjustment area according to the target sleeping posture, the air pressure difference corresponding to each adjustment area and the turning over action, and the current first air pressure level of each adjustment area.

[0205] In some embodiments, the airbag adjustment device 900 also includes a signal acquisition module and a signal conversion module.

[0206] The signal acquisition module is used to acquire a first spectral time domain signal acquired by the optical sensor before the target user turns over, and a second spectral time domain signal acquired after the target user turns over.

[0207] The signal conversion module is used to convert the first spectrum time domain signal into a first frequency domain signal, and determine the maximum value of the first spectrum energy corresponding to the first frequency domain signal.

[0208] The signal conversion module is further used to convert the second spectrum time domain signal into a second frequency domain signal, and determine the second spectrum energy maximum value corresponding to the second frequency domain signal.

[0209] The sleeping posture determination module is further used to determine the target sleeping posture of the target user after turning over according to the ratio between the first spectrum energy maximum value and the second spectrum energy maximum value.

[0210] In some embodiments, the air pressure determination module 902 includes an initial air pressure determination module and an air pressure correction module.

[0211] The initial air pressure determination module is used to calculate the third air pressure level corresponding to each adjustment area according to the current first air pressure level of each adjustment area and the air pressure difference corresponding to the turning over action of each adjustment area.

[0212] The air pressure correction module is used to correct the third air pressure level corresponding to each adjustment area according to the correction rules corresponding to the body area corresponding to each adjustment area, so as to obtain the second air pressure level corresponding to each adjustment area.

[0213] In some embodiments, the air pressure correction module includes a first air pressure correction module, a second air pressure correction module, and a third air pressure correction module.

[0214] The first air pressure correction module is used to correct the third air pressure level corresponding to the first adjustment area based on the first correction rule corresponding to the shoulder and back area and according to the third air pressure level corresponding to the second adjustment area to obtain the second air pressure level corresponding to the first adjustment area.

[0215] The second air pressure correction module is used to correct the third air pressure level corresponding to the third adjustment area based on the second correction rule corresponding to the hip and leg area and according to the third air pressure level corresponding to the second adjustment area to obtain the second air pressure level corresponding to the third adjustment area.

[0216] The third air pressure correction module is used to use the third air pressure level corresponding to the second adjustment area as the second air pressure level corresponding to the second adjustment area.

[0217] In some embodiments, the airbag adjustment device 900 also includes a gear matching module.

[0218] The gear matching module is used to compare the third air pressure gear corresponding to the first adjustment area with the multiple first gear ranges respectively, and determine the target first gear range to which the third air pressure gear corresponding to the first adjustment area belongs.

[0219] The first air pressure correction module is also used to determine the second air pressure level corresponding to the first adjustment area based on the difference between the third air pressure level corresponding to the second adjustment area and the correction value corresponding to the target first level interval, and the third air pressure level corresponding to the first adjustment area.

[0220] In some embodiments, the gear matching module is further used to compare the third air pressure gear corresponding to the third adjustment area with the plurality of second gear intervals respectively, and determine the target second gear interval to which the third air pressure gear corresponding to the third adjustment area belongs.

[0221] The second air pressure correction module is also used to determine the second air pressure level corresponding to the third adjustment area based on the sum of the third air pressure level corresponding to the second adjustment area and the correction value corresponding to the target second level interval, and the third air pressure level corresponding to the third adjustment area.

[0222] Fig.10 This is a structural diagram of a smart mattress provided in an embodiment of the present application. Fig.10 As shown, the smart mattress 1000 may include a memory 1002 and a processor 1001. The memory 1002 stores a computer program. When the computer program is executed by the processor 1001, the smart mattress 1000 implements the airbag adjustment method described in the above embodiments.

[0223] The processor 1001 may include one or more processing cores. The processor 1001 uses various interfaces and lines to connect the various parts of the entire smart mattress, and executes various functions and processes data of the smart mattress by running or executing instructions, programs, code sets or instruction sets stored in the memory, and calling data stored in the memory. Optionally, the processor 1001 can be implemented in at least one hardware form of digital signal processing, field programmable gate array, and programmable logic array. The processor 1001 can integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the processor 1001, but may be implemented separately through a communication chip.

[0224] The memory 1002 may include a random access memory or a read-only memory. The memory may be used to store instructions, programs, codes, code sets or instruction sets. The memory may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function, instructions for implementing the above-mentioned various method embodiments, etc. The data storage area may also store data created by the smart mattress during use, etc.

[0225] An embodiment of the present application discloses a computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the processor implements the airbag adjustment method described in the above embodiments.

[0226] An embodiment of the present application discloses a computer program product, which includes a computer program. When the computer program can be executed by a processor, the processor implements the airbag adjustment method described in the above embodiments.

[0227] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing related hardware through a computer program, and the program can be stored in a non-volatile computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above-mentioned methods. The storage medium can be a disk, an optical disk, a ROM, etc.

[0228] The above description is only a specific example of the present application and is not intended to limit the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the protection scope of the present application.

Claims

1. An airbag adjustment method, characterized in that: Applied to a smart mattress, the smart mattress comprises an air pump, one or more adjustment areas and an air pressure sensor corresponding to each of the adjustment areas, each of the adjustment areas comprises one or more air bags connected to the air pump; the method comprises: Acquiring air pressure information collected by air pressure sensors corresponding to each of the adjustment areas; When it is detected according to the air pressure information that the target user on the smart mattress turns over, the current first air pressure level of each of the adjustment areas is obtained, and the air pressure difference value corresponding to the turning over action of each of the adjustment areas is obtained; Determine the second air pressure level corresponding to each of the adjustment areas according to the air pressure difference corresponding to each of the adjustment areas and the turning over action, and the current first air pressure level of each of the adjustment areas; According to the second air pressure level corresponding to each of the adjustment areas, the air pump is controlled to adjust one or more of the airbags in each of the adjustment areas.

2. The method according to claim 1, characterized in that The smart mattress further includes an optical sensor; before determining the second air pressure level corresponding to each of the adjustment areas according to the air pressure difference corresponding to each of the adjustment areas and the turning over action, and the current first air pressure level of each of the adjustment areas, the method further includes: When it is detected according to the air pressure information that the target user on the smart mattress turns over, a spectral time domain signal collected by the optical sensor is acquired, the spectral time domain signal is converted into a frequency domain signal, and a target sleeping position of the target user after turning over is identified according to the frequency domain signal; Determining the second air pressure level corresponding to each of the adjustment areas according to the air pressure difference corresponding to each of the adjustment areas and the turning over action, and the current first air pressure level of each of the adjustment areas, comprises: The second air pressure level corresponding to each of the adjustment areas is determined according to the target sleeping posture, the air pressure difference corresponding to each of the adjustment areas and the turning over action, and the current first air pressure level of each of the adjustment areas.

3. The method according to claim 2, characterized in that The acquiring of the spectral time domain signal collected by the optical sensor, converting the spectral time domain signal into a frequency domain signal, and identifying the target sleeping position of the target user after turning over according to the frequency domain signal, comprises: Acquire a first spectral time domain signal collected by the optical sensor before the target user turns over, and a second spectral time domain signal collected after the target user turns over; Converting the first spectrum time domain signal into a first frequency domain signal, and determining a first spectrum energy maximum value corresponding to the first frequency domain signal; Converting the second spectrum time domain signal into a second frequency domain signal, and determining a second spectrum energy maximum value corresponding to the second frequency domain signal; A target sleeping posture of the target user after turning over is determined according to a ratio between the first spectrum energy maximum value and the second spectrum energy maximum value.

4. The method according to claim 1, characterized in that: Determining the second air pressure level corresponding to each of the adjustment areas according to the air pressure difference corresponding to each of the adjustment areas and the turning over action, and the current first air pressure level of each of the adjustment areas, comprises: Calculate the third air pressure level corresponding to each of the adjustment areas according to the current first air pressure level of each of the adjustment areas and the air pressure difference corresponding to each of the adjustment areas and the turning over action; According to the correction rules corresponding to the body areas corresponding to the respective adjustment areas, the third air pressure levels corresponding to the respective adjustment areas are corrected to obtain the second air pressure levels corresponding to the respective adjustment areas.

5. The method according to claim 4, characterized in that The smart mattress is provided with a first adjustment area, a second adjustment area and a third adjustment area, wherein the first adjustment area corresponds to the shoulder and back area of ​​the target user, the second adjustment area corresponds to the waist area of ​​the target user, and the third adjustment area corresponds to the hip and leg area of ​​the target user; the third air pressure level corresponding to each of the adjustment areas is corrected according to the correction rules corresponding to the body areas corresponding to each of the adjustment areas to obtain the second air pressure level corresponding to each of the adjustment areas, including: Based on the first correction rule corresponding to the shoulder and back area, and according to the third air pressure level corresponding to the second adjustment area, the third air pressure level corresponding to the first adjustment area is corrected to obtain the second air pressure level corresponding to the first adjustment area; Based on the second correction rule corresponding to the hip-leg area, and according to the third air pressure level corresponding to the second adjustment area, the third air pressure level corresponding to the third adjustment area is corrected to obtain the second air pressure level corresponding to the third adjustment area; The third air pressure level corresponding to the second regulating area is used as the second air pressure level corresponding to the second regulating area.

6. The method according to claim 5, characterized in that The first correction rule includes a plurality of first gear intervals, and the interval ranges of the plurality of first gear intervals are determined according to the difference between the third air pressure level corresponding to the second adjustment area and the first threshold value and the second threshold value respectively; the interval ranges of the plurality of first gear intervals are different; The method of correcting the third air pressure level corresponding to the first adjustment area based on the first correction rule corresponding to the shoulder area and according to the third air pressure level corresponding to the second adjustment area to obtain the second air pressure level corresponding to the first adjustment area includes: Comparing the third air pressure level corresponding to the first regulating area with the plurality of first gear ranges respectively, to determine a target first gear range to which the third air pressure level corresponding to the first regulating area belongs; The second air pressure level corresponding to the first adjustment area is determined according to the difference between the third air pressure level corresponding to the second adjustment area and the correction value corresponding to the target first gear range, and the third air pressure level corresponding to the first adjustment area.

7. The method according to claim 5, characterized in that The second correction rule includes a plurality of second gear intervals, the ranges of the plurality of second gear intervals are determined according to the sum of the third air pressure level corresponding to the second adjustment area and the second threshold, or the ranges of the plurality of second gear intervals are determined according to the sum of the third air pressure level corresponding to the second adjustment area and the first threshold and the second threshold respectively; the ranges of the plurality of second gear intervals are different; The method of correcting the third air pressure level corresponding to the third adjustment area based on the second correction rule corresponding to the hip-leg area and according to the third air pressure level corresponding to the second adjustment area to obtain the second air pressure level corresponding to the third adjustment area includes: Comparing the third air pressure level corresponding to the third regulating area with the plurality of second level intervals respectively, and determining a target second level interval to which the third air pressure level corresponding to the third regulating area belongs; The second air pressure level corresponding to the third adjustment area is determined according to the sum of the third air pressure level corresponding to the second adjustment area, the correction value corresponding to the target second level interval, and the third air pressure level corresponding to the third adjustment area.

8. An airbag adjustment device, characterized in that: Applied to a smart mattress, the smart mattress comprises an air pump, one or more adjustment areas and an air pressure sensor corresponding to each of the adjustment areas, each of the adjustment areas comprises one or more air bags connected to the air pump; the device comprises: An information acquisition module, used to acquire air pressure information collected by the air pressure sensor corresponding to each of the adjustment areas; The information acquisition module is further used to acquire the current first air pressure level of each of the adjustment areas and the air pressure difference value corresponding to the turning over action of each of the adjustment areas when it is detected that the target user on the smart mattress turns over according to the air pressure information; a gear determination module, used to determine the second air pressure gear corresponding to each of the adjustment areas according to the air pressure difference corresponding to each of the adjustment areas and the turning over action, and the current first air pressure gear of each of the adjustment areas; The airbag adjustment module is used to control the air pump to adjust one or more airbags in each of the adjustment areas according to the second air pressure level corresponding to each of the adjustment areas.

9. A smart mattress, characterized in that: It comprises a memory and a processor, wherein a computer program is stored in the memory, and when the computer program is executed by the processor, the smart mattress implements the airbag adjustment method as described in any one of claims 1 to 7.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the processor implements the airbag adjustment method according to any one of claims 1 to 7.

Citation Information

Cited By

  • Grid distributed massage air bag intelligent inflation and deflation method and grid distributed massage air bag intelligent inflation and deflation system

    CN120899523A