Sofa adjusting method and device, equipment and storage medium

By detecting the user's posture and the distance between the sofa and the obstacle, and adjusting the adjustment range to avoid collision, it solves the problem that the user may touch the obstacle when the existing sofa is electrically adjusted, and improves the user experience and safety.

CN118749790AActive Publication Date: 2024-10-11DONGGUAN AIMU BEDROOM SUPPLIES
View PDF 13 Cites 0 Cited by

Patent Information

Application Number
CN202411020781.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-10-11
Estimated Expiration
2044-07-29

AI Technical Summary

Technical Problem

The existing sofa ignores the user's body information when electrically adjusting it, causing the user to touch obstacles, reducing the user experience and posing safety risks.

Method used

By detecting the user's posture and the distance between the adjustable part of the sofa and the obstacle, the adjustment range is adjusted to ensure that the minimum distance between the body part and the obstacle is greater than or equal to the preset distance to avoid collision or extrusion.

Benefits of technology

It improves the user experience and safety and ensures safety and comfort during sofa adjustment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118749790A_ABST
    Figure CN118749790A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a sofa adjusting method and device, equipment and a storage medium, and the method comprises the following steps: under the condition that an adjusting instruction for a sofa is detected, obtaining a posture of a user using the sofa and a preset adjusting parameter corresponding to the instruction; according to the posture, the adjusting amplitude of the target adjustable part and the current distance between the target adjustable part and the corresponding obstacle, the adjusting amplitude of the target adjustable part is adjusted, and the adjusted adjusting amplitude is obtained. The adjustment amplitude can be adjusted according to the current distance between the target adjustable part and the corresponding obstacle, and it is ensured that the minimum distance between the body part and the obstacle is larger than or equal to the preset distance in the adjustment process, so that collision or extrusion caused by too large adjustment amplitude is avoided, and the safety of a user is protected. The posture of the user is detected, and adjustment is performed based on the posture, so that the current sitting posture requirement of the user can be more accurately met, and the comfort and individuation of the use experience are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to sofa adjustment technology, and relate to but are not limited to a sofa adjustment method and device, equipment, and storage medium. Background Art

[0002] Existing sofas are often electrically adjusted according to the preset adjustment angle, adjustment speed and adjustment range, but often ignore the user's body information, which can easily lead to the user's body parts exceeding the length of the sofa when using the electric adjustment function of the sofa, and easily touch the obstacles around the sofa, which reduces the user's sofa experience and easily brings safety problems to the user. For example, when the user's head exceeds the height of the sofa, when the electric sofa is adjusted, will it hit the wall behind the sofa, or the user's footsteps exceed the extended length of the sofa, and will it hit the coffee table in front of the sofa, etc.

[0003] Therefore, how to electrically adjust the sofa to ensure the user experience and safety is an urgent problem to be solved. Summary of the invention

[0004] In view of this, the embodiments of the present application provide a sofa adjustment method, device, equipment, and storage medium, which can adjust the adjustment range according to the current distance between the target adjustable part and the corresponding obstacle, ensuring that the minimum distance between the body part and the obstacle during the adjustment process is greater than or equal to the preset distance, thereby avoiding collision or squeezing caused by excessive adjustment range and protecting the safety of the user. The sofa adjustment method, device, equipment, and storage medium provided in the embodiments of the present application are implemented as follows:

[0005] The embodiment of the present application provides a sofa adjustment method, comprising:

[0006] When an adjustment instruction for the sofa is detected, the user's posture of using the sofa and preset adjustment parameters corresponding to the instruction are obtained, wherein the preset adjustment parameters include adjustment ranges of various adjustable parts of the sofa;

[0007] According to the posture, the adjustment amplitude of the target adjustable part, and the current distance between the target adjustable part and the corresponding obstacle, the adjustment amplitude of the target adjustable part is adjusted to obtain an adjusted adjustment amplitude, the target adjustable part is at least one adjustable part among the adjustable parts, and in the process of adjusting the sofa by the target adjustable part according to the adjusted adjustment amplitude, the minimum distance between the body part corresponding to the target adjustable part and the obstacle is greater than or equal to a preset distance.

[0008] In some embodiments, adjusting the adjustment amplitude of the target adjustable part according to the posture, the adjustment amplitude of the target adjustable part, and the current distance between the target adjustable part and the corresponding obstacle to obtain the adjusted adjustment amplitude includes:

[0009] Determining the degree of deviation between the posture and a preset standard posture, wherein the degree of deviation includes the degree of deviation between each body part of the user in the posture and the corresponding body part in the standard posture;

[0010] Determine the target adjustable part according to the degree of deviation and whether there is an obstacle within a preset range corresponding to each adjustable part;

[0011] Determining a current distance between the body part corresponding to the target adjustable part and the obstacle according to the current distance between the target adjustable part and the corresponding obstacle and the degree of deviation of the body part corresponding to the target adjustable part;

[0012] According to the current distance between the body part corresponding to the target adjustable part and the obstacle, the adjustment amplitude of the target adjustable part and the preset distance, the adjustment amplitude of the target adjustable part is adjusted to obtain an adjusted adjustment amplitude.

[0013] In some embodiments, the sofa includes a measurement module, the measurement module is used to obtain the current position of each body part of the user, the sofa determines the user's posture according to the current position of each body part, and the current distance between the body part corresponding to the target adjustable part and the obstacle is determined according to the current distance between the target adjustable part and the corresponding obstacle and the degree of deviation of the body part corresponding to the target adjustable part, including:

[0014] Determining the relative position of each body part relative to the adjustable part corresponding to each body part according to the current position of each body part of the user and the current position of the adjustable part corresponding to each body part, and obtaining the current distance between the adjustable part corresponding to each body part and the obstacle according to the current position of the adjustable part corresponding to each body part;

[0015] The current distance between the body part corresponding to the target adjustable part and the obstacle is obtained based on the relative positions of the various body parts relative to the adjustable parts corresponding to the various body parts and the current distance between the adjustable parts corresponding to the various body parts and the obstacle.

[0016] In some embodiments, according to the current distance between the body part corresponding to the target adjustable part and the obstacle, the adjustment amplitude of the target adjustable part and the preset distance, the adjustment amplitude of the target adjustable part is adjusted to obtain the adjusted adjustment amplitude, including:

[0017] The adjustable distance of the target adjustable part is calculated according to the current distance between the body part corresponding to the target adjustable part and the obstacle and the preset distance. When the current distance is less than the preset distance, the adjustable distance is less than zero; when the current distance is greater than the preset distance, the adjustable distance is greater than zero; when the current distance is equal to the preset distance, the adjustable distance is equal to zero;

[0018] Calculating according to the adjustable distance to obtain an adjustable amplitude of the target adjustable part, wherein the adjustable amplitude is positively correlated with the adjustable distance;

[0019] The adjustment amplitude of the target adjustable part is adjusted according to the adjustable amplitude to obtain an adjusted adjustment amplitude.

[0020] In some embodiments, the calculating according to the adjustable distance to obtain the adjustable amplitude of the target adjustable part includes:

[0021] When the adjustable range is less than or equal to zero, a voice prompt is sent, wherein the voice prompt is used to indicate to the user that the posture cannot be adjusted and that the user adjusts the posture to a posture adjustment parameter of a preset standard posture;

[0022] re-determining the current distance between the body part corresponding to the target adjustable part and the obstacle and the adjustable range of the target adjustable part;

[0023] When the adjustable amplitude of the target adjustable part is greater than zero, the adjustment amplitude of the target adjustable part is readjusted according to the current distance between the body part corresponding to the target adjustable part and the obstacle, the adjustment amplitude of the target adjustable part and the preset distance to obtain the adjusted adjustment amplitude.

[0024] In some embodiments, the sofa includes a user information module, the user information module is used to store the user's body information, and the determining the relative position of each body part relative to the adjustable part corresponding to each body part according to the current position of each body part of the user and the current position of the adjustable part corresponding to each body part includes:

[0025] Acquire the user's body information in the user information module, wherein the user information includes at least one of the user's height, weight, and gender;

[0026] Determining the body size of each body part of the user according to the user's body information;

[0027] The relative position of each body part with respect to the adjustable part corresponding to each body part is determined based on the current position of each body part of the user, the current position of the adjustable part corresponding to each body part, the body size of each body part and the part size of the adjustable part corresponding to each body part.

[0028] In some embodiments, the user information module is further used to store user identity information, the sofa is a sofa with zero gravity state, and when an adjustment instruction for the sofa is detected, obtaining preset adjustment parameters corresponding to the instruction includes:

[0029] In the case where an adjustment instruction for the sofa is detected, determining whether the adjustment instruction is an adjustment instruction for adjusting to the zero gravity state;

[0030] In a case where the adjustment instruction is an adjustment instruction for adjusting to the zero gravity state, a preset adjustment parameter of the zero gravity state corresponding to the user identity information is acquired.

[0031] An adjustment device for a sofa provided in an embodiment of the present application includes:

[0032] An acquisition module, for acquiring the user's posture of using the sofa and preset adjustment parameters corresponding to the instruction when an adjustment instruction for the sofa is detected, wherein the preset adjustment parameters include adjustment ranges of various adjustable parts of the sofa;

[0033] The adjustment module is used to adjust the adjustment amplitude of the target adjustable part according to the posture, the adjustment amplitude of the target adjustable part and the current distance between the target adjustable part and the corresponding obstacle to obtain the adjusted adjustment amplitude, wherein the target adjustable part is at least one adjustable part among the adjustable parts, and during the process of adjusting the sofa by the target adjustable part according to the adjusted adjustment amplitude, the minimum distance between the body part corresponding to the target adjustable part and the obstacle is greater than or equal to the preset distance.

[0034] The computer device provided in the embodiment of the present application includes a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the program, the method described in the embodiment of the present application is implemented.

[0035] The computer-readable storage medium provided in the embodiment of the present application stores a computer program thereon, and when the computer program is executed by a processor, the method provided in the embodiment of the present application is implemented.

[0036] The sofa adjustment method, device, computer equipment and computer-readable storage medium provided in the embodiment of the present application obtain the user's posture of using the sofa and the preset adjustment parameters corresponding to the instruction, and adjust the adjustment amplitude of the target adjustable part according to the posture, the adjustment amplitude of the target adjustable part and the current distance between the target adjustable part and the corresponding obstacle to obtain the adjusted adjustment amplitude. In this way, collision or squeezing caused by excessive adjustment amplitude is avoided, the safety of the user is protected, and the technical problems raised in the background technology are solved. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present application and are used together with the specification to illustrate the technical solution of the present application.

[0038] Figure 1 This is an application scenario diagram of a sofa adjustment method disclosed in an embodiment of the present application;

[0039] Figure 2 It is a schematic diagram of the implementation process of a sofa adjustment method disclosed in an embodiment of the present application;

[0040] Figure 3 It is a schematic diagram of the implementation flow of another sofa adjustment method disclosed in an embodiment of the present application;

[0041] Figure 4 It is a schematic diagram of the implementation flow of another sofa adjustment method disclosed in an embodiment of the present application;

[0042] Figure 5 It is a schematic diagram of the implementation flow of another sofa adjustment method disclosed in an embodiment of the present application;

[0043] Fig. 6A It is a schematic diagram of an adjustment method of a sofa disclosed in an embodiment of the present application;

[0044] Figure 6B It is an adjustment schematic diagram of another adjustment method of a sofa disclosed in an embodiment of the present application;

[0045] Figure 7 It is a structural schematic diagram of a sofa adjustment method disclosed in an embodiment of the present application;

[0046] Figure 8 A schematic diagram of the structure of an electronic device disclosed in an embodiment of the present application. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the specific technical solution of the present application will be further described in detail below in conjunction with the drawings in the embodiments of the present application. The following embodiments are used to illustrate the present application, but are not used to limit the scope of the present application.

[0048] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0049] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0050] It should be pointed out that the terms "first\second\third" involved in the embodiments of the present application are used to distinguish similar or different objects, and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.

[0051] In view of this, an embodiment of the present application provides a sofa adjustment method, which is applied to an electric sofa. Figure 1 FIG. 1 is an application scenario diagram of a sofa adjustment method in an embodiment. Figure 1 As shown, the user can use the electric sofa 10. The function implemented by the method can be implemented by the processor in the electric sofa 10 calling the program code, and of course the program code can be stored in a computer storage medium. It can be seen that the electric sofa 10 at least includes a processor and a storage medium.

[0052] Figure 2 The following is a schematic diagram of a sofa adjustment method according to an embodiment of the present application. Figure 2 As shown, the method may include the following steps 201 to 202:

[0053] Step 201: when an adjustment instruction for the sofa is detected, the user's posture of using the sofa and preset adjustment parameters corresponding to the instruction are obtained.

[0054] In an embodiment of the present application, devices such as pressure sensors, tilt sensors or cameras are used to monitor the user's sitting or lying posture in real time, and determine their body angle and position. The distance sensors or radars around the sofa are used to measure the distance between each part of the sofa and surrounding obstacles (such as walls, furniture). The user inputs adjustment instructions through a remote control, a mobile phone application or a control panel on the sofa, and the system receives and parses these instructions. According to the user's adjustment instructions and current posture, the system determines the adjustable part that needs to be adjusted. For example, if the user wants to adjust the backrest angle, the target adjustable part is the backrest part. From the database or settings stored in the system, read the preset adjustment parameters corresponding to the instruction, such as the adjustment range of the backrest angle and the safety distance requirements.

[0055] Step 202: adjusting the adjustment amplitude of the target adjustable part according to the posture, the adjustment amplitude of the target adjustable part, and the current distance between the target adjustable part and the corresponding obstacle to obtain an adjusted adjustment amplitude.

[0056] In an embodiment of the present application, based on the posture data obtained in real time, the system analyzes the current user's posture and body position to determine the sofa parts (such as backrests, footrests, etc.) that need to be adjusted. Based on the preset adjustment parameters and environmental detection results, the adjustment range that is safe and meets the user's comfort is calculated. For each part that needs to be adjusted, the system calculates the minimum distance between the part and the obstacle after adjustment. If the adjustment range exceeds the safe distance, the system automatically adjusts the range to the maximum value within the maximum safety range. When performing the adjustment, ensure that real-time distance information is monitored and fed back during the adjustment process to avoid collision or approach with obstacles. After the adjustment is completed, the system provides feedback to the user to confirm that the adjustment has achieved the expected effect and ensures safety. At the same time, the system records detailed data for each adjustment, including user posture, executed adjustment range, environmental detection results, etc.

[0057] Specific operation examples are: 1. The user inputs the adjustment command and selects the backrest adjustment through the remote control or mobile application. 2. The built-in sensor of the sofa detects the user's semi-reclining posture and reads the preset parameters of the backrest adjustment (for example, the backrest can be adjusted from 0 degrees to 45 degrees). 3. The system detects that the distance between the backrest and the wall behind is 50 cm, and the preset minimum safety distance is 10 cm. 4. Assuming the preset adjustment range is 30 degrees, the system will evaluate whether the backrest position is at least 10 cm away from the wall after the 30-degree adjustment. If the 30-degree adjustment will result in insufficient distance, the system automatically adjusts the adjustment range to a safe range, such as 20 degrees. 5. Finally, the control system adjusts the backrest according to the adjustment range of 20 degrees to ensure user comfort and safety.

[0058] By obtaining the user's posture and preset adjustment parameters when using the sofa, the embodiment of the present application can accurately adjust the sofa according to the user's specific needs and instructions, so that the user can have a more comfortable sitting or lying experience. During the adjustment process, the current distance between the target adjustable part and the corresponding obstacle is taken into account, and the adjustment amplitude is adjusted to ensure that the minimum distance between the body part and the obstacle is not less than the preset distance, avoiding safety hazards such as collision or pinching caused by improper adjustment.

[0059] In the above Figure 2 In the case shown, the embodiment of the present application also provides a schematic diagram of the implementation flow of a sofa adjustment method. Figure 3 As shown, the method may include the following steps 301 to 305:

[0060] Step 301: when an adjustment instruction for the sofa is detected, the user's posture of using the sofa and preset adjustment parameters corresponding to the instruction are obtained.

[0061] The implementation steps of step 301 are consistent with the implementation steps of the above-mentioned step 201, and will not be repeated here in this application.

[0062] Step 302, determining the degree of deviation between the posture and a preset standard posture, wherein the degree of deviation includes the degree of deviation between each body part of the user in the posture and the corresponding body part in the standard posture.

[0063] In an embodiment of the present application, it is first necessary to detect the user's posture, using a sensor (such as a position sensor) or a camera, etc. The user's current posture on the sofa is detected in real time. The posture information may include data such as the angle and position of each part of the body. The system pre-stores a set of standard posture libraries, which are usually the most comfortable and safe sitting or lying postures based on ergonomic design. The system compares the user's current posture with the standard posture and calculates the degree of deviation of each body part (such as head, back, legs, etc.) relative to the standard posture. Specifically, it can be achieved through vector difference or other geometric methods.

[0064] Step 303 : determining the target adjustable part according to the degree of deviation and whether there is an obstacle within a preset range corresponding to each adjustable part.

[0065] In an embodiment of the present application, the degree of deviation is analyzed, and based on the above-calculated degree of deviation, the system determines which body parts need to be adjusted. For example, if it is detected that the back is tilted too far backward and differs too much from the standard back position, the degree of deviation of the back is large. Use sensors (such as ultrasonic sensors, infrared sensors, etc.) to detect whether there are obstacles around the sofa, and record the position of obstacles near each adjustable part. Taking into account the degree of deviation and the position of the obstacle, determine the target adjustable part that needs to be adjusted. For example, if the obstacle near the leg part is far away from the leg part, and the degree of deviation of the leg is small, the leg part will be determined as the target adjustable part.

[0066] Step 304: Determine the current distance between the body part corresponding to the target adjustable part and the obstacle according to the current distance between the target adjustable part and the corresponding obstacle and the degree of deviation of the body part corresponding to the target adjustable part.

[0067] In an embodiment of the present application, sensor data is used to calculate the current distance between the target adjustable part (such as backrest, footrest, etc.) and its corresponding obstacle. This can be achieved by measuring the distance between the sensor and the obstacle. At the same time, the degree of deviation of the body part (such as back, legs, etc.) in this part is also taken into account to accurately assess the adjustment needs. For example, if the degree of deviation of the back is too different from the standard back posture and there is an obstacle behind, the system will consider adjusting the back to a safe position to avoid collision.

[0068] Step 305 , adjusting the adjustment amplitude of the target adjustable part according to the current distance between the body part corresponding to the target adjustable part and the obstacle, the adjustment amplitude of the target adjustable part and the preset distance to obtain an adjusted adjustment amplitude.

[0069] In an embodiment of the present application, the current distance between the target adjustable part and the corresponding obstacle and the initial adjustment amplitude of the target adjustable part are obtained. To ensure safety, the preset minimum distance between the body part and the obstacle is adjusted. The adjustment amplitude of the target adjustable part is adjusted through an algorithm (for example, linear regression, fuzzy logic algorithm, etc.) to ensure that it will not collide with the obstacle during the adjustment process while meeting the user's comfort needs. A control command is issued to accurately adjust the target adjustable part to a new position. For example, if the leg needs to rise but there is an obstacle in front, the system will adjust the rise amplitude so that the leg finally maintains a safe distance from the obstacle.

[0070] By determining the degree of deviation between the user's current posture and the preset standard posture, the embodiment of the present application can make personalized adjustments based on the user's specific situation to ensure that the user's posture on the sofa does not collide with obstacles as much as possible. During the adjustment process, the distance between the sofa and surrounding obstacles is taken into account, and the adjustment range is adjusted according to the actual situation to ensure the safety of the user. By comprehensively considering factors such as the degree of posture deviation, the location of the obstacle, and the current distance, the adjustment range is accurately adjusted to avoid excessive or insufficient adjustment, so that the adjustment result is more in line with the actual needs of the user.

[0071] In the above Figure 3 In the case shown, the embodiment of the present application also provides a schematic diagram of the implementation flow of a sofa adjustment method. Figure 4 As shown, the method may include the following steps 401 to 406:

[0072] Step 401: when an adjustment instruction for the sofa is detected, the user's posture of using the sofa and preset adjustment parameters corresponding to the instruction are obtained.

[0073] The implementation steps of step 401 are consistent with the implementation steps of the above-mentioned step 301, and will not be repeated here in this application.

[0074] Step 402, determining the degree of deviation between the posture and a preset standard posture, wherein the degree of deviation includes the degree of deviation between each body part of the user in the posture and the corresponding body part in the standard posture.

[0075] The implementation steps of step 402 are consistent with the implementation steps of the above-mentioned step 302, and will not be repeated here in this application.

[0076] Step 403 : determining the target adjustable part according to the degree of deviation and whether there is an obstacle within a preset range corresponding to each adjustable part.

[0077] The implementation steps of step 403 are consistent with the implementation steps of the above-mentioned step 303, and will not be repeated here in this application.

[0078] Step 404: determining the relative position of each body part with respect to the adjustable part corresponding to each body part based on the current position of each body part of the user and the current position of the adjustable part corresponding to each body part, and obtaining the current distance between the adjustable part corresponding to each body part and the obstacle based on the current position of the adjustable part corresponding to each body part.

[0079] In the embodiment of the present application, the pressure sensors are arranged in the sofa seat cushion, backrest and armrest to detect the contact points and pressure distribution of the user's body. Infrared sensors / cameras are installed on the front, side and top of the sofa to capture the overall posture of the user and the position of each part. Ultrasonic sensors are arranged on the edges of the adjustable parts of the sofa to measure the distance between these parts and surrounding obstacles. The microprocessor is used to receive sensor data and perform preliminary processing to ensure real-time performance. The algorithm unit includes an image processing algorithm, a coordinate transformation algorithm and a distance calculation algorithm for processing complex data calculation and analysis. The communication module is responsible for transmitting data between the measurement module and the control module, including wired and wireless communication methods, to ensure the stability and timeliness of data transmission. The sensor data acquisition frequency is set to multiple times per second to ensure real-time performance. The pressure sensor data is supplemented by an interpolation algorithm to ensure high-precision positioning. The image processing algorithm is used to identify bones in the image captured by the camera to determine the position of each part. The built-in encoder provides real-time feedback of the angle and displacement information of each adjustable part. The angle sensor provides the inclination angle data of each part, which is corrected in combination with the encoder data. The control module inputs the current position data of each part of the user's body and the adjustable part into the coordinate transformation algorithm to calculate the relative position. The precise coordinates in three-dimensional space are considered to ensure the accuracy of the relative position calculation. The ultrasonic sensor measures the real-time distance to the obstacle at a fixed frequency (such as 20 times per second). The measurement data is processed using a filtering algorithm to eliminate noise and errors.

[0080] Furthermore, the sofa includes a user information module, which is used to store user body information. Determining the relative position of each body part relative to the adjustable part corresponding to each body part based on the current position of each body part of the user and the current position of the adjustable part corresponding to each body part includes: obtaining the user body information in the user information module, and the user information includes at least one of the user's height, weight and gender.

[0081] Specifically, when using it for the first time, the system will guide the user to enter the body information. Body information can be obtained through manual input (such as entering height, weight, gender, etc. on the screen) or synchronous acquisition of smart devices (such as smart bracelets, mobile health applications, etc.). The system saves this information in local storage or cloud database to ensure that the user does not need to re-enter it in the future. The depth camera, infrared sensor or pressure sensor on the sofa is activated to start capturing the user's sitting posture data. The position data of each part of the user's body relative to the sofa is collected in real time. These data include but are not limited to the position of the head, shoulders, waist, knees and feet.

[0082] Furthermore, the identity of the user using the sofa is identified.

[0083] Specifically, an identity recognition device (such as a biometric sensor, a face recognition camera, etc.) is installed on the sofa, and the device is automatically activated when the user starts to use the sofa. When the user sits on the sofa, the identity recognition device starts to work and detects the user's identity by scanning fingerprints, faces or other biometric features. The sofa system includes a user information module that pre-stores the identity information and body information of registered users. The system compares the detected user identity information with the pre-stored user information to confirm whether it is a registered user.

[0084] In the case that the identity information of the user using the sofa is different from the identity information of the user pre-stored in the user information module, identity information entry prompt information is output, and the identity information entry prompt information includes entering the body information and identity information of the user.

[0085] Specifically, if the system detects that the current user's identity information does not match the pre-stored information, the system will output a prompt for identity information entry. The prompt information can be displayed through voice, display screen, or application on a mobile device, and the content includes requiring the user to enter their identity information (such as name, contact information, etc.) and body information (such as height, weight, preferred posture, etc.). The user enters the corresponding information according to the prompt. The entry can be completed through the touch screen, mobile phone app, etc. The system saves the newly entered identity information and body information to the user information module for identification and adjustment next time.

[0086] Furthermore, environmental information of the sofa is detected, where the environmental information includes positions of various objects in the environment where the sofa is located and the position of the sofa in the environment.

[0087] Specifically, a variety of sensors are installed on different parts of the sofa (such as the backrest, armrests, base, etc.). Infrared sensors are used to detect distance and temperature changes. Ultrasonic sensors are used to detect the distance and direction of objects. Cameras are used to capture images and positions of surrounding objects. Environmental data is collected in real time through a sensor network. The data includes the distance and relative position between the sofa and major objects such as the TV, coffee table, and lights. The sensor data is transmitted to the central processing unit through a wireless module.

[0088] A mapping relationship between the environment information of the sofa, the user identity information and the adjusted adjustment amplitude of the target adjustable part is saved, so that when the environment information of the sofa does not change, the adjusted adjustment amplitude is determined according to the mapping relationship, wherein the adjustment amplitude includes multiple adjustment levels, and the multiple adjustment levels include level one, level two and level three, the level one is smaller than the level two, the level two is smaller than the level three, and the larger the adjustment level, the larger the adjustment amplitude of the sofa.

[0089] Specifically, the environmental information (such as the location of the TV and coffee table), user identity information (such as user ID) and adjustment range (such as backrest angle, footrest height, etc.) are associated. The database system is used to store this information in the form of a mapping table. The database system uses encryption technology to protect user privacy. The saved data includes the spatial coordinates of environmental objects, user ID, adjustment parameters, etc. Every time the user starts using it, the system starts the environmental detection device. Check whether the current environment is consistent with the last saved environmental information (by comparing spatial coordinates and other data). If the environmental information is consistent, the system retrieves the corresponding adjustment parameters from the database. The electric control system drives the various adjustable parts of the sofa (such as the backrest and electric footrest) to automatically adjust according to the preset parameters.

[0090] By saving the mapping relationship between user identity information and adjustment range, the sofa can automatically adjust to a personalized comfortable state in different environments according to the identities and preferences of different users, providing a use experience that better meets the needs of users. When the environment information of the sofa does not change, the adjustment range after adjustment can be directly determined according to the saved mapping relationship, so that the sofa can always maintain the adjustment state of the user's preference in a stable environment without repeated adjustment.

[0091] The body size of each body part of the user is determined according to the user's body information.

[0092] Specifically, the system estimates the size of each part of the user's body through a built-in algorithm based on the stored height and weight data. For example, the ratio of height to leg length, arm length and waist circumference, etc. The user can choose to make fine adjustments to further refine the size of each body part. The system allows users to adjust by moving sliders or directly entering values. Each adjustable part of the sofa (such as the backrest, seat cushion, footrest, etc.) is equipped with a position sensor to provide real-time feedback on its current position status. Each time the sofa is started, the system will perform an initialization calibration to ensure that the initial position of each adjustment part is accurately recorded.

[0093] The relative position of each body part with respect to the adjustable part corresponding to each body part is determined based on the current position of each body part of the user, the current position of the adjustable part corresponding to each body part, the body size of each body part and the part size of the adjustable part corresponding to each body part.

[0094] Specifically, the position data of the user's body parts are integrated with the position data of each adjustable part of the sofa to calculate the relative position of each body part relative to the corresponding adjustable part. The position data is analyzed to determine whether the user's current sitting posture meets the preset standard (for example, whether it deviates from the ideal lumbar support position).

[0095] The embodiment of the present application can more accurately determine the size of each body part of the user by obtaining the user's specific body information (such as height, weight, gender, etc.). The sofa can be adjusted according to the physical characteristics of different users, which improves the comfort and accuracy of the user experience. By combining the current position of the user's body part with the current position of the corresponding adjustable part to determine the relative position, and adding the body size and the size of the adjustable part, the specific position of the user's body part relative to the sofa can be calculated more accurately. It helps to avoid obstacles during the adjustment process and ensure the safety and effectiveness of the adjustment. Using the user's body information and body size, collisions and discomfort during the adjustment process can be effectively avoided.

[0096] Furthermore, the user information module is also used to save user identity information, the sofa is a sofa with a zero gravity state, and when an adjustment instruction for the sofa is detected, the preset adjustment parameters corresponding to the instruction are obtained, including: when an adjustment instruction for the sofa is detected, determining whether the adjustment instruction is an adjustment instruction for adjusting to the zero gravity state.

[0097] Specifically, the control system built into the sofa continuously monitors the adjustment instructions sent by the user through the mobile phone application or remote control. These instructions may include specific instructions for adjusting to a zero gravity state, such as "zero gravity mode", "relaxation mode", etc. Once the adjustment instruction is detected, the system begins to parse the instruction to determine the specific adjustment operation expected by the user. The system verifies the legitimacy and validity of the instruction to ensure that no wrong operation is performed or unexpected situations occur. The user identification module built into the sofa begins to read the user's identity information. This can be achieved in a variety of ways, such as RFID identification, Bluetooth connection identification, facial recognition, etc. The system verifies the read identity information to ensure that the user's identity is legal and authorized to perform sofa adjustment operations.

[0098] In a case where the adjustment instruction is an adjustment instruction for adjusting to the zero gravity state, a preset adjustment parameter of the zero gravity state corresponding to the user identity information is acquired.

[0099] Specifically, once the user's identity verification is passed, the system reads relevant body information from the user profile, such as height, weight, gender, etc. Based on the user's body information, the system queries the preset adjustment parameters for the zero-gravity state corresponding to the user in the preset parameter database. These parameters are set when the user first uses the sofa or are personalized according to the user's preferences. The system loads the preset parameters for the corresponding user, including the back tilt angle, leg support position, head support height, waist support strength, etc.

[0100] The embodiment of the present application saves the user's identity information and body information to make precise adjustments according to the specific needs of different users. In particular, the preset adjustment parameters of the zero-gravity state can allow each user to obtain the most comfortable experience when using it, avoiding the tedious manual adjustment. By automatically adjusting the sofa to this state, the user's comfort and relaxation effect can be improved.

[0101] Step 405, obtaining the current distance between the body part corresponding to the target adjustable part and the obstacle based on the relative position of each body part relative to the adjustable part corresponding to each body part and the current distance between the adjustable part corresponding to each body part and the obstacle.

[0102] In the embodiment of the present application, the final distance is calculated based on the relative position of the user's body part relative to the adjustable part (accurate three-dimensional coordinates obtained by coordinate transformation) and the distance measurement data between the adjustable part and the obstacle. Specifically, the distance calculation formula is: assuming that the straight-line distance between the adjustable part and the obstacle is D, and the straight-line distance between the user's body part and the adjustable part is d, then the distance between the user's body part and the obstacle is Dd.

[0103] Step 406, adjusting the adjustment amplitude of the target adjustable part according to the current distance between the body part corresponding to the target adjustable part and the obstacle, the adjustment amplitude of the target adjustable part and the preset distance to obtain an adjusted adjustment amplitude.

[0104] The embodiment of the present application can accurately capture the user's posture information by measuring the position of each part of the user's body in real time. This is used to ensure the adaptability and comfort of the sofa to the user's body during the adjustment process. By measuring the distance between the adjustable part of the target and the surrounding obstacles, combined with the user's posture information, the system can timely detect and avoid collisions or close distances between sofa parts and obstacles such as walls to ensure the safety of the user. Based on real-time measurement and calculation, the system can automatically adjust various parts of the sofa to adapt to the user's posture changes and comfort needs.

[0105] In the above Figure 4 In the case shown, the embodiment of the present application also provides a schematic diagram of the implementation flow of a sofa adjustment method. Figure 5 As shown, the method may include the following steps 501 to 508:

[0106] Step 501: when an adjustment instruction for the sofa is detected, the user's posture of using the sofa and preset adjustment parameters corresponding to the instruction are obtained.

[0107] The implementation steps of step 501 are consistent with the implementation steps of the above-mentioned step 401, and will not be repeated here in this application.

[0108] Step 502, determining the degree of deviation between the posture and a preset standard posture, wherein the degree of deviation includes the degree of deviation between each body part of the user in the posture and the corresponding body part in the standard posture.

[0109] The implementation steps of step 502 are consistent with the implementation steps of the above-mentioned step 402, and will not be repeated here in this application.

[0110] Step 503: Determine the target adjustable part according to the degree of deviation and whether there is an obstacle within a preset range corresponding to each adjustable part.

[0111] The implementation steps of step 503 are consistent with the implementation steps of the above-mentioned step 403, and will not be repeated here in this application.

[0112] Step 504: determining the relative position of each body part with respect to the adjustable part corresponding to each body part based on the current position of each body part of the user and the current position of the adjustable part corresponding to each body part, and obtaining the current distance between the adjustable part corresponding to each body part and the obstacle based on the current position of the adjustable part corresponding to each body part.

[0113] The implementation steps of step 504 are consistent with the implementation steps of the above-mentioned step 404, and will not be repeated here in this application.

[0114] Step 505, obtaining the current distance between the body part corresponding to the target adjustable part and the obstacle based on the relative position of each body part relative to the adjustable part corresponding to each body part and the current distance between the adjustable part corresponding to each body part and the obstacle.

[0115] The implementation steps of step 505 are consistent with the implementation steps of the above-mentioned step 405, and will not be repeated here in this application.

[0116] Step 506 , obtaining the adjustable distance of the target adjustable part according to the current distance between the body part corresponding to the target adjustable part and the obstacle and the preset distance calculation.

[0117] In an embodiment of the present application, high-precision distance measuring sensors are installed on the adjustable parts of the sofa (such as backrest, footrest) and the parts of the body that the user may touch (such as back, legs). The sensor measures the distance between the user's body parts and obstacles (such as walls, tables) in real time, and transmits the data to the central control unit. The system sets preset safety distances for different parts according to ergonomics and safety standards. For example, the preset distance between the backrest and the wall is 20 cm, and the preset distance between the footrest and the object in front is 30 cm. The central control unit receives the current distance data and compares it with the preset safety distance. When the current distance < the preset distance, the negative adjustable distance is calculated, that is, the distance that needs to be moved in the direction away from the obstacle. When the current distance > the preset distance, the positive adjustable distance is calculated, that is, the distance that can be moved in the direction close to the obstacle. When the current distance = the preset distance, the adjustable distance is zero and no movement is required. Fig. 6A and Figure 6B As shown, Fig. 6A and Figure 6B is an adjustment schematic diagram of a sofa adjustment method provided in an embodiment of the present application, Fig. 6A This is a diagram before adjustment of the embodiment provided in this application. Fig. 6A The distance between the head of the sofa and the foot of the sofa and the obstacle is greater than the preset distance, so when adjusting the sofa, it is moved in the direction of the obstacle. The diagram after adjustment is as follows Figure 6B As shown, in Figure 6B In the embodiment, the distance between the head and the wall is the preset distance, and the distance between the feet and the obstacle is also the preset distance. At this time, the sofa stops adjusting.

[0118] Step 507: Calculate according to the adjustable distance to obtain the adjustable range of the target adjustable part.

[0119] In an embodiment of the present application, the adjustment amplitude of the target part is calculated according to the proportional relationship between the adjustable distance and the preset distance. Assume that the adjustment amplitude is linearly related to the distance. Then the adjustment formula can be: adjustment amplitude = k*(adjustable distance / preset distance). Among them, k is the adjustment coefficient, which determines the sensitivity of the adjustment speed and amplitude. For example, suppose that the current measured distance between the sofa back and the wall is 15 cm, and the preset safety distance is 20 cm. That is, the current distance is 15 cm. The preset distance is 20 cm. Then the adjustable distance: 15 cm-20 cm = -5 cm. If the adjustment coefficient k is 1: adjustment amplitude = 1*(-5 / 20) = -0.25. This means that the sofa back needs to move 0.25 cm away from the wall (the negative sign indicates away). If the k value is larger, the adjustment amplitude will be larger, otherwise it will be smaller.

[0120] Furthermore, the calculation is performed based on the adjustable distance to obtain the adjustable amplitude of the target adjustable part, including: when the adjustable amplitude is less than or equal to zero, sending a voice prompt, wherein the voice prompt is used to instruct the user that the posture cannot be adjusted and the user adjusts the posture to a posture adjustment parameter of a preset standard posture.

[0121] Specifically, the adjustable range of the target adjustable part is determined according to the calculated adjustable distance. If the calculated adjustable range is less than or equal to zero, a voice prompt is sent to prompt the user that the current posture cannot be adjusted, and the user is advised to adjust the posture to a preset standard posture and adjust it according to the posture adjustment parameters provided by the voice prompt.

[0122] The current distance between the body part corresponding to the target adjustable part and the obstacle and the adjustable amplitude of the target adjustable part are re-determined.

[0123] Specifically, after the user adjusts the posture, the current distance between the body part corresponding to the target adjustable part and the obstacle is remeasured, and the adjustable range is recalculated.

[0124] When the adjustable amplitude of the target adjustable part is greater than zero, the adjustment amplitude of the target adjustable part is readjusted according to the current distance between the body part corresponding to the target adjustable part and the obstacle, the adjustment amplitude of the target adjustable part and the preset distance to obtain the adjusted adjustment amplitude.

[0125] Specifically, after re-measurement and calculation, if the adjustable amplitude of the target adjustable part is greater than zero, the adjustment amplitude of the target adjustable part is re-adjusted according to the current distance between the body part corresponding to the target adjustable part and the obstacle, the adjustment amplitude of the target adjustable part and the preset distance to obtain the final adjusted adjustment amplitude. According to the final adjusted adjustment amplitude, the target adjustable part of the sofa is actually physically adjusted. During the whole process, the adjustment status and suggestions are fed back to the user in real time through the voice prompt system to ensure that the user understands and cooperates with the adjustment process.

[0126] The embodiment of the present application detects the relationship between the current distance and the preset distance to ensure that when the user's posture is not suitable for adjustment, a reminder is issued in time to avoid possible dangerous situations such as collision or squeezing. When the adjustment range is not suitable, the system not only stops the inappropriate adjustment, but also prompts the user through voice how to adjust the posture in order to complete the required adjustment. This makes the user experience more friendly and intelligent. Through the voice prompt function, the user can clearly understand the reason why the current posture is not suitable for adjustment, and make corresponding posture adjustments according to the prompts, thereby reducing the inconvenience or potential harm caused by misoperation.

[0127] Step 508: adjusting the adjustment amplitude of the target adjustable part according to the adjustable amplitude to obtain an adjusted adjustment amplitude.

[0128] In the embodiment of the present application, the central control unit controls the motor of the corresponding part to perform the adjustment action according to the calculated adjustment amplitude. In order to ensure a smooth transition, the adjustment can be made in multiple small steps. After each step, the distance is measured again and corrected until the desired position is reached. The distance change during the adjustment process is monitored in real time. If an unexpected situation occurs (such as an obstacle suddenly appears), the system will stop and correct it immediately.

[0129] The embodiment of the present application can achieve precise control of the target adjustable part by calculating the difference between the actual current distance and the preset distance. When the current distance is less than the preset distance, the adjustable distance is less than zero, which means that the system can identify and avoid potential collision risks, thereby improving the safety of the overall system. Through the positive correlation adjustment amplitude calculation method, the system can adaptively adjust the adjustment amplitude according to different situations. This adaptive capability makes the system more intelligent and able to cope with complex and changing application scenarios.

[0130] It should be understood that, although the steps in the above-mentioned flowcharts are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the above-mentioned flowcharts may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these sub-steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0131] Based on the foregoing embodiments, an embodiment of the present application provides an adjustment device for a sofa, which includes the modules included and the units included in the modules, which can be implemented by a processor; of course, it can also be implemented by a specific logic circuit; in the implementation process, the processor can be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP) or a field programmable gate array (FPGA), etc.

[0132] Figure 7 A structural schematic diagram of a sofa adjustment device provided in an embodiment of the present application is shown in FIG. Figure 7 As shown, the device 700 includes an acquisition module 701 and an adjustment module 702, wherein:

[0133] The acquisition module 701 is used to acquire the user's posture of using the sofa and preset adjustment parameters corresponding to the instruction when an adjustment instruction for the sofa is detected, wherein the preset adjustment parameters include the adjustment range of each adjustable part of the sofa;

[0134] The adjustment module 702 is used to adjust the adjustment amplitude of the target adjustable part according to the posture, the adjustment amplitude of the target adjustable part, and the current distance between the target adjustable part and the corresponding obstacle to obtain an adjusted adjustment amplitude, wherein the target adjustable part is at least one adjustable part among the adjustable parts, and during the process of adjusting the sofa by the target adjustable part according to the adjusted adjustment amplitude, the minimum distance between the body part corresponding to the target adjustable part and the obstacle is greater than or equal to a preset distance.

[0135] In some embodiments, the acquisition module 701 is further used to determine the degree of deviation between the posture and a preset standard posture, wherein the degree of deviation includes the degree of deviation between each body part of the user in the posture and the corresponding body part in the standard posture;

[0136] The acquisition module 701 is further used to determine the target adjustable part according to the degree of deviation and whether there is an obstacle within the preset range corresponding to each adjustable part;

[0137] The acquisition module 701 is further used to determine the current distance between the body part corresponding to the target adjustable part and the obstacle according to the current distance between the target adjustable part and the corresponding obstacle and the degree of deviation of the body part corresponding to the target adjustable part;

[0138] The adjustment module 702 is further used to adjust the adjustment amplitude of the target adjustable part according to the current distance between the body part corresponding to the target adjustable part and the obstacle, the adjustment amplitude of the target adjustable part and the preset distance to obtain an adjusted adjustment amplitude.

[0139] In some embodiments, the acquisition module 701 is further used to determine the relative position of each body part relative to the adjustable part corresponding to each body part according to the current position of each body part of the user and the current position of the adjustable part corresponding to each body part, and to obtain the current distance between the adjustable part corresponding to each body part and the obstacle according to the current position of the adjustable part corresponding to each body part;

[0140] The acquisition module 701 is also used to obtain the current distance between the body part corresponding to the target adjustable part and the obstacle based on the relative position of each body part relative to the adjustable part corresponding to each body part and the current distance between the adjustable part corresponding to each body part and the obstacle.

[0141] In some embodiments, the acquisition module 701 is further used to calculate the adjustable distance of the target adjustable part according to the current distance between the body part corresponding to the target adjustable part and the obstacle and the preset distance, and when the current distance is less than the preset distance, the adjustable distance is less than zero; when the current distance is greater than the preset distance, the adjustable distance is greater than zero; when the current distance is equal to the preset distance, the adjustable distance is equal to zero;

[0142] The acquisition module 701 is further used to calculate according to the adjustable distance to obtain the adjustable amplitude of the target adjustable part, wherein the adjustable amplitude is positively correlated with the adjustable distance;

[0143] The adjustment module 702 is further configured to adjust the adjustment amplitude of the target adjustable part according to the adjustable amplitude to obtain an adjusted adjustment amplitude.

[0144] In some embodiments, the acquisition module 701 is further used to send a voice prompt when the adjustable amplitude is less than or equal to zero, and the voice prompt is used to indicate to the user that the posture cannot be adjusted and the posture adjustment parameter that the user adjusts the posture to a preset standard posture;

[0145] The acquisition module 701 is further used to re-determine the current distance between the body part corresponding to the target adjustable part and the obstacle and the adjustable range of the target adjustable part;

[0146] The adjustment module 702 is also used to readjust the adjustment amplitude of the target adjustable part according to the current distance between the body part corresponding to the target adjustable part and the obstacle, the adjustment amplitude of the target adjustable part and the preset distance to obtain an adjusted adjustment amplitude when the adjustable amplitude of the target adjustable part is greater than zero.

[0147] In some embodiments, the acquisition module 701 is further used to acquire the user's body information in the user information module, wherein the user information includes at least one of the user's height, weight, and gender;

[0148] The acquisition module 701 is further used to determine the body size of each body part of the user according to the body information of the user;

[0149] The acquisition module 701 is also used to determine the relative position of each body part with respect to the adjustable part corresponding to each body part based on the current position of each body part of the user, the current position of the adjustable part corresponding to each body part, the body size of each body part and the part size of the adjustable part corresponding to each body part.

[0150] In some embodiments, the acquisition module 701 is further used to determine whether the adjustment instruction for the sofa is an adjustment instruction for adjusting to the zero gravity state when the adjustment instruction for the sofa is detected;

[0151] The acquisition module 701 is further configured to acquire preset adjustment parameters of the zero gravity state corresponding to the user identity information when the adjustment instruction is an adjustment instruction for adjusting to the zero gravity state.

[0152] The description of the above device embodiment is similar to the description of the above method embodiment, and has similar beneficial effects as the method embodiment. For technical details not disclosed in the device embodiment of the present application, please refer to the description of the method embodiment of the present application for understanding.

[0153] It should be noted that in the embodiments of this application Figure 7 The division of modules in the adjustment device of a sofa shown is schematic, which is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. It can also be implemented in the form of a combination of software and hardware.

[0154] It should be noted that in the embodiment of the present application, if the above method is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the embodiment of the present application can be essentially or partly embodied in the form of a software product that contributes to the relevant technology. The computer software product is stored in a storage medium, including several instructions to enable an electronic device to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a U disk, a mobile hard disk, a read-only memory (ROM), a magnetic disk or an optical disk. In this way, the embodiment of the present application is not limited to any specific combination of hardware and software.

[0155] The embodiment of the present application provides a computer device, which may be a server, and its internal structure diagram may be as follows: Figure 8 As shown. The computer device includes a processor, a memory and a network interface connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the above method is implemented.

[0156] An embodiment of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps in the method provided in the above embodiment are implemented.

[0157] An embodiment of the present application provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the steps of the method provided in the above method embodiment.

[0158] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0159] In one embodiment, the sofa adjustment device provided by the present application can be implemented in the form of a computer program. The computer program can be used in Figure 8 The computer device shown in the figure is run. The memory of the computer device can store various program modules constituting the above-mentioned device. The computer program composed of various program modules enables the processor to execute the steps in the method of each embodiment of the present application described in this specification.

[0160] It should be noted here that the description of the above storage medium and device embodiments is similar to the description of the above method embodiments, and has similar beneficial effects as the method embodiments. For technical details not disclosed in the storage medium, storage medium and device embodiments of this application, please refer to the description of the method embodiments of this application for understanding.

[0161] It should be understood that "one embodiment" or "an embodiment" or "some embodiments" mentioned throughout the specification means that specific features, structures or characteristics related to the embodiment are included in at least one embodiment of the present application. Therefore, "in one embodiment" or "in one embodiment" or "in some embodiments" appearing throughout the specification may not necessarily refer to the same embodiment. In addition, these specific features, structures or characteristics can be combined in one or more embodiments in any suitable manner. It should be understood that in various embodiments of the present application, the size of the sequence number of the above-mentioned processes does not mean the order of execution, and 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 embodiment of the present application. The above-mentioned sequence numbers of the embodiments of the present application are only for description and do not represent the advantages and disadvantages of the embodiments. The above description of each embodiment tends to emphasize the differences between the various embodiments, and the same or similar aspects can be referenced to each other. For the sake of brevity, this article will not repeat them.

[0162] The term "and / or" in this article is only a description of the association relationship of associated objects, indicating that there may be three relationships. For example, object A and / or object B can represent three situations: object A exists alone, object A and object B exist at the same time, and object B exists alone.

[0163] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0164] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as: multiple modules or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or modules can be electrical, mechanical or other forms.

[0165] The modules described above as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules; they may be located in one place or distributed on multiple network units; some or all of the modules may be selected according to actual needs to achieve the purpose of the present embodiment.

[0166] In addition, all functional modules in the embodiments of the present application may be integrated into one processing unit, or each module may be a separate unit, or two or more modules may be integrated into one unit; the above-mentioned integrated modules may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0167] A person skilled in the art can understand that all or part of the steps of implementing the above method embodiment can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiment; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM), magnetic disks or optical disks, etc., various media that can store program codes.

[0168] Alternatively, if the above-mentioned integrated unit of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application can essentially or in other words, the part that contributes to the relevant technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling an electronic device to execute all or part of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROMs, magnetic disks, or optical disks.

[0169] The methods disclosed in several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.

[0170] The features disclosed in several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.

[0171] The features disclosed in several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments or device embodiments.

[0172] The above is only an implementation method of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for adjusting a sofa, characterized in that: The method comprises: When an adjustment instruction for the sofa is detected, the user's posture of using the sofa and preset adjustment parameters corresponding to the instruction are obtained, wherein the preset adjustment parameters include adjustment ranges of various adjustable parts of the sofa; According to the posture, the adjustment amplitude of the target adjustable part, and the current distance between the target adjustable part and the corresponding obstacle, the adjustment amplitude of the target adjustable part is adjusted to obtain an adjusted adjustment amplitude, the target adjustable part is at least one adjustable part among the adjustable parts, and in the process of adjusting the sofa by the target adjustable part according to the adjusted adjustment amplitude, the minimum distance between the body part corresponding to the target adjustable part and the obstacle is greater than or equal to a preset distance.

2. The method according to claim 1, characterized in that The adjusting the adjustment amplitude of the target adjustable part according to the posture, the adjustment amplitude of the target adjustable part, and the current distance between the target adjustable part and the corresponding obstacle to obtain the adjusted adjustment amplitude includes: Determining the degree of deviation between the posture and a preset standard posture, wherein the degree of deviation includes the degree of deviation between each body part of the user in the posture and the corresponding body part in the standard posture; Determine the target adjustable part according to the degree of deviation and whether there is an obstacle within a preset range corresponding to each adjustable part; Determining a current distance between the body part corresponding to the target adjustable part and the obstacle according to the current distance between the target adjustable part and the corresponding obstacle and the degree of deviation of the body part corresponding to the target adjustable part; According to the current distance between the body part corresponding to the target adjustable part and the obstacle, the adjustment amplitude of the target adjustable part and the preset distance, the adjustment amplitude of the target adjustable part is adjusted to obtain an adjusted adjustment amplitude.

3. The method according to claim 2, characterized in that The sofa includes a measuring module, the measuring module is used to obtain the current position of each body part of the user, the sofa determines the posture of the user according to the current position of each body part, and the current distance between the body part corresponding to the target adjustable part and the obstacle is determined according to the current distance between the target adjustable part and the corresponding obstacle and the degree of deviation of the body part corresponding to the target adjustable part, including: Determining the relative position of each body part relative to the adjustable part corresponding to each body part according to the current position of each body part of the user and the current position of the adjustable part corresponding to each body part, and obtaining the current distance between the adjustable part corresponding to each body part and the obstacle according to the current position of the adjustable part corresponding to each body part; The current distance between the body part corresponding to the target adjustable part and the obstacle is obtained according to the relative position of each body part relative to the adjustable part corresponding to each body part and the current distance between the adjustable part corresponding to each body part and the obstacle.

4. The method according to claim 3, characterized in that According to the current distance between the body part corresponding to the target adjustable part and the obstacle, the adjustment amplitude of the target adjustable part and the preset distance, the adjustment amplitude of the target adjustable part is adjusted to obtain the adjusted adjustment amplitude, including: The adjustable distance of the target adjustable part is calculated according to the current distance between the body part corresponding to the target adjustable part and the obstacle and the preset distance. When the current distance is less than the preset distance, the adjustable distance is less than zero; when the current distance is greater than the preset distance, the adjustable distance is greater than zero; when the current distance is equal to the preset distance, the adjustable distance is equal to zero; Calculating according to the adjustable distance to obtain an adjustable amplitude of the target adjustable part, wherein the adjustable amplitude is positively correlated with the adjustable distance; The adjustment amplitude of the target adjustable part is adjusted according to the adjustable amplitude to obtain an adjusted adjustment amplitude.

5. The method according to claim 4, characterized in that The step of calculating according to the adjustable distance to obtain the adjustable range of the target adjustable part includes: When the adjustable amplitude is less than or equal to zero, a voice prompt is sent, wherein the voice prompt is used to indicate to the user that the posture cannot be adjusted and that the user adjusts the posture to a posture adjustment parameter of a preset standard posture; re-determining the current distance between the body part corresponding to the target adjustable part and the obstacle and the adjustable range of the target adjustable part; When the adjustable amplitude of the target adjustable part is greater than zero, the adjustment amplitude of the target adjustable part is readjusted according to the current distance between the body part corresponding to the target adjustable part and the obstacle, the adjustment amplitude of the target adjustable part and the preset distance to obtain the adjusted adjustment amplitude.

6. The method according to claim 3, characterized in that The sofa includes a user information module, the user information module is used to store the user's body information, and the relative position of each body part relative to the adjustable part corresponding to each body part is determined according to the current position of each body part of the user and the current position of the adjustable part corresponding to each body part, including: Acquire the user's body information in the user information module, wherein the user information includes at least one of the user's height, weight, and gender; Determining the body size of each body part of the user according to the user's body information; The relative position of each body part with respect to the adjustable part corresponding to each body part is determined based on the current position of each body part of the user, the current position of the adjustable part corresponding to each body part, the body size of each body part and the part size of the adjustable part corresponding to each body part.

7. The method according to claim 3, characterized in that The user information module is also used to store user identity information. The sofa is a sofa in a zero gravity state. When an adjustment instruction for the sofa is detected, the preset adjustment parameters corresponding to the instruction are obtained, including: In the case where an adjustment instruction for the sofa is detected, determining whether the adjustment instruction is an adjustment instruction for adjusting to the zero gravity state; In a case where the adjustment instruction is an adjustment instruction for adjusting to the zero gravity state, a preset adjustment parameter of the zero gravity state corresponding to the user identity information is acquired.

8. A sofa adjustment device, characterized in that: include: An acquisition module, for acquiring the user's posture of using the sofa and preset adjustment parameters corresponding to the instruction when an adjustment instruction for the sofa is detected, wherein the preset adjustment parameters include adjustment ranges of various adjustable parts of the sofa; The adjustment module is used to adjust the adjustment amplitude of the target adjustable part according to the posture, the adjustment amplitude of the target adjustable part and the current distance between the target adjustable part and the corresponding obstacle to obtain the adjusted adjustment amplitude, wherein the target adjustable part is at least one adjustable part among the adjustable parts, and during the process of adjusting the sofa by the target adjustable part according to the adjusted adjustment amplitude, the minimum distance between the body part corresponding to the target adjustable part and the obstacle is greater than or equal to the preset distance.

9. A computer device comprising a memory and a processor, wherein the memory stores a computer program executable on the processor, wherein: When the processor executes the program, the steps of the method according to any one of claims 1 to 7 are implemented.

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

Citation Information

Patent Citations

  • Smart sofa based on internet of things and smart home control system

    CN106154858A

  • Control method and control system of smart sofa, and smart sofa

    CN107908124A

  • Intelligent sofa

    CN108968491A

  • Adjustment device for seat unit

    CN110051153A

  • Table and chair adjusting method and table and chair

    CN113080610A