Vehicle rearview mirror resetting method and device and vehicle
By detecting the position changes of the rearview mirror and the motor drive status, the rearview mirror is automatically reset, which solves the safety hazards and user operation burden caused by the rearview mirror position deviation and improves driving safety.
Patent Information
- Application Number
- CN202410875279.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2044-07-01
AI Technical Summary
In the prior art, the position deviation of the vehicle rearview mirror causes safety hazards and user operation burdens, especially when the rearview mirror position deviation caused by collision during parking or human error is not adjusted in time.
By detecting whether the rearview mirror has any position changes and motor drive status within the target time period, automatic reset processing is performed to ensure that the rearview mirror returns to the correct position when the vehicle is powered on.
It reduces the user's operating burden and improves driving safety. By automatically detecting and adjusting the rearview mirror position, it reduces safety hazards caused by position offset.
Smart Images

Figure CN118744680B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of vehicles, in particular to a vehicle rearview mirror resetting method and device, a vehicle, a computer readable storage medium and a computer program product. BACKGROUND
[0002] With the continuous progress of vehicle technology, various functions of vehicles are becoming increasingly intelligent and automated. As an indispensable part of vehicles, rearview mirrors have an important influence on driving safety. However, in actual use, the position of the rearview mirror may be offset due to various reasons (such as collision when parking, human error, etc.), which not only affects the driver's field of view and increases the difficulty of driving, but also may cause safety hazards.
[0003] In the scheme provided by the related art, the user (such as the driver) of the vehicle usually manually adjusts the rearview mirror. However, this increases the user's operation burden, and it is easy for the user to fail to adjust the rearview mirror because the user does not find that the position of the rearview mirror is offset, which poses a great safety hazard. SUMMARY
[0004] The present application provides a vehicle rearview mirror resetting method, device, vehicle, computer readable storage medium and computer program product, which can realize automatic resetting of the vehicle rearview mirror and improve driving safety.
[0005] The technical scheme of the present application is implemented as follows:
[0006] The present application provides a vehicle rearview mirror resetting method, comprising:
[0007] When the vehicle is powered on, detecting whether the position of the rearview mirror of the vehicle changes within a target time period; wherein the target time period is a time period between the last power-off and the current power-on of the vehicle;
[0008] When the position of the rearview mirror changes within the target time period, detecting whether the motor of the rearview mirror is driven within the target time period;
[0009] When the motor of the rearview mirror is not driven within the target time period, resetting the rearview mirror.
[0010] The present application provides a vehicle rearview mirror resetting device, comprising:
[0011] A position detection module is configured to detect whether the position of the rearview mirror of the vehicle changes within a target time period when the vehicle is powered on; wherein the target time period is a time period between the last power-off and the current power-on of the vehicle;
[0012] a driving detection module, configured to detect whether a motor of the rearview mirror is driven within the target time period when the position of the rearview mirror changes within the target time period;
[0013] A reset module is used to reset the rearview mirror when the motor of the rearview mirror is not driven within the target time period.
[0014] The present application provides a vehicle, comprising:
[0015] a memory for storing executable instructions;
[0016] The processor is configured to implement the vehicle rearview mirror resetting method provided in the present application when executing the executable instructions stored in the memory.
[0017] The present application provides a computer-readable storage medium storing executable instructions for causing a processor to execute instructions to implement the vehicle rearview mirror reset method provided in the present application.
[0018] The present application provides a computer program product, which includes executable instructions for causing a processor to execute instructions to implement the vehicle rearview mirror reset method provided in the present application.
[0019] This application has the following beneficial effects:
[0020] When the vehicle is powered on, the present application detects whether the position of the vehicle's rearview mirror changes within a target time period; wherein the target time period is the period from the last time the vehicle was powered off to the current time it is powered on; when the rearview mirror changes position within the target time period, the present application detects whether the rearview mirror's motor is driven within the target time period; and when the rearview mirror's motor is not driven within the target time period, the rearview mirror is reset. The present application further detects whether the rearview mirror's motor is driven when the rearview mirror changes position. If the rearview mirror's motor is not driven, it indicates that the position change was caused by human intervention or external force, and only then is the rearview mirror reset performed. This reduces the necessity of the reset process, reduces the operational burden on vehicle users, and improves driving safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0022] Figure 1 This is a schematic diagram of the architecture of a vehicle provided in an embodiment of the present application;
[0023] Figure 2 is a structural schematic diagram of a vehicle provided by an embodiment of the present application;
[0024] Figure 3A is a first flowchart of a vehicle rearview mirror resetting method provided by an embodiment of the present application;
[0025] Figure 3B is a second flowchart of a vehicle rearview mirror resetting method provided by an embodiment of the present application;
[0026] Figure 3C is a third flowchart of a vehicle rearview mirror resetting method provided by an embodiment of the present application;
[0027] Figure 4 is a fourth flowchart of a vehicle rearview mirror resetting method provided by an embodiment of the present application. DETAILED DESCRIPTION
[0028] In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be further described in detail below with reference to the accompanying drawings, and the described embodiments should not be regarded as limiting the present application, and all other embodiments obtained by those skilled in the art without creative labor fall within the scope of protection of the present application.
[0029] In the following description, "some embodiments" are described, which describe a subset of all possible embodiments, but it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and can be combined with each other without conflict. In the following description, the term "a plurality of" refers to at least two.
[0030] In the following description, the terms "first", "second", "third" are only to distinguish similar objects, and do not represent a specific order of the objects. It can be understood that "first", "second", "third" can be interchanged in a specific order or sequence as allowed, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0031] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the present application belongs. The terms used herein are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application.
[0032] The embodiments of the present application provide a vehicle rearview mirror resetting method, device, vehicle, computer readable storage medium and computer program product, which can realize automatic resetting of the vehicle rearview mirror and improve driving safety.
[0033] Referring to Figure 1 , Figure 1 The diagram below is a schematic diagram of the architecture of a vehicle 100 provided in an embodiment of the present application. The vehicle 100 includes a rearview mirror controller 200 and a domain controller 300. The rearview mirror controller 200 and the domain controller 300 can be wired together via a wiring harness. The rearview mirror controller 200 is an actuator, and the domain controller 300 is a higher-level component of the rearview mirror controller 200, responsible for related logical judgments and command issuance. It is worth noting that a vehicle typically has two rearview mirrors, which can be managed collectively by a single rearview mirror controller or separately by two rearview mirror controllers, without limitation.
[0034] In some embodiments, when the vehicle 100 is powered on, the rearview mirror controller 200 detects whether the position of the rearview mirror of the vehicle 100 changes within a target time period; when the position of the rearview mirror changes within the target time period, the rearview mirror controller 200 detects whether the motor of the rearview mirror is driven within the target time period; when the motor of the rearview mirror is not driven within the target time period, the rearview mirror controller 200 sends information that the position of the rearview mirror changes within the target time period and that the motor of the rearview mirror is not driven within the target time period to the domain controller 300; the domain controller 300 performs logical judgment based on the information that the position of the rearview mirror changes within the target time period and that the motor of the rearview mirror is not driven within the target time period, and the result of the logical judgment is that the rearview mirror should be reset, so the domain controller 300 sends a reset instruction to the rearview mirror controller 200, so that the rearview mirror controller 200 resets the rearview mirror upon receiving the reset instruction.
[0035] In some embodiments, the vehicle 100 can implement the vehicle rearview mirror reset method provided in the embodiments of the present application by running a computer program. For example, the computer program can be a native program or software module in the operating system; it can be a native application (APP), that is, a program that needs to be installed in the operating system to run; it can also be a mini-program, that is, a program that can be run by simply downloading it into a browser environment; it can also be a mini-program that can be embedded in any APP and can be controlled by the user to run or close. In short, the above-mentioned computer program can be any form of application, module, or plug-in.
[0036] See also Figure 2 , Figure 2 is a schematic structural diagram of a vehicle 100 provided in an embodiment of the present application, Figure 2The illustrated vehicle 100 includes at least one processor 110, memory 150, at least one network interface 120, and a user interface 130. The various components in the vehicle 100 are coupled together by a bus system 140, which is used to facilitate communications in accordance with various embodiments. It is to be appreciated that the bus system 140 is used in Figure 2 various ways that are known to those skilled in the art, for example, via a system bus, a message bus, a Peripheral Component Interconnect (PCI) bus, etc., and can be implemented via any suitable type of bus or bus system.
[0037] The processor 110 can be an integrated circuit chip having signal processing capabilities, such as a general purpose processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic, discrete hardware components, etc. The general purpose processor can be a microprocessor, or any conventional processor, etc.
[0038] The user interface 130 includes one or more output devices 131 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 130 also includes one or more input devices 132 that facilitate user input, such as microphones, touch screens, cameras, other input buttons and controls, etc.
[0039] The memory 150 can be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard drives, optical drives, etc. The memory 150 optionally includes one or more storage devices remotely located from the processor 110 in a physical location.
[0040] The memory 150 includes volatile memory or non-volatile memory, or both. Non-volatile memory can be read only memory (ROM), volatile memory can be random access memory (RAM). The memory 150 described herein is intended to include any suitable type of memory.
[0041] In some embodiments, the memory 150 is capable of storing data to support various operations, examples of which include programs, modules, and data structures or subsets or superset thereof, which are described below.
[0042] The operating system 151 includes systems programs for handling various basic system services and for performing hardware dependent tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services as well as handling hardware dependent tasks;
[0043] The network communication module 152 is configured to communicate with other electronic devices via one or more network interfaces 120 (wired or wireless), such as Bluetooth, WiFi, Universal Serial Bus (USB), and the like.
[0044] The presentation module 153 is configured to enable presentation of information via one or more output devices 131 (e.g., display screen, speaker, and the like) associated with the user interface 130 (e.g., user interface for operating the peripheral device and displaying content and information).
[0045] The input processing module 154 is configured to detect and interpret one or more user inputs or interactions from one or more input devices 132.
[0046] In some embodiments, the vehicle rearview mirror resetting device provided by the embodiments of the present application can be implemented in a software manner, Figure 2 The vehicle rearview mirror resetting device 155 stored in the memory 150 is shown, which can be software in the form of programs and plug-ins, including the following software modules: a position detection module 1551, a driving detection module 1552, and a resetting module 1553. These modules are logical, and thus can be combined or further split according to the functions implemented. The functions of each module will be described below.
[0047] Referring to Figure 3A , Figure 3A is a flowchart of a vehicle rearview mirror resetting method provided by the embodiments of the present application, which will be described in combination with Figure 3A the steps shown.
[0048] In step 101, when the vehicle is powered on, it is detected whether the position of the rearview mirror of the vehicle changes within a target time period; wherein the target time period is the time period between the last power-off of the vehicle and the current power-on of the vehicle.
[0049] When the vehicle is powered on, it is detected whether the position of the rearview mirror of the vehicle changes from the last power-off of the vehicle to the current power-on of the vehicle. For ease of understanding, the time period between the last power-off of the vehicle and the current power-on of the vehicle is referred to as the target time period.
[0050] It is worth noting that the rearview mirror referred to in the embodiments of the present application refers to an electric rearview mirror, which can be adjusted in position by a motor-driven manner.
[0051] It is worth noting that the vehicle usually has two rearview mirrors, both of which are applicable to the vehicle rearview mirror resetting method provided by the embodiments of the present application. For ease of understanding, one rearview mirror is taken as an example for description in the embodiments of the present application.
[0052] In some embodiments, the position change may refer to a horizontal position change and / or a vertical position change.
[0053] In some embodiments, different positions of the rearview mirror correspond to different voltage values; the above-mentioned detection of whether the position of the rearview mirror of the vehicle changes within the target time period can be achieved in the following manner: detecting whether the voltage value of the rearview mirror changes within the target time period; when the voltage value of the rearview mirror changes within the target time period, determining that the position of the rearview mirror changes within the target time period; when the voltage value of the rearview mirror does not change within the target time period, determining that the position of the rearview mirror does not change within the target time period.
[0054] Here, the rearview mirror can be adjusted in position by a motor. Different mirror positions correspond to different motor voltage values. Based on this, it is possible to detect whether the voltage value of the rearview mirror changes within a target time period. If the voltage value of the rearview mirror changes within the target time period, it is determined that the rearview mirror position has changed within the target time period. If the voltage value of the rearview mirror does not change within the target time period, it is determined that the rearview mirror position has not changed within the target time period. The voltage values of the rearview mirror at different times can be stored in a specific memory location for easy access when needed.
[0055] In the above method, since there is a corresponding relationship between the voltage value and the position of the rearview mirror, detecting whether the position changes can be replaced by detecting whether the voltage value changes, thereby achieving accurate and effective detection.
[0056] In some embodiments, different horizontal positions of the rearview mirror correspond to different horizontal voltage values, and different vertical positions of the rearview mirror correspond to different vertical voltage values; the above-mentioned detection of whether the position of the rearview mirror of the vehicle changes within the target time period can be achieved in the following way: detecting whether the horizontal voltage value and the vertical voltage value of the rearview mirror change within the target time period; when the horizontal voltage value and / or the vertical voltage value of the rearview mirror change within the target time period, determining that the position of the rearview mirror changes within the target time period; when the horizontal voltage value and the vertical voltage value of the rearview mirror do not change within the target time period, determining that the position of the rearview mirror does not change within the target time period.
[0057] Here, the rearview mirror is adjusted in position by two motor-driven manners, which can be respectively referred to as a horizontal motor and a vertical motor, wherein the horizontal motor is responsible for adjusting the horizontal position of the rearview mirror, and different horizontal positions of the rearview mirror correspond to different voltage values (referred to as horizontal voltage values for the sake of distinction) of the horizontal motor; the vertical motor is responsible for adjusting the vertical position of the rearview mirror, and different vertical positions of the rearview mirror correspond to different voltage values (referred to as vertical voltage values for the sake of distinction) of the vertical motor. Based on this, whether the horizontal voltage value and the vertical voltage value of the rearview mirror change in the target time period can be detected; when the horizontal voltage value and / or the vertical voltage value of the rearview mirror changes in the target time period, it is determined that the position of the rearview mirror changes (i.e., the horizontal position changes and / or the vertical position changes) in the target time period; when the horizontal voltage value and the vertical voltage value of the rearview mirror do not change in the target time period, it is determined that the position of the rearview mirror does not change (i.e., neither the horizontal position nor the vertical position changes) in the target time period.
[0058] The above manner can further improve the fineness and accuracy of the detection process when the rearview mirror is driven by two motors to detect whether the horizontal voltage value and the vertical voltage value change.
[0059] In step 102, when the position of the rearview mirror changes in the target time period, whether the motor of the rearview mirror is driven in the target time period is detected.
[0060] When the position of the rearview mirror changes in the target time period, it is considered that the user of the vehicle may have actively adjusted the position of the rearview mirror, and therefore the rearview mirror is not directly reset but further detection is performed on whether the motor of the rearview mirror is driven in the target time period.
[0061] In some embodiments, the above detection on whether the motor of the rearview mirror is driven in the target time period can be achieved in the following manner: whether a motor driving record generated in the target time period exists is detected; when the motor driving record exists, it is determined that the motor of the rearview mirror is driven in the target time period; and when the motor driving record does not exist, it is determined that the motor of the rearview mirror is not driven in the target time period.
[0062] Here, when the motor of the rearview mirror is driven, the motor driving record is stored in a specific storage location. Based on this, whether the motor driving record generated in the target time period exists can be detected; when the motor driving record exists, it is determined that the motor of the rearview mirror is driven in the target time period; and when the motor driving record does not exist, it is determined that the motor of the rearview mirror is not driven in the target time period. In this way, whether the motor of the rearview mirror is driven in the target time period can be accurately and effectively detected.
[0063] In some embodiments, after detecting whether the position of the vehicle's rearview mirror changes within the target time period, the vehicle rearview mirror reset method further includes: when the rearview mirror does not change within the target time period, maintaining the current position of the rearview mirror unchanged.
[0064] When the rearview mirror does not change position within the target time period, it proves that the rearview mirror has not been moved by human or external force within the target time period, and the current position of the rearview mirror is consistent with the usage habits of the vehicle user, so the current position of the rearview mirror remains unchanged.
[0065] In step 103 , when the motor of the rearview mirror is not driven within the target time period, the rearview mirror is reset.
[0066] When the motor of the rearview mirror is not driven within the target time period, it proves that the rearview mirror has been moved manually or by external force within the target time period. At this time, the current position of the rearview mirror may not be in line with the usage habits of the vehicle user and there is a safety hazard. Therefore, the rearview mirror is reset.
[0067] In some embodiments, after detecting whether the motor of the rearview mirror is driven within the target time period, the vehicle rearview mirror reset method further includes: when the motor of the rearview mirror is driven within the target time period, maintaining the current position of the rearview mirror unchanged.
[0068] When the motor of the rearview mirror is driven within the target time period, it proves that the position change of the rearview mirror within the target time period is actively triggered by the vehicle user. Therefore, the current position of the rearview mirror is kept unchanged, which meets the intention of the vehicle user.
[0069] like Figure 3A As shown, when the vehicle is powered on, the embodiment of the present application detects whether the position of the vehicle's rearview mirror changes within a target time period; wherein the target time period is the period from the last time the vehicle was powered off to the current time it is powered on; when the rearview mirror changes position within the target time period, it detects whether the rearview mirror's motor is driven within the target time period; when the rearview mirror's motor is not driven within the target time period, the rearview mirror is reset. The present application further detects whether the rearview mirror's motor is driven when the rearview mirror changes position. If the rearview mirror's motor is not driven, it proves that the position change was caused by human intervention or external force, and only then is the rearview mirror reset. This improves the necessity of the reset process, reduces the operational burden on vehicle users, and improves driving safety.
[0070] In some embodiments, see Figure 3B , Figure 3B This is a flow chart of a vehicle rearview mirror reset method provided by an embodiment of the present application. Figure 3AThe illustrated step 103 may be updated to step 201 , in which, when the motor of the rearview mirror is not driven within the target time period, the rearview mirror is adjusted from the current position to the reset position.
[0071] Here, the rearview mirror is adjusted from the current position to the reset position, wherein the reset position can be a default position (i.e., a position preset in advance) or the position of the rearview mirror when the vehicle was last powered off, and there is no limitation on this.
[0072] It is worth noting that the process of adjusting the rearview mirror from the current position to the reset position is achieved by driving the motor of the rearview mirror.
[0073] exist Figure 3B In step 201, after step 202, it is also possible to detect whether the rearview mirror is located at the reset position.
[0074] Here, it is possible to detect whether the rearview mirror is in the reset position. When the rearview mirror is in the reset position, it is proved that the reset is successful; when the rearview mirror is not in the reset position, it is proved that the reset fails, and the process proceeds to step 203. Similarly, it is possible to determine whether the rearview mirror is in the reset position by the voltage value of the rearview mirror motor.
[0075] In step 203 , when the rearview mirror is not located at the reset position, a position adjustment prompt is output.
[0076] If the rearview mirror is not in the reset position, it indicates a reset failure, and a position adjustment prompt is output to remind the vehicle user to adjust the rearview mirror position. The content and output method of the position adjustment prompt are not limited. For example, the content may be "Rearview mirror position abnormal, please adjust manually", and the output method may be displayed on the vehicle display screen, the instrument panel, or a voice broadcast.
[0077] In some embodiments, after outputting the position adjustment prompt, the vehicle rearview mirror reset method further includes: when it is detected that a physical button corresponding to the rearview mirror is triggered, adjusting the position of the rearview mirror according to the moving direction corresponding to the physical button.
[0078] Here, the vehicle user can manually bend the rearview mirror to adjust the position of the rearview mirror, or can trigger (such as pressing) the physical button corresponding to the rearview mirror in the vehicle to adjust the position of the rearview mirror. For the latter method, when it is detected that the physical button corresponding to the rearview mirror is triggered, the position of the rearview mirror is adjusted according to the movement direction corresponding to the physical button. For example, there are four physical buttons corresponding to the rearview mirror, which correspond to the four movement directions of up, down, left, and right. When the physical button corresponding to the upward movement direction is detected to be triggered, the rearview mirror is controlled to move upward from the current position, and so on. Through the above method, when the automatic position adjustment fails, a method for the vehicle user to manually adjust the position is provided, which can improve the robustness and success rate of the overall solution.
[0079] In some embodiments, the range of rearview mirror position adjustment based on the movement direction of the physical button can be limited to within the operating range. The operating range refers to the position range of the rearview mirror in which it normally operates and can be pre-set. This prevents vehicle users from adjusting the rearview mirror to an inappropriate position.
[0080] like Figure 3B As shown, the embodiment of the present application first automatically resets the position of the rearview mirror, and outputs a position adjustment prompt when the automatic reset fails to notify the vehicle user to perform a manual reset, thereby ensuring that the rearview mirror is successfully reset as much as possible.
[0081] In some embodiments, see Figure 3C , Figure 3C This is a flow chart of a vehicle rearview mirror reset method provided by an embodiment of the present application. Figure 3A The illustrated step 103 may be updated to step 301 . In step 301 , when the motor of the rearview mirror is not driven within the target time period and the driving conditions of the vehicle are met, the rearview mirror is reset.
[0082] Here, when the rearview mirror motor is not driven within a target time period, a determination is made as to whether the vehicle's driving conditions are met. The driving conditions reflect the vehicle user's driving intent and can be pre-set. If the vehicle's driving conditions are not met, it indicates that the vehicle user has no driving intent at that time. If the rearview mirror is reset, it may be subsequently moved manually or by external force, causing the position to change again, requiring another reset, which wastes resources. Therefore, the current position of the rearview mirror is maintained. If the vehicle's driving conditions are met, it indicates that the vehicle user has a driving intent, and the rearview mirror is reset to prevent an improperly positioned rearview mirror from adversely affecting driving safety.
[0083] In some embodiments, the driving conditions include: the vehicle's front door being opened; the vehicle's brake pedal being activated. Specifically, when any of these driving conditions are met, the rearview mirror is reset. Of course, more diverse driving conditions can be set based on the needs of actual application scenarios.
[0084] In some embodiments, the driving conditions include multiple conditions; the above-mentioned resetting of the rearview mirror when the vehicle driving conditions are met can be achieved in the following way: when the first driving condition is met, the rearview mirror is reset; wherein the first driving condition represents any one of the multiple driving conditions; the vehicle rearview mirror resetting method also includes: when the rearview mirror reset fails and the second driving condition is met, the rearview mirror is reset again; wherein the second driving condition is different from the first driving condition.
[0085] Here, in the case where there are multiple driving conditions, the reset process may be repeated considering that there may be a certain probability of failure in the reset process.
[0086] For example, if the driving conditions include the vehicle's front door being opened and the vehicle's brake pedal being activated, the rearview mirror is reset for the first time when the vehicle's front door is opened. After the first reset, if the rearview mirror reset fails (for example, if the rearview mirror is not detected in the reset position) and the vehicle's brake pedal is activated, the rearview mirror is reset again.
[0087] It is worth noting that the repeated reset process stops in two situations: the first is a successful reset (e.g., the rearview mirror is detected to be in the reset position), and the second is when no unmet driving conditions exist. In the second situation, if the rearview mirror still fails to reset, a position adjustment prompt can be output to remind the vehicle user to manually reset it.
[0088] like Figure 3C As shown, in the embodiment of the present application, when the motor of the rearview mirror is not driven within the target time period and the driving conditions of the vehicle are met, the rearview mirror is reset. This can increase the necessity of the reset process and avoid waste of resources.
[0089] Below, we will explain the exemplary application of the embodiment of the present application in a practical application scenario. As an example, the embodiment of the present application provides the following Figure 4 The flowchart of the vehicle rearview mirror reset method shown in FIG. Figure 4 , explained in step-by-step form.
[0090] Step S1: When the vehicle is powered on, the rearview mirror controller of the vehicle detects whether the rearview mirror has a position change and whether driving occurs within a target time period. The target time period is the time period between the last power-off and the current power-on of the vehicle.
[0091] Step S2: When the rearview mirror has a position change and no driving occurs within the target time period, it is considered that the rearview mirror is changed in position by human or external force (illegal adjustment), triggering the automatic reset logic to enter step S3; when the rearview mirror has a position change and driving occurs within the target time period, it is considered that the rearview mirror is actively adjusted by the vehicle user (legal adjustment), and the process ends; when the rearview mirror has no position change within the target time period, it is considered that there is no need to reset, and the process ends.
[0092] Step S3: When the door module controller (corresponding to the domain controller above) detects that the driver door of the vehicle is opened, it notifies the rearview mirror controller to reset the rearview mirror, and then the rearview mirror controller detects whether the rearview mirror is located at the reset position and sends the detection result to the door module controller. When the rearview mirror is located at the reset position, the process ends; when the rearview mirror is not located at the reset position, step S4 is entered.
[0093] Step S4: When the door module controller detects that the brake pedal of the vehicle is triggered (pressed), it again notifies the rearview mirror controller to reset the rearview mirror, and then the rearview mirror controller detects whether the rearview mirror is located at the reset position and sends the detection result to the door module controller. When the rearview mirror is located at the reset position, the process ends; when the rearview mirror is not located at the reset position, step S5 is entered.
[0094] Step S5: A position adjustment prompt of "Rearview mirror position is abnormal, please manually adjust" is displayed on the instrument end of the vehicle to remind the vehicle user to adjust the position of the rearview mirror through the physical button corresponding to the rearview mirror. During manual adjustment (i.e., manual reset), only adjustment within the working range of the rearview mirror is allowed, so as to avoid adjusting the rearview mirror to an inappropriate position by the vehicle user. For example, the numerical range of the horizontal voltage value of the rearview mirror is 0-5V, and the normal range is 2-2.5V; the numerical range of the vertical voltage value of the rearview mirror is 0-5V, and the normal range is 2-2.3V, of course, this does not constitute a limitation on the embodiments of the application.
[0095] The embodiments of the present application can at least achieve the following technical effects: 1) Make full use of the technical principles of the rearview mirror, determine the position of the rearview mirror by the voltage value, and accurately detect whether the position of the rearview mirror has changed; 2) By detecting whether the motor of the rearview mirror is driven within the target time period, it is determined whether the position change is actively triggered by the vehicle user, thereby avoiding the reset processing operation being contrary to the vehicle user's expectations; 3) Reset processing is only performed when it is recognized that the vehicle user has driving intentions, which can increase the necessity of reset processing and avoid waste of resources; 4) Automatic reset does not require manual operation, which can enhance the sense of technology and intelligence; 5) Add position adjustment prompts for vehicle users to be informed, so that driving safety can be ensured by manual reset.
[0096] The following continues to describe the exemplary structure of the vehicle rearview mirror reset device 155 provided in the embodiment of the present application implemented as a software module. In some embodiments, such as Figure 2 As shown, the software modules stored in the vehicle rearview mirror reset device 155 of the memory 150 may include: a position detection module 1551, which is used to detect whether the position of the vehicle's rearview mirror changes within a target time period when the vehicle is powered on; wherein the target time period is the time period from the last power-off to the current power-on of the vehicle; a drive detection module 1552, which is used to detect whether the motor of the rearview mirror is driven within the target time period when the position of the rearview mirror changes within the target time period; and a reset module 1553, which is used to reset the rearview mirror when the motor of the rearview mirror is not driven within the target time period.
[0097] In some embodiments, different positions of the rearview mirror correspond to different voltage values; the position detection module 1551 is also used to: detect whether the voltage value of the rearview mirror changes within the target time period; when the voltage value of the rearview mirror changes within the target time period, determine that the position of the rearview mirror changes within the target time period; when the voltage value of the rearview mirror does not change within the target time period, determine that the position of the rearview mirror does not change within the target time period.
[0098] In some embodiments, the drive detection module 1552 is also used to: detect whether there is a motor drive record generated within the target time period; when there is a motor drive record, determine that the motor of the rearview mirror is driven within the target time period; when there is no motor drive record, determine that the motor of the rearview mirror is not driven within the target time period.
[0099] In some embodiments, the reset module 1553 is further used to: adjust the rearview mirror from the current position to the reset position; detect whether the rearview mirror is in the reset position; and output a position adjustment prompt when the rearview mirror is not in the reset position.
[0100] In some embodiments, the reset module 1553 is further configured to: when it is detected that a physical button corresponding to the rearview mirror is triggered, adjust the position of the rearview mirror according to the moving direction corresponding to the physical button.
[0101] In some embodiments, the reset module 1553 is further configured to reset the rearview mirror when the driving conditions of the vehicle are met.
[0102] In some embodiments, the driving conditions include multiple conditions; the reset module 1553 is also used to: reset the rearview mirror when a first driving condition is met; wherein the first driving condition represents any one of multiple driving conditions; when the rearview mirror reset fails and a second driving condition is met, reset the rearview mirror again; wherein the second driving condition is different from the first driving condition.
[0103] In some embodiments, the vehicle rearview mirror resetting device 155 also includes a maintaining module for maintaining the current position of the rearview mirror when the rearview mirror does not change position within the target time period; and maintaining the current position of the rearview mirror when the motor of the rearview mirror is driven within the target time period.
[0104] The present invention provides a computer program product or computer program, which includes executable instructions stored in a computer-readable storage medium. A vehicle processor reads the executable instructions from the computer-readable storage medium and executes the executable instructions, causing the vehicle to perform the vehicle rearview mirror reset method described above in the present invention.
[0105] An embodiment of the present application provides a computer-readable storage medium storing executable instructions, wherein the executable instructions are stored. When the executable instructions are executed by a processor, the processor will execute the vehicle rearview mirror reset method provided in the embodiment of the present application.
[0106] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or various devices including one or any combination of the above memories.
[0107] In some embodiments, executable instructions may be in the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
[0108] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinating files (e.g., files storing one or more modules, subroutines, or code portions).
[0109] The above are merely examples of the present application and are not intended to limit the scope of protection of the present application. Any modifications, equivalent replacements, and improvements made within the spirit and scope of the present application are included in the scope of protection of the present application.
Claims
1. A method for resetting a vehicle rearview mirror, characterized in that: include: When the vehicle is powered on, detecting whether the position of the rearview mirror of the vehicle changes within a target time period; wherein the target time period is the time period from the last power-off to the current power-on of the vehicle; When the position of the rearview mirror changes within the target time period, detecting whether the motor of the rearview mirror is driven within the target time period; When the motor of the rearview mirror is not driven within the target time period, performing a reset process on the rearview mirror: adjusting the rearview mirror from a current position to a reset position; detecting whether the rearview mirror is located at the reset position; When the rearview mirror is not located at the reset position, outputting a position adjustment prompt; When it is detected that the physical button corresponding to the rearview mirror is triggered, the position of the rearview mirror is adjusted according to the moving direction corresponding to the physical button.
2. The method according to claim 1, characterized in that Different positions of the rearview mirror correspond to different voltage values; The detecting whether the position of the rearview mirror of the vehicle changes within a target time period includes: detecting whether a voltage value of the rearview mirror changes within the target time period; When a voltage value of the rearview mirror changes within the target time period, determining that a position change of the rearview mirror occurs within the target time period; When the voltage value of the rearview mirror does not change within the target time period, it is determined that the position of the rearview mirror does not change within the target time period.
3. The method according to claim 1, characterized in that The detecting whether the motor of the rearview mirror is driven within the target time period includes: Detecting whether there is a motor drive record generated within the target time period; When the motor driving record exists, determining that the motor of the rearview mirror is driven within the target time period; When the motor driving record does not exist, it is determined that the motor of the rearview mirror is not driven within the target time period.
4. The method according to claim 1, wherein The resetting process of the rearview mirror includes: When the driving conditions of the vehicle are met, the rearview mirror is reset.
5. The method according to claim 4, characterized in that The driving conditions include multiple ones; when the driving conditions of the vehicle are met, resetting the rearview mirror includes: When a first driving condition is met, resetting the rearview mirror; wherein the first driving condition represents any one of a plurality of driving conditions; The method further comprises: When the rearview mirror fails to be reset and a second driving condition is met, the rearview mirror is reset again; wherein the second driving condition is different from the first driving condition.
6. The method according to claim 1, characterized in that After detecting whether the position of the rearview mirror of the vehicle changes within a target time period, the method further includes: When the position of the rearview mirror does not change within the target time period, maintaining the current position of the rearview mirror unchanged; After detecting whether the motor of the rearview mirror is driven within the target time period, the method further includes: When the motor of the rearview mirror is driven within the target time period, the current position of the rearview mirror is maintained unchanged.
7. A vehicle rearview mirror reset device, characterized in that: include: A position detection module, configured to detect, when the vehicle is powered on, whether the position of the rearview mirror of the vehicle changes within a target time period; wherein the target time period is the time period from the last time the vehicle was powered off to the current time it is powered on; a driving detection module, configured to detect whether a motor of the rearview mirror is driven within the target time period when the position of the rearview mirror changes within the target time period; A reset module is used to reset the rearview mirror when the motor of the rearview mirror is not driven within the target time period: the rearview mirror is adjusted from the current position to the reset position; the reset module is also used to detect whether the rearview mirror is located at the reset position; when the rearview mirror is not located at the reset position, output a position adjustment prompt; when it is detected that the physical button corresponding to the rearview mirror is triggered, the rearview mirror is adjusted in position according to the moving direction corresponding to the physical button.
8. A vehicle, characterized in that: include: a memory for storing executable instructions; A processor, configured to implement the method according to any one of claims 1 to 6 when executing the executable instructions stored in the memory.
9. A computer-readable storage medium, characterized in that Executable instructions are stored, and when executed by a processor, they are used to implement the method described in any one of claims 1 to 6.
10. A computer program product, characterized in that The method comprises executable instructions for implementing the method according to any one of claims 1 to 6 when executed by a processor.
Citation Information
Patent Citations
Vehicle rearview mirror position recovery method and device, vehicle and storage medium
CN115214463A
Outside rear-view mirror control method and vehicle
CN117799534A