Vehicle rearview mirror adjusting method and vehicle

The method and device improve rearview mirror adjustment flexibility by determining position differences and time ratios in two perpendicular directions, addressing the rigidity of existing adjustment methods and enhancing user experience.

CN119078659APending Publication Date: 2024-12-06GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411370959.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The existing rearview mirror adjustment process in vehicles is rigid and lacks flexibility, leading to a suboptimal user experience due to adjustments being made in one direction at a time, failing to accommodate the varying heights and postures of different drivers effectively.

Method used

A method and device that determine position differences in two perpendicular adjustment directions and calculate an adjustment time ratio to control multiple rounds of adjustments, allowing the rearview mirror surface to be adjusted flexibly to a target position, improving user experience.

Benefits of technology

Enhances the flexibility of rearview mirror adjustments by optimizing the time ratio between perpendicular directions, resulting in a more intuitive and user-friendly adjustment process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119078659A_ABST
    Figure CN119078659A_ABST
Patent Text Reader

Abstract

The invention discloses a rearview mirror adjusting method of a vehicle and the vehicle, and belongs to the technical field of vehicles. According to the technical scheme provided by the embodiment of the invention, the position difference between the initial position and the target position of the mirror surface of the target rearview mirror in the two adjusting directions is determined in response to the adjusting instruction of the mirror surface of the target rearview mirror of the vehicle. Based on the position difference value of the initial position and the target position in the two adjusting directions, the adjusting time ratio is determined, and the adjusting time ratio can control the ratio of the adjusting time of the mirror surface of the target rearview mirror in the two adjusting directions. And the target rearview mirror surface is controlled to be subjected to multi-round adjustment in the two adjustment directions by using the adjustment time ratio, so that the flexibility of the target rearview mirror surface in the adjustment process is improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle technology, and more specifically, to a rearview mirror adjustment method and a vehicle in the field of vehicle technology. Background Art

[0002] With the development of society, more and more people will buy cars as a means of transportation. The rearview mirror of the vehicle can provide the driver with external information, which is very important for driving safety.

[0003] In the related art, due to the differences in height and sitting posture of different drivers, in order to improve driving safety, vehicles will provide a rearview mirror adjustment function, and the driver can adjust the rearview mirror surface to different positions as needed, thereby obtaining external information.

[0004] However, in the process of adjusting the rearview mirror surface, the rearview mirror surface is usually adjusted in one adjustment direction before being adjusted in another adjustment direction. The adjustment process of the rearview mirror surface is relatively rigid, and the user experience is not good. Summary of the invention

[0005] The embodiment of the present application provides a vehicle rearview mirror adjustment method and a vehicle, which can improve the flexibility of the rearview mirror surface adjustment process, thereby improving the user experience. The technical solution is as follows:

[0006] In one aspect, a method for adjusting a rearview mirror of a vehicle is provided, the method comprising:

[0007] In response to an adjustment instruction for a target rearview mirror surface of the vehicle, determining a first position difference between an initial position of the target rearview mirror surface and a target position indicated by the adjustment instruction in a first adjustment direction and a second position difference in a second adjustment direction, wherein the first adjustment direction and the second adjustment direction are perpendicular to each other;

[0008] Based on the first position difference and the second position difference, determining an adjustment time ratio of the target rearview mirror surface, wherein the adjustment time ratio is a ratio between an adjustment time of the rearview mirror surface adjusted in the first adjustment direction and an adjustment time of the rearview mirror surface adjusted in the second adjustment direction;

[0009] Based on the adjustment time ratio, the target rearview mirror surface is controlled to perform multiple rounds of adjustment in the first adjustment direction and the second adjustment direction to adjust the target rearview mirror surface to the target position.

[0010] In a possible implementation, in response to an adjustment instruction for a target rearview mirror surface, determining a first position difference between an initial position of the target rearview mirror surface and a target position indicated by the adjustment instruction in a first adjustment direction and a second position difference in a second adjustment direction, comprises:

[0011] In response to an adjustment instruction for a target rearview mirror surface, acquiring the target position from the adjustment instruction;

[0012] determining the first position difference based on a first target position component of the target position in the first adjustment direction and a first initial position component of the initial position in the first adjustment direction;

[0013] The second position difference is determined based on a second target position component of the target position in the second adjustment direction and a second initial position component of the initial position in the second adjustment direction.

[0014] In a possible implementation manner, determining the adjustment time ratio of the target rearview mirror surface based on the first position difference and the second position difference includes:

[0015] Determine a reference ratio based on the first position difference and the second position difference, wherein the reference ratio is a ratio between the first position difference and the second position difference or a ratio between the second position difference and the first position difference;

[0016] Determine a target adjustment time ratio interval to which the reference ratio belongs from a plurality of adjustment time ratio intervals;

[0017] The adjustment time ratio corresponding to the target adjustment time ratio interval is determined as the adjustment time ratio of the target rearview mirror surface.

[0018] In a possible implementation manner, determining a reference ratio based on the first position difference and the second position difference includes:

[0019] In a case where the first position difference is less than or equal to the second position difference, determining a ratio between the first position difference and the second position difference as the reference ratio;

[0020] In a case where the first position difference value is greater than the second position difference value, a ratio between the second position difference value and the first position difference value is determined as the reference ratio.

[0021] In a possible implementation manner, determining the adjustment time ratio corresponding to the target adjustment time ratio interval as the adjustment time ratio of the target rearview mirror surface includes:

[0022] Determining the upper limit of the target adjustment time ratio interval as the adjustment time ratio of the target rearview mirror surface;

[0023] Alternatively, the median of the target adjustment time ratio interval is determined as the adjustment time ratio of the target rearview mirror surface.

[0024] In a possible implementation, controlling the target rearview mirror surface to perform multiple rounds of adjustment in the first adjustment direction and the second adjustment direction based on the adjustment time ratio includes:

[0025] Based on the adjustment time ratio, determining a first adjustment time length for adjusting the target rearview mirror surface in the first adjustment direction and a second adjustment time length for adjusting the target rearview mirror surface in the second adjustment direction;

[0026] Based on the first adjustment duration and the second adjustment duration, the target rearview mirror surface is controlled to perform multiple rounds of adjustment in the first adjustment direction and the second adjustment direction.

[0027] In a possible implementation, determining, based on the adjustment time ratio, a first adjustment time for adjusting the target rearview mirror surface in the first adjustment direction and a second adjustment time for adjusting the target rearview mirror surface in the second adjustment direction includes:

[0028] Determine a first number of portions corresponding to the first adjustment direction in the adjustment time ratio and a second number of portions corresponding to the second adjustment direction in the adjustment time ratio;

[0029] Based on the first number of copies, the second number of copies, and a preset duration, the first adjustment duration and the second adjustment duration are determined.

[0030] In a possible implementation manner, determining the first adjustment duration and the second adjustment duration based on the first number of copies, the second number of copies, and a preset duration includes:

[0031] Multiply the first number of copies by the preset duration to obtain the first adjustment duration; multiply the second number of copies by the preset duration to obtain the second adjustment duration;

[0032] Alternatively, multiply the first number by the preset duration to obtain a first reference adjustment duration; multiply the second number by the preset duration to obtain a second reference adjustment duration; and determine the first adjustment duration and the second adjustment duration based on the first reference adjustment duration, the second reference adjustment duration and the adjustment duration threshold.

[0033] In a possible implementation manner, determining the first adjustment duration and the second adjustment duration based on the first reference adjustment duration, the second reference adjustment duration, and an adjustment duration threshold includes:

[0034] When the first reference adjustment duration and the second reference adjustment duration are both less than or equal to the adjustment duration threshold, the first reference adjustment duration is determined as the first adjustment duration, and the second reference adjustment duration is determined as the second adjustment duration;

[0035] When the first reference adjustment time is greater than the adjustment time threshold and the second reference adjustment time is less than or equal to the adjustment time threshold, the adjustment time threshold is determined as the first adjustment time; and the adjustment time threshold is multiplied by the adjustment time ratio to obtain the second adjustment time;

[0036] When the first reference adjustment duration is less than or equal to the adjustment duration threshold and the second reference adjustment duration is greater than the adjustment duration threshold, the adjustment duration threshold is determined as the second adjustment duration; and the adjustment duration threshold is multiplied by the adjustment time ratio to obtain the first adjustment duration;

[0037] When the first reference adjustment duration and the second reference adjustment duration are both greater than the adjustment duration threshold, the first adjustment duration and the second adjustment duration are determined based on the first reference adjustment duration, the second reference adjustment and the adjustment time ratio.

[0038] In a possible implementation, controlling the target rearview mirror surface to perform multiple rounds of adjustment in the first adjustment direction and the second adjustment direction based on the first adjustment duration and the second adjustment duration includes:

[0039] For any round of adjustment in the multiple rounds of adjustment, the target rearview mirror surface is controlled to be adjusted in the first adjustment direction; when the time duration for which the target rearview mirror surface is adjusted in the first adjustment direction reaches the first adjustment time duration, the target rearview mirror surface is controlled to stop being adjusted in the first adjustment direction and to be adjusted in the second adjustment direction for the second adjustment time duration;

[0040] Alternatively, the target rearview mirror surface is controlled to be adjusted in the second adjustment direction; when the time for which the target rearview mirror surface is adjusted in the second adjustment direction reaches the second adjustment time length, the target rearview mirror surface is controlled to stop adjusting in the second adjustment direction and adjust in the first adjustment direction for the first adjustment time length.

[0041] In one aspect, a rearview mirror adjustment device for a vehicle is provided, the device comprising:

[0042] a position difference determination module, configured to determine, in response to an adjustment instruction for a target rearview mirror surface of the vehicle, a first position difference in a first adjustment direction and a second position difference in a second adjustment direction between an initial position of the target rearview mirror surface and a target position indicated by the adjustment instruction, wherein the first adjustment direction and the second adjustment direction are perpendicular to each other;

[0043] an adjustment time ratio determination module, configured to determine an adjustment time ratio of the target rearview mirror surface based on the first position difference and the second position difference, wherein the adjustment time ratio is a ratio between an adjustment time for adjusting the rearview mirror surface in the first adjustment direction and an adjustment time for adjusting the rearview mirror surface in the second adjustment direction;

[0044] A control module is used to control the target rearview mirror surface to perform multiple rounds of adjustment in the first adjustment direction and the second adjustment direction based on the adjustment time ratio, so as to adjust the target rearview mirror surface to the target position.

[0045] In one possible implementation, the position difference determination module is used to obtain the target position from the adjustment instruction in response to an adjustment instruction for the target rearview mirror surface; determine the first position difference based on a first target position component of the target position in the first adjustment direction and a first initial position component of the initial position in the first adjustment direction; and determine the second position difference based on a second target position component of the target position in the second adjustment direction and a second initial position component of the initial position in the second adjustment direction.

[0046] In a possible implementation, the adjustment time ratio determination module is used to determine a reference ratio based on the first position difference and the second position difference, wherein the reference ratio is the ratio between the first position difference and the second position difference or the ratio between the second position difference and the first position difference; determine a target adjustment time ratio interval to which the reference ratio belongs from multiple adjustment time ratio intervals; and determine the adjustment time ratio corresponding to the target adjustment time ratio interval as the adjustment time ratio of the target rearview mirror surface.

[0047] In a possible implementation, the adjustment time ratio determination module is used to determine the ratio between the first position difference and the second position difference as the reference ratio when the first position difference is less than or equal to the second position difference; and to determine the ratio between the second position difference and the first position difference as the reference ratio when the first position difference is greater than the second position difference.

[0048] In a possible implementation, the adjustment time ratio determination module is used to determine the upper limit of the target adjustment time ratio interval as the adjustment time ratio of the target rearview mirror surface; or, to determine the median of the target adjustment time ratio interval as the adjustment time ratio of the target rearview mirror surface.

[0049] In one possible implementation, the control module is used to determine, based on the adjustment time ratio, a first adjustment duration for adjusting the target rearview mirror surface in the first adjustment direction and a second adjustment duration for adjusting the target rearview mirror surface in the second adjustment direction; based on the first adjustment duration and the second adjustment duration, control the target rearview mirror surface to perform multiple rounds of adjustment in the first adjustment direction and the second adjustment direction.

[0050] In a possible implementation, the control module is used to determine a first number of portions corresponding to the first adjustment direction in the adjustment time ratio and a second number of portions corresponding to the second adjustment direction in the adjustment time ratio; based on the first number of portions, the second number of portions and a preset duration, determine the first adjustment duration and the second adjustment duration.

[0051] In one possible implementation, the control module is used to multiply the first number of copies by the preset duration to obtain the first adjustment duration; multiply the second number of copies by the preset duration to obtain the second adjustment duration; or multiply the first number of copies by the preset duration to obtain a first reference adjustment duration; multiply the second number of copies by the preset duration to obtain a second reference adjustment duration; and determine the first adjustment duration and the second adjustment duration based on the first reference adjustment duration, the second reference adjustment duration and an adjustment duration threshold.

[0052] In a possible implementation manner, the control module is used to determine the first reference adjustment duration as the first adjustment duration and the second reference adjustment duration as the second adjustment duration when both the first reference adjustment duration and the second reference adjustment duration are less than or equal to the adjustment duration threshold; determine the adjustment duration threshold as the first adjustment duration when the first reference adjustment duration is greater than the adjustment duration threshold and the second reference adjustment duration is less than or equal to the adjustment duration threshold; multiply the adjustment duration threshold by the adjustment time ratio to obtain the second adjustment duration; when the first reference adjustment duration is less than or equal to the adjustment duration threshold and the second reference adjustment duration is greater than the adjustment duration threshold, determine the adjustment duration threshold as the second adjustment duration; multiply the adjustment duration threshold by the adjustment time ratio to obtain the first adjustment duration; when both the first reference adjustment duration and the second reference adjustment duration are greater than the adjustment duration threshold, determine the first adjustment duration and the second adjustment duration based on the first reference adjustment duration, the second reference adjustment and the adjustment time ratio.

[0053] In a possible implementation, the control module is used to control the target rearview mirror surface to be adjusted in the first adjustment direction for any round of adjustment in the multiple rounds of adjustment; when the duration for which the target rearview mirror surface is adjusted in the first adjustment direction reaches the first adjustment duration, control the target rearview mirror surface to stop adjusting in the first adjustment direction and adjust in the second adjustment direction for the second adjustment duration; or, control the target rearview mirror surface to be adjusted in the second adjustment direction; when the duration for which the target rearview mirror surface is adjusted in the second adjustment direction reaches the second adjustment duration, control the target rearview mirror surface to stop adjusting in the second adjustment direction and adjust in the first adjustment direction for the first adjustment duration.

[0054] On the one hand, a vehicle is provided, comprising one or more processors and one or more memories, wherein at least one program code is stored in the one or more memories, and the program code is loaded and executed by the one or more processors to implement the operations performed by the rearview mirror adjustment method of the vehicle.

[0055] On the one hand, a computer-readable storage medium is provided, in which at least one program code is stored, and the program code is loaded and executed by a processor to implement the operations performed by the vehicle rearview mirror adjustment method.

[0056] Through the technical solution provided by the embodiment of the present application, in response to the adjustment instruction of the target rearview mirror surface of the vehicle, the position difference between the initial position and the target position of the target rearview mirror surface in two adjustment directions is determined. Based on the position difference between the initial position and the target position in the two adjustment directions, the adjustment time ratio is determined, and the adjustment time ratio can control the ratio between the adjustment time of the target rearview mirror surface in the two adjustment directions. The adjustment time ratio is used to control the target rearview mirror surface to perform multiple rounds of adjustment in the two adjustment directions, thereby improving the flexibility of the target rearview mirror surface in the adjustment process, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 is a schematic diagram of an implementation environment of a vehicle rearview mirror adjustment method provided in an embodiment of the present application;

[0058] Figure 2 is a flow chart of a vehicle rearview mirror adjustment method provided in an embodiment of the present application;

[0059] Figure 3 is a flow chart of another vehicle rearview mirror adjustment method provided in an embodiment of the present application;

[0060] Figure 4 It is a structural schematic diagram of a vehicle rearview mirror adjustment device provided in an embodiment of the present application;

[0061] Figure 5 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION

[0062] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0063] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features reflected. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0064] Rearview mirror: Rearview mirror is an important part of the vehicle, mainly used to reflect the situation behind, to the side and below the vehicle, and play a role in expanding the driver's field of vision. They are installed on the left and right sides of the vehicle head, and are divided into three types: exterior rearview mirror, lower rearview mirror and interior rearview mirror, each responsible for a different field of vision. In the embodiment of this application, the rearview mirror refers to the exterior rearview mirror of the vehicle.

[0065] Rearview mirror surface: An important component of the rearview mirror, including plane mirrors and convex mirrors. Generally speaking, the rearview mirror surface of the exterior rearview mirror is a convex mirror to provide a wider field of view.

[0066] Stepper motor: also known as pulse motor, is an electric motor that converts electrical pulse signals into angular displacement or linear displacement. Whenever a pulse signal is input, the rotor rotates a step angle, and the angular displacement or linear displacement output is proportional to the number of input pulses, and the speed is proportional to the pulse frequency. In the embodiment of the present application, the rearview mirror adjustment motor is a stepper motor.

[0067] The implementation environment of the embodiment of the present application is introduced below. Figure 1 The implementation environment of the method for adjusting the rearview mirror surface of a vehicle provided in the embodiment of the present application includes a vehicle terminal 101 and a rearview mirror controller 102 .

[0068] The vehicle terminal 101 is a terminal installed on the vehicle, and has the ability to collect and process data. The vehicle terminal 101 is connected to multiple component controllers and multiple sensors of the vehicle by wired means. The vehicle terminal 101 can control multiple component controllers of the vehicle, and different component controllers can control different vehicle components. In the embodiment of the present application, the multiple component controllers include a rearview mirror controller 102, and the rearview mirror controller 102 is used to control the rearview mirror of the vehicle, that is, to control the position of the rearview mirror surface of the vehicle.

[0069] After introducing the implementation environment of the embodiment of the present application, the application scenario of the technical solution provided by the embodiment of the present application is introduced below. The technical solution provided by the embodiment of the present application can be applied to any vehicle with a rearview mirror adjustment function.

[0070] By adopting the technical solution provided in the embodiment of the present application, during the process of adjusting the rearview mirror surface, the rearview mirror surface can be controlled to be flexibly adjusted in two adjustment directions, thereby improving the user experience.

[0071] After introducing the implementation environment and application scenarios of the embodiments of the present application, the technical solutions provided by the embodiments of the present application are introduced below. Figure 2 Taking the execution subject as a vehicle-mounted terminal as an example, the method includes the following steps.

[0072] 201. In response to an adjustment instruction for a target rearview mirror surface of a vehicle, determine a first position difference in a first adjustment direction and a second position difference in a second adjustment direction between an initial position of the target rearview mirror surface and a target position indicated by the adjustment instruction, wherein the first adjustment direction and the second adjustment direction are perpendicular to each other.

[0073] Among them, the target rearview mirror surface is the mirror surface of the rearview mirror selected for adjustment. In the embodiment of the present application, the rearview mirror refers to the exterior rearview mirror of the vehicle, for example, the left rearview mirror or the right rearview mirror of the vehicle, and the embodiment of the present application does not limit this. The target position is the position indicated by the driver, and the target position includes two position components (hereinafter described as the first position component and the second position component), and the first position component and the second position component are positions in two directions perpendicular to each other, for example, the first position component is the lateral position, and the second position component is the longitudinal position, etc. The rearview mirror surface can move independently in two adjustment directions perpendicular to each other, so that it can be adjusted to the position indicated by different drivers. The initial position is the starting position when the target rearview mirror starts to be adjusted, and the initial position also includes two position components perpendicular to each other. The first position difference can represent the position difference between the target position and the initial position in the first adjustment direction, and the second position difference can represent the position difference between the target position and the initial position in the second adjustment direction.

[0074] 202. The vehicle terminal determines an adjustment time ratio of the target rearview mirror surface based on the first position difference and the second position difference, wherein the adjustment time ratio is a ratio between an adjustment time of the rearview mirror surface for adjusting in the first adjustment direction and an adjustment time of the rearview mirror surface for adjusting in the second adjustment direction.

[0075] Among them, in an embodiment of the present application, the adjustment of the target rearview mirror surface includes multiple rounds of adjustment, and the adjustment time ratio is used to control the time relationship between the target rearview mirror when adjusting to the first adjustment direction and the second adjustment direction during each round of adjustment. When the first adjustment direction is vertically upward and the second adjustment direction is horizontally to the right, it is used to control the relationship between the vertical upward adjustment time and the horizontal right adjustment time during each round of adjustment.

[0076] 203. The vehicle-mounted terminal controls the target rearview mirror surface to perform multiple rounds of adjustments in the first adjustment direction and the second adjustment direction based on the adjustment time ratio, so as to adjust the target rearview mirror surface to the target position.

[0077] In one round of adjustment, the target rearview mirror surface will be adjusted once in the first adjustment direction and once in the second adjustment direction.

[0078] Through the technical solution provided by the embodiment of the present application, in response to the adjustment instruction of the target rearview mirror surface of the vehicle, the position difference between the initial position and the target position of the target rearview mirror surface in two adjustment directions is determined. Based on the position difference between the initial position and the target position in the two adjustment directions, the adjustment time ratio is determined, and the adjustment time ratio can control the ratio between the adjustment time of the target rearview mirror surface in the two adjustment directions. The adjustment time ratio is used to control the target rearview mirror surface to perform multiple rounds of adjustment in the two adjustment directions, thereby improving the flexibility of the target rearview mirror surface in the adjustment process, thereby improving the user experience.

[0079] It should be noted that the above steps 201-203 are a simple description of the rearview mirror adjustment method for a vehicle provided in an embodiment of the present application. The following will provide a more detailed description of the rearview mirror adjustment method for a vehicle provided in an embodiment of the present application in combination with some examples. Figure 3 Taking the execution subject as a vehicle-mounted terminal as an example, the method includes the following steps.

[0080] 301. In response to an adjustment instruction for a target rearview mirror surface of a vehicle, determine a first position difference in a first adjustment direction and a second position difference in a second adjustment direction between an initial position of the target rearview mirror surface and a target position indicated by the adjustment instruction, wherein the first adjustment direction and the second adjustment direction are perpendicular to each other.

[0081] Among them, the target rearview mirror surface is the mirror surface of the rearview mirror selected for adjustment. In the embodiment of the present application, the rearview mirror refers to the exterior rearview mirror of the vehicle, for example, the left rearview mirror or the right rearview mirror of the vehicle, and the embodiment of the present application does not limit this. The target position is the position indicated by the driver, and the target position includes two position components (hereinafter described as the first position component and the second position component), and the first position component and the second position component are positions in two directions perpendicular to each other, for example, the first position component is the lateral position, and the second position component is the longitudinal position, etc. The rearview mirror surface can move independently in two adjustment directions perpendicular to each other, so that it can be adjusted to the position indicated by different drivers. The initial position is the starting position when the target rearview mirror starts to be adjusted, and the initial position also includes two position components perpendicular to each other. The first position difference can represent the position difference between the target position and the initial position in the first adjustment direction, and the second position difference can represent the position difference between the target position and the initial position in the second adjustment direction. In the embodiment of the present application, the rearview mirror surface can be adjusted in two-dimensional adjustment directions, the two dimensions include a horizontal adjustment direction (left and right) and a vertical adjustment direction (up and down), the horizontal adjustment direction includes two adjustment directions, one adjustment direction is horizontal to the left, and the other adjustment direction is horizontal to the right; correspondingly, the vertical adjustment direction also includes two adjustment directions, one adjustment direction is vertically upward, and the other adjustment direction is vertically downward. In the case where the coordinate axes are used to represent the two dimensions, the position of the rearview mirror surface can be represented by the coordinates of the two dimensions. For example, the position of the rearview mirror surface can be represented by the coordinates (a, b), a represents the coordinate of the rearview mirror surface in the horizontal adjustment direction / vertical adjustment direction, that is, the first position component, and b represents the coordinate of the rearview mirror surface in the vertical adjustment direction / horizontal adjustment direction, that is, the second position component. It should be noted that the target position and the initial position are positions in the same coordinate system.

[0082] In a possible implementation, in response to an adjustment instruction for a target rearview mirror surface, the vehicle terminal obtains the target position from the adjustment instruction. The vehicle terminal determines the first position difference based on a first target position component of the target position in the first adjustment direction and a first initial position component of the initial position in the first adjustment direction. The vehicle terminal determines the second position difference based on a second target position component of the target position in the second adjustment direction and a second initial position component of the initial position in the second adjustment direction.

[0083] Among them, the first target position component represents the distance between the target position and the origin in the first adjustment direction, and the second target position component represents the distance between the target position and the origin in the second adjustment direction; accordingly, the first initial position component represents the distance between the initial position and the origin in the first adjustment direction, and the second initial position component represents the distance between the initial position and the origin in the second adjustment direction. In addition, the first position difference can represent the distance between the target position and the initial position in the first adjustment direction, and the second position difference can represent the distance between the target position and the initial position in the second adjustment direction.

[0084] In this embodiment, the first position difference is determined using the position components of the target position and the initial position in the first adjustment direction, and the second position difference is determined using the position components of the target position and the initial position in the second adjustment direction. The accuracy of the position difference is high.

[0085] For example, in response to an adjustment instruction for the target rearview mirror, the vehicle terminal parses the adjustment instruction to obtain a first target position component and a second target position component of the target position. The vehicle terminal subtracts the first target position component from the first initial position component and takes an absolute value to obtain the first position difference. The vehicle terminal subtracts the second target position component from the second initial position component and takes an absolute value to obtain the second position difference.

[0086] The following is an example of using two-dimensional coordinates to represent the initial position (X0, Y0) and target position (X1, Y1) of the target rearview mirror surface.

[0087] In response to the adjustment instruction for the target rearview mirror, the vehicle terminal parses the adjustment instruction to obtain the target position (X1, Y1), where X1 is the first target position component and Y1 is the second target position component. The vehicle terminal subtracts the first target position component X1 from the first initial position component X0 of the initial position (X0, Y0) and takes the absolute value to obtain the first position difference |X1-X0|. The vehicle terminal subtracts the second target position component Y1 from the second initial position component Y0 of the initial position (X0, Y0) and takes the absolute value to obtain the second position difference |Y1-Y0|.

[0088] In a possible implementation, in response to an adjustment instruction for a target rearview mirror surface of a vehicle, it is determined whether the initial position of the target rearview mirror surface is a preset position, and the preset position is the origin of the target rearview mirror surface. When the initial position of the target rearview mirror surface is the preset position, the vehicle-mounted terminal determines the first position difference and the second position difference based on the target position indicated by the adjustment instruction.

[0089] The preset position is the origin of a coordinate system used to describe the position of the target rearview mirror surface, and the target position is also in this coordinate system.

[0090] In this implementation, it is determined whether the initial position is the preset position. If the initial position is the preset position, the first position difference and the second position difference can be directly determined using the target position, which is highly efficient.

[0091] For example, in response to an adjustment instruction for the target rearview mirror surface, the vehicle terminal parses the adjustment instruction to obtain a first target position component and a second target position component of the target position. The vehicle terminal compares the two initial position components of the initial position with the two preset position position components of the preset position, and determines that the initial position is the preset position when the two initial position components of the initial position are the same as the two preset position position components of the preset position. When the initial position of the target rearview mirror surface is the preset position, the vehicle terminal determines the first target position component as the first position difference, and determines the second target position component as the second position difference.

[0092] 302. The vehicle terminal determines an adjustment time ratio of the target rearview mirror surface based on the first position difference and the second position difference, wherein the adjustment time ratio is a ratio between an adjustment time of the rearview mirror surface for adjusting in the first adjustment direction and an adjustment time for adjusting in the second adjustment direction.

[0093] Among them, in the embodiment of the present application, the adjustment of the target rearview mirror surface includes multiple rounds of adjustment, and the adjustment time ratio is used to control the time relationship between the target rearview mirror when adjusting to the first adjustment direction and the second adjustment direction in each round of adjustment. When the first adjustment direction is vertically upward and the second adjustment direction is horizontally rightward, it is used to control the relationship between the time of vertical upward adjustment and the time of horizontal rightward adjustment in each round of adjustment. In the embodiment of the present application, the adjustment time ratio is less than or equal to 1, then the adjustment time ratio may be the ratio between the adjustment time of the rearview mirror surface in the first adjustment direction and the adjustment time of the second adjustment direction, or the ratio between the adjustment time of the rearview mirror surface in the second adjustment direction and the adjustment time of the first adjustment direction.

[0094] In a possible implementation, the vehicle terminal determines a reference ratio based on the first position difference and the second position difference, and the reference ratio is the ratio between the first position difference and the second position difference or the ratio between the second position difference and the first position difference. The vehicle terminal determines the target adjustment time ratio interval to which the reference ratio belongs from a plurality of adjustment time ratio intervals. The vehicle terminal determines the adjustment time ratio corresponding to the target adjustment time ratio interval as the adjustment time ratio of the target rearview mirror surface.

[0095] Among them, there is no overlap between any two adjustment time ratio intervals in the multiple adjustment time ratio intervals, and the multiple adjustment time ratio intervals are set by technical personnel according to actual conditions, and the embodiments of the present application do not limit this. In some embodiments, the interval lengths of the multiple adjustment time ratio intervals are the same. For example, there are four adjustment time ratio intervals (0, 0.25], (0.25, 0.5], (0.5, 0.75], (0.75, 1], and the interval lengths of the four adjustment time ratio intervals are all 0.25.

[0096] In this embodiment, a reference ratio is determined based on the first position difference and the second position difference, the reference ratio is used to determine a target adjustment time ratio interval from multiple adjustment time ratio intervals, and the target adjustment time ratio interval is used to determine the adjustment time ratio of the target rearview mirror surface, with high accuracy.

[0097] In order to explain the above implementation more clearly, the above implementation will be explained in several parts below.

[0098] In the first part, the vehicle-mounted terminal determines a reference ratio based on the first position difference and the second position difference.

[0099] In a possible implementation, when the first position difference is less than or equal to the second position difference, the vehicle terminal determines the ratio between the first position difference and the second position difference as the reference ratio. When the first position difference is greater than the second position difference, the vehicle terminal determines the ratio between the second position difference and the first position difference as the reference ratio.

[0100] Among them, since the smaller position difference is divided by the larger position difference in the process of determining the reference ratio, and the position differences are all non-negative numbers, the value range of the reference ratio is [0,1].

[0101] In this implementation, the smaller position difference between the first position difference and the second position difference is divided by the larger position difference to obtain a reference ratio, so that the value range of the reference ratio is fixed, and the subsequent use of the reference ratio to determine the adjustment time ratio is more efficient.

[0102] For example, when the first position difference is less than or equal to the second position difference, the vehicle terminal divides the first position difference by the second position difference to obtain the reference ratio. When the first position difference is greater than the second position difference, the vehicle terminal divides the second position difference by the first position difference to obtain the reference ratio.

[0103] Another implementation of the first part is described below.

[0104] In a possible implementation, the vehicle terminal divides the first position difference by the second position difference to obtain an initial ratio. When the initial ratio is less than or equal to a preset ratio, the vehicle terminal determines the initial ratio as the reference ratio. When the initial ratio is greater than the preset ratio, the vehicle terminal determines the reciprocal of the initial ratio as the reference ratio.

[0105] The preset ratio is 1.

[0106] In this implementation, the first position difference is directly divided by the second position difference to obtain the initial ratio. The reference ratio is determined by using the magnitude relationship between the initial ratio and the preset ratio, and the determination efficiency of the reference ratio is high.

[0107] In the second part, the vehicle-mounted terminal determines the target adjustment time ratio interval to which the reference ratio belongs from multiple adjustment time ratio intervals.

[0108] In a possible implementation, the vehicle terminal uses the reference ratio to compare with multiple adjustment time ratio intervals. When the reference ratio falls into any adjustment time ratio interval, the vehicle terminal determines the adjustment time ratio interval as the target adjustment time ratio interval.

[0109] For example, the vehicle terminal uses the reference ratio to compare with the lower limits of multiple adjustment time ratio intervals, and determines at least one first candidate adjustment time ratio interval from the multiple adjustment time ratio intervals, and the lower limit of the first candidate adjustment time ratio interval is less than or equal to the reference ratio. The vehicle terminal uses the reference ratio to compare with the upper limit of the at least one first candidate adjustment time ratio interval, and determines the target adjustment time ratio interval from the at least one first candidate adjustment time ratio interval, and the upper limit of the target adjustment time ratio interval is greater than or equal to the reference ratio. Alternatively, the vehicle terminal uses the reference ratio to compare with the upper limits of multiple adjustment time ratio intervals, and determines at least one second candidate adjustment time ratio interval from the multiple adjustment time ratio intervals, and the upper limit of the second candidate adjustment time ratio interval is greater than or equal to the reference ratio. The vehicle terminal uses the reference ratio to compare with the lower limit of the at least one second candidate adjustment time ratio interval, and determines the target adjustment time ratio interval from the at least one second candidate adjustment time ratio interval, and the lower limit of the target adjustment time ratio interval is less than or equal to the reference ratio.

[0110] In the third part, the vehicle-mounted terminal determines the adjustment time ratio corresponding to the target adjustment time ratio interval as the adjustment time ratio of the target rearview mirror surface.

[0111] In a possible implementation manner, the vehicle-mounted terminal determines the upper limit of the target adjustment time ratio interval as the adjustment time ratio of the target rearview mirror surface.

[0112] For example, when the target adjustment time ratio interval is (0, 0.25], the adjustment time ratio is 0.25.

[0113] In a possible implementation manner, the vehicle-mounted terminal determines the median of the target adjustment time ratio interval as the adjustment time ratio of the target rearview mirror surface.

[0114] For example, when the target adjustment time ratio interval is (0, 0.25], the adjustment time ratio is 0.125.

[0115] In a possible implementation, the vehicle terminal determines the adjustment time ratio corresponding to the target adjustment time ratio interval based on the interval length of the target adjustment time ratio interval. The vehicle terminal determines the adjustment time ratio as the adjustment time ratio of the target rearview mirror surface.

[0116] In this implementation manner, the adjustment time ratio of the target rearview mirror surface is determined using the interval length of the target adjustment time ratio interval, and the accuracy of the adjustment time ratio is relatively high.

[0117] For example, when the interval length of the target adjustment time ratio interval is greater than or equal to the interval length threshold, the vehicle terminal determines the interval median of the target adjustment time ratio interval as the adjustment time ratio of the target rearview mirror surface. When the interval length of the target adjustment time ratio interval is less than the interval length threshold, the vehicle terminal determines the interval upper limit of the target adjustment time ratio interval as the adjustment time ratio of the target rearview mirror surface.

[0118] 303. The vehicle-mounted terminal determines, based on the adjustment time ratio, a first adjustment time for adjusting the target rearview mirror surface in the first adjustment direction and a second adjustment time for adjusting the target rearview mirror surface in the second adjustment direction.

[0119] The first adjustment duration is the duration of adjusting the mirror surface in the first adjustment direction during any round of adjustment in the multiple rounds of adjustment, and correspondingly, the second adjustment duration is the duration of adjusting the mirror surface in the second adjustment direction during any round of adjustment in the multiple rounds of adjustment. In some embodiments, the target mirror surface is adjusted by a first rearview mirror adjustment motor and a second rearview mirror adjustment motor, the first rearview mirror adjustment motor can control the target mirror surface to move in the first adjustment direction and the third adjustment direction, the second rearview mirror adjustment motor can control the target mirror surface to move in the second adjustment direction and the fourth adjustment direction, the third adjustment direction is opposite to the first adjustment direction, and the fourth adjustment direction is opposite to the second adjustment direction.

[0120] In a possible implementation, the vehicle terminal determines a first number of portions corresponding to the first adjustment direction in the adjustment time ratio and a second number of portions corresponding to the second adjustment direction in the adjustment time ratio. The vehicle terminal determines the first adjustment duration and the second adjustment duration based on the first number of portions, the second number of portions and a preset duration.

[0121] Among them, the first number and the second number are both positive numbers, and the preset duration is set by the technician according to the actual situation, such as being set to 10ms, etc., and the embodiment of the present application does not limit this.

[0122] In this implementation, the adjustment time ratio is used to determine the first number of portions and the second number of portions, and then combined with the preset duration to determine the first adjustment duration and the second adjustment duration, thereby realizing the conversion of the adjustment time ratio to the adjustment duration.

[0123] In order to explain the above implementation more clearly, the above implementation will be explained in several parts below.

[0124] In the first part, the vehicle-mounted terminal determines a first number of portions corresponding to the first adjustment direction in the adjustment time ratio and a second number of portions corresponding to the second adjustment direction in the adjustment time ratio.

[0125] In a possible implementation, the vehicle terminal converts the adjustment time ratio into a fractional form to obtain a target score. The vehicle terminal determines the portion of the target score corresponding to the first adjustment direction as the first fraction. The vehicle terminal determines the portion of the target score corresponding to the second adjustment direction as the second fraction.

[0126] Among them, the part in the above implementation is the numerator or denominator, and the part corresponding to the first adjustment direction and the second adjustment direction in the target score is associated with the process of determining the adjustment time ratio in step 302, that is, it is associated with the size relationship between the first position difference in the first adjustment direction and the second position difference in the second adjustment direction.

[0127] In this implementation, the adjustment time ratio is converted into a target score, and the first portion and the second portion can be directly determined using the target score, which is more efficient.

[0128] For example, the vehicle terminal converts the adjustment time ratio into a fractional form to obtain a target fraction. When the first position difference is less than or equal to the second position difference, the vehicle terminal determines the numerator of the target fraction as the first fraction and the denominator of the target fraction as the second fraction. When the first position difference is greater than the second position difference, the vehicle terminal determines the denominator of the target fraction as the first fraction and the numerator of the target fraction as the second fraction.

[0129] The principle of the above example is related to the method for determining the reference ratio. The process of determining the reference ratio involves the size relationship between the first position difference and the second position difference. Therefore, in the process of determining the first number of portions and the second number of portions, the size relationship between the first position difference and the second position difference needs to be considered.

[0130] Another implementation of the first part is described below.

[0131] In a possible implementation, the vehicle terminal determines the inverse of the adjustment time ratio to obtain a target value, and determines the first portion and the second portion from the target value and a preset value.

[0132] Among them, the preset value is 1.

[0133] In this implementation, the inverse of the adjustment time ratio is determined, and the first portion and the second portion can be directly determined using the target value and the preset value, which is more efficient.

[0134] For example, the vehicle terminal determines the inverse of the adjustment time ratio to obtain the target value. When the first position difference is less than or equal to the second position difference, the vehicle terminal determines the target value as the first portion and the preset value as the second portion. When the first position difference is greater than the second position difference, the vehicle terminal determines the preset value as the first portion and the target value as the second portion.

[0135] The principle of the above example is related to the method for determining the reference ratio. The process of determining the reference ratio involves the size relationship between the first position difference and the second position difference. Therefore, in the process of determining the first number of portions and the second number of portions, the size relationship between the first position difference and the second position difference needs to be considered.

[0136] In the second part, the vehicle terminal determines the first adjustment time length and the second adjustment time length based on the first number of copies, the second number of copies and the preset time length.

[0137] In a possible implementation, the vehicle terminal multiplies the first number of copies by the preset duration to obtain the first adjustment duration. The vehicle terminal multiplies the second number of copies by the preset duration to obtain the second adjustment duration.

[0138] For example, when the preset duration is 10ms, the first fraction is 1, and the second fraction is 4, the vehicle terminal multiplies the first fraction 1 by the preset duration by 10ms to obtain the first adjustment duration of 10ms. The vehicle terminal multiplies the second fraction 4 by the preset duration by 10ms to obtain the second adjustment duration of 40ms.

[0139] Another implementation of the second part is described below.

[0140] In a possible implementation, the vehicle terminal multiplies the first number of copies by the preset duration to obtain a first reference adjustment duration. The vehicle terminal multiplies the second number of copies by the preset duration to obtain a second reference adjustment duration. The vehicle terminal determines the first adjustment duration and the second adjustment duration based on the first reference adjustment duration, the second reference adjustment duration, and the adjustment duration threshold.

[0141] Among them, the adjustment time threshold can be regarded as the upper limit of the adjustment time, and the adjustment time threshold is related to the visual persistence time of the human eye. For example, the visual persistence time of the human eye is usually 1 / 24s, which is about 40ms. Then the maximum adjustment time threshold is 40ms, that is, the target rearview mirror surface needs to be adjusted in one adjustment direction for a maximum of 40ms before changing to another adjustment direction for adjustment, thereby making the adjustment process of the target rearview mirror surface smoother.

[0142] In order to explain the above implementation more clearly, the following describes the manner in which the vehicle terminal in the above implementation determines the first adjustment time and the second adjustment time based on the first reference adjustment time, the second reference adjustment time and the adjustment time threshold.

[0143] In a possible implementation, when the first reference adjustment time and the second reference adjustment time are both less than or equal to the adjustment time threshold, the vehicle terminal determines the first reference adjustment time as the first adjustment time, and determines the second reference adjustment time as the second adjustment time. When the first reference adjustment time is greater than the adjustment time threshold and the second reference adjustment time is less than or equal to the adjustment time threshold, the vehicle terminal determines the adjustment time threshold as the first adjustment time. The vehicle terminal multiplies the adjustment time threshold by the adjustment time ratio to obtain the second adjustment time. When the first reference adjustment time is less than or equal to the adjustment time threshold and the second reference adjustment time is greater than the adjustment time threshold, the vehicle terminal determines the adjustment time threshold as the second adjustment time. The vehicle terminal multiplies the adjustment time threshold by the adjustment time ratio to obtain the first adjustment time. When the first reference adjustment time and the second reference adjustment time are both greater than the adjustment time threshold, the vehicle terminal determines the first adjustment time and the second adjustment time based on the first reference adjustment time, the second reference adjustment and the adjustment time ratio.

[0144] In this implementation, by comparing the first reference adjustment time, the second reference adjustment time and the adjustment time threshold, the first adjustment time and the second adjustment time can be determined, and the accuracy of the adjustment time is high.

[0145] The following describes a method for the vehicle terminal to determine the first adjustment time and the second adjustment time based on the first reference adjustment time, the second reference adjustment and the adjustment time ratio when both the first reference adjustment time and the second reference adjustment time are greater than the adjustment time threshold in the above implementation mode.

[0146] In a possible implementation, when the first reference adjustment time and the second reference adjustment time are both greater than the adjustment time threshold, the vehicle terminal compares the first reference adjustment time and the second reference adjustment time. When the first reference adjustment time is less than or equal to the second reference adjustment time, the vehicle terminal determines the adjustment time threshold as the second adjustment time, multiplies the adjustment time threshold by the adjustment time ratio, and obtains the first adjustment time. When the first reference adjustment time is greater than the second reference adjustment time, the vehicle terminal determines the adjustment time threshold as the first adjustment time, multiplies the adjustment time threshold by the adjustment time ratio, and obtains the second adjustment time.

[0147] 304. The vehicle-mounted terminal controls the target rearview mirror surface to perform multiple rounds of adjustment in the first adjustment direction and the second adjustment direction based on the first adjustment duration and the second adjustment duration, so as to adjust the target rearview mirror surface to the target position.

[0148] In one round of adjustment, the target rearview mirror surface will be adjusted once in the first adjustment direction and once in the second adjustment direction.

[0149] In a possible implementation, for any round of adjustment in the multiple rounds of adjustment, the vehicle-mounted terminal controls the target rearview mirror surface to adjust in the first adjustment direction. When the time duration for adjusting the target rearview mirror surface in the first adjustment direction reaches the first adjustment time duration, the vehicle-mounted terminal controls the target rearview mirror surface to stop adjusting in the first adjustment direction and adjust in the second adjustment direction for the second adjustment time duration.

[0150] For example, for any round of adjustment in the multiple rounds of adjustment, the vehicle-mounted terminal sends a control instruction to the rearview mirror controller, and the control instruction carries the first adjustment duration, the second adjustment duration, the first adjustment direction, and the second adjustment direction. The vehicle-mounted terminal controls the first rearview mirror adjustment motor through the rearview mirror controller to drive the target rearview mirror surface to move toward the first adjustment direction. When the duration of adjustment in the first adjustment direction reaches the first adjustment duration, the vehicle-mounted terminal controls the first rearview mirror adjustment motor to stop rotating through the rearview mirror controller, and controls the second rearview mirror adjustment motor to drive the target rearview mirror surface to move toward the second adjustment direction through the rearview mirror controller. When the duration of adjustment in the second adjustment direction reaches the second adjustment duration, the vehicle-mounted terminal controls the second rearview mirror adjustment motor to stop rotating through the rearview mirror controller to complete the round of adjustment.

[0151] It should be noted that the rearview mirror controller controls the rotation of the first rearview mirror adjustment motor or the second rearview mirror adjustment motor by adjusting the target flag. For example, adjusting the target flag to flag=0 indicates that the first rearview mirror adjustment motor is controlled to rotate; adjusting the target flag to flag=1 indicates that the second rearview mirror adjustment motor is controlled to rotate. In the above example, from controlling the rotation of the first rearview mirror adjustment motor to controlling the rotation of the second rearview mirror adjustment motor, it is only necessary to change the target flag from flag=0 to flag=1.

[0152] In a possible implementation, for any round of adjustment in the multiple rounds of adjustment, the vehicle-mounted terminal controls the target rearview mirror surface to adjust in the second adjustment direction. When the time duration for adjusting the target rearview mirror surface in the second adjustment direction reaches the second adjustment time duration, the vehicle-mounted terminal controls the target rearview mirror surface to stop adjusting in the second adjustment direction and adjust in the first adjustment direction for the first adjustment time duration.

[0153] For example, for any round of adjustment in the multiple rounds of adjustment, the vehicle-mounted terminal sends a control instruction to the rearview mirror controller, and the control instruction carries the first adjustment duration, the second adjustment duration, the first adjustment direction, and the second adjustment direction. The rearview mirror controller controls the second rearview mirror adjustment motor to drive the target rearview mirror surface to move toward the second adjustment direction. When the duration of adjustment in the second adjustment direction reaches the second adjustment duration, the vehicle-mounted terminal controls the second rearview mirror adjustment motor to stop rotating through the rearview mirror controller, and controls the first rearview mirror adjustment motor to drive the target rearview mirror surface to move toward the first adjustment direction through the rearview mirror controller. When the duration of adjustment in the first adjustment direction reaches the first adjustment duration, the vehicle-mounted terminal controls the first rearview mirror adjustment motor to stop rotating through the rearview mirror controller to complete the round of adjustment.

[0154] It should be noted that the above description is based on one round of adjustment as an example, and the adjustment process of other rounds belongs to the same inventive concept as the adjustment process of this round, and the implementation process is not repeated. In the multi-round adjustment process, in response to any round of adjustment to adjust the target rearview mirror to the target position, the adjustment of the subsequent rounds is no longer performed to ensure that the target rearview mirror can be adjusted to the position indicated by the driver.

[0155] In addition, whether to adjust the first adjustment direction or the second adjustment direction first during a round of adjustment is set by the technician according to actual conditions, and the embodiments of the present application do not limit this.

[0156] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.

[0157] Through the technical solution provided by the embodiment of the present application, in response to the adjustment instruction of the target rearview mirror surface of the vehicle, the position difference between the initial position and the target position of the target rearview mirror surface in two adjustment directions is determined. Based on the position difference between the initial position and the target position in the two adjustment directions, the adjustment time ratio is determined, and the adjustment time ratio can control the ratio between the adjustment time of the target rearview mirror surface in the two adjustment directions. The adjustment time ratio is used to control the target rearview mirror surface to perform multiple rounds of adjustment in the two adjustment directions, thereby improving the flexibility of the target rearview mirror surface in the adjustment process, thereby improving the user experience.

[0158] Figure 4 is a structural schematic diagram of a vehicle rearview mirror adjustment device provided in an embodiment of the present application, see Figure 4 The device includes: a position difference determination module 401, an adjustment time ratio determination module 402 and a control module 403.

[0159] The position difference determination module 401 is used to respond to an adjustment instruction for a target rearview mirror surface of the vehicle, determine a first position difference in a first adjustment direction and a second position difference in a second adjustment direction between an initial position of the target rearview mirror surface and a target position indicated by the adjustment instruction, wherein the first adjustment direction and the second adjustment direction are perpendicular to each other.

[0160] The adjustment time ratio determination module 402 is used to determine the adjustment time ratio of the target rearview mirror surface based on the first position difference and the second position difference, and the adjustment time ratio is the ratio between the adjustment time of the rearview mirror surface in the first adjustment direction and the adjustment time in the second adjustment direction.

[0161] The control module 403 is used to control the target rearview mirror surface to perform multiple rounds of adjustment in the first adjustment direction and the second adjustment direction based on the adjustment time ratio, so as to adjust the target rearview mirror surface to the target position.

[0162] In a possible implementation, the position difference determination module 401 is used to obtain the target position from the adjustment instruction in response to the adjustment instruction for the target rearview mirror surface. The first position difference is determined based on the first target position component of the target position in the first adjustment direction and the first initial position component of the initial position in the first adjustment direction. The second position difference is determined based on the second target position component of the target position in the second adjustment direction and the second initial position component of the initial position in the second adjustment direction.

[0163] In a possible implementation, the adjustment time ratio determination module 402 is used to determine a reference ratio based on the first position difference and the second position difference, where the reference ratio is the ratio between the first position difference and the second position difference or the ratio between the second position difference and the first position difference. A target adjustment time ratio interval to which the reference ratio belongs is determined from a plurality of adjustment time ratio intervals. The adjustment time ratio corresponding to the target adjustment time ratio interval is determined as the adjustment time ratio of the target rearview mirror surface.

[0164] In a possible implementation, the adjustment time ratio determination module 402 is configured to, when the first position difference is less than or equal to the second position difference, determine the ratio between the first position difference and the second position difference as the reference ratio. When the first position difference is greater than the second position difference, determine the ratio between the second position difference and the first position difference as the reference ratio.

[0165] In a possible implementation, the adjustment time ratio determination module 402 is used to determine the upper limit of the target adjustment time ratio interval as the adjustment time ratio of the target rearview mirror surface. Alternatively, the median of the target adjustment time ratio interval is determined as the adjustment time ratio of the target rearview mirror surface.

[0166] In a possible implementation, the control module 403 is used to determine, based on the adjustment time ratio, a first adjustment time for adjusting the target rearview mirror surface in the first adjustment direction and a second adjustment time for adjusting the target rearview mirror surface in the second adjustment direction. Based on the first adjustment time and the second adjustment time, the target rearview mirror surface is controlled to perform multiple rounds of adjustment in the first adjustment direction and the second adjustment direction.

[0167] In a possible implementation, the control module 403 is used to determine a first number of portions corresponding to the first adjustment direction in the adjustment time ratio and a second number of portions corresponding to the second adjustment direction in the adjustment time ratio. Based on the first number of portions, the second number of portions and a preset duration, the first adjustment duration and the second adjustment duration are determined.

[0168] In a possible implementation, the control module 403 is configured to multiply the first number of copies by the preset duration to obtain the first adjustment duration. Multiply the second number of copies by the preset duration to obtain the second adjustment duration. Alternatively, multiply the first number of copies by the preset duration to obtain a first reference adjustment duration. Multiply the second number of copies by the preset duration to obtain a second reference adjustment duration. Based on the first reference adjustment duration, the second reference adjustment duration, and the adjustment duration threshold, determine the first adjustment duration and the second adjustment duration.

[0169] In a possible implementation, the control module 403 is used to determine the first reference adjustment duration as the first adjustment duration and the second reference adjustment duration as the second adjustment duration when both the first reference adjustment duration and the second reference adjustment duration are less than or equal to the adjustment duration threshold. When the first reference adjustment duration is greater than the adjustment duration threshold and the second reference adjustment duration is less than or equal to the adjustment duration threshold, the adjustment duration threshold is determined as the first adjustment duration. The adjustment duration threshold is multiplied by the adjustment time ratio to obtain the second adjustment duration. When the first reference adjustment duration is less than or equal to the adjustment duration threshold and the second reference adjustment duration is greater than the adjustment duration threshold, the adjustment duration threshold is determined as the second adjustment duration. The adjustment duration threshold is multiplied by the adjustment time ratio to obtain the first adjustment duration. When the first reference adjustment time and the second reference adjustment time are both greater than the adjustment time threshold, the first adjustment time and the second adjustment time are determined based on the first reference adjustment time, the second reference adjustment and the adjustment time ratio.

[0170] In a possible implementation, the control module 403 is used to control the target rearview mirror surface to adjust in the first adjustment direction for any round of adjustment in the multiple rounds of adjustment. When the duration of the target rearview mirror surface being adjusted in the first adjustment direction reaches the first adjustment duration, the target rearview mirror surface is controlled to stop adjusting in the first adjustment direction and to adjust the second adjustment duration in the second adjustment direction. Alternatively, the target rearview mirror surface is controlled to adjust in the second adjustment direction. When the duration of the target rearview mirror surface being adjusted in the second adjustment direction reaches the second adjustment duration, the target rearview mirror surface is controlled to stop adjusting in the second adjustment direction and to adjust the first adjustment duration in the first adjustment direction.

[0171] It should be noted that: the vehicle rearview mirror adjustment device provided in the above embodiment only uses the division of the above functional modules as an example to illustrate when adjusting the rearview mirror surface. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the computer device is divided into different functional modules to complete all or part of the functions described above. In addition, the vehicle rearview mirror adjustment device provided in the above embodiment and the vehicle rearview mirror adjustment method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0172] Through the technical solution provided by the embodiment of the present application, in response to the adjustment instruction of the target rearview mirror surface of the vehicle, the position difference between the initial position and the target position of the target rearview mirror surface in two adjustment directions is determined. Based on the position difference between the initial position and the target position in the two adjustment directions, the adjustment time ratio is determined, and the adjustment time ratio can control the ratio between the adjustment time of the target rearview mirror surface in the two adjustment directions. The adjustment time ratio is used to control the target rearview mirror surface to perform multiple rounds of adjustment in the two adjustment directions, thereby improving the flexibility of the target rearview mirror surface in the adjustment process, thereby improving the user experience.

[0173] The embodiment of the present application also provides a vehicle, Figure 5 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.

[0174] Typically, the vehicle 500 includes: one or more processors 501 and one or more memories 502 .

[0175] The processor 501 may include one or more processing cores, such as a 4-core processor, a 5-core processor, etc. The processor 501 may be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 501 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state. In some embodiments, the processor 501 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the display screen. In some embodiments, the processor 501 may also include an AI (Artificial Intelligence) processor, which is used to process computing operations related to machine learning.

[0176] The memory 502 may include one or more computer-readable storage media, which may be non-transitory. The memory 502 may also include a high-speed random access memory, and a non-volatile memory, such as one or more disk storage devices, flash memory storage devices. In some embodiments, the non-transitory computer-readable storage medium in the memory 502 is used to store at least one computer program, which is used to be executed by the processor 501 to implement the rearview mirror adjustment method of the vehicle provided in the method embodiment of the present application.

[0177] Those skilled in the art will understand that Figure 5 The structure shown in the figure does not constitute a limitation on the vehicle 500, and the vehicle 500 may include more or less components than those shown in the figure, or combine certain components, or adopt a different arrangement of components.

[0178] In addition, the device provided in the embodiments of the present application may specifically be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a method for adjusting a rearview mirror of a vehicle provided in the above-mentioned embodiment.

[0179] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is run on a computer, the computer executes the above-mentioned related method steps to implement a method for adjusting a rearview mirror of a vehicle provided in the above embodiment.

[0180] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a method for adjusting a rearview mirror of a vehicle provided in the above embodiment.

[0181] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0182] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0183] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0184] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for adjusting a rearview mirror of a vehicle, characterized in that: The method comprises: In response to an adjustment instruction for a target rearview mirror surface of the vehicle, determining a first position difference between an initial position of the target rearview mirror surface and a target position indicated by the adjustment instruction in a first adjustment direction and a second position difference in a second adjustment direction, wherein the first adjustment direction and the second adjustment direction are perpendicular to each other; Based on the first position difference and the second position difference, determining an adjustment time ratio of the target rearview mirror surface, wherein the adjustment time ratio is a ratio between an adjustment time of the rearview mirror surface being adjusted in the first adjustment direction and an adjustment time of the rearview mirror surface being adjusted in the second adjustment direction; Based on the adjustment time ratio, the target rearview mirror surface is controlled to perform multiple rounds of adjustment in the first adjustment direction and the second adjustment direction to adjust the target rearview mirror surface to the target position.

2. The method according to claim 1, characterized in that The method of determining, in response to an adjustment instruction for a target rearview mirror surface, a first position difference between an initial position of the target rearview mirror surface and a target position indicated by the adjustment instruction in a first adjustment direction and a second position difference in a second adjustment direction comprises: In response to an adjustment instruction for a target rearview mirror surface, acquiring the target position from the adjustment instruction; determining the first position difference based on a first target position component of the target position in the first adjustment direction and a first initial position component of the initial position in the first adjustment direction; The second position difference is determined based on a second target position component of the target position in the second adjustment direction and a second initial position component of the initial position in the second adjustment direction.

3. The method according to claim 1, characterized in that The step of determining the adjustment time ratio of the target rearview mirror surface based on the first position difference and the second position difference includes: Determine a reference ratio based on the first position difference and the second position difference, wherein the reference ratio is a ratio between the first position difference and the second position difference or a ratio between the second position difference and the first position difference; Determine a target adjustment time ratio interval to which the reference ratio belongs from a plurality of adjustment time ratio intervals; The adjustment time ratio corresponding to the target adjustment time ratio interval is determined as the adjustment time ratio of the target rearview mirror surface.

4. The method according to claim 3, characterized in that The determining a reference ratio based on the first position difference and the second position difference comprises: In a case where the first position difference is less than or equal to the second position difference, determining a ratio between the first position difference and the second position difference as the reference ratio; In a case where the first position difference value is greater than the second position difference value, a ratio between the second position difference value and the first position difference value is determined as the reference ratio.

5. The method according to claim 3, characterized in that: The step of determining the adjustment time ratio corresponding to the target adjustment time ratio interval as the adjustment time ratio of the target rearview mirror surface includes: Determining the upper limit of the target adjustment time ratio interval as the adjustment time ratio of the target rearview mirror surface; Alternatively, the median of the target adjustment time ratio interval is determined as the adjustment time ratio of the target rearview mirror surface.

6. The method according to claim 1, characterized in that The controlling the target rearview mirror surface to perform multiple rounds of adjustment in the first adjustment direction and the second adjustment direction based on the adjustment time ratio includes: Based on the adjustment time ratio, determining a first adjustment time length for adjusting the target rearview mirror surface in the first adjustment direction and a second adjustment time length for adjusting the target rearview mirror surface in the second adjustment direction; Based on the first adjustment duration and the second adjustment duration, the target rearview mirror surface is controlled to perform multiple rounds of adjustment in the first adjustment direction and the second adjustment direction.

7. The method according to claim 6, characterized in that The determining, based on the adjustment time ratio, a first adjustment time length for adjusting the target rearview mirror surface in the first adjustment direction and a second adjustment time length for adjusting the target rearview mirror surface in the second adjustment direction comprises: Determine a first number of portions corresponding to the first adjustment direction in the adjustment time ratio and a second number of portions corresponding to the second adjustment direction in the adjustment time ratio; Based on the first number of copies, the second number of copies, and a preset duration, the first adjustment duration and the second adjustment duration are determined.

8. The method according to claim 7, characterized in that The determining the first adjustment duration and the second adjustment duration based on the first number of copies, the second number of copies, and a preset duration includes: Multiply the first number of copies by the preset duration to obtain the first adjustment duration; multiply the second number of copies by the preset duration to obtain the second adjustment duration; Alternatively, multiply the first number by the preset duration to obtain a first reference adjustment duration; multiply the second number by the preset duration to obtain a second reference adjustment duration; and determine the first adjustment duration and the second adjustment duration based on the first reference adjustment duration, the second reference adjustment duration and the adjustment duration threshold.

9. The method according to claim 8, characterized in that The determining the first adjustment duration and the second adjustment duration based on the first reference adjustment duration, the second reference adjustment duration, and an adjustment duration threshold includes: When the first reference adjustment duration and the second reference adjustment duration are both less than or equal to the adjustment duration threshold, the first reference adjustment duration is determined as the first adjustment duration, and the second reference adjustment duration is determined as the second adjustment duration; When the first reference adjustment time is greater than the adjustment time threshold and the second reference adjustment time is less than or equal to the adjustment time threshold, the adjustment time threshold is determined as the first adjustment time; and the adjustment time threshold is multiplied by the adjustment time ratio to obtain the second adjustment time; When the first reference adjustment duration is less than or equal to the adjustment duration threshold and the second reference adjustment duration is greater than the adjustment duration threshold, the adjustment duration threshold is determined as the second adjustment duration; and the adjustment duration threshold is multiplied by the adjustment time ratio to obtain the first adjustment duration; When the first reference adjustment duration and the second reference adjustment duration are both greater than the adjustment duration threshold, the first adjustment duration and the second adjustment duration are determined based on the first reference adjustment duration, the second reference adjustment and the adjustment time ratio.

10. The method according to claim 6, characterized in that The controlling the target rearview mirror surface to perform multiple rounds of adjustment in the first adjustment direction and the second adjustment direction based on the first adjustment duration and the second adjustment duration includes: For any round of adjustment in the multiple rounds of adjustment, the target rearview mirror surface is controlled to be adjusted in the first adjustment direction; when the time duration for which the target rearview mirror surface is adjusted in the first adjustment direction reaches the first adjustment time duration, the target rearview mirror surface is controlled to stop being adjusted in the first adjustment direction and to be adjusted in the second adjustment direction for the second adjustment time duration; Alternatively, the target rearview mirror surface is controlled to be adjusted in the second adjustment direction; when the time for which the target rearview mirror surface is adjusted in the second adjustment direction reaches the second adjustment time length, the target rearview mirror surface is controlled to stop adjusting in the second adjustment direction and adjust in the first adjustment direction for the first adjustment time length.

11. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor is used to call and run the executable program code from the memory, so that the vehicle executes the rearview mirror adjustment method of the vehicle as described in any one of claims 1 to 10.