A vehicle control method, vehicle, controller and medium
By automatically adjusting the seat position when the sun visor opening angle meets the requirements, the problem of manual adjustment of the car vanity mirror is solved, and the imaging effect of the vanity mirror is intelligently optimized, improving the user experience and ease of operation.
Patent Information
- Application Number
- CN202611415797.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-11
- Publication Date
- 2026-11-27
AI Technical Summary
Car vanity mirrors require users to manually and repeatedly adjust their seat positions to suit different makeup needs, which is cumbersome, inefficient, and easily distracts the driver. They also make it difficult to achieve dynamic optimization of the facial imaging area, affecting makeup efficiency and experience.
When the sun visor opening angle meets the usage conditions, the sensor detects and determines the seat adjustment amount, including the seat's fore-and-aft movement distance, up-and-down movement distance, and backrest tilt angle. The electric seat control system then automatically adjusts the seat position to ensure that the user obtains the best facial imaging effect.
It achieves intelligent optimization of the makeup mirror's imaging effect, obtaining the best facial image without manual intervention, reducing the problem of poor user experience, and improving the convenience and comfort of operation.
Smart Images

Figure CN123169757A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle technology, and more particularly to a vehicle control method, a vehicle, a controller, and a medium. Background Technology
[0002] With the continuous improvement of the demand for intelligent car cabins and refined user experience, in-car vanity mirrors have evolved from traditional passive reflection tools into intelligent terminals that integrate visual perception and active interaction functions.
[0003] Current in-vehicle vanity mirror systems generally suffer from insufficient intelligence. In related technologies, vanity mirrors are typically used only as passive reflective devices, requiring users to manually and repeatedly adjust the seat position to suit different makeup needs.
[0004] However, manually adjusting the seat is not only cumbersome and distracting for the driver, but frequent adjustments can also lead to a poor user experience. At the same time, manual adjustments often fail to achieve dynamic optimization of the facial imaging area, resulting in limited vision and seriously affecting makeup efficiency and experience. Summary of the Invention
[0005] In view of this, this application provides a vehicle control method, a vehicle, a controller, and a medium to solve the problem that in-vehicle vanity mirrors require users to manually and repeatedly adjust the seat position to adapt to different makeup needs, resulting in cumbersome operation and low efficiency.
[0006] In a first aspect, embodiments of this application provide a vehicle control method applied to a vehicle, the method comprising: Determine the seat adjustment range based on the opening angle of the sun visor, provided it meets the usage requirements; a vanity mirror is installed within the sun visor. Adjust the seat based on the seat adjustment range.
[0007] In this embodiment, the seat adjustment amount is determined and the adjustment is performed when the sun visor opening angle meets the usage conditions. This solves the problem that traditional in-vehicle vanity mirror systems require repeated manual adjustment of the seat position, and realizes intelligent optimization of the vanity mirror imaging effect. The best facial imaging effect can be obtained without manual intervention, avoiding the poor user experience caused by frequent seat adjustments.
[0008] In some possible embodiments, determining the seat adjustment amount includes: Obtain the corresponding adjustment combination for the seat; the adjustment combination consists of the seat's fore-and-aft movement distance, seat's up-and-down movement distance, and seat backrest tilt angle. Determine the visible range corresponding to each adjustment combination; the visible range is the area of the user's face that the user can see in the makeup mirror. The adjustment amount is the combination of adjustments that meet the preset visibility requirements.
[0009] In this embodiment of the application, during the process of determining the seat adjustment amount, by evaluating the visual effects of different adjustment combinations and selecting the optimal solution, it is possible to automatically adapt to changes in the user's makeup needs, reduce manual operation, and improve comfort and convenience during use.
[0010] In some possible embodiments, after obtaining the combination of adjustment amounts based on the adjustment range and a preset step size, the method further includes: For each combination of adjustment amounts, determine whether each adjustment amount in the combination is greater than the preset adjustment range; If any adjustment amount exceeds the preset adjustment range, the combination of adjustment amounts corresponding to that adjustment amount will be eliminated.
[0011] In this embodiment of the application, by filtering the combination of adjustment amounts that do not meet the adjustment range constraints, it is possible to ensure that the seat adjustment is carried out within a safe range, reduce discomfort caused by large adjustments, maintain the accuracy and stability of operation, and optimize the user experience.
[0012] In some possible embodiments, determining the visible range corresponding to each combination of adjustment amounts includes: For each combination of adjustment amounts, the estimated visual center point is obtained based on the combination of adjustment amounts; the estimated visual center point is the user's visual center point when the user is sitting in the seat adjusted based on the combination of adjustment amounts. Based on the positional relationship between the makeup mirror and the estimated visual center point, determine the mirror image position of the estimated visual center point in the makeup mirror. Based on the mirror position, the size characteristics of the makeup mirror, and the size characteristics of the user's face, the visible range of the face in the makeup mirror is obtained.
[0013] In this embodiment of the application, by calculating the mirror position of the adjusted visual center point and analyzing the visible range, the imaging effect of the user in the makeup mirror can be evaluated more accurately, a suitable seat position adjustment scheme can be selected, the frequency of manual adjustment can be reduced, and the convenience and comfort of the use process can be improved.
[0014] In some possible embodiments, the method further includes, before determining the seat adjustment amount: Obtain the user's current visual center point; The current visible range is obtained based on the current visual center point; the visible range is the area in the makeup mirror that the user's face can see. Specifically, the seat adjustment amount is determined when the current visible range is less than a preset threshold.
[0015] In this embodiment, it is possible to confirm whether the current field of view meets the requirements before adjustment, and to perform seat adjustments only when necessary, thereby reducing unnecessary operations and improving the comfort and convenience of use.
[0016] In some possible embodiments, obtaining the user's current visual center point includes: If the location of the user's visual center point is stored in advance, then the location of the user's visual center point stored in advance will be used as the user's current visual center point; If the user's visual center point is not pre-stored, the preset visual center point will be used as the user's current visual center point.
[0017] In this embodiment, pre-stored parameters can be quickly retrieved based on user historical data, while providing basic reference coordinates for new users. This reduces repetitive calibration steps, ensures stable operation in different usage scenarios, and improves the continuity and convenience of operation.
[0018] In some possible embodiments, the method further includes, before determining the seat adjustment amount: If the user's target seat position is stored in advance, the seat will be adjusted according to the target seat position.
[0019] In this embodiment of the application, by recognizing the user's facial features and matching the pre-stored seat position, the user's repeated adjustment steps are reduced each time they use the product, so that different users can more conveniently obtain a seat configuration that suits their personal habits, thereby improving operating efficiency and user comfort.
[0020] In some possible embodiments, after adjusting the seat, the method further includes: Obtain the user's head movement information; The amount of seat adjustment is determined based on head movement information; The seat is adjusted based on the amount of fine-tuning.
[0021] In this embodiment, by acquiring head movement information in real time and dynamically adjusting the seat position, it is possible to respond instantly to changes in the user's personalized makeup needs, achieve precise adaptation of the makeup mirror image, reduce manual intervention, and improve the smoothness and comfort of operation.
[0022] In some possible embodiments, after adjusting the seat, the method further includes: With the seat adjusted to be the driver's seat, determine the steering wheel adjustment amount based on the seat adjustment amount; Adjust the steering wheel according to the amount of steering wheel adjustment.
[0023] In this embodiment, the seat and steering wheel are adjusted in a coordinated manner to maintain the consistency of the driver's operating posture, reduce manual adjustment steps, and improve comfort and ease of operation during driving.
[0024] In a second aspect, embodiments of this application provide a controller, including a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the controller is triggered to execute the method described in any of the first aspects.
[0025] Thirdly, another embodiment of this application provides a computer-readable storage medium storing a computer program for causing a computer to perform any of the methods provided in the first aspect of this application.
[0026] Other features and advantages of this application will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the application. The objectives and other advantages of this application may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings. Attached Figure Description
[0027] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0028] Figure 1 This is a schematic diagram of the overall process of a vehicle control method provided in an embodiment of this application; Figure 2 A flowchart illustrating the determination of seat adjustment amount in a vehicle control method where the execution subject is a system, provided as an embodiment of this application; Figure 3 A flowchart illustrating the determination of the visible range corresponding to each adjustment combination in a vehicle control method provided in this application embodiment; Figure 4 A schematic diagram of a mirror and a visual center point for a vehicle control method provided in an embodiment of this application; Figure 5 A schematic diagram of a vanity mirror in a sun visor provided in an embodiment of this application for a vehicle control method; Figure 6 A flowchart illustrating the process of determining the mirror image position of the visual center point in a makeup mirror, as provided in an embodiment of this application; Figure 7A schematic diagram illustrating the process of obtaining the visible range based on the mirror position and the vertical axis of the user's face in a vehicle control method provided in this application embodiment; Figure 8 A schematic diagram showing the mirrored position of the visual center point of a vehicle control method provided in this application embodiment; Figure 9 A flowchart illustrating whether to perform the step of determining the seat adjustment amount in a vehicle control method provided in this application embodiment; Figure 10 A schematic diagram illustrating the process of adjusting the seat based on head movements in a vehicle control method provided in this application embodiment; Figure 11 This is a schematic diagram of an electronic device for a vehicle control method provided in an embodiment of this application. Detailed Implementation
[0029] To better understand the technical solution of this application, the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0030] It should be understood that the described embodiments are merely some, not all, of the embodiments in this application. All other embodiments obtained by those skilled in the art based on the embodiments in this application without inventive effort are within the scope of protection of this application.
[0031] The terminology used in the embodiments of this application is for the purpose of describing particular embodiments only and is not intended to be limiting of this application. The singular forms “a,” “the,” and “the” used in the embodiments of this application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise.
[0032] It should be understood that the term "and / or" used in this article is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, or B existing alone. Additionally, the character " / " in this article generally indicates that the preceding and following related objects have an "or" relationship.
[0033] With the continuous improvement of the demand for intelligent car cabins and refined user experience, in-car vanity mirrors have evolved from traditional passive reflection tools into intelligent terminals that integrate visual perception and active interaction functions.
[0034] Current in-vehicle vanity mirror systems generally suffer from insufficient intelligence. In related technologies, vanity mirrors are typically used only as passive reflective devices, requiring users to manually and repeatedly adjust the seat position to suit different makeup needs.
[0035] However, manually adjusting the seat is not only cumbersome and distracting for the driver, but frequent adjustments can also lead to a poor user experience. At the same time, manual adjustments often fail to achieve dynamic optimization of the facial imaging area, resulting in limited vision and seriously affecting makeup efficiency and experience.
[0036] To address the aforementioned problems, this application provides a vehicle control method, a vehicle, a controller, and a medium to solve these issues. The inventive concept of this application can be summarized as follows: when the opening angle of the sun visor meets the usage conditions, it can be determined that there is a need for makeup application, thus determining the seat adjustment amount; based on the seat adjustment amount, the seat is adjusted to ensure the range of vision the user can see in the makeup mirror.
[0037] In this embodiment, the seat adjustment amount is determined and the adjustment is performed when the sun visor opening angle meets the usage conditions. This solves the problem that traditional in-vehicle vanity mirror systems require repeated manual adjustment of the seat position, and realizes intelligent optimization of the vanity mirror imaging effect. The best facial imaging effect can be obtained without manual intervention, avoiding the poor user experience caused by frequent seat adjustments.
[0038] For ease of understanding, the vehicle control method provided in this application embodiment will be described in detail below with reference to the accompanying drawings: like Figure 1 The diagram shown is a schematic overall flow chart of a vehicle control method provided in an embodiment of this application, wherein: In S101: Determine the seat adjustment amount if the opening angle of the sun visor meets the usage conditions.
[0039] In this embodiment of the application, a vanity mirror is provided in the sun visor. The opening angle of the sun visor can be detected by a sensor installed in the vehicle. This step and subsequent steps will only be performed when the opening angle of the sun visor meets the usage conditions.
[0040] For example, the usage conditions of the sun visor can be set to the opening angle of the sun visor being greater than a preset angle threshold.
[0041] For example, the preset angle threshold can be set to 45 degrees, 46 degrees, etc.
[0042] The preset angle threshold can be set according to the vehicle type and the installation position of the sun visor in the vehicle.
[0043] Seat adjustment range refers to the combination of adjustments made to the seat in various dimensions to optimize the user's image in the makeup mirror. This combination includes: the seat's fore-and-aft movement distance, the seat's vertical movement distance, and the seat backrest tilt angle. This combination of adjustments is determined because changes in the sun visor angle alter the relative geometric relationship between the original seat position and the makeup mirror, thus affecting facial image quality. Dynamic adjustments are needed to match the seat position with the current makeup mirror angle, ensuring the user receives a clear and complete facial image.
[0044] By setting usage conditions, the subsequent process is only initiated when the user is actually ready to use the makeup mirror, avoiding accidental triggering caused by slight shaking of the sun visor.
[0045] The specific implementation method for determining the seat adjustment amount in this step will be detailed later and will not be repeated here.
[0046] In S102: Adjust the seat based on the seat adjustment amount.
[0047] In this embodiment, based on the calculated seat adjustment amount, the system automatically drives the corresponding actuator to perform precise displacement through the vehicle's built-in electric seat control system. The calculated seat adjustment amount is converted into actual control commands, and then the corresponding motor is driven to perform displacement operations through the vehicle's built-in electric seat control module. This establishes an optimal relative geometric relationship between the user and the makeup mirror, thereby automatically obtaining a clear and complete facial imaging effect without manual intervention. This effectively solves the technical problem of complex operation and poor user experience caused by the need for users to repeatedly manually adjust the seat position in the prior art.
[0048] To facilitate a further understanding of the vehicle control method provided in this application, the following will describe... Figure 1 The process of determining the seat adjustment amount in step S101 is described in detail below: In some possible embodiments, the process of determining the seat adjustment amount in step S101 above can be specifically implemented as follows: Figure 2 The process shown is as follows: In S201: Obtain the adjustment range corresponding to the seat.
[0049] In this embodiment of the application, in order to ensure that the adjustment operation of the seat is safely performed within the physical adjustable range of the vehicle seat and to avoid mechanical failures or safety hazards caused by the adjustment operation exceeding the actual movable range, the adjustment range corresponding to each adjustment dimension is preset.
[0050] For example, the initial calibration coordinates of the seat are (0,0) (with the center position of the seat as the reference origin). The adjustable range of the seat in each adjustment dimension can include: the range of forward and backward movement of the seat (e.g., forward movement up to 20cm, backward movement up to 5cm), the range of vertical height adjustment of the seat (e.g., upward movement up to 8cm, downward movement down to 5cm), and the range of backrest angle adjustment (e.g., 0°-30°). Therefore, step S1 can obtain the adjustment range of forward and backward movement of the seat as [-5cm, 20cm], the adjustment range of vertical height adjustment of the seat as [-5cm, 8cm], and the adjustment range of backrest angle adjustment as [0°, 30°].
[0051] It should be noted that this step is not required every time a vehicle control method provided in this application is executed. It is only executed once when a vehicle control method is executed for the first time. After obtaining the adjustment range, the adjustment range can be stored in the vehicle. When the seat is adjusted again in a subsequent step, it can be directly retrieved from the vehicle's storage space.
[0052] In S202: Based on the adjustment range and the preset step size, the adjustment combination is obtained.
[0053] In this embodiment, the continuous range of adjustment values is transformed into discrete, computationally calculable adjustment values. Adjustment values encompassing each adjustment dimension can be integrated into a combination of adjustment values, meaning the combination of adjustment values includes one adjustment value for each adjustment dimension.
[0054] Specifically: Based on the adjustment range corresponding to the adjustment amount in each dimension, differentiated step sizes are set according to the physical characteristics and control precision requirements of different dimensions; For example, the seat can be moved forward and backward in 0.5cm increments (to meet the needs of ergonomic fine-tuning); vertically raised and lowered in 0.2cm increments (because changes in height are more sensitive to the impact on the field of vision); and the backrest angle can be adjusted in 0.5° increments (balancing adjustment accuracy and mechanical response speed).
[0055] By setting a preset step size, the continuous range of adjustment amounts is discretized into individual adjustment amounts. The adjustment amounts in each dimension are then combined to obtain a combination of adjustment amounts. For example, each combination of adjustment amounts includes: the fore-and-aft movement distance of the seat. Seat vertical movement distance The seat backrest can be tilted back at different angles. .
[0056] For example, the adjustment range for the seat's fore-and-aft movement distance is -10cm to +10cm, with a step size of 0.5cm; the adjustment range for the seat's up-and-down movement distance is -5cm to +5cm, with a step size of 0.2cm; and the adjustment range for the seat backrest's tilt angle is -10° to +10°, with a step size of 0.5°. Based on this, the adjustment amounts in each dimension are discretized according to the step size to form multiple possible value points. For the fore-and-aft movement of the seat, the following values can be used: -10.0cm, -9.5cm, -9.0cm, ..., 0cm, ..., 9.5cm, 10.0cm; for the up-and-down movement of the seat, the following values can be used: -5.0cm, -4.8cm, -4.6cm, ..., 0cm, ..., 4.6cm, 4.8cm, 5.0cm; for the tilt angle of the seat back, the following values can be used: -10.0°, -9.5°, -9.0°, ..., 0°, ..., 9.5°, 10.0°. Then, the discrete values of the three dimensions are combined to form adjustment combinations, such as (-10.0cm, -5.0cm, -10.0°), (-9.5cm, -4.8cm, -9.5°), (0cm, 0cm, 0°), (7.5cm, 3.2cm, 8.5°), etc. These combinations cover all possible adjustment schemes.
[0057] It should be noted that this step is similar to step S201 above and can be performed once when a vehicle control method is first executed. After obtaining the adjustment amount combination, the adjustment amount combination is stored in the vehicle's memory space. When adjusting the seat later, it is only necessary to call it from the vehicle's memory space.
[0058] In S203: Determine the visible range corresponding to each adjustment combination; the visible range is the range in which the user's face is seen by the user in the makeup mirror.
[0059] In this embodiment, abstract ergonomic requirements are transformed into measurable visible range, realizing a mapping from physical displacement to perceived quality. By determining the area of the user's face visible in the makeup mirror under different seat configurations, it can be reflected whether the user can clearly observe the required facial details during the makeup process.
[0060] In some possible embodiments, the visible range corresponding to each combination of adjustment amounts is determined, which can be implemented as follows: Figure 3 The process shown is as follows: In S301: The estimated visual center point is obtained based on the combination of adjustment amounts.
[0061] In this embodiment of the application, the visual center point refers to the middle position of the user's eyes. The midpoint of the line connecting the two eyes or the position of the dominant eye can be used as the visual center point. The estimated visual center point is the user's visual center point when sitting on a seat adjusted based on the adjustment amount combination. The estimated visual center point can be obtained according to the formula between the pre-built seat adjustment amount and the visual center point.
[0062] For example, the relationship between the seat adjustment amount and the visual center point satisfies Formula 1: , (Formula 1) Among them, such as Figure 4 As shown, the estimated coordinates of the visual center point are ( , ), The pre-calibrated visual center point is connected to the sun visor and the end point of the rotating axis of the vehicle. The distance between them in the front-to-back direction. The reference value for the vertical height of the pre-calibrated visual center point under the reference state. This refers to the distance the seat moves forward and backward. This refers to the distance the seat moves up and down. The angle of the seat backrest. and The additional rotational offset caused by the seat back tilt angle is expressed in the fore-aft and up-down directions, respectively.
[0063] in, and Satisfying Formula 2: , (Formula 2) in, The seat back adjustment origin is the pre-calibrated point, and The coordinates of the point ( ) are known parameters.
[0064] In S302: Based on the positional relationship between the makeup mirror and the estimated visual center point, determine the mirror image position of the estimated visual center point in the makeup mirror.
[0065] In this embodiment, the mirror image position is calculated by symmetrically transforming the estimated visual center point with respect to the mirror surface of the makeup mirror. This calculation is based on the fundamental physical law of plane mirror imaging, namely, that the object and its mirror image are symmetrical with respect to the mirror surface.
[0066] Specifically, such as Figure 5 As shown, the opening angle of the sun visor is the angle between the plane on which the makeup mirror is mounted and a straight line perpendicular to the ground, denoted as . ; The end point of the rotating shaft connecting the sun visor to the vehicle (denoted as...) ( ) is the origin, and a straight line perpendicular to the ground is the boundary. Axis, perpendicular to The straight line extending along the axis and the vehicle body direction is Establish a coordinate system based on the axes. Then combine the sun visor's rotating axis with the first end point of the makeup mirror (denoted as...). The length of ) (denoted as ), and the length of the makeup mirror (denoted as ), Calculate the first endpoint of the makeup mirror. With the second endpoint Coordinate information in this coordinate system.
[0067] For example, Formula 3 can be used to determine the coordinates of the endpoints: , (Formula 3) in, The first endpoint exist The coordinates of the axis, The first endpoint exist The coordinates of the axis, From the rotation axis of the sun visor to the first end of the makeup mirror Length, To open the angle, For the second endpoint A in The coordinates of the axis, For the second endpoint A in The coordinates of the axis, This refers to the length of the makeup mirror.
[0068] In some possible embodiments, the mirror image position of the visual center point in the makeup mirror is obtained based on the coordinate information of the first endpoint and the second endpoint. Specifically, this can be implemented as follows: Figure 6 The process shown is as follows: In S601: The mirror surface line of the makeup mirror is determined based on the coordinate information of the first endpoint and the second endpoint.
[0069] In this embodiment of the application, the straight line formed by the first endpoint and the second endpoint is regarded as a mirror line, for example: Figure 4 As shown, the straight line on the mirror surface is the one that passes through... Point and A straight line from a point.
[0070] In S602: Based on the mirror line, the point symmetrical to the visual center point about the mirror line is taken as the mirror position.
[0071] In this embodiment, based on the principle of light reflection, a perpendicular line is drawn from the visual center point to the straight line of the mirror to find the position of the foot of the perpendicular; then, based on the positional relationship between the foot of the perpendicular and the origin, the mirror position of the symmetrical point is calculated.
[0072] For example: Figure 4 As shown, the visual center point is denoted as... Then the symmetrical point is .
[0073] In S303: Based on the mirror position, the size characteristics of the makeup mirror, and the size characteristics of the user's face, the visible range of the face in the makeup mirror is obtained.
[0074] In this embodiment of the application, the interaction between the mirror position and the vertical axis of the face is transformed into a quantifiable visual perception parameter, namely the range, which directly represents the area that the user can actually see in the makeup mirror.
[0075] For example, the visible range is obtained based on the mirror position and the vertical axis of the user's face, which can be implemented as follows: Figure 7 The process shown is as follows: In S701: Using the mirror position as the endpoint, we obtain the first ray passing through the first endpoint and the second ray passing through the second endpoint.
[0076] In this embodiment of the application, rays are drawn from the mirror position to the two endpoints of the makeup mirror; these rays represent the limit of the light path that can reach the face from the user's eyes after being reflected by the makeup mirror.
[0077] For example: Figure 8 As shown, the mirror position is The two ends of the makeup mirror are respectively Point and Point, therefore the first ray is The second ray is .
[0078] Based on the geometric relationships of planar imaging and the relationship between the user's visual center point and the mirror position, the coordinates of the mirror position can be obtained as shown in Formula 4: , (Formula 4) in, For mirror position at The coordinates of the axis, Mirror position at The coordinates of the axis.
[0079] In S702: Determine the first and second intersection points of the first ray and the second ray with the vertical axis of the face, respectively.
[0080] In this embodiment of the application, the two rays generated in S701 above are... , The vertical axis of the face perpendicular to the ground (denoted as ) = Mathematical intersection is performed to calculate the coordinates of the intercept points of the two light rays on the vertical axis of the face. The two intersection points represent the upper and lower boundaries that the user can actually see through the makeup mirror, and their vertical distance directly constitutes a quantitative indicator of the visible range.
[0081] In S703: The visible range is obtained based on the first intersection point and the second intersection point.
[0082] In this embodiment of the application, the visible range is the vertical distance between the first intersection point and the second intersection point, denoted as . .
[0083] For example: Figure 8 As shown, the first intersection point is The second intersection point is First intersection Intersection with the second point The vertical distance between them is the visible range. .
[0084] Let the coordinates of the second intersection point of the second ray and the vertical axis of the face be denoted as Let the coordinates of the first intersection point of the first ray and the vertical axis of the face be denoted as Then, the coordinates of the first intersection point, the second intersection point, and the preset facial threshold can be used to construct constraints on the visible range as shown in Formula 5: , (Formula 5) in, The visible range.
[0085] Based on mathematical and geometric relationships and combined with Formulas 1-3 above, the relationships between the first and second intersection points and the first endpoint, the second endpoint, and the center of the line of sight, respectively, can be obtained as shown in Formulas 6 and 7: , (Formula 6) , (Formula 7) in, The first endpoint exist The coordinates of the axis, The first endpoint exist The coordinates of the axis, For the second endpoint A in The coordinates of the axis, For the second endpoint A in The coordinates of the axis, For mirror position at The coordinates of the axis, Mirror position at The coordinates of the axis.
[0086] In S204: The combination of adjustment amounts that meet the preset visibility requirements is used as the seat adjustment amount.
[0087] In this embodiment of the application, the visible range of all adjustment amount combinations calculated in S203 above is globally sorted, and adjustment amount combinations that meet the preset visibility requirements are selected.
[0088] For example, the preset visibility requirement can be the combination of adjustment amounts that maximizes the visibility range, or it can be the combination of adjustment amounts that maximizes the visibility range. This application does not limit the specific preset visibility requirement.
[0089] For example, when multiple combinations have the same maximum field of view, a secondary optimization rule can be adopted: prioritize the combination with the smallest total seat movement distance (i.e., the sum of front-to-back + up-to-down + angle changes) to reduce mechanical wear and improve adjustment smoothness.
[0090] For example, if both combinations can achieve a visible range of 14.5cm, the option with a movement distance of 3.2cm will be chosen instead of the option with a movement distance of 5.1cm.
[0091] In some possible embodiments, in order to ensure the smoothness and safety of the seat adjustment process and avoid mechanical system shock or sudden changes in user visual perception caused by excessive adjustment in a single movement, after obtaining the adjustment amount combination according to the adjustment range and preset step size, the following can be implemented: For each adjustment amount combination, determine whether the adjustment amount is greater than the preset adjustment range for each adjustment amount in the adjustment amount combination; if the adjustment amount is greater than the preset adjustment range, then the adjustment amount combination is discarded.
[0092] In this embodiment of the application, by setting the maximum allowable change in each dimension for a single adjustment, i.e., the preset adjustment range, adjustment schemes that may cause drastic changes are filtered in advance, ensuring that each seat movement is within the comfortable range of human-computer interaction.
[0093] For example: Pre-set independent adjustment range for each adjustment dimension. The preset adjustment range for the seat moving forward and backward can be limited to 1-3cm / time (for example, to avoid the driver's legs being suddenly restricted from stretching). The preset adjustment range for vertical height adjustment can be controlled to 0.3-0.8cm / time (to prevent dizziness caused by sudden changes in head position). The preset adjustment range for backrest angle can be set to no more than 1° / time (to maintain the continuity of the human body's natural sitting posture).
[0094] For example, if an adjustment combination is calculated as "move forward 6cm, lower 1.2cm, and lean back 3°", this combination is immediately rejected because the 6cm forward / backward movement far exceeds the 3cm threshold, the 1.2cm vertical movement exceeds the 0.8cm threshold, and the 3° lean back also exceeds the 1° threshold. However, another combination, "move forward 2.5cm, lower 0.6cm, and lean back 0.8°", meets all the threshold requirements and is retained.
[0095] The above-mentioned design avoids motor overload and gear impact, reducing wear on transmission components; eliminates the unease caused by sudden seat movement, improving user satisfaction; and prevents the risk of the driver's gaze briefly deviating from the road due to violent shaking. Especially during vehicle operation, this mechanism effectively filters out sudden adjustment commands that could pose safety hazards.
[0096] In some possible embodiments, in order to skip redundant calculations when the current imaging effect already meets the requirements, improve response speed, and reduce mechanical wear, therefore, before determining the seat adjustment amount, the following can be implemented: Figure 9 The process shown is as follows: In S901: Obtain the user's current visual center point.
[0097] In some possible embodiments, considering the need to quickly identify user identity and retrieve their personalized visual center point data in multi-user scenarios, and to avoid performing complex facial recognition and visual center point calculations every time the system starts, the user's visual center point can be obtained as follows: if the user's visual center point coordinates are stored in a pre-stored visual center set, then the user's visual center point coordinates stored in the visual center set are used as the user's current visual center; if the user's visual center point coordinates are not stored in the pre-stored visual center set, then the calibrated visual center coordinates are used as the user's current visual center point.
[0098] In this embodiment, when a user enters the vehicle, the user's identity is first confirmed using biometric technology (such as facial recognition), and a pre-stored set of visual center points is queried. This set of visual center points includes the visual center points corresponding to different users; if the set stores the coordinates of the user's visual center point, the stored coordinates (such as facial recognition) will be directly retrieved. =58.3cm, =2.1cm).
[0099] For new or unregistered users, a preset visual center coordinate system is used. The initial position of the visual center point is pre-calibrated based on the distance between the seat and the sun visor. = , = , The pre-calibrated visual center point and the endpoint of the rotation axis connecting the sun visor to the vehicle. The distance between them The distance between the user's pre-calibrated visual center and the ground in the vehicle.
[0100] For new users, after this implementation Figure 1 After the process shown, a pop-up window can be displayed on the vehicle's screen prompting the user whether to save the current location as the visual center point, so that the visual center point can be obtained the next time the user gets in the vehicle.
[0101] In S902: The current visible range is obtained based on the current visual center point.
[0102] The specific implementation method of this step is the same as described above. Figure 3 The process is the same, so it will not be repeated here.
[0103] In S903: If the current visible range is less than a preset facial threshold, perform the step of determining the seat adjustment amount.
[0104] In this embodiment of the application, the preset facial threshold is a pre-set quantitative standard used to determine whether the user's visible range in the makeup mirror meets the usage requirements.
[0105] Preset facial thresholds can be set based on ergonomics and actual usage scenarios, for example, expressed as a percentage of standard face height.
[0106] For example: Multiply the standard adult face height (approximately 220mm) by a specific ratio (such as 60%) to obtain the preset effective facial height threshold, denoted as . .
[0107] If the current visible area is less than the preset facial threshold, it indicates that the current makeup mirror's imaging effect cannot meet basic usage needs; the user's view of the face is significantly incomplete or key areas are completely invisible. Therefore, the above-mentioned... Figure 1 The procedure shown is used to determine the seat adjustment amount.
[0108] In this embodiment of the application, by setting Figure 9 The process shown incorporates a predictive mechanism, significantly improving its intelligence and operational efficiency. Before adjusting the seat, the process performs a real-time assessment of the existing imaging effect, initiating the adjustment only when the actual visible range is detected to be below a preset facial threshold, effectively avoiding unnecessary adjustments. It intelligently distinguishes between normal user adjustments and scenarios that truly require optimization, preventing visual instability caused by frequent adjustments and making the entire adjustment process smoother and more natural.
[0109] It should be noted that if the current visible range is greater than or equal to the preset facial threshold, it means that the current imaging effect of the makeup mirror can meet the user's needs, and therefore the above steps are unnecessary. Figure 1 The steps for adjusting the seat are shown.
[0110] In other possible embodiments, the adjustment progress can be monitored in real time, and the user can be alerted when physical limits are reached, ensuring transparency and controllability of the operation.
[0111] For example: playing the voice message "The seat has been raised to its highest position" through the in-vehicle voice playback device; or displaying the message "The seat has been raised to its highest position" on the in-vehicle display screen.
[0112] In some possible embodiments, in order to enable quick access to personalized seat configurations in multi-user scenarios and avoid repeated adjustments, the following can be performed before obtaining the user's visual center point: obtaining the user's facial features; and adjusting the seat according to the target seat position if the corresponding target seat position is matched from the pre-stored set of target seat positions based on the facial features.
[0113] In this embodiment, when a user enters the vehicle, their facial features are first captured in real time by an in-vehicle camera. These facial features include, but are not limited to, biometric features such as facial contours, eye spacing, nose bridge height, and cheekbone structure. Then, the facial features are compared with a pre-stored set of target seat positions, which contains complete seat position parameters for each registered user (including fore-aft position, vertical height, and backrest angle). If a match is found, the user's target seat position is retrieved, and the electric seat is directly adjusted to the corresponding position, eliminating the need for subsequent visual center point acquisition and geometric optics calculations.
[0114] For example, when a driver A who is 175cm tall and a driver B who is 185cm tall share the same car, the vehicle can automatically recognize their identities and accurately restore their respective seat preference settings.
[0115] The aforementioned plug-and-play experience significantly enhances convenience, avoiding the tedious manual seat adjustment required every time a driver changes in traditional vehicles. Simultaneously, biometric recognition ensures the security and privacy of seat settings; only successfully matched users can access their exclusive configurations, effectively preventing accidental seat misalignment. Furthermore, this mechanism complements the main process: only when a new user is detected (whose seat target position is not stored in the target position set) will the standard visual center point acquisition and calculation process begin, thus achieving a fully automated intelligent adjustment experience.
[0116] To facilitate the automatic learning and storage of personalized seating configurations for new users, when a new user is detected, [the system] enters... Figure 1 The process shown determines the seat adjustment amount corresponding to the user. After adjusting the seat according to the adjustment amount, the current position of the seat can be recorded and used as the target position of the seat. The target position of the seat is then associated with the facial features of the new user and stored in the target position set of the seat.
[0117] In some possible embodiments, in order to achieve real-time fine-tuning based on the user's head movements after the seat adjustment operation is completed, and to accurately adapt to the observation needs of different makeup areas, therefore, the above-mentioned... Figure 1 The procedure shown can be performed after adjusting the seat, as follows: Figure 10 The process shown: In S1001: Obtain the user's head movement information.
[0118] In this embodiment of the application, a high-precision vehicle camera and facial recognition algorithm can be used to capture and analyze the minute movements of a user's head in real time.
[0119] The above process can employ multi-dimensional feature extraction technology, which not only monitors basic head movements such as up-and-down movement (head up / down) and forward-and-backward displacement (head out / back in), but also precisely quantifies complex posture parameters such as head rotation angle and tilt angle; continuously tracks the three-dimensional spatial coordinate changes of key facial feature points (such as the center of the pupils, the tip of the nose, and the tip of the chin), and calculates the precise motion vector of the head through computer vision algorithms; and uses the determined motion vector as head motion information.
[0120] For example, when drawing eyebrows, users usually tilt their chins up slightly to better observe the eyebrow area; when applying lipstick, they will lean forward to get clearer details of the lips.
[0121] By acquiring users' head movement information, we can accurately distinguish between purposeful makeup application movements and natural head movements during daily driving (such as slight swaying caused by vehicle bumps). Through time series analysis and motion pattern recognition, we can filter out invalid movements and retain only the effective signals that are truly used to adjust the makeup application perspective.
[0122] In S1002: The seat fine-tuning amount is determined based on head movement information.
[0123] In this embodiment, a mapping relationship is established between head movement information and seat fine-tuning amount.
[0124] For example, firstly, based on the head movement information obtained in S901 above, the user's intentional movement pattern is identified: when a slight chin lift is detected (a typical eyebrow-drawing movement), it is determined that the seat needs to be moved back appropriately and the height slightly lowered; then, based on the height of the user's chin lift, the specific adjustment parameters for moving the seat back and lowering it are determined. When a user leans forward to observe the details of their lips (a typical action when applying lipstick), it is determined that the seat needs to be moved forward and the backrest slightly adjusted. If the user tilts their head to the left to observe the blush effect on their left cheek, it indicates that the seat needs to be moved forward and the backrest tilt angle adjusted.
[0125] The determination of these adjustment parameters is not a simple one-to-one mapping, but rather a comprehensive consideration of multiple variables such as the current sun visor angle, the basic position of the seat, and the user's facial features, and is dynamically calculated through a preset weighting algorithm.
[0126] For example, when it comes to the delicate task of drawing eyebrows, we prioritize ensuring that the vertical distance between the eyes and the makeup mirror is within 15-20cm, while maintaining a 45-degree angle between the horizontal line of the face and the mirror surface, so as to obtain the best imaging effect of the eyebrow area.
[0127] At the same time, in order to avoid visual discomfort or operational risks caused by excessive adjustment, an upper limit can be set for the adjustment range (for example, each movement should not exceed 2cm or each backrest angle adjustment should not exceed 2°), to ensure that each adjustment is a gradual and safe fine-tuning.
[0128] In S1003: Adjust the seat according to the seat fine-tuning amount.
[0129] In this embodiment, the specific implementation of this step is the same as that of S102 described above, and will not be repeated here.
[0130] In some possible embodiments, to ensure that the operating distance between the driver's hands and the steering wheel meets ergonomic requirements after seat adjustment, and to maintain driving safety and comfort, therefore, when performing the above... Figure 1 After adjusting the seat as shown in the procedure, the following steps can be taken: with the adjusted seat as the driver's seat, determine the steering wheel adjustment amount based on the seat adjustment amount; and adjust the steering wheel based on the steering wheel adjustment amount.
[0131] In this embodiment, after the driver's seat position is adjusted, the steering wheel linkage adjustment mechanism is triggered to ensure that the driver is always in the most comfortable and safest operating posture.
[0132] Specifically, a geometric relationship model is first established based on the seat adjustment amount (such as front-to-back displacement Δx and height change Δz). The input of these relationship models is the seat adjustment amount, and the output is the front-to-back distance and vertical height that the steering wheel should be adjusted.
[0133] For example, when the seat moves backward by 5cm, the seat movement distance is input into several pre-trained relational models, and the output of the geometric relational model is that the steering wheel needs to be moved forward by 2cm.
[0134] The aforementioned linkage mechanism is not a simple one-to-one mapping, but rather takes into account multiple constraints such as the mechanical structure limitations of the steering column (e.g., the maximum adjustment range of ±4cm front and rear, ±3cm up and down), the airbag deployment space (ensuring that the steering wheel does not obstruct the airbag area), and the driver's line of sight height (keeping the instrument panel visibility angle between 25-35 degrees).
[0135] The aforementioned steering wheel and seat linkage mechanism effectively solves the cumbersome operation of manually readjusting the steering wheel after adjusting the seat in traditional models. It allows the driver to maintain a natural and comfortable driving posture in any seat position, significantly reducing fatigue during long-distance driving, and avoiding safety hazards such as obstruction of emergency braking due to improper steering wheel position.
[0136] In some other possible embodiments, in order to avoid the adjusted seat continuously affecting the driver's operating posture and causing safety hazards such as limited leg extension when pressing the brake / accelerator pedal, abnormal steering wheel grip angle, or deviation of the line of sight from the road, after detecting that the sun visor is closed, the following can be implemented: the seat is adjusted to the original position; the original position is the position of the seat before it was adjusted according to the seat adjustment amount.
[0137] In this embodiment, when the user finishes applying makeup and closes the sun visor, the seat reset mechanism is triggered, precisely restoring the seat to the safe driving position before makeup application.
[0138] The above process incorporates multiple safeguards: First, the sun visor angle sensor monitors the opening and closing status in real time. When the detected sun visor angle is less than a preset threshold (e.g., 10°) and remains so for a certain duration (e.g., 2 seconds), it is determined that the sun visor is closed. Second, before each seat adjustment, the current three-dimensional coordinates of the seat (forward / backward displacement, height, backrest angle) and steering wheel parameters are completely stored in non-volatile memory to preserve the original positions of the seat and steering wheel. When the sun visor is detected as closed, the seat motor is controlled to gradually return to the original position along the reverse path.
[0139] For example, if the seat is moved forward by 3cm according to the seat adjustment amount, it will move backward slowly and uniformly at a speed of 0.5cm / s when resetting, while monitoring the motor current to prevent jamming; for backrest angle adjustment, a gradual retraction strategy can be adopted to avoid neck discomfort caused by sudden changes in posture.
[0140] The above design resolves the conflict between applying makeup and driving: When applying makeup, to achieve the best facial imaging effect, the seat may move forward, causing excessive leg bending and affecting emergency braking reaction time; or lowering the seat height may lower the driver's line of sight below the bottom edge of the windshield, creating blind spots. The automatic reset mechanism ensures the vehicle is always in optimal driving condition, significantly increasing user trust and willingness to use the intelligent cockpit system.
[0141] To facilitate further understanding, a preferred embodiment of a vehicle control method provided in this application will be described below: For example: The background of the application is that a certain new energy vehicle is equipped with a vehicle control method provided in this application, and driver A (165cm tall) uses the function for the first time.
[0142] 1. Sun visor opening detection and user identification Driver A opens the car door and gets in. Driver A's facial features are captured and compared with a pre-stored set of visual centers. It is determined that the pre-stored set does not contain a visual center point corresponding to Driver A. The calibrated visual center coordinates are then used as the driver's visual center point. = , = 120 centimeters.
[0143] Initial seat position: front and back 0cm, up and down 0cm, backrest 0° (with the center position as the reference point).
[0144] Driver A opens the sun visor to 52° (exceeding the preset angle threshold of 45°), and the vehicle detects that the opening angle of the sun visor meets the usage conditions.
[0145] 2. Determine if the seat needs adjustment. According to the above Figure 9 The process shown yields the current visible area. cm, the preset face threshold is 13.2cm, it is determined that the seat needs to be adjusted; 3. Determine the seat adjustment range Through the above Figure 2 The process shown yields the following ranges for seat forward and backward movement: [-5cm, 20cm], vertical height adjustment: [-5cm, 8cm], and backrest angle: [0°, 30°]; with forward and backward steps of 0.5cm, vertical steps of 0.2cm, and angle steps of 0.5°. Preset adjustment range limits: forward / backward ≤3cm / time, vertical ≤0.8cm / time, angle ≤1° / time; Multiple adjustment combinations were obtained, and the adjustment combination that maximizes the visible range was determined as follows. , , .
[0146] 4. Seat adjustment Based on the seat adjustment combination, move the seat forward 1cm, down 1cm, and back 1°.
[0147] 5. Steering wheel linkage Based on the seat adjustment combination, the steering wheel needs to be moved forward by 1.2cm and raised by 0.5cm. The steering wheel motor will then perform the adjustment to ensure the driver's hand operation comfort.
[0148] 6. Fine-tune according to head movements Driver A begins drawing eyebrows, slightly raising his chin by 5°. The head movement is captured and determined to be a need for eyebrow drawing. The calculation shows that the seat needs to be moved forward by 0.6cm and lowered by 0.3cm, and a fine-tuning operation is performed.
[0149] 7. Reset the seat Driver A finishes applying makeup, closes the sun visor to below 10°, and monitors that the sun visor angle is less than 10° for more than 2 seconds; the seat returns to its original position in the reverse direction, and the steering wheel moves back simultaneously.
[0150] Corresponding to the above embodiments, this application also provides a controller. Figure 11 This is a schematic diagram of a controller provided in an embodiment of the present invention. The edge computing device 1100 may include a processor 1101, a memory 1102, and a communication unit 1103. These components communicate through one or more buses. Those skilled in the art will understand that the structure of the edge computing device shown in the figure does not constitute a limitation on the embodiment of the present invention. It may be a bus topology or a star topology, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0151] The communication unit 1103 is used to establish a communication channel, enabling the edge computing device to communicate with other devices. It receives user data from other devices or sends user data to other devices.
[0152] Processor 1101 serves as the control center of the edge computing device, connecting various parts of the device via interfaces and lines. It executes software programs and / or modules stored in memory 1102 and accesses data stored in memory to perform various functions and / or process data. The processor can be composed of integrated circuits (ICs), such as a single packaged IC or multiple packaged ICs with the same or different functions connected together. For example, processor 1101 may consist only of a central processing unit (CPU). In this embodiment, the CPU may have a single processing core or include multiple processing cores.
[0153] Memory 1102 is used to store the execution instructions of processor 1101. Memory 1102 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk or optical disk.
[0154] When the execution instructions in memory 1102 are executed by processor 1101, the edge computing device 1100 is able to execute. Figure 1 Some or all of the steps in the illustrated embodiments.
[0155] In a specific implementation, the present invention also provides a computer storage medium, wherein the computer storage medium may store a program, which, when executed, may include some or all of the steps of the various embodiments of the vehicle control method provided by the present invention. The storage medium may be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.
[0156] Those skilled in the art will clearly understand that the techniques in the embodiments of the present invention can be implemented using software plus necessary general-purpose hardware platforms. Based on this understanding, the technical solutions in the embodiments of the present invention, or the parts that contribute to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods of various embodiments or certain parts of the embodiments of the present invention.
[0157] The same or similar parts between the various embodiments in this specification can be referred to mutually. In particular, the device embodiments and terminal embodiments are basically similar to the method embodiments, so the description is relatively simple, and the relevant parts can be referred to the description in the method embodiments.
Claims
1. A vehicle control method, characterized in that, Applied to vehicles, the method includes: The seat adjustment amount is determined when the opening angle of the sun visor meets the usage conditions; wherein, a vanity mirror is provided in the sun visor; The seat is adjusted based on the stated adjustment amount.
2. The method according to claim 1, characterized in that, Determining the seat adjustment amount includes: Obtain the adjustment combination corresponding to the seat; the adjustment combination consists of the seat's fore-and-aft movement distance, the seat's up-and-down movement distance, and the seat backrest tilt angle. Determine the visible range corresponding to each of the aforementioned adjustment combinations; the visible range is the area in the makeup mirror where the user's face is visible to the user. The adjustment amount is the combination of adjustment amounts that meet the preset visibility requirements.
3. The method according to claim 2, characterized in that, After obtaining the adjustment combination corresponding to the seat, the method further includes: For each combination of adjustment amounts, determine whether each adjustment amount in the combination of adjustment amounts is greater than a preset adjustment range; If any adjustment amount is greater than the preset adjustment range, then the adjustment amount combination corresponding to that adjustment amount is discarded.
4. The method according to claim 2, characterized in that, Determining the visible range corresponding to each of the adjustment combinations includes: For each of the aforementioned adjustment combinations, an estimated visual center point is obtained based on the adjustment combination; the estimated visual center point is the user's visual center point when the user is sitting in the seat adjusted based on the adjustment combination. Based on the positional relationship between the makeup mirror and the estimated visual center point, the mirror image position of the estimated visual center point in the makeup mirror is determined. The visible range of the face in the makeup mirror is obtained based on the mirror position, the size characteristics of the makeup mirror, and the size characteristics of the user's face.
5. The method according to claim 1, characterized in that, Before determining the seat adjustment amount, the method further includes: Obtain the user's current visual center point; The current visible range is obtained based on the current visual center point; the visible range is the range in which the user's face is seen by the user in the makeup mirror. The determination of the seat adjustment amount is performed when the current visible range is less than a preset threshold.
6. The method according to claim 5, characterized in that, The step of obtaining the user's current visual center point includes: If the location of the user's visual center point is stored in advance, then the location of the user's visual center point stored in advance will be used as the user's current visual center point; If the user's visual center point position is not pre-stored, the preset visual center point position will be used as the user's current visual center point.
7. The method according to any one of claims 1-6, characterized in that, The method further includes: If the user's target seat position is stored in advance, the seat is adjusted according to the target seat position.
8. The method according to any one of claims 1-6, characterized in that, After adjusting the seat, the method further includes: Obtain the user's head movement information; The amount of seat adjustment is determined based on the head movement information; The seat is adjusted based on the fine-tuning amount.
9. The method according to any one of claims 1-6, characterized in that, After adjusting the seat, the method further includes: With the adjusted seat as the driver's seat, the steering wheel adjustment amount is determined based on the seat adjustment amount; Adjust the steering wheel according to the stated steering wheel adjustment amount.
10. A vehicle, characterized in that, The vehicle includes: a sun visor, a vanity mirror, and a seat; wherein the vanity mirror is disposed in the sun visor; When the opening angle of the sun visor meets the usage conditions, the vehicle determines the seat adjustment amount according to the method described in any one of 1-9 above; The seat is adjusted according to the stated adjustment amount.
11. A controller, characterized in that, It includes a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the controller is triggered to execute the method of any one of claims 1-9.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device on which the computer-readable storage medium is located to perform the method according to any one of claims 1-9.
