Airbag adjusting method and device, computer equipment and storage medium

By setting up pressure sensors and airbags in the intelligent resting equipment, combining virtual restriction zones and pressure effective zones, accurately monitoring the pressure distribution of the human body in the bed and sleeping position, the problem of lack of targeted airbag adjustment in the prior art is solved, personalized airbag adjustment is achieved, and sleep comfort and quality are improved.

CN120565013APending Publication Date: 2025-08-29AIMENG SMART HOME (ZHUHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510652434.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-20
Publication Date
2025-08-29

AI Technical Summary

Technical Problem

The prior art cannot accurately monitor the pressure distribution of the human body in the bed position and sleeping position, resulting in a lack of targeted airbag adjustment and cannot effectively relieve the pressure in various parts of the human body, affecting sleep comfort and quality.

Method used

By setting up pressure sensor component units and airbags in the intelligent resting equipment, combining virtual restriction areas and pressure effective areas, accurately monitor the pressure distribution of the human body in the bed and sleeping position, and dynamically adjust the airbag air pressure to meet personalized adjustment needs.

Benefits of technology

It realizes personalized and targeted adjustment of airbag air pressure, improves sleep comfort and quality, reduces sleep interruptions, and enhances user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120565013A_ABST
    Figure CN120565013A_ABST
Patent Text Reader

Abstract

The invention discloses an air bag adjusting method and device, computer equipment and a storage medium, and the method comprises the steps: obtaining a pressure signal collected by a pressure sensor assembly unit, and predicting an area where a target object is located and a sleeping posture based on the pressure signal; based on the area where the target object is located, obtaining a sleeping posture local high-voltage area of the target object; based on the area where the target object is located, the sleeping posture local high-pressure area, the virtual forbidden area, the pressure effective area and all the airbag deployment areas, whether an airbag adjustment triggering condition is met currently or not is determined; if the airbag adjustment triggering condition is met, a target adjustment strategy is obtained based on the sleeping posture type, and the corresponding airbag pressure is adjusted based on the target adjustment strategy. The intelligent triggering logic of inflation and deflation of the air bag is achieved by combining a sleeping posture local high-pressure area, a virtual forbidden area and a pressure effective area, the limitation that the air bag is adjusted only depending on a single sleeping posture in the prior art can be broken through, individual differences are fully considered, and personalized and targeted adjustment of the air pressure of the air bag is achieved.
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, computer equipment, and storage medium. Background Art

[0002] When it comes to sleep health and comfort, sleeping posture plays a crucial role in sleep quality. People sleep in a variety of positions, including supine, left side, right side, and prone. These positions range from stretched to curled, and the sleep cycle undergoes multiple adjustments. A good sleeping posture improves sleep quality, ultimately maintaining a healthy state of mind in both life and work.

[0003] Currently, adjusting the comfort of different sleeping positions by adjusting the airbag pressure has become a common method. However, existing technology has significant shortcomings. For one thing, it is difficult to accurately monitor the body's position in bed. Different positions in the bed will cause different contact between different parts of the body and the mattress, and the pressure distribution will vary. People of different heights and body shapes also have different positioning preferences in the bed. Existing technology cannot accurately capture this information, making airbag adjustment lack of targetedness.

[0004] On the other hand, the monitoring of the pressure distribution state of the human body's sleeping posture before the airbag is triggered is not accurate enough. It is far from enough to adjust the airbag pressure based solely on the sleeping posture, because even for the same sleeping posture, the pressure distribution in different parts of the body may vary greatly among different individuals. For example, when sleeping on the left side, some people experience greater pressure on their shoulders, while others experience greater pressure on their waists. Due to the inability to accurately grasp the pressure distribution state, airbag adjustment often cannot effectively relieve the pressure in various parts of the human body, resulting in reduced sleeping comfort and poor user experience. Summary of the Invention

[0005] Based on this, it is necessary to provide an airbag adjustment method, device, computer equipment and storage medium to address the above technical problems, so as to solve at least one problem existing in the above-mentioned prior art.

[0006] In a first aspect, an airbag adjustment method is provided, which is applied to an intelligent resting device. The intelligent resting device includes a virtual restricted area and a pressure effective area. The pressure effective area is provided with a pressure matrix composed of multiple pressure sensor component units and multiple airbags. The virtual restricted area is an area where triggering airbag adjustment is prohibited. The method includes:

[0007] Obtaining a pressure signal collected by the pressure sensor assembly unit, and predicting a target object's location and sleeping posture based on the pressure signal;

[0008] Based on the target object's location and sleeping posture, obtaining a local high-pressure area of ​​the target object's sleeping posture;

[0009] Determining whether an airbag adjustment triggering condition is currently met based on the target object's location, the sleeping position local high-pressure area, the virtual restricted area, the pressure effective area, and each airbag deployment area;

[0010] If the airbag adjustment triggering conditions are met, the corresponding airbag pressure is adjusted based on the corresponding airbag adjustment strategy.

[0011] In one possible implementation, determining whether the airbag adjustment triggering condition is currently met based on the sleeping position local high-pressure area, the virtual restricted area, the pressure effective area, and each airbag deployment area includes:

[0012] Determining a first intersection-over-union ratio between the area where the target object is located and the virtual restricted area;

[0013] If the first intersection-over-union ratio is less than the first preset threshold, determining a second intersection-over-union ratio between the area where the target object is located and the pressure effective area;

[0014] If the second intersection-over-union ratio is greater than a second preset threshold, determining whether the center position of the sleeping position local high-pressure area is within the corresponding airbag deployment area;

[0015] If the center position of the sleeping position local high-pressure area is within the corresponding airbag deployment area, the airbag adjustment triggering condition is met.

[0016] In one possible implementation, the sleeping position local high-pressure area includes a shoulder high-pressure area and a buttocks high-pressure area. If the center of the sleeping position local high-pressure area is within the corresponding airbag deployment area, before the airbag adjustment triggering condition is met, the method further includes:

[0017] Determining the center coordinates of the shoulder high pressure area and the center coordinates of the hip high pressure area;

[0018] It is determined whether the coordinates of the center point of the shoulder high pressure area are within the coordinate range of the shoulder airbag deployment area, and it is determined whether the coordinates of the center point of the hip high pressure area are within the coordinate range of the hip airbag deployment area.

[0019] In one possible implementation, obtaining the sleeping position local high-pressure area based on the area where the target object is located includes:

[0020] Performing interpolation processing on the area where the target object is located using a preset interpolation algorithm;

[0021] Performing filtering on the area where the target object is located after the interpolation processing;

[0022] Perform dynamic threshold segmentation on the target area after filtering to determine all high-voltage areas;

[0023] All connected areas are found, and all high-pressure areas are screened to obtain the local high-pressure area of ​​the sleeping posture.

[0024] In one possible implementation, searching all connected areas and screening all high-pressure areas to obtain the sleeping posture local high-pressure area includes:

[0025] Find all connected regions, and select effective high-pressure regions from all high-pressure regions based on the areas of the connected regions;

[0026] sorting the effective high-pressure areas according to their regional strength, wherein the regional strength is determined by the pressure value corresponding to the effective high-pressure area;

[0027] Based on the sorting results, the local high-pressure area of ​​the sleeping posture is obtained.

[0028] In one possible implementation, adjusting the corresponding airbag pressure based on the corresponding airbag adjustment strategy includes:

[0029] determining a target airbag adjustment strategy corresponding to the target object based on airbag adjustment information corresponding to the target object, wherein the airbag adjustment information includes at least one of a sleeping posture type, a pressure distribution state, a current sleep stage, and a sleeping posture preference;

[0030] Based on the target airbag adjustment strategy, the air pressure of the corresponding airbag is adjusted to the corresponding air pressure.

[0031] In one possible embodiment, the pressure effective zone includes a left pressure effective zone and a right pressure effective zone, the left effective zone is provided with a left airbag, the right effective zone is provided with a right airbag, the left airbag and the right airbag are independently controlled, the virtual restricted zone is provided between the left pressure effective zone and the right pressure effective zone, and the airbag is not provided in the virtual restricted zone.

[0032] In a second aspect, an airbag adjustment device is provided for use in intelligent rest equipment. The intelligent rest equipment includes a virtual restricted area and a pressure effective area. The pressure effective area is provided with a pressure matrix composed of multiple pressure sensor component units and multiple airbags. The virtual restricted area is an area where airbag adjustment is prohibited from being triggered. The device includes:

[0033] Obtaining a pressure signal collected by the pressure sensor assembly unit, and predicting a target object's location and sleeping posture based on the pressure signal;

[0034] a prediction unit, configured to obtain the pressure signal collected by the pressure sensor assembly unit, and predict the target object's location and sleeping posture based on the pressure signal;

[0035] a sleeping posture local high-pressure area determination unit, configured to obtain the sleeping posture local high-pressure area of ​​the target object based on the area where the target object is located and the sleeping posture;

[0036] an airbag adjustment trigger determination unit, configured to determine whether an airbag adjustment trigger condition is currently met based on the target object's location, the sleeping position local high-pressure area, the virtual restricted area, the pressure effective area, and each airbag deployment area;

[0037] The airbag adjustment unit is used to adjust the corresponding airbag pressure based on the corresponding airbag adjustment strategy if the airbag adjustment trigger condition is met.

[0038] In a third aspect, a computer device is provided, comprising a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, wherein the processor implements the steps of the airbag adjustment method as described above when executing the computer-readable instructions.

[0039] In a fourth aspect, a readable storage medium is provided, wherein the readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the airbag adjustment method as described above are implemented.

[0040] The above-mentioned airbag adjustment method, device, computer equipment and storage medium are implemented by the following methods: obtaining the pressure signal collected by the pressure sensor assembly unit, and predicting the target object's area and sleeping posture based on the pressure signal; obtaining the target object's sleeping posture local high-pressure area based on the target object's area and sleeping posture; determining whether the airbag adjustment triggering conditions are currently met based on the target object's area, sleeping posture local high-pressure area, virtual forbidden area, pressure effective area and each airbag deployment area; if the airbag adjustment triggering conditions are met, adjusting the corresponding airbag pressure based on the corresponding airbag adjustment strategy. In the embodiment of the present application, by accurately monitoring the human body's position on the bed and the sleeping posture pressure distribution state before the airbag is triggered, combining the division of sleeping posture local high-pressure area, virtual forbidden area and pressure effective area to realize the intelligent triggering logic of airbag inflation and deflation, it can break through the limitation of the existing technology that relies only on a single sleeping posture adjustment airbag, fully consider individual differences, and realize personalized and targeted adjustment of airbag pressure according to the user's specific position on the bed and the actual pressure conditions of various parts of the body. By setting up a virtual restricted area, when the user is in the virtual restricted area, the airbag is avoided from being triggered accidentally, the experience and sleep comfort are improved, and sleep interruptions are reduced, thereby significantly improving sleep comfort and sleep quality, greatly enhancing the user's personalized experience and usage satisfaction. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments of the present application. 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 any creative work.

[0042] Figure 1 This is a flow chart of an airbag adjustment method according to an embodiment of the present application;

[0043] Figure 2 This is a structural diagram of an intelligent rest device in one embodiment of the present application;

[0044] Figure 3 This is a schematic diagram of a virtual restricted area in one embodiment of the present application;

[0045] Figure 4 This is a schematic diagram of the regional deployment of the pressure effective area and the virtual restricted area in one embodiment of the present application;

[0046] Figure 5 This is a schematic diagram of a model structure of an object detection model in one embodiment of the present application;

[0047] Figure 6a This is a regional schematic diagram of a local high-pressure area in a supine sleeping position in one embodiment of the present application;

[0048] Figure 6b This is a schematic diagram of a local high-pressure area in a left-side sleeping position in one embodiment of the present application;

[0049] Figure 7 This is an example diagram of the intersection and comparison of an embodiment of the present application;

[0050] Figure 8a This is a schematic diagram of an overlapping state of a virtual restricted area and a target frame in one embodiment of the present application;

[0051] Figure 8b This is a schematic diagram of an overlapping state of a virtual restricted area and a target frame in a multi-person scenario in one embodiment of the present application;

[0052] Figure 9 This is a structural diagram of an airbag adjustment device in one embodiment of the present application;

[0053] Figure 10 Schematic diagram of a computer device in one embodiment of the present application. DETAILED DESCRIPTION

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

[0055] In one embodiment, if Figure 1-3 As shown, an airbag adjustment method is provided, which is applied to an intelligent resting device. The intelligent resting device includes a virtual restricted area and a pressure effective area. The pressure effective area is provided with a pressure matrix composed of multiple pressure sensor component units and multiple airbags. The virtual restricted area is an area where triggering of airbag adjustment is prohibited, and includes the following steps:

[0056] In step S110, the pressure signal collected by the pressure sensor assembly unit is obtained, and based on the pressure signal, the target object's location and sleeping posture are predicted;

[0057] It should be noted that the intelligent resting device can be a smart bed, smart mattress, sofa, or other smart furniture for users to sit, lie down, or rest. A flexible dot matrix pressure sensor assembly unit can be installed on the device to sense pressure changes and convert them into electrical signals or other detectable signals. The flexible dot matrix pressure sensor assembly unit includes multiple pressure sensor assembly units arranged in an array, such as a rectangular array, a circular array, or a hexagonal array. This arrangement can uniformly sense pressure changes at different locations on the surface of the intelligent monitoring device, such as a mattress, and can accurately capture pressure changes regardless of whether the target object, such as a person, is lying on their back, side, or stomach.

[0058] In addition, the smart resting device is also equipped with multiple airbags, which are distributed throughout the device and connected to air pressure sensors to monitor changes in air pressure within the airbags in real time. It is understood that the pressure sensor assembly unit can be positioned above the airbags, and multiple pressure sensor assembly units can be deployed in a single airbag deployment area.

[0059] like Figure 2As shown, taking a mattress as an example, a sponge partition divides the middle of the mattress into left and right beds. Multiple airbags are symmetrically embedded in the left and right beds, such as shoulder, waist, and hip airbags. Each airbag is connected to an air pump via a pipe and can be independently inflated and deflated, enabling independent control of airbag adjustment for the left and right beds and preventing mutual interference. Flexible dot matrix pressure sensor components are installed above the airbags on each bed. The pressure dot matrix of the flexible dot matrix pressure sensor component can be 32*32, covering the airbag deployment areas on both sides. This ensures data accuracy while balancing data processing efficiency and hardware cost, accurately capturing human pressure distribution.

[0060] like Figure 3 、 Figure 4 As shown, the virtual restricted zone is formed by the sponge partition in the middle of the mattress. This virtual restricted zone is not equipped with an airbag. The mattress is divided into a left and right bed by the virtual restricted zone. Flexible dot matrix pressure sensor components are installed on each bed to collect pressure distribution and generate a pressure map. Therefore, the effective pressure zone includes a left pressure zone and a right pressure zone. The left pressure zone is equipped with a left airbag, and the right pressure zone is equipped with a right airbag. The left and right airbags are independently controlled, and the virtual restricted zone is located between the left and right pressure zones.

[0061] Specifically, after the pressure signal is collected through the pressure matrix, the validity of the pressure signal can be tested first. If the pressure signal is valid, the pressure value can be converted into a two-dimensional grayscale image. For example, the pressure dot matrix of the flexible dot matrix pressure sensor assembly unit can be 32*32, so a 32*32 pressure value can be collected, and the 32*32 pressure value can be converted into a two-dimensional grayscale image. The two-dimensional grayscale image is then input into the target detection model to predict the sleeping posture and position. The sleeping posture category label can include 7 types, namely 0 for background, 1 for supine, 2 for left side, 3 for left curled up, 4 for right side, 5 for right curled up, and 6 for prone. In addition, the feature map finally output by the target detection model can be marked with a detection frame of the target object. Based on the detection frame, the location information of the target object can be obtained, such as length, width, position coordinates in the mattress, and other information.

[0062] In step S120, based on the target object's location and sleeping posture, a local high-pressure area of ​​the target object's sleeping posture is obtained;

[0063] Localized high-pressure sleeping areas refer to areas of relatively high pressure generated when specific body parts come into contact with support materials such as a mattress when the subject is in different sleeping positions. Understandably, the presence of these areas can affect sleep quality, as excessive pressure in these areas can lead to poor blood circulation, discomfort, and even physical pain, leading to sleep interruptions or shallow sleep. Therefore, by detecting the subject's localized high-pressure sleeping areas, we can provide a basis for subsequent precise adjustment of the airbag pressure, thereby improving the subject's sleep quality.

[0064] Alternatively, local high-pressure areas can be identified based on the contact characteristics of various parts of the subject's body with the mattress in different sleeping positions. For example, when the subject is in the supine position, local high-pressure areas typically form around the head, shoulders, buttocks, and heels. In the lateral position, the ears, shoulders, hips, and knees are more likely to form local high-pressure areas. In the prone position, the chest, abdomen, and face are likely to form local high-pressure areas. Based on the determined sleeping position and the subject's location, pressure data within the subject's area can be analyzed to identify local areas with significantly higher pressure than other areas. These areas are then designated as local high-pressure areas. For example, the average pressure of each area can be calculated, and a proportional threshold can be set based on extensive experimental data on human pressure distribution, such as between 1.2 and 1.5 times the average pressure. This range effectively identifies true high-pressure areas while avoiding false positives. If an area with a pressure exceeding the average by a certain percentage is detected, it is a local high-pressure area. Alternatively, by observing the pressure distribution image, bright spots of concentrated pressure can be directly identified as local high-pressure areas.

[0065] In step S130, based on the target object's location, the sleeping position local high-pressure area, the virtual restricted area, the pressure effective area, and each airbag deployment area, it is determined whether the airbag adjustment triggering condition is currently met;

[0066] Optionally, after obtaining the target object's area, the overlap between the target object's area and the virtual restricted area can be determined. If the overlap is large, it means that most of the target object's body is in the virtual restricted area. In this case, no airbag adjustment is required, and thus the airbag adjustment triggering condition is not met. If the overlap is small, the overlap between the target object's area and the right or left pressure effective area can be further determined. If the overlap is large, it means that the target object may be in the right or left pressure effective area. Then, it can be determined again whether the target object's local high-pressure area in the sleeping posture is in the corresponding airbag deployment area, for example, whether the shoulder high-pressure area is in the shoulder airbag deployment area. If so, the airbag adjustment triggering condition is met. Otherwise, the airbag adjustment triggering condition is not met and airbag adjustment cannot be performed.

[0067] It should be noted that the trigger conditions can be adjusted dynamically, such as by using a real-time monitoring mechanism to continuously determine the target subject's current sleep state, where the current sleep state includes falling asleep, light sleep, and deep sleep, and then dynamically adjust the airbag adjustment trigger conditions based on the current sleep state. For example, in the early stages of sleep, the human body may still be looking for a comfortable posture and has not yet entered the formal sleep state. Therefore, the trigger conditions can be appropriately relaxed, such as detecting that the user has maintained the current sleeping position for a period of time before the trigger condition is determined; as sleep deepens, the trigger conditions can be tightened to ensure that the sleeper's physical needs are responded to in a timely manner.

[0068] In addition, in addition to considering sleeping posture, trigger conditions can also be set in a comprehensive manner across multiple dimensions. For example, biological parameters such as the target object's weight data and breathing data are introduced. For people with heavier weight, a lower pressure change amplitude may need to trigger airbag adjustment. It can also be combined with the sleep stage (assisted by other physiological signals such as heart rate and EEG). In deep sleep, even if the pressure change is small, the airbag adjustment can be appropriately triggered to maintain a comfortable sleeping posture. The time threshold for pressure change can also be set. If the pressure change exceeds a certain range in a short period of time, the adjustment is triggered immediately. Alternatively, if it is determined that the user is in a high-incidence stage of sleep apnea, even if the pressure change does not reach the normal threshold, if abnormal pressure fluctuations in the chest area are detected, the airbag adjustment is immediately triggered to adjust the sleeping posture to improve breathing conditions.

[0069] In step S140 , if the airbag adjustment triggering condition is met, the corresponding airbag pressure is adjusted based on the corresponding airbag adjustment strategy.

[0070] Optionally, when the airbag adjustment trigger conditions are met, preset inflation and deflation instructions can be matched based on the sleeping position type, and the corresponding airbag pressure can be adjusted based on the successfully matched inflation and deflation instructions. For example, if the sleeping position type is supine, the shoulders and buttocks are the main weight-bearing parts and require sufficient support to disperse the pressure. Therefore, the shoulder and hip airbags can be deflated, while the waist airbags can be inflated to reduce the weight on the shoulders and hips. In the prone position, the chest, abdomen and head are the main pressure-bearing parts. The airbag pressure corresponding to the chest and abdomen can be adjusted to a moderate range to provide effective support while avoiding pressure on internal organs due to excessive air pressure. The airbag corresponding to the face has its air pressure reduced to make it fit the facial curve better and reduce the sense of oppression.

[0071] Furthermore, after airbag adjustment, pressure data changes can be monitored in real time to evaluate the adjustment effect. If the pressure distribution after adjustment still does not reach the ideal state, the airbag pressure is adjusted again based on the new pressure data, forming a closed-loop feedback system. At the same time, the parameters and effects of each adjustment are recorded, and the airbag adjustment strategy is continuously optimized through data analysis to better meet the personalized needs of different sleepers.

[0072] It should be noted that the interactive interface can also be used for visual display. Users can view their sleeping posture, pressure distribution, and airbag adjustment records through mobile phone apps, bedside control panels, etc. Users can also set personalized adjustment parameters on the interface based on their sleeping posture preferences, such as adjusting sensitivity and pressure preferences, to enhance the user experience and the practicality of the system.

[0073] The embodiment of the present application provides an airbag adjustment method, comprising: obtaining a pressure signal collected by the pressure sensor assembly unit, and predicting the target object's area and sleeping posture based on the pressure signal; obtaining the target object's sleeping posture local high-pressure area based on the target object's area and sleeping posture; determining whether the airbag adjustment triggering conditions are currently met based on the target object's area, the sleeping posture local high-pressure area, the virtual forbidden area, the pressure effective area, and each airbag deployment area; and if the airbag adjustment triggering conditions are met, adjusting the corresponding airbag pressure based on the corresponding airbag adjustment strategy. In the embodiment of the present application, by accurately monitoring the human body's position on the bed and the sleeping posture pressure distribution state before the airbag is triggered, and combining the division of the sleeping posture local high-pressure area, the virtual forbidden area, and the pressure effective area to realize the intelligent triggering logic of airbag inflation and deflation, it can break through the limitation of the existing technology that relies only on a single sleeping posture to adjust the airbag, fully consider individual differences, and realize personalized and targeted adjustment of the airbag pressure according to the user's specific position on the bed and the actual pressure conditions of various parts of the body. By setting up a virtual restricted area, when the user is in the virtual restricted area, the airbag is avoided from being triggered accidentally, the experience and sleep comfort are improved, and sleep interruptions are reduced, thereby significantly improving sleep comfort and sleep quality, greatly enhancing the user's personalized experience and usage satisfaction.

[0074] In one embodiment of the present application, based on the pressure signal, predicting the target object's location and sleeping posture includes:

[0075] Converting the pressure signal into a two-dimensional grayscale image;

[0076] Performing initial feature extraction on the two-dimensional grayscale image to obtain initial features;

[0077] Performing deep feature extraction on the initial features to obtain deep features;

[0078] The deep features are fused, and the area where the target object is located and the sleeping posture type are predicted based on the fused features.

[0079] Optionally, after collecting pressure signals through the pressure matrix, the pressure signals can be tested for validity. If the pressure signals are valid, the pressure values ​​can be converted into a two-dimensional grayscale image. For example, the pressure dot matrix of the flexible dot matrix pressure sensor assembly unit can be 32*32, so 32*32 pressure values ​​can be collected and converted into a two-dimensional grayscale image. The two-dimensional grayscale image is then input into the target detection model to predict sleeping posture and position.

[0080] Among them, such as Figure 5 As shown in the figure, the target detection model includes convolution layer 1, linear rectification function 1, maximum pooling, convolution layer 2, linear rectification function 3, maximum pooling, convolution layer 3, linear rectification function 3, convolution layer 4, linear rectification function 4, convolution layer 5 and activation function Sigmoid. Its processing flow is as follows: input a two-dimensional grayscale image with a resolution of 32*32*1, convolution 1 (conv 1), composed of 16 convolution kernels of size 3*3, with a step of 1, padded with 1, input linear rectification function 1, and perform initial feature extraction; maximum pooling maxpool, with a size of 2*2, a step of 2, and padded with 0, to achieve downsampling; convolution 2, composed of 32 convolution kernels of size 3*3, with a step of 1, padded with 1, input linear rectification function 2, to double the number of channels; maximum pooling maxpool, with a size of 2*2, a step of 2, and padded with 0, to achieve two Downsampling; Convolution 3, composed of 64 convolution kernels of size 3*3, with a step of 1, padding of 1, and input linear rectification function 3 to achieve deep feature extraction; Convolution 4, composed of 128 convolution kernels of size 1*1, with a step of 1, padding of 0, and input linear rectification function 4 to achieve feature fusion; Convolution 5, composed of 36 convolution kernels of size 1*1, with a step of 1, padding of 0, input Sigmoid function, and output sleeping posture type and the location of the target object.

[0081] The sleeping position category labels can include seven types: 0 (background), 1 (supine), 2 (left side), 3 (left curled up), 4 (right side), 5 (right curled up), and 6 (prone). Furthermore, the feature map output by the object detection model can be annotated with a detection frame of the target object. Based on this detection frame, the target object's location information, such as length, width, and position on the mattress, can be obtained.

[0082] In one embodiment of the present application, determining whether the airbag adjustment triggering condition is currently met based on the sleeping position local high-pressure area, the virtual restricted area, the pressure effective area, and each airbag deployment area includes:

[0083] Determining a first intersection-over-union ratio between the area where the target object is located and the virtual restricted area;

[0084] If the first intersection-over-union ratio is less than the first preset threshold, determining a second intersection-over-union ratio between the area where the target object is located and the pressure effective area;

[0085] If the second intersection-over-union ratio is greater than a second preset threshold, determining whether the center position of the sleeping position local high-pressure area is within the corresponding airbag deployment area;

[0086] If the center position of the sleeping position local high-pressure area is within the corresponding airbag deployment area, the airbag adjustment triggering condition is met.

[0087] Optionally, a coordinate system is established with a corner point of the intelligent rest equipment as the coordinate origin. In this coordinate system, the coordinates of each corner point of the area where the target object is located and the coordinates of each corner point of the virtual restricted area can be determined. Then, a first intersection-of-union (IOU) can be calculated by a preset intersection-of-union function. The first IOU is used as the overlap between the area where the target object is located and the virtual restricted area. If the first IOU is greater than a first preset threshold, such as 80%, it means that most of the target object is in the virtual restricted area. Figure 6a As shown, the airbag adjustment will not be triggered at this time. If not, the second intersection-over-union (IOU) between the area where the target object is located and the pressure effective area is determined. The pressure effective area can also be based on the above coordinate system to obtain the coordinates of each corner point, and then the second intersection-over-union (IOU) is calculated by the preset intersection-over-union function. If the second intersection-over-union (IOU) is greater than the second preset threshold, it can be determined whether the center position of the local high-pressure area of ​​the sleeping posture is in the corresponding airbag deployment area. If the center position of the local high-pressure area of ​​the sleeping posture is in the corresponding airbag deployment area, the airbag adjustment triggering condition is met. If in a scene with multiple target objects, such as Figure 6b As shown, if target frames 1 and 2 corresponding to two target objects are detected, the intersection-and-union (IoU) calculations can be performed on each of these two objects with the virtual restricted area detection frame. If the IoU of target frame 1 with the virtual restricted area detection frame is less than a first preset threshold, subsequent trigger condition determination can be performed. If the IoU of target frame 2 with the virtual restricted area detection frame is greater than the first preset threshold, airbag adjustment will not be triggered, and subsequent trigger condition determination will not be performed. If the IoU of both target frame 1 and target frame 2 with the virtual restricted area detection frame is less than the first preset threshold, subsequent trigger condition determinations can be performed independently for each of the two target objects, and the airbags in the corresponding areas can be adjusted independently based on their respective sleeping positions and pressure distribution to avoid mutual interference.

[0088] Among them, such as Figure 7 As shown in the figure, an IOU definition example is provided. A represents the area where the target object is located, B represents the area where the virtual restricted area is located, and C represents the intersection between the two. The first intersection-over-union (IOU) can be calculated using the following formula:

[0089]

[0090] For example, the coordinates of the upper left vertex of the detection box of the target object area are (x a1 ,y a1 ), the coordinates of the lower right vertex are (x a2 ,y a2 ), the coordinate of the upper left vertex of the virtual restricted area detection frame is (x b1 ,y b1 ), the coordinates of the lower right vertex are (x b2 ,y b2 ) Then, the set A of detection boxes in the area where the target object is located can be expressed as:

[0091] A={(x,y)▏x a1 ≤x≤x a2 ,y a1 ≤y≤y a2 , y∈R}

[0092] The set B of the virtual restricted area detection frame can be expressed as:

[0093] B={(x,y)▏x b1 ≤x≤x b2 ,y b1 ≤y≤y b2 , y∈R}

[0094] Then the intersection A∩B between the target object area detection frame and the virtual restricted area detection frame can be expressed as:

[0095] A∩B={(x,y)▏max{x a1 , x b1}≤x≤min{x a2 ,x b2},max{y a1 ,y b1}≤y≤

[0096] min{y a2 ,y b2}}

[0097] S A∩B =(min{x a2 ,x b2}-max{x a1 ,x b1})▏(min{y a2 ,y b2}-max{y a1 ,y b1})

[0098] The union A∪B between the target object area detection frame and the virtual restricted area detection frame can be expressed as:

[0099] A∪B=A+BA∩B

[0100] Then, S A∪B =(x a2 -x a1 )(y a2 -y a1 )+(x b2 -x b1 )(y b2 -y b1 )-(min{x a2 ,x b2}-max{xa1,xb1}ⅹmin{ya2,yb2}-max{ya1,yb1}

[0101]

[0102] Similarly, the second intersection-over-union ratio can also be calculated using the above method.

[0103] In one embodiment of the present application, the sleeping position local high-pressure area includes a shoulder high-pressure area and a buttocks high-pressure area. If the center position of the sleeping position local high-pressure area is within the corresponding airbag deployment area, before the airbag adjustment triggering condition is met, the following steps are further included:

[0104] Determining the center coordinates of the shoulder high pressure area and the center coordinates of the hip high pressure area;

[0105] It is determined whether the coordinates of the center point of the shoulder high pressure area are within the coordinate range of the shoulder airbag deployment area, and it is determined whether the coordinates of the center point of the hip high pressure area are within the coordinate range of the hip airbag deployment area.

[0106] It should be noted that the intelligent rest equipment is divided into a left effective area and a right effective area by a virtual restricted area, and multiple airbags are symmetrically arranged in the left effective area and the right effective area, such as shoulder airbags, waist airbags and hip airbags, and each airbag can be connected to the air pump through a pipe separately, and can be inflated and deflated independently.

[0107] The local high-pressure area of ​​sleeping posture refers to the area where relatively high pressure is generated when certain specific parts of the body come into contact with support materials such as mattresses when the target subject is in different sleeping postures. Different sleeping postures may correspond to different high-pressure areas. Figure 8a As shown in 8b, Figure 8a It shows the local high-pressure areas in the supine position, namely the shoulder high-pressure area and the buttocks high-pressure area. Figure 8bThe figure shows the local high-pressure areas in the left side lying state, which are also the shoulder high-pressure areas and the buttocks high-pressure areas. (x1, y1) represents the coordinates of the center position of the shoulder high-pressure area, and (x2, y2) represents the coordinates of the center position of the buttocks high-pressure area. After the high-pressure area is detected, it can be marked in the sleeping posture detection frame, and a local high-pressure detection frame can be generated. In the local high-pressure detection frame, the intersection of the lines connecting the midpoints of the four sides of the local high-pressure detection frame can be calculated to obtain the coordinates of the center point, which represents the center position of the shoulder high-pressure area. The calculated coordinates of the center position of the local high-pressure area are compared with the corresponding airbag deployment area, such as the center position of the shoulder high-pressure area is compared with the shoulder airbag deployment area, and the center position of the buttocks high-pressure area is compared with the buttocks airbag deployment area. For example, it is determined whether the horizontal coordinate of the center point is within the horizontal coordinate range of the left and right boundaries of the rectangle, and whether the vertical coordinate is within the vertical coordinate range of the upper and lower boundaries. If so, it means that the center point position is within the airbag deployment area, and the airbag adjustment trigger condition is met.

[0108] In one embodiment of the present application, obtaining the sleeping position local high-pressure area based on the area where the target object is located includes:

[0109] Performing interpolation processing on the area where the target object is located using a preset interpolation algorithm;

[0110] Performing filtering on the area where the target object is located after the interpolation processing;

[0111] Perform dynamic threshold segmentation on the target area after filtering to determine all high-voltage areas;

[0112] All connected areas are found, and all high-pressure areas are screened to obtain the local high-pressure area of ​​the sleeping posture.

[0113] Optionally, after collecting the pressure signal via the pressure matrix, the pressure signal can be tested for validity. If the pressure signal is valid, the pressure value can be converted into a two-dimensional grayscale image. For example, if the pressure signal is valid, using a 32*32 flexible dot matrix pressure sensor assembly as an example, the collected 32*32 pressure value can be converted into a two-dimensional grayscale image. The two-dimensional grayscale image is then interpolated using an interpolation algorithm, such as nearest neighbor interpolation, bilinear interpolation, or bicubic interpolation, to increase the number of pixels in the image and improve image resolution. The interpolated image is then Gaussian filtered to reduce noise. The filtered and denoised image is then binarized and masked to achieve dynamic threshold segmentation. For example, the top 10% of pixel values ​​are set as the foreground (typically assigned a value of 1), and the remaining areas are set as the background (assigned a value of 0). This generates a binary mask to identify all high-pressure areas. Within these high-pressure areas, all connected regions are searched and filtered, for example, to identify areas with an area greater than 0.5 of the image area. Local high-pressure areas in the sleeping position are then selected from these areas.

[0114] In one embodiment of the present application, all connected areas are searched, and all high-pressure areas are screened to obtain the local high-pressure area in the sleeping position, including:

[0115] Find all connected regions, and select effective high-pressure regions from all high-pressure regions based on the areas of the connected regions;

[0116] sorting the effective high-pressure areas according to their regional strength, wherein the regional strength is determined by the pressure value corresponding to the effective high-pressure area;

[0117] Based on the sorting results, the local high-pressure area of ​​the sleeping posture is obtained.

[0118] Optionally, all connected areas can be searched in all high-pressure areas, and then effective high-pressure areas with an area ratio greater than 0.5 of the image area can be screened out. Since the pressure sensor assembly units are arranged in an array, the effective high-pressure area can correspond to a pressure sub-matrix composed of multiple pressure sensor assembly units. By calculating the pressure value corresponding to the pressure sub-matrix, the pressure value is used as the regional strength. The larger the pressure value, the higher the regional strength. The pressure values ​​can then be sorted from high to low. In the sorting results, the top two high-pressure areas can be selected as the local high-pressure areas for sleeping postures. Since the number of high-pressure areas formed in the main pressure-bearing parts of the human body during sleep is usually small and the pressure is concentrated, selecting the top two can both cover the main pressure-bearing areas and avoid selecting too many areas that lead to redundant adjustments.

[0119] In one embodiment of the present application, adjusting the corresponding airbag pressure based on the corresponding airbag adjustment strategy includes:

[0120] determining a target airbag adjustment strategy corresponding to the target object based on airbag adjustment information corresponding to the target object, wherein the airbag adjustment information includes at least one of a sleeping posture type, a pressure distribution state, a current sleep stage, and a sleeping posture preference;

[0121] Based on the target airbag adjustment strategy, the air pressure of the corresponding airbag is adjusted to the corresponding air pressure.

[0122] Airbags can include shoulder, waist, and hip airbags. Different sleeping positions correspond to different pressure distributions. Adjusting the airbag pressure based on the sleeping position improves the accuracy and efficiency of adjustment, allowing for a more comfortable sleep more quickly. For example, when sleeping on your back or side, the waist and hips are the primary areas of pressure. Adjusting the waist and hip airbags can prioritize pressure relief by inflating or deflating them, reducing localized pressure and ensuring smooth blood circulation. For example, when sleeping on your side, appropriately deflating the shoulder airbags can distribute pressure across the shoulders and reduce discomfort. When sleeping on your stomach, the chest and abdomen are the primary areas of pressure. Excessive pressure can affect cardiopulmonary function, leading to shortness of breath and pressure on the heart. Pressure on abdominal organs can also cause discomfort. To address this, the airbags beneath the chest and abdomen can be appropriately deflated. Deflating the airbags softens the pressure, distributing pressure across the chest and abdomen, alleviating pressure on organs and ensuring smooth breathing and blood circulation. Furthermore, sleeping on your stomach creates a certain degree of pelvic distortion, which can easily lead to tension in the lower back muscles. It can moderately increase the pressure of the airbag under the pelvis, provide better support for the pelvis, maintain the normal physiological position of the pelvis, and relieve tension in the waist muscles.

[0123] Among them, the pressure distribution state can be obtained by detecting the pressure distribution of various parts of the target object's body on the mattress through a pre-set pressure sensor component unit. By appropriately reducing the airbag pressure in the area with higher pressure and increasing the airbag pressure in the area with lower pressure, the pressure on various parts of the body can be made more uniform, reducing the discomfort caused by excessive local pressure and promoting blood circulation.

[0124] During light sleep, the human body is more sensitive, so a gentler airbag adjustment strategy can be employed. Fine-tuning the airbag pressure based on sleeping position and body pressure distribution optimizes mattress comfort and helps users enter deep sleep more quickly. During deep sleep, muscles relax and body posture is relatively stable. During this stage, the frequency and amplitude of airbag adjustments can be appropriately reduced to maintain a relatively stable mattress support and avoid disrupting the user's deep sleep. During REM sleep, the human body may experience slight movements and dreams. Flexible airbag pressure adjustment based on the amplitude and frequency of the user's movements ensures comfort during sleep while preventing discomfort or falling off the bed due to excessive movement.

[0125] Among them, sleeping posture preference can be obtained through pre-setting or determined by collecting the historical sleep information of the target object. If the sleeping posture preference is a harder mattress, the air pressure of all air bags can be appropriately increased when the trigger conditions are met to increase the overall hardness of the mattress; conversely, if the target object likes a softer mattress, the air bag pressure will be reduced to make the mattress softer and more comfortable.

[0126] In the embodiments of this application, by precisely monitoring the user's position in bed and the pressure distribution of their sleeping posture before airbag triggering, and combining the division of sleeping posture into a local high-pressure zone, a virtual forbidden zone, and an effective pressure zone, intelligent triggering logic for airbag inflation and deflation is implemented. This overcomes the limitations of existing technologies that rely solely on a single sleeping posture to adjust the airbag, fully accounting for individual differences and enabling personalized, targeted adjustment of airbag pressure based on the user's specific position in bed and the actual pressure conditions in various parts of the body. Furthermore, by setting a virtual forbidden zone, the airbag is prevented from being accidentally triggered when the user is in the virtual forbidden zone, improving the sleep experience and comfort, reducing sleep interruptions, and significantly enhancing sleep comfort and quality, greatly enhancing the personalized experience and user satisfaction.

[0127] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0128] In one embodiment, an airbag adjustment device is provided for use in intelligent rest equipment. The intelligent rest equipment includes a virtual restricted area and a pressure effective area. The pressure effective area is provided with a pressure matrix composed of multiple pressure sensor component units and multiple airbags. The virtual restricted area is an area where the airbag adjustment is prohibited. The airbag adjustment device corresponds one-to-one with the airbag adjustment method in the above embodiment. Figure 9 As shown, the airbag adjustment device includes a prediction unit 10, a sleeping position local high-pressure area determination unit 20, an airbag adjustment trigger determination unit 30, and an airbag adjustment unit 40. The functional modules are described in detail as follows:

[0129] The prediction unit 10 is configured to obtain the pressure signal collected by the pressure sensor assembly unit and predict the target object's location and sleeping posture based on the pressure signal;

[0130] a sleeping posture local high-pressure area determination unit 20, configured to obtain the sleeping posture local high-pressure area of ​​the target object based on the target object's location and sleeping posture;

[0131] An airbag adjustment trigger determination unit 30 is configured to determine whether an airbag adjustment trigger condition is currently satisfied based on the target object's location, the sleeping position local high-pressure area, the virtual restricted area, the pressure effective area, and each airbag deployment area;

[0132] The airbag adjustment unit 40 is configured to adjust the corresponding airbag pressure based on the corresponding airbag adjustment strategy if the airbag adjustment triggering condition is met.

[0133] In one embodiment of the present application, the airbag adjustment trigger determination unit 30 is further configured to:

[0134] Determining a first intersection-over-union ratio between the area where the target object is located and the virtual restricted area;

[0135] If the first intersection-over-union ratio is less than the first preset threshold, determining a second intersection-over-union ratio between the area where the target object is located and the pressure effective area;

[0136] If the second intersection-over-union ratio is greater than a second preset threshold, determining whether the center position of the sleeping position local high-pressure area is within the corresponding airbag deployment area;

[0137] If the center position of the sleeping position local high-pressure area is within the corresponding airbag deployment area, the airbag adjustment triggering condition is met.

[0138] In one embodiment of the present application, the sleeping position local high-pressure area includes the shoulder high-pressure area and the buttocks high-pressure area, and the airbag adjustment trigger determination unit 30 is further used to:

[0139] Determining the center coordinates of the shoulder high pressure area and the center coordinates of the hip high pressure area;

[0140] It is determined whether the coordinates of the center point of the shoulder high pressure area are within the coordinate range of the shoulder airbag deployment area, and it is determined whether the coordinates of the center point of the hip high pressure area are within the coordinate range of the hip airbag deployment area.

[0141] In one embodiment of the present application, the sleeping posture local high-pressure area determining unit 20 is further configured to:

[0142] Performing interpolation processing on the area where the target object is located using a preset interpolation algorithm;

[0143] Performing filtering on the area where the target object is located after the interpolation processing;

[0144] Perform dynamic threshold segmentation on the target area after filtering to determine all high-voltage areas;

[0145] All connected areas are found, and all high-pressure areas are screened to obtain the local high-pressure area of ​​the sleeping posture.

[0146] In one embodiment of the present application, the sleeping posture local high-pressure area determining unit 20 is further configured to:

[0147] Find all connected regions, and select effective high-pressure regions from all high-pressure regions based on the areas of the connected regions;

[0148] sorting the effective high-pressure areas according to their regional strength, wherein the regional strength is determined by the pressure value corresponding to the effective high-pressure area;

[0149] Based on the sorting results, the local high-pressure area of ​​the sleeping posture is obtained.

[0150] In one embodiment of the present application, the airbag adjustment unit 40 is further configured to:

[0151] The adjusting the corresponding airbag pressure based on the corresponding airbag adjustment strategy includes:

[0152] determining a target airbag adjustment strategy corresponding to the target object based on airbag adjustment information corresponding to the target object, wherein the airbag adjustment information includes at least one of a sleeping posture type, a pressure distribution state, a current sleep stage, and a sleeping posture preference;

[0153] Based on the target airbag adjustment strategy, the air pressure of the corresponding airbag is adjusted to the corresponding air pressure.

[0154] In one embodiment of the present application, the pressure effective zone includes a left pressure effective zone and a right pressure effective zone. The left effective zone is provided with a left airbag, and the right effective zone is provided with a right airbag. The left airbag and the right airbag are independently controlled. The virtual restricted zone is provided between the left pressure effective zone and the right pressure effective zone, and no airbag is provided in the virtual restricted zone.

[0155] In the embodiments of this application, by precisely monitoring the user's position in bed and the pressure distribution of their sleeping posture before airbag triggering, and combining the division of sleeping posture into a local high-pressure zone, a virtual forbidden zone, and an effective pressure zone, intelligent triggering logic for airbag inflation and deflation is implemented. This overcomes the limitations of existing technologies that rely solely on a single sleeping posture to adjust the airbag, fully accounting for individual differences and enabling personalized, targeted adjustment of airbag pressure based on the user's specific position in bed and the actual pressure conditions in various parts of the body. Furthermore, by setting a virtual forbidden zone, the airbag is prevented from being accidentally triggered when the user is in the virtual forbidden zone, improving the sleep experience and comfort, reducing sleep interruptions, and significantly enhancing sleep comfort and quality, greatly enhancing the personalized experience and user satisfaction.

[0156] The specific definition of the airbag adjustment device can be found in the definition of the airbag adjustment method above and will not be repeated here. Each module in the aforementioned airbag adjustment device may be implemented in whole or in part through software, hardware, or a combination thereof. Each module may be embedded in or independent of a processor in a computer device in hardware form, or may be stored in a computer device memory in software form, so that the processor can call and execute the corresponding operations of each module.

[0157] In one embodiment, a computer device is provided. The computer device may be a terminal device, and its internal structure diagram may be as follows: Figure 10As shown. The computer device includes a processor, memory, and a network interface connected via a system bus. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a readable storage medium. The readable storage medium stores computer-readable instructions. The network interface of the computer device is used to communicate with an external terminal via a network connection. When executed by the processor, the computer-readable instructions implement an airbag adjustment method. The readable storage medium provided in this embodiment includes a non-volatile readable storage medium and a volatile readable storage medium.

[0158] In an embodiment of the present application, a computer device is provided, including a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor. When the processor executes the computer-readable instructions, the steps of the airbag adjustment method described above are implemented.

[0159] In an embodiment of the application, a readable storage medium is provided, which stores computer-readable instructions. When the computer-readable instructions are executed by a processor, the steps of the airbag adjustment method as described above are implemented.

[0160] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing related hardware through computer-readable instructions. The computer-readable instructions can be stored in a non-volatile readable storage medium or a volatile readable storage medium. When the computer-readable instructions are executed, they may include processes in the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

[0161] Those skilled in the art will clearly understand that for the sake of convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0162] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present application, and should all be included in the scope of protection of the present application.

Claims

1. An airbag adjustment method, characterized in that: Applied to intelligent rest equipment, the intelligent rest equipment includes a virtual restricted area and a pressure effective area, the pressure effective area is provided with a pressure matrix composed of multiple pressure sensor component units and multiple airbags, the virtual restricted area is a region where triggering of airbag adjustment is prohibited, the method includes: Obtaining a pressure signal collected by the pressure sensor assembly unit, and predicting a target object's location and sleeping posture based on the pressure signal; Based on the target object's location and sleeping posture, obtaining a local high-pressure area of ​​the target object's sleeping posture; Determining whether an airbag adjustment triggering condition is currently met based on the target object's location, the sleeping position local high-pressure area, the virtual restricted area, the pressure effective area, and each airbag deployment area; If the airbag adjustment triggering conditions are met, the corresponding airbag pressure is adjusted based on the corresponding airbag adjustment strategy.

2. The airbag adjustment method according to claim 1, wherein: The determining whether the airbag adjustment triggering condition is currently met based on the sleeping position local high-pressure area, the virtual restricted area, the pressure effective area, and each airbag deployment area includes: Determining a first intersection-over-union ratio between the area where the target object is located and the virtual restricted area; If the first intersection-over-union ratio is less than the first preset threshold, determining a second intersection-over-union ratio between the area where the target object is located and the pressure effective area; If the second intersection-over-union ratio is greater than a second preset threshold, determining whether the center position of the sleeping position local high-pressure area is within the corresponding airbag deployment area; If the center position of the sleeping position local high-pressure area is within the corresponding airbag deployment area, the airbag adjustment triggering condition is met.

3. The airbag adjustment method according to claim 2, characterized in that: The sleeping position local high-pressure area includes a shoulder high-pressure area and a buttocks high-pressure area. If the center position of the sleeping position local high-pressure area is within the corresponding airbag deployment area, before the airbag adjustment triggering condition is met, the method further includes: Determining the center coordinates of the shoulder high pressure area and the center coordinates of the hip high pressure area; It is determined whether the coordinates of the center point of the shoulder high pressure area are within the coordinate range of the shoulder airbag deployment area, and it is determined whether the coordinates of the center point of the hip high pressure area are within the coordinate range of the hip airbag deployment area.

4. The airbag adjustment method according to claim 1, wherein: The obtaining of the local high-pressure area in the sleeping position based on the area where the target object is located includes: Performing interpolation processing on the area where the target object is located using a preset interpolation algorithm; Performing filtering on the area where the target object is located after the interpolation processing; Perform dynamic threshold segmentation on the target area after filtering to determine all high-voltage areas; All connected areas are found, and all high-pressure areas are screened to obtain the local high-pressure area of ​​the sleeping posture.

5. The airbag adjustment method according to claim 4, characterized in that: The step of searching all connected areas and screening all high-pressure areas to obtain the sleeping posture local high-pressure area includes: Find all connected regions, and select effective high-pressure regions from all high-pressure regions based on the areas of the connected regions; sorting the effective high-pressure areas according to their regional strength, wherein the regional strength is determined by the pressure value corresponding to the effective high-pressure area; Based on the sorting results, the local high-pressure area of ​​the sleeping posture is obtained.

6. The airbag adjustment method according to any one of claims 1 to 5, characterized in that: The adjusting the corresponding airbag pressure based on the corresponding airbag adjustment strategy includes: determining a target airbag adjustment strategy corresponding to the target object based on airbag adjustment information corresponding to the target object, wherein the airbag adjustment information includes at least one of a sleeping posture type, a pressure distribution state, a current sleep stage, and a sleeping posture preference; Based on the target airbag adjustment strategy, the air pressure of the corresponding airbag is adjusted to the corresponding air pressure.

7. The airbag adjustment method according to any one of claims 1 to 5, characterized in that: The pressure effective zone includes a left pressure effective zone and a right pressure effective zone. The left effective zone is provided with a left airbag, and the right effective zone is provided with a right airbag. The left airbag and the right airbag are independently controlled. The virtual restricted zone is provided between the left pressure effective zone and the right pressure effective zone, and the airbag is not provided in the virtual restricted zone.

8. An airbag adjustment device, characterized in that: Applied to intelligent rest equipment, the intelligent rest equipment includes a virtual restricted area and a pressure effective area, the pressure effective area is provided with a pressure matrix composed of multiple pressure sensor component units and multiple airbags, the virtual restricted area is a region where triggering of airbag adjustment is prohibited, the device includes: a prediction unit, configured to obtain the pressure signal collected by the pressure sensor assembly unit, and predict the target object's location and sleeping posture based on the pressure signal; a sleeping posture local high-pressure area determination unit, configured to obtain the sleeping posture local high-pressure area of ​​the target object based on the area where the target object is located and the sleeping posture; an airbag adjustment trigger determination unit, configured to determine whether an airbag adjustment trigger condition is currently met based on the target object's location, the sleeping position local high-pressure area, the virtual restricted area, the pressure effective area, and each airbag deployment area; The airbag adjustment unit is used to adjust the corresponding airbag pressure based on the corresponding airbag adjustment strategy if the airbag adjustment trigger condition is met.

9. A computer device comprising a memory, a processor, and computer-readable instructions stored in the memory and executable on the processor, wherein: When the processor executes the computer-readable instructions, the steps of the airbag adjustment method according to any one of claims 1 to 7 are implemented.

10. A readable storage medium storing computer-readable instructions, characterized in that: When the computer-readable instructions are executed by a processor, the steps of the airbag adjustment method according to any one of claims 1 to 7 are implemented.