Rearview mirror adjusting method and device, electronic equipment, vehicle and storage medium
By obtaining the vehicle driving scene and the driver's eye distance, and automatically adjusting the vision angle of the rearview mirror, the problem that the vision angle of the rearview mirror in the prior art is not easy to automatically adjust, and driving safety is improved.
Patent Information
- Application Number
- CN202411583560.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-07
- Publication Date
- 2025-02-25
AI Technical Summary
The prior art is difficult to automatically adjust the field of view of the rearview mirror, resulting in the user's view of the rearview mirror being no longer optimal after the vehicle is switched or seat adjustment, which affects driving safety.
By obtaining the vehicle's driving scene and the driver's eye distance, the adjustment parameters of the rearview mirror are determined based on these parameters, and the automatic adjustment of the rearview mirror is realized.
Automatic adjustment of the field of view of the rearview mirror is achieved, ensuring that the driver is always in the best field of view and improving driving safety.
Smart Images

Figure CN119502808A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of rearview mirrors, and in particular to a rearview mirror adjustment method, device, electronic equipment, vehicle and storage medium. Background Art
[0002] As modern vehicles become more and more intelligent, vehicle driving safety is becoming more and more important. When a vehicle is switched between users or the same driver adjusts the seat, the vehicle's exterior rearview mirrors will have to be readjusted. Moreover, after the user manually adjusts the interior and exterior rearview mirrors, they are not necessarily in the best position, which brings an extremely inconvenient experience to the user. At the same time, there are certain driving blind spots that affect driving safety.
[0003] Therefore, there is an urgent need for an intelligent adjustment solution for the inside and outside rearview mirrors to automatically adjust the field of view angles of the inside and outside rearview mirrors and improve driving safety. Summary of the invention
[0004] In order to solve the above problems in the prior art, embodiments of the present invention provide a rearview mirror adjustment method, device, electronic device, vehicle and storage medium to achieve automatic adjustment of the rearview mirror and improve driving safety.
[0005] According to a first aspect of an embodiment of the present application, a rearview mirror adjustment method is provided, the method comprising:
[0006] Acquire the driving scene of the vehicle and the driver's eye distance, where the driver's eye distance is the distance between the driver's eyes and the image acquisition device;
[0007] Determining a first parameter for adjusting a rearview mirror based on the driver's eye distance;
[0008] Determining a second parameter for adjusting the rearview mirror based on the driving scenario;
[0009] The rearview mirror is adjusted based on the first parameter or the second parameter.
[0010] In one embodiment, determining a first parameter of a rearview mirror based on the driver's eye distance includes:
[0011] Determining, according to the driver's eye distance, a first distance between the driver and the left rearview mirror, a second distance between the driver and the interior rearview mirror, and a third distance between the driver and the right rearview mirror;
[0012] Determining a first parameter of a left rearview mirror according to the first distance;
[0013] determining a first parameter of the interior rearview mirror according to the second distance;
[0014] A first parameter of the right rearview mirror is determined according to the third distance.
[0015] In one embodiment, determining a first parameter of a left rearview mirror according to a first distance; determining a first parameter of an interior rearview mirror according to a second distance; and determining a first parameter of a right rearview mirror according to a third distance include:
[0016] According to the first distance, determining a first adjustment angle corresponding to the first distance in a first data packet; the first data packet is a mapping relationship between the first distance and the adjustment angle of the left rearview mirror;
[0017] Determine, according to the second distance, a second adjustment angle corresponding to the second distance in a second data packet; the second data packet is a mapping relationship between the second distance and the adjustment angle of the rearview mirror;
[0018] According to the third distance, a third adjustment angle corresponding to the third distance in the third data packet is determined; the third data packet is a mapping relationship between the third distance and the adjustment angle of the right rearview mirror.
[0019] In one embodiment, after obtaining the driving scene of the vehicle and the eye distance of the driver, and before determining the first parameter for adjusting the rearview mirror based on the eye distance of the driver, the method further includes:
[0020] Get the driver's head posture;
[0021] If the driver's head posture is in a preset position and the driver's head posture is maintained for more than a preset time, an adjustment instruction for adjusting the rearview mirror is sent.
[0022] In one embodiment, the driving scenario includes a merging scenario, and determining the second parameter for adjusting the rearview mirror based on the driving scenario includes:
[0023] If the driving scene is a merging scene,
[0024] Get the first angle of the left rearview mirror; the first angle is the current angle of the left rearview mirror;
[0025] According to the first angle of the left rearview mirror, a second parameter is determined so that the field of view of the left rearview mirror obtained after adjustment according to the second parameter is greater than the field of view of the first angle of the left rearview mirror.
[0026] In one embodiment, the method further comprises:
[0027] If the vehicle leaves the merging scene, adjust the left rearview mirror according to the first angle.
[0028] In one embodiment, the driving scene includes a ramp scene, and based on the driving scene, determining the second parameter for adjusting the rearview mirror includes:
[0029] If the driving scene is a ramp scene,
[0030] Get the second angle of the rearview mirror; the second angle is the current angle of the rearview mirror;
[0031] According to the second angle of the rearview mirror, a second parameter is determined so that the field of view of the rearview mirror obtained after adjustment according to the second parameter is greater than the field of view of the current second angle of the rearview mirror.
[0032] In one embodiment, the method further comprises:
[0033] If the vehicle leaves the slope, adjust the rearview mirror according to the second angle.
[0034] According to a second aspect of an embodiment of the present application, a rearview mirror adjustment device is provided, the device comprising:
[0035] The acquisition unit is used to acquire the driving scene of the vehicle and the driver's eye distance. The driving scene includes: a flat road scene, a lane merging scene, and a ramp scene. The driver's eye distance is the distance between the driver and the camera set on the steering wheel.
[0036] A first determining unit, configured to determine a first parameter for adjusting a rearview mirror based on the driver's eye distance;
[0037] A second determining unit, configured to determine a second parameter for adjusting the rearview mirror based on a driving scenario;
[0038] The adjustment unit is used to adjust the rearview mirror based on the first parameter or the second parameter.
[0039] According to a third aspect of an embodiment of the present application, an electronic device is provided, the electronic device including a memory and a processor;
[0040] The memory is connected to the processor and is used for storing programs;
[0041] The processor is used to implement the rearview mirror adjustment method in the first aspect or any possible implementation of the first aspect by running the program in the memory.
[0042] According to a fourth aspect of an embodiment of the present application, a vehicle is provided, the vehicle comprising the electronic device as described in the third aspect.
[0043] According to a fifth aspect of an embodiment of the present application, a storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the rearview mirror adjustment method in the first aspect or any possible implementation of the first aspect is implemented.
[0044] The rearview mirror adjustment method, device, electronic device, vehicle and storage medium provided in the embodiments of the present application, the adjustment method obtains the driving scene of the vehicle and the eye distance of the driver, determines the first parameter for adjusting the rearview mirror based on the eye distance of the driver; determines the second parameter for adjusting the rearview mirror based on the driving scene; and adjusts the rearview mirror based on the first parameter or the second parameter. The rearview mirror adjustment method provided in this embodiment can automatically adjust the field of view of the rearview mirror based on the driving scene or the eye distance of the driver, thereby improving driving safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0046] Figure 1 A schematic diagram of an implementation environment according to the present invention;
[0047] Figure 2 A flow chart of a goose rearview mirror adjustment method provided by an embodiment of the present invention;
[0048] Figure 3 A schematic diagram of the layout of an image acquisition device provided for the implementation of the present invention;
[0049] Figure 4 A schematic diagram of the layout of a rearview mirror provided in an embodiment of the present invention;
[0050] Figure 5 A schematic diagram of the field of view of a rearview mirror provided in an embodiment of the present invention;
[0051] Figure 6 A structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0052] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0053] As modern vehicles become more and more intelligent, driving safety is becoming more and more important. When a vehicle is switched between users or the same driver adjusts the seat, the field of view of the vehicle's exterior rearview mirrors will be readjusted. Moreover, after the user manually adjusts the angle of the interior and exterior rearview mirrors, they may not be in the best position, which brings an extremely inconvenient experience to the user. At the same time, there are certain driving blind spots that affect driving safety. Therefore, there is an urgent need for an intelligent adjustment solution for interior and exterior rearview mirrors to achieve automatic adjustment of the field of view of the interior and exterior rearview mirrors and improve driving safety.
[0054] The rearview mirror adjustment method, device, electronic device, vehicle and storage medium provided in the embodiments of the present application, the adjustment method obtains the driving scene of the vehicle and the eye distance of the driver, determines the first parameter for adjusting the rearview mirror based on the eye distance of the driver; determines the second parameter for adjusting the rearview mirror based on the driving scene; and adjusts the rearview mirror based on the first parameter or the second parameter. The rearview mirror adjustment method provided in this embodiment can automatically adjust the field of view of the rearview mirror based on the driving scene or the eye distance of the driver, thereby improving driving safety.
[0055] Exemplary Implementation Environment
[0056] Please refer to Figure 1 , Figure 1 It is a schematic diagram of an implementation environment involved in the present invention.
[0057] like Figure 1 As shown, the implementation environment of the embodiment of the present invention involves a server 10 and a vehicle 20. The rearview mirror of the vehicle 20 may include a left rearview mirror, an inner rearview mirror and a right rearview mirror, wherein the inner rearview mirror is also called an interior rearview mirror or a central rearview mirror, and is a device for allowing the driver to observe the situation behind the vehicle 20. The inner rearview mirror is usually installed on the top of the vehicle 20, below the windshield, and is located at the center of the rear of the vehicle. The inner rearview mirror can adjust the angle up and down, left and right, so that the driver can clearly see the field of view behind the vehicle. A motor is installed inside the rearview mirror, which can drive the mirror surface of the rearview mirror to move in the front and back, left and right directions. The vehicle 20 can also be equipped with a vehicle 20 vehicle control unit (VCU) for obtaining driving information of the vehicle 20, such as: driving scene, direction angle of the steering wheel, etc., and sending the driving information to the server 10, so that the server 10 generates a first parameter or a second parameter according to the driving information and the driver's eye distance information, generates an adjustment instruction, and sends it to the VCU, and the VCU controls the motor of the rearview mirror to adjust the field of view of the rearview mirror.
[0058] The server 10 may be an independent physical server 10, or a server 10 cluster or distributed system composed of multiple physical servers 10, or a cloud server 10 that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. The server 10 may also become a node of the blockchain.
[0059] The server 10 may be one or more servers. When there are multiple servers 10, there are at least two servers 10 for providing different services, and / or there are at least two servers 10 for providing the same service, such as providing the same service in a load balancing manner, which is not limited in the embodiment of the present invention.
[0060] Exemplary Methods
[0061] Figure 2 This is a flow chart of the goose rearview mirror adjustment method provided by an embodiment of the present invention. Figure 2 In an exemplary embodiment, a rearview mirror adjustment method is provided, and the method may include the following steps:
[0062] S210: Acquire the driving scene of the vehicle and the driver's eye distance.
[0063] The vehicle's driving scenes can include flat road scenes, merging scenes, and ramp scenes. Among them, the flat road scene is the scene most used by drivers. When the driver enters the cockpit of the vehicle, he can adjust the rearview mirror. The merging scene can be a lane change when the vehicle is driving on a highway. The ramp scene can be a scene when the vehicle is going uphill or downhill.
[0064] The driver's eye distance may be the distance between the driver's eyes and the image acquisition device. The image acquisition device may be a camera, through which the distance between the driver's eyes and the camera may be acquired.
[0065] Figure 3 A schematic diagram of the layout of the image acquisition device provided for the implementation of the present invention. Figure 3 As shown, the camera may be a DMS camera. A driver monitoring system (DMS) camera is a camera installed inside a vehicle, mainly used to monitor the driver's behavior and status to ensure driving safety. The distance from the driver's eyes to the camera may be obtained through the DMS camera. It should be noted that the driver's eyes in the embodiment of the present invention may be the driver's pupils.
[0066] S230: Determine a first parameter for adjusting a rearview mirror based on the driver's eye distance.
[0067] S250: Determine a second parameter for adjusting a rearview mirror based on the driving scenario.
[0068] S270: Adjust the rearview mirror based on the first parameter or the second parameter.
[0069] The first parameter may include parameters for adjusting the left rearview mirror, adjusting the parameters for adjusting the interior rearview mirror, and adjusting the parameters for adjusting the right rearview mirror. In different driving scenarios, the rearview mirrors are adjusted differently. For example, in a merging scenario, only the left rearview mirror may be adjusted. In a ramp scenario, the left rearview mirror, the right rearview mirror, and the interior rearview mirror may be adjusted at the same time.
[0070] The angle of the rearview mirror in the embodiment of the present invention can be driven by a motor. Each rearview mirror is adjusted by two motors, wherein the first motor is used to drive the mirror surface to move in the longitudinal front-to-back direction, and the second motor is used to drive the mirror surface to move in the lateral left-to-right direction.
[0071] The rearview mirror adjustment method provided by the embodiment of the present invention obtains the driving scene of the vehicle and the eye distance of the driver, and determines the first parameter for adjusting the rearview mirror based on the eye distance of the driver; determines the second parameter for adjusting the rearview mirror based on the driving scene, and adjusts the rearview mirror based on the first parameter or the second parameter. The rearview mirror adjustment method provided by the embodiment of the present invention can achieve the driver's field of view angle without manual adjustment of the inside and outside rearview mirrors, and the driver's field of view of the inside and outside rearview mirrors is always in the best position without blind spots, thereby improving driving safety.
[0072] In one embodiment, determining a first parameter of a rearview mirror based on the driver's eye distance includes:
[0073] Determining, according to the driver's eye distance, a first distance between the driver and the left rearview mirror, a second distance between the driver and the interior rearview mirror, and a third distance between the driver and the right rearview mirror;
[0074] Determining a first parameter of a left rearview mirror according to the first distance;
[0075] determining a first parameter of the interior rearview mirror according to the second distance;
[0076] A first parameter of the right rearview mirror is determined according to the third distance.
[0077] Figure 4 Schematic diagram of the layout of rearview mirrors provided in an embodiment of the present invention. Figure 4 As shown, when the driver enters the cockpit of the vehicle, determining the first distance between the driver and the left rearview mirror according to the driver's eye distance may include:
[0078] Get the current angle of the left rearview mirror;
[0079] The first distance is determined according to the angle between the driver's eye distance and the left rearview mirror.
[0080] In practical applications, determining the first parameter of the left rearview mirror according to the first distance may include an up-and-down adjustment angle and a left-and-right adjustment angle of the left rearview mirror.
[0081] Determining a second distance between the driver and the interior rearview mirror according to the driver's eye distance may include:
[0082] Get the current angle of the interior rearview mirror;
[0083] The second distance is determined according to the angle between the driver's eye distance and the interior rearview mirror.
[0084] In practical applications, determining the first parameter of the interior rearview mirror according to the second distance may include an up-and-down adjustment angle and a left-and-right adjustment angle of the interior rearview mirror.
[0085] Determining the third distance between the driver and the right rearview mirror according to the driver's eye distance may include:
[0086] Get the current angle of the right rearview mirror;
[0087] The third distance is determined according to the angle between the driver's eyes and the right interior rearview mirror.
[0088] In practical applications, determining the first parameter of the right rearview mirror according to the third distance may include an up-and-down adjustment angle and a left-and-right adjustment angle of the right rearview mirror.
[0089] In one embodiment, determining a first parameter of a left rearview mirror according to a first distance; determining a first parameter of an interior rearview mirror according to a second distance; and determining a first parameter of a right rearview mirror according to a third distance include:
[0090] According to the first distance, determining a first adjustment angle corresponding to the first distance in a first data packet; the first data packet is a mapping relationship between the first distance and the adjustment angle of the left rearview mirror;
[0091] Determine, according to the second distance, a second adjustment angle corresponding to the second distance in a second data packet; the second data packet is a mapping relationship between the second distance and the adjustment angle of the rearview mirror;
[0092] According to the third distance, a third adjustment angle corresponding to the third distance in the third data packet is determined; the third data packet is a mapping relationship between the third distance and the adjustment angle of the right rearview mirror.
[0093] The first data packet, the second data packet and the third data packet may be calibrated in advance. The calibration process may include:
[0094] The height of the dummy ranges from 145 to 190 cm, which can cover 95% of the population. The distance of the dummy's eyeballs ranges from 55 to 75 mm, which can cover 95% of the population. The distance from the dummy's eyes to the left rearview mirror is variable X, i.e. the first distance. The distance from the dummy's eyes to the interior rearview mirror is variable Y, i.e. the second distance. The distance from the dummy's eyes to the right rearview mirror is variable Z, i.e. the third distance. The distance from the dummy's eyes to the DMS camera is variable M, i.e. the driver's eye distance. The specific positions of variables X, Y, and Z are determined by the size of the vehicle and the layout of the seats and interior and exterior rearview mirrors. Value; the specific position value of variable M is determined by the change of the dummy's height and eyeball distance; after the variable M determines the unique value, the specific values of variables X, variable Y, and variable Z are also determined; then the driver's field of view of the inside and outside rearview mirrors is adjusted to the optimal position, and the VCU controls the rearview mirror motor control variable N; for example: the variable M of the unique position corresponding to dummies of different heights and dummies with different eyeballs is adjusted to the optimal position through simulation calibration, thus completing the calibration of the controller's inside and outside rearview mirror motor angle control variable N data packet.
[0095] In actual applications, when adjusting the field of view of the rearview mirror, it can be determined in the following manner. Figure 5 A schematic diagram of the rearview mirror field of view provided by an embodiment of the present invention is shown in FIG. A reference auxiliary line is calibrated on the ground with a length of 50 m. When the vehicle is calibrated, the reference auxiliary line is required to be 100 m away from the rear of the vehicle.
[0096] like Figure 5 As shown, the process of determining the field of view of the endoscope may include:
[0097] A calibration frame is set on the rearview mirror at 1 / 2 of the lower edge, and the height of the calibration frame can be set according to actual needs. For example, the height of the calibration frame can be 10mm. By adjusting the angle of the rearview mirror, the calibration reference auxiliary line behind the vehicle is adjusted to the calibration frame. At the same time, the four corners of the rear windshield of the calibrated vehicle are required to be in the center of the rearview mirror. At this time, the VCU will record the position status signal of the rearview mirror motor. That is, a mapping relationship is established between the distance from the dummy eye to the rearview mirror as variable Y and the rearview mirror motor angle control variable N. Repeat the above calibration operation, and finally record the rearview mirror motor control variables corresponding to each specification of dummy eyes after the optimal field of view calibration into the controller, and the calibration of the second data packet is completed.
[0098] The process of determining the field of view of the left rearview mirror may include:
[0099] A calibration frame is set at 1 / 3 of the distance from the lower edge of the left rearview mirror. The height of the calibration frame can be set according to actual needs. For example, the height of the calibration frame can be 10mm. Another calibration reference auxiliary line is set at 1 / 4 of the distance from the inner edge of the mirror. It should be noted that the inner edge refers to the edge of the left rearview mirror close to the vehicle.
[0100] By adjusting the angle of the left rearview mirror, the calibration reference auxiliary line behind the vehicle is adjusted to the calibration frame, and the outer edge of the left side of the vehicle body is required to fit with another calibration reference auxiliary line; at this time, the VCU will record the position status signal of the interior rearview mirror motor. That is, the mapping relationship between the distance from the dummy eye to the left rearview mirror as variable X and the left rearview mirror motor angle control variable N is established. Repeat the above calibration operation, and finally record the left rearview mirror motor control variables corresponding to the best field of view calibration of each specification of dummy eyes into the controller, and the calibration of the first data packet is completed.
[0101] The field of view determination process of the right rearview mirror may include:
[0102] A calibration frame is set at 1 / 3 of the distance from the lower edge of the right rearview mirror. The height of the calibration frame can be set according to actual needs. For example, the height of the calibration frame can be 10mm. Another calibration reference auxiliary line is set at 1 / 4 of the distance from the inner edge of the mirror. It should be noted that the inner edge refers to the edge of the right rearview mirror close to the vehicle.
[0103] By adjusting the mirror position, the position of the red dotted line directly behind the vehicle is adjusted to the calibration frame, and the outer edge of the right side of the vehicle body is required to fit with another calibration reference auxiliary line; at this time, the VCU will record the position status signal of the interior rearview mirror motor. That is, the mapping relationship between the distance from the dummy eye to the left rearview mirror as variable X and the left rearview mirror motor angle control variable N is established. Repeat the above calibration operation, and finally record the corresponding right rearview mirror motor control variables after the best field of view calibration of each specification of dummy eyes into the controller, and the calibration of the third data packet is completed.
[0104] In order to avoid the automatic recognition function of the rearview mirror field of view being repeatedly activated due to misidentification of the relative position of the driver's eyes (such as the driver's head rotation), the rearview mirror adjustment method provided by the embodiment of the present invention may further include, after obtaining the driving scene of the vehicle and the driver's eye distance, and before determining the first parameter for adjusting the rearview mirror based on the driver's eye distance:
[0105] Get the driver's head posture;
[0106] If the driver's head posture is in a preset position and the driver's head posture is maintained for more than a preset time, an adjustment instruction for adjusting the rearview mirror is sent.
[0107] The preset position of the driver's head posture can be the middle position of the steering wheel, and the head posture holding time can be 5 seconds. When the above conditions are met, after the driver's intention to adjust the rearview mirror is recognized, the rearview mirror is adjusted according to the first parameter.
[0108] By obtaining the position of the driver's head posture and the time the head posture is maintained, the incorrect adjustment of the rearview mirror caused by the driver's head rotation can be avoided, further improving driving safety.
[0109] In one embodiment, the driving scenario includes a merging scenario, and determining the second parameter for adjusting the rearview mirror based on the driving scenario includes:
[0110] If the driving scene is a merging scene,
[0111] Get the first angle of the left rearview mirror; the first angle is the current angle of the left rearview mirror;
[0112] According to the first angle of the left rearview mirror, a second parameter is determined so that the field of view of the left rearview mirror obtained after adjustment according to the second parameter is greater than the field of view of the first angle of the left rearview mirror.
[0113] In actual applications, the VCU can receive information from the steering wheel angle sensor and the vehicle navigation host, and after determining that the vehicle enters the lane-merging scene, it can adjust the angle of the left rearview mirror in advance according to the second parameter. For example: when the vehicle enters the 30 meters before the high-speed lane-merging entrance, the left rearview mirror on the vehicle will automatically adjust to the left rearview mirror of the vehicle, so that the field of view of the left rearview mirror after adjustment according to the second parameter is greater than the field of view of the first angle of the left rearview mirror, so that the driver can more safely identify the rear vehicle on the main lane of the high-speed lane behind the vehicle, and can make acceleration and deceleration judgments in advance, making vehicle driving safer and more reliable.
[0114] In order to further improve driving safety, the rearview mirror adjustment method provided in this embodiment may also include:
[0115] If the vehicle leaves the merging scene, adjust the left rearview mirror according to the first angle.
[0116] When the vehicle leaves the merging scene and enters the flat road scene, the vehicle adjusts the left rearview mirror according to the first angle. In actual application, the left rearview mirror can be adjusted according to the first angle 2 seconds after the vehicle enters the flat road scene.
[0117] In one embodiment, the driving scene includes a ramp scene, and based on the driving scene, determining the second parameter for adjusting the rearview mirror includes:
[0118] If the driving scene is a ramp scene,
[0119] Get the second angle of the rearview mirror; the second angle is the current angle of the rearview mirror;
[0120] According to the second angle of the rearview mirror, a second parameter is determined so that the field of view of the rearview mirror obtained after adjustment according to the second parameter is larger than the field of view of the current second angle of the rearview mirror.
[0121] In actual applications, the VCU can receive the slope angle of the slope sensor to determine whether the vehicle is in a slope scene. When the vehicle enters uphill and downhill road conditions, there is an upward or downward blind spot in the driver's rearview mirror field of view; at this time, the rearview mirror is adjusted according to the second parameter so that the field of view of the rearview mirror after adjustment according to the second parameter is larger than the field of view of the current rearview mirror second angle, so that the driver can easily observe the surrounding vehicles and improve driving safety.
[0122] In one embodiment, the method further comprises:
[0123] If the vehicle leaves the slope, adjust the rearview mirror according to the second angle.
[0124] When the vehicle leaves the ramp scene and enters the flat road scene, the vehicle adjusts the rearview mirror according to the second angle. In actual application, the rearview mirror can be adjusted according to the second angle 2 seconds after the vehicle enters the flat road scene.
[0125] Exemplary Devices
[0126] Accordingly, the embodiment of the present application also provides a device, Figure 5 This is a structural block diagram of a rearview mirror adjustment device provided by an embodiment of the present invention. Figure 5 As shown, the apparatus may include:
[0127] The acquisition unit 520 is used to acquire the driving scene of the vehicle and the driver's eye distance. The driving scene includes: a flat road scene, a merging scene, and a ramp scene. The driver's eye distance is the distance between the driver and the camera set on the steering wheel.
[0128] A first determining unit 540, configured to determine a first parameter for adjusting a rearview mirror based on the driver's eye distance;
[0129] A second determining unit 560, configured to determine a second parameter for adjusting a rearview mirror based on a driving scenario;
[0130] The adjustment unit 580 is used to adjust the rearview mirror based on the first parameter or the second parameter.
[0131] The rearview mirror adjustment device provided in this embodiment belongs to the same application concept as the rearview mirror adjustment method provided in the above embodiments of this application, and can execute the rearview mirror adjustment method provided in any of the above embodiments of this application, and has the corresponding functional modules and beneficial effects of executing the rearview mirror adjustment method. For technical details not fully described in this embodiment, please refer to the specific processing content of the rearview mirror adjustment method provided in the above embodiments of this application, and will not be repeated here.
[0132] The functions implemented by the above acquisition unit 520, the first determination unit 540, the second determination unit 560 and the adjustment unit 580 may be implemented by the same or different processors, respectively, and are not limited in the embodiments of the present application.
[0133] It should be understood that the acquisition unit 520, the first determination unit 540, the second determination unit 560 and the adjustment unit 580 in the above device can be implemented in the form of a processor calling software. For example, the device includes a processor, the processor is connected to a memory, and instructions are stored in the memory. The processor calls the instructions stored in the memory to implement any of the above methods or realize the functions of each unit of the device, wherein the processor can be a general-purpose processor, such as a CPU or a microprocessor, etc., and the memory can be a memory in the device or a memory outside the device. Alternatively, the unit in the device can be implemented in the form of a hardware circuit, and the functions of some or all of the units can be realized by designing the hardware circuit. The hardware circuit can be understood as one or more processors; for example, in one implementation, the hardware circuit is an ASIC, and the functions of some or all of the above units are realized by designing the logical relationship of the components in the circuit; for another example, in another implementation, the hardware circuit can be implemented by PLD. Taking FPGA as an example, it can include a large number of logic gate circuits, and the connection relationship between the logic gate circuits is configured through the configuration file, so as to realize the functions of some or all of the above units. All units of the above device may be implemented entirely in the form of a processor calling software, or entirely in the form of a hardware circuit, or partially in the form of a processor calling software and the rest in the form of a hardware circuit.
[0134] In an embodiment of the present application, a processor is a circuit with the ability to process signals. In one implementation, the processor may be a circuit with the ability to read and run instructions, such as a CPU, a microprocessor, a GPU, or a DSP; in another implementation, the processor may implement certain functions through the logical relationship of a hardware circuit, and the logical relationship of the hardware circuit is fixed or reconfigurable, such as a hardware circuit implemented by an ASIC or PLD, such as an FPGA. In a reconfigurable hardware circuit, the process of the processor loading a configuration document to implement the hardware circuit configuration can be understood as the process of the processor loading instructions to implement the functions of some or all of the above units. In addition, it can also be a hardware circuit designed for artificial intelligence, which can be understood as an ASIC, such as an NPU, TPU, DPU, etc.
[0135] It can be seen that each unit in the above device can be one or more processors (or processing circuits) configured to implement the above method, such as: CPU, GPU, NPU, TPU, DPU, microprocessor, DSP, ASIC, FPGA, or a combination of at least two of these processor forms.
[0136] In addition, all or part of the units in the above device can be integrated together, or can be implemented independently. In one implementation, these units are integrated together and implemented in the form of a SOC. The SOC may include at least one processor for implementing any of the above methods or implementing the functions of each unit of the device. The type of the at least one processor may be different, for example, including a CPU and an FPGA, a CPU and an artificial intelligence processor, a CPU and a GPU, etc.
[0137] Exemplary Electronic Devices
[0138] Another embodiment of the present application also provides an electronic device, see Figure 6 As shown, the device includes:
[0139] Memory 600 and processor 610;
[0140] The memory 600 is connected to the processor 610 and is used to store programs;
[0141] The processor 610 is used to implement the rearview mirror adjustment method disclosed in any of the above embodiments by running the program stored in the memory 600.
[0142] Specifically, the electronic device may further include: a bus, a communication interface 620 , an input device 630 and an output device 640 .
[0143] The processor 610, the memory 600, the communication interface 620, the input device 630 and the output device 640 are connected to each other via a bus.
[0144] A bus may include a pathway that transfers information between components of a computer system.
[0145] The processor 610 may be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the scheme of the present invention. It may also be 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, discrete hardware components.
[0146] The processor 610 may include a main processor, and may also include a baseband chip, a modem, and the like.
[0147] The memory 600 stores a program for executing the technical solution of the present invention, and may also store an operating system and other key services. Specifically, the program may include a program code, and the program code includes a computer operation instruction. More specifically, the memory 600 may include a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM), other types of dynamic storage devices that can store information and instructions, a disk storage, a flash, and the like.
[0148] The input device 630 may include a device for receiving data and information input by a user, such as a keyboard, a mouse, a camera, a scanner, a light pen, a voice input device, a touch screen, a pedometer, or a gravity sensor.
[0149] Output device 640 may include a device that allows information to be output to a user, such as a display screen, printer, speaker, etc.
[0150] The communication interface 620 may include any transceiver or the like to communicate with other devices or communication networks, such as Ethernet, a radio access network (RAN), a wireless local area network (WLAN), etc.
[0151] The processor 610 executes the program stored in the memory 600 and calls other devices, which can be used to implement each step of any rearview mirror adjustment method provided in the above embodiments of the present application.
[0152] An embodiment of the present application also proposes a chip, which includes a processor and a data interface. The processor reads and runs a program stored in a memory through the data interface to execute the rearview mirror adjustment method introduced in any of the above embodiments. The specific processing process and its beneficial effects can be found in the introduction to the embodiment of the rearview mirror adjustment method mentioned above.
[0153] An embodiment of the present invention further provides a vehicle, which includes the above-mentioned electronic device.
[0154] Exemplary computer program products and storage media
[0155] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the rearview mirror adjustment method according to various embodiments of the present application described in any of the above embodiments of this specification.
[0156] The computer program product may be written in any combination of one or more programming languages to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0157] In addition, the embodiment of the present application may also be a storage medium, on which a computer program is stored, and the computer program is executed by a processor to execute the steps of the rearview mirror adjustment method according to various embodiments of the present application described in any of the above embodiments of this specification, and specifically the following steps may be implemented:
[0158] S210: Acquire the driving scene of the vehicle and the driver's eye distance.
[0159] S230: Determine a first parameter for adjusting a rearview mirror based on the driver's eye distance.
[0160] S250: Determine a second parameter for adjusting a rearview mirror based on the driving scenario.
[0161] S270: Adjust the rearview mirror based on the first parameter or the second parameter.
[0162] For the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0163] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0164] The steps in the methods of each embodiment of the present application can be adjusted in order, combined and deleted according to actual needs, and the technical features recorded in each embodiment can be replaced or combined.
[0165] The modules and sub-modules in the devices and terminals of the various embodiments of the present application can be combined, divided and deleted according to actual needs.
[0166] In the several embodiments provided in the present application, it should be understood that the disclosed terminals, devices and methods can be implemented in other ways. For example, the terminal embodiments described above are only schematic, for example, the division of modules or submodules is only a logical function division, and there may be other division methods in actual implementation, for example, multiple submodules or modules can be combined or integrated into another module, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0167] The modules or submodules described as separate components may or may not be physically separated, and the components of the modules or submodules may or may not be physical modules or submodules, that is, they may be located in one place, or they may be distributed on multiple network modules or submodules. Some or all of the modules or submodules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0168] In addition, each functional module or submodule in each embodiment of the present application may be integrated into one processing module, or each module or submodule may exist physically separately, or two or more modules or submodules may be integrated into one module. The above-mentioned integrated modules or submodules may be implemented in the form of hardware or in the form of software functional modules or submodules.
[0169] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0170] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly by hardware, software units executed by a processor, or a combination of the two. The software units may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0171] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0172] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A rearview mirror adjustment method, characterized in that: include: Acquire the driving scene of the vehicle and the driver's eye distance, where the driver's eye distance is the distance between the driver's eyes and the image acquisition device; Based on the driver's eye distance, determining a first parameter for adjusting a rearview mirror; Based on the driving scenario, determining a second parameter for adjusting the rearview mirror; The rearview mirror is adjusted based on the first parameter or the second parameter.
2. The rearview mirror adjustment method according to claim 1, characterized in that: The determining of the first parameter of the rearview mirror based on the driver's eye distance comprises: Determine, according to the driver's eye distance, a first distance between the driver and the left rearview mirror, a second distance between the driver and the interior rearview mirror, and a third distance between the driver and the right rearview mirror; determining the first parameter of the left rearview mirror according to the first distance; determining the first parameter of the interior rearview mirror according to the second distance; The first parameter of the right rearview mirror is determined according to the third distance.
3. The rearview mirror adjustment method according to claim 2, characterized in that: Determining the first parameter of the left rearview mirror according to the first distance; determining the first parameter of the interior rearview mirror according to the second distance; Determining the first parameter of the right rearview mirror according to the third distance includes: Determine, according to the first distance, a first adjustment angle in a first data packet corresponding to the first distance; The first data packet is a mapping relationship between the first distance and the adjustment angle of the left rearview mirror; According to the second distance, determining a second adjustment angle corresponding to the second distance in a second data packet; the second data packet is a mapping relationship between the second distance and the adjustment angle of the interior rearview mirror; According to the third distance, a third adjustment angle corresponding to the third distance in a third data packet is determined; the third data packet is a mapping relationship between the third distance and the adjustment angle of the right rearview mirror.
4. The rearview mirror adjustment method according to claim 1, characterized in that: After acquiring the driving scene of the vehicle and the eye distance of the driver, and before determining to adjust the first parameter of the rearview mirror based on the eye distance of the driver, the method further includes: Get the driver's head posture; If the driver's head posture is in a preset position and the driver's head posture is maintained for more than a preset time, an adjustment instruction for adjusting the rearview mirror is sent.
5. The rearview mirror adjustment method according to claim 1, characterized in that: The driving scene includes a merging scene, and determining, based on the driving scene, to adjust the second parameter of the rearview mirror includes: If the driving scenario is the merging scenario, Obtaining a first angle of a left rearview mirror; the first angle is the current angle of the left rearview mirror; The second parameter is determined according to the first angle of the left rearview mirror, so that the field of view of the left rearview mirror obtained after adjustment according to the second parameter is larger than the field of view of the first angle of the left rearview mirror.
6. The rearview mirror adjustment method according to claim 5, characterized in that: The method further comprises: If the vehicle leaves the merging scene, the left rearview mirror is adjusted according to the first angle.
7. The rearview mirror adjustment method according to claim 1, characterized in that: The driving scene includes a ramp scene, and determining the second parameter for adjusting the rearview mirror based on the driving scene includes: If the driving scene is the ramp scene, Acquire a second angle of the rearview mirror; the second angle is the current angle of the rearview mirror; The second parameter is determined according to the second angle of the rearview mirror so that the field of view of the rearview mirror obtained after adjustment according to the second parameter is larger than the field of view of the current second angle of the rearview mirror.
8. The rearview mirror adjustment method according to claim 7, characterized in that: The method further comprises: If the vehicle leaves the ramp scene, the rearview mirror is adjusted according to the second angle.
9. A rearview mirror adjustment device, characterized in that: include: An acquisition unit is used to acquire a driving scene of the vehicle and a driver's eye distance, wherein the driving scene includes: a flat road scene, a merging scene, and a ramp scene; the driver's eye distance is the distance between the driver and a camera set on the steering wheel; A first determining unit, configured to determine a first parameter for adjusting a rearview mirror based on the driver's eye distance; A second determining unit, configured to determine a second parameter for adjusting the rearview mirror based on the driving scene; An adjustment unit is used to adjust the rearview mirror based on the first parameter or the second parameter.
10. An electronic device, characterized in that: including memory and processor; The memory is connected to the processor and is used to store programs; The processor is used to implement the rearview mirror adjustment method as described in any one of claims 1 to 8 by running the program in the memory.
11. A vehicle, characterized in that: A vehicle comprises the electronic device according to claim 10.
12. A storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by the processor, the rearview mirror adjustment method according to any one of claims 1 to 8 is implemented.