Vehicle control method, apparatus, device, vehicle, and storage medium
By acquiring human posture information and adjusting the suspension in vehicle sleep mode, the problem of poor sleep experience caused by non-level in-vehicle mattresses is solved, thus improving the user's sleep comfort.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- BEIJING CO WHEELS TECH CO LTD
- Filing Date
- 2023-02-23
- Publication Date
- 2026-04-24
AI Technical Summary
When the vehicle is in motion or parked, the in-vehicle mattress can lead to a poor sleep experience for users due to the non-level position of the vehicle's cabin.
By acquiring human posture information when the vehicle is in sleep mode, determining whether the sleeping posture conditions are met, and adjusting the vehicle suspension to keep the in-vehicle mattress in a horizontal position, the vehicle uses a built-in gyroscope angle sensor or image acquisition device to acquire tilt angle information, and adjusts the suspension in combination with preset angle range and adjustment parameters.
It enables users to maintain a level car mattress by adjusting the vehicle's posture in vehicle sleep mode, thereby improving sleep comfort.
Smart Images

Figure CN116619966B_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of vehicle intelligent control technology, and in particular to a vehicle control method, device, equipment, vehicle, and storage medium. Background Technology
[0002] With the development of technology, automobiles are becoming increasingly intelligent, and people's demands for cars are constantly increasing, especially the requirements for the comfort of car use. This is mainly because cars are people's primary means of transportation, and the time people spend in cars is also constantly increasing. For example, people spend a lot of time resting and taking naps in their cars.
[0003] When people rest in a car, they usually lie on the car mattress inside the cabin. However, under normal driving conditions, the floor of the vehicle cabin is generally lower in the front and higher in the back, or when the vehicle is parked on a sloped surface, the floor of the cabin is not level. This causes the car mattress placed at the bottom of the cabin to be in a non-level position.
[0004] Thus, since people are very sensitive to angles when they are sleeping, the non-horizontal state of the car mattress will make the user's sleeping experience worse. Summary of the Invention
[0005] This disclosure provides a vehicle control method, apparatus, device, vehicle, and storage medium that adjusts the vehicle suspension to keep the vehicle mattress level when a person is in a sleeping position, thereby providing a better sleep experience for the user.
[0006] In a first aspect, embodiments of this disclosure provide a vehicle control method, including:
[0007] Human posture information is acquired when the vehicle is in sleep mode;
[0008] Determine whether the human posture information meets the sleeping posture requirements based on the relative positional relationship of human body parts;
[0009] When the human posture information meets the sleeping posture conditions, it is determined whether the vehicle mattress is in a horizontal state, wherein the vehicle mattress is placed inside the cabin of the vehicle.
[0010] When the vehicle mattress is not in a level position, adjust the vehicle suspension to make the vehicle mattress level.
[0011] In one embodiment of this disclosure, determining whether the vehicle-mounted mattress is in a horizontal position includes:
[0012] Obtain the current tilt angle information of the vehicle;
[0013] Determine whether the current tilt angle information is within the preset angle range;
[0014] If the current tilt angle information is within the preset angle range, then the vehicle mattress is determined to be in a horizontal state;
[0015] If the current tilt angle information is not within the preset angle range, it is determined that the vehicle mattress is not in a horizontal state.
[0016] In one embodiment of this disclosure, obtaining the current tilt angle information of the vehicle includes:
[0017] The vehicle's current tilt angle information is obtained through the vehicle's built-in gyroscope angle sensor; and / or
[0018] The vehicle acquires a detection image of the vehicle mattress using an image acquisition device inside the vehicle. The detection image is then compared and analyzed with a preset image to obtain the current tilt angle information of the vehicle. The preset image is acquired by the image acquisition device, and the vehicle mattress in the preset image is in a horizontal state.
[0019] In one embodiment of this disclosure, adjusting the vehicle suspension includes:
[0020] Based on the current tilt angle information, a query is performed on the correspondence between angle information and adjustment parameters;
[0021] The adjustment parameters obtained from the query will be used as the target adjustment parameters for the vehicle suspension.
[0022] The vehicle suspension is adjusted according to the target adjustment parameters.
[0023] In one embodiment of this disclosure, the target adjustment parameters include a target suspension indicator and a target adjustment range;
[0024] The step of adjusting the vehicle suspension according to the target adjustment parameters includes:
[0025] The vehicle suspension corresponding to the target suspension indicator is adjusted according to the target adjustment range.
[0026] In one embodiment of this disclosure, acquiring human posture information includes:
[0027] The image acquisition device inside the vehicle acquires images including those of the human body, thus obtaining the acquired images;
[0028] The human body regions included in the acquired images are identified to obtain human posture information.
[0029] In one embodiment of this disclosure, the human posture information includes the position of the human head, the length of the human head, and the length of the human body.
[0030] Determining whether the human posture information meets the sleeping posture conditions based on the relative positional relationships of human body parts includes:
[0031] Determine whether the shortest distance between the human head position and the vehicle-mounted mattress is less than a preset distance;
[0032] When the shortest distance is less than a preset distance, the ratio of the length of the human head to the length of the human body is calculated to obtain the head-to-body ratio.
[0033] When the head-to-body ratio is within a preset range, the human posture information is determined to meet the sleeping posture conditions.
[0034] Secondly, embodiments of this disclosure provide a vehicle control device, comprising:
[0035] The human posture information acquisition module is used to acquire human posture information when the vehicle is in sleep mode.
[0036] The sleeping posture determination module is used to determine whether the human posture information meets the sleeping posture conditions based on the relative positional relationship of human body parts.
[0037] The mattress status determination module is used to determine whether the vehicle mattress is in a horizontal state when the human posture information meets the sleeping posture conditions, wherein the vehicle mattress is placed inside the cabin of the vehicle.
[0038] The vehicle suspension adjustment module is used to adjust the vehicle suspension so that the vehicle mattress is in a horizontal position when the mattress is not in a horizontal position.
[0039] In one embodiment of this disclosure, the mattress state determination module includes:
[0040] A tilt angle information acquisition unit is used to acquire the current tilt angle information of the vehicle;
[0041] The first judgment unit is used to determine whether the current tilt angle information is within a preset angle range;
[0042] A horizontal state determination unit is used to determine that the vehicle mattress is in a horizontal state if the current tilt angle information is within the preset angle range;
[0043] A non-horizontal state determination unit is used to determine that the vehicle mattress is not in a horizontal state if the current tilt angle information is not within the preset angle range.
[0044] In one embodiment of this disclosure, the tilt angle information acquisition unit includes: a first tilt angle information acquisition subunit, which acquires the current tilt angle information of the vehicle through the vehicle's built-in gyroscope angle sensor; and / or, a second tilt angle information acquisition subunit, which acquires a detection image including the vehicle mattress through an image acquisition device inside the vehicle, compares and analyzes the detection image and a preset image to obtain the current tilt angle information of the vehicle, wherein the preset image is acquired by the image acquisition device, and the vehicle mattress included in the preset image is in a horizontal state.
[0045] In one embodiment of this disclosure, the suspension adjustment module includes: a query unit, configured to query the correspondence between angle information and adjustment parameters based on the current tilt angle information; a target adjustment parameter determination unit, configured to use the queried adjustment parameters as target adjustment parameters for the vehicle suspension; and a suspension adjustment unit, configured to adjust the vehicle suspension according to the target adjustment parameters.
[0046] In one embodiment of this disclosure, the target adjustment parameters include a target suspension identifier and a target adjustment range; the suspension adjustment unit is specifically used to control the vehicle suspension corresponding to the target suspension identifier to adjust according to the target adjustment range.
[0047] In one embodiment of this disclosure, the human posture information acquisition module includes: an image acquisition unit, used to acquire an image including a human body through an image acquisition device inside the vehicle to obtain an acquired image; and a human posture information acquisition unit, used to identify the human body region included in the acquired image to obtain human posture information.
[0048] In one embodiment of this disclosure, the human posture information includes the position of the human head, the length of the human head, and the length of the human body. The sleeping posture judgment module includes: a distance judgment unit, used to determine whether the shortest distance between the position of the human head and the vehicle-mounted mattress is less than a preset distance; a head-to-body ratio calculation unit, used to calculate the ratio of the length of the human head to the length of the human body when the shortest distance is less than the preset distance, to obtain the head-to-body ratio; and a sleeping posture determination unit, used to determine that the human posture information meets the sleeping posture conditions when the head-to-body ratio is within a preset range.
[0049] Thirdly, embodiments of this disclosure provide an electronic device, the electronic device comprising:
[0050] One or more processors;
[0051] Storage device for storing one or more programs;
[0052] When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of the first aspects above.
[0053] Fourthly, embodiments of this disclosure provide a computer-readable storage medium having a computer program stored thereon, characterized in that the program, when executed by a processor, implements the method as described in any one of the first aspects above.
[0054] Fifthly, embodiments of this disclosure provide a vehicle including the method as described in any one of the first aspects above.
[0055] This disclosure provides a vehicle control method, apparatus, device, vehicle, and storage medium. The method includes: acquiring human posture information when the vehicle is in sleep mode; determining whether the human posture information meets sleeping posture conditions based on the relative positional relationship of human body parts; determining whether the vehicle-mounted mattress is in a horizontal state when the human posture information meets the sleeping posture conditions, wherein the vehicle-mounted mattress is placed inside the vehicle's cabin; and adjusting the vehicle suspension to make the vehicle-mounted mattress horizontal when the vehicle-mounted mattress is not horizontal. This disclosure, by determining whether the user meets sleeping posture conditions in sleep mode, and adjusting the vehicle suspension to adjust the vehicle's posture when the user meets the sleeping posture conditions, thereby adjusting the vehicle-mounted mattress to make it horizontal, provides a more comfortable sleep experience for the person lying on the mattress. Attached Figure Description
[0056] The accompanying drawings, which are incorporated in and form a part of this specification, illustrate embodiments consistent with this disclosure and, together with the description, serve to explain the principles of this disclosure.
[0057] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0058] Figure 1 This is a schematic flowchart of a vehicle control method according to an embodiment of the present disclosure;
[0059] Figure 2 This is a schematic diagram of a vehicle structure including a suspension according to an embodiment of the present disclosure;
[0060] Figure 3 This is a schematic diagram of the structure of a vehicle control device according to an embodiment of the present disclosure;
[0061] Figure 4This is a schematic diagram of the structure of an electronic device provided in an embodiment of this disclosure. Detailed Implementation
[0062] To better understand the above-mentioned objectives, features, and advantages of this disclosure, the solutions disclosed herein will be further described below. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.
[0063] Embodiments of this disclosure will now be described in more detail with reference to the accompanying drawings. While some embodiments of this disclosure are shown in the drawings, it should be understood that this disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of this disclosure. It should be understood that the accompanying drawings and embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of protection of this disclosure.
[0064] It should be understood that the steps described in the method embodiments of this disclosure may be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of this disclosure is not limited in this respect.
[0065] The term "comprising" and its variations as used herein are open-ended inclusion, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.
[0066] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are used only to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependencies.
[0067] It should be noted that the terms "a" and "a plurality of" used in this disclosure are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0068] The names of messages or information exchanged between multiple devices in the embodiments of this disclosure are for illustrative purposes only and are not intended to limit the scope of such messages or information.
[0069] The vehicle control method provided in the embodiments of this disclosure will be described in detail below with reference to the accompanying drawings.
[0070] Figure 1This is a flowchart illustrating a vehicle control method according to an embodiment of the present disclosure. This embodiment is applicable to situations involving adjusting the level of a vehicle mattress. The vehicle control method is executed by a vehicle control device. This vehicle control device can be implemented using software and / or hardware, and can be configured in an electronic device.
[0071] For example, the electronic device may be a mobile terminal, a fixed terminal, or a portable terminal, such as a mobile phone, site, unit, device, multimedia computer, multimedia tablet, internet module, communicator, desktop computer, laptop computer, notebook computer, netbook computer, tablet computer, personal communication system (PCS) device, personal navigation device, personal digital assistant (PDA), audio / video player, digital camera / camcorder, positioning device, television receiver, radio broadcast receiver, e-book device, gaming device, or any combination thereof, including accessories and peripherals of these devices, or any combination thereof.
[0072] For example, the electronic device can be a server, which can be a physical server or a cloud server. The server can be a single server or a server cluster.
[0073] Specifically, such as Figure 1 As shown, the vehicle control method provided in this embodiment mainly includes steps S101-S104.
[0074] S101. When the vehicle is in sleep mode, acquire human posture information.
[0075] In this embodiment of the disclosure, the sleep mode can be understood as a mode in which the vehicle enters a leisure state after parking. The leisure state is mainly used to provide users with a state of leisure, entertainment, sleep, etc. In the sleep mode, users can not only listen to music and watch videos, but also place a mattress inside the vehicle cabin so that users can rest or sleep on the mattress.
[0076] In one embodiment of this disclosure, in response to receiving a vehicle mode switching command, the vehicle mode is switched from non-sleep mode to sleep mode, controlling the vehicle to operate in sleep mode. Non-sleep mode can be a normal usage mode, karaoke mode, etc.
[0077] In this embodiment of the disclosure, after the vehicle switches from driving mode to parked mode, it is detected whether a vehicle mode switching command input by the user has been received. This command can be input by the user via a click, voice, or gesture. For example, if the user inputs the voice command "Please switch the mode to sleep mode," the vehicle mode switching command is successfully input.
[0078] In one specific implementation, the vehicle mode switching command can be a command input by the user through the vehicle's central control display screen. Specifically, the user can bring up the mode switching interface by clicking, swiping, or using voice commands, and display this interface on the central control display screen. Then, the user can input the mode switching command through the displayed interface. Once the vehicle receives the mode switching command, it can execute the corresponding mode switching operation.
[0079] In one possible implementation, the vehicle mode switching command can also be input by the user through a designated terminal connected to the vehicle. Specifically, the vehicle and the designated terminal can be connected via Bluetooth. When the terminal receives a user-input command to open a program, it opens the designated application and displays its interface. This designated application can be a dedicated application for managing the vehicle. After displaying the application's interface on the terminal, the terminal can receive the vehicle mode switching command input by the user. Finally, the terminal can send the received vehicle mode switching command to the vehicle and instruct the vehicle to perform a mode switching operation according to the command.
[0080] In this embodiment of the disclosure, the human posture information can be understood as representing a certain action or posture that the human body is currently performing. For example, human posture may include sitting posture, kneeling posture, bending posture, sleeping posture, etc.
[0081] In one embodiment of this disclosure, obtaining human posture information includes: acquiring an image including a human body through an image acquisition device inside the vehicle to obtain an acquired image; and identifying the human body region included in the acquired image to obtain human posture information.
[0082] The vehicle is equipped with an image acquisition device, which can be a camera. The camera is installed in a position that allows it to capture a complete, unobstructed view of the vehicle-mounted mattress.
[0083] In one embodiment of this disclosure, image information corresponding to the human body is acquired, the image information is identified to obtain skeletal key points in the human body, and the obtained skeletal key points are connected to obtain the posture information of the human body.
[0084] In one embodiment of this disclosure, image information corresponding to a human body is obtained, wherein the image information includes a depth value. After performing three-dimensional modeling on the image information, a three-dimensional model corresponding to the human body is obtained. The coordinate values of the three-dimensional model in three-dimensional space can be used as human body posture information.
[0085] S102. Determine whether the human posture information meets the sleeping posture conditions based on the relative positional relationship of human body parts.
[0086] The relative positional relationship of human body parts refers to the relative positional relationship between various parts of the body when the body is in a sleeping position, such as the relative positional relationship between the head and feet, the ratio of head length to body length, etc.
[0087] In one embodiment of this disclosure, image information corresponding to the human body is acquired, and the image information is identified to obtain the position of the human head, the length of the human head, and the length of the human body. The body length refers to the length of the torso and head combined, that is, the length from the top of the human head to the bottom of the feet. The head length refers to the length from the top of the human head to the chin.
[0088] In one embodiment of this disclosure, after obtaining human posture information, it is necessary to determine whether the human posture information meets the sleeping posture conditions. The sleeping posture can be any lying position such as supine, side-lying, or prone. The sleeping posture conditions refer to the human posture information obtained when the user is lying on the car mattress, which meets the preset relative positional relationship of human body parts.
[0089] In one embodiment of this disclosure, determining whether the human posture information meets the sleeping posture conditions based on the relative positional relationship of human body parts includes: determining whether the shortest distance between the human head position and the vehicle mattress is less than a preset distance; when the shortest distance is less than the preset distance, calculating the ratio of the human head length to the human body length to obtain the head-to-body ratio; and when the head-to-body ratio is within a preset range, determining that the human posture information meets the sleeping posture conditions.
[0090] In this embodiment of the disclosure, the preset distance can be 0. Specifically, determining whether the shortest distance between the human head and the vehicle-mounted mattress is less than the preset distance can be understood as determining whether the human head is in contact with the vehicle-mounted mattress. When the shortest distance is less than the preset distance, it means that the human head is in contact with the vehicle-mounted mattress.
[0091] Furthermore, the preset range is obtained based on experience, generally between 1 / 7 and 1 / 9, meaning that for most people in a sleeping position, the ratio of their head to their body is between 1 / 7 and 1 / 9. Further, when the human head is in contact with the car mattress and the ratio of the human head length to the human body length is within this range of 1 / 7 to 1 / 9, the human body is determined to meet the sleeping posture requirements; if it is not within this range, the human posture information is determined to not meet the sleeping posture requirements.
[0092] In this embodiment, if the human posture information meets the sleeping posture conditions, step S102 is executed. If the human posture information does not meet the sleeping posture conditions, the human posture information is acquired again after a preset interval to determine whether the human posture information meets the sleeping posture conditions. In this embodiment, when the human posture information does not meet the sleeping posture conditions, such as in a sitting position, the human body is not particularly sensitive to horizontal states in a sitting position, meaning the user may not feel the discomfort caused by a non-horizontal state. In this case, the vehicle suspension can be left unadjusted, avoiding frequent suspension adjustments that could affect the suspension's lifespan.
[0093] S103. When the human posture information meets the sleeping posture conditions, determine whether the vehicle mattress is in a horizontal state, wherein the vehicle mattress is placed inside the cabin of the vehicle.
[0094] In this embodiment of the disclosure, since the position of the image acquisition device installed inside the vehicle is fixed, that is, when the human posture information included in the image acquired by it meets the sleeping posture conditions, the default is that the vehicle mattress is placed inside the cabin and the human body is lying on the vehicle mattress.
[0095] The term "horizontal" in this context can be understood as the upper surface of the vehicle mattress being parallel to a horizontal plane. In one embodiment of this disclosure, determining whether the vehicle mattress is horizontal includes: acquiring the current tilt angle information of the vehicle; determining whether the current tilt angle information is within a preset angle range; if the current tilt angle information is within the preset angle range, then determining that the vehicle mattress is horizontal; if the current tilt angle information is not within the preset angle range, then determining that the vehicle mattress is not horizontal.
[0096] The tilt angle information may include pitch angle and roll angle. Further, the pitch angle may be the vehicle's forward / backward tilt angle, and the roll angle may be the vehicle's left / right tilt angle. The preset angle range can be set according to the user's perception of the horizontal plane; optionally, the preset angle range is 10 to 15 degrees.
[0097] In one embodiment of this disclosure, obtaining the current tilt angle information of the vehicle includes: obtaining the current tilt angle information of the vehicle through the vehicle's built-in gyroscope angle sensor.
[0098] In this embodiment, the built-in gyroscope angle sensor can detect the tilt angle information corresponding to the current vehicle state. The built-in gyroscope angle sensor can be integrated into the vehicle during the manufacturing process or installed by the user after the vehicle leaves the factory; this embodiment does not limit the installation time or method of the built-in gyroscope.
[0099] In one embodiment of this disclosure, obtaining the current tilt angle information of the vehicle includes: acquiring a detection image including the vehicle mattress through an image acquisition device inside the vehicle, comparing and analyzing the detection image and a preset image to obtain the current tilt angle information of the vehicle, wherein the preset image is acquired by the image acquisition device, and the vehicle mattress included in the preset image is in a horizontal state.
[0100] In this embodiment of the disclosure, the preset image refers to the image captured by the image acquisition device when the vehicle-mounted mattress is in a horizontal position. The currently captured detection image is analyzed and compared with the preset image to obtain the current tilt angle information.
[0101] In this embodiment of the disclosure, the current tilt angle information is calculated based on the first camera coordinates of a key point (e.g., the upper left corner of the vehicle mattress) in the detection image, the second camera coordinates of the key point in the preset image, and the camera coordinate origin.
[0102] S103. When the vehicle mattress is not in a horizontal position, adjust the vehicle suspension so that the vehicle mattress is in a horizontal position.
[0103] In the embodiments disclosed herein, such as Figure 2 As shown, the upper surface of the car mattress (the plane that directly contacts the human body) is parallel to the bottom of the vehicle cabin, and the horizontal state of the upper surface of the car mattress changes in real time with the horizontal state of the bottom of the vehicle cabin. Therefore, the height of the vehicle suspension can be adjusted to change the horizontal state of the bottom of the vehicle cabin, thereby adjusting the horizontal state of the car mattress.
[0104] In this embodiment of the disclosure, the vehicle suspension can be any one of MacPherson independent suspension, multi-link independent suspension, double wishbone independent suspension, etc., and this embodiment of the disclosure does not specifically limit the type of vehicle suspension.
[0105] In this embodiment of the disclosure, when the front end of the vehicle is higher than the rear end, the height of the rear wheel suspension can be increased, and / or the height of the front wheel suspension can be decreased. When the front end of the vehicle is lower than the rear end, the height of the rear wheel suspension can be decreased, and / or the height of the front wheel suspension can be increased. Similarly, the height of the left wheel suspension and / or the height of the right wheel suspension can be adjusted according to the status information of the vehicle mattress.
[0106] In this embodiment, the rear suspension and front suspension can be adjusted simultaneously or sequentially, and this embodiment does not specifically limit the adjustment. Furthermore, during the suspension adjustment process, the status information of the vehicle mattress can be acquired in real time to determine whether the vehicle mattress is in a level state. When the vehicle mattress is detected to be in a level state, the suspension adjustment is stopped.
[0107] In one embodiment of this disclosure, adjusting the vehicle suspension includes: querying the correspondence between angle information and adjustment parameters based on the current tilt angle information; using the queried adjustment parameters as target adjustment parameters for the suspension; and adjusting the vehicle suspension according to the target adjustment parameters.
[0108] The adjustment parameters mainly include suspension indicators and adjustment ranges. The suspension indicators specify which suspension position needs adjustment, and the adjustment range is the degree to which the suspension needs to be raised or lowered. In this embodiment, the correspondence between angle information and adjustment parameters is pre-stored; for example, the adjustment parameters corresponding to a pitch angle of 10° and a roll angle of 15°. Furthermore, the above correspondence can be obtained through multiple experiments, and during vehicle use, the correspondence can be continuously learned and optimized to make the target adjustment parameters more accurate.
[0109] In one embodiment of this disclosure, the target adjustment parameter includes a target suspension identifier and a target adjustment range; adjusting the vehicle suspension according to the target adjustment parameter includes: controlling the vehicle suspension corresponding to the target suspension identifier to adjust according to the target adjustment range.
[0110] In this embodiment of the disclosure, the target suspension indicator is used to indicate the suspension that needs adjustment. For example, controlling the suspension corresponding to the left front wheel to rise by 2 cm; controlling the suspension corresponding to the right rear wheel to fall by 3 cm, etc.
[0111] This disclosure provides a vehicle control method comprising: acquiring human posture information when the vehicle is in sleep mode; determining whether the human posture information meets sleeping posture conditions based on the relative positional relationship of human body parts; determining whether the vehicle mattress is in a horizontal position when the human posture information meets the sleeping posture conditions, wherein the vehicle mattress is placed inside the vehicle's cabin; and adjusting the vehicle suspension to make the vehicle mattress horizontal when the vehicle mattress is not horizontal. This disclosure, by determining whether the user is in a sleeping posture during sleep mode, and adjusting the vehicle suspension to adjust the vehicle's posture when the user is in a sleeping posture, thereby adjusting the vehicle mattress to make it horizontal, provides a more comfortable sleep experience for the person lying on the mattress.
[0112] Figure 3 This is a schematic diagram of a vehicle control device according to an embodiment of the present disclosure. This embodiment is applicable to situations where the level of a vehicle mattress needs to be adjusted. The vehicle control device can be implemented using software and / or hardware, and can be configured within an electronic device.
[0113] Specifically, such as Figure 3 As shown, the vehicle control device 30 provided in this embodiment mainly includes a human posture information acquisition module 31, a sleeping posture judgment module 32, a mattress status judgment module 33, and a suspension adjustment module 34.
[0114] The human posture information acquisition module is used to acquire human posture information when the vehicle is in sleep mode.
[0115] Sleep posture determination module 32 is used to determine whether the human posture information meets the sleeping posture conditions based on the relative positional relationship of human body parts;
[0116] The mattress status judgment module 33 is used to determine whether the vehicle mattress is in a horizontal state when the human posture information meets the sleeping posture conditions based on the relative position relationship of human body parts, wherein the vehicle mattress is placed inside the cabin of the vehicle.
[0117] The vehicle suspension adjustment module 34 is used to adjust the vehicle suspension so that the vehicle mattress is in a horizontal position when the vehicle mattress is not in a horizontal position.
[0118] This disclosure provides a vehicle control device that executes the following process: when the vehicle is in sleep mode, it acquires human posture information; based on the relative positional relationship of human body parts, it determines whether the human posture information meets sleeping posture conditions; when the human posture information meets the sleeping posture conditions, it determines whether the vehicle-mounted mattress is in a horizontal state, wherein the vehicle-mounted mattress is placed inside the vehicle's cabin; when the vehicle-mounted mattress is not in a horizontal state, it adjusts the vehicle suspension to make the vehicle-mounted mattress horizontal. This disclosure, by determining whether the user is in a sleeping posture in sleep mode, and adjusting the vehicle suspension when the user is in a sleeping posture, adjusts the vehicle's posture, thereby adjusting the vehicle-mounted mattress to make it horizontal, providing a more comfortable sleep experience for the person lying on the mattress.
[0119] In one embodiment of this disclosure, the mattress state determination module includes:
[0120] A tilt angle information acquisition unit is used to acquire the current tilt angle information of the vehicle;
[0121] The first judgment unit is used to determine whether the current tilt angle information is within a preset angle range;
[0122] A horizontal state determination unit is used to determine that the vehicle mattress is in a horizontal state if the current tilt angle information is within the preset angle range;
[0123] A non-horizontal state determination unit is used to determine that the vehicle mattress is not in a horizontal state if the current tilt angle information is not within the preset angle range.
[0124] In one embodiment of this disclosure, the tilt angle information acquisition unit includes: a first tilt angle information acquisition subunit, which acquires the current tilt angle information of the vehicle through the vehicle's built-in gyroscope angle sensor; and / or, a second tilt angle information acquisition subunit, which acquires a detection image including the vehicle mattress through an image acquisition device inside the vehicle, compares and analyzes the detection image and a preset image to obtain the current tilt angle information of the vehicle, wherein the preset image is acquired by the image acquisition device, and the vehicle mattress included in the preset image is in a horizontal state.
[0125] In one embodiment of this disclosure, the suspension adjustment module includes: a query unit, configured to query the correspondence between angle information and adjustment parameters based on the current tilt angle information; a target adjustment parameter determination unit, configured to use the queried adjustment parameters as the target adjustment parameters of the suspension; and a suspension adjustment unit, configured to adjust the vehicle suspension according to the target adjustment parameters.
[0126] In one embodiment of this disclosure, the target adjustment parameters include a target suspension identifier and a target adjustment range; the suspension adjustment unit is specifically used to control the vehicle suspension corresponding to the target suspension identifier to adjust according to the target adjustment range.
[0127] In one embodiment of this disclosure, the human posture information acquisition module includes: an image acquisition unit, used to acquire an image including a human body through an image acquisition device inside the vehicle to obtain an acquired image; and a human posture information acquisition unit, used to identify the human body region included in the acquired image to obtain human posture information.
[0128] In one embodiment of this disclosure, the human posture information includes the position of the human head, the length of the human head, and the length of the human body. The sleeping posture judgment module includes: a distance judgment unit, used to determine whether the shortest distance between the position of the human head and the vehicle-mounted mattress is less than a preset distance; a head-to-body ratio calculation unit, used to calculate the ratio of the length of the human head to the length of the human body when the shortest distance is less than the preset distance, to obtain the head-to-body ratio; and a sleeping posture determination unit, used to determine that the human posture information meets the sleeping posture conditions when the head-to-body ratio is within a preset range.
[0129] Figure 3 The vehicle control device in the illustrated embodiment is used to execute the vehicle control method in the above method embodiment. Its implementation principle and technical effect are similar, and will not be described again here.
[0130] Figure 4 This is a schematic diagram of the structure of an electronic device according to an embodiment of this disclosure. See below for details. Figure 4 The diagram illustrates a structural schematic suitable for implementing the electronic device 400 in the embodiments of this disclosure. The electronic device 300 in the embodiments of this disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), wearable terminal devices, etc., as well as fixed terminals such as digital TVs, desktop computers, smart home devices, etc. Figure 4 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.
[0131] like Figure 4 As shown, the electronic device 400 may include a processing device (e.g., a central processing unit, a graphics processor, etc.) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 408 into a random access memory (RAM) 403 to implement the vehicle control method as described in the embodiments of this disclosure. The RAM 403 also stores various programs and data required for the operation of the terminal device 400. The processing device 401, ROM 402, and RAM 403 are interconnected via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.
[0132] Typically, the following devices can be connected to I / O interface 405: input devices 406 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 407 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 308 including, for example, magnetic tapes, hard disks, etc.; and communication devices 409. Communication device 409 allows terminal device 400 to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 4 A terminal device 400 with various devices is shown; however, it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed alternatively.
[0133] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts, thereby implementing the vehicle control method as described above. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 409, or installed from a storage device 408, or installed from a ROM 402. When the computer program is executed by the processing device 401, it performs the functions defined in the methods of embodiments of this disclosure.
[0134] It should be noted that the computer-readable medium described in this disclosure can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this disclosure, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in connection with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium can be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wires, optical fibers, RF (radio frequency), etc., or any suitable combination thereof.
[0135] In some implementations, clients and servers can communicate using any currently known or future-developed network protocol, such as HTTP (Hypertext Transfer Protocol), and can interconnect with digital data communication (e.g., communication networks) of any form or medium. Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet of Things), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future-developed networks.
[0136] The aforementioned computer-readable medium may be included in the aforementioned electronic device; or it may exist independently and not assembled into the electronic device.
[0137] The aforementioned computer-readable medium carries one or more programs, which, when executed by the terminal device, cause the terminal device to perform the method as described in any embodiment.
[0138] Computer program code for performing the operations of this disclosure can be written in one or more programming languages or a combination thereof, including but not limited to object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0139] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0140] The units described in the embodiments of this disclosure can be implemented in software or in hardware. The names of the units are not, in some cases, intended to limit the specific unit.
[0141] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, exemplary types of hardware logic components that can be used, without limitation, include: Field Programmable Gate Arrays (FPGAs), Application-Specific Integrated Circuits (ASICs), Application Standard Products (ASSPs), System-on-Chip (SoCs), Complex Programmable Logic Devices (CPLDs), and so on.
[0142] In the context of this disclosure, a machine-readable medium can be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0143] The above description is merely a preferred embodiment of this disclosure and an explanation of the technical principles employed. Those skilled in the art should understand that the scope of this disclosure is not limited to technical solutions formed by specific combinations of the above-described technical features, but should also cover other technical solutions formed by arbitrary combinations of the above-described technical features or their equivalents without departing from the above-described concept. For example, technical solutions formed by substituting the above features with (but not limited to) technical features disclosed in this disclosure that have similar functions.
[0144] Furthermore, while the operations are described in a specific order, this should not be construed as requiring these operations to be performed in the specific order shown or in a sequential order. In certain environments, multitasking and parallel processing may be advantageous. Similarly, while several specific implementation details are included in the above discussion, these should not be construed as limiting the scope of this disclosure. Certain features described in the context of individual embodiments may also be implemented in combination in a single embodiment. Conversely, various features described in the context of a single embodiment may also be implemented individually or in any suitable sub-combination in multiple embodiments.
[0145] Although the subject matter has been described using language specific to structural features and / or methodological logic, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. Rather, the specific features and actions described above are merely illustrative examples of implementing the claims.
Claims
1. A vehicle control method, characterized in that, include: Human posture information is acquired when the vehicle is in sleep mode; The determination of whether the human posture information meets the sleeping posture conditions is based on the relative positional relationship of human body parts; wherein, the human posture information includes the position of the human head, the length of the human head, and the length of the human body; When the human posture information meets the sleeping posture conditions, it is determined whether the vehicle mattress is in a horizontal state, wherein the vehicle mattress is placed inside the cabin of the vehicle. When the vehicle mattress is not in a horizontal position, adjust the vehicle suspension to make the vehicle mattress horizontal. The step of determining whether the human posture information meets the sleeping posture conditions based on the relative positional relationship of human body parts includes: Determine whether the shortest distance between the human head position and the vehicle mattress is less than a preset distance; When the shortest distance is less than a preset distance, the ratio of the length of the human head to the length of the human body is calculated to obtain the head-to-body ratio. When the head-to-body ratio is within a preset range, the human posture information is determined to meet the sleeping posture conditions.
2. The method according to claim 1, characterized in that, The determination of whether the vehicle mattress is in a level position includes: Obtain the current tilt angle information of the vehicle; Determine whether the current tilt angle information is within the preset angle range; If the current tilt angle information is within the preset angle range, then the vehicle mattress is determined to be in a horizontal state; If the current tilt angle information is not within the preset angle range, it is determined that the vehicle mattress is not in a horizontal state.
3. The method according to claim 2, characterized in that, The step of obtaining the current tilt angle information of the vehicle includes: The vehicle's current tilt angle information is obtained through the vehicle's built-in gyroscope angle sensor; and / or The vehicle acquires a detection image of the vehicle mattress using an image acquisition device inside the vehicle. The detection image is then compared and analyzed with a preset image to obtain the current tilt angle information of the vehicle. The preset image is acquired by the image acquisition device, and the vehicle mattress in the preset image is in a horizontal state.
4. The method according to claim 2, characterized in that, The adjustment of the vehicle suspension includes: Based on the current tilt angle information, a query is performed on the correspondence between angle information and adjustment parameters; The adjustment parameters obtained from the query will be used as the target adjustment parameters for the vehicle suspension. The vehicle suspension is adjusted according to the target adjustment parameters.
5. The method according to claim 4, characterized in that, The target adjustment parameters include the target suspension indicator and the target adjustment range; The step of adjusting the vehicle suspension according to the target adjustment parameters includes: The vehicle suspension corresponding to the target suspension indicator is adjusted according to the target adjustment range.
6. The method according to claim 1, characterized in that, The acquisition of human posture information includes: The image acquisition device inside the vehicle acquires images including those of the human body, thus obtaining the acquired images; The human body regions included in the acquired images are identified to obtain human posture information.
7. A vehicle control device, characterized in that, include: The human posture information acquisition module is used to acquire human posture information when the vehicle is in sleep mode. The sleeping posture determination module is used to determine whether the human posture information meets the sleeping posture conditions based on the relative positional relationship of human body parts; wherein, the human posture information includes the position of the human head, the length of the human head, and the length of the human body; The mattress status determination module is used to determine whether the vehicle mattress is in a horizontal state when the human posture information meets the sleeping posture conditions, wherein the vehicle mattress is placed inside the cabin of the vehicle. The vehicle suspension adjustment module is used to adjust the vehicle suspension so that the vehicle mattress is in a horizontal position when the vehicle mattress is not in a horizontal position. The sleeping posture determination module includes: A distance determination unit is used to determine whether the shortest distance between the human head position and the vehicle mattress is less than a preset distance; The head-to-body ratio calculation unit is used to calculate the ratio of the length of the human head to the length of the human body when the shortest distance is less than a preset distance, so as to obtain the head-to-body ratio. The sleeping posture determination unit is used to determine that the human posture information meets the sleeping posture conditions when the head-to-body ratio is within a preset range.
8. An electronic device, characterized in that, The electronic device includes: One or more processors; Storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-6.
10. A vehicle, characterized in that, The vehicle includes the electronic equipment as described in claim 8.
Citation Information
Patent Citations
Method and device for laying electric bed flatly, computer device and storage medium
CN110097747A
Air conditioner and control method
CN114017909A
Sleep mode starting method and device, vehicle and storage medium
CN114296358A