Fault detection method and device of electronic rearview mirror, electronic equipment, readable storage medium and program product
By dynamically updating the detection cycle of the electronic rearview mirror, real-time monitoring and detection based on the fault risk coefficient, the problem of lagging fault response in traditional technology is solved, and the timeliness of fault detection and driving safety are improved.
Patent Information
- Application Number
- CN202411486147.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-23
- Publication Date
- 2025-01-10
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When the existing electronic rearview mirror system fails to respond in a timely manner when a fault occurs, resulting in driver misjudgment and the risk of traffic accidents.
By collecting the operating status data of the electronic rearview mirror based on the initial detection cycle, the fault risk coefficient is determined, and the detection cycle is dynamically updated based on the coefficient to achieve real-time monitoring and fault detection.
Effectively respond to the risks of impending failures, prevent failures from occurring, ensure driving safety, and improve the timeliness of fault detection and system stability.
Smart Images

Figure CN119283795A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle safety technology, and in particular to a fault detection method, device, electronic device, readable storage medium and program product for an electronic rearview mirror. Background Art
[0002] With the development of intelligent vehicles, the application of electronic rearview mirrors is becoming more and more popular. The electronic rearview mirror is an indirect field of view device that obtains a specified field of view through a system composed of a camera and a monitor. It uses a camera to capture the image of the specified field of view of the vehicle in real time and presents it on the monitor, that is, to observe the real situation outside the vehicle from the perspective of the camera. However, when the electronic rearview mirror display or the entire system fails due to temperature changes or other factors, and the driver is unable to detect the fault in time and continues to drive with a delayed or frozen image, it is easy to cause a traffic accident due to the driver's misjudgment. Therefore, in the electronic rearview mirror system, fault risk detection is a key link to ensure the stable operation of the system.
[0003] In traditional technology, the fault risk detection of electronic rearview mirror systems usually adopts a timed inspection mechanism, that is, the system is inspected at fixed time intervals to discover potential fault risks, and then risk management is performed. However, this method may not be able to respond to impending fault risks in a timely manner. Therefore, how to effectively detect and control the fault risk of electronic rearview mirror systems is a technical problem that needs to be solved urgently. Summary of the invention
[0004] Based on this, it is necessary to provide a fault detection method, device, electronic device, computer-readable storage medium and computer program product for an electronic rearview mirror that can effectively perform fault risk detection in response to the above technical problems.
[0005] In a first aspect, the present application provides a fault detection method for an electronic rearview mirror, comprising:
[0006] Collecting the operating status data of the electronic rearview mirror based on the initial detection cycle;
[0007] Determining a failure risk coefficient corresponding to the electronic rearview mirror according to the operating status data;
[0008] In the case where it is determined according to the failure risk coefficient that the detection cycle needs to be updated, updating the detection cycle;
[0009] The updated detection cycle is used to collect the operating status data of the electronic rearview mirror.
[0010] In one embodiment, after determining the fault risk coefficient corresponding to the electronic rearview mirror according to the operating status data, the method further includes: when it is determined that the fault risk coefficient is less than a first threshold, determining that the detection cycle needs to be updated; updating the detection cycle includes: based on the fault risk coefficient, extending the detection cycle on the basis of the initial detection cycle to obtain an updated detection cycle.
[0011] In one embodiment, after determining the fault risk coefficient corresponding to the electronic rearview mirror according to the operating status data, the method further includes: when it is determined that the fault risk coefficient is greater than or equal to a second threshold, determining that the detection cycle needs to be updated; the second threshold is greater than the first threshold; updating the detection cycle includes: based on the fault risk coefficient, shortening the detection cycle on the basis of the initial detection cycle to obtain an updated detection cycle.
[0012] In one of the embodiments, updating the detection period includes: determining a corresponding period adjustment parameter based on the fault risk coefficient; adjusting the detection period based on the initial detection period according to the fault risk coefficient, the period adjustment parameter and a preset adjustment factor to obtain an updated detection period.
[0013] In one of the embodiments, after determining the fault risk coefficient corresponding to the electronic rearview mirror according to the operating status data, the method further includes: when it is determined that the fault risk coefficient is greater than or equal to a first threshold and less than a second threshold, determining that there is no need to update the detection cycle; the second threshold is greater than the first threshold.
[0014] In one of the embodiments, the method further includes: when it is determined according to the fault risk coefficient that there is no need to update the detection cycle, using the initial detection cycle to collect the operating status data of the electronic rearview mirror.
[0015] In one of the embodiments, determining the failure risk coefficient corresponding to the electronic rearview mirror based on the operating status data includes: obtaining a state threshold corresponding to the category based on the category of the operating status data; and determining the failure risk coefficient of the electronic rearview mirror based on the state threshold corresponding to the category and the operating status data of the corresponding category.
[0016] In one of the embodiments, after collecting the operating status data of the electronic rearview mirror based on the initial detection cycle, the method further includes: obtaining a status threshold corresponding to the category according to the category of the operating status data; when it is determined that the operating status data corresponding to the category reaches the corresponding status threshold, triggering a fault handling mechanism, the fault handling mechanism including at least one of fault alarm, fault repair and fault repair guidance.
[0017] In one of the embodiments, when it is determined that the operating status data corresponding to the category reaches the corresponding status threshold, the method further includes: recording a corresponding fault handling log, the fault handling log including the operating status data corresponding to the category, the collection time corresponding to the operating status data, the fault handling mechanism, and result feedback for the fault handling mechanism.
[0018] In a second aspect, the present application provides a fault detection device for an electronic rearview mirror, the device comprising:
[0019] A data acquisition module, used for collecting operating status data of the electronic rearview mirror based on an initial detection cycle;
[0020] A determination module, used to determine a failure risk coefficient corresponding to the electronic rearview mirror according to the operating status data;
[0021] A detection cycle updating module, configured to update the detection cycle when it is determined that the detection cycle needs to be updated according to the fault risk coefficient;
[0022] The data acquisition module is also used to collect the operating status data of the electronic rearview mirror using an updated detection cycle.
[0023] In a third aspect, the present application provides an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above method when executing the computer program.
[0024] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the steps of the above method when executed by a processor.
[0025] In a fifth aspect, the present application provides a computer program product, comprising a computer program, which implements the steps of the above method when executed by a processor.
[0026] The above-mentioned electronic rearview mirror fault detection method, device, electronic device, computer-readable storage medium and computer program product, when the vehicle is started, collects the operating status data of the electronic rearview mirror based on the initial detection cycle, determines the corresponding fault risk coefficient according to the operating status data, and updates the detection cycle when it is determined that the detection cycle needs to be updated according to the fault risk coefficient, and then uses the updated detection cycle to collect the operating status data of the electronic rearview mirror, and returns to execute the step of determining the corresponding fault risk coefficient according to the operating status data, so as to realize real-time monitoring and fault detection of the electronic rearview mirror. Because it can determine whether the detection cycle needs to be adjusted based on the real-time fault risk coefficient during the fault detection process of the electronic rearview mirror, and dynamically updates the corresponding detection cycle when it is determined that adjustment is required, and collects the operating status data of the electronic rearview mirror with the updated detection cycle, so that the electronic rearview mirror can be effectively detected for fault risk, so as to be able to respond to the impending fault risk in a timely manner, thereby preventing the occurrence of faults and ensuring driving safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments of the present application or the related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.
[0028] Figure 1 is a schematic flow chart of a fault detection method for an electronic rearview mirror in one embodiment;
[0029] Figure 2 A schematic diagram of a flow chart of a step of determining a failure risk coefficient in an embodiment;
[0030] Figure 3 A schematic diagram of a flow chart of a step of updating a detection cycle in an embodiment;
[0031] Figure 4 A schematic diagram of a process flow of a fault handling step in an embodiment;
[0032] Figure 5 is a flow chart of a fault detection method for an electronic rearview mirror in another embodiment;
[0033] Figure 6 is a structural block diagram of a fault detection device for an electronic rearview mirror in one embodiment;
[0034] Figure 7 FIG. 4 is a diagram showing the internal structure of an electronic device in one embodiment. DETAILED DESCRIPTION
[0035] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0036] In one embodiment, Figure 1 As shown, a fault detection method for an electronic rearview mirror is provided, the method comprising the following steps:
[0037] Step 102: collecting operating status data of the electronic rearview mirror based on an initial detection cycle.
[0038] The operating status data may be various key functions or indicators during the operation of the electronic rearview mirror, which are used to characterize the instantaneous state of the electronic rearview mirror and can be used to measure the failure risk of the electronic rearview mirror. Specifically, the operating status data includes but is not limited to the picture clarity data of the image captured by the electronic rearview mirror (such as the resolution and sharpness of the image), CPU (Central Processing Unit, the central processing unit of the electronic rearview mirror) usage data, log storage data, hardware temperature data (such as the real-time temperature of the hardware), etc.
[0039] The initial detection period can be a pre-set basic interval duration for collecting the operating status data of the electronic rearview mirror, which can be reasonably set based on the needs of the application scenario. Specifically, the initial detection period can be 1 second, 10 ms (milliseconds) or 100 ms, etc. The specific time interval can be adjusted according to the actual needs and maintenance standards of the system, and this embodiment does not limit this. Generally, when the initial detection period is set to be shorter, the collection frequency is high, the amount of data collected is large, and the detection accuracy can be improved; when the initial detection period is set to be longer, the amount of data collected is small, the processing speed can be increased, and the processing time can be reduced.
[0040] In this embodiment, when the vehicle is started, the operating status data of the electronic rearview mirror can be collected based on the initial detection period to monitor the operating status of the electronic rearview mirror.
[0041] Step 104: determine the corresponding failure risk coefficient according to the operating status data.
[0042] The failure risk coefficient is a specific value used to characterize the degree of failure risk. The smaller the failure risk coefficient, the lower the corresponding failure risk degree, and the larger the failure risk coefficient, the higher the corresponding failure risk degree.
[0043] In this embodiment, the corresponding fault risk coefficient can be determined according to the operating state data of the electronic rearview mirror obtained in the above steps. Specifically, the fault risk degree of the electronic rearview mirror can be determined by setting a state threshold and a certain calculation rule, thereby calculating the fault risk coefficient based on the state threshold and the certain calculation rule and the corresponding operating state data.
[0044] Step 106: When it is determined according to the fault risk factor that the detection period needs to be updated, the detection period is updated.
[0045] Since the smaller the failure risk coefficient, the lower the corresponding failure risk, and the larger the failure risk coefficient, the higher the corresponding failure risk. Therefore, when the failure risk coefficient is small, the electronic rearview mirror is relatively stable, so the detection cycle can be appropriately extended to reduce unnecessary detection frequency, reduce the burden and maintenance cost of the electronic rearview mirror, and maintain normal monitoring of the electronic rearview mirror. When the failure risk coefficient is large, it means that the electronic rearview mirror has a high failure risk, so the detection cycle can be shortened and the detection frequency can be increased, so that the status of the electronic rearview mirror can be monitored more frequently, potential problems can be discovered in time and measures can be taken to prevent the occurrence of failures.
[0046] Based on this, in this embodiment, when it is determined that the failure risk coefficient of the electronic rearview mirror is small or large, it can be determined that the corresponding detection cycle needs to be updated. Therefore, the detection cycle can be updated based on the size of the corresponding failure risk coefficient, such as extending the detection cycle or shortening the detection cycle.
[0047] Step 108: Using the updated detection cycle to collect the operating status data of the electronic rearview mirror.
[0048] Specifically, after the corresponding detection cycle is updated based on the above steps, the updated detection cycle can be used to collect the operating status data of the electronic rearview mirror, and the step of determining the corresponding fault risk coefficient based on the operating status data is returned to realize real-time monitoring and fault detection of the electronic rearview mirror. For example, if the initial detection cycle of the electronic rearview mirror is 1 second, if the corresponding fault risk coefficient is determined to be high based on the above steps, it means that the corresponding detection cycle needs to be updated. If the updated detection cycle is determined to be 0.5 seconds based on the update rule, the updated detection cycle will be automatically updated to the electronic rearview mirror to ensure that the electronic rearview mirror can collect operating status data at the new frequency before the next detection cycle arrives.
[0049] In the above-mentioned fault detection method of the electronic rearview mirror, when the vehicle is started, the operating status data of the electronic rearview mirror is collected based on the initial detection cycle, the corresponding fault risk coefficient is determined according to the operating status data, and when it is determined according to the fault risk coefficient that the detection cycle needs to be updated, the detection cycle is updated, and then the operating status data of the electronic rearview mirror is collected using the updated detection cycle, and the step of determining the corresponding fault risk coefficient according to the operating status data is returned to realize real-time monitoring and fault detection of the electronic rearview mirror. Since it can determine whether the detection cycle needs to be adjusted based on the real-time fault risk coefficient during the fault detection process of the electronic rearview mirror, and dynamically update the corresponding detection cycle when it is determined that adjustment is required, and collect the operating status data of the electronic rearview mirror with the updated detection cycle, it can effectively perform fault risk detection on the electronic rearview mirror, so as to be able to respond to the impending fault risk in a timely manner, thereby preventing the occurrence of faults and ensuring driving safety.
[0050] In an exemplary embodiment, Figure 2 As shown, in step 104, determining the corresponding fault risk coefficient according to the operating status data may specifically include:
[0051] Step 202: According to the category of the running status data, a status threshold corresponding to the category is obtained.
[0052] Among them, categories are used to characterize the specific attributes or classifications of the operating status data, and are also used to characterize different fault risks. For example, if the image clarity data of the electronic rearview mirror and the corresponding CPU usage data are used to measure different fault risks, they belong to different categories. The status threshold is the basis for measuring the fault risk corresponding to the specific category, which can be a preset extreme value under the corresponding category.
[0053] For example, if the running status data is the current usage rate of the electronic rearview mirror CPU, the corresponding category can be the CPU usage risk category. If the maximum CPU usage rate is pre-set to 90%, the maximum CPU usage rate of 90% is the corresponding status threshold. If the CPU usage rate is detected to be greater than 90% at a certain moment, it indicates that there is a CPU usage risk. If the running status data is the hardware temperature data of the electronic rearview mirror, the corresponding category can be the hardware temperature risk category. If the maximum hardware operating temperature is pre-set to 100 degrees, 100 degrees is the corresponding status threshold. If the hardware temperature of the electronic rearview mirror is detected to be greater than 100 degrees at a certain moment, it indicates that there is a hardware temperature risk.
[0054] Step 204 : determining a failure risk factor of the electronic rearview mirror based on a state threshold corresponding to the category and operating state data of the corresponding category.
[0055] In this embodiment, the risk coefficient of each category of the operating status data can be determined according to the category of the operating status data and the state threshold of the corresponding category obtained in the above steps. Specifically, the ratio of the operating status data under a certain category to the corresponding state threshold can be used as the risk coefficient of the corresponding category. For example, for the CPU usage risk category, if its corresponding state threshold is 90% (that is, the maximum usage rate is 90%), if the current usage rate of the electronic rearview mirror CPU is detected to be 45% at a certain moment, then the risk coefficient of its corresponding category is the ratio of 45% to 90%, that is, 0.5. Based on this, if the collected operating status data of the electronic rearview mirror includes data of multiple categories, the risk coefficient corresponding to each category can be determined accordingly, and then the failure risk coefficient of the electronic rearview mirror can be determined according to the risk coefficients of each category.
[0056] In one scenario, the failure risk coefficient of the electronic rearview mirror at a certain moment can be determined based on the highest risk coefficient according to the risk coefficients of each category at that moment. That is, the highest risk coefficient among the risk coefficients of each category at that moment is used as the failure risk coefficient of the electronic rearview mirror, thereby effectively performing fault risk detection and control.
[0057] In another scenario, the failure risk coefficient of the electronic rearview mirror at a certain moment can be comprehensively determined based on the risk coefficients of each category at that moment. For example, the average value of the risk coefficients of each category at that moment can be used as the failure risk coefficient of the electronic rearview mirror; or the risk coefficients of each category can be weighted summed based on the preset weights of each category, and the result can be used as the failure risk coefficient of the electronic rearview mirror, so that the risk detection of the electronic rearview mirror is more accurate.
[0058] In an exemplary embodiment, in step 104, after determining the corresponding fault risk coefficient based on the operating status data, the above method may also include: when it is determined that the fault risk coefficient is less than a first threshold, determining that the detection cycle needs to be updated; when it is determined that the fault risk coefficient is greater than or equal to a second threshold, determining that the detection cycle needs to be updated; when it is determined that the fault risk coefficient is greater than or equal to the first threshold and less than the second threshold, determining that the detection cycle does not need to be updated.
[0059] Among them, the first threshold and the second threshold can be pre-set threshold parameters for distinguishing risk levels, and the second threshold is greater than the first threshold. In this embodiment, the risk level of the electronic rearview mirror can be divided based on the first threshold and the second threshold, as well as the failure risk coefficient of the electronic rearview mirror. For example, it can be divided into low risk, medium risk and high risk, among which low risk means that the risk is low and the system runs stably; medium risk means that there may be certain risks in the system and appropriate attention is required; high risk means that the system has a high failure risk and needs frequent monitoring. Specifically, when the failure risk coefficient is less than the first threshold, it is low risk; when the failure risk coefficient is greater than or equal to the second threshold, it is high risk; when the failure risk coefficient is greater than or equal to the first threshold and less than the second threshold, it is medium risk. For example, taking the first threshold as 0.5 and the second threshold as 0.8, when the failure risk coefficient of the electronic rearview mirror at a certain moment is less than 0.5, it means that the electronic rearview mirror is at low risk at that moment; when the failure risk coefficient of the electronic rearview mirror at a certain moment is greater than or equal to 0.8, it means that the electronic rearview mirror is at high risk at that moment; when the failure risk coefficient of the electronic rearview mirror at a certain moment is greater than or equal to 0.5 and less than 0.8, it means that the electronic rearview mirror is at medium risk at that moment.
[0060] In an exemplary embodiment, when it is determined that there is no need to update the detection cycle based on the fault risk coefficient, the initial detection cycle can be used to collect the operating status data of the electronic rearview mirror. Since the fault risk coefficient is greater than or equal to the first threshold and less than the second threshold, it is a medium risk, indicating that there may be a certain risk in the system and only moderate attention is required. Therefore, in this scenario, there is no need to adjust the detection cycle, and the initial detection cycle is still used to collect the operating status data of the electronic rearview mirror, that is, the status of the electronic rearview mirror is monitored at a normal frequency, so as to maintain continuous monitoring of the system without adding too much burden.
[0061] In an exemplary embodiment, in step 106, updating the detection cycle may specifically include: when it is determined that the fault risk coefficient is less than the first threshold, based on the fault risk coefficient, extending the detection cycle on the basis of the initial detection cycle to obtain an updated detection cycle, which reduces unnecessary detection frequency by extending the detection cycle when the risk is low, reduces the burden and maintenance cost of the electronic rearview mirror, and maintains normal monitoring of the electronic rearview mirror. When it is determined that the fault risk coefficient is greater than or equal to the first threshold and less than the second threshold, based on the fault risk coefficient, shortening the detection cycle on the basis of the initial detection cycle to obtain an updated detection cycle, which increases the detection frequency by shortening the detection cycle when the risk is high, so that the state of the electronic rearview mirror can be monitored more frequently, potential problems can be discovered in time, and measures can be taken to prevent the occurrence of faults.
[0062] In an exemplary embodiment, Figure 3 As shown, in step 106, updating the detection cycle may further include:
[0063] Step 302: Determine corresponding cycle adjustment parameters based on the failure risk coefficient.
[0064] The cycle adjustment parameter may be an adjustment parameter set based on the corresponding risk level for extending or shortening the detection cycle. For example, for low-risk situations where the detection cycle needs to be extended, the cycle adjustment parameter C_low is greater than 1, which may be 1+k, where k is the failure risk factor of the electronic rearview mirror. For high-risk situations where the detection cycle needs to be shortened, the cycle adjustment parameter C_high is less than 1, which may be 1-k.
[0065] Since the risk level is also determined based on the size of the failure risk coefficient of the electronic rearview mirror, the corresponding period adjustment parameter can be determined based on the failure risk coefficient.
[0066] Step 304 , adjusting the detection cycle based on the initial detection cycle according to the fault risk coefficient, the cycle adjustment parameter and the preset adjustment factor, to obtain an updated detection cycle.
[0067] The adjustment factor is a specific parameter used to limit the detection period boundary to prevent the adjusted detection period from being too large or too small. The specific size of the adjustment factor can be set based on the actual application scenario, and is not limited in this embodiment.
[0068] In one scenario, if the initial detection cycle is T1, if the electronic rearview mirror is determined to be low risk based on its fault risk coefficient k at a certain moment, the following formula can be used to adjust its detection cycle: the updated detection cycle T2 = T1×(1-(c_low-1)*k+0.25). Among them, c_low is the cycle adjustment parameter corresponding to low risk, which can be (1+k), and 0.25 is the preset adjustment factor. In this scenario, the extension length of the detection cycle is inversely proportional to the increase rate of c_low, and because c_low is positively correlated with k, the extension length of the detection cycle is also inversely proportional to the increase rate of k, that is, the smaller k is, the longer the extension length of the detection cycle is, and the larger k is, the shorter the extension length of the detection cycle is.
[0069] If the initial detection cycle is T1, and if the electronic rearview mirror is determined to be high risk based on its fault risk coefficient k at a certain moment, the following formula can be used to adjust its detection cycle: the updated detection cycle T2 = T1×(1+(C_high-1)*k+0.25). Among them, c_low is the cycle adjustment parameter corresponding to low risk, which can be (1-k), and 0.25 is the preset adjustment factor. In this scenario, the shortened length of the detection cycle is inversely proportional to the increase rate of c_high, and because c_high is negatively correlated with k, the shortened length of the detection cycle is proportional to the increase rate of k, that is, the larger the k, the longer the shortened length of the detection cycle, and the smaller the k, the shorter the shortened length of the detection cycle.
[0070] In the above embodiment, by dynamically adjusting the detection cycle, problems can be discovered and handled more promptly when the risk of system failure increases, thereby improving the timeliness of fault diagnosis. When the system is running stably, the detection cycle can be appropriately extended to reduce the occupation of system resources, thereby reducing the system burden and improving overall performance.
[0071] It is understandable that after each adjustment detection cycle, the operating status and adjustment effect of the electronic rearview mirror can also be fed back and analyzed. That is, based on the new operating status data, the adjustment effect can be continuously evaluated and the detection cycle can be further optimized. Thus, the effectiveness and accuracy of the adjustment strategy are guaranteed through the feedback mechanism, so that the electronic rearview mirror can be adaptively adjusted under changing risk conditions.
[0072] In an exemplary embodiment, Figure 4 As shown, in step 102, after collecting the operating status data of the electronic rearview mirror based on the initial detection cycle, the method may further include:
[0073] Step 402: According to the category of the running status data, a status threshold corresponding to the category is obtained.
[0074] The category is used to characterize the specific attributes or classifications of the operating status data, and is also used to characterize different failure risks. The state threshold is the basis for measuring the failure risk corresponding to the specific category, which can be a preset lower extreme value of the corresponding category. The specific implementation of this step can refer to the above step 202, and this embodiment will not be repeated here.
[0075] Step 404: When it is determined that the running status data corresponding to the category reaches the corresponding status threshold, a fault handling mechanism is triggered.
[0076] Among them, the fault handling mechanism includes at least one of fault alarm, fault repair and fault repair guidance. Specifically, if the operating status data is the current usage rate of the electronic rearview mirror CPU, the corresponding category can be the CPU usage risk category. If the maximum CPU usage rate is preset to 90%, the maximum CPU usage rate of 90% is the corresponding state threshold. If the CPU usage rate is detected to be greater than 90% at a certain moment, it can be determined that its operating status data reaches the corresponding state threshold, so the fault handling mechanism can be triggered. For example, a fault alarm can be triggered to remind the driver that the electronic rearview mirror may have a fault, thereby attracting the driver's attention to avoid safety accidents.
[0077] In one scenario, fault repair can also be triggered based on the corresponding category. For example, if the image captured by the electronic rearview mirror is detected to be too blurry, automatic repair can be attempted, such as reducing the CPU load (making some software enter low-power mode), reinitializing the electronic rearview mirror, or restarting related software modules to try automatic recovery, thereby achieving automatic repair of the fault. This not only improves the fault response speed, processing efficiency and system stability, but also reduces maintenance costs and workload.
[0078] In another scenario, if the fault cannot be solved based on the above automatic repair, the fault repair guidance can also be triggered. The guidance content usually includes a detailed description of the fault, possible causes, specific steps that the user can take, etc., and usually tries to provide easy-to-understand operating instructions to reduce the difficulty of user operation. Users can operate according to this guidance information, such as replugging the device, checking the connection line, or manually restarting the electronic rearview mirror, etc., thereby significantly improving the timeliness of fault diagnosis and system reliability.
[0079] In an exemplary embodiment, in step 404, when it is determined that the operating status data corresponding to the category reaches the corresponding status threshold, the above method may further include: recording the corresponding fault handling log. The fault handling log may include but is not limited to the operating status data corresponding to the category, the collection time corresponding to the operating status data, the fault handling mechanism, and the result feedback for the fault handling mechanism. This information is recorded and stored in the fault handling log for subsequent analysis and review. By analyzing the historical fault handling log data, it is also possible to identify fault modes and potential system weaknesses, thereby providing a basis for future improvements, and helping to ensure the efficient and safe operation of the electronic rearview mirror system, and improve user experience and system reliability.
[0080] In an exemplary embodiment, Figure 5 As shown, the fault detection method of the electronic rearview mirror is further described below, which may specifically include the following steps:
[0081] Step 502: collecting operating status data of the electronic rearview mirror based on an initial detection cycle.
[0082] That is, when the vehicle is started, the operating status data of the electronic rearview mirror can be collected based on the initial detection cycle to monitor the operating status of the electronic rearview mirror.
[0083] Step 504: According to the category of the running status data, a status threshold corresponding to the category is obtained.
[0084] The category is used to characterize the specific attributes or classifications of the running status data, and is also used to characterize different fault risks. The state threshold is the basis for measuring the fault risk corresponding to the specific category, which can be a preset lower extreme value of the corresponding category. Specifically, the state threshold corresponding to the category can be obtained according to the category of the running status data.
[0085] Step 506: Determine whether the running status data corresponding to the category reaches the corresponding status threshold.
[0086] Specifically, when it is determined that the running status data corresponding to the category reaches the corresponding status threshold, step 508 is executed, and when it is determined that the running status data corresponding to the category does not reach the corresponding status threshold, step 512 is executed.
[0087] Step 508: trigger the fault handling mechanism.
[0088] Specifically, when it is determined that the running status data corresponding to the category reaches the corresponding status threshold, a fault handling mechanism is triggered, wherein the fault handling mechanism includes at least one of fault alarm, fault repair and fault repair guidance.
[0089] Step 510: Record the corresponding fault handling log.
[0090] The fault handling log includes the operating status data corresponding to the category, the collection time corresponding to the operating status data, the fault handling mechanism, and the result feedback for the fault handling mechanism.
[0091] Step 512, determining the failure risk factor of the electronic rearview mirror.
[0092] Specifically, when it is determined that the operating status data corresponding to the category does not reach the corresponding status threshold, the failure risk coefficient of the electronic rearview mirror is determined based on the status threshold corresponding to the category and the operating status data of the corresponding category.
[0093] Step 514, updating the detection period according to the failure risk factor.
[0094] When the fault risk coefficient is greater than or equal to the first threshold and less than the second threshold, it is determined that the detection cycle does not need to be updated, and the process returns to step 502. When the fault risk coefficient is less than the first threshold, or the fault risk coefficient is greater than or equal to the second threshold, it is determined that the detection cycle needs to be updated. Specifically, when the fault risk coefficient is less than the first threshold, the detection cycle is extended. When the fault risk coefficient is greater than or equal to the second threshold, the detection cycle is shortened.
[0095] Step 516: Use the updated detection cycle to collect the operating status data of the electronic rearview mirror.
[0096] Specifically, the updated detection cycle is used to collect the operating status data of the electronic rearview mirror, and the process returns to step 504 to implement real-time monitoring and fault detection of the electronic rearview mirror.
[0097] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0098] Based on the same inventive concept, the embodiment of the present application also provides a fault detection device for an electronic rearview mirror for implementing the fault detection method for an electronic rearview mirror involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of one or more fault detection devices for electronic rearview mirrors provided below can refer to the limitations of the fault detection method for electronic rearview mirrors above, and will not be repeated here.
[0099] In an exemplary embodiment, Figure 6 As shown, a fault detection device for an electronic rearview mirror is provided, comprising: a data acquisition module 602, a determination module 604 and a detection cycle update module 606, wherein:
[0100] A data acquisition module 602 is used to collect operating status data of the electronic rearview mirror based on an initial detection cycle;
[0101] A determination module 604 is used to determine a failure risk coefficient corresponding to the electronic rearview mirror according to the operating status data;
[0102] A detection cycle updating module 606, configured to update the detection cycle when it is determined that the detection cycle needs to be updated according to the failure risk coefficient;
[0103] The data acquisition module is also used to collect the operating status data of the electronic rearview mirror using an updated detection cycle.
[0104] In an exemplary embodiment, the determination module is also used to: after determining the fault risk coefficient corresponding to the electronic rearview mirror according to the operating status data, when it is determined that the fault risk coefficient is less than a first threshold, determine that the detection cycle needs to be updated; the detection cycle update module is also used to: based on the fault risk coefficient, extend the detection cycle on the basis of the initial detection cycle to obtain an updated detection cycle.
[0105] In an exemplary embodiment, the determination module is also used to: after determining the fault risk coefficient corresponding to the electronic rearview mirror according to the operating status data, when it is determined that the fault risk coefficient is greater than or equal to a second threshold, determine that the detection cycle needs to be updated; the second threshold is greater than the first threshold; the detection cycle update module is also used to: based on the fault risk coefficient, shorten the detection cycle on the basis of the initial detection cycle to obtain an updated detection cycle.
[0106] In an exemplary embodiment, the detection period update module is also used to: determine the corresponding period adjustment parameter based on the fault risk coefficient; adjust the detection period based on the initial detection period according to the fault risk coefficient, the period adjustment parameter and the preset adjustment factor to obtain an updated detection period.
[0107] In an exemplary embodiment, the determination module is further used to: determine that there is no need to update the detection cycle when it is determined that the fault risk coefficient is greater than or equal to a first threshold and less than a second threshold; the second threshold is greater than the first threshold.
[0108] In an exemplary embodiment, the data acquisition module is further used to: when it is determined according to the fault risk coefficient that there is no need to update the detection cycle, use the initial detection cycle to collect the operating status data of the electronic rearview mirror.
[0109] In an exemplary embodiment, the determination module is also used to: obtain a state threshold corresponding to the category according to the category of the operating status data; and determine the failure risk coefficient of the electronic rearview mirror based on the state threshold corresponding to the category and the operating status data of the corresponding category.
[0110] In an exemplary embodiment, the device also includes a fault handling module, which is used to: obtain a status threshold corresponding to the category according to the category of the operating status data; when it is determined that the operating status data corresponding to the category reaches the corresponding status threshold, trigger a fault handling mechanism, and the fault handling mechanism includes at least one of fault alarm, fault repair and fault repair guidance.
[0111] In an exemplary embodiment, the device also includes a log recording module for recording a corresponding fault handling log when it is determined that the operating status data corresponding to the category reaches a corresponding status threshold, wherein the fault handling log includes the operating status data corresponding to the category, the collection time corresponding to the operating status data, the fault handling mechanism, and the result feedback for the fault handling mechanism.
[0112] Each module in the fault detection device of the electronic rearview mirror can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in an electronic device in the form of hardware, or can be stored in a memory in the electronic device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0113] In an exemplary embodiment, an electronic device is provided. The electronic device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 7 As shown. The electronic device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the electronic device is used to provide computing and control capabilities. The memory of the electronic device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the electronic device is used to exchange information between the processor and an external device. The communication interface of the electronic device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a fault detection method for an electronic rearview mirror is implemented. The display unit of the electronic device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the electronic device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the electronic device casing, or an external keyboard, touchpad or mouse.
[0114] Those skilled in the art will understand that Figure 7 The structure shown in the figure is only a block diagram of a partial structure related to the scheme of the present application, and does not constitute a limitation on the electronic device to which the scheme of the present application is applied. The specific electronic device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0115] In an exemplary embodiment, an electronic device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above-mentioned method embodiments when executing the computer program.
[0116] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0117] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0118] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0119] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.
[0120] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0121] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A fault detection method for an electronic rearview mirror, characterized in that: The method comprises: Collecting the operating status data of the electronic rearview mirror based on the initial detection cycle; Determining a failure risk coefficient corresponding to the electronic rearview mirror according to the operating status data; In the case where it is determined according to the failure risk coefficient that the detection cycle needs to be updated, updating the detection cycle; The updated detection cycle is used to collect the operating status data of the electronic rearview mirror.
2. The method according to claim 1, characterized in that After determining the failure risk coefficient corresponding to the electronic rearview mirror according to the operating status data, the method further includes: In the case where it is determined that the fault risk coefficient is less than a first threshold, determining that the detection cycle needs to be updated; The updating of the detection cycle includes: Based on the failure risk coefficient, the detection period is extended on the basis of the initial detection period to obtain an updated detection period.
3. The method according to claim 2, characterized in that After determining the failure risk coefficient corresponding to the electronic rearview mirror according to the operating status data, the method further includes: In the case where it is determined that the fault risk coefficient is greater than or equal to a second threshold, it is determined that the detection cycle needs to be updated; the second threshold is greater than the first threshold; The updating of the detection cycle includes: Based on the failure risk coefficient, the detection period is shortened on the basis of the initial detection period to obtain an updated detection period.
4. The method according to claim 1, characterized in that: The updating of the detection cycle includes: Based on the failure risk coefficient, determining a corresponding period adjustment parameter; According to the fault risk coefficient, the period adjustment parameter and a preset adjustment factor, the detection period is adjusted on the basis of the initial detection period to obtain an updated detection period.
5. The method according to any one of claims 1 to 4, characterized in that: The determining, according to the operating status data, a failure risk coefficient corresponding to the electronic rearview mirror comprises: According to the category of the running status data, obtaining a status threshold corresponding to the category; Determining a failure risk coefficient of the electronic rearview mirror based on a state threshold corresponding to the category and operating state data of the corresponding category; After determining the failure risk coefficient corresponding to the electronic rearview mirror according to the operating status data, the method further includes: In the case where it is determined that the fault risk coefficient is greater than or equal to a first threshold and less than a second threshold, it is determined that there is no need to update the detection cycle; the second threshold is greater than the first threshold; When it is determined according to the fault risk coefficient that there is no need to update the detection cycle, the operating status data of the electronic rearview mirror is collected using the initial detection cycle.
6. The method according to any one of claims 1 to 5, characterized in that: After collecting the operating status data of the electronic rearview mirror based on the initial detection cycle, the method further includes: According to the category of the running status data, obtaining a status threshold corresponding to the category; When it is determined that the operating status data corresponding to the category reaches the corresponding status threshold, a fault handling mechanism is triggered and a corresponding fault handling log is recorded. The fault handling mechanism includes at least one of a fault alarm, a fault repair, and a fault repair guidance. The fault handling log includes the operating status data corresponding to the category, the collection time corresponding to the operating status data, the fault handling mechanism, and result feedback for the fault handling mechanism.
7. A fault detection device for an electronic rearview mirror, characterized in that: The device comprises: A data acquisition module, used for collecting operating status data of the electronic rearview mirror based on an initial detection cycle; A determination module, used to determine a failure risk coefficient corresponding to the electronic rearview mirror according to the operating status data; A detection cycle updating module, configured to update the detection cycle when it is determined that the detection cycle needs to be updated according to the fault risk coefficient; The data acquisition module is also used to collect the operating status data of the electronic rearview mirror using an updated detection cycle.
8. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Elevator as-required maintenance system and method based on big data analysis
CN108083044A
Electronic rearview mirror camera fuzzy detection method, storage medium and device
CN117367753A
Method for adjusting rearview mirror, device, apparatus, and storage medium
JP2021120268A
Electronic rearview mirror system and vehicle
WO2024000333A1