A method and device for adjusting a sofa, equipment, storage medium
By monitoring the user's posture and the distance to obstacles in real time, the adjustment range of the sofa is adjusted, solving the safety and user experience issues when adjusting electric sofas and ensuring a safe distance between body parts and obstacles.
Patent Information
- Application Number
- CN202411020781.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-29
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2044-07-29
AI Technical Summary
Existing sofas do not take the user's body information into account when adjusting them electrically, which can easily cause body parts to go beyond the sofa's range and touch obstacles, affecting the user experience and safety.
By acquiring the user's posture and the distance to obstacles, the sofa's adjustment range is adjusted to ensure that the minimum distance between the body parts and obstacles is greater than a preset distance. Sensors and algorithms are used to monitor and adjust the adjustment range in real time.
This avoids collisions or squeezing caused by excessive adjustment, improving user safety and user experience.
Smart Images

Figure CN118749790B_ABST
Abstract
Description
Technical Field
[0001] This application relates to sofa adjustment technology, including but not limited to a sofa adjustment method, apparatus, device, and storage medium. Background Technology
[0002] Current sofas often adjust their power according to pre-set angles, speeds, and ranges, neglecting the user's body measurements. This can lead to situations where, if a user's body extends beyond the sofa's reach, they may bump into obstacles, reducing the user experience and potentially causing safety issues. For example, if a user's head exceeds the sofa's height, they might bump into the wall behind the sofa during adjustments, or their feet might exceed the sofa's extension length, causing them to bump into the coffee table in front of the sofa.
[0003] Therefore, how to electrically adjust the sofa while ensuring user experience and safety is an urgent problem to be solved. Summary of the Invention
[0004] In view of this, the sofa adjustment method, device, equipment, and storage medium provided in this application 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 is greater than or equal to a preset distance during the adjustment process, thereby avoiding collisions or squeezing caused by excessive adjustment range and protecting the user's safety. The sofa adjustment method, device, equipment, and storage medium provided in this application are implemented as follows:
[0005] This application provides a method for adjusting a sofa, including:
[0006] Upon detecting an adjustment command for the sofa, the user's posture while using the sofa and the preset adjustment parameters corresponding to the command are obtained. The preset adjustment parameters include the adjustment range of each adjustable part of the sofa.
[0007] Based on the posture, the adjustment range of the target adjustable part, and the current distance between the target adjustable part and the corresponding obstacle, the adjustment range of the target adjustable part is adjusted to obtain the adjusted adjustment range. The target adjustable part is at least one of the adjustable parts. During the process of adjusting the sofa according to the adjusted adjustment range, 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 range of the target adjustable part based on the posture, the adjustment range of the target adjustable part, and the current distance between the target adjustable part and the corresponding obstacle to obtain the adjusted adjustment range includes:
[0009] Determine the degree of deviation between the posture and the 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] The target adjustable part is determined based on the degree of deviation and whether there are obstacles within the preset range corresponding to each adjustable part;
[0011] Based on 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, determine the current distance between the body part corresponding to the target adjustable part and the obstacle;
[0012] Based on the current distance between the body part corresponding to the target adjustable part and the obstacle, the adjustment range of the target adjustable part, and the preset distance, the adjustment range of the target adjustable part is adjusted to obtain the adjusted adjustment range.
[0013] In some embodiments, the sofa includes a measurement module for acquiring the current position of various body parts of the user. The sofa determines the user's posture based on the current position of each body part. Determining the current distance between the body part corresponding to the target adjustable part and the obstacle based on 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, includes:
[0014] The relative position of each body part to the corresponding adjustable part is determined 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 the current distance between the adjustable part corresponding to each body part and the obstacle is obtained based on the current position of the adjustable part corresponding to each body part.
[0015] The current distance between the target adjustable part and the obstacle is obtained based on the relative position of each body part with respect 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.
[0016] In some embodiments, the adjustment range of the target adjustable part is adjusted based on the current distance between the body part corresponding to the target adjustable part and the obstacle, the adjustment range of the target adjustable part, and the preset distance, to obtain the adjusted adjustment range, including:
[0017] The adjustable distance of the target adjustable part is calculated based on 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] The adjustable range of the target adjustable part is calculated based on the adjustable distance, and the adjustable range is positively correlated with the adjustable distance;
[0019] The adjustment range of the target adjustable part is adjusted according to the adjustable range to obtain the adjusted adjustment range.
[0020] In some embodiments, calculating the adjustability of the target adjustable part based on the adjustable distance includes:
[0021] When the adjustable range is less than or equal to zero, a voice prompt is sent. The voice prompt is used to instruct the user on the posture adjustment parameters when the posture cannot be adjusted and when the user adjusts the posture to a preset standard posture.
[0022] The current distance between the body part corresponding to the target adjustable part and the obstacle, as well as the adjustable range of the target adjustable part, are redefined.
[0023] If the adjustable range of the target adjustable part is greater than zero, the adjustment range of the target adjustable part is readjusted based on the current distance between the body part corresponding to the target adjustable part and the obstacle, the adjustment range of the target adjustable part, and the preset distance, to obtain the adjusted adjustment range.
[0024] In some embodiments, the sofa includes a user information module for storing user body information. The step of determining the relative position of each body part relative to its corresponding adjustable part, based on the current position of each body part and the current position of the adjustable part corresponding to that body part, includes:
[0025] Obtain user body information from the user information module, wherein the user information includes at least one of the user's height, weight, and gender;
[0026] Based on the user's body shape information, determine the body dimensions of each part of the user's body;
[0027] 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, the relative position of each body part with respect to the adjustable part corresponding to each body part is determined.
[0028] In some embodiments, the user information module is further configured to store user identity information, and the sofa is a sofa with a zero-gravity state. The step of obtaining preset adjustment parameters corresponding to the detected adjustment command for the sofa includes:
[0029] If an adjustment command for the sofa is detected, determine whether the adjustment command is an adjustment command to the zero-gravity state;
[0030] When the adjustment command is an adjustment command to the zero-gravity state, the preset adjustment parameters of the zero-gravity state corresponding to the user identity information are obtained.
[0031] This application provides an embodiment of a sofa adjustment device, comprising:
[0032] The acquisition module is used to acquire the user's posture when using the sofa and the preset adjustment parameters corresponding to the instruction when an adjustment command for the sofa is detected. The preset adjustment parameters include the adjustment range of each adjustable part of the sofa.
[0033] An adjustment module is used to adjust the adjustment range of the target adjustable part according to the posture, the adjustment range of the target adjustable part, and the current distance between the target adjustable part and the corresponding obstacle, to obtain an adjusted adjustment range. The target adjustable part is at least one of the adjustable parts. During the process of adjusting the sofa according to the adjusted adjustment range, 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.
[0034] The computer device provided in this application includes a memory and a processor. The memory stores a computer program that can run on the processor. When the processor executes the program, it implements the method described in this application.
[0035] The computer-readable storage medium provided in this application embodiment stores a computer program thereon, which, when executed by a processor, implements the method described in this application embodiment.
[0036] This application provides a sofa adjustment method, apparatus, computer device, and computer-readable storage medium. By acquiring the user's posture while using the sofa and preset adjustment parameters corresponding to the command, the adjustment range of the target adjustable part is adjusted based on the posture, the adjustment range of the target adjustable part, and the current distance between the target adjustable part and the corresponding obstacle, resulting in the adjusted adjustment range. This avoids collisions or compression caused by excessive adjustment, protects user safety, and solves the technical problems mentioned in the background art. Attached Figure Description
[0037] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the specification, serve to explain the technical solutions of this application.
[0038] Figure 1 This is an application scenario diagram of a sofa adjustment method disclosed in an embodiment of this application;
[0039] Figure 2 This is a schematic diagram illustrating the implementation process of a sofa adjustment method disclosed in an embodiment of this application;
[0040] Figure 3 This is a schematic diagram illustrating the implementation process of another sofa adjustment method disclosed in an embodiment of this application;
[0041] Figure 4 This is a schematic diagram illustrating the implementation process of another sofa adjustment method disclosed in an embodiment of this application;
[0042] Figure 5 This is a schematic diagram illustrating the implementation process of another sofa adjustment method disclosed in an embodiment of this application;
[0043] Figure 6A This is a schematic diagram illustrating a sofa adjustment method disclosed in an embodiment of this application;
[0044] Figure 6B This is a schematic diagram illustrating another sofa adjustment method disclosed in an embodiment of this application;
[0045] Figure 7 This is a schematic diagram of a sofa adjustment method disclosed in an embodiment of this application;
[0046] Figure 8 This is a schematic diagram of the structure of an electronic device disclosed in an embodiment of this application. Detailed Implementation
[0047] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the specific technical solutions of this application will be further described in detail below with reference to the accompanying drawings of the embodiments of this application. The following embodiments are used to illustrate this application, but are not intended to limit the scope of this application.
[0048] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein is for the purpose of describing embodiments of this application only and is not intended to limit this application.
[0049] In the following description, references are made to “some embodiments,” which describe a subset of all possible embodiments. However, it is 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 noted that the terms "first, second, third" used in the embodiments of this application are used to distinguish similar or different objects and do not represent a specific order of 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 this application described herein can be implemented in an order other than that illustrated or described herein.
[0051] In view of this, embodiments of this application provide a method for adjusting a sofa, which is applied to an electric sofa. Figure 1 This is an application scenario diagram of a sofa adjustment method in one embodiment. For example... Figure 1 As shown, the user can use the electric sofa 10. The functions implemented by this method can be achieved by the processor in the electric sofa 10 calling program code. Of course, the program code can be stored in a computer storage medium. It can be seen that the electric sofa 10 includes at least a processor and a storage medium.
[0052] Figure 2 This is a schematic diagram illustrating the implementation process of a sofa adjustment method provided in an embodiment of this application. Figure 2 As shown, the method may include the following steps 201 to 202:
[0053] Step 201: Upon detecting an adjustment command for the sofa, obtain the user's posture while using the sofa and the preset adjustment parameters corresponding to the command.
[0054] In this embodiment, 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. Distance sensors or radar around the sofa are used to measure the distance between various parts of the sofa and surrounding obstacles (such as walls and furniture). The user inputs adjustment commands via a remote control, mobile application, or control panel on the sofa, and the system receives and parses these commands. Based on the user's adjustment commands and current posture, the system determines the adjustable parts that need adjustment. For example, if the user wants to adjust the backrest angle, the target adjustable part is the backrest. Preset adjustment parameters corresponding to the commands are read from a database or settings stored in the system, such as the adjustment range of the backrest angle and safety distance requirements.
[0055] Step 202: Based on the posture, the adjustment range of the target adjustable part, and the current distance between the target adjustable part and the corresponding obstacle, adjust the adjustment range of the target adjustable part to obtain the adjusted adjustment range.
[0056] In this embodiment, based on real-time acquired posture data, the system analyzes the current user's posture and body position to determine the sofa parts that need adjustment (e.g., backrest, footrest, etc.). Based on preset adjustment parameters and environmental detection results, it calculates a safe adjustment range that meets user comfort standards. For each adjustable part, the system calculates the minimum distance between that part and obstacles after adjustment. If the adjustment range exceeds the safe distance, the system automatically adjusts the range to the maximum value within the maximum safe range. During adjustment, the system ensures that real-time distance information is monitored and fed back to avoid collisions or proximity to obstacles. After adjustment, the system provides feedback to the user, confirming that the adjustment achieved the expected effect and ensured safety. Simultaneously, the system records detailed data for each adjustment, including user posture, the executed adjustment range, and environmental detection results.
[0057] The specific operation example is as follows: 1. The user inputs an adjustment command, selecting backrest adjustment via remote control or mobile application. 2. The sofa's built-in sensors detect the user's semi-reclined posture and read the preset parameters for the backrest adjustment (e.g., 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 centimeters, and the preset minimum safe distance is 10 centimeters. 4. Assuming the preset adjustment range is 30 degrees, the system will assess whether the backrest position maintains at least 10 centimeters of distance from the wall after a 30-degree adjustment. If a 30-degree adjustment results 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 by 20 degrees to ensure user comfort and safety.
[0058] This application embodiment acquires the user's posture and preset adjustment parameters when using the sofa, enabling precise adjustment of the sofa according to the user's specific needs and instructions, thus providing a more comfortable sitting or lying experience. During the adjustment process, the current distance between the adjustable part and the corresponding obstacle is considered, and the adjustment range is adjusted to ensure that the minimum distance between the body part and the obstacle is not less than a preset distance, avoiding safety hazards such as collisions or pinching injuries caused by improper adjustment.
[0059] In the above Figure 2 As shown in the illustration, this application also provides a schematic diagram of the implementation process of a sofa adjustment method. Figure 3 As shown, the method may include the following steps 301 to 305:
[0060] Step 301: Upon detecting an adjustment command for the sofa, obtain the user's posture while using the sofa and the preset adjustment parameters corresponding to the command.
[0061] The implementation steps of step 301 are the same as those of step 201 above, and will not be repeated here.
[0062] Step 302: Determine the degree of deviation between the posture and the preset standard posture. 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 this embodiment, the user's posture needs to be detected first using sensors (such as position sensors) or cameras. The user's current posture on the sofa is detected in real time. Posture information may include data such as the angles and positions of various body parts. The system pre-stores a standard posture library, which typically consists of the most comfortable and safe sitting or lying postures designed ergonomically. The system compares the user's current posture with the standard postures, calculating the degree of deviation of each body part (such as head, back, legs, etc.) from the standard posture. Specifically, this can be achieved through vector discretization or other geometric methods.
[0064] Step 303: Determine the target adjustable part based on the degree of deviation and whether there are obstacles within the preset range corresponding to each adjustable part.
[0065] In this embodiment, the degree of deviation is analyzed, and based on the calculated degree of deviation, the system determines which body parts need adjustment. For example, if excessive backward tilting of the back is detected, deviating significantly from the standard back position, the degree of back deviation is considered large. Sensors (such as ultrasonic sensors, infrared sensors, etc.) are used to detect the presence of obstacles around the sofa, and the positions of obstacles near each adjustable part are recorded. Taking into account both the degree of deviation and the location of obstacles, the target adjustable part that needs adjustment is determined. For example, if obstacles near the legs are far from the legs and the leg deviation is small, the legs will be identified 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 based on 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 this embodiment, sensor data is used to calculate the current distance between the target adjustable part (such as a backrest, footrest, etc.) and its corresponding obstacle. This can be achieved by measuring the distance between the sensor and the obstacle. Simultaneously, the degree of deviation of the body parts (such as the back, legs, etc.) of the affected area is also taken into account to accurately assess the adjustment needs. For example, if the back deviation differs significantly from the standard back posture and there is an obstacle behind it, the system will consider adjusting the back to a safe position to avoid collision.
[0068] Step 305: Based on the current distance between the body part corresponding to the target adjustable part and the obstacle, the adjustment range of the target adjustable part, and the preset distance, adjust the adjustment range of the target adjustable part to obtain the adjusted adjustment range.
[0069] In this embodiment, the current distance between the target adjustable part and the corresponding obstacle, as well as the initial adjustment range of the target adjustable part, are obtained. To ensure safety, a preset minimum distance is set between the adjusted body part and the obstacle. The adjustment range of the target adjustable part is adjusted using algorithms (e.g., linear regression, fuzzy logic algorithms, etc.) to ensure that it will not collide with the obstacle during adjustment while meeting the user's comfort needs. A control command is issued to precisely 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 range so that the leg ultimately maintains a safe distance from the obstacle.
[0070] This application embodiment determines the degree of deviation between the user's current posture and a preset standard posture, enabling personalized adjustments based on the user's specific situation. This ensures that the user's posture on the sofa minimizes collisions with obstacles. The adjustment process considers the distance between the sofa and surrounding obstacles, adjusting the range of adjustment according to the actual situation to guarantee user safety. By comprehensively considering factors such as the degree of posture deviation, obstacle position, and current distance, the adjustment range is precisely adjusted, avoiding over- or under-adjustment, resulting in an adjustment outcome that better meets the user's actual needs.
[0071] In the above Figure 3 As shown in the illustration, this application also provides a schematic diagram of the implementation process of a sofa adjustment method. Figure 4 As shown, the method may include the following steps 401 to 406:
[0072] Step 401: Upon detecting an adjustment command for the sofa, obtain the user's posture while using the sofa and the preset adjustment parameters corresponding to the command.
[0073] The implementation steps of step 401 are the same as those of step 301 above, and will not be repeated here.
[0074] Step 402: Determine the degree of deviation between the posture and the preset standard posture. 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 the same as those of step 302 above, and will not be repeated here.
[0076] Step 403: Determine the target adjustable part based on the degree of deviation and whether there are obstacles within the preset range corresponding to each adjustable part.
[0077] The implementation steps of step 403 are the same as those of step 303 above, and will not be repeated here.
[0078] Step 404: Determine the relative position of each body part with respect to the corresponding adjustable part based on the current position of each body part of the user and the current position of the corresponding adjustable part of the user, and obtain the current distance between the corresponding adjustable part of the user and the obstacle based on the current position of the corresponding adjustable part of the user.
[0079] In this embodiment, pressure sensors are arranged on the sofa cushions, backrests, and armrests to detect the user's body contact points and pressure distribution. Infrared sensors / cameras are installed on the front, sides, and top of the sofa to capture the user's overall posture and the position of various body parts. Ultrasonic sensors are arranged at the edges of the adjustable parts of the sofa to measure the distance between these parts and surrounding obstacles. A microprocessor receives sensor data and performs preliminary processing to ensure real-time performance. The algorithm unit includes image processing algorithms, coordinate transformation algorithms, and distance calculation algorithms for handling complex data calculations and analysis. A 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. Pressure sensor data is supplemented using interpolation algorithms to ensure high-precision positioning. Image processing algorithms are used to perform skeletal recognition on images captured by the camera to determine the position of each body part. A built-in encoder provides real-time feedback on the angle and displacement information of each adjustable part. An angle sensor provides tilt angle data for each part, which is combined with encoder data for correction. The control module inputs the current position data of various parts of the user's body and adjustable parts into a coordinate transformation algorithm to calculate the relative position. Precise coordinates in three-dimensional space are considered to ensure the accuracy of the relative position calculation. An ultrasonic sensor measures the real-time distance to obstacles at a fixed frequency (e.g., 20 times per second). A filtering algorithm is used to process the measurement data to eliminate noise and errors.
[0080] Furthermore, the sofa includes a user information module for storing user body information. The step of determining the relative position of each body part with respect to the corresponding adjustable 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 user body information from the user information module, wherein the user information includes at least one of the user's height, weight, and gender.
[0081] Specifically, upon initial use, the system guides users to input their body information. This information can be entered manually (e.g., height, weight, gender on the screen) or synchronously obtained via smart devices (e.g., smart bracelets, mobile health apps). The system stores this information locally or in a cloud database, ensuring users don't need to re-enter it in future use. A depth camera, infrared sensor, or pressure sensor on the sofa activates to begin capturing the user's posture data. Real-time data on the position of various parts of the user's body relative to the sofa is collected. This data includes, but is not limited to, the positions of the head, shoulders, waist, knees, and feet.
[0082] Furthermore, the user of the sofa is identified.
[0083] Specifically, an identity verification device (such as a biometric sensor or facial recognition camera) is installed on the sofa. This device automatically activates when the user begins using the sofa. When the user sits on the sofa, the identity verification device begins working, detecting the user's identity by scanning fingerprints, facial features, or other biometric characteristics. The sofa system includes a user information module that pre-stores the identity and body information of registered users. The system compares the detected user's identity information with the pre-stored user information to confirm whether the user is a registered user.
[0084] If the user using the sofa does not have the same identity information as the user pre-stored in the user information module, an identity information input prompt will be output. The identity information input prompt includes inputting the user's body information and identity information.
[0085] Specifically, if the system detects a mismatch between the current user's identity information and pre-stored information, it will output a prompt for identity information entry. This prompt can be displayed via voice, a screen, or an application on a mobile device, and includes a request for the user to enter their identity information (such as name and contact information) and body information (such as height, weight, and preferred posture). The user enters the corresponding information according to the prompts. Entry can be completed via touchscreen, mobile app, etc. The system saves the newly entered identity and body information to the user information module for future recognition and adjustment.
[0086] Furthermore, the environmental information of the sofa is detected, including the positions of various objects in the environment in which the sofa is located and the position of the sofa in the environment.
[0087] Specifically, various sensors are installed in different parts of the sofa (such as the backrest, armrests, and base). Infrared sensors are used to detect changes in distance and temperature. Ultrasonic sensors are used to detect the distance and orientation 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 television, coffee table, and lights. Sensor data is transmitted to a central processing unit via a wireless module.
[0088] The system stores a mapping relationship between the environmental information of the sofa, the user's identity information, and the adjustment range of the target adjustable part. This allows the sofa to determine the adjustment range based on the mapping relationship when the environmental information remains unchanged. The adjustment range includes multiple adjustment levels, such as Level 1, Level 2, and Level 3. Level 1 is lower than Level 2, Level 2 is lower than Level 3, and the higher the adjustment level, the greater the adjustment range of the sofa.
[0089] Specifically, the system establishes a correlation between environmental information (such as the positions of the TV and coffee table), user identity information (such as user ID), and adjustment ranges (such as backrest angle and footrest height). This information is stored in a mapping table using a database system. The database system employs encryption technology to protect user privacy. The stored data includes the spatial coordinates of environmental objects, user ID, and adjustment parameters. Each time a user starts using the system, an environmental detection device is activated. It checks whether the current environment matches the previously saved environmental information (by comparing spatial coordinates and other data). If the environmental information matches, the system retrieves the corresponding adjustment parameters from the database. The electric control system then drives the various adjustable parts of the sofa (such as the backrest and electric footrest) to automatically adjust according to preset parameters.
[0090] This application embodiment, by storing the mapping relationship between user identity information and adjustment range, enables the sofa to automatically adjust to a personalized comfort state in different environments based on the user's identity and preferences, providing a user experience that better meets user needs. When the environmental information of the sofa does not change, the adjustment range can be directly determined according to the stored mapping relationship, ensuring that the sofa always maintains the user's preferred adjustment state in a stable environment without the need for repeated adjustments.
[0091] Based on the user's body shape information, determine the body dimensions of each part of the user's body.
[0092] Specifically, the system estimates the dimensions of various body parts based on stored height and weight data using a built-in algorithm. This includes, for example, the height-to-leg-length ratio, arm length, and waist circumference. Users can choose to make fine adjustments to further refine the dimensions of each body part. The system allows users to adjust these dimensions by moving sliders or directly inputting values. Each adjustable part of the sofa (such as the backrest, seat cushion, and footrest) is equipped with position sensors that provide real-time feedback on their current position. Each time the sofa is started, the system performs an initial calibration to ensure that the initial positions of each adjustable part are accurately recorded.
[0093] 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, the relative position of each body part with respect to the adjustable part corresponding to each body part is determined.
[0094] Specifically, the positional data of the user's body parts are integrated with the positional data of each adjustable part of the sofa to calculate the relative position of each body part with respect to its corresponding adjustable part. The positional data is then analyzed to determine whether the user's current sitting posture meets preset standards (e.g., whether it deviates from the ideal lumbar support position).
[0095] This application embodiment, by obtaining the user's specific body information (such as height, weight, gender, etc.), can more accurately determine the dimensions of various body parts of the user. This allows the sofa to be personalized according to the different body characteristics of different users, improving the comfort and accuracy of the user experience. By combining the current position of the user's body parts with the current position of the corresponding adjustable parts to determine the relative position, and adding the body dimensions and the dimensions of the adjustable parts, the specific position of the user's body parts relative to the sofa can be calculated more accurately. This helps to avoid obstacles during the adjustment process, ensuring the safety and effectiveness of the adjustment. Utilizing the user's body information and dimensions can effectively avoid collisions and discomfort during the adjustment process.
[0096] Furthermore, the user information module is also used to store user identity information. The sofa is a sofa with a zero-gravity state. When an adjustment command for the sofa is detected, obtaining the preset adjustment parameters corresponding to the command includes: when an adjustment command for the sofa is detected, determining whether the adjustment command is an adjustment command to adjust to the zero-gravity state.
[0097] Specifically, the sofa's built-in control system continuously monitors adjustment commands sent by the user via a mobile app or remote control. These commands can include specific instructions to adjust to a zero-gravity state, such as "zero-gravity mode" or "relaxation mode." Once an adjustment command is detected, the system begins parsing it to determine the specific adjustment operation the user desires. The system verifies the legality and validity of the command to ensure that no incorrect operation is performed or unexpected situations occur. The sofa's built-in user identification module begins reading the user's identity information. This can be achieved through various methods, such as RFID identification, Bluetooth connection identification, or facial recognition. The system verifies the read identity information to ensure that the user's identity is legitimate and that they are authorized to perform sofa adjustment operations.
[0098] When the adjustment command is an adjustment command to the zero-gravity state, the preset adjustment parameters of the zero-gravity state corresponding to the user identity information are obtained.
[0099] Specifically, once user authentication is successful, the system retrieves relevant body information from the user's profile, such as height, weight, and gender. Based on this information, the system queries the preset parameter database for the corresponding zero-gravity state preset adjustment parameters. These parameters are either set when the user first uses the sofa or personalized according to user preferences. The system loads the corresponding preset parameters for the user, including back tilt angle, leg support position, head support height, and lumbar support strength.
[0100] This application embodiment saves user identity information and body size information, and makes precise adjustments according to the specific needs of different users. In particular, the preset adjustment parameters for zero gravity state allow each user to obtain the most comfortable experience during use, avoiding the tediousness of manual adjustment. By automatically adjusting the sofa to this state, the user's comfort and relaxation effect can be improved.
[0101] Step 405: Based on the relative positions of each body part with respect to the corresponding adjustable part and the current distance between the adjustable part and the obstacle, the current distance between the body part corresponding to the target adjustable part and the obstacle is obtained.
[0102] In this embodiment, the final distance is calculated based on the relative position of the user's body part with respect to the adjustable part (precise three-dimensional coordinates obtained through coordinate transformation), combined with the distance measurement data between the adjustable part and the obstacle. Specifically, the distance calculation formula is as follows: assuming 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: Based on the current distance between the body part corresponding to the target adjustable part and the obstacle, the adjustment range of the target adjustable part, and the preset distance, adjust the adjustment range of the target adjustable part to obtain the adjusted adjustment range.
[0104] This application embodiment accurately captures the user's posture information by measuring the position of various body parts in real time. This ensures the sofa's adaptability and comfort to the user's body during adjustment. By measuring the distance between the adjustable parts and surrounding obstacles, and combining this with the user's posture information, the system can promptly detect and avoid collisions or excessively close proximity between sofa components and obstacles such as walls, ensuring user safety. Based on real-time measurement and calculation, the system can automatically adjust various parts of the sofa to adapt to changes in the user's posture and comfort needs.
[0105] In the above Figure 4 As shown in the illustration, this application also provides a schematic diagram of the implementation process of a sofa adjustment method. Figure 5 As shown, the method may include the following steps 501 to 508:
[0106] Step 501: Upon detecting an adjustment command for the sofa, obtain the user's posture while using the sofa and the preset adjustment parameters corresponding to the command.
[0107] The implementation steps of step 501 are the same as those of step 401 above, and will not be repeated here.
[0108] Step 502: Determine the degree of deviation between the posture and the preset standard posture. 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 the same as those of step 402 above, and will not be repeated here.
[0110] Step 503: Determine the target adjustable part based on the degree of deviation and whether there are obstacles within the preset range corresponding to each adjustable part.
[0111] The implementation steps of step 503 are the same as those of step 403 above, and will not be repeated here.
[0112] Step 504: Determine the relative position of each body part with respect to the corresponding adjustable part based on the current position of each body part of the user and the current position of the corresponding adjustable part of each body part; and obtain the current distance between the corresponding adjustable part of each body part and the obstacle based on the current position of the corresponding adjustable part of each body part.
[0113] The implementation steps of step 504 are the same as those of step 404 above, and will not be repeated here.
[0114] Step 505: Based on the relative positions of each body part with respect to the corresponding adjustable part and the current distance between the adjustable part and the obstacle, the current distance between the body part corresponding to the target adjustable part and the obstacle is obtained.
[0115] The implementation steps of step 505 are the same as those of step 405 above, and will not be repeated here.
[0116] Step 506: Calculate the adjustable distance of the target adjustable part based on the current distance between the body part corresponding to the target adjustable part and the obstacle, and the preset distance.
[0117] In this embodiment, high-precision distance sensors are installed on adjustable parts of the sofa (such as the backrest and footrest) and body parts that the user may come into contact with (such as the back and legs). The sensors measure the distance between the user's body parts and obstacles (such as walls and tables) in real time and transmit the data to the central control unit. The system sets preset safe distances for different body parts based on 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 safe distance. If the current distance is less than the preset distance, a negative adjustable distance is calculated, indicating the distance that needs to be moved away from the obstacle. If the current distance is greater than the preset distance, a positive adjustable distance is calculated, indicating the distance that can be moved closer to the obstacle. If the current distance equals the preset distance, the adjustable distance is zero, and no movement is required. Figure 6A and Figure 6B As shown, Figure 6A and Figure 6B This is a schematic diagram illustrating a sofa adjustment method provided in an embodiment of this application. Figure 6A This is a schematic diagram of the embodiments provided in this application before adjustment. Figure 6A The distance between the head and legs of the sofa and the obstacle is greater than the preset distance. Therefore, when adjusting the sofa, it should be moved towards the obstacle. The adjusted sofa is shown in the diagram. Figure 6B As shown, in Figure 6B In the middle, 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 the adjustable range of the target adjustable part based on the adjustable distance.
[0119] In this embodiment, the adjustment range of the target part is calculated based on the ratio between the adjustable distance and the preset distance. Assuming a linear relationship between the adjustment range and the distance, the adjustment formula can be: Adjustment range = k * (Adjustable distance / Preset distance). Here, k is the adjustment coefficient, which determines the sensitivity of the adjustment speed and range. For example, suppose the current measured distance between the sofa back and the wall is 15 cm, and the preset safe distance is 20 cm. That is, the current distance is 15 cm, and the preset distance is 20 cm. Then the adjustable distance is: 15 cm - 20 cm = -5 cm. If the adjustment coefficient k is 1: Adjustment range = 1 * (-5 / 20) = -0.25. This means the sofa back needs to move 0.25 cm away from the wall (the negative sign indicates moving away). If the k value is larger, the adjustment range will be larger, and vice versa.
[0120] Furthermore, the step of calculating the adjustable range of the target adjustable part based on the adjustable distance includes: sending a voice prompt when the adjustable range is less than or equal to zero, the voice prompt being used to instruct the user on posture adjustment parameters when the posture cannot be adjusted and when the user adjusts the posture to a preset standard posture.
[0121] Specifically, based on the calculated adjustable distance, the adjustable range of the target adjustable part is determined. If the calculated adjustable range is less than or equal to zero, a voice prompt is sent to inform the user that the current posture cannot be adjusted, and the user is advised to adjust the posture to the preset standard posture and make adjustments 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, as well as the adjustable range of the target adjustable part, are re-determined.
[0123] Specifically, after the user adjusts their posture, the current distance between the body part corresponding to the adjustable target and the obstacle is remeasured, and the adjustable range is recalculated.
[0124] If the adjustable range of the target adjustable part is greater than zero, the adjustment range of the target adjustable part is readjusted based on the current distance between the body part corresponding to the target adjustable part and the obstacle, the adjustment range of the target adjustable part, and the preset distance, to obtain the adjusted adjustment range.
[0125] Specifically, after remeasurement and calculation, if the adjustable range of the target adjustable part is greater than zero, the adjustment range of the target adjustable part is readjusted based on the current distance between the corresponding body part and the obstacle, the adjustment range of the target adjustable part, and the preset distance, resulting in the final adjusted range. Based on the final adjusted range, the target adjustable part of the sofa is physically adjusted. Throughout the process, a voice prompt system provides real-time feedback on the adjustment status and suggestions to the user, ensuring the user understands and cooperates with the adjustment process.
[0126] This application embodiment detects the relationship between the current distance and a preset distance to ensure timely reminders when the user's posture is unsuitable for adjustment, thus avoiding potential dangers such as collisions or squeezing. When the adjustment range is inappropriate, the system not only stops the unsuitable adjustment but also provides voice prompts to the user on how to adjust their posture to complete the necessary adjustment. This makes the user experience more user-friendly and intelligent. Through the voice prompt function, users can clearly understand why their current posture is unsuitable for adjustment and make the corresponding posture adjustments according to the prompts, thereby reducing inconvenience or potential hazards caused by misoperation.
[0127] Step 508: Adjust the adjustment range of the target adjustable part according to the adjustable range to obtain the adjusted adjustment range.
[0128] In this embodiment, the central control unit controls the motors of the corresponding parts to perform adjustment actions based on the calculated adjustment range. To ensure a smooth transition, adjustments can be made in multiple small steps, with the distance measured and corrected after each step until the desired position is reached. Distance changes during the adjustment process are monitored in real time, and if an unexpected situation occurs (such as the sudden appearance of an obstacle), the system immediately stops and corrects itself.
[0129] This application embodiment achieves precise control of the adjustable part of the target 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 overall system safety. Through a positively correlated 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 ever-changing application scenarios.
[0130] It should be understood that although the steps in the above flowcharts are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the above flowcharts may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these sub-steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.
[0131] Based on the foregoing embodiments, this application provides a sofa adjustment device, which includes various modules and units included in each module, and can be implemented by a processor; of course, it can also be implemented by specific logic circuits; in the implementation process, the processor can be a central processing unit (CPU), microprocessor (MPU), digital signal processor (DSP) or field programmable gate array (FPGA), etc.
[0132] Figure 7 This is a schematic diagram of the structure of a sofa adjustment device provided in an embodiment of this application, as shown below. 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 when using the sofa and the preset adjustment parameters corresponding to the instruction when an adjustment instruction for the sofa is detected. 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 range of the target adjustable part according to the posture, the adjustment range of the target adjustable part, and the current distance between the target adjustable part and the corresponding obstacle, to obtain the adjusted adjustment range. The target adjustable part is at least one of the adjustable parts. During the process of the target adjustable part adjusting the sofa according to the adjusted adjustment range, 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 configured 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 configured to determine the target adjustable part based on the degree of deviation and whether there are obstacles within a preset range corresponding to each adjustable part;
[0137] The acquisition module 701 is further configured to determine the current distance between the body part corresponding to the target adjustable part and the obstacle based on 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 configured to adjust the adjustment range of the target adjustable part based on the current distance between the body part corresponding to the target adjustable part and the obstacle, the adjustment range of the target adjustable part, and the preset distance, so as to obtain the adjusted adjustment range.
[0139] In some embodiments, the acquisition module 701 is further configured to determine 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, and to obtain 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.
[0140] The acquisition module 701 is further configured 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 configured to calculate, based on the current distance between the body part corresponding to the target adjustable part and the obstacle and the preset distance, the adjustable distance of the target adjustable part is obtained; 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 configured to calculate, based on the adjustable distance, the adjustable range of the target adjustable part, wherein the adjustable range is positively correlated with the adjustable distance;
[0143] The adjustment module 702 is also used to adjust the adjustment range of the target adjustable part according to the adjustable range, so as to obtain the adjusted adjustment range.
[0144] In some embodiments, the acquisition module 701 is further configured to send a voice prompt when the adjustable range is less than or equal to zero, the voice prompt being used to instruct the user on the posture adjustment parameters when the posture cannot be adjusted and when the user adjusts the posture to a preset standard posture.
[0145] The acquisition module 701 is also used to redetermine the current distance between the body part corresponding to the target adjustable part and the obstacle, as well as the adjustable range of the target adjustable part;
[0146] The adjustment module 702 is further configured to, when the adjustable range of the target adjustable part is greater than zero, readjust the adjustment range 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 range of the target adjustable part, and the preset distance, to obtain the adjusted adjustment range.
[0147] In some embodiments, the acquisition module 701 is further configured to acquire user body information from 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 also used to determine the body dimensions of various body parts of the user based on the user's body shape information;
[0149] The acquisition module 701 is further configured to determine 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, 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 configured to determine whether the adjustment command is an adjustment command to the zero-gravity state when an adjustment command to 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 to adjust to the zero-gravity state.
[0152] The descriptions of the above device embodiments are similar to those of the above method embodiments, and have similar beneficial effects. For technical details not disclosed in the device embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.
[0153] It should be noted that, in the embodiments of this application... Figure 7 The modular division of the sofa adjustment device shown is illustrative and represents only a logical functional division; in actual implementation, other division methods may be used. Furthermore, the functional units in the various embodiments of this application can be integrated into a single processing unit, exist as separate physical units, or be integrated into a single unit with two or more units. The integrated units can be implemented in hardware, as software functional units, or a combination of both.
[0154] It should be noted that, in the embodiments of this application, if the above-described methods are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to related technologies, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause an electronic device to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), magnetic disks, or optical disks. Thus, the embodiments of this application are not limited to any specific hardware and software combination.
[0155] This 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, memory, and a network interface connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The database stores data. The network interface communicates with external terminals via a network connection. When the computer program is executed by the processor, it implements the methods described above.
[0156] This application provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the method provided in the above embodiments.
[0157] This application provides a computer program product containing instructions that, when run on a computer, cause the computer to perform the steps in the method provided in the above-described method embodiments.
[0158] Those skilled in the art will understand that Figure 8 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0159] In one embodiment, the sofa adjustment device provided in this application can be implemented as a computer program, and the computer program can be configured as follows: Figure 8 The device operates on the computer device shown. The memory of the computer device can store the various program modules that make up the above-described apparatus. The computer program, composed of the various program modules, causes the processor to execute the steps of the methods in the various embodiments of this application described in this specification.
[0160] It should be noted that the descriptions of the storage medium and device embodiments above are similar to the descriptions of the method embodiments above, and have similar beneficial effects. For technical details not disclosed in the storage medium, storage medium, and device embodiments of this application, please refer to the descriptions of the method embodiments of this application for understanding.
[0161] It should be understood that the phrases "one embodiment," "an embodiment," or "some embodiments" mentioned throughout the specification mean that a specific feature, structure, or characteristic related to an embodiment is included in at least one embodiment of this application. Therefore, "in one embodiment," "in one embodiment," or "in some embodiments" appearing throughout the specification do not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics can be combined in any suitable manner in one or more embodiments. It should be understood that in the various embodiments of this application, the sequence numbers of the above-described processes do not imply a sequential order of execution; the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application. The sequence numbers of the above-described embodiments are merely for descriptive purposes and do not represent the superiority or inferiority of the embodiments. The descriptions of the various embodiments above tend to emphasize the differences between the various embodiments; their similarities or commonalities can be referred to mutually, and for the sake of brevity, they will not be repeated here.
[0162] In this article, the term "and / or" is merely a description of the relationship between related objects, indicating that there can be three kinds of relationships. For example, object A and / or object B can represent three situations: object A exists alone, object A and object B exist simultaneously, and object B exists alone.
[0163] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0164] In the several embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. The embodiments described above are merely illustrative. For example, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods, such as: multiple modules or components can be combined, or integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the various components shown or discussed can be through some interfaces, and the indirect coupling or communication connection between devices or modules can be electrical, mechanical, or other forms.
[0165] The modules described above as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules. They may be located in one place or distributed across multiple network units. Some or all of the modules may be selected to achieve the purpose of this embodiment according to actual needs.
[0166] In addition, each functional module in the various embodiments of this application can be integrated into one processing unit, or each module can be a separate unit, or two or more modules can be integrated into one unit; the integrated modules can be implemented in hardware or in the form of hardware plus software functional units.
[0167] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as mobile storage devices, read-only memory (ROM), magnetic disks, or optical disks.
[0168] Alternatively, if the integrated units described above are implemented as software functional modules and sold or used as independent products, they can also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, or the parts that contribute to related technologies, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause an electronic device to execute all or part of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as mobile storage devices, ROMs, magnetic disks, or optical disks.
[0169] The methods disclosed in the several method embodiments provided in this application can be arbitrarily combined without conflict to obtain new method embodiments.
[0170] The features disclosed in the several product embodiments provided in this application can be arbitrarily combined without conflict to obtain new product embodiments.
[0171] The features disclosed in the several method or device embodiments provided in this application can be arbitrarily combined without conflict to obtain new method or device embodiments.
[0172] The above description is merely an embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method of adjusting a sofa, characterized in that, The method comprises: In the case of detecting the adjustment instruction of the sofa, the user posture of the user using the sofa and the preset adjustment parameter corresponding to the instruction are acquired, and the preset adjustment parameter comprises an adjustment range of each adjustable part of the sofa; According to the user posture, the adjustment range of the target adjustable part and the current distance between the target adjustable part and the corresponding obstacle, the adjustment range of the target adjustable part is adjusted to obtain an adjusted adjustment range, the target adjustable part is at least one adjustable part in the each adjustable part, and 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 during the adjustment of the sofa by the target adjustable part according to the adjusted adjustment range.
2. The method of claim 1, wherein, According to the user posture, the adjustment range of the target adjustable part and the current distance between the target adjustable part and the corresponding obstacle, the adjustment range of the target adjustable part is adjusted to obtain an adjusted adjustment range, which comprises: The deviation degree of the user posture from a preset standard posture is determined, and the deviation degree comprises the deviation degree of each body part of the user in the user posture from the corresponding body part in the standard posture; According to the deviation degree and whether there is an obstacle in the preset range corresponding to each adjustable part, the target adjustable part is determined; According to the current distance between the target adjustable part and the corresponding obstacle and the deviation degree of the body part corresponding to the target adjustable part, 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 body part corresponding to the target adjustable part and the obstacle, the adjustment range of the target adjustable part and the preset distance, the adjustment range of the target adjustable part is adjusted to obtain an adjusted adjustment range.
3. The method of claim 2, wherein, The sofa comprises a measurement module for acquiring the current positions of each body part of the user, and the sofa determines the posture of the user according to the current positions of each body part. According to the current distance between the target adjustable part and the corresponding obstacle and the deviation degree of the body part corresponding to the target adjustable part, the current distance between the body part corresponding to the target adjustable part and the obstacle is determined, which comprises: According to the current positions of each body part of the user and the current positions of the adjustable parts corresponding to each body part, the relative positions of each body part relative to the adjustable parts corresponding to each body part are determined, and the current distances between the adjustable parts corresponding to each body part and the obstacle are obtained according to the current positions of the adjustable parts corresponding to each body part; According to the relative positions of each body part relative to the adjustable parts corresponding to each body part and the current distances between the adjustable parts corresponding to each body part and the obstacle, the current distance between the body part corresponding to the target adjustable part and the obstacle is obtained.
4. The method of claim 3, wherein, Based on the current distance between the body part corresponding to the target adjustable part and the obstacle, the adjustment range of the target adjustable part, and the preset distance, the adjustment range of the target adjustable part is adjusted to obtain the adjusted adjustment range, including: The adjustable distance of the target adjustable part is calculated based on 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. The adjustable range of the target adjustable part is calculated based on the adjustable distance, and the adjustable range is positively correlated with the adjustable distance; The adjustment range of the target adjustable part is adjusted according to the adjustable range to obtain the adjusted adjustment range.
5. The method of claim 4, wherein, The step of calculating the adjustable range of the target adjustable part based on the adjustable distance includes: When the adjustable range is less than or equal to zero, a voice prompt is sent. The voice prompt is used to instruct the user on the posture adjustment parameters when the posture cannot be adjusted and when the user adjusts the posture to a preset standard posture. The current distance between the body part corresponding to the target adjustable part and the obstacle, as well as the adjustable range of the target adjustable part, are redefined. If the adjustable range of the target adjustable part is greater than zero, the adjustment range of the target adjustable part is readjusted based on the current distance between the body part corresponding to the target adjustable part and the obstacle, the adjustment range of the target adjustable part, and the preset distance, to obtain the adjusted adjustment range.
6. The method of claim 3, wherein, The sofa includes a user information module for storing user body information. The step of determining the relative position of each body part with respect to its corresponding adjustable part, based on the current position of each body part and the current position of its corresponding adjustable part, includes: Obtain user body information from the user information module, wherein the user information includes at least one of the user's height, weight, and gender; Based on the user's body shape information, determine the body dimensions of each part of the user's body; 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, the relative position of each body part with respect to the adjustable part corresponding to each body part is determined.
7. The method of claim 6, wherein, The user information module is also used to store user identity information. The sofa is a sofa with a zero-gravity state. When an adjustment command for the sofa is detected, the module obtains preset adjustment parameters corresponding to the command, including: If an adjustment command for the sofa is detected, determine whether the adjustment command is an adjustment command to the zero-gravity state; When the adjustment command is an adjustment command to the zero-gravity state, the preset adjustment parameters of the zero-gravity state corresponding to the user identity information are obtained.
8. A device for adjusting a sofa, characterized in that include: The acquisition module is used to acquire the user's posture when using the sofa and the preset adjustment parameters corresponding to the instruction when an adjustment command for the sofa is detected. The preset adjustment parameters include the adjustment range of each adjustable part of the sofa. The adjustment module is used to adjust the adjustment range of the target adjustable part according to the user's posture, the adjustment range of the target adjustable part, and the current distance between the target adjustable part and the corresponding obstacle, to obtain the adjusted adjustment range. The target adjustable part is at least one of the adjustable parts. During the process of adjusting the sofa according to the adjusted adjustment range, 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.
9. A computer device comprising a memory and a processor, the memory storing a computer program capable of running on the processor, characterized in that, When the processor executes the program, it implements the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 7.
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
