Method and device for adjusting outside rear-view mirror of automobile
By simulating the straight line between the driver's human eye position and the exterior rearview mirror and determining whether it is automatically adjusted in the preset adjustment area grid, the problem of manual adjustment in the prior art is solved. Improved driving safety and efficiency.
Patent Information
- Application Number
- CN202411579302.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-06
- Publication Date
- 2025-02-18
AI Technical Summary
The existing car exterior mirror adjustment method requires manual adjustment by the driver during driving, which leads to cumbersome operation and may distract attention, affecting driving safety.
By obtaining the current driver's human eye position, using simulation software to simulate two simulated straight lines, from the human eye position to the left rearview mirror and the right rearview mirror direction, we can determine whether these simulated straight lines are in the preset rearview mirror adjustment area. If so, the rearview mirror will be automatically adjusted.
It realizes automatic adjustment of the exterior mirror when the vehicle is driving, ensuring the optimal field of view, reducing the driver's need for manual adjustment, and improving driving safety and adjustment efficiency.
Smart Images

Figure CN119459522A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automobile electronic control, and in particular to a method and a device for adjusting an exterior rearview mirror of an automobile. Background Art
[0002] When driving a car, the exterior mirror plays a vital role, helping the driver to monitor the traffic conditions behind the vehicle, thereby ensuring the safety of himself and other road users. Therefore, adjusting the exterior mirror to obtain the best field of view is a basic safety need for every driver.
[0003] Currently, the adjustment method of the exterior mirror mainly relies on the driver to manually adjust the exterior mirror to a satisfactory position. Specifically, after each adjustment of the exterior mirror, the driver needs to confirm whether the best field of view provided by the exterior mirror is obtained in the current position through a test on the vehicle. If so, the current position will be associated with the exterior mirror angle setting that provides the best field of view and stored. In this way, when the system recognizes the driver's position again through the recognition device (usually facial recognition), it can automatically call the corresponding exterior mirror setting to achieve quick adjustment.
[0004] However, this adjustment method has certain limitations. In actual driving, the driver may inadvertently deviate from the previously stored position, or frequently change the sitting position due to personal habits. In this case, even if the system has set the position of the exterior mirror according to the memory, it may no longer be the most ideal field of view. Therefore, it may be necessary to adjust the position of the exterior mirror again. With the current exterior mirror adjustment method, if the driver needs to constantly manually adjust the exterior mirror during driving, it is not only cumbersome to operate, but may also distract attention, thus adversely affecting driving safety. Summary of the invention
[0005] In view of the above problems, the present invention provides a method and device for adjusting the exterior rearview mirror of a vehicle, the main purpose of which is to automatically adjust the exterior rearview mirror of the vehicle when the vehicle is driving to improve driving safety.
[0006] In order to solve the above technical problems, the present invention proposes the following solutions:
[0007] In a first aspect, the present invention provides a method for adjusting an exterior rearview mirror of a vehicle, the method comprising:
[0008] Get the current eye position of the person while driving;
[0009] Using simulation software to simulate a first simulated straight line from the human eye position to the left rearview mirror and a second simulated straight line to the right rearview mirror;
[0010] Determine whether the first simulated straight line is in a first grid in a left rearview mirror adjustment area of a target rearview mirror adjustment solution, and whether the second simulated straight line is in a second grid in a right rearview mirror adjustment area of a target rearview mirror adjustment solution;
[0011] If so, the left rearview mirror of the vehicle is adjusted according to the first grid, and the right rearview mirror of the vehicle is adjusted according to the second grid.
[0012] In a second aspect, the present invention provides an exterior rearview mirror adjustment device for a vehicle, the device comprising:
[0013] A position acquisition unit, used to acquire the current eye position of a person while driving;
[0014] A straight line simulation unit, used to simulate a first simulated straight line from the human eye position obtained by the position acquisition unit to the left rearview mirror direction and a second simulated straight line to the right rearview mirror direction using simulation software;
[0015] a grid judgment unit, used to judge whether the first simulated straight line simulated by the straight line simulation unit is in a first grid in a left rearview mirror adjustment area of a target rearview mirror adjustment solution, and whether the second simulated straight line is in a second grid in a right rearview mirror adjustment area of a target rearview mirror adjustment solution;
[0016] The rearview mirror adjustment unit is used to adjust the left rearview mirror of the vehicle according to the first grid and adjust the right rearview mirror of the vehicle according to the second grid if the judgment result of the grid judgment unit is yes.
[0017] In order to achieve the above-mentioned purpose, according to the third aspect of the present invention, a storage medium is provided, wherein the storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the vehicle exterior rearview mirror adjustment method of the above-mentioned first aspect.
[0018] In order to achieve the above object, according to a fourth aspect of the present invention, a processor is provided, wherein the processor is used to run a program, wherein the program executes the method for adjusting the exterior rearview mirror of a vehicle according to the first aspect when running.
[0019] By means of the above technical scheme, the present invention provides a method and device for adjusting the exterior rearview mirror of an automobile. In order to realize automatic adjustment of the rearview mirror based on the eye position of the driver, the eye position during the current driving can be first obtained. Then, two simulation lines are generated using simulation software: one is a first simulation line from the eye position to the left rearview mirror direction, and the other is a second simulation line from the eye position to the right rearview mirror direction. After that, it is necessary to check whether the first simulation line falls within the first grid of the left rearview mirror adjustment area, and whether the second simulation line falls within the second grid of the right rearview mirror adjustment area. If so, the left rearview mirror of the vehicle can be adjusted according to the first grid, and the right rearview mirror of the vehicle can be adjusted according to the second grid. Compared with the prior art, the present invention can automatically match the corresponding grids in the left rearview mirror adjustment area and the right rearview mirror adjustment area in the target rearview mirror adjustment scheme according to the line of sight direction, and adjust the rearview mirror accordingly. This method not only ensures the best field of view, but also eliminates the need for the driver to make manual adjustments while driving, thereby improving driving safety.
[0020] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present invention. Moreover, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0022] Figure 1 A flow chart of a method for adjusting an exterior rearview mirror of a vehicle provided by an embodiment of the present invention is shown;
[0023] Figure 2 Another flow chart of a method for adjusting an exterior rearview mirror of a vehicle provided by an embodiment of the present invention is shown;
[0024] Figure 3 A block diagram showing a component of an exterior rearview mirror adjustment device for a vehicle provided by an embodiment of the present invention;
[0025] Figure 4 A block diagram showing the composition of another vehicle exterior rearview mirror adjustment device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0026] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.
[0027] The inventors have conducted in-depth thinking and research on the threats that current rearview mirror adjustment methods may pose to driving safety. During the exploration process, the inventors considered a variety of possible improvement plans. One solution is that the driver manually adjusts the rearview mirror angles corresponding to different driving positions before departure, and stores these driving positions and corresponding rearview mirror settings for subsequent use. Another solution is to predetermine the rearview mirror angles required for multiple different human eye positions through a calculation formula, and then store these angles together with the corresponding human eye position information in a database. In this way, during driving, the facial recognition system on the vehicle can identify the driver's position, and call the corresponding rearview mirror settings from the database based on this information, and then adjust the rearview mirror to the preset position.
[0028] However, during the experiment, the inventors found that these methods have certain limitations. Not only may they not cover all driving situations, but they are also inefficient in the calculation or manual adjustment process and cannot meet the needs of efficiency and convenience.
[0029] To this end, the inventor continued to conduct in-depth research and finally proposed a new method for adjusting the exterior rearview mirror of an automobile. This method does not rely on the storage form of the association between the human eye position and the rearview mirror adjustment position, but adopts a pre-set rearview mirror adjustment area and performs grid division in this area. In this way, during actual driving, the specific grid positions of the first simulated straight line from the human eye position to the left rearview mirror and the second simulated straight line to the right rearview mirror in the rearview mirror adjustment area can be determined according to the driver's line of sight. Then, the vehicle's rearview mirror is automatically adjusted according to these grid positions. This method not only eliminates the driver's manual adjustment steps, but also avoids a lot of calculation work, thereby not only improving driving safety, but also greatly improving the efficiency of adjustment.
[0030] Next, combine Figure 1 A method for adjusting an exterior rearview mirror of a vehicle provided by an embodiment of the present invention is described. The specific steps are as follows: Figure 1 As shown, including:
[0031] 101. Obtain the current eye position of a person while driving.
[0032] 102. Use simulation software to simulate a first simulated straight line from the position of the human eye to the direction of the left rearview mirror and a second simulated straight line to the direction of the right rearview mirror.
[0033] In this embodiment, step 101 uses a face recognition device equipped on the vehicle to obtain the driver's eye position in real time while driving. That is to say, the automobile exterior rearview mirror adjustment method provided by the present invention is carried out dynamically, and the face recognition device continuously monitors and obtains the position data of the human eye. Once the position of the human eye is accurately captured, this information will be transmitted to the simulation software. In step 102, the simulation software uses these received position data to simulate two simulated straight lines from the driver's eye position to the left rearview mirror and the right rearview mirror, namely the first simulated straight line and the second simulated straight line.
[0034] It should be noted that during driving, due to the constant change of the position of the human eye, the actual position of the left and right rearview mirrors of the vehicle may not always be kept on the same horizontal line. Therefore, in step 102, the first simulated straight line and the second simulated straight line are not directly drawn based on the exact position of the left and right rearview mirrors. Instead, this step draws the two simulated straight lines based on the approximate directions of the left and right rearview mirrors. This ensures that the first simulated straight line and the second simulated straight line are always within the current field of vision of the driver, thereby more accurately reflecting the direction of the driver's line of sight.
[0035] In addition, the execution subject of the present invention may be a vehicle electronic control system or a remote service of a vehicle manufacturer. In other words, the present invention does not limit the specific execution subject as long as it can implement the embodiments of the present invention.
[0036] 103. Determine whether the first simulated straight line is in a first grid in a left rearview mirror adjustment area of the target rearview mirror adjustment solution, and whether the second simulated straight line is in a second grid in a right rearview mirror adjustment area of the target rearview mirror adjustment solution.
[0037] In this embodiment, the business personnel can fix the left and right rearview mirrors of the vehicle at a reference position in advance. Then, based on the reference position, the business personnel can rotate the left and right rearview mirrors to their respective limit positions in four directions, namely, up, down, left, and right. These limit positions are acquired by the sensor and transmitted to the execution subject. In this way, the execution subject can obtain the first upper limit position, the first lower limit position, the first left limit position, and the first right limit position of the left rearview mirror, and the second upper limit position, the second lower limit position, the second left limit position, and the second right limit position of the right rearview mirror.
[0038] Subsequently, the executing entity of the present invention can constitute a right rearview mirror adjustment area corresponding to the right rearview mirror according to the second upper limit position, the second lower limit position, the second left limit position and the second right limit position; at the same time, the left rearview mirror adjustment area corresponding to the left rearview mirror can be obtained according to the first upper limit position, the first lower limit position, the first left limit position and the first right limit position.
[0039] After determining the left and right rearview mirror adjustment areas of the vehicle, these areas can be evenly divided according to a custom number of grids as needed, or non-uniformly divided according to specific driving needs, thereby dividing the left and right rearview mirror adjustment areas into multiple grids to form a rearview mirror adjustment plan.
[0040] It should be noted that the rearview mirror adjustment schemes obtained by different grid division methods can be stored, and the corresponding adjustment scheme can be selected and called according to the current actual needs during actual driving. In other words, the target adjustment scheme should be the rearview mirror adjustment scheme that matches the current actual driving needs.
[0041] On this basis, after the first simulated straight line and the second simulated straight line are determined in step 102, considering that the rearview mirror adjustment area is the set adjustable area of the rearview mirror, and these two simulated straight lines start from the current eye position of the driver and point to the direction of the rearview mirror. Therefore, in step 103, it can be determined whether the first simulated straight line falls in the first grid in the left rearview mirror adjustment area of the target rearview mirror adjustment solution, and at the same time, it can be determined whether the second simulated straight line is located in the second grid in the right rearview mirror adjustment area of the target rearview mirror adjustment solution. If yes, step 104 is executed.
[0042] The first grid represents any grid in the left rearview mirror adjustment area; the second grid represents any grid after the right rearview mirror adjustment area.
[0043] In addition, it is worth noting that due to the differences in the relative positions between the main driver's seat and the left rearview mirror and between the main driver's seat and the right rearview mirror, the first simulated straight line is located in the first grid of the left rearview mirror adjustment area, which does not mean that the second simulated straight line will also fall into the second grid of the right rearview mirror adjustment area accordingly.
[0044] 104. Adjust the left rearview mirror of the vehicle according to the first grid, and adjust the right rearview mirror of the vehicle according to the second grid.
[0045] In this embodiment, if the first simulated straight line is within the first grid of the left rearview mirror adjustment area, and the second simulated straight line is within the second grid of the right rearview mirror adjustment area, the sensor can determine the current positions of the left and right rearview mirrors, and transmit the position information to the execution subject of the present invention. Afterwards, the execution subject can rotate the left rearview mirror from the current position to the actual position corresponding to the first grid, and rotate the right rearview mirror from the current position to the actual position corresponding to the second grid.
[0046] It should be noted that since the rearview mirror of the vehicle may be larger than the divided grid, in this case, the "rotation to the position corresponding to the grid" mentioned in this embodiment can actually mean that the center point of the rearview mirror remains within the corresponding grid. On this basis, it can be found that the size of the grid actually affects the angle range of the rearview mirror adjustment. A smaller grid makes the movable range of the rearview mirror smaller, which leads to a smaller adjustable angle range of the rearview mirror, because a slightly larger angle may cause the center point of the rearview mirror to exceed the grid range. On the contrary, a larger grid allows the center point of the rearview mirror to rotate in a wider area, thereby allowing the rearview mirror to have a larger angle adjustment range.
[0047] In addition, it is clear that when there is a large distance between the actual position indicated by the grid and the current position of the rearview mirror, this indicates that in order to align the rearview mirror with the position indicated by the grid, it is necessary to adjust it by a larger angle. In other words, the angle that the rearview mirror needs to be adjusted is proportional to the distance between its current position and the position indicated by the grid.
[0048] The rearview mirror adjustment area in the embodiment of the present invention is determined based on the limit position actually measured by the sensor, and this limit position is represented in a virtual form on the computer. Therefore, by subdividing this virtual position, each grid unit formed corresponds to a specific actual position. In other words, the position indicated by these grid units is actually a specific embodiment of the physical position that the rearview mirror can reach as captured by the sensor.
[0049] Based on the above Figure 1It can be seen from the implementation method that the present invention provides a method for adjusting the exterior rearview mirror of an automobile. In order to realize the automatic adjustment of the rearview mirror based on the eye position of the driver, the eye position during the current driving can be first obtained. Then, two simulation straight lines are generated using simulation software: one is a first simulation straight line from the eye position to the left rearview mirror direction, and the other is a second simulation straight line from the eye position to the right rearview mirror direction. After that, it is necessary to check whether the first simulation straight line falls within the first grid of the left rearview mirror adjustment area, and whether the second simulation straight line falls within the second grid of the right rearview mirror adjustment area. If so, the left rearview mirror of the vehicle can be adjusted according to the first grid, and the right rearview mirror of the vehicle can be adjusted according to the second grid. Compared with the prior art, the present invention can automatically match the corresponding grids in the left rearview mirror adjustment area and the right rearview mirror adjustment area in the target rearview mirror adjustment scheme according to the line of sight direction, and adjust the rearview mirror accordingly. This method not only ensures the best field of view, but also eliminates the need for the driver to make manual adjustments while driving, thereby improving driving safety.
[0050] Furthermore, as a Figure 1 The embodiment shown in the figure is refined and expanded. The embodiment of the present invention also provides another method for adjusting the exterior rearview mirror of a vehicle, such as Figure 2 As shown, the specific steps are as follows:
[0051] 201. Obtain the current eye position of a person while driving.
[0052] 202. Use simulation software to simulate a first simulated straight line from the position of the human eye to the direction of the left rearview mirror and a second simulated straight line to the direction of the right rearview mirror.
[0053] Among them, the implementation method of step 201-step 202 is the same as that of step 101-step 102, and can achieve the same technical effect and solve the same technical problem, and will not be repeated here.
[0054] 203. Obtain a current driving mode, and determine a target rearview mirror adjustment scheme from a first rearview mirror adjustment scheme and a second rearview mirror adjustment scheme according to the current driving mode.
[0055] In the embodiment of the present invention, once the left rearview mirror adjustment area and the right rearview mirror adjustment area are determined, the two areas can be grid-divided according to different driving modes to form a first rearview mirror adjustment scheme and a second rearview mirror adjustment scheme.
[0056] Specifically, when the vehicle is traveling at high speed, the driver must maintain a high degree of concentration. At this time, their line of sight is relatively fixed and will not change frequently. At the same time, under high-speed driving conditions, it is not necessary to constantly adjust the rearview mirror, because doing so is of limited help in monitoring changes in the surrounding environment. On the contrary, in specific driving scenarios, such as when reversing or when the vehicle's driving speed is lower than a preset threshold (for example, 10km / h), the driver may need to frequently change the line of sight and may need to make larger adjustments to the rearview mirror. Therefore, the driving modes considered in the embodiments of the present invention include a reversing mode and a driving mode where the vehicle is below a preset speed value. In these modes, the rearview mirror adjustment scheme can better meet the driver's line of sight adjustment needs in specific driving situations.
[0057] When the driving mode is the reverse mode, the left rearview mirror adjustment area and the right rearview mirror adjustment area may be grid-divided according to the first specified size to obtain a first rearview mirror adjustment solution.
[0058] When the driving mode is a driving mode where the vehicle speed is lower than a preset speed value (e.g., 10 km / h), the left rearview mirror adjustment area and the right rearview mirror adjustment area can be grid-divided according to a second specified size to obtain a second rearview mirror adjustment solution, wherein the second specified size is greater than the first specified size.
[0059] This is done because in reverse mode, the grid should be divided into smaller units, that is, the angle adjustment range of the rearview mirror is smaller, so as to cover the important area behind the vehicle more carefully; when the vehicle is in a driving mode below the preset speed value, the grid can be relatively large, because when driving at low speed, the angle adjustment range of the rearview mirror is larger, and a wider field of view can be obtained.
[0060] After obtaining the rearview mirror adjustment schemes corresponding to the reversing mode and the vehicle driving mode below the preset speed value, in actual application, it can be determined whether to start the rearview mirror adjustment function by detecting the current driving mode. The specific steps are as follows: First, confirm whether the current driving mode is the reversing mode or the vehicle driving mode below the preset speed value. If the current mode meets any of the above conditions, the rearview mirror adjustment function is started, and the corresponding adjustment scheme is applied according to the current mode. That is to say, when the driving mode is the reversing mode, the first rearview mirror adjustment scheme will be used as the target adjustment scheme; and when the driving mode is the vehicle driving mode below the preset speed value, the second rearview mirror adjustment scheme will be used as the target adjustment scheme. Conversely, if the current driving mode is neither the reversing mode nor the low-speed driving mode, the rearview mirror adjustment function will not be started. This ensures that the rearview mirror adjustment function is activated in appropriate driving conditions, thereby better serving driving needs.
[0061] 204. Determine whether the first simulated straight line is in a first grid in a left rearview mirror adjustment area of the target rearview mirror adjustment solution, and whether the second simulated straight line is in a second grid in a right rearview mirror adjustment area of the target rearview mirror adjustment solution.
[0062] Among them, the implementation method of step 204 is the same as that of step 103, and can achieve the same technical effect and solve the same technical problem, and will not be repeated here.
[0063] In addition, if it is, execute step 205; otherwise, execute step 206.
[0064] 205. Adjust the left rearview mirror of the vehicle according to the first grid, and adjust the right rearview mirror of the vehicle according to the second grid.
[0065] Among them, the implementation method of step 205 is the same as that of step 104, and can achieve the same technical effect and solve the same technical problem, and will not be repeated here.
[0066] 206. Generate a new grid to adjust the left rearview mirror or the right rearview mirror of the vehicle according to the new grid.
[0067] In this step, if the first simulated straight line is not in the first grid within the left rearview mirror adjustment area of the target rearview mirror adjustment scheme, or the second simulated straight line is not in the second grid within the right rearview mirror adjustment area of the target rearview mirror adjustment scheme, it is necessary to further check whether the first simulated straight line is located on the boundary line between adjacent grids in the left rearview mirror adjustment area, and whether the second simulated straight line is located on the boundary line between adjacent grids in the right rearview mirror adjustment area.
[0068] If the detection result shows that the first simulated straight line is located on the boundary line, a new grid can be generated based on the adjacent grids of the left rearview mirror adjustment area, and the left rearview mirror of the vehicle can be adjusted accordingly; similarly, if the second simulated straight line is located on the boundary line, a new grid can be generated based on the adjacent grids of the right rearview mirror adjustment area, and the right rearview mirror of the vehicle can be adjusted accordingly.
[0069] The word "or" is used here because the two situations may occur independently or simultaneously. Independent occurrence means that the fact that the first simulated straight line does not fall into the first grid does not mean that the second simulated straight line also does not fall into the second grid. Therefore, "adjusting the left or right rearview mirror of the vehicle according to the newly added grid" actually means that if the first simulated straight line does not fall into the first grid, a newly added grid is generated in the left rearview mirror adjustment area and the left rearview mirror is adjusted; or, if the second simulated straight line does not fall into the second grid, a newly added grid is generated in the right rearview mirror adjustment area and the right rearview mirror is adjusted.
[0070] It should be noted that the newly added grid can coexist with the original grid, and the newly added grid can be marked with special tags based on the original grid.
[0071] In addition, the grid mentioned in the embodiment of the present invention is not limited to a specific shape, and can be any possible shape.
[0072] Furthermore, as a response to the above Figure 1 In order to realize the method shown in the figure, the embodiment of the present invention also provides an exterior rearview mirror adjustment device for an automobile, which is used to adjust the exterior rearview mirror of the automobile. Figure 1 The device embodiment corresponds to the aforementioned method embodiment. For ease of reading, this device embodiment will not repeat the details of the aforementioned method embodiment one by one, but it should be clear that the device in this embodiment can correspond to all the contents of the aforementioned method embodiment. Figure 3 As shown, the device comprises:
[0073] A position acquisition unit 301 is used to acquire the current eye position of a person driving;
[0074] A straight line simulation unit 302, used to simulate a first simulated straight line from the human eye position obtained by the position acquisition unit 301 to the left rearview mirror direction and a second simulated straight line to the right rearview mirror direction using simulation software;
[0075] A grid judgment unit 303 is used to judge whether the first simulated straight line simulated by the straight line simulation unit 302 is in a first grid in the left rearview mirror adjustment area of the target rearview mirror adjustment solution, and whether the second simulated straight line is in a second grid in the right rearview mirror adjustment area of the target rearview mirror adjustment solution;
[0076] The rearview mirror adjustment unit 304 is used to adjust the left rearview mirror of the vehicle according to the first grid and adjust the right rearview mirror of the vehicle according to the second grid if the judgment result of the grid judgment unit 303 is yes.
[0077] Furthermore, as a response to the above Figure 2 In order to realize the method shown in the figure, the embodiment of the present invention also provides another vehicle exterior rearview mirror adjustment device for adjusting the above Figure 2 The device embodiment corresponds to the aforementioned method embodiment. For ease of reading, this device embodiment will not repeat the details of the aforementioned method embodiment one by one, but it should be clear that the device in this embodiment can correspond to all the contents of the aforementioned method embodiment. Figure 4 As shown, the device comprises:
[0078] A position acquisition unit 301 is used to acquire the current eye position of a person driving;
[0079] A straight line simulation unit 302, used to simulate a first simulated straight line from the human eye position obtained by the position acquisition unit 301 to the left rearview mirror direction and a second simulated straight line to the right rearview mirror direction using simulation software;
[0080] A grid judgment unit 303 is used to judge whether the first simulated straight line simulated by the straight line simulation unit 302 is in a first grid in the left rearview mirror adjustment area of the target rearview mirror adjustment solution, and whether the second simulated straight line is in a second grid in the right rearview mirror adjustment area of the target rearview mirror adjustment solution;
[0081] The rearview mirror adjustment unit 304 is used to adjust the left rearview mirror of the vehicle according to the first grid and adjust the right rearview mirror of the vehicle according to the second grid if the judgment result of the grid judgment unit 303 is yes.
[0082] In an optional implementation manner, before the position acquisition unit 301, the device further includes an area formation unit 305, and the area formation unit 305 is specifically used to:
[0083] Obtaining a first upper limit position, a first lower limit position, a first left limit position, and a first right limit position corresponding to the left rearview mirror;
[0084] Obtaining a second upper limit position, a second lower limit position, a second left limit position, and a second right limit position corresponding to the right rearview mirror;
[0085] A right rearview mirror adjustment area corresponding to the right rearview mirror is formed according to the second upper limit position, the second lower limit position, the second left limit position and the second right limit position;
[0086] A left rearview mirror adjustment area corresponding to the left rearview mirror is obtained according to the first upper limit position, the first lower limit position, the first left limit position and the first right limit position.
[0087] In an optional implementation manner, after the area formation unit 305 obtains the preset right rearview mirror adjustment area and the preset left rearview mirror adjustment area, the device further includes a solution formation unit 306, and the solution formation unit 306 is specifically used to:
[0088] Acquire multiple driving modes, the driving modes including a reversing mode and a mode in which the vehicle is traveling at a speed lower than a preset speed value;
[0089] The left rearview mirror adjustment area and the right rearview mirror adjustment area are grid-divided according to the driving mode to obtain a first rearview mirror adjustment scheme and a second rearview mirror adjustment scheme.
[0090] In an optional implementation manner, the solution forming unit 306 performs grid division on the left rearview mirror adjustment area and the right rearview mirror adjustment area according to the driving mode to obtain a first rearview mirror adjustment solution and a second rearview mirror adjustment solution, which are specifically used for:
[0091] If the driving mode is the reverse mode, the left rearview mirror adjustment area and the right rearview mirror adjustment area are grid-divided according to a first specified size to obtain a first rearview mirror adjustment solution;
[0092] If the driving mode is a mode in which the vehicle travels at a speed lower than a preset speed value, the left rearview mirror adjustment area and the right rearview mirror adjustment area are grid-divided according to a second specified size to obtain a second rearview mirror adjustment scheme, wherein the second specified size is larger than the first specified size.
[0093] In an optional implementation manner, before the grid determination unit 303, the device further includes a pattern matching unit 307, and the pattern matching unit 307 is specifically used to:
[0094] Get the current driving mode;
[0095] Determine whether the current driving mode is a reverse mode or a mode in which the vehicle is traveling at a speed lower than a preset speed value;
[0096] If not, the rearview mirror adjustment is not activated;
[0097] If the current driving mode is the reverse mode, starting rearview mirror adjustment, and determining the target rearview mirror adjustment scheme as the first rearview mirror adjustment scheme;
[0098] If the current driving mode is a mode in which the vehicle travels at a speed lower than a preset speed value, the rearview mirror adjustment is started, and the target rearview mirror adjustment scheme is determined as the second rearview mirror adjustment scheme.
[0099] In an optional implementation manner, the rearview mirror adjustment unit 304 is specifically used for:
[0100] Determine the current position of the left rearview mirror and the current position of the right rearview mirror;
[0101] Rotate the left rearview mirror of the vehicle from the current position to the position corresponding to the first grid;
[0102] The right rearview mirror of the vehicle is rotated from the current position to the position corresponding to the second grid.
[0103] In an optional implementation manner, if the judgment result of the grid judgment unit 303 is that the first simulated straight line is not in the first grid in the left rearview mirror adjustment area of the target rearview mirror adjustment solution, and the second simulated straight line is not in the second grid in the right rearview mirror adjustment area of the target rearview mirror adjustment solution, the device further includes a grid adding unit 308, and the grid adding unit 308 is specifically used to:
[0104] Detecting whether the first simulated straight line is on a boundary line between adjacent grids in a left rearview mirror adjustment area, or whether the second simulated straight line is on a boundary line between adjacent grids in a right rearview mirror adjustment area;
[0105] If yes, then generating a new grid in the left rearview mirror adjustment area according to the adjacent grids in the left rearview mirror adjustment area, or generating a new grid in the right rearview mirror adjustment area according to the adjacent grids in the right rearview mirror adjustment area;
[0106] Adjust the vehicle's left or right mirror according to the added grid.
[0107] Furthermore, an embodiment of the present invention further provides a storage medium, wherein the storage medium is used to store a computer program, wherein when the computer program is running, the device where the storage medium is located is controlled to execute the above Figure 1-2 The invention relates to a method for adjusting the exterior rearview mirror of a vehicle as described in the specification.
[0108] Furthermore, an embodiment of the present invention further provides a processor, the processor is used to run a program, wherein the program executes the above Figure 1-2 The invention relates to a method for adjusting the exterior rearview mirror of a vehicle as described in the specification.
[0109] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0110] It is understandable that the related features in the above methods and devices can be referenced to each other. In addition, the "first", "second" and the like in the above embodiments are used to distinguish the embodiments, but do not represent the advantages and disadvantages of the embodiments.
[0111] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0112] The algorithm and display provided herein are not inherently related to any particular computer, virtual system or other device. Various general purpose systems can also be used together with the teachings based on this. According to the above description, it is obvious that the structure required for constructing such systems. In addition, the present invention is not directed to any specific programming language either. It should be understood that various programming languages can be utilized to realize the content of the present invention described herein, and the description of the above specific languages is for disclosing the best mode of the present invention.
[0113] In addition, the memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.
[0114] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0115] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0116] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0117] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0118] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0119] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0120] Computer readable media include permanent and non-permanent, rotatable and non-rotatable media that can be used to store information by any method or technology. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0121] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity 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, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0122] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0123] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.
Claims
1. A method for adjusting an exterior rearview mirror of a vehicle, characterized in that: The method comprises: Get the current eye position of the person while driving; Using simulation software to simulate a first simulated straight line from the human eye position to the left rearview mirror and a second simulated straight line to the right rearview mirror; Determine whether the first simulated straight line is in a first grid in a left rearview mirror adjustment area of a target rearview mirror adjustment solution, and whether the second simulated straight line is in a second grid in a right rearview mirror adjustment area of a target rearview mirror adjustment solution; If so, the left rearview mirror of the vehicle is adjusted according to the first grid, and the right rearview mirror of the vehicle is adjusted according to the second grid.
2. The method according to claim 1, characterized in that Before obtaining the current eye position of the person while driving, the method further includes: Obtaining a first upper limit position, a first lower limit position, a first left limit position, and a first right limit position corresponding to the left rearview mirror; Obtaining a second upper limit position, a second lower limit position, a second left limit position, and a second right limit position corresponding to the right rearview mirror; A right rearview mirror adjustment area corresponding to the right rearview mirror is formed according to the second upper limit position, the second lower limit position, the second left limit position and the second right limit position; A left rearview mirror adjustment area corresponding to the left rearview mirror is obtained according to the first upper limit position, the first lower limit position, the first left limit position and the first right limit position.
3. The method according to claim 2, characterized in that After obtaining the preset right rearview mirror adjustment area and the preset left rearview mirror adjustment area, the method further includes: Acquire multiple driving modes, the driving modes including a reversing mode and a mode in which the vehicle is traveling at a speed lower than a preset speed value; The left rearview mirror adjustment area and the right rearview mirror adjustment area are grid-divided according to the driving mode to obtain a first rearview mirror adjustment scheme and a second rearview mirror adjustment scheme.
4. The method according to claim 3, characterized in that The left rearview mirror adjustment area and the right rearview mirror adjustment area are grid-divided according to the driving mode to obtain a first rearview mirror adjustment scheme and a second rearview mirror adjustment scheme, including: If the driving mode is the reverse mode, the left rearview mirror adjustment area and the right rearview mirror adjustment area are grid-divided according to a first specified size to obtain a first rearview mirror adjustment solution; If the driving mode is a mode in which the vehicle travels at a speed lower than a preset speed value, the left rearview mirror adjustment area and the right rearview mirror adjustment area are grid-divided according to a second specified size to obtain a second rearview mirror adjustment scheme, wherein the second specified size is larger than the first specified size.
5. The method according to claim 1, characterized in that Before determining whether the first simulated straight line is in a first grid in a left rearview mirror adjustment area of a target rearview mirror adjustment solution and whether the second simulated straight line is in a second grid in a right rearview mirror adjustment area of a target rearview mirror adjustment solution, the method further includes: Get the current driving mode; Determine whether the current driving mode is a reverse mode or a mode in which the vehicle is traveling at a speed lower than a preset speed value; If not, the rearview mirror adjustment is not activated; If the current driving mode is the reverse mode, starting rearview mirror adjustment, and determining the target rearview mirror adjustment scheme as the first rearview mirror adjustment scheme; If the current driving mode is a mode in which the vehicle travels at a speed lower than a preset speed value, the rearview mirror adjustment is started, and the target rearview mirror adjustment scheme is determined as the second rearview mirror adjustment scheme.
6. The method according to claim 1, characterized in that Adjusting a left rearview mirror of the vehicle according to the first grid, and adjusting a right rearview mirror of the vehicle according to the second grid, comprising: Determine the current position of the left rearview mirror and the current position of the right rearview mirror; Rotate the left rearview mirror of the vehicle from the current position to the position corresponding to the first grid; The right rearview mirror of the vehicle is rotated from the current position to the position corresponding to the second grid.
7. The method according to claim 1, characterized in that If the first simulated straight line is not in a first grid in a left rearview mirror adjustment area of a target rearview mirror adjustment solution, and the second simulated straight line is not in a second grid in a right rearview mirror adjustment area of a target rearview mirror adjustment solution, the method further includes: Detecting whether the first simulated straight line is on a boundary line between adjacent grids in a left rearview mirror adjustment area, or whether the second simulated straight line is on a boundary line between adjacent grids in a right rearview mirror adjustment area; If yes, then generating a new grid in the left rearview mirror adjustment area according to the adjacent grids in the left rearview mirror adjustment area, or generating a new grid in the right rearview mirror adjustment area according to the adjacent grids in the right rearview mirror adjustment area; Adjust the vehicle's left or right mirror according to the added grid.
8. An adjustment device for an exterior rearview mirror of a vehicle, characterized in that: The device comprises: A position acquisition unit, used to acquire the current eye position of a person while driving; A straight line simulation unit, used to simulate a first simulated straight line from the human eye position obtained by the position acquisition unit to the left rearview mirror direction and a second simulated straight line to the right rearview mirror direction using simulation software; a grid judgment unit, used to judge whether the first simulated straight line simulated by the straight line simulation unit is in a first grid in a left rearview mirror adjustment area of a target rearview mirror adjustment solution, and whether the second simulated straight line is in a second grid in a right rearview mirror adjustment area of a target rearview mirror adjustment solution; The rearview mirror adjustment unit is used to adjust the left rearview mirror of the vehicle according to the first grid and adjust the right rearview mirror of the vehicle according to the second grid if the judgment result of the grid judgment unit is yes.
9. A storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the method for adjusting the exterior rearview mirror of a vehicle as described in any one of claims 1 to 7.
10. A processor, characterized in that: The processor is used to run a program, wherein the program, when running, executes the method for adjusting the exterior rearview mirror of a vehicle as described in any one of claims 1 to 7.