Air bag and body part mapping method, adjusting method and medium
The method for mapping airbags to body parts using a reference coordinate system and predefined thresholds addresses the challenge of inaccurate airbag division, allowing precise support and relaxation adjustments based on user posture and body part regions.
Patent Information
- Application Number
- CN202411074875.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-06
- Publication Date
- 2024-12-06
AI Technical Summary
Existing air mattress technologies struggle to accurately divide airbags into corresponding areas of the user's body, leading to inefficient adjustment of support and relaxation in different body parts.
A method for mapping airbags to body parts by determining body part regions and calculating overlap areas, using a reference coordinate system to accurately assign airbags to specific body regions, and adjusting inflation or deflation based on predefined thresholds.
Enables precise adjustment of airbag support and relaxation in various body parts, ensuring accurate inflation or deflation according to user posture and body part regions.
Smart Images

Figure CN119073757A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of air mattresses, and in particular to a mapping method, an adjustment method and a medium for air bags and body parts. Background Art
[0002] A mattress usually contains multiple air bags. When a user lies on the mattress, the support strength of various parts of the user's body can usually be adjusted by controlling the inflation or deflation of the air bags in the mattress. For example, when a person lies on the mattress, because the waist is suspended in the air and the waist is easily strained, it is necessary to inflate the waist air bags corresponding to the waist area to achieve a support effect on the waist. Alternatively, when other parts of the user's body also need to be inflated and supported by the air bags in the corresponding parts for some reason, the air bags corresponding to the parts will also be inflated and adjusted. However, only by accurately dividing the air bags into the corresponding areas of the user's body can it be ensured that when you want to adjust the air bags in a certain part of the body, the air bags in other parts will not be adjusted. Summary of the invention
[0003] The main technical problem solved by the present invention is to accurately divide the airbags into corresponding areas of the user's body, so that the user can independently adjust the airbags in various areas of the body.
[0004] According to a first aspect, an embodiment provides a method for mapping airbags and body parts, which is applied in a scenario where a user uses a mattress; wherein the mattress includes a plurality of airbags, and the plurality of airbags are used to inflate and support or deflate and relax the user's body parts; comprising:
[0005] Determine a plurality of different body part regions according to a preset lying posture of the user; wherein each of the body part regions is located between two spaced partition lines, and the plurality of different body part regions include a first body part region and a second body part region that are adjacent to each other, and the first body part region and the second body part region have a common target partition line between them;
[0006] Determine whether there is a falling relationship between the target partition line and the plurality of airbags, and if so, calculate the area of the first body part region and a first area where the airbags overlap with the first body part region;
[0007] The body part region corresponding to the airbag is determined based on the area of the first body part region and the first area.
[0008] In one embodiment, if there is no falling-in relationship, the body part region where the airbag is located is used as the body part region corresponding to the airbag.
[0009] In one embodiment, determining the body part region corresponding to the airbag based on the area of the first body part region and the first area includes:
[0010] If the ratio of the first area to the area of the first body part region exceeds a preset first reference threshold, the body part region corresponding to the airbag is determined as the first body part region;
[0011] Otherwise, determine whether the ratio of the first area to the area of the airbag exceeds a preset second reference threshold. If so, the body part area corresponding to the airbag is determined as the first body part area; if not, the body part area corresponding to the airbag is determined as the second body part area.
[0012] In one embodiment, the calculating of a first area where the airbag overlaps with the first body part includes:
[0013] Respectively mapping the airbag region corresponding to the airbag and the first body part region on a pre-constructed reference coordinate system;
[0014] Obtain two coincident lines corresponding to the overlapped portion of the first body part region and the airbag region on the reference coordinate system, and respectively obtain the ordinates corresponding to the two coincident lines;
[0015] The difference between the ordinates corresponding to the two coincident lines is calculated, and a first area where the airbag overlaps with the first body part region is calculated based on the difference and the airbag width of the airbag.
[0016] In one embodiment, the calculating the area of the first body part region includes:
[0017] The area of the first body part region is calculated according to a preset area measurement method, a body mirror scanning method or a reference area comparison method based on a database; wherein the database contains reference areas corresponding to different body part regions.
[0018] In one embodiment, posture recognition is performed on the posture of the user in the scene of using the mattress to obtain the user's posture type; wherein the user's posture type includes a side-lying type, a prone-lying type, and a flat-lying type.
[0019] According to a second aspect, an embodiment provides a method for adjusting a body part, which is applied when a user uses a mattress containing multiple airbags, comprising:
[0020] Receiving an operation instruction for inflating or deflation corresponding to a target body part area; the target body part area is surrounded by two spaced partition lines;
[0021] Determine an airbag among the multiple airbags that overlaps with the target body part area, and determine a target airbag corresponding to the target body part area according to an overlap area between the airbag that overlaps with the target body part area and the target body part area;
[0022] The target airbag is controlled to be inflated to provide inflation support to the target body part area, or the target airbag is controlled to be deflated to deflate and relax the target body part area.
[0023] In one embodiment, the step of determining an airbag among the plurality of airbags that overlaps with the target body part region includes:
[0024] The airbags among the multiple airbags that contain the partition line corresponding to the target body part area or the airbags whose corresponding airbag areas are inside the target body part area are regarded as the airbags that overlap with the target body part area.
[0025] In one embodiment, determining the target airbag corresponding to the target body part region according to the overlap area between the airbags that overlap with the target body part region and the target body part region includes:
[0026] Determining whether an airbag area corresponding to the airbag is inside the target body part area;
[0027] If yes, the airbag is determined as the target airbag corresponding to the target body part area;
[0028] If not, determining whether the ratio of the overlap area between the airbag and the target body part region to the area of the target body part region exceeds a preset first reference threshold;
[0029] If it exceeds a preset first reference threshold, the airbag is determined as a target airbag corresponding to the target body part area;
[0030] If it does not exceed the preset first reference threshold, determining whether the ratio of the overlap area between the airbag and the target body part region to the area of the airbag exceeds a preset second reference threshold;
[0031] If it exceeds a preset second reference threshold, the airbag is determined as a target airbag corresponding to the target body part area;
[0032] If the preset second reference threshold is not exceeded, the airbag is determined as a target airbag corresponding to a body part area that has an overlapping area with the airbag and is adjacent to the target body part area.
[0033] According to a third aspect, an embodiment provides a computer-readable storage medium having a program stored thereon, wherein the program can be executed by a processor to implement a method for mapping airbags and body parts and a method for adjusting body parts.
[0034] According to the mapping method of airbags and body parts, the adjustment method of body parts and the computer-readable storage medium of the above-mentioned embodiments, the falling relationship between the common target partition line between the first body part area and the second body part area and the multiple airbags is judged, and by judging whether the target partition line falls into the interior of the airbag, a preliminary judgment of the body part area of the airbag according to the target partition line is achieved. And when there is a falling relationship, a judgment is made based on the calculated area of the first body part area and the first area overlapping with the first body part area to determine the body part area corresponding to the airbag. In this way, the airbags are accurately divided into the corresponding body part areas, so that the user can independently adjust the airbags in various body part areas. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 is a flow chart of mapping of airbags and body parts in this embodiment;
[0036] Figure 2 A reference diagram of different body parts according to an embodiment;
[0037] Figure 3 A reference diagram showing the relationship between a body part region and an air bag according to an embodiment;
[0038] Figure 4 A reference diagram showing the relationship between the body part area and the airbag in another embodiment
[0039] Figure 5 is a flow chart of mapping airbags and body parts in one embodiment;
[0040] Figure 6 A reference diagram showing the relationship between a body part region and an air bag according to an embodiment;
[0041] Figure 7 is a flow chart of mapping airbags and body parts in one embodiment;
[0042] Figure 8 is a flow chart of adjusting a body part in this embodiment;
[0043] Fig. 9 A reference diagram showing the relationship between a body part region and an air bag according to an embodiment;
[0044] Fig.10 A flowchart for adjusting a body part according to an embodiment. DETAILED DESCRIPTION
[0045] The present invention is further described in detail below by specific embodiments in conjunction with the accompanying drawings. Wherein similar elements in different embodiments adopt associated similar element numbers. In the following embodiments, many detailed descriptions are for making the present application better understood. However, those skilled in the art can easily recognize that some features can be omitted in different situations, or can be replaced by other elements, materials, methods. In some cases, some operations related to the present application are not shown or described in the specification, this is to avoid the core part of the present application being overwhelmed by too much description, and for those skilled in the art, it is not necessary to describe these related operations in detail, and they can fully understand the related operations according to the description in the specification and the general technical knowledge in the art.
[0046] In addition, the features, operations or characteristics described in the specification can be combined in any appropriate manner to form various implementations. At the same time, the steps or actions in the method description can also be interchanged or adjusted in a manner that is obvious to those skilled in the art. Therefore, the various sequences in the specification and the drawings are only for the purpose of clearly describing a certain embodiment and are not meant to be a required sequence, unless otherwise specified that a certain sequence must be followed.
[0047] The serial numbers of the components in this document, such as "first", "second", etc., are only used to distinguish the objects described and do not have any order or technical meaning. The "connection" and "coupling" mentioned in this application, unless otherwise specified, include direct and indirect connections (couplings).
[0048] Please refer to Figure 1 An embodiment of the present invention provides a method for mapping air bags and body parts, which is applied in a scenario where a user uses a mattress; wherein the mattress includes a plurality of air bags, and the plurality of air bags are used to inflate and support or deflate and relax the user's body parts; the method includes steps S10 to S30, which are described in detail below.
[0049] Step S10: determining a plurality of different body part regions according to a preset lying position of the user; wherein each body part region is located between two spaced partition lines, and the plurality of different body part regions include an adjacent first body part region and a second body part region, and the first body part region and the second body part region have a common target partition line.
[0050] In some embodiments, when a user uses a mattress, posture recognition is first performed on the posture of the user in the scene of using the mattress, so that the user's posture type can be identified. Among them, the user's posture type includes different lying posture types such as side lying type, prone lying type and flat lying type. This embodiment mainly analyzes the situation where the user lies flat on the mattress, so the user's preset lying posture is lying flat.
[0051] Please refer to Figure 2 In some embodiments, the user's body is partitioned to determine multiple different body regions, for example, the multiple different body regions include a head region, a shoulder region, a back region, an upper waist region, a lower waist region, a hip region, a thigh region, and a calf region, etc. Each body region is located between two spaced partition lines, for example, the shoulder region is surrounded by a neck circumference partition line and a shoulder width partition line, the back region is surrounded by a shoulder width partition line and a lower chest circumference partition line, the upper waist region is surrounded by a lower chest circumference partition line and a partition line at the middle point between the lower abdominal circumference partition line and the lower chest circumference partition line, the lower waist region is surrounded by a partition line at the middle point between the lower abdominal circumference partition line and the lower chest circumference partition line and the lower abdominal circumference partition line, the hip region is surrounded by a lower abdominal circumference partition line and a thigh circumference partition line, and the thigh region is surrounded by a thigh circumference partition line and a knee circumference partition line.
[0052] Among them, since the neck includes the Adam's apple and spinous process, the neck position is 1 / 2 of the line connecting the Adam's apple and spinous process, and the shoulder width partition line refers to the partition line corresponding to the widest part of the shoulder, the lower chest partition line refers to the partition line corresponding to the base of the breast when the user's body is upright, and the lower abdominal partition line refers to the thinnest part of the user's waist to 2 / 3 of the thinnest part of the user's buttocks, or 5 cm below the user's belly button. The hip partition line refers to the partition line corresponding to the fullest or most convex part of the user's buttocks, and the thigh root partition line refers to the partition line corresponding to the thickest part of the user's thigh root to avoid the situation of falling buttocks. The knee refers to the kneecap.
[0053] In some embodiments, the plurality of different body part regions include adjacent first body part regions and second body part regions, for example, the first body part region may be the back region, and the second body part region may be the upper waist region, or the first body part region may be the upper waist region, and the second body part region may be the lower waist region. There is a common target partition line between the first body part region and the second body part region, for example, there is a common lower chest partition line between the back region and the upper waist region, and there is a midpoint partition line between the lower abdominal partition line and the lower chest partition line between the upper waist region and the lower waist region.
[0054] Step S20: Determine whether there is a falling relationship between the target partition line and the multiple airbags. If there is a falling relationship, calculate the area of the first body part region and the first area where the airbags overlap with the first body part region.
[0055] Please refer to Figure 3 In some embodiments, assuming that the first body part region and the second body part region are rectangular, if there is no falling relationship between the target partition line and the multiple airbags, the body part region where the airbag is located is used as the body part region corresponding to the airbag. Figure 3 The middle target partition line is not inside the airbag, but keeps a certain distance from the airbag. At this time, the airbag is in the first body part area. Therefore, the first body part area is used as the body part area corresponding to the airbag.
[0056] Please refer to Figure 4 In some embodiments, there is a falling relationship between the target partition line and multiple airbags, that is, the target partition line falls into the interior of the airbag. When the target partition line falls into the interior of the airbag, it is necessary to calculate the area S1 of the first body part area and the first area A1 where the airbag and the first body part area overlap.
[0057] Please refer to Figure 5 In some embodiments, step S20 calculates a first area where the airbag overlaps with the first body part, including steps S21 to S23, which are described in detail below.
[0058] Step S21: respectively mapping the airbag region and the first body part region corresponding to the airbag onto a pre-constructed reference coordinate system.
[0059] In some embodiments, the mattress used by the user can be used as a reference coordinate system, and the direction from the head to the foot of the mattress is defined as the longitudinal axis, and the direction perpendicular thereto is defined as the transverse axis. Then, the airbag area corresponding to the airbag and the first body part area are respectively mapped on the reference coordinate system.
[0060] Step S22: obtaining two coincidence lines corresponding to the coincidence portion of the first body part region and the airbag region on the reference coordinate system, and respectively obtaining the ordinates corresponding to the two coincidence lines.
[0061] Please refer to Figure 6 In some embodiments, the two coincidence lines corresponding to the overlapped portion of the first body part region and the airbag region are respectively Figure 6 The first coincidence line and the target partition line in the reference coordinate system, wherein the vertical coordinate of the first coincidence line in the reference coordinate system may be y1, and the vertical coordinate of the target partition line in the reference coordinate system may be y2.
[0062] Step S23: Calculate the difference between the ordinates corresponding to the two coincident lines, and calculate the first area where the airbag overlaps the first body part region based on the difference and the airbag width of the airbag.
[0063] In some embodiments, the difference between the vertical coordinates corresponding to the two overlapping lines is calculated as y2-y1, and the airbag width of the airbag is L. Then, the first area A1=L×(y2-y1) where the airbag overlaps with the first body part is calculated based on the difference and the airbag width of the airbag.
[0064] In some embodiments, the area of the first body part region is calculated according to a preset area measurement method, a body mirror scanning method, or a reference area comparison method based on a database; wherein the database contains reference areas corresponding to different body part regions.
[0065] In some embodiments, there may be a reference area of the shoulder region or other regions of a body shape or height similar to that of the user in the database, and thus the area of the first body part region may be obtained based on the reference area in the database.
[0066] Step S30: determining the body part region corresponding to the airbag based on the area of the first body part region and the first area.
[0067] Please refer to Figure 7 In some embodiments, step S30 determines the body part area corresponding to the airbag based on the area of the first body part area and the first area, including steps S31 to S34, which are described in detail below.
[0068] Step S31: determine whether the ratio of the first area to the area of the first body part region exceeds a preset first reference threshold.
[0069] In some embodiments, the preset first reference threshold is 50%, and it is determined whether the ratio A1 / S1 of the first area A1 to the area S1 of the first body part region exceeds the preset first reference threshold of 50%.
[0070] Step S32: If yes, the body part region corresponding to the airbag is determined as the first body part region.
[0071] Step S33: Otherwise, determine whether the ratio of the first area to the area of the airbag exceeds a preset second reference threshold. If so, return to step S32.
[0072] In some embodiments, the preset second reference threshold is 50%.
[0073] Step S34: If not exceeded, the body part area corresponding to the airbag is determined as the second body part area.
[0074] Please refer to Figure 8 Some embodiments provide a method for adjusting a body part, which is applied when a user uses a mattress containing multiple airbags, and includes steps S40 to S60, which are described in detail below.
[0075] Step S40: receiving an operation instruction for inflating or deflation corresponding to a target body part area; the target body part area is surrounded by two spaced partition lines.
[0076] In some embodiments, when the user lies flat on the mattress, there may be a need to inflate or deflate the target body part area for support, and therefore, an operation instruction to inflate or deflate the target body part area for support or relaxation may be received.
[0077] In some embodiments, there are multiple different body parts in the user's body, and the body part where the user wants to support or relax is the target body part. The target body part is surrounded by two spaced partition lines, for example, when the corresponding target body part is the shoulder, the shoulder is surrounded by the neck circumference partition line and the shoulder width partition line.
[0078] Step S50: determining the airbags among the multiple airbags that overlap with the target body part area, and determining the target airbag corresponding to the target body part area according to the overlapping area between the airbags that overlap with the target body part area and the target body part area.
[0079] Please refer to Fig. 9 In some embodiments, there are a first body part region and a second body part region, and it is assumed that the first body part region and the second body part region are rectangular. Different body part regions are surrounded by two spaced partition lines, and the first body part region and the second body part region are adjacent and contain a common target partition line. Assuming that the target body part region in this embodiment is the first body part region, the airbag A containing the partition line corresponding to the target body part region or the airbag B whose corresponding airbag region is inside the target body part region is taken as the airbag that overlaps with the target body part region. The partition line corresponding to the target body part region may be the target partition line commonly contained by the first body part region and the second body part region, or may be another partition line in the target body part region except the target partition line.
[0080] Please refer to Fig.10 In some embodiments, step S50 determines the target airbag corresponding to the target body part area based on the overlapping area between the airbag that overlaps with the target body part area and the target body part area, including steps S51 to S55, which are described in detail below.
[0081] Step S51: Determine whether the airbag area corresponding to the airbag is inside the target body part area.
[0082] Step S52: If yes, the airbag is determined as the target airbag corresponding to the target body part area.
[0083] Step S53: If not, determine whether the ratio of the overlap area between the airbag and the target body part region to the area of the target body part region exceeds a preset first reference threshold. If it exceeds the preset first reference threshold, return to step S52.
[0084] Step S54: If it does not exceed the preset first reference threshold, determine whether the ratio of the overlap area between the airbag and the target body part area to the area of the airbag exceeds the preset second reference threshold. If it exceeds the preset second reference threshold, return to step S52.
[0085] Step S55: If the preset second reference threshold is not exceeded, the airbag is determined as a target airbag corresponding to a body part area that has an overlapping area with the airbag and is adjacent to the target body part area.
[0086] Step S60: Control the target airbag to inflate to inflate and support the target body part area, or control the target airbag to deflate to deflate and relax the target body part area.
[0087] Those skilled in the art will appreciate that all or part of the functions of the various methods in the above-mentioned embodiments can be implemented by hardware or by computer programs. When all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can be stored in a computer-readable storage medium, and the storage medium can include: read-only memory, random access memory, disk, optical disk, hard disk, etc., and the program is executed by a computer to implement the above-mentioned functions. For example, the program is stored in the memory of the device, and when the program in the memory is executed by the processor, all or part of the above-mentioned functions can be implemented. In addition, when all or part of the functions in the above-mentioned embodiments are implemented by computer programs, the program can also be stored in a storage medium such as a server, another computer, disk, optical disk, flash disk or mobile hard disk, and can be downloaded or copied and saved in the memory of the local device, or the system of the local device is updated, and when the program in the memory is executed by the processor, all or part of the functions in the above-mentioned embodiments can be implemented.
[0088] The above specific examples are used to illustrate the present invention, which are only used to help understand the present invention and are not used to limit the present invention. For those skilled in the art to which the present invention belongs, some simple deductions, modifications or substitutions can be made according to the idea of the present invention.
Claims
1. A method for mapping airbags and body parts, applied in a scenario where a user uses a mattress; wherein: The mattress comprises a plurality of air bags, and the plurality of air bags are used to inflate and support or deflate and relax the user's body parts; the mattress is characterized by comprising: Determine a plurality of different body part regions according to a preset lying posture of the user; wherein each of the body part regions is located between two spaced partition lines, and the plurality of different body part regions include a first body part region and a second body part region that are adjacent to each other, and the first body part region and the second body part region have a common target partition line between them; Determine whether there is a falling relationship between the target partition line and the plurality of airbags, and if so, calculate the area of the first body part region and a first area where the airbags overlap with the first body part region; The body part region corresponding to the airbag is determined based on the area of the first body part region and the first area.
2. The method according to claim 1, characterized in that If there is no falling-in relationship, the body part region where the airbag is located is used as the body part region corresponding to the airbag.
3. The method according to claim 1, characterized in that The determining the body part region corresponding to the airbag based on the area of the first body part region and the first area comprises: If the ratio of the first area to the area of the first body part region exceeds a preset first reference threshold, the body part region corresponding to the airbag is determined as the first body part region; Otherwise, determining whether the ratio of the first area to the area of the airbag exceeds a preset second reference threshold, and if so, determining the body part region corresponding to the airbag as the first body part region; If not, the body part region corresponding to the airbag is determined as the second body part region.
4. The method according to claim 1, characterized in that The calculating and obtaining a first area where the airbag overlaps with the first body part region includes: Respectively mapping the airbag region corresponding to the airbag and the first body part region on a pre-constructed reference coordinate system; Obtain two coincident lines corresponding to the overlapped portion of the first body part region and the airbag region on the reference coordinate system, and respectively obtain the ordinates corresponding to the two coincident lines; The difference between the ordinates corresponding to the two coincident lines is calculated, and a first area where the airbag overlaps with the first body part region is calculated based on the difference and the airbag width of the airbag.
5. The method according to claim 1, characterized in that The calculating the area of the first body part region comprises: The area of the first body part region is calculated according to a preset area measurement method, a body mirror scanning method or a reference area comparison method based on a database; wherein the database contains reference areas corresponding to different body part regions.
6. The method according to claim 1, characterized in that Posture recognition is performed on the posture of the user in the scene of using the mattress to obtain the user's posture type; wherein the user's posture type includes a side-lying type, a prone-lying type, and a flat-lying type.
7. A method for adjusting a body part, applied when a user uses a mattress containing a plurality of air cells, characterized in that: include: Receiving an operation instruction for inflating or deflation corresponding to a target body part area; the target body part area is surrounded by two spaced partition lines; Determine an airbag among the multiple airbags that overlaps with the target body part area, and determine a target airbag corresponding to the target body part area according to an overlap area between the airbag that overlaps with the target body part area and the target body part area; The target airbag is controlled to be inflated to provide inflation support to the target body part area, or the target airbag is controlled to be deflated to deflate and relax the target body part area.
8. The method according to claim 7, characterized in that The step of determining an airbag among the plurality of airbags that overlaps with the target body part region comprises: The airbags among the multiple airbags that contain the partition line corresponding to the target body part area or the airbags whose corresponding airbag areas are inside the target body part area are regarded as the airbags that overlap with the target body part area.
9. The method according to claim 7 or claim 8, characterized in that: The step of determining a target airbag corresponding to the target body part region according to an overlap area between the airbags that overlap the target body part region and the target body part region comprises: Determining whether an airbag area corresponding to the airbag is inside the target body part area; If yes, the airbag is determined as the target airbag corresponding to the target body part area; If not, determining whether the ratio of the overlap area between the airbag and the target body part region to the area of the target body part region exceeds a preset first reference threshold; If it exceeds a preset first reference threshold, the airbag is determined as a target airbag corresponding to the target body part area; If it does not exceed the preset first reference threshold, determining whether the ratio of the overlap area between the airbag and the target body part region to the area of the airbag exceeds a preset second reference threshold; If it exceeds a preset second reference threshold, the airbag is determined as a target airbag corresponding to the target body part area; If the preset second reference threshold is not exceeded, the airbag is determined as a target airbag corresponding to a body part area that has an overlapping area with the airbag and is adjacent to the target body part area.
10. A computer-readable storage medium, characterized in that: The medium stores a program, which can be executed by a processor to implement the method according to any one of claims 1 to 9.
