An adjusting method and device of a vehicle rearview mirror and a computer readable storage medium

CN117465342BActive Publication Date: 2026-10-23CHONGQING JINKANG NEW ENERGY VEHICLE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311634132.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-30
Publication Date
2026-10-23
Estimated Expiration
2043-11-30

AI Technical Summary

Technical Problem

现有左右后视镜一般置于车身两侧,不便于驾驶员手动调整,目前一般是驾驶员在车内根据相应按钮进行电控调整,不能自动快速地调整至适合驾驶员驾驶的左右后视镜角度

Benefits of technology

[0014]根据本申请实施例的一个方面,还提供了一种计算机程序产品或计算机程序,该计算机程序产品或计算机程序包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述的调整方法。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117465342B_ABST
    Figure CN117465342B_ABST
Patent Text Reader

Abstract

The application relates to the technical field of vehicles and discloses a vehicle rearview mirror adjusting method and device and a computer readable storage medium. The method comprises the following steps: acquiring the eye position of a driver, the first intersection point of the eye position and a target connecting line, and the second intersection point of the body position of the driver and a target horizontal plane; the target connecting line is a connecting line between a first rearview mirror and a second rearview mirror, and the target horizontal plane is a horizontal plane where the first rearview mirror and the second rearview mirror are located; a target angle between a target line segment from the eye position to the first rearview mirror and the target horizontal plane is determined according to the eye position and the first rearview mirror; a first distance value is determined according to the second intersection point and the first intersection point, and a second distance value is determined according to the eye position and the second intersection point; and a target preset adjusting strategy is determined based on the target angle, the first distance value and the second distance value, so that the angles of the first rearview mirror and the second rearview mirror are adjusted to automatically and quickly adjust to angles suitable for driving by the driver.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle technology, and specifically to a method, apparatus, and computer-readable storage medium for adjusting a vehicle rearview mirror. Background Technology

[0002] Different drivers require different angles for their side mirrors due to differences in height and arm span. Currently, side mirrors are generally located on the sides of the vehicle, making manual adjustment inconvenient for the driver. They are typically adjusted electronically from inside the vehicle using buttons, and cannot be automatically and quickly adjusted to the driver's preferred angle. Summary of the Invention

[0003] In view of the above problems, this application provides a method, device and computer-readable storage medium for adjusting a vehicle rearview mirror, for automatically and quickly adjusting the rearview mirror angle to a suitable angle for the current driver.

[0004] According to one aspect of the embodiments of this application, a method for adjusting a vehicle rearview mirror is provided. The method includes: obtaining the driver's eye position, a first intersection point of a line connecting the eye position to a target, and a second intersection point of the driver's body position with a target horizontal plane; wherein the target line is the line connecting a first rearview mirror and a second rearview mirror, and the target horizontal plane is the horizontal plane where the first rearview mirror and the second rearview mirror are located; determining a target angle between the target line segment from the eye position to the first rearview mirror and the target horizontal plane based on the eye position and the first rearview mirror; determining a first distance value based on the second intersection point and the first intersection point, and determining a second distance value based on the eye position and the second intersection point; and determining a target preset adjustment strategy based on the target angle, the first distance value, and the second distance value to adjust the angles of the first rearview mirror and the second rearview mirror.

[0005] In one optional approach, each preset adjustment strategy corresponds to a preset angle, a preset first distance value, and a preset second distance value; determining the target preset adjustment strategy based on the target angle, the first distance value, and the second distance value further includes: calculating a first weighted value, a second weighted value, and a third weighted value corresponding to each preset adjustment strategy by comparing the target angle, the first distance value, and the second distance value with the preset angle, the preset first distance value, and the preset second distance value corresponding to each preset adjustment strategy; and determining the target preset adjustment strategy based on the first weighted value, the second weighted value, and the third weighted value corresponding to each preset adjustment strategy.

[0006] In one optional approach, determining the target preset adjustment strategy based on the first weighted value, second weighted value, and third weighted value corresponding to each adjustment strategy further includes: traversing multiple preset adjustment strategies and summing the first weighted value, second weighted value, and third weighted value corresponding to each traversed preset adjustment strategy to obtain a weighted sum value corresponding to each preset adjustment strategy; and selecting the preset adjustment strategy corresponding to the minimum weighted sum value among the multiple weighted sum values ​​as the target preset adjustment strategy.

[0007] In one optional approach, the step of calculating a first weighted value, a second weighted value, and a third weighted value for each preset adjustment strategy by comparing the target angle, the first distance value, and the second distance value with the preset angle, the preset first distance value, and the preset second distance value corresponding to each preset adjustment strategy, further includes: determining the first weighted value for each preset adjustment strategy based on the absolute value of the difference between the target angle and the preset angle corresponding to each preset adjustment strategy; determining the second weighted value for each preset adjustment strategy based on the absolute value of the difference between the first distance value and the preset first distance value corresponding to each preset adjustment strategy; and determining the third weighted value for each preset adjustment strategy based on the absolute value of the difference between the second distance value and the preset second distance value corresponding to each preset adjustment strategy.

[0008] In one optional approach, determining the first weighted value corresponding to each preset adjustment strategy based on the absolute value of the difference between the target angle and the preset angle corresponding to each preset adjustment strategy further includes: performing a matching operation between the absolute value of the difference between the target angle and the preset angle corresponding to each preset adjustment strategy and a preset value range to determine the successfully matched preset value range; and using the preset weighted value corresponding to the successfully matched preset value range as the first weighted value corresponding to the corresponding preset adjustment strategy to determine the first weighted value corresponding to each preset adjustment strategy.

[0009] In one optional embodiment, determining the target angle between the target line segment from the eye position to the first rearview mirror and the target horizontal plane based on the eye position and the first rearview mirror further includes: determining the distance from the eye position to the second intersection point based on the eye position and the second intersection point; determining the distance from the first rearview mirror to the second intersection point based on the first rearview mirror and the second intersection point; and calculating the target angle between the target line segment from the eye position to the first rearview mirror and the target horizontal plane based on the distance from the eye position to the second intersection point and the distance from the first rearview mirror to the second intersection point.

[0010] In one alternative approach, the adjustment method further includes: detecting whether an instruction to adjust the rearview mirror angle has been received, and detecting whether the current vehicle speed is zero; if both are true, then performing the steps of obtaining the driver's eye position, the first intersection point of the line connecting the eye position to the target, and the second intersection point of the driver's body position with the target horizontal plane.

[0011] According to another aspect of the embodiments of this application, a vehicle rearview mirror adjustment device is provided. The adjustment device includes: an acquisition module, configured to acquire the driver's eye position, a first intersection point of a line connecting the eye position to a target, and a second intersection point of the driver's body position with a target horizontal plane; wherein the target line is the line connecting a first rearview mirror and a second rearview mirror, and the target horizontal plane is the horizontal plane where the first rearview mirror and the second rearview mirror are located; a first determination module, configured to determine a target angle between a target line segment from the eye position to the first rearview mirror and the target horizontal plane based on the eye position and the first rearview mirror; a second determination module, configured to determine a first distance value based on the second intersection point and the first intersection point, and a second distance value based on the eye position and the second intersection point; and an adjustment module, configured to determine a target preset adjustment strategy based on the target angle, the first distance value, and the second distance value, to adjust the angles of the first rearview mirror and the second rearview mirror.

[0012] According to one aspect of the embodiments of this application, an electronic device is provided, including: a controller; and a memory for storing one or more programs, which, when executed by the controller, perform the adjustment method described above.

[0013] According to one aspect of the embodiments of this application, a computer-readable storage medium is also provided, on which computer-readable instructions are stored, which, when executed by a computer's processor, cause the computer to perform the above-described adjustment method.

[0014] According to one aspect of the embodiments of this application, a computer program product or computer program is also provided, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the adjustment method described above.

[0015] This application embodiment only needs to determine three specific points: the driver's eye position, the first intersection point between the eye position and the first and second rearview mirrors, and the second intersection point between the driver's body position and the horizontal plane where the first and second rearview mirrors are located. This allows for the rapid determination of the target angle between the target line segment from the driver's eye position to the first rearview mirror and the horizontal plane where the two rearview mirrors are located, the first distance value between the first and second intersection points, and the second distance value between the eye position and the second intersection point. Based on the target angle, the first distance value, and the second distance value, a target preset adjustment strategy is determined to adjust the angles of the first and second rearview mirrors, thereby automatically and quickly adjusting the rearview mirror angles to a suitable angle for the current driver.

[0016] The above description is merely an overview of the technical solutions of the embodiments of this application. In order to better understand the technical means of the embodiments of this application and to implement them in accordance with the contents of the specification, and to make the above and other objects, features and advantages of the embodiments of this application more obvious and understandable, specific implementation methods of this application are described below. Attached Figure Description

[0017] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application. It is obvious that the drawings described below are merely some embodiments of this application, and those skilled in the art can obtain other drawings based on these drawings without any inventive effort.

[0018] Figure 1 This is a schematic flowchart illustrating a method for adjusting a vehicle rearview mirror according to an exemplary embodiment of this application.

[0019] Figure 2 This is a schematic diagram illustrating specific locations inside a vehicle according to an exemplary embodiment of this application.

[0020] Figure 3 Based on Figure 1 The exemplary embodiment shown illustrates a flowchart of another method for adjusting a vehicle rearview mirror.

[0021] Figure 4 Based on Figure 3 The exemplary embodiment shown illustrates a flowchart of another method for adjusting a vehicle rearview mirror.

[0022] Figure 5 This is a schematic diagram illustrating an application scenario of the vehicle rearview mirror adjustment method described in this application.

[0023] Figure 6 This is a schematic diagram of the structure of a vehicle rearview mirror adjustment device shown in an exemplary embodiment of this application.

[0024] Figure 7 This is a schematic diagram of the structure of a computer system for an electronic device, as illustrated in an exemplary embodiment of this application. Detailed Implementation

[0025] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.

[0026] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software, in one or more hardware modules or integrated circuits, or in different network and / or processor devices and / or microcontroller devices.

[0027] The flowcharts shown in the accompanying drawings are merely illustrative and do not necessarily include all content and operations / steps, nor do they necessarily have to be performed in the described order. For example, some operations / steps can be broken down, while others can be combined or partially combined; therefore, the actual execution order may change depending on the specific circumstances.

[0028] In this application, "multiple" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0029] Drivers cannot accurately and quickly adjust the angles of the side mirrors of the vehicle to a satisfactory level using existing electronic control buttons. Therefore, one aspect of this application provides a method for adjusting vehicle side mirrors. Please refer to the details below. Figure 1 , Figure 1 This is a schematic flowchart illustrating a method for adjusting a vehicle rearview mirror according to an exemplary embodiment of this application. The adjustment method includes at least steps S110 to S140, which are described in detail below:

[0030] S110: Obtain the driver's eye position, the first intersection point of the line connecting the eye position to the target, and the second intersection point of the driver's body position with the target horizontal plane; wherein, the target line is the line connecting the first rearview mirror and the second rearview mirror, and the target horizontal plane is the horizontal plane where the first rearview mirror and the second rearview mirror are located.

[0031] Eye position refers to the position of the driver's eyes when the driver has adjusted their driving posture; body position refers to the position of the driver's upper body directly in front of the steering wheel while sitting in the driver's seat.

[0032] The target line is the line connecting the center points of the first and second rearview mirrors, which is parallel to the horizontal plane of the vehicle and contained within the target horizontal plane. The target horizontal plane is parallel to the horizontal plane of the vehicle body and is parallel to the ground. The first rearview mirror is the driver's side mirror, and the second rearview mirror is the passenger side mirror.

[0033] For example, please refer to Figure 2 , Figure 2 This is a schematic diagram of specific points inside a vehicle as shown in an exemplary embodiment of this application. Point o is the first intersection point, point d is the second intersection point, point p is the driver's eye position, point a is the position of the first rearview mirror, and point b is the position of the second rearview mirror; the plane containing points a, d, and o is the target horizontal plane; and line segment ab is the target connecting line.

[0034] S120: Based on the eye position and the first rearview mirror, determine the target angle between the target line segment from the eye position to the first rearview mirror and the target horizontal plane.

[0035] For example, such as Figure 2 As shown, the target line segment from the eye position to the first rearview mirror is pa, the target horizontal plane is the plane where points a, d, and o are located, and the angle between the target line segment and the target horizontal plane is α, which is the target angle in this embodiment. In triangle pda, α can be quickly calculated using the corresponding trigonometric function relationships.

[0036] S130: Determine the first distance value based on the second intersection point and the first intersection point, and determine the second distance value based on the eye position and the second intersection point.

[0037] For example, such as Figure 2 As shown, the first distance value is the length value corresponding to line segment do, and the second distance value is the length value corresponding to line segment pd.

[0038] S140: Based on the target angle, the first distance value and the second distance value, determine the target preset adjustment strategy to adjust the angle of the first rearview mirror and the second rearview mirror.

[0039] There is a corresponding relationship between the preset adjustment strategy and the preset parameter group. The preset parameter group includes the preset included angle, the preset first distance value and the preset second distance value.

[0040] For example, the target angle, first distance value, and second distance value calculated in the above steps are matched with the corresponding preset parameters in the preset parameter group to calculate the matching degree of the preset parameter group corresponding to each preset adjustment strategy. The preset adjustment strategy with the highest matching degree is taken as the target preset adjustment strategy. The preset parameter group originates from a calibration library based on real-vehicle testing. The calibration library records the body measurements of different drivers and the corresponding preset adjustment angles of the first and second rearview mirrors. In subsequent embodiments, the absolute value and weighted value of the difference are related to the body measurements in the calibration library. Simultaneously, the driver's preference can be used to manually adjust the rearview mirror angle, which is then recorded in the calibration library and updated as a new preset parameter group. Different drivers may have different heights, arm spans, and sitting postures, and their eye positions and body positions may also differ. This embodiment only needs to determine three specific points: the driver's eye position, the first intersection point between the eye position and the first and second rearview mirrors, and the second intersection point between the driver's body position and the horizontal plane where the first and second rearview mirrors are located. This allows for the rapid determination of the target angle between the target line segment from the driver's eye position to the first rearview mirror and the horizontal plane where the two rearview mirrors are located, the first distance value between the first and second intersection points, and the second distance value between the eye position and the second intersection point. Based on the target angle, the first distance value, and the second distance value, a target preset adjustment strategy is determined to adjust the angles of the first and second rearview mirrors, thereby automatically and quickly adjusting the rearview mirror angles to a suitable angle for the current driver.

[0041] In another exemplary embodiment of this application, it is described in detail how to determine a target preset adjustment strategy based on the target angle, a first distance value, and a second distance value. Please refer to [link to relevant documentation] for details. Figure 3 , Figure 3 Based on Figure 1 The exemplary embodiment shown illustrates a flowchart of another method for adjusting a vehicle rearview mirror.

[0042] Each preset adjustment strategy corresponds to a preset included angle, a preset first distance value, and a preset second distance value; this adjustment method is used in situations such as... Figure 1 The S140 shown further includes S310 to S320, which are described in detail below:

[0043] S310: Calculate the first weighted value, second weighted value, and third weighted value corresponding to each preset adjustment strategy by comparing the target angle, first distance value, and second distance value with the preset angle, preset first distance value, and preset second distance value corresponding to each preset adjustment strategy.

[0044] S320: Determine the target preset adjustment strategy based on the first weighted value, the second weighted value, and the third weighted value corresponding to each preset adjustment strategy.

[0045] For example, the difference between the target angle and the preset angle, the first distance value and the preset first distance value, and the second distance value and the preset second distance value are calculated respectively, and the first weighted value, the second weighted value, and the third weighted value corresponding to the three differences are determined respectively; the three weighted values ​​are summed to obtain the weighted sum value corresponding to multiple preset adjustment strategies, and the preset adjustment strategy corresponding to the smallest weighted sum value is taken as the target preset adjustment strategy.

[0046] In some embodiments, if there are multiple minimum weighted sum values, the preset adjustment strategy with the preset angle closer to the target angle is selected as the target preset adjustment strategy. For example, if the target angle is 10°, the weighted sum values ​​corresponding to the first preset adjustment strategy and the second preset adjustment strategy are both minimum values; wherein, the preset angle corresponding to the first preset adjustment strategy is 8°, and the preset angle corresponding to the second preset adjustment strategy is 10°, that is, the preset angle corresponding to the second preset adjustment strategy is closer to the target angle, then the second preset adjustment strategy is selected as the target preset adjustment strategy.

[0047] This embodiment provides a method for determining a target preset adjustment strategy by calculating the target angle, the first distance value, the second distance value, the corresponding first weighted value, the second weighted value, and the third weighted value, and quickly determining the target preset adjustment strategy based on the three weighted values.

[0048] In another exemplary embodiment of this application, it is described in detail how to determine the target preset adjustment strategy based on the first weighted value, the second weighted value, and the third weighted value corresponding to each adjustment strategy, that is, the above-mentioned S320 further includes S3201 to S3202, which are described in detail below:

[0049] S3201: Iterate through multiple preset adjustment strategies, and sum the first weighted value, second weighted value and third weighted value corresponding to the preset adjustment strategy to obtain the weighted sum value corresponding to the preset adjustment strategy, so as to obtain the weighted sum value corresponding to each preset adjustment strategy.

[0050] This embodiment ensures that the preset parameter group corresponding to each preset adjustment strategy is calculated without omission by traversing each preset adjustment strategy, so as to obtain the three weighted values ​​and the weighted sum value corresponding to each preset adjustment strategy.

[0051] S3202: Use the preset adjustment strategy corresponding to the smallest weighted sum among multiple weighted sums as the target preset adjustment strategy.

[0052] For example, if the weighted sum value corresponding to the first preset adjustment strategy is 5, the weighted sum value corresponding to the second preset adjustment strategy is 6, and the weighted sum value corresponding to the third preset adjustment strategy is 7, then the minimum weighted sum value is 5, and the first preset adjustment strategy is taken as the target preset adjustment strategy.

[0053] In another exemplary embodiment of this application, it is described in detail how to calculate the first weighted value, the second weighted value, and the third weighted value corresponding to each adjustment strategy by comparing the target angle, the first distance value, and the second distance value with the preset angle, the preset first distance value, and the preset second distance value corresponding to each preset adjustment strategy. Please refer to [link to relevant documentation] for details. Figure 4 , Figure 4 Based on Figure 3 The illustrated exemplary embodiment presents a flowchart of another method for adjusting a vehicle rearview mirror. This adjustment method, as shown in the example... Figure 3 The S310 shown further includes S410 to S430, which are described in detail below:

[0054] S410: Determine the first weighted value corresponding to each preset adjustment strategy based on the absolute value of the difference between the target angle and the corresponding preset angle in each preset adjustment strategy.

[0055] For example, if the target angle is 80° and the preset angle corresponding to the first preset adjustment strategy is 70°, then the absolute value of the difference = |80°-70°| = 10°, and the first weighted value corresponding to the first preset adjustment strategy is determined based on the absolute value of the difference.

[0056] S420: Determine the second weighted value corresponding to each preset adjustment strategy based on the absolute value of the difference between the first distance value and the corresponding preset first distance value in each preset adjustment strategy.

[0057] Similarly, the absolute value of the difference between the first distance value and the preset first distance value corresponds to a corresponding second weighting value, and the corresponding weighting value can be quickly determined based on the absolute value of the difference.

[0058] S430: Determine the third weighted value corresponding to each preset adjustment strategy based on the absolute value of the difference between the second distance value and the corresponding preset second distance value in each preset adjustment strategy.

[0059] The specific values ​​of the first weighted value, the second weighted value, and the third weighted value may be the same or different. This application does not limit the size relationship between them or their specific values.

[0060] This embodiment specifically illustrates how to determine the three weighted values ​​corresponding to each preset adjustment strategy. The first weighted value, the second weighted value, and the third weighted value are quickly determined based on the absolute value of the difference between the target angle and the preset angle, the absolute difference between the first distance value and the preset first distance value, and the absolute difference between the second distance value and the preset second distance value.

[0061] In another exemplary embodiment of this application, it is described in detail how to determine the first weighted value corresponding to each preset adjustment strategy based on the absolute value of the difference between the target angle and the preset angle corresponding to each preset adjustment strategy, that is, the above-mentioned S410 further includes S4101 to S4102, which are described in detail below:

[0062] S4101: Match the absolute value of the difference between the target angle and the corresponding preset angle in each preset adjustment strategy with a preset value range to determine the preset value range that is successfully matched.

[0063] S4102: Use the preset weighted value corresponding to the successfully matched preset value range as the first weighted value corresponding to the corresponding preset adjustment strategy to determine the first weighted value corresponding to each preset adjustment strategy.

[0064] This embodiment is illustrated by way of example. The first weighting value corresponding to each preset adjustment strategy is determined according to Table 1. Table 1 is a table showing the correspondence between the absolute value of the difference and the weighting value.

[0065]

[0066] Table 1

[0067] Each preset adjustment strategy corresponds to a preset angle. For example, the preset angle corresponding to the first preset adjustment strategy is α1 in Table 1, and the preset angle corresponding to the second preset adjustment strategy is α2 in Table 1.

[0068] Similarly, the second weighted value corresponding to each preset adjustment strategy is determined by example according to Table 2, and the second weighted value corresponding to each preset adjustment strategy is determined according to Table 3; wherein, Table 2 is a correspondence table between the first distance value and the weighted value, and Table 3 is a correspondence table between the second distance value and the weighted value.

[0069]

[0070] Table 2

[0071]

[0072] Table 3

[0073] This embodiment further illustrates the specific process of determining the first weighted value corresponding to each preset adjustment strategy. By matching the absolute value of the difference between the target angle and the preset angle corresponding to each preset adjustment strategy with a preset numerical range, the corresponding weighted value can be determined quickly and accurately.

[0074] Each preset adjustment strategy includes a preset parameter group, as shown in Table 4. Table 4 is an example table of preset parameters in the preset adjustment strategy. The target preset adjustment strategy is determined from multiple preset adjustment strategies. The target preset adjustment strategy corresponds to the horizontal and numerical adjustment angles of the first and second rearview mirrors.

[0075]

[0076] Table 4

[0077] In some embodiments, relevant parameters after the user manually adjusts the rearview mirror, namely the adjusted target angle, the first distance value, and the second distance value, can also be recorded and entered into a calibration library as a new preset adjustment strategy. This updates the calibration library containing the preset adjustment strategies, facilitating the rapid matching of a suitable target preset adjustment strategy for the driver. The parameters after the user manually adjusts the rearview mirror have higher priority than the preset parameters before the vehicle leaves the factory.

[0078] In another exemplary embodiment of this application, it is described in detail how to determine the target angle between the target line segment from the eye position to the first rearview mirror and the target horizontal plane based on the eye position and the first rearview mirror. That is, S120 in any of the above exemplary embodiments further includes S1201 to S1203, which are described in detail below:

[0079] S1201: Determine the distance from the eye position to the second intersection point based on the eye position and the second intersection point.

[0080] For example, the three-dimensional coordinates of the eye position are (x1, y1, z1), and the three-dimensional coordinates of the second intersection point are (x1, y1, z1). The distance from the eye position to the second intersection point is calculated using the following formula:

[0081]

[0082] Where d is the distance from the eye position to the second intersection point.

[0083] Another example, such as Figure 2 As shown, in triangle aod, ∠aod = 90°. Using the Pythagorean theorem, the distance from the eye position to the second intersection point can be calculated (i.e.,...). Figure 2 The length of the median segment 'ad' is calculated using the following formula:

[0084]

[0085] Where ao is the distance between the center point of the first rearview mirror and the first intersection point. This parameter does not change with different drivers, that is, ao is a constant parameter throughout the adjustment process; do is the distance between the second intersection point and the first intersection point, which is a variable parameter.

[0086] S1202: Determine the distance from the first rearview mirror to the second intersection point based on the first rearview mirror and the second intersection point.

[0087] Similarly, the distance from the center point of the first rearview mirror to the second intersection point can be calculated based on the corresponding three-dimensional coordinates.

[0088] S1203: Based on the distance from the eye position to the second intersection point and the distance from the eye position to the second intersection point, calculate the target angle between the target line segment from the eye position to the first rearview mirror and the target horizontal plane.

[0089] For example, such as Figure 2 As shown, the distance from the eye position to the second intersection point is the length of line segment pd, and the distance from the center of the first rearview mirror to the second intersection point is the length of line segment ad. Since ∠pda = 90° in triangle dpa, α = arctan(pd / ad). Furthermore, the value of ad can also be calculated in triangle aod using the Pythagorean theorem, since ∠aod = 90°. but

[0090] This embodiment uses simple trigonometric relationships and the Pythagorean theorem to conveniently and quickly calculate the target angle between the target line segment from the eye position to the first rearview mirror and the target horizontal plane.

[0091] In another exemplary embodiment of this application, the pre-steps of the adjustment method in any of the above embodiments are described in detail. That is, the adjustment method shown in any of the above exemplary embodiments further includes S11 to S12, which are described in detail below:

[0092] S11: Detect whether a command to adjust the rearview mirror angle has been received, and detect whether the current vehicle speed is zero.

[0093] The command to adjust the rearview mirror angle is triggered by the driver. For example, the driver can trigger the command via a physical button inside the vehicle, or by issuing a voice command such as "adjust the rearview mirror angle." The following provides an example scenario for voice interaction commands:

[0094] When the driver enters the driver's seat, the execution segment control voice module in this embodiment plays the question, "Excuse me, do you need to adjust the rearview mirror angle?" If the driver replies with an affirmative voice such as "Okay" or "Sure," a command to adjust the rearview mirror angle is triggered. In certain non-driving scenarios, the user can proactively trigger the adjustment command to adjust the rearview mirror angle in a timely manner.

[0095] S12: If all are yes, then execute the steps of obtaining the driver's eye position, the first intersection of the line connecting the eye position to the target, and the second intersection of the driver's body position with the target horizontal plane.

[0096] The rearview mirror adjustment process begins only when the vehicle is in a non-driving state, i.e., the vehicle speed is zero, and the main body detects and receives the instruction to adjust the rearview mirror angle. Then, the above-mentioned S110 is executed to effectively prevent the rearview mirror angle adjustment instruction from being accidentally triggered during driving, which would cause the rearview mirror angle to change during driving and interfere with the driver's normal driving, thereby improving vehicle driving safety to a certain extent.

[0097] In another exemplary embodiment of this application, the application scenarios of the above-mentioned adjustment methods are illustrated by way of example. Please refer to the following for details. Figure 5 , Figure 5 This is a schematic diagram illustrating an application scenario of the vehicle rearview mirror adjustment method of this application. It includes a vehicle 100 and a server 200, which can be connected wirelessly. This application does not limit the connection method between them. The server 200 can be as follows... Figure 5 The device shown can be placed inside or outside the vehicle 100; this application does not limit its placement.

[0098] Server 200, acting as the execution entity, can execute the adjustment method shown in any of the exemplary embodiments described above, as illustrated below:

[0099] Server 200 acquires the driver's eye position, the first intersection point of the line connecting the eye position to the target, and the second intersection point of the driver's body position with the target horizontal plane; wherein, the target line is the line connecting the first rearview mirror and the second rearview mirror, and the target horizontal plane is the horizontal plane where the first rearview mirror and the second rearview mirror are located; Server 200 determines the target angle between the target line segment from the eye position to the first rearview mirror and the target horizontal plane based on the eye position and the first rearview mirror; Server 200 determines a first distance value based on the second intersection point and the first intersection point, and determines a second distance value based on the eye position and the second intersection point; Server 200 determines a target preset adjustment strategy based on the target angle, the first distance value and the second distance value to adjust the angles of the first rearview mirror and the second rearview mirror.

[0100] Server 200 can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. Multiple servers can form a blockchain, and the server is a node on the blockchain. Server 200 can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. This document does not impose any restrictions on this.

[0101] Another aspect of this application provides an adjustment device for a vehicle rearview mirror, such as... Figure 6 As shown, Figure 6 This is a schematic diagram of the structure of a vehicle rearview mirror adjustment device shown in an exemplary embodiment of this application.

[0102] The adjusting device 600 includes:

[0103] The acquisition module 610 is used to acquire the driver's eye position, the first intersection point of the line connecting the eye position to the target, and the second intersection point of the driver's body position with the target horizontal plane; wherein, the target line is the line connecting the first rearview mirror and the second rearview mirror, and the target horizontal plane is the horizontal plane where the first rearview mirror and the second rearview mirror are located.

[0104] The first determining module 630 is used to determine the target angle between the target line segment from the eye position to the first rearview mirror and the target horizontal plane based on the eye position and the first rearview mirror.

[0105] The second determining module 650 is used to determine a first distance value based on the second intersection point and the first intersection point, and to determine a second distance value based on the eye position and the second intersection point.

[0106] The adjustment module 670 is used to determine a target preset adjustment strategy based on the target angle, a first distance value, and a second distance value, so as to adjust the angles of the first rearview mirror and the second rearview mirror.

[0107] In one alternative approach, each preset adjustment strategy corresponds to a preset included angle, a preset first distance value, and a preset second distance value; the adjustment module 670 further includes:

[0108] The first calculation unit is used to calculate the first weighted value, the second weighted value, and the third weighted value corresponding to each preset adjustment strategy by comparing the target angle, the first distance value, and the second distance value with the preset angle, the preset first distance value, and the preset second distance value corresponding to each preset adjustment strategy.

[0109] The first determining unit is used to determine the target preset adjustment strategy based on the first weighted value, the second weighted value and the third weighted value corresponding to each preset adjustment strategy.

[0110] In an alternative embodiment, the first determining unit further includes:

[0111] The traversal module is used to traverse multiple preset adjustment strategies and sum the first weighted value, second weighted value and third weighted value corresponding to the traversed preset adjustment strategy to obtain the weighted sum value corresponding to the traversed preset adjustment strategy, so as to obtain the weighted sum value corresponding to each preset adjustment strategy.

[0112] The defined section is used to select the preset adjustment strategy corresponding to the smallest weighted sum among multiple weighted sums as the target preset adjustment strategy.

[0113] In an alternative embodiment, the first computing unit further includes:

[0114] The first weighted value calculation module is used to determine the first weighted value corresponding to each preset adjustment strategy based on the absolute value of the difference between the target angle and the corresponding preset angle in each preset adjustment strategy.

[0115] The second weighted value calculation module is used to determine the second weighted value corresponding to each preset adjustment strategy based on the absolute value of the difference between the first distance value and the corresponding preset first distance value in each preset adjustment strategy.

[0116] The third weighted value calculation module is used to determine the third weighted value corresponding to each preset adjustment strategy based on the absolute value of the difference between the second distance value and the corresponding preset second distance value in each preset adjustment strategy.

[0117] In one alternative approach, the first weighted value calculation module further includes:

[0118] The matching sub-module is used to match the absolute value of the difference between the target angle and the corresponding preset angle in each preset adjustment strategy with a preset value range to determine the preset value range that is successfully matched.

[0119] The "Successfully Matched" section is used to take the preset weighted value corresponding to the preset numerical range that was successfully matched as the first weighted value corresponding to the corresponding preset adjustment strategy, so as to determine the first weighted value corresponding to each preset adjustment strategy.

[0120] In an alternative embodiment, the first determining module 630 further includes:

[0121] The first distance value determination unit is used to determine the distance value from the eye position to the second intersection point based on the eye position and the second intersection point.

[0122] The second distance value determination unit is used to determine the distance value from the first rearview mirror to the second intersection point based on the first rearview mirror and the second intersection point.

[0123] The target angle calculation unit is used to calculate the target angle between the target line segment from the eye position to the first rearview mirror and the target horizontal plane based on the distance value from the eye position to the second intersection point and the distance value from the first rearview mirror to the second intersection point.

[0124] In an alternative embodiment, the adjusting device 600 further includes:

[0125] The detection module is used to detect whether a command to adjust the rearview mirror angle has been received, and to detect whether the current vehicle speed is zero.

[0126] The execution module is used to execute the steps of obtaining the driver's eye position, the first intersection point of the line connecting the eye position to the target, and the second intersection point of the driver's body position and the target horizontal plane if all are true.

[0127] The adjustment device of this application only needs to determine three specific points: the driver's eye position, the first intersection point between the eye position and the first and second rearview mirrors, and the second intersection point between the driver's body position and the horizontal plane where the first and second rearview mirrors are located. It can then quickly determine the target angle between the target line segment from the driver's eye position to the first rearview mirror and the horizontal plane where the two rearview mirrors are located, the first distance value between the first and second intersection points, and the second distance value between the eye position and the second intersection point. Based on the target angle, the first distance value, and the second distance value, a target preset adjustment strategy is determined to adjust the angle of the first and second rearview mirrors, thereby automatically and quickly adjusting the rearview mirror angle to a suitable angle for the current driver.

[0128] It should be noted that the adjustment device provided in the above embodiments and the adjustment method provided in the foregoing embodiments belong to the same concept. The specific way in which each module and unit performs operations has been described in detail in the method embodiments, and will not be repeated here.

[0129] Another aspect of this application provides an electronic device, including: a controller; and a memory for storing one or more programs, which, when executed by the controller, perform the adjustment method described above.

[0130] Please see Figure 7 , Figure 7 This is a schematic diagram of the structure of a computer system for an electronic device, illustrating an exemplary embodiment of this application. It shows a schematic diagram of the structure of a computer system suitable for implementing the embodiments of this application.

[0131] It should be noted that, Figure 7The computer system 700 of the electronic device shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.

[0132] like Figure 7 As shown, the computer system 700 includes a Central Processing Unit (CPU) 701, which can perform various appropriate actions and processes, such as executing the methods described in the above embodiments, based on programs stored in Read-Only Memory (ROM) 702 or programs loaded from storage portion 708 into Random Access Memory (RAM) 703. The RAM 703 also stores various programs and data required for system operation. The CPU 701, ROM 702, and RAM 703 are interconnected via a bus 704. An Input / Output (I / O) interface 705 is also connected to the bus 704.

[0133] The following components are connected to I / O interface 705: an input section 706 including a keyboard, mouse, etc.; an output section 707 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN (Local Area Network) card, modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to I / O interface 705 as needed. A removable medium 711, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 710 as needed so that computer programs read from it can be installed into storage section 708 as needed.

[0134] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program including a computer program for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 709, and / or installed from removable medium 711. When the computer program is executed by central processing unit (CPU) 701, it performs various functions defined in the system of this application.

[0135] It should be noted that the computer-readable medium shown in the embodiments of this application can be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, portable compact disc read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this application, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. The transmitted data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wireless, wired, etc., or any suitable combination thereof.

[0136] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. Each block in a flowchart or block diagram may represent a module, segment, or portion of code, which contains one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0137] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.

[0138] Another aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the aforementioned adjustment method. This computer-readable storage medium may be included in the electronic device described in the above embodiments, or it may exist independently and not incorporated into the electronic device.

[0139] Another aspect of this application provides a computer program product or computer program including computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the adjustment methods provided in the various embodiments described above.

[0140] According to one aspect of the embodiments of this application, a computer system is also provided, including a Central Processing Unit (CPU), which can perform various appropriate actions and processes based on a program stored in read-only memory (ROM) or a program loaded from storage into random access memory (RAM), such as performing the methods described above. Various programs and data required for system operation are also stored in the RAM. The CPU, ROM, and RAM are interconnected via a bus. Input / output (I / O) interfaces are also connected to the bus.

[0141] The following components are connected to the I / O interface: input components including keyboards, mice, etc.; output components including cathode ray tubes (CRTs), liquid crystal displays (LCDs), and speakers; storage components including hard drives; and communication components including network interface cards such as LAN (Local Area Network) cards and modems. The communication components perform communication processing via networks such as the Internet. Drives are also connected to the I / O interface as needed. Removable media, such as disks, optical discs, magneto-optical discs, semiconductor memories, etc., are installed on the drive as needed so that computer programs read from them can be installed into the storage components as required.

[0142] The above description is merely a preferred exemplary embodiment of this application and is not intended to limit the implementation of this application. Those skilled in the art can easily make corresponding modifications or alterations based on the main concept and spirit of this application. Therefore, the scope of protection of this application should be determined by the scope of protection claimed in the claims.

Claims

1. A method for adjusting a vehicle rearview mirror, characterized in that, The adjustment method includes: The driver's eye position is obtained, along with the first intersection point of the line connecting the eye position to the target and the second intersection point of the driver's body position with the target horizontal plane; wherein, the target line is the line connecting the first rearview mirror and the second rearview mirror, and the target horizontal plane is the horizontal plane where the first rearview mirror and the second rearview mirror are located. Based on the eye position and the first rearview mirror, determine the target angle between the target line segment from the eye position to the first rearview mirror and the target horizontal plane; A first distance value is determined based on the second intersection point and the first intersection point, and a second distance value is determined based on the eye position and the second intersection point; Based on the target angle, the first distance value and the second distance value, a target preset adjustment strategy is determined to adjust the angles of the first rearview mirror and the second rearview mirror; Each preset adjustment strategy corresponds to a preset included angle, a preset first distance value, and a preset second distance value; determining the target preset adjustment strategy based on the target included angle, the first distance value, and the second distance value further includes: The target angle, the first distance value, and the second distance value are respectively compared with the preset angle, the preset first distance value, and the preset second distance value in each preset adjustment strategy to calculate the first weighted value, the second weighted value, and the third weighted value corresponding to each preset adjustment strategy; The target preset adjustment strategy is determined based on the first weighted value, the second weighted value, and the third weighted value corresponding to each preset adjustment strategy.

2. The adjustment method according to claim 1, characterized in that, The step of determining the target preset adjustment strategy based on the first weighted value, the second weighted value, and the third weighted value corresponding to each preset adjustment strategy further includes: Iterate through multiple preset adjustment strategies, and sum the first weighted value, second weighted value and third weighted value corresponding to the preset adjustment strategy to obtain the weighted sum value corresponding to the preset adjustment strategy. The preset adjustment strategy corresponding to the smallest weighted sum among multiple weighted sums is taken as the target preset adjustment strategy.

3. The adjustment method according to claim 1, characterized in that, The step of calculating the first weighted value, the second weighted value, and the target included angle, the first distance value, and the second distance value with the corresponding preset included angle, the preset first distance value, and the preset second distance value in each preset adjustment strategy, respectively, further includes: The first weighted value corresponding to each preset adjustment strategy is determined based on the absolute value of the difference between the target angle and the preset angle corresponding to each preset adjustment strategy. The second weighted value corresponding to each preset adjustment strategy is determined based on the absolute value of the difference between the first distance value and the corresponding preset first distance value in each preset adjustment strategy. The third weighted value corresponding to each preset adjustment strategy is determined based on the absolute value of the difference between the second distance value and the corresponding preset second distance value in each preset adjustment strategy.

4. The adjustment method according to claim 3, characterized in that, The step of determining the first weighted value corresponding to each preset adjustment strategy based on the absolute value of the difference between the target angle and the preset angle corresponding to each preset adjustment strategy further includes: The absolute value of the difference between the target angle and the corresponding preset angle in each preset adjustment strategy is matched with a preset value range to determine the preset value range that is successfully matched. The preset weighted value corresponding to the successfully matched preset numerical range is used as the first weighted value corresponding to the corresponding preset adjustment strategy, so as to determine the first weighted value corresponding to each preset adjustment strategy.

5. The adjustment method according to claim 1, characterized in that, The step of determining the target angle between the target line segment from the eye position to the first rearview mirror and the target horizontal plane based on the eye position and the first rearview mirror further includes: Based on the eye position and the second intersection point, determine the distance value from the eye position to the second intersection point; The distance from the first rearview mirror to the second intersection point is determined based on the first rearview mirror and the second intersection point. Based on the distance from the eye position to the second intersection point and the distance from the first rearview mirror to the second intersection point, the target angle between the target line segment from the eye position to the first rearview mirror and the target horizontal plane is calculated.

6. The adjustment method according to any one of claims 1 to 5, characterized in that, The adjustment method further includes: It detects whether a command to adjust the rearview mirror angle has been received, and whether the current vehicle speed is zero. If all are true, then proceed with the steps of obtaining the driver's eye position, the first intersection of the line connecting the eye position to the target, and the second intersection of the driver's body position with the target horizontal plane.

7. A vehicle rearview mirror adjustment device, characterized in that, The adjustment device includes: The acquisition module is used to acquire the driver's eye position, the first intersection point of the line connecting the eye position to the target, and the second intersection point of the driver's body position with the target horizontal plane; wherein, the target line is the line connecting the first rearview mirror and the second rearview mirror, and the target horizontal plane is the horizontal plane where the first rearview mirror and the second rearview mirror are located; The first determining module is used to determine the target angle between the target line segment from the eye position to the first rearview mirror and the target horizontal plane based on the eye position and the first rearview mirror. The second determining module is used to determine a first distance value based on the second intersection point and the first intersection point, and to determine a second distance value based on the eye position and the second intersection point; The adjustment module is used to determine a target preset adjustment strategy based on the target angle, the first distance value and the second distance value, so as to adjust the angle of the first rearview mirror and the second rearview mirror; Each preset adjustment strategy corresponds to a preset included angle, a preset first distance value, and a preset second distance value; the adjustment module includes: The first calculation unit is used to calculate the first weighted value, the second weighted value, and the third weighted value corresponding to each preset adjustment strategy by comparing the target angle, the first distance value, and the second distance value with the preset angle, the preset first distance value, and the preset second distance value corresponding to each preset adjustment strategy. The first determining unit is used to determine the target preset adjustment strategy based on the first weighted value, the second weighted value and the third weighted value corresponding to each preset adjustment strategy.

8. An electronic device, characterized in that, include: Controller; A memory for storing one or more programs, which, when executed by the controller, cause the controller to implement the adjustment method as described in any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, It stores computer-readable instructions that, when executed by the computer's processor, cause the computer to perform the adjustment method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Method, device, equipment and system for adjusting rearview mirror

    CN106740493A

  • Vehicular rear-view mirror device

    JP2008062805A