Rearview mirror control method and device and vehicle
Patent Information
- Application Number
- CN202380073118.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-14
- Publication Date
- 2025-05-23
AI Technical Summary
The adjustment of rearview mirrors in the existing technology is complicated, especially when the driving state is frequently switched, which affects the driving experience and driving safety.
The rearview mirror is automatically adjusted through the control device, and according to the user's control intention and human eye position data, the rearview mirror is intelligently adjusted to avoid manual adjustment.
It improves the driving experience and safety, ensures that the rearview mirror provides the best viewing angle under different driving conditions, and reduces the complexity of user operations.
Smart Images

Figure CN120035534A_ABST
Abstract
Description
Rearview mirror control method, device and vehicle Technical Field
[0001] The present application relates to the field of artificial intelligence technology, and in particular to a method and device for controlling a rearview mirror and a vehicle. Background Art
[0002] Rearview mirrors are crucial components for safe vehicle operation. When a vehicle is in different driving states, such as forward or reverse (also known as reversing), the rearview mirrors are adjusted to different positions (or angles) to match the vehicle's driving state, allowing the user to obtain a better view of the road conditions and obstacles behind the vehicle. However, when the vehicle switches between different driving states, the user is required to manually adjust the position of the rearview mirror to obtain the optimal viewing angle for that driving state. This manual adjustment of the rearview mirror is a complex process, particularly when frequently switching between driving states, resulting in a poor driving experience and impacting driving safety.
[0003] Summary of the Invention
[0004] The embodiments of the present application provide a method, device, and vehicle for controlling a rearview mirror, so as to enable intelligent adjustment of the rearview mirror in different driving states during vehicle use, thereby improving the user experience.
[0005] First, embodiments of the present application provide a method for controlling a rearview mirror. This method can be executed by a control device (e.g., cockpit controller 110 in vehicle 100, as described below). The control device can be implemented as a component within the vehicle, such as a chip, a chip system, or other functional module capable of invoking and executing programs. For ease of understanding, the method will be described below using the control device as the execution subject.
[0006] Exemplarily, the method includes: a control device determines that a user has the intention to control the vehicle to enter a driving state or switch the driving state, which may include a forward driving state or a backward driving state, and then intelligently adjusts the rearview mirror to avoid manual adjustment of the rearview mirror, especially when frequently entering a driving state or frequently switching the driving state, thereby improving the user's driving experience and driving safety.
[0007] Furthermore, the control device adjusts the rearview mirror to a first target position based on the user's control intention for the vehicle and the eye position data, so that the position (or angle) of the rearview mirror matches the user, thereby providing the user with a better viewing angle.
[0008] The position of the rearview mirror may also refer to the angle of the rearview mirror, and controlling the rearview mirror to adjust the position may also refer to controlling the rearview mirror to adjust the angle.
[0009] As an example, the control device can respond to the braking operation input by the user when the vehicle is in the parking gear, determine that the user's control intention for the vehicle is to enter the driving state, and then control the rearview mirror to adjust to the first target position, matching the user's intention to control the vehicle to enter the driving state, thereby realizing automatic adjustment of the rearview mirror when entering the driving state.
[0010] As another example, the control device may, in response to a gear shift operation input by a user, determine that the user's control intention regarding the vehicle is to switch driving states, wherein the gear shift operation is for switching the vehicle from a first gear to a second gear, the second gear being a reverse gear or a forward gear, the first gear being different from the second gear. The control device may then control the rearview mirror to adjust to a first target position such that the position of the rearview mirror matches the user's intention to control the vehicle to switch driving states, thereby achieving automatic adjustment of the rearview mirror when the vehicle switches driving states.
[0011] For example, when the control intention is to enter a driving state, the control device can control the vehicle's rearview mirror to adjust to a first position based on the eye position data; or, when the control intention is to switch driving states, the control device can control the vehicle's rearview mirror to adjust to a second position based on the eye position data. When the eye position remains the same, different control intentions correspond to different rearview mirror positions, enabling adaptive adjustment of the rearview mirror position under different control intentions. This ensures that the adjusted rearview mirror position matches the driver's control intention and provides the driver with an optimal viewing angle.
[0012] In a possible implementation, the control device may obtain eye position data of the user, where the eye position data is determined based on a captured image of the user.
[0013] When the control intention is to control the vehicle to enter a driving state, the control device may capture an image of the user in response to the user boarding the vehicle. This allows the control device to promptly obtain eye position data when the vehicle enters the driving state, thereby automatically adjusting the rearview mirror when the vehicle enters the driving state.
[0014] When the control intent is to control the vehicle to switch driving states, the control device may capture the user image while the vehicle is traveling in first gear, where the first gear is the gear the vehicle was in before switching driving states. Capturing the user image while the vehicle is traveling in the gear prior to the switch allows the control device to promptly acquire eye position data in response to the intent to control the vehicle's driving state, thereby enabling automatic adjustment of the rearview mirrors during the switching of driving states. Additionally, the control device may capture the user image while the vehicle is traveling in second gear, such as immediately after the vehicle switches to second gear. This also allows for timely acquisition of eye position data in response to the intent to control the vehicle's driving state, and is not limited to capturing user images based on driving in first gear.
[0015] In order to ensure the validity of the eye position data during the acquisition process, in one possible embodiment, the control device may identify the user's image to obtain the user's head posture information, and based on the head posture information, determine whether the duration of the user's face facing the first direction reaches a preset duration; when the duration of the user's face facing the first direction reaches the preset duration, the eye position data is determined based on the user's image. This can avoid the problem of unstable eye position data caused by changes in the user's eye position as the head moves, thereby ensuring that the rearview mirror adjustment can provide the user with an optimal viewing angle.
[0016] When the control intention is to control the vehicle to enter a driving state, the first direction may be directly in front of the user, considering that the user may be looking directly in front of the vehicle when the vehicle starts. When the control intention is to control the vehicle to switch driving states, the first direction may be to the left, left front, right, right rear, or directly in front of the user, considering that the user may be looking at the vehicle's interior rearview mirror, the left rearview mirror, or the right rearview mirror when switching driving states. This allows the control device to obtain valid human eye position data.
[0017] In the process of obtaining the eye position data, in order to ensure the validity of the eye position data, in one possible implementation, when the seat of the user is not adjusted during a first time period, the eye position data is determined based on the user image, and the first time period is the time when the user image is collected.
[0018] In one possible embodiment, when the acquisition of the eye position data fails, the control device may present a prompt message to remind the user that their face has been facing the first direction for a preset period of time and / or to prompt the user to stop adjusting their seat. This allows the control device to obtain valid eye position data in a timely manner and accurately adjust the rearview mirror.
[0019] In some scenarios, multiple gear changes may be executed in a short period of time, such as multiple gear changes to adjust the vehicle's direction when reversing into a parking space, or multiple rapid gear changes due to a driver's miscontrol of the gears. In such situations, frequent rearview mirror adjustments are unnecessary. For example, when reversing into a parking space, although the vehicle switches from rearward to forward travel, the rearview mirror can remain in the position corresponding to the rearward travel state without requiring frequent switching. Therefore, in this embodiment, the control device can, upon determining that the vehicle's speed is greater than or equal to a speed threshold, control the vehicle's rearview mirror to a first target position based on the control intent and eye position data, thereby avoiding unnecessary rearview mirror adjustments.
[0020] In one possible implementation, the control device determines a displacement between a first target position and the current position of the rearview mirror based on the control intent and the eye position data. When the displacement is greater than or equal to a displacement threshold, the control device controls the vehicle's rearview mirror to adjust to the first target position. Adjusting the rearview mirror when the displacement between the first target position and the current position of the rearview mirror is significant can avoid frequent rearview mirror adjustments that would otherwise increase the control device's overhead.
[0021] In order to further improve the convenience of using the vehicle and driving safety, the control device can obtain a first adjustment instruction input by the user, which is used to instruct the adjustment of the rearview mirror of the vehicle, and control the rearview mirror to adjust to the second target position based on the first adjustment instruction and the human eye position data.
[0022] In order to further fine-tune the rearview mirror so that the adjustment of the rearview mirror meets the user's usage requirements, the control device receives a second adjustment instruction input by the user within a preset time after receiving the first adjustment instruction, wherein the second adjustment instruction is used to instruct adjustment of the vehicle's rearview mirror in a target direction; and according to the second adjustment instruction, controls the rearview mirror to adjust from the second target position to a third target position in the target direction.
[0023] Optionally, the first adjustment instruction and / or the second adjustment instruction include an instruction input by the user through audio data (voice control instruction), or the first adjustment instruction and / or the second adjustment instruction include an instruction input by the user by operating a physical key. When the adjustment instruction is an instruction input by the user through audio data, it has better human-computer interaction convenience, and when the adjustment instruction is an instruction input by the user by operating a physical key, the operation reliability is higher.
[0024] In a possible implementation, the control device can determine the rearview mirror to be adjusted based on the user's head posture information, and can control one or more of the multiple rearview mirrors, thereby improving the flexibility of rearview mirror adjustment.
[0025] In second aspect, an embodiment of the present application provides a control device, comprising: a processing unit for determining a user's control intention for a vehicle, the control intention including an intention to control the vehicle to enter a driving state or an intention to switch a driving state; a control unit for controlling the rearview mirror of the vehicle to adjust to a first target position according to the control intention and human eye position data.
[0026] In a possible implementation, the processing unit is specifically configured to: in response to a braking operation input by the user when the vehicle is in a parking gear, determine that the user's control intention for the vehicle is an intention to enter a driving state.
[0027] In one possible embodiment, the processing unit is specifically used to: in response to a gear switching operation input by the user, determine that the user's control intention for the vehicle is an intention to switch the driving state, and the gear switching operation is used to switch the vehicle from a first gear to a second gear, and the second gear is a reverse gear or a forward gear, and the first gear is different from the second gear.
[0028] In one possible embodiment, the control unit is specifically used to: when the control intention is to enter the driving state, control the vehicle's rearview mirror to adjust to the first position according to the human eye position data; or, when the control intention is to switch the driving state, control the vehicle's rearview mirror to adjust to the second position according to the human eye position data.
[0029] In a possible implementation, the method further includes: an acquisition unit configured to acquire eye position data of the user, where the eye position data is determined based on a captured user image.
[0030] In a possible implementation, the control intention is an intention to control the vehicle to enter a driving state, and further includes: a collection unit, configured to collect an image of the user in response to the user riding in the vehicle.
[0031] In one possible embodiment, the control intention is to control the vehicle to switch the driving state, and also includes: a collection unit, used to collect the user image when the vehicle is driving in a first gear or a second gear, the first gear being the gear before the vehicle switches the driving state, and the second gear being the gear after the vehicle switches the driving state.
[0032] In a possible embodiment, the processing unit is also used to: identify the user image to obtain the user's head posture information; determine whether the time the user's face is facing the first direction reaches a preset time based on the head posture information; when the time the user's face is facing the first direction reaches a preset time, determine the human eye position data based on the user image.
[0033] In a possible implementation, when the control intention is to control the vehicle to enter a driving state, the first direction is directly in front of the user.
[0034] In a possible implementation, the processing unit is further configured to determine the eye position data based on the user image when the seat occupied by the user is not adjusted during a first time period, and the first time period is the acquisition time of the user image.
[0035] In a possible embodiment, it also includes a human-computer interaction unit, which is used to: if the acquisition of the human eye position data fails, present a prompt message; wherein the prompt message is used to prompt the user to face the first direction for a preset time period, and / or to stop adjusting the seat on which the user is sitting.
[0036] In one possible implementation, the control intention is to control the vehicle to switch from a rearward driving state to a forward driving state; the control unit is specifically used to: determine whether the speed of the vehicle in the forward driving state is greater than or equal to a speed threshold; when the speed of the vehicle is greater than or equal to the speed threshold, control the rearview mirror of the vehicle to adjust to the first target position according to the control intention and the human eye position data.
[0037] In one possible embodiment, the control unit is specifically used to: determine the displacement between the first target position and the current position of the rearview mirror based on the control intention and human eye position data; when the displacement is greater than or equal to the displacement threshold, control the rearview mirror of the vehicle to adjust to the first target position.
[0038] In one possible embodiment, the control unit is specifically used to: obtain a first adjustment instruction input by the user, where the first adjustment instruction is used to instruct adjustment of the rearview mirror of the vehicle; and control the rearview mirror to adjust to a second target position based on the first adjustment instruction and the human eye position data.
[0039] In one possible embodiment, the control unit is specifically used to: obtain a second adjustment instruction input by the user within a preset time after obtaining the first adjustment instruction, wherein the second adjustment instruction is used to instruct the adjustment of the rearview mirror of the vehicle in the target direction; and according to the second adjustment instruction, control the rearview mirror to adjust from the second target position to the third target position in the target direction.
[0040] In a possible implementation, the first adjustment instruction and / or the second adjustment instruction may be an instruction input by the user through audio data or an instruction input by the user by operating a physical key.
[0041] In one possible implementation, the processing unit is further configured to determine a rearview mirror to be adjusted based on the eye position data. In a third aspect, an embodiment of the present application provides a control device comprising a processor and a memory, the memory being configured to store a computer program, the processor being configured to call and execute the computer program stored in the memory to perform the method provided in the first aspect and various possible implementations of the first aspect.
[0042] In a fourth aspect, an embodiment of the present application provides a chip, comprising: a processor for calling and running a computer program from a memory, so that a device equipped with the chip executes the method provided in the first aspect and various possible implementations of the first aspect.
[0043] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium for storing a computer program, which enables a computer to execute the method provided in the first aspect and various possible implementations of the first aspect.
[0044] In a sixth aspect, an embodiment of the present application provides a computer program product, comprising computer program instructions, which enable a computer to execute the method provided in the first aspect and various possible implementations of the first aspect.
[0045] In a seventh aspect, an embodiment of the present application provides a computer program, which enables a computer to execute the method provided in the first aspect and various possible implementation methods of the first aspect.
[0046] In an eighth aspect, an embodiment of the present application provides a device comprising a logic circuit and an input / output interface, wherein the input / output interface is used to receive signals from other communication devices outside the device and transmit them to the logic circuit or send signals from the logic circuit to other communication devices outside the device, and the logic circuit is used to execute code instructions to implement the method as in the first aspect or each possible implementation method.
[0047] In a ninth aspect, an embodiment of the present application provides a vehicle, comprising a control device as in the second aspect or each possible implementation.
[0048] The beneficial effects of the control device provided by each possible implementation of the second aspect and the ninth aspect can be referred to the beneficial effects brought about by the first aspect and each possible implementation of the first aspect, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0049] FIG1 is a schematic structural diagram of a vehicle provided in an embodiment of the present application;
[0050] FIG2 is a schematic flow chart of a method for controlling a rearview mirror according to an embodiment of the present application;
[0051] FIG3 a is a schematic diagram of a method for controlling a rearview mirror provided in an embodiment of the present application;
[0052] FIG3 b is a schematic diagram of a method for controlling a rearview mirror provided in an embodiment of the present application;
[0053] FIG3 c is a schematic diagram of a method for controlling a rearview mirror provided in an embodiment of the present application;
[0054] FIG4 is a flow chart of another method for controlling a rearview mirror according to an embodiment of the present application;
[0055] FIG5a is a schematic diagram of a method for controlling a rearview mirror provided in an embodiment of the present application;
[0056] FIG5 b is a schematic diagram of a method for controlling a rearview mirror provided in an embodiment of the present application;
[0057] FIG5c is a schematic diagram of a method for controlling a rearview mirror provided in an embodiment of the present application;
[0058] FIG6 is a schematic block diagram of a vehicle control device provided in an embodiment of the present application;
[0059] FIG7 is a schematic block diagram of another vehicle control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0060] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0061] The technical solutions of the embodiments of the present application may be implemented by a mobile device having any appearance or a device deployed in a mobile device, such as an intelligent vehicle, an intelligent robot, etc. The intelligent vehicle may be an autonomous vehicle that automatically controls all functions, an assisted driving vehicle that automatically controls some functions to provide driving assistance, or an ordinary vehicle equipped with an intelligent terminal, all of which are hereinafter referred to as vehicles.
[0062] In addition, the execution subject of the embodiment of the present application can also be a device connected to a removable device, which can be implemented as a terminal device or deployed on a terminal device, such as a smart phone, tablet computer, laptop computer, desktop computer, etc., but not limited to this, or the electronic device can also be a server, which can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services.
[0063] In order to address the problem of poor convenience in adjusting rearview mirrors in the prior art, which leads to a poor driving experience and affects driving safety, the embodiments of the present application provide a rearview mirror control solution that intelligently adjusts the rearview mirror when the user intends to control the vehicle to enter or switch driving states, eliminating the need for manual adjustment of the rearview mirror and improving the user's driving experience and driving safety.
[0064] Furthermore, when it is determined that the user has the intention to enter or switch the driving state, the rearview mirror is adjusted in combination with the position of the human eye, so that the rearview mirror can be adjusted to a position (or angle) suitable for the driver, thereby improving the convenience and safety of using the car.
[0065] Figure 1 is a schematic diagram of the structure of a vehicle provided by an embodiment of the present application. As shown in Figure 1 , a cockpit controller 110 is deployed in the vehicle 100 , and the cockpit controller 110 is connected to a vehicle controller 120 , an image processor 130 , a rearview mirror control device 140 , and a human-computer interaction device 150 .
[0066] The vehicle controller 120 is configured to obtain the vehicle's gear information. The gear information may indicate the vehicle's current gear position. The gear positions provided in the vehicle may include, for example, at least one of parking (P), reverse (R), neutral (N), and drive (D). Some vehicles also include a low (L) gear position. Furthermore, the vehicle controller 120 may transmit the gear information to the cabin controller 110. Alternatively, the vehicle controller 120 may determine the vehicle's driving state, such as forward or reverse, based on the gear information and transmit the vehicle's driving state to the cabin controller 110.
[0067] In some embodiments, the vehicle controller 120 may obtain vehicle speed information and send the vehicle speed information to the cockpit controller 110 .
[0068] The cockpit controller 110 may obtain the driving status of the vehicle from the vehicle controller 120; or, the cockpit controller 110 may obtain the gear information of the vehicle from the vehicle controller 120, and determine the current driving status of the vehicle based on the obtained gear information.
[0069] In some embodiments, the cockpit controller 110 may also obtain vehicle speed information from the vehicle controller 120 .
[0070] The image processor 130 can be connected to the image acquisition device 131 to obtain images captured by the image acquisition device 131 and perform image processing based on the captured images, such as performing image recognition based on the user image to obtain eye position data. The image acquisition device 131 can be implemented as a camera module. The image processor 130 can transmit the image recognition data to the cabin controller 110, or the cabin controller 110 can obtain the image recognition data from the image processor 130.
[0071] The embodiments of the present application do not limit the deployment location of the image acquisition device 131, nor do they limit the number of image acquisition devices 131 deployed in a vehicle. For example, the image acquisition device 131 may be deployed on a structural member within the vehicle cabin and / or on a screen integrated into the vehicle. For example, the image acquisition device 131 may be deployed near the A-pillar and / or B-pillar, or at the front of the vehicle cabin roof. Another example is that the image acquisition device 131 may be deployed on the vehicle's central control screen (e.g., at least one of the positions above, to the left, or to the right of the central control screen).
[0072] The cockpit controller 110 may send a control instruction to the rearview mirror control device 140, and the rearview mirror control device 140 adjusts the position (or angle) of the rearview mirror 141 according to the control instruction. Optionally, the rearview mirror control device 140 may be implemented as a motor controller.
[0073] The rearview mirror 141 may include, but is not limited to, at least one of a left rearview mirror on the vehicle (referred to as the left rearview mirror), a right rearview mirror on the vehicle (referred to as the right rearview mirror), and an interior rearview mirror on the vehicle. Adjustment of the position (or angle) of the rearview mirror 141 may include rotating any rearview mirror in any direction to change the position (or angle) of the rearview mirror, such as adjusting the rearview mirror longitudinally and / or laterally, where the terms "lateral" and "longitudinal" refer to the up, down, left, and right directions perceived by the driver when driving the vehicle.
[0074] The human-machine interaction device 150 can interact with the user based on the control of the cockpit controller 110. For example, the human-machine interaction device 150 can include at least one of a speaker, a microphone, and a display screen. The human-machine interaction device 150 can present prompt information based on the control of the cockpit controller 110.
[0075] It should be noted that the devices shown in FIG1 are merely examples and not restrictive. They may be fully or partially integrated into one physical entity, or may be independent of each other.
[0076] The control method of the rearview mirror provided in the embodiment of the present application will be described in detail below with reference to the accompanying drawings.
[0077] For ease of understanding and explanation only, the following description of the methods provided in the embodiments of the present application is based on a vehicle control device as the execution entity. For example, the control device may be the cockpit controller 110 in FIG. 1 . Of course, the present application is not limited to this. For example, the execution entity of the embodiments of the present application may also be a vehicle controller or any other device in the vehicle with processing capabilities.
[0078] The control device of the vehicle can be implemented as a component in the vehicle, such as a chip, a chip system or other functional module that can call and execute a program. As long as it can implement the method provided by the embodiment of the present application by running a program that records the code of the method provided by the embodiment of the present application, it can serve as the execution subject of the method provided by the embodiment of the present application.
[0079] Fig. 2 is a flow chart of a method 200 for controlling a rearview mirror according to an embodiment of the present invention. As shown in Fig. 2 , the method 200 may include the following steps S210 and S220.
[0080] S210, determining the user's control intention for the vehicle, where the control intention includes an intention to control the vehicle to enter a driving state or an intention to switch the driving state;
[0081] S220: Control the rearview mirror of the vehicle to adjust to a first target position according to the control intention and the eye position data.
[0082] As mentioned above, the driving state includes a forward driving state or a backward driving state.
[0083] The intention to control the vehicle to enter the driving state may be the intention to switch the vehicle from the parking state to the driving state. For example, the intention to switch the vehicle to the driving state may be reflected by starting or about to start the vehicle, or by controlling the vehicle to switch from the parking state (such as the vehicle is in the parking gear or neutral gear) to the driving state.
[0084] It should be understood that the position (or angle) of the rearview mirror should be different when the vehicle is traveling forward and backward to provide the user with a better view of the rear of the vehicle. Therefore, the control device can adjust the rearview mirror according to the control intention. For example, when the vehicle enters or switches to a driving state, the rearview mirror of the vehicle is controlled to adjust to a position corresponding to the driving state.
[0085] For ease of description, the position (or angle) of the rearview mirror that provides the user with an optimal viewing angle will be referred to as the "rearview mirror corresponding position (or angle)" below. The "rearview mirror position (or angle) corresponding to the driving state" refers to the position (or angle) of the rearview mirror that provides the user with an optimal viewing angle under that driving state. Similarly, the "rearview mirror position (or angle) corresponding to the control intent" refers to the position (or angle) of the rearview mirror that provides the user with an optimal viewing angle under that control intent.
[0086] For example, when the eye position remains the same, different control intentions correspond to different rearview mirror positions. That is, if the control intention is to enter a driving state, the control device can control the vehicle's rearview mirror to adjust to a first position based on the eye position data; or, if the control intention is to switch driving states, the control device can control the vehicle's rearview mirror to adjust to a second position based on the eye position data. Generally speaking, when the eye position remains the same, the first and second positions are different first target positions.
[0087] For example, under the same control intent, different driving states can correspond to different rearview mirror positions (or angles). For example, when the control intent is to switch driving states and the vehicle's gear shifts from forward to reverse, the control device can control the vehicle's rearview mirror to adjust to a third position based on the eye position data. For another example, when the control intent is to switch driving states and the vehicle's gear shifts from reverse to forward, the control device can control the vehicle's rearview mirror to adjust to a fourth position based on the eye position data. Both the third and fourth positions can be specific implementations of the second position.
[0088] For example, different driving states can correspond to different rearview mirror positions (or angles). For example, after the user starts the vehicle, that is, when the vehicle enters the forward driving state, the rearview mirror should be adjusted to a position suitable for observing oncoming vehicles from behind to provide a reference for overtaking or merging. For another example, when the user switches from forward gear to reverse gear, the rearview mirror should be adjusted to a position that facilitates observation of road conditions and obstacles to ensure safety. Different control intentions can correspond to different rearview mirror positions (or angles). That is, the same driving state under different control intentions may correspond to different rearview mirror positions (or angles). For example, the rearview mirror position that provides a better viewing angle when entering the forward driving state may be different from the rearview mirror position that provides a better viewing angle when switching from the reverse driving state to the forward driving state.
[0089] Based on this, in some embodiments, the control device can determine that the user's control intention for the vehicle is to enter a driving state in response to a braking operation (e.g., applying the brakes) input by the user while the vehicle is in the parking gear. As shown in FIG3a , the cockpit controller obtains the vehicle's gear information from the vehicle controller, determines that the vehicle is in the parking gear, and detects that the user has applied the brakes. For example, the vehicle controller detects that the brakes have been triggered and sends a braking command to the cockpit controller. For another example, the cockpit controller determines based on the user image that the user is seated and applying the brakes. The cockpit controller then obtains eye position data and, based on the eye position data, determines a rearview mirror adjustment command. This rearview mirror adjustment command instructs the rearview mirror control device to adjust the rearview mirror to a first position, and the rearview mirror control device then adjusts the rearview mirror based on the rearview mirror adjustment command.
[0090] Optionally, before controlling the rearview mirror to adjust to the first target position, the rearview mirror adjustment function may be enabled. For example, the vehicle controller may enable the rearview mirror adjustment function in response to a user operation; or the vehicle controller may enable the rearview mirror adjustment function in response to a trigger event, such as after determining that a user has entered the cabin through images captured by an image acquisition device; or the vehicle controller may enable the rearview mirror adjustment function by default. The cabin controller may control the rearview mirror to automatically adjust itself if the vehicle controller enables the rearview mirror adjustment function.
[0091] Optionally, the control device may control the vehicle's rearview mirror to adjust to the first target position based on the eye position data when the eye positioning function is enabled. For example, the cockpit controller may enable the eye positioning function when the rearview mirror adjustment function is enabled.
[0092] In addition, the control device may also determine that the user's control intention for the vehicle is to enter the driving state in response to other user operations. For example, the control device may determine that the user's control intention for the vehicle is to enter the driving state in response to the user triggering the vehicle start button. For another example, the control device may determine that the user's control intention for the vehicle is to enter the driving state in response to the user operating the vehicle gear position to switch the vehicle gear position from the parking gear position (or neutral gear position) to the drive gear position (or reverse gear position).
[0093] The intention to control the vehicle to switch driving states may include switching the vehicle from a reverse gear to a forward gear, or vice versa, to reflect the intention to switch driving states. Based on this, in some embodiments, the control device may determine that the user's intention to control the vehicle is an intention to switch driving states in response to a gear switching operation input by the user. The gear switching operation is used to switch the vehicle from a first gear to a second gear, where the second gear is either a reverse gear or a forward gear, and the first gear is different from the second gear. For example, the second gear may be a reverse gear and the first gear may be a forward gear, or another example, the second gear may be a forward gear and the first gear may be a reverse gear.
[0094] As shown in Figure 3b, the vehicle controller can switch the vehicle from other driving states (such as forward driving state) to rearward driving state in response to the gear switching operation performed by the user on the vehicle's gear. The cockpit controller obtains the vehicle's gear information from the vehicle controller, and when it is determined that the vehicle is switched from other driving states (such as forward driving state) to rearward driving state, the cockpit controller obtains the human eye position data, and determines the rearview mirror adjustment instruction in combination with the human eye position data. The rearview mirror adjustment instruction is used to instruct the rearview mirror control device to control the rearview mirror to adjust to the second position, and then the rearview mirror control device adjusts the rearview mirror based on the rearview mirror adjustment instruction.
[0095] As shown in Figure 3c , the cockpit controller obtains the vehicle's gear information from the vehicle controller and determines that the vehicle is switching from a forward-driving state to a reverse-driving state. The cockpit controller then controls the rearview mirror to adjust to a third position based on the eye position data, as described in the implementation of Figure 3b . Furthermore, the vehicle controller can switch the vehicle from a reverse-driving state to a forward-driving state in response to a gear switching operation performed by the user. When the cockpit controller obtains the vehicle's gear information from the vehicle controller and determines that the vehicle is switching from a reverse-driving state to a forward-driving state, the cockpit controller obtains the eye position data and, based on the eye position data, determines a rearview mirror adjustment instruction. This rearview mirror adjustment instruction instructs the rearview mirror control device to control the rearview mirror to adjust to a fourth position. The rearview mirror control device then adjusts the rearview mirror based on the rearview mirror adjustment instruction. The vehicle can switch between forward and reverse driving one or more times, and the rearview mirror can be controlled to adjust to the corresponding position during at least one of these driving state switches.
[0096] In the above embodiment, the control device can control the rearview mirror to adjust to the first target position based on the control intention. However, in order to further enable the rearview mirror to provide the driver with a better viewing angle after adjustment, as mentioned above, the control device can also adjust the rearview mirror in combination with the eye position data. The eye position data can be the position of the driver's eyes in three-dimensional space. The three-dimensional space can be a three-dimensional space in a geodetic coordinate system, or it can be a three-dimensional space in a cockpit coordinate system. This is not limited in this application. For example, different drivers have different heights and different eye positions. For another example, changes in the driver's sitting posture while driving will lead to changes in the eye position. Therefore, adjusting the rearview mirror based on the control intention and the eye position data, that is, adjusting the rearview mirror to the first target position, can adjust the rearview mirror to a position that matches the driver's eye position, thereby providing the driver with a better viewing angle.
[0097] The first target position may be a position offset from the position of the rearview mirror determined based on the control intention.
[0098] Exemplarily, the control device may obtain the user's eye position data in advance. The eye position data may be pre-collected and stored, for example, an image processor (such as the image processor 130 in FIG1 ) performs image recognition on the user image captured by the image acquisition device (such as the image acquisition device 131 in FIG1 ) to obtain the eye position data, and stores the eye position data so that the control device can obtain the corresponding eye position data during the adjustment process of the rearview mirror; or, the eye position data may be determined in real time by the control device, for example, the control device obtains the user image captured by the image acquisition device (such as the image acquisition device 131 in FIG1 ) and performs image recognition on the user image to obtain the eye position data. It should be understood that the image processor can perform image processing based on the instructions of the control device. Therefore, whether the eye position data is obtained directly by the control device based on the user image recognition, or is sent to the control device by the image processor based on the user image recognition, it can be understood as the eye position data obtained by the control device.
[0099] The user image may be an image of the interior of the vehicle cabin captured by any image capture device deployed in the vehicle, and the image at least presents the user of the vehicle (such as the driver).
[0100] In the embodiments of the present application, when a user intends to control the vehicle to enter or switch between driving states, the rearview mirror is automatically adjusted, eliminating the need for manual adjustment of the rearview mirror. This improves the user's driving experience and safety, especially when the vehicle frequently enters or switches between driving states. Furthermore, by adjusting the rearview mirror to a first target position based on the user's eye position, the rearview mirror's position (or angle) can be matched to the user, thereby providing the user with an optimal viewing angle.
[0101] The following is an exemplary description of the timing of collecting user images for two control intentions.
[0102] In example 1, when the control intention is to control the vehicle to enter a driving state, the control device can control the image acquisition device to start acquiring an image of the user while the user is in the vehicle. The control device then determines the eye position data based on the user image.
[0103] Optionally, the control device can monitor the vehicle cabin through the image acquisition device, and start collecting the user image when the user enters the vehicle cabin; or, the control device can monitor the user opening the car door and entering the vehicle cabin through the door sensing device, and start collecting the user image; or, the control device can determine that the user is sitting in the vehicle cabin through a seat sensor (such as a gravity sensor installed on the seat), and start collecting the user image.
[0104] In the first example above, the control device may continue to capture the user's image until the user leaves the vehicle cabin; or until the vehicle enters driving mode and completes mirror adjustment; or until the user completes a driving cycle. A driving cycle refers to the process from vehicle startup to shutdown, or from power on to power off.
[0105] In a second example, the control intent is to control the vehicle to switch driving states. As previously mentioned, switching driving states can refer to switching from a first gear to a second gear. In this case, the control device can control the image acquisition device to capture user images while the vehicle is traveling in the first gear or the second gear. In other words, the control device can control the image acquisition device to capture user images before the vehicle switches from the first gear to the second gear (e.g., at the last moment of driving in the first gear), or the control device can control the image acquisition device to capture user images during the vehicle's switching from the first gear to the second gear, or the control device can control the image acquisition device to capture user images after the vehicle switches to the second gear (e.g., at the initial moment of switching to the second gear). Furthermore, the control device determines eye position data based on the user images.
[0106] In some embodiments, the user image acquisition process in Example 2 can be part of the image acquisition process in Example 1. For example, the control device continuously acquires user images after the user enters the vehicle cabin and updates the eye position data determined based on the user images in real time.
[0107] Figure 4 is a flow chart of another rearview mirror control method 300 provided in an embodiment of the present application. Method 300 uses the user image acquisition timing under the control intent of Example 1 above as an example to illustrate how to adjust the rearview mirror. Method 300 may include some or all of the following steps.
[0108] In step S301, after the user gets on the vehicle, the control device determines whether the rearview mirror adjustment function is on. If the rearview mirror adjustment function is on, step S303 is executed; if the rearview mirror adjustment function is not on, the rearview mirror is not adjusted, as in step S304.
[0109] S302: The control device collects images in the cabin through the image collection device to obtain a user image.
[0110] S303, the control device detects the user's head posture. Exemplarily, the control device recognizes the user image, obtains the user's head posture information, and determines whether the duration of the user's face facing the first direction reaches a preset duration based on the user's head posture information. The first direction can be the user's front, left front, right front, left or right, etc. For example and not limitation, when the vehicle starts (or enters the driving state), the first direction can be the user's front. When the vehicle switches from the forward driving state to the reverse driving state, the first direction can be the user's left, front, left front, right or right front, etc.
[0111] When the duration of the user's face facing the first direction reaches a preset duration, it is convenient to obtain accurate eye position data based on the user image. Therefore, when the duration of the user's face facing the first direction reaches a preset duration, the control device can determine the eye position data based on the user image and store the eye position data, or the control device can execute S305 as follows. If the duration of the user's face facing the first direction does not reach the preset duration, the rearview mirror will not be adjusted, that is, the acquisition of the eye position data fails, such as S306. Here, reaching the preset duration may refer to being equal to or greater than the preset duration, and not reaching the preset duration may refer to being less than the preset duration. The preset duration can be any value, such as 2 seconds (s), 2.5s, 5s, etc.
[0112] Furthermore, when the acquisition of eye position data fails, the control device may present a prompt message, such as S307, prompting the user to face the first direction for a preset time period. For example, the control device may play the prompt message through a speaker, or display the prompt message on a display screen. For example, the prompt message may be "Please look straight ahead for 2 seconds."
[0113] S305, the control device determines whether the seat position is changing in the first time period. The first time period may be the acquisition time of the user image, or the acquisition time of the user image includes the first time period. For example, the first time period may be a period of time when the user looks in the first direction during the user image acquisition process. The duration of the first time period may be greater than or equal to the above-mentioned preset duration. Since it is impossible to determine accurate human eye position data based on the user image when the seat changes, it is impossible to obtain valid human eye position data. Therefore, in order to obtain accurate human eye position data, the control device may execute S308 when the seat of the user is not adjusted in the first time period, and execute S309 when the seat of the user is adjusted in the first time period.
[0114] S308: The control device determines eye position data based on the user image. In some embodiments, the control device may store the eye position data as valid eye position data.
[0115] S309, the control device may not identify the user image to obtain the human eye position data, or the control device may not store the human eye position data. Furthermore, the control device may present a prompt message through the human-computer interaction device, and the prompt message is used to prompt the user to stop adjusting the seat on which the user is sitting or to prompt the user to face the first direction for a preset time after adjusting the seat. Exemplarily, the control device may play the prompt message through a speaker, or the control device may display the prompt message through a display screen. The prompt message may be, for example, "Please look straight ahead after completing the seat adjustment" or "Do not adjust the seat, and look straight ahead for 2 seconds."
[0116] The control device can continuously detect the seat position, and when the seat position changes stop, identify the user image to obtain valid human eye position data, and can store the human eye position data.
[0117] S310, the control device responds to the braking operation input by the user when the vehicle is in the parking gear, identifies the user image collected in S302 to obtain human eye position data, or obtains the stored human eye position data, and determines the first target position of the rearview mirror according to the human eye position data.
[0118] S311, the control device determines the displacement between the first target position and the current position of the rearview mirror, and the displacement may be an angular displacement.
[0119] When the displacement between the first target position and the current position of the rearview mirror is greater than or equal to the displacement threshold, the control device controls the rearview mirror to adjust to the first target position, as in S312. When the displacement between the first target position and the current position of the rearview mirror is less than the displacement threshold, the rearview mirror is not adjusted, as in S313. It should be understood that adjusting the rearview mirror when the displacement between the first target position and the current position of the rearview mirror is large can avoid frequent adjustments to the rearview mirror, which would result in a high cost for the control device.
[0120] It should be noted that when the control intent is to switch driving states, the process by which the control device determines the eye position data is similar to at least part of the process from S301 to S309 in FIG4 , with the only difference being the timing of user image acquisition. For the sake of brevity, this description is omitted.
[0121] In some scenarios, multiple gear changes may be executed in a short period of time (see Figure 3c). This can include multiple gear changes to adjust the vehicle's direction when reversing into a parking space, or multiple gear changes due to a driver's miscontrol of the gears. In these situations, there's no need to adjust the rearview mirrors. For example, when reversing into a parking space, although the vehicle switches from a rearward-facing state to a forward-facing state, the rearview mirrors can remain in the position corresponding to the rearward-facing state without the need for frequent switching. Therefore, in this embodiment, the control device can determine whether the vehicle's speed is greater than or equal to a speed threshold, and when the vehicle's speed is greater than or equal to the speed threshold, control the vehicle's rearview mirrors to adjust to a first target position based on the control intent and eye position data.
[0122] In order to further improve the convenience of using the vehicle and driving safety, in an embodiment of the present application, the control device can respond to the user input for adjusting the rearview mirror, adjust the rearview mirror during the use of the vehicle, or adjust the rearview mirror to the second target position during the automatic adjustment of the rearview mirror under the above-mentioned triggering conditions (such as entering the driving state or switching the driving state).
[0123] For example, the control device may receive a first adjustment instruction input by the user and, based on the first adjustment instruction input by the user and the eye position data, control the rearview mirror to adjust to the second target position. The first adjustment instruction may be a user input via audio data, i.e., a voice control instruction, or the first adjustment instruction may be a user input via physical button operation, which is not limited in this application.
[0124] Referring to Figure 5a, the cockpit controller receives a voice control command via a microphone. This voice control command may be generated by the microphone after capturing user audio input, such as "adjust the rearview mirror" or "adjust the left / right rearview mirror." The cockpit controller can determine the rearview mirror to be adjusted based on the voice control command, or it can identify the rearview mirror to be adjusted based on the user's head posture information. Furthermore, the cockpit controller obtains eye position data and, based on this data, determines a rearview mirror adjustment command. This rearview mirror adjustment command is used to adjust the rearview mirror to a second target position. The rearview mirror control device then adjusts the rearview mirror according to this rearview mirror adjustment command. For example, the cockpit controller may display a prompt message after the rearview mirror is adjusted to the second target position. For example, the cockpit controller obtains the rearview mirror adjustment result from the rearview mirror control device to confirm that the rearview mirror has been adjusted to the second target position. This prompt message serves as a reminder to complete the mirror adjustment. For example, this prompt message may be played through a speaker or displayed on a display screen.
[0125] Exemplarily, the control device determining the rearview mirror to be adjusted based on the user's head posture information may include: the control device determining the direction of the user's facial orientation, or the direction of the user's line of sight, based on the user's head posture information, and determining the rearview mirror to be adjusted based on the direction of the user's facial orientation or the direction of the user's line of sight. For example, when the user is looking at the left rearview mirror, the rearview mirror to be adjusted is the left rearview mirror; when the user is looking at the right rearview mirror, the rearview mirror to be adjusted is the right rearview mirror.
[0126] Referring to Figure 5b , a user looks at the rearview mirror to be adjusted and clicks the angle adjustment button. In response to this user action, the cockpit controller determines the rearview mirror to be adjusted. Furthermore, the cockpit controller obtains eye position data and, based on this data, determines a rearview mirror adjustment instruction. This rearview mirror adjustment instruction is used to adjust the rearview mirror to a second target position. The rearview mirror control device then adjusts the rearview mirror according to this rearview mirror adjustment instruction. Similar to Figure 5b , the cockpit controller may display a prompt after the rearview mirror has been adjusted to the second target position, prompting the user to complete the mirror adjustment. For the sake of brevity, this is not further described.
[0127] Based on the above embodiments 5a and 5b , in order to further fine-tune the rearview mirror so that the adjustment of the rearview mirror meets the user's needs, in this embodiment of the present application, the control device receives a second adjustment instruction input by the user within a preset time after receiving the first adjustment instruction. The second adjustment instruction is used to instruct adjustment of the vehicle's rearview mirror in a target direction, which can be any direction in three-dimensional space. Then, based on the second adjustment instruction, the control device controls the rearview mirror to adjust from the second target position to a third target position in the target direction. The displacement between the third target position and the second target position can be a preset displacement.
[0128] Referring to Figure 5c, taking the example of a first adjustment instruction and a second adjustment instruction both being user-entered via audio data, i.e., the first adjustment instruction being a first voice control instruction and the second adjustment instruction being a second voice control instruction, the audio data collection interval between the first and second voice control instructions can be less than or equal to a preset interval. The process of generating a first rearview mirror adjustment instruction based on the first voice control instruction to control the rearview mirror to adjust to the second target position is similar to the example shown in Figure 5a and will not be further described here. The cabin controller uses a microphone to capture user-entered audio data, such as "a little up / down / left / right / forward / backward," and the microphone converts the audio data into a second voice control instruction through sound pickup conversion. Based on the second voice control instruction, the cabin controller determines a second rearview mirror adjustment instruction. This second rearview mirror adjustment instruction instructs the rearview mirror control device to adjust the rearview mirror from the second target position to a third target position in the up / down / left / right / forward / backward directions. The rearview mirror control device then adjusts the rearview mirror based on the second rearview mirror adjustment instruction. Similar to FIG5a and FIG5b, the cockpit controller may present a prompt message after the rearview mirror is adjusted to the third target position to prompt the completion of the adjustment of the rearview mirror, which will not be described again for the sake of brevity.
[0129] FIG6 is a schematic block diagram of a vehicle control device according to an embodiment of the present application. As shown in FIG6 , the control device 400 includes a processing unit 410 , a control unit 420 , an acquisition unit 430 , a collection unit 440 , and a human-computer interaction unit 450 .
[0130] Among them, the processing unit 410 can be used to determine the user's control intention for the vehicle, which control intention includes the intention to control the vehicle to enter a driving state or the intention to switch a driving state; the control unit 420 can be used to control the rearview mirror of the vehicle to adjust to a first target position based on the control intention and human eye position data.
[0131] In a possible implementation, the processing unit 410 is specifically configured to: in response to a braking operation input by the user when the vehicle is in a parking gear, determine that the user's control intention for the vehicle is an intention to enter a driving state.
[0132] In one possible embodiment, the processing unit 410 is specifically used to: in response to a gear switching operation input by the user, determine that the user's control intention for the vehicle is an intention to switch the driving state, and the gear switching operation is used to switch the vehicle from a first gear to a second gear, and the second gear is a reverse gear or a forward gear, and the first gear is different from the second gear.
[0133] In one possible embodiment, the control unit is specifically used to: when the control intention is to enter the driving state, control the vehicle's rearview mirror to adjust to the first position according to the human eye position data; or, when the control intention is to switch the driving state, control the vehicle's rearview mirror to adjust to the second position according to the human eye position data.
[0134] In a possible implementation, the acquisition unit 430 may be configured to acquire eye position data of the user, where the eye position data is determined based on a captured image of the user.
[0135] In a possible implementation, the control intention is an intention to control the vehicle to enter a driving state, and the acquisition unit 440 may be configured to acquire the user image in response to the user riding in the vehicle.
[0136] In one possible implementation, the control intention is to control the vehicle to switch driving states. The acquisition unit 440 can be used to acquire the user image when the vehicle is driving in a first gear or a second gear, where the first gear is the gear that the vehicle is in before switching driving states.
[0137] In a possible embodiment, the processing unit 410 is also used to: identify the user image to obtain the user's head posture information; determine whether the time the user's face is facing the first direction reaches a preset time based on the head posture information; when the time the user's face is facing the first direction reaches a preset time, determine the human eye position data based on the user image.
[0138] In a possible implementation, the control intention is an intention to control the vehicle to enter a driving state, and the first direction is directly in front of the user.
[0139] In a possible implementation, the processing unit 410 is further configured to determine the eye position data based on the user image when the seat of the user is not adjusted during a first time period, and the first time period is the acquisition time of the user image.
[0140] In one possible embodiment, the human-computer interaction unit 450 can be used to: present a prompt message if the acquisition of the human eye position data fails; wherein, the prompt message is used to prompt the user to face the first direction for a preset time, and / or to stop adjusting the seat on which the user is sitting.
[0141] In one possible implementation, the control intention is to control the vehicle to switch from a rearward driving state to a forward driving state; the control unit 420 is specifically used to: determine whether the speed of the vehicle in the forward driving state is greater than or equal to a speed threshold; when the speed of the vehicle is greater than or equal to the speed threshold, control the rearview mirror of the vehicle to adjust to the first target position according to the control intention and the human eye position data.
[0142] In one possible implementation, the control unit 420 is specifically used to: determine the displacement between the first target position and the current position of the rearview mirror based on the control intention and the human eye position data; when the displacement is greater than or equal to the displacement threshold, control the rearview mirror of the vehicle to adjust to the first target position.
[0143] In one possible embodiment, the control unit 420 is specifically used to: obtain a first adjustment instruction input by the user, where the first adjustment instruction is used to instruct adjustment of the rearview mirror of the vehicle; and control the rearview mirror to adjust to a second target position based on the first adjustment instruction and the human eye position data.
[0144] In one possible embodiment, the control unit 420 is specifically used to: obtain a second adjustment instruction input by the user within a preset time after obtaining the first adjustment instruction, wherein the second adjustment instruction is used to instruct the rearview mirror of the vehicle to be adjusted in the target direction; and according to the second adjustment instruction, control the rearview mirror to be adjusted from the second target position to the third target position in the target direction.
[0145] In a possible implementation, the first adjustment instruction and / or the second adjustment instruction include a voice control instruction of the user or an instruction input by operating a physical key.
[0146] In a possible implementation, the processing unit 410 is further configured to determine a rearview mirror to be adjusted based on the eye position data.
[0147] The specific process of each module executing the above corresponding steps has been described in detail in the above method embodiment, and for the sake of brevity, it will not be repeated here.
[0148] The division of the units / modules in the above devices is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated.
[0149] FIG7 is a schematic block diagram of another vehicle control device 500 provided in an embodiment of the present application. The device 500 may include a processor 510 and a memory 520. The processor 510 and the memory 520 communicate with each other via an internal connection path. The memory 520 is used to store instructions, and the processor 510 is used to execute the instructions stored in the memory 520.
[0150] Optionally, the memory 520 may include a read-only memory and a random access memory, and provide instructions and data to the processor 510. The memory 520 may be a separate device or may be integrated into the processor 510.
[0151] In some embodiments, the apparatus 500 may further include an input interface 530. The processor 510 may control the input interface 530 to communicate with other devices or chips, and specifically, may obtain information or data sent by other devices or chips.
[0152] In some embodiments, the apparatus 500 may further include an output interface 540. The processor 510 may control the output interface 540 to communicate with other devices or chips, and specifically, may output information or data to other devices or chips.
[0153] In some embodiments, the device 500 can implement the corresponding processes of each method in the embodiments of the present application. For the sake of brevity, they will not be repeated here.
[0154] It should be understood that the processor of the embodiments of the present application may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method embodiment can be completed by hardware integrated logic circuits in the processor or software instructions. The above processor can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The various methods, steps, and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or can be executed by a combination of hardware and software modules in the decoding processor. The software module can be located in a storage medium mature in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
[0155] It is understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct RAM bus random access memory (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0156] The present application also provides a computer-readable storage medium for storing a computer program. In some embodiments, the computer program enables a computer to execute the corresponding processes in the various methods of the present application. For the sake of brevity, the details are not repeated here.
[0157] The present application also provides a computer program product including computer program instructions. In some embodiments, the computer program instructions enable a computer to execute the corresponding processes in the various methods of the present application, which will not be described in detail here for the sake of brevity.
[0158] The present application also provides a computer program. In some embodiments, when the computer program is run on a computer, it causes the computer to execute the corresponding processes of the various methods of the present application. For the sake of brevity, the details are not repeated here.
[0159] The present application also provides a vehicle. In some embodiments, the intelligent vehicle includes the vehicle control device or control chip of the present application embodiment.
[0160] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0161] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included in the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims
1. A method for controlling a rearview mirror, characterized in that: include: Determining a user's control intention for the vehicle, the control intention including an intention to control the vehicle to enter a driving state or an intention to switch a driving state; According to the control intention and the eye position data, the rearview mirror of the vehicle is controlled to be adjusted to a first target position.
2. The method according to claim 1, characterized in that The determining of the user's control intention of the vehicle includes: In response to a brake operation input by a user when the vehicle is in a parking gear position, it is determined that the user's control intention on the vehicle is an intention to enter a driving state.
3. The method according to claim 1, characterized in that The determining of the user's control intention of the vehicle includes: In response to a gear switching operation input by a user, it is determined that the user's control intention for the vehicle is an intention to switch the driving state, and the gear switching operation is used to switch the vehicle from a first gear to a second gear, and the second gear is a reverse gear or a forward gear, and the first gear is different from the second gear.
4. The method according to any one of claims 1 to 3, characterized in that: The step of controlling the rearview mirror of the vehicle to adjust to a first target position according to the control intention and the eye position data includes: When the control intention is to enter the driving state, the rearview mirror of the vehicle is controlled to be adjusted to the first position according to the human eye position data; or When the control intention is to switch the driving state, the rearview mirror of the vehicle is controlled to be adjusted to a second position according to the human eye position data.
5. The method according to any one of claims 1 to 4, characterized in that: Also includes: The eye position data of the user is obtained, where the eye position data is determined by a collected user image.
6. The method according to claim 5, characterized in that The control intention is an intention to control the vehicle to enter a driving state, and further includes: In response to the user riding in the vehicle, the user image is captured.
7. The method according to claim 5, characterized in that The control intention is an intention to control the vehicle to switch the driving state, and further includes: The user image is collected when the vehicle is traveling in a first gear or a second gear, wherein the first gear is the gear in which the vehicle is located before switching the driving state, and the second gear is the gear in which the vehicle is located after switching the driving state.
8. The method according to any one of claims 5 to 7, characterized in that: The eye position data is determined by the collected user image and includes: Recognize the user image to obtain head posture information of the user; Determining, according to the head posture information, whether a duration for which the user's face is facing the first direction reaches a preset duration; When the duration of the user's face facing the first direction reaches a preset duration, the eye position data is determined according to the user image.
9. The method according to claim 8, characterized in that When the control intention is an intention to enter a driving state, the first direction is directly in front of the user.
10. The method according to any one of claims 5 to 9, characterized in that: Also includes: When the seat of the user is not adjusted in a first time period, the eye position data is determined according to the user image, and the first time period is the duration of collecting the user image.
11. The method according to any one of claims 5 to 10, characterized in that: Also includes: If the acquisition of the eye position data fails, a prompt message is presented; wherein, The prompt information is used to prompt the user to keep the face facing the first direction for a preset time period, and / or to prompt to stop adjusting the seat on which the user is sitting.
12. The method according to any one of claims 1 to 11, characterized in that: The control intention is an intention to control the vehicle to switch from a backward driving state to a forward driving state; According to the control intention and the eye position data, controlling the rearview mirror of the vehicle to adjust to the first target position includes: determining whether a speed of the vehicle in a forward driving state is greater than or equal to a speed threshold; When the vehicle speed is greater than or equal to the speed threshold, the rearview mirror of the vehicle is controlled to adjust to the first target position according to the control intention and the human eye position data.
13. The method according to any one of claims 1 to 12, characterized in that: The step of controlling the rearview mirror of the vehicle to adjust to a first target position according to the control intention and the eye position data includes: Determining the displacement between a first target position and a current position of the rearview mirror according to the control intention and the eye position data; When the displacement is greater than or equal to a displacement threshold, the rearview mirror of the vehicle is controlled to adjust to the first target position.
14. The method according to any one of claims 1 to 13, characterized in that: Also includes: Acquire a first adjustment instruction input by the user, where the first adjustment instruction is used to instruct to adjust a rearview mirror of the vehicle; According to the first adjustment instruction and the human eye position data, the rearview mirror is controlled to adjust to a second target position.
15. The method according to claim 14, characterized in that Also includes: within a preset time after acquiring the first adjustment instruction, acquiring a second adjustment instruction input by the user, the second adjustment instruction being used to instruct to adjust the rearview mirror of the vehicle in a target direction; According to the second adjustment instruction, the rearview mirror is controlled to adjust from the second target position to a third target position in the target direction.
16. The method according to claim 14 or 15, characterized in that The first adjustment instruction and / or the second adjustment instruction include a voice control instruction of the user or an instruction input by the user by operating a physical key.
17. The method according to any one of claims 1 to 16, characterized in that: Also includes: The rearview mirror to be adjusted is determined according to the head posture information of the user.
18. A control device, characterized in that: include: a processing unit, configured to determine a user's control intention for the vehicle, wherein the control intention includes an intention to control the vehicle to enter a driving state or an intention to switch a driving state; A control unit is used to control the rearview mirror of the vehicle to adjust to a first target position according to the control intention and the human eye position data.
19. The device according to claim 18, characterized in that The processing unit is specifically used for: In response to a brake operation input by a user when the vehicle is in a parking gear position, it is determined that the user's control intention on the vehicle is an intention to enter a driving state.
20. The device according to claim 18, characterized in that The processing unit is specifically used for: In response to a gear switching operation input by a user, it is determined that the user's control intention for the vehicle is an intention to switch the driving state, and the gear switching operation is used to switch the vehicle from a first gear to a second gear, and the second gear is a reverse gear or a forward gear, and the first gear is different from the second gear.
21. The device according to any one of claims 18 to 20, characterized in that The control unit is specifically used for: When the control intention is to enter the driving state, the rearview mirror of the vehicle is controlled to be adjusted to the first position according to the human eye position data; or When the control intention is to switch the driving state, the rearview mirror of the vehicle is controlled to be adjusted to a second position according to the human eye position data.
22. The device according to any one of claims 18 to 21, characterized in that Also includes: The acquisition unit is used to acquire the eye position data of the user, wherein the eye position data is determined based on the collected user image.
23. The device according to claim 22, characterized in that The control intention is an intention to control the vehicle to enter a driving state, and further includes: The collecting unit is used for collecting the user image in response to the user riding in the vehicle.
24. The device according to claim 20, characterized in that The control intention is an intention to control the vehicle to switch the driving state, and further includes: A collection unit is used to collect the user image when the vehicle is traveling in the first gear or the second gear.
25. The device according to any one of claims 22 to 24, characterized in that The processing unit is also used for: Recognize the user image to obtain head posture information of the user; Determining, according to the head posture information, whether a duration for which the user's face is facing the first direction reaches a preset duration; When the time when the user's face is facing the first direction reaches a preset time length, the eye position data is determined according to the user image.
26. The device according to claim 25, characterized in that The control intention is an intention to control the vehicle to enter a driving state, and the first direction is directly in front of the user.
27. The device according to any one of claims 22 to 26, characterized in that The processing unit is also used for: When the seat of the user is not adjusted in a first time period, the eye position data is determined according to the user image, and the first time period is a collection time of the user image.
28. The device according to any one of claims 22 to 27, characterized in that It also includes a human-computer interaction unit, which is used to: If the acquisition of the eye position data fails, a prompt message is presented; wherein, The prompt information is used to prompt the user that the face of the user is facing the first direction for a preset time period, and / or to prompt to stop adjusting the seat on which the user is sitting.
29. The device according to any one of claims 18 to 28, characterized in that The control intention is an intention to control the vehicle to switch from a backward driving state to a forward driving state; The control unit is specifically used for: determining whether a speed of the vehicle in a forward driving state is greater than or equal to a speed threshold; When the vehicle speed is greater than or equal to the speed threshold, the rearview mirror of the vehicle is controlled to adjust to the first target position according to the control intention and the human eye position data.
30. The device according to any one of claims 18 to 29, characterized in that The control unit is specifically used for: Determining the displacement between a first target position and a current position of the rearview mirror according to the control intention and the eye position data; When the displacement is greater than or equal to a displacement threshold, the rearview mirror of the vehicle is controlled to adjust to the first target position.
31. The device according to any one of claims 18 to 30, characterized in that The control unit is specifically used for: Acquire a first adjustment instruction input by the user, where the first adjustment instruction is used to instruct to adjust a rearview mirror of the vehicle; According to the first adjustment instruction and the human eye position data, the rearview mirror is controlled to adjust to a second target position.
32. The device according to claim 31, characterized in that The control unit is specifically used for: within a preset time after acquiring the first adjustment instruction, acquiring a second adjustment instruction input by the user, the second adjustment instruction being used to instruct to adjust the rearview mirror of the vehicle in a target direction; According to the second adjustment instruction, the rearview mirror is controlled to adjust from the second target position to a third target position in the target direction.
33. The device according to claim 31 or 32, characterized in that Any adjustment instruction includes a voice control instruction of the user or an instruction input by operating a physical key.
34. The device according to any one of claims 18 to 33, characterized in that The processing unit is also used for: The rearview mirror to be adjusted is determined according to the human eye position data.
35. A control device, characterized in that: include: A processor and a memory, the memory being used to store a computer program, the processor being used to call and run the computer program stored in the memory to execute the method according to any one of claims 1 to 17.
36. A chip, characterized in that: The method comprises: a processor configured to call and execute computer instructions from a memory, so that a device equipped with the chip executes the method as claimed in any one of claims 1 to 17.
37. A computer-readable storage medium, characterized in that: Used to store computer program instructions, wherein the computer program causes a computer to execute the method according to any one of claims 1 to 17.
38. A computer program product, characterized in that The method comprises computer program instructions which cause a computer to execute the method as claimed in any one of claims 1 to 17.
39. A vehicle, characterized in that: include: A control device as claimed in any one of claims 18 to 34.