Dark current detection method and device, equipment and storage medium
By obtaining and comparing the dark current values of the vehicle and the controller to be tested when the vehicle reaches the test operating condition state of the preset test scenario, and determining the abnormal controller, the problem of difficulty in efficiently detecting the dark current of the vehicle in the prior art is solved, and fast and accurate fault positioning and power saving are achieved.
Patent Information
- Application Number
- CN202510133970.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-06
- Publication Date
- 2025-05-30
AI Technical Summary
The prior art is difficult to efficiently and accurately detect dark current on vehicles, and cannot fully cover all test scenarios, resulting in the inability to detect and resolve dark current abnormalities in time, increasing the risks of power consumption and battery life.
When the vehicle reaches the test operating condition state of the preset test scenario, the dark current value of the vehicle and the controller to be tested is obtained, and when the dark current value exceeds the standard, the abnormal controller is determined based on the dark current value and standard value of the controller to be tested, and the cause of the dark current abnormality is determined.
It realizes efficient and accurate detection of quiescent current on the vehicle, quickly locking the abnormal controller, avoiding blind investigations, improving the accuracy and efficiency of fault location, reducing power consumption, and extending the service life of the battery.
Smart Images

Figure CN120064759A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of vehicles, in particular to the technical field of vehicle electronics and electrical system detection, and specifically relates to a dark current detection method, device, equipment and storage medium. Background Art
[0002] When a vehicle is in a sleep state, each controller will generate a certain static current, that is, the so-called "dark current". If the dark current exceeds the specified standard, it will not only significantly shorten the parking time of the vehicle, but also seriously affect the performance and life of the low-voltage battery. More seriously, the excessive dark current may cause the battery power to be quickly exhausted, making it impossible for the user to start the vehicle. In order to extend the parking time of the vehicle and reduce the power consumption of the low-voltage battery, it is often necessary to control the dark current of each controller on the vehicle so that it fluctuates within a reasonable range. Therefore, it is necessary to explore an effective way to detect the dark current on the vehicle efficiently and accurately.
[0003] In a related technology, it is proposed to control the conduction sequence and the number of simultaneous conductions of the first path, the second path, the third path and the fourth path by closing or opening the first switch, the second switch, the third switch and the fourth switch, so as to control the power-on start, entering the sleep state and dark current test of the sample to be tested, but this method cannot fully cover all test scenarios.
[0004] In another related technology, it is proposed to use an automatic switching and measuring circuit to replace the traditional method of manually connecting a multimeter externally for dark current testing, and automatically calculate the remaining storage duration according to the dark current value, but this method also cannot fully cover all test scenarios. Summary of the Invention
[0005] This application provides a dark current detection method, device, equipment and storage medium to at least solve the technical problem in the related technology that it is difficult to detect the dark current on the vehicle efficiently and accurately. The technical solution of this application is as follows:
[0006] According to the first aspect provided by this application, a dark current detection method is provided, including: after indicating that the vehicle reaches the test working condition state corresponding to the preset test scenario, obtaining the first dark current value corresponding to the vehicle and the second dark current value corresponding to the controller to be tested; that the vehicle reaches the test working condition state corresponding to the preset test scenario means that the vehicle turns on the first controller according to the indication to reach the test working condition state and then powers off and sleeps; the first controller is at least one of the controllers to be tested; when the first dark current value is greater than the first threshold, determining that the dark current of the vehicle is abnormal; when the dark current of the vehicle is abnormal, determining the reason for the abnormal dark current of the vehicle based on the second dark current value.
[0007] According to the above technical means, the present application can detect the dark current values of the vehicle and the controller to be tested respectively, and when the dark current of the vehicle exceeds the standard, detect the dark current value of the controller to be tested to determine which part of the dark current anomaly causes the increase of the overall dark current value, so as to timely discover and solve the dark current anomaly, reduce unnecessary power consumption, extend the service life of the storage battery, and avoid the problems that the traditional fault troubleshooting methods in the prior art may need to check each controller and circuit on the vehicle one by one, which is not only time-consuming and laborious but also prone to omission. Therefore, the present application can efficiently and accurately detect the static current on the vehicle.
[0008] In a possible implementation manner, when the dark current of the vehicle is abnormal, based on the second dark current value, determining the reason for the abnormal dark current of the vehicle includes: determining the abnormal controller based on the second dark current value of the controller to be tested and the standard dark current values of each controller to be tested preset under the preset test scenario; the second dark current value of the abnormal controller is greater than its corresponding standard dark current value; detecting the abnormal controller to determine the reason for the abnormal dark current of the vehicle.
[0009] According to the above technical means, the present application can quickly lock the abnormal controller by comparing the second dark current value of each controller with the corresponding standard dark current value, avoiding blind troubleshooting, improving the accuracy and efficiency of fault location, and thus quickly determining the specific reason for the abnormal first dark current value by detecting the abnormal controller.
[0010] In a possible implementation manner, detecting the abnormal controller to determine the reason for the abnormal dark current of the vehicle includes: determining whether the abnormal controller meets the abnormal wake-up condition, where the abnormal wake-up condition indicates that when the vehicle is in the test working condition state corresponding to the preset test scenario, at least one controller is abnormally woken up; if the abnormal wake-up condition is met, determining the reason for the abnormal first dark current based on the abnormal wake-up condition.
[0011] According to the above technical means, the present application can quickly lock the reason for the abnormal dark current by detecting the abnormal controller and determining whether it meets the abnormal wake-up condition.
[0012] In a possible implementation manner, determining whether the abnormal controller meets the abnormal wake-up condition includes: checking the messages in the network segment to which the abnormal controller belongs to determine whether there are abnormal wake-up messages in the network segment; the abnormal wake-up message is a message sent by the abnormal controller and used to trigger the wake-up of another controller, or a message sent by any controller and used to trigger the wake-up of the abnormal controller; if there are abnormal wake-up messages in the network segment, it is determined that the abnormal controller meets the abnormal wake-up condition.
[0013] According to the above technical means, the present application can accurately determine the cause of the abnormal dark current of the vehicle by detecting the abnormal controller and judging whether it meets the abnormal wake-up condition.
[0014] In a possible implementation manner, judging whether the abnormal controller meets the abnormal wake-up condition further includes: performing message troubleshooting on the network segment to which the abnormal controller belongs, and judging whether the abnormal controller is self-waking; if the abnormal controller is self-waking, it is determined that the abnormal controller meets the abnormal wake-up condition.
[0015] According to the above technical means, the present application can accurately judge whether the abnormal controller is self-waking through message troubleshooting, so as to accurately determine the cause of the abnormal dark current of the vehicle.
[0016] In a possible implementation manner, judging whether the abnormal controller meets the abnormal wake-up condition includes: if the abnormal controller does not meet the abnormal wake-up condition, confirming that the excessive dark current of the abnormal controller is the cause of the abnormal dark current of the vehicle.
[0017] According to the above technical means, the present application can more accurately determine the source of the abnormal dark current by judging whether the abnormal controller meets the abnormal wake-up condition. If the abnormal controller does not meet the abnormal wake-up condition, it can be confirmed that the excessive dark current of the abnormal controller is the cause of the abnormal dark current of the vehicle, avoiding misdiagnosis and missed diagnosis of excessive dark current, and ensuring the accuracy of diagnosis.
[0018] In a possible implementation manner, a detection report is generated; the detection report includes the cause of the abnormal dark current of the vehicle.
[0019] According to the above technical means, the present application details the cause of the abnormal dark current in the detection report, enabling maintenance personnel to quickly locate the problem and avoid misdiagnosis or missed diagnosis.
[0020] According to the second aspect provided by the present application, a dark current detection device is provided, including: an acquisition unit and a determination unit; the acquisition unit is configured to acquire a first dark current value corresponding to the vehicle and a second dark current value corresponding to a to-be-tested controller after the vehicle reaches a test working condition state corresponding to a preset test scenario; the vehicle reaching the test working condition state corresponding to the preset test scenario indicates that the vehicle turns on a first controller according to an instruction to reach the test working condition state and then powers off and enters a sleep state; the first controller is at least one of the to-be-tested controllers; the determination unit is configured to determine that the dark current of the vehicle is abnormal when the first dark current value is greater than a first threshold; the determination unit is further configured to determine the cause of the abnormal dark current of the vehicle based on the second dark current value when the dark current of the vehicle is abnormal.
[0021] In a possible implementation, the determining unit is specifically configured to: determine an abnormal controller based on the second dark current value of the controller to be tested and the standard dark current values of each controller to be tested preset under a preset test scenario; the second dark current value of the abnormal controller is greater than its corresponding standard dark current value; detect the abnormal controller to determine the cause of the abnormal dark current of the vehicle.
[0022] In a possible implementation, the determining unit is specifically configured to: determine whether the abnormal controller meets the abnormal wake-up condition, where the abnormal wake-up condition indicates that at least one controller is abnormally woken up when the vehicle is in the test working condition state corresponding to the preset test scenario; if the abnormal wake-up condition is met, determine the cause of the abnormal first dark current based on the abnormal wake-up condition.
[0023] In a possible implementation, the determining unit is specifically configured to: perform message troubleshooting on the network segment to which the abnormal controller belongs, and determine whether there is an abnormal wake-up message in the network segment; the abnormal wake-up message is a message sent by the abnormal controller and used to trigger the wake-up of another controller, or a message sent by any controller and used to trigger the wake-up of the abnormal controller;
[0024] If there is an abnormal wake-up message in the network segment, it is determined that the abnormal controller meets the abnormal wake-up condition.
[0025] In a possible implementation, the determining unit is specifically configured to: perform message troubleshooting on the network segment to which the abnormal controller belongs, and determine whether the abnormal controller wakes up by itself; if the abnormal controller wakes up by itself, it is determined that the abnormal controller meets the abnormal wake-up condition.
[0026] In a possible implementation, the determining unit is specifically configured to: if the abnormal controller does not meet the abnormal wake-up condition, confirm that the excessive dark current of the abnormal controller is the cause of the abnormal dark current of the vehicle.
[0027] In a possible implementation, the apparatus further includes: a generating unit, configured to generate a detection report; the detection report includes the cause of the abnormal dark current of the vehicle.
[0028] According to a third aspect provided by the present application, there is provided an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein, the processor is configured to execute the instructions to implement the method according to the first aspect and any possible implementation manner thereof.
[0029] According to a fourth aspect provided by the present application, there is provided a computer-readable storage medium, when the instructions in the computer-readable storage medium are executed by the processor of the electronic device, enabling the electronic device to execute the method according to the first aspect and any possible implementation manner thereof.
[0030] According to the fifth aspect provided by the present application, there is provided a computer program product, which includes computer instructions. When the computer instructions run on an electronic device, the electronic device is caused to execute the method according to the first aspect and any possible implementation manner thereof above.
[0031] Thus, the above technical features of the present application have the following beneficial effects:
[0032] (1) By separately measuring the dark current values of the vehicle and the controller to be tested, and when the dark current of the vehicle exceeds the standard, detecting the dark current value of the controller to be tested to determine which part of the dark current anomaly causes the increase in the overall dark current value, the dark current anomaly can be discovered and solved in a timely manner, unnecessary power consumption can be reduced, the service life of the storage battery can be extended, and the problem that the traditional fault troubleshooting method in the prior art may need to check each controller and circuit on the vehicle one by one, which is not only time-consuming and laborious but also prone to omission can be avoided. Therefore, the present application can efficiently and accurately detect the static current on the vehicle.
[0033] (2) By comparing the second dark current value of each controller with the corresponding standard dark current value, the abnormal controller can be quickly locked, blind troubleshooting can be avoided, and the accuracy and efficiency of fault location can be improved, so as to quickly determine the specific reason for the anomaly of the first dark current value by detecting the abnormal controller.
[0034] (3) By detecting the abnormal controller and determining whether it meets the abnormal wake-up condition, the reason for the dark current anomaly of the vehicle can be accurately determined.
[0035] (4) Through message troubleshooting, it can be accurately determined whether the abnormal controller is self-waking, so as to accurately determine the reason for the dark current anomaly of the vehicle.
[0036] (5) By determining whether the abnormal controller meets the abnormal wake-up condition, the source of the dark current anomaly can be more accurately determined. If the abnormal controller does not meet the abnormal wake-up condition, it can be confirmed that the excessive dark current of the abnormal controller is the reason for the dark current anomaly of the vehicle, avoiding misdiagnosis and missed diagnosis of excessive dark current and ensuring the accuracy of diagnosis.
[0037] (6) The detection report details the reason for the dark current anomaly, enabling maintenance personnel to quickly locate the problem and avoid misdiagnosis or missed diagnosis.
[0038] It should be noted that the technical effects brought by any implementation manner in the second aspect to the fifth aspect can be referred to the technical effects brought by the corresponding implementation manner in the first aspect, which will not be elaborated here.
[0039] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present application. Description of the Drawings
[0040] The drawings herein are incorporated into and constitute a part of this specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application, and do not constitute an improper limitation of the present application.
[0041] Figure 1 is a schematic structural diagram of a dark current detection system shown according to an exemplary embodiment;
[0042] Figure 2 is a schematic hardware structure diagram of a dark current detection device shown according to an exemplary embodiment;
[0043] Figure 3 is a flowchart of a dark current detection method shown according to an exemplary embodiment;
[0044] Figure 4 is a schematic diagram of a dark current detection process shown according to an exemplary embodiment;
[0045] Figure 5 is a schematic diagram of a process for detecting the cause of excessive dark current shown according to an exemplary embodiment;
[0046] Figure 6 is a block diagram of a dark current detection device shown according to an exemplary embodiment;
[0047] Figure 7 is a block diagram of an electronic device shown according to an exemplary embodiment. Detailed Embodiments
[0048] In order to enable those of ordinary skill in the art to better understand the technical solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.
[0049] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and do not necessarily have to be used to describe a specific order or sequence. It should be understood that such used data can be interchanged under appropriate circumstances so that the embodiments of the present application described herein can be implemented in an order different from those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0050] In the embodiments of the present application, words such as "exemplary", "for example", or "such as" are used to indicate examples, illustrations, or explanations. Any embodiment or design solution described as "exemplary", "for example", or "such as" in the embodiments of the present application should not be construed as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplary", "for example", or "such as" is intended to present relevant concepts in a specific manner.
[0051] First, some terms and related technologies involved in the present application are explained to facilitate understanding by those skilled in the art.
[0052] Dark current: Dark current refers to the current flowing in light-receiving elements such as solar cells, photodiodes, photoconductive elements, phototubes, etc., and certain electronic devices under the condition of no light illumination or signal radiation. The dark current in a vehicle refers to the tiny current that still exists inside the controller after the vehicle is turned off and all electrical switches are disconnected. This current is usually generated by the internal circuits, components, and connection lines of the controller. This is because some controllers (such as the audio control unit, air conditioner control unit, etc.) need to be powered continuously to maintain their internal data memory functions, such as the audio control unit remembering the listened frequency bands, and the air conditioner control unit remembering the settings of the wind direction and wind speed. These controllers will still have a tiny current consumption after the vehicle is turned off to maintain their data memory functions.
[0053] With the continuous progress of new energy vehicle technology, its intelligent level is increasing day by day, and its functions are becoming more and more diverse. However, the realization of these functions all depends on the power provided by the low-voltage battery. In order to extend the parking time of the vehicle and reduce the power consumption of the low-voltage battery, in addition to ensuring that necessary controllers obtain a stable power supply, it is also necessary to strictly control its static current, that is, the so-called "dark current", so that it fluctuates within a reasonable range.
[0054] Once the dark current exceeds the specified standard, it will not only significantly shorten the parking time of the vehicle, but also seriously affect the performance and lifespan of the low-voltage battery. More seriously, the excessive dark current may cause the battery power to be quickly exhausted, making users frequently encounter the dilemma of being unable to start the vehicle. Therefore, strict requirements must be put forward for the dark current of each electronic component in new energy vehicles, and comprehensive testing work must be carried out.
[0055] In a related technology, it is proposed to control the conduction sequence and the number of simultaneous conductions of the first path, the second path, the third path, and the fourth path by closing or opening the first switch, the second switch, the third switch, and the fourth switch, so as to control the power-on startup, entering the sleep state, and dark current testing of the sample to be tested, but this method cannot fully cover all test scenarios.
[0056] In another related technology, it is proposed to use an automatic switching and measuring circuit to replace the traditional method of manually connecting a multimeter externally to perform dark current testing, and automatically calculate the remaining storage duration based on the dark current value. However, this method also cannot fully cover all test scenarios.
[0057] As described in the background art, to solve the problem of difficult and inaccurate testing of static current on vehicles in related technologies, the present application provides a dark current detection method. After indicating that the vehicle reaches the test working condition state corresponding to the preset test scenario, it can obtain the first dark current value corresponding to the vehicle and the second dark current value corresponding to the controller to be tested. And when the first dark current value is greater than the first threshold, it is determined that the dark current of the vehicle is abnormal. Further, when the dark current of the vehicle is abnormal, based on the second dark current value, the cause of the abnormal dark current of the vehicle is determined. Among them, the vehicle reaching the test working condition state corresponding to the preset test scenario can be used to represent that the vehicle turns on the first controller according to the indication to reach the test working condition state and then powers off and enters the sleep state. The first controller can be at least one of the controllers to be tested.
[0058] Figure 1 Fig. shows a schematic structural diagram of a dark current detection system 100.
[0059] In a possible implementation manner, the dark current detection system 100 may include a dark current detection device 101 and a data acquisition device 102.
[0060] Optionally, Figure 1 A communication connection can be established between the dark current detection device 101 and the data acquisition device 102 in. A communication connection can be established between the dark current detection system 100 and the external device vehicle 103.
[0061] In practical applications, the dark current detection device 101 can be communicatively connected to one or more data acquisition devices 102. A communication connection can be established between the dark current detection system 100 and one or more vehicles 103.
[0062] For ease of understanding, the present application takes the communication connection between one dark current detection device 101 and one data acquisition device 102, and the communication connection between the dark current detection system 100 and one vehicle 103 as an example for illustration.
[0063] Optionally, Figure 1 The dark current detection device 101 and the data acquisition device 102 in can be functional modules integrated in the same device, or can be devices independently set. The present application does not limit this.
[0064] It is easy to understand that when the dark current detection device 101 and the data acquisition device 102 are functional modules integrated in the same device, the communication method between the dark current detection device 101 and the data acquisition device 102 is the communication between internal modules of the device. In this case, the communication process between the two is the same as the "communication process when the dark current detection device 101 and the data acquisition device 102 are independently arranged".
[0065] For ease of understanding, this application mainly takes the case where the dark current detection device 101 and the data acquisition device 102 are independently arranged as an example for illustration.
[0066] Figure 1 The dark current detection device 101 in can instruct the vehicle 103 to turn on the first controller to reach the test working condition state and then power off and go to sleep. After the vehicle reaches the test working condition state corresponding to the preset test scenario, the data acquisition device 102 can collect the first dark current value corresponding to the vehicle and the second dark current value corresponding to the controller to be tested, and send the first dark current value and the second dark current value to the dark current detection device 101. When the first dark current value is greater than the first threshold, the dark current detection device 101 determines that the dark current of the vehicle is abnormal. Further, when the dark current of the vehicle is abnormal, based on the second dark current value, the reason for the abnormal dark current of the vehicle is determined.
[0067] Optionally, Figure 1 The dark current detection device 101 in can be a terminal, a server, or other types of electronic devices. Figure 1 What is shown in is only an example of the device form of the dark current detection device 101, and does not limit it.
[0068] When the dark current detection device 101 is a terminal, the terminal can be a device that provides voice and / or data connectivity to the user, a handheld device with a wireless connection function, or other processing devices connected to a wireless modem. The terminal can communicate with one or more core networks via a radio access network (RAN). The terminal can be a mobile terminal, such as a computer with a mobile terminal, or a mobile device built into the vehicle 100, which exchange language and / or data with the wireless access network. For example, mobile phones, tablets, laptops, netbooks, personal digital assistants (PDAs). This application does not make any restrictions on this.
[0069] When the dark current detection device 101 is a server, the server can be a single server, or can also be a server cluster composed of multiple servers. In some embodiments, the server cluster can also be a distributed cluster. This application does not impose any restrictions on this.
[0070] It should be noted that the structure illustrated in the embodiments of this application does not limit the dark current detection system 100. It may include more or fewer components than shown, or combine certain components, or split certain components, or have different component arrangements. The illustrated components can be implemented in hardware, software, or a combination of software and hardware.
[0071] Next, the application scenarios of the dark current detection method provided by the embodiments of this application will be described.
[0072] As can be seen from the above, the dark current detection method of this application is mainly applied to the dark current detection scenario of vehicles. Please refer to Figure 2 , Figure 2 FIG. is a schematic hardware structure diagram of a dark current detection device, which includes an interaction interface 201, a processing module 202, a communication module 203, a power management module 204, and an external interface 205.
[0073] The interaction interface 201 is also called the user interface and is the main interface for the user to interact with the dark current detection device. The interaction interface 201 can include a display screen, buttons, knobs, etc., and is used to display measurement results, set parameters, control the detection process, etc.
[0074] The processing module 202 is the core part of the dark current detection device and is responsible for processing signals from the sensor, performing calculations and analyses to obtain the value of the dark current. The processing module 202 may include a microprocessor, a digital signal processor, or an application-specific integrated circuit, etc.
[0075] The communication module 203 is responsible for realizing the communication between the dark current detection device and other devices or systems. The communication module 203 can include a wired communication interface and a wireless communication interface, and is used to transmit measurement results, receive control instructions, etc.
[0076] The power management module 204 is responsible for providing a stable power supply for the dark current detection device and the controller of the vehicle, and managing the distribution and use of power. The power management module 204 includes a plurality of controllable power supplies, and the plurality of controllable power supplies can be
[0077] electrically connected to a plurality of controllers on the vehicle one by one.
[0078] The external interface 205 is used to connect to external devices or sensors for connection and data transmission with other devices.
[0079] Optionally, the dark current detection device can be connected to the vehicle through an external interface. Then, the user can select a test scenario, issue commands, and set the dark current threshold through the interaction interface of the dark current detection device. Alternatively, the dark current detection device can be connected to the terminal through a network, and the user can select a test scenario, issue commands, and set the first threshold and the standard dark current value of the controller under test through the terminal.
[0080] Optionally, the user can, according to the test requirements, select to test single controllers one by one or combine multiple controllers into a scenario for testing.
[0081] In a possible implementation manner, after determining the test scenario, the dark current detection device can issue corresponding commands according to the determined test scenario, and after reaching the test scenario, issue a power-down and sleep command to perform the test and determine the test result.
[0082] The vehicle for dark current detection in the embodiments of the present application can also be referred to as a vehicle, a mobile carrier, an electric vehicle (EV), a hybrid electric vehicle (HEV), a plug-in hybrid electric vehicle (PHEV), a fuel cell vehicle (FCV), an autonomous vehicle, an intelligent and connected vehicle (ICV), a driverless vehicle, etc.
[0083] In the embodiments of the present application, the vehicle can be a sedan, a sport utility vehicle (SUV), a truck, an electric vehicle, a motorcycle, a tricycle, a special vehicle (such as an ambulance, a fire truck, a police car, etc.), a driverless taxi, an intelligent and connected bus, an autonomous logistics vehicle, an electric truck, etc. In addition, the method is also applicable to various special vehicles, such as agricultural vehicles, mining vehicles, forestry vehicles, airport vehicles, port vehicles, etc. The present application does not make specific limitations thereto.
[0084] The following will describe in detail the dark current detection method in the embodiments of the present application with reference to the drawings.
[0085] Figure 3 is a flowchart of a dark current detection method shown according to an exemplary embodiment. As Figure 3 shown, the dark current detection method includes the following steps: S301 - S303.
[0086] S301. After the vehicle reaches the test condition state corresponding to the preset test scenario, obtain the first dark current value corresponding to the vehicle and the second dark current value corresponding to the to-be-tested controller.
[0087] Among them, the vehicle reaching the test condition state corresponding to the preset test scenario can be used to represent that the vehicle turns on the first controller according to the instruction to reach the test condition state and then powers off and enters the sleep state. The first controller can be at least one of the to-be-tested controllers.
[0088] In a possible implementation manner, the dark current detection device can receive the test scenario selected by the user. The test scenario can include the test conditions selected by the user. And the user can, according to the test needs, select a single test condition for individual testing or combine multiple conditions into one scenario for testing. The dark current detection device can determine the first controller according to the test scenario selected by the user, so as to instruct to turn on the first controller to reach the test condition state and then power off and enter the sleep state.
[0089] Exemplarily, as Figure 4 shown, Figure 4 is a schematic diagram of a dark current detection process. The user can select the test scenario and test conditions. Among them, the test conditions can include Test Condition 1: turn on the low beam headlight, Test Condition 2: turn on the overhead light, Test Condition 3: turn on the seat ventilation, Test Condition 4: turn on the windshield wiper, etc. For example, Test Scenario 1 is Test Condition 1 and Test Condition 2, that is, turn on the low beam headlight and the overhead light. Test Scenario 2 is Test Condition 2 and Test Condition 3, that is, turn on the seat ventilation and the overhead light. Test Scenario 3 is Test Condition 1, Test Condition 2 and Test Condition 3, that is, turn on the low beam headlight, the overhead light and the seat ventilation. Test Scenario 4 is Test Condition 3 and Test Condition 4, that is, turn on the seat ventilation and the windshield wiper. Among them, the first controller corresponding to turning on the low beam headlight can be Controller 1, the first controller corresponding to turning on the overhead light can be Controller 2, the first controller corresponding to turning on the seat ventilation can be Controller 3, and the first controller corresponding to turning on the windshield wiper can be Wiper Controller 4.
[0090] Optionally, the user can choose to turn on the low beam headlight, turn on the overhead light, turn on the seat ventilation, turn on the windshield wiper, and select the test method as combined test, that is, turn on the low beam headlight, turn on the overhead light, turn on the seat ventilation, turn on the windshield wiper at the same time, and detect the dark current of the vehicle under this test scenario. The user can choose to turn on the low beam headlight, turn on the overhead light, and select the test method as individual test, that is, individually test the test conditions of turning on the low beam headlight and turning on the overhead light.
[0091] In a possible implementation, the user can set a first threshold and the standard dark current values of each controller to be tested preset under a preset test scenario in the interaction interface. Among them, the first threshold is the dark current threshold corresponding to the vehicle. The standard dark current values of each controller to be tested preset under the preset test scenario are the thresholds corresponding to the controllers to be tested
[0092] Exemplarily, the first threshold can be I 0 mA, and the standard dark current value corresponding to Controller 1 can be I 1 mA, the standard dark current value corresponding to Controller 2 can be I 2 mA, the standard dark current value corresponding to Controller 3 can be I 3 mA, and the standard dark current value corresponding to Controller 4 can be I 4 mA.
[0093] In a possible implementation, the dark current detection device can perform dark current detection on the vehicle based on the test scenario, test method, first threshold, and standard dark current value selected by the user.
[0094] Specifically, when the vehicle is in the powered-on state, the dark current detection device can, based on the test scenario, instruct the vehicle to send an activation command to the controller to be tested. After receiving the activation command, the controller to be tested activates the corresponding function. The dark current detection device can send a power-off command to the vehicle after the controller to be tested activates the corresponding function. After receiving the power-off command, the vehicle powers off and enters sleep mode. After the vehicle has powered off and slept for a preset duration, the dark current detection device can perform dark current detection on the vehicle, that is, the dark current detection device, in response to the vehicle being in the powered-off state and the controller to be tested being in the activated state, obtains the first dark current value of the vehicle and the second dark current value of the controller to be tested.
[0095] Exemplarily, in combination with Figure 4, The dark current detection device can start the test when the test scenario is set up, otherwise reset the test scenario. When the test scenario is to turn on the low beam and the front light, the dark current detection device can, when the vehicle is in the powered-on state, based on the test scenario, instruct the vehicle to send a low beam turn-on command to Controller 1 (for example, the low beam turn-on command can be 00 60 00 00 00 00 00 00), and instruct the vehicle to send a front light turn-on command to Controller 2 (for example, the front light turn-on command can be 00 08 00 00 04 00 00 00). Controller 1 turns on the low beam in response to the low beam turn-on command. Controller 2 turns on the front light in response to the front light turn-on command and sends a feedback signal to the dark current detection device (for example, the feedback signal can be 40 00 00 00 40 00 00 00). After the low beam and the front light are turned on, the dark current detection device can send a post-power-down sleep command to the vehicle (for example, the post-power-down sleep command can be 4000 00 00 40 00 00 00). After the vehicle has powered down and slept for a preset duration, the dark current detection device can obtain the first dark current value of the vehicle and the second dark current value of the controller under test.
[0096] Optionally, the preset duration can be set according to actual needs. For example, the preset duration can be 30 minutes or 1 hour. This application does not make specific restrictions on this.
[0097] S302. When the first dark current value is greater than the first threshold, determine that the dark current of the vehicle is abnormal.
[0098] Specifically, the dark current detection device can determine whether the overall vehicle dark current meets the preset requirements, that is, determine whether the first dark current value is less than or equal to the first threshold. The dark current detection device can determine that the overall vehicle dark current meets the preset requirements when the first dark current value is less than or equal to the first threshold, or the dark current detection device can determine that the dark current of the vehicle exceeds the standard, that is, determine that the dark current of the vehicle is abnormal, when the first dark current value is greater than the first threshold.
[0099] Exemplarily, combined with Figure 4 , when the dark current detection device passes the test in Test Scenario 1, that is, when the first dark current value of the vehicle in Test Scenario 1 is less than or equal to the first threshold, determine whether there is still a test scenario to be detected. When there is a test scenario to be tested, the dark current detection device can test the test scenario to be tested, that is, the dark current detection device can test Test Scenario 2.
[0100] Alternatively, when the dark current detection device fails the test in Test Scenario 1, that is, when the first dark current value of the vehicle in Test Scenario 1 is greater than the first threshold, it can determine that the dark current of the vehicle is abnormal, so as to further investigate the cause of Test Scenario 1 and determine the reason for the abnormal dark current of the vehicle in Test Scenario 1. The dark current detection device can determine whether there are still test scenarios to be detected, and further test the test scenarios to be detected. That is, the dark current detection device can test Test Scenario 2.
[0101] When the dark current detection device passes the test in Test Scenario 2, that is, when the first dark current value of the vehicle in Test Scenario 2 is less than or equal to the first threshold, it can determine whether there are still test scenarios to be detected. When there are test scenarios to be detected, the dark current detection device can test the test scenarios to be detected. That is, the dark current detection device can test Test Scenario 3.
[0102] Alternatively, when the dark current detection device fails the test in Test Scenario 2, that is, when the first dark current value of the vehicle in Test Scenario 2 is greater than the first threshold, it can determine that the dark current of the vehicle is abnormal, so as to further investigate the cause of Test Scenario 2 and determine the reason for the abnormal dark current of the vehicle in Test Scenario 2. The dark current detection device can determine whether there are still test scenarios to be detected, and further test the test scenarios to be detected. That is, the dark current detection device can test Test Scenario 3.
[0103] When the dark current detection device passes the test in Test Scenario 3, that is, when the first dark current value of the vehicle in Test Scenario 3 is less than or equal to the first threshold, it can determine whether there are still test scenarios to be detected. When there are test scenarios to be detected, the dark current detection device can test the test scenarios to be detected. That is, the dark current detection device can test Test Scenario 4.
[0104] Alternatively, when the dark current detection device fails the test in Test Scenario 3, that is, when the first dark current value of the vehicle in Test Scenario 3 is greater than the first threshold, it can determine that the dark current of the vehicle is abnormal, so as to further investigate the cause of Test Scenario 3 and determine the reason for the abnormal dark current of the vehicle in Test Scenario 3. The dark current detection device can determine whether there are still test scenarios to be detected, and further test the test scenarios to be detected. That is, the dark current detection device can test Test Scenario 4.
[0105] When the dark current detection device can test that the test scenario 4 passes the test, that is, when the first dark current value of the vehicle in test scenario 4 is less than or equal to the first threshold, it is determined whether there are still test scenarios to be detected. The dark current detection device can test the test scenario to be tested if there is a test scenario to be tested, otherwise the process ends.
[0106] When the dark current detection device can test that the test scenario 4 fails the test, that is, when the first dark current value of the vehicle in test scenario 4 is greater than the threshold, the reason for the failure of test scenario 4 is investigated, the reason for the abnormal dark current of the vehicle in test scenario 4 is determined, and it is judged whether there are still test scenarios to be detected, so as to further test the test scenario to be tested if there is a test scenario to be tested, otherwise the process ends.
[0107] S303. When the dark current of the vehicle is abnormal, based on the second dark current value, determine the reason for the abnormal dark current of the vehicle.
[0108] In a possible implementation manner, the dark current detection device can determine the abnormal controller based on the second dark current value of the controller to be tested and the standard dark current values of each controller to be tested preset under the preset test scenario. The dark current detection device can detect the abnormal controller to determine the reason for the abnormal dark current of the vehicle. For the specific implementation manner of the dark current detection device to determine the reason for the abnormal dark current of the vehicle based on the second dark current value when the dark current of the vehicle is abnormal, reference can be made to S401-S402 below. Details are not described herein again.
[0109] Based on Figure 2 In the technical solution of, the present application can measure the dark current values of the vehicle and the controller to be tested respectively, and when the dark current of the vehicle exceeds the standard, detect the dark current value of the controller to be tested to determine which part of the abnormal dark current causes the increase of the overall dark current value, so as to timely discover and solve the abnormal dark current, reduce unnecessary power consumption, extend the service life of the storage battery, and avoid the problems that the traditional fault troubleshooting method in the prior art may need to check each controller and circuit on the vehicle one by one, which is not only time-consuming and laborious, but also easy to miss. Therefore, the present application can efficiently and accurately detect the static current on the vehicle.
[0110] In some embodiments, in order to determine the reason for the abnormal dark current of the vehicle based on the second dark current value when the dark current of the vehicle is abnormal, the dark current detection method includes the following steps: S401-S402.
[0111] S401. Based on the second dark current value of the controller to be tested and the standard dark current values of each controller to be tested preset under the preset test scenario, determine the abnormal controller.
[0112] Among them, the second dark current value of the abnormal controller is greater than its corresponding standard dark current value.
[0113] In a possible implementation manner, the abnormal controller can be used to represent the controller with an excessive dark current in the to-be-tested controller, that is, the controller in the to-be-tested controller with a dark current greater than the preset standard dark current value.
[0114] Exemplarily, the dark current detection device can determine that the dark current value of Controller 1 is i 1 , the dark current of Controller 2 is i 2 , the dark current of Controller 3 is i 3 , the dark current of Controller 4 is i 4 . The dark current detection device can determine that the standard dark current value corresponding to Controller 1 can be I 1 , the standard dark current value corresponding to Controller 2 can be I 2 , the standard dark current value corresponding to Controller 3 can be I 3 , the standard dark current value corresponding to Controller 4 can be I 4 . After comparison, the dark current detection device determines that i 1 is greater than I 1 , i 2 is greater than I2 1 , i 2 is greater than I 2 , i 2 is greater than I 2 , that is, Controller 1, Controller 2, Controller 3, and Controller 4 are abnormal controllers.
[0115] S402. Detect the abnormal controller to determine the reason for the abnormal dark current of the vehicle.
[0116] In a possible implementation manner, the dark current detection device can determine whether the abnormal controller meets the abnormal wake-up condition. The abnormal wake-up condition can be used to represent that when the vehicle is in the test working condition state corresponding to the preset test scenario, at least one controller is abnormally woken up. If the abnormal wake-up condition is met, the reason for the abnormal first dark current is determined based on the abnormal wake-up condition. The dark current detection device determines whether the abnormal controller meets the abnormal wake-up condition, which can refer to S501 - S502 below. Details are not described here again.
[0117] In another possible implementation manner, if the abnormal controller does not meet the abnormal wake-up condition, the dark current detection device can confirm that the excessive dark current of the abnormal controller is the reason for the abnormal dark current of the vehicle.
[0118] Exemplarily, the dark current detection device determines whether there are messages sent by the abnormal controller during vehicle power-off and sleep in the network segment involved by the abnormal controller. For example, the dark current detection device can analyze the network messages to determine that controllers 1, 2, and 3 all have messages and are in the network wake-up state, and determine that controller 4 has no message and controller 4 is in the network sleep state. The dark current detection device can determine controller 4 as the abnormal controller without messages and determine controllers 1, 2, and 3 as the controllers with messages.
[0119] Exemplarily, the dark current detection device can turn off controller 4 and determine whether the decrease value of the first dark current value of the vehicle after controller 4 is turned off is consistent with the second dark current value i of controller 4. 4 If the decrease value is consistent with i 4 , it is determined that the dark current detection device can i 4 is greater than the standard dark current value I corresponding to controller 4 4 is the reason for the abnormal dark current of the vehicle. The dark current detection device can record that the dark current of controller 4 exceeds the standard, the value is i 4 and there is no message. Similarly, in the case where controllers 1, 2, and 3 are abnormal controllers without messages, the judgment can also be made and recorded according to the above method. For example, the dark current of controller 1 exceeds the standard, the value is i 1 and there is no message, the dark current of controller 2 exceeds the standard, the value is i 2 and there is no message, the dark current of controller 2 exceeds the standard, the value is i 2 and there is no message.
[0120] Based on this, the present application can quickly lock the abnormal controller by comparing the second dark current value of each controller with the corresponding standard dark current value, avoiding blind troubleshooting, improving the accuracy and efficiency of fault location, and thus quickly determining the specific reason for the abnormal first dark current value by detecting the abnormal controller.
[0121] In some embodiments, in order to detect the third controller and determine the reason for the abnormal dark current of the vehicle, the dark current detection method includes the following steps: S501-S502.
[0122] S501. Check the messages in the network segment to which the abnormal controller belongs and determine whether there are abnormal wake-up messages in the network segment.
[0123] Among them, the abnormal wake-up message can be a message sent by the abnormal controller and used to trigger the wake-up of another controller, or a message sent by any controller and used to trigger the wake-up of the abnormal controller.
[0124] In a possible implementation, the dark current detection device can perform message troubleshooting on the network segment to which the abnormal controller belongs, and determine the reasons for maintaining wake-up at the network management message level and issued by the controller.
[0125] Exemplarily, the dark current detection device can determine through message troubleshooting that Controller 1 is not in the sleep state due to Reason 1, and Controller 1 wakes up Controller 2 through network management, resulting in the entire network not sleeping, that is, there is a message sent by Controller 1 in the network segment and used to trigger the wake-up of Controller 2.
[0126] S502. If there is an abnormal wake-up message in the network segment, determine that the abnormal controller meets the abnormal wake-up condition.
[0127] In a possible implementation, after determining that the abnormal controller meets the abnormal wake-up condition, the dark current detection device can determine that the reason for the abnormal wake-up condition of the abnormal controller is the abnormal dark current of the vehicle.
[0128] In another possible implementation, perform message troubleshooting on the network segment to which the abnormal controller belongs, and determine whether the abnormal controller wakes up by itself. If the abnormal controller wakes up by itself, the dark current detection device can determine that the abnormal controller meets the abnormal wake-up condition.
[0129] Exemplarily, the dark current detection device can determine Controllers 1, 2, and 3 with excessive dark current and messages. The dark current detection device can perform matching of over-standard controllers in the wake-up network segment for Controllers 1, 2, and 3, determine Controllers 1 and 2 within the wake-up range, and determine Controller 3 outside the wake-up range, that is, the self-waking Controller 3.
[0130] The dark current detection device can verify Controllers 1 and 2, determine whether the dark current value of Controller 2 is less than the standard dark current value corresponding to Controller 2 after turning off Controller 1, and when the dark current value of Controller 2 is less than the standard dark current value corresponding to Controller 2 after turning off Controller 1, determine that Controller 1 is the reason for the abnormal dark current of the vehicle, and record that Controller 1 is woken up due to Reason 1 and sends a message to wake up Controller 2, resulting in excessive dark current.
[0131] Or, when the dark current value of Controller 2 is greater than or equal to the standard dark current value corresponding to Controller 2 after turning off Controller 1, Controller 2 can be turned off, and determine whether the decrease value of the first dark current value of the vehicle after turning off Controller 2 is consistent with the second dark current value i 2 of Controller 2, and when the decrease value is consistent with i 2 of Controller 2, determine that i 2 is greater than the standard dark current value I corresponding to Controller 2 2The reason for the abnormal dark current of the vehicle. The dark current detection device can record that the dark current of the controller 2 exceeds the standard, and the value is i 2 , and there is a message.
[0132] The dark current detection device can turn off the controller 3. After determining that the controller 3 is turned off, it can determine whether the decrease value of the first dark current value of the vehicle is consistent with the second dark current value i of the controller 3 3 , and when the decrease value is consistent with i 3 , it is determined that the reason for the abnormal dark current of the vehicle is that the second dark current value of the controller 3 is greater than the standard dark current value, that is, the self-wake-up of the controller 3 is the reason for the abnormal dark current of the vehicle. The dark current detection device can record that the dark current of the controller 3 exceeds the standard, and the value is i 3 , and there is a message.
[0133] Based on this, the present application can accurately determine the reason for the abnormal dark current of the vehicle by detecting the abnormal controller and determining whether it meets the abnormal wake-up condition.
[0134] In some embodiments, as Figure 5 shown, Figure 5 is a schematic diagram of a detection process for the reason of excessive dark current provided by the present application.
[0135] When the dark current of the whole vehicle exceeds the standard, the dark current detection device can conduct a dark current investigation on the controller to be tested to determine the abnormal controller with excessive dark current. The dark current detection device can conduct a network investigation on the first controller to determine the second controller without a message and the third controller with a message.
[0136] The dark current detection device can conduct verification 1 on the second controller, that is, determine whether the decrease value of the dark current value of the vehicle is consistent with the second dark current of the second controller after turning off the second controller. When the decrease value is consistent with the second dark current, the dark current detection device can record the excessive standard controller and the dark current value; otherwise, conduct a dark current investigation on the controller to be tested again.
[0137] The dark current detection device can conduct a message belonging network segment investigation on the third controller to determine the network segment where the third controller is located. The dark current detection device can conduct a wake-up state screening for the controllers in each network segment. For example, confirm that the controller 1, the controller 2, and the controller 3 all have messages and are in the network wake-up state.
[0138] After the dark current detection device completes the screening of the wake-up states of the controllers in each network segment, it can perform matching of the controllers in the wake-up network segment that exceed the standard, that is, determine the controllers within the wake-up range and the controllers outside the wake-up range. For example, after the dark current detection device completes the screening of the wake-up states of the controllers in each network segment, it can perform matching of the controllers in the wake-up network segment that exceed the standard. If it is determined that Controller 1, Controller 2, and Controller 3 are consistent with the screening results of the wake-up states of the controllers in each network segment, then it is determined that Controller 3, which does not belong to the network management scope but belongs to a specific external wake-up, and it is determined that Controller 1 and Controller 2 are controllers within the wake-up range such as network management scope controllers or multi-scenario wake-up controllers.
[0139] The dark current detection device can perform Verification 2 on the controllers within the wake-up range, that is, the fourth controller and the fifth controller. Verification 2 includes, after turning off the fourth controller, determining whether the dark current value of the fifth controller is less than the standard dark current value. The dark current detection device can, after turning off the fourth controller, if the dark current value of the fifth controller is less than the standard dark current value, determine that the fourth controller is the cause of the abnormal dark current of the vehicle. Otherwise, re-screen the wake-up states of the controllers in each network segment.
[0140] Exemplarily, the dark current detection device can turn off Controller 1 and determine the dark current value i of Controller 2 2 . The dark current detection device can, when i 2 is less than or equal to the standard dark current value I 2 , determine that Controller 1 is the cause of the abnormal dark current of the vehicle.
[0141] The dark current detection device can record the controllers outside the wake-up range, that is, record the controllers that exceed the standard and the dark current values.
[0142] The dark current detection device can also, after completing the screening of the wake-up states of the controllers in each network segment, perform screening of the controllers that maintain wake-up and the reasons, and perform Verification 2 on the screening results, so as to further determine whether the overall vehicle dark current still exceeds the standard after excluding an abnormal controller. The dark current detection device can, when the overall vehicle dark current still exceeds the standard after excluding an abnormal controller, perform screening of the wake-up states of the controllers in each network segment. The dark current detection device can, when the overall vehicle dark current does not exceed the standard after excluding an abnormal controller, record the abnormal controller and the reason for not sleeping.
[0143] Figure 6 is a block diagram of a dark current detection device shown according to an exemplary embodiment. Refer to Figure 6 , this dark current detection device includes: an acquisition unit 601, a determination unit 602, and a generation unit 603.
[0144] In a possible implementation manner, an acquisition unit 601 is configured to acquire a first dark current value corresponding to a vehicle and a second dark current value corresponding to a to-be-tested controller after indicating that the vehicle reaches a test working condition state corresponding to a preset test scenario.
[0145] In a possible implementation manner, a determination unit 602 is configured to determine that the dark current of the vehicle is abnormal when the first dark current value is greater than a first threshold.
[0146] In a possible implementation manner, the determination unit 602 is further configured to determine the reason for the abnormal dark current of the vehicle based on the second dark current value when the dark current of the vehicle is abnormal.
[0147] In a possible implementation manner, the determination unit 602 is specifically configured to: determine an abnormal controller based on the second dark current value of the to-be-tested controller and the standard dark current values of each to-be-tested controller preset under a preset test scenario. Detect the abnormal controller to determine the reason for the abnormal dark current of the vehicle.
[0148] In a possible implementation manner, the determination unit 602 is specifically configured to: determine whether the abnormal controller meets an abnormal wake-up condition. If the abnormal wake-up condition is met, determine the reason for the abnormality of the first dark current based on the abnormal wake-up condition.
[0149] In a possible implementation manner, the determination unit 602 is specifically configured to: perform message troubleshooting on the network segment to which the abnormal controller belongs, and determine whether there is an abnormal wake-up message in the network segment. If there is an abnormal wake-up message in the network segment, determine that the abnormal controller meets the abnormal wake-up condition.
[0150] In a possible implementation manner, the determination unit 602 is specifically configured to: perform message troubleshooting on the network segment to which the abnormal controller belongs, and determine whether the abnormal controller is self-waking. If the abnormal controller is self-waking, determine that the abnormal controller meets the abnormal wake-up condition.
[0151] In a possible implementation manner, the determination unit 602 is specifically configured to: if the abnormal controller does not meet the abnormal wake-up condition, confirm that the excessive dark current of the abnormal controller is the reason for the abnormal dark current of the vehicle.
[0152] In a possible implementation manner, a generation unit 603 is configured to: generate a detection report; the detection report includes the reason for the abnormal dark current of the vehicle.
[0153] Regarding the device in the above embodiments, the specific manners in which each module performs operations have been described in detail in the embodiments related to the method, and will not be elaborated here.
[0154] Figure 7is a block diagram of an electronic device shown according to an exemplary embodiment. As Figure 7 shown, the electronic device includes, but is not limited to: a processor 701 and a memory 702.
[0155] Among them, the above-mentioned memory 702 is used to store executable instructions of the above-mentioned processor 701. It can be understood that the above-mentioned processor 701 is configured to execute instructions to implement the dark current detection method in the above-mentioned embodiment.
[0156] It should be noted that those skilled in the art can understand that Figure 7 the structure of the electronic device shown in Figure 7 does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than
[0157] shown, or combine certain components, or have different component arrangements.
[0158] The processor 701 is the control center of the electronic device, connecting various parts of the entire electronic device using various interfaces and lines. By running or executing software programs and / or modules stored in the memory 702, and by calling data stored in the memory 702, it executes various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. The processor 701 may include one or more processing units. Optionally, the processor 701 may integrate an application processor and a modem processor. Among them, the application processor mainly processes the operating system, user interface, and application programs, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor may not be integrated into the processor 701 either.
[0159] In an exemplary embodiment, there is also provided a computer-readable storage medium including instructions, such as the memory 702 including instructions. The above-mentioned instructions can be executed by the processor 701 of the electronic device to implement the method in the above-mentioned embodiment.
[0160] In actual implementation, Figure 6 the functions of the acquisition unit 601, the determination unit 602, and the generation unit 603 in Figure 7 can all be implemented by the processor 701 in calling the computer program stored in the memory 702. The specific execution process can refer to the description of the method part in the above embodiment and will not be elaborated here.
[0161] Optionally, the computer-readable storage medium may be a non-transitory computer-readable storage medium. For example, the non-transitory computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
[0162] In an exemplary embodiment, the embodiments of the present application further provide a computer program product including one or more instructions, and the one or more instructions can be executed by a processor 701 of an electronic device to complete the method in the above embodiments.
[0163] It should be noted that when the instructions in the above computer-readable storage medium or the one or more instructions in the computer program product are executed by the processor of the electronic device, each process of the above method embodiments is implemented, and the same technical effects as the above method can be achieved. To avoid repetition, it will not be elaborated here.
[0164] Through the description of the above embodiments, those skilled in the art can clearly understand that for the convenience and conciseness of description, only the above division of each functional module is used as an example. In actual applications, the above functions can be allocated to different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above.
[0165] In several embodiments provided by the present application, it should be understood that the disclosed device and method can be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of modules or units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point, the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of the device or unit can be in an electrical, mechanical or other form.
[0166] The unit described as a separated component may or may not be physically separated, and the component displayed as a unit may be a physical unit or multiple physical units, that is, it may be located in one place, or may be distributed to multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0167] In addition, in each embodiment of the present application, the functional units can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
[0168] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiments of the present application, in essence, or the part that contributes to the prior art, or all or part of this technical solution can be embodied in the form of a software product. The software product is stored in a storage medium and includes several instructions for causing a device (which can be a single-chip microcomputer, a chip, etc.) or a processor to execute all or part of the steps of the methods of the embodiments of the present application. The aforementioned storage medium includes: USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical discs and other various media that can store program codes. The above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A dark current detection method, characterized in that: The method comprises: After indicating that the vehicle has reached the test condition state corresponding to the preset test scenario, a first dark current value corresponding to the vehicle and a second dark current value corresponding to the controller to be tested are obtained; the vehicle reaching the test condition state corresponding to the preset test scenario is characterized in that: the vehicle turns on the first controller according to the instruction to reach the test condition state and powers off and sleeps; the first controller is at least one controller among the controllers to be tested; When the first dark current value is greater than a first threshold, determining that the dark current of the vehicle is abnormal; In a case where the dark current of the vehicle is abnormal, a cause of the abnormal dark current of the vehicle is determined based on the second dark current value.
2. The method according to claim 1, characterized in that In the case where the dark current of the vehicle is abnormal, determining a cause of the abnormal dark current of the vehicle based on the second dark current value includes: Based on the second dark current value of the controller to be tested and the standard dark current value of each of the controllers to be tested pre-set in the preset test scenario, an abnormal controller is determined; the second dark current value of the abnormal controller is greater than its corresponding standard dark current value; The abnormal controller is detected to determine the cause of the abnormal dark current of the vehicle.
3. The method according to claim 2, characterized in that The detecting the abnormal controller to determine the cause of the abnormal dark current of the vehicle includes: Determining whether the abnormal controller meets an abnormal awakening condition, wherein the abnormal awakening condition indicates that at least one controller is abnormally awakened when the vehicle is in a test operating state corresponding to the preset test scenario; If the abnormal awakening condition is met, the reason why the first dark current is abnormal is determined based on the abnormal awakening condition.
4. The method according to claim 3, characterized in that The determining whether the abnormal controller meets the abnormal awakening condition includes: Perform message checking on the network segment to which the abnormal controller belongs to determine whether there is an abnormal wake-up message in the network segment; the abnormal wake-up message is a message sent by the abnormal controller and used to trigger another controller to wake up, or a message sent by any controller and used to trigger the abnormal controller to wake up; If there is an abnormal awakening message in the network segment, it is determined that the abnormal controller meets the abnormal awakening condition.
5. The method according to claim 4, characterized in that The determining whether the abnormal controller meets the abnormal awakening condition also includes: Check the network segment to which the abnormal controller belongs for messages to determine whether the abnormal controller is self-awakened; If the abnormal controller is self-awakened, it is determined that the abnormal controller meets the abnormal awakening condition.
6. The method according to any one of claims 3 to 5, characterized in that: The determining whether the abnormal controller meets the abnormal awakening condition includes: If the abnormal controller does not meet the abnormal awakening condition, it is confirmed that the dark current exceeding the standard of the abnormal controller is the cause of the abnormal dark current of the vehicle.
7. The method according to claim 6, characterized in that The method further comprises: Generate a test report; the test report includes the cause of the abnormal dark current of the vehicle.
8. A dark current detection device, characterized in that: The device comprises: an acquisition unit and a determination unit; The acquisition unit is used to acquire a first dark current value corresponding to the vehicle and a second dark current value corresponding to the controller to be tested after indicating that the vehicle has reached a test condition corresponding to a preset test scenario; the vehicle reaching the test condition corresponding to the preset test scenario is characterized by: the vehicle turns on the first controller according to the instruction to reach the test condition and powers off and sleeps; the first controller is at least one controller among the controllers to be tested; The determining unit is configured to determine that the dark current of the vehicle is abnormal when the first dark current value is greater than a first threshold value; The determination unit is further configured to determine, when the dark current of the vehicle is abnormal, a cause of the abnormal dark current of the vehicle based on the second dark current value.
9. The device according to claim 8, characterized in that The determining unit is specifically configured to: Based on the second dark current value of the controller to be tested and the standard dark current value of each of the controllers to be tested pre-set in the preset test scenario, an abnormal controller is determined; the second dark current value of the abnormal controller is greater than its corresponding standard dark current value; The abnormal controller is detected to determine the cause of the abnormal dark current of the vehicle.
10. The device according to claim 9, characterized in that The determining unit is specifically configured to: Determining whether the abnormal controller meets an abnormal awakening condition, wherein the abnormal awakening condition indicates that at least one controller is abnormally awakened when the vehicle is in a test operating state corresponding to the preset test scenario; If the abnormal awakening condition is met, the reason why the first dark current is abnormal is determined based on the abnormal awakening condition.
11. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the method according to any one of claims 1 to 7.
12. A computer-readable storage medium, characterized in that: When the computer-executable instructions stored in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is capable of performing the method as claimed in any one of claims 1 to 7.
Citation Information
Cited By
Detection method, device and equipment for vehicle internal adjusting equipment
CN120972887A