Arbitration mechanism testing method, device and equipment of electronic equipment and vehicle

By simulating conflict message information on the CAN bus, collecting and analyzing signal data, the problem of inaccurate testing of electronic equipment arbitration mechanism in the existing technology is solved, and accurate testing and accurate verification of electronic equipment arbitration mechanism is achieved.

CN119758966APending Publication Date: 2025-04-04GREAT WALL MOTOR CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411940593.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-04-04

AI Technical Summary

Technical Problem

When the prior art detects whether the CAN bus arbitration mechanism of electronic devices is normal, the test results are inaccurate and it is difficult to accurately verify the functions of the arbitration mechanism.

Method used

By controlling the CAN simulation node to continuously send conflict message information to the CAN bus, it simulates a conflict with the target message information of the electronic device to be tested, collects signal data of the CAN bus, and determines the arbitration performance information of the electronic device to be tested arbitrated by the electronic device to be tested based on the signal data, and then determines the arbitration mechanism test result of the electronic device to be tested.

Benefits of technology

Accurate testing of the electronic equipment arbitration mechanism is realized, which can accurately verify whether the arbitration mechanism of the electronic equipment to be tested is normal, and improves the accuracy and reliability of the test.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119758966A_ABST
    Figure CN119758966A_ABST
Patent Text Reader

Abstract

The invention provides an arbitration mechanism testing method and device for electronic equipment, equipment and a vehicle. The method comprises the steps that a CAN simulation node is controlled to continuously send conflict message information to a CAN bus; the conflict message information is used for simulating a conflict with target message information of the to-be-tested electronic equipment; the conflict message information is used for simulating a conflict with target message information of the to-be-tested electronic equipment, the priority of the conflict message information is higher than that of the target message information, and the time difference between the conflict sending time of the conflict message information and the target sending time of the target message information is within a preset time range; acquiring signal data of the CAN bus, and determining arbitration performance information corresponding to arbitration of the to-be-tested electronic equipment on the conflict message information according to the signal data; and determining a test result of the arbitration mechanism of the to-be-tested electronic equipment according to the arbitration performance information. According to the method, whether the arbitration mechanism of the to-be-tested electronic equipment is normal or not can be accurately verified, and an accurate test result is obtained.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of equipment testing, and in particular to a method, device, equipment and vehicle for testing an arbitration mechanism of an electronic device. Background Art

[0002] In modern automotive electronic systems, the CAN (Controller Area Network) bus is used to realize data exchange between various control units (nodes) inside the vehicle. The arbitration mechanism of the CAN bus is one of the mechanisms of the CAN bus, which can ensure that when multiple nodes send message information to the CAN bus at the same time, the message information with the highest priority can be successfully sent. The nodes corresponding to the message information with low priority will wait for the message information with the highest priority to be transmitted, and then try to resend their own message information when the bus is idle, so as to avoid data conflicts and communication errors. If the arbitration mechanism fails, multiple nodes will send message information to the CAN bus at the same time, which will cause data conflicts, making the message information unable to be transmitted correctly, and may cause the control unit to receive wrong instructions, affecting the normal operation of the vehicle; serious data conflicts may cause the control system to crash, and for safety-related systems, such as braking systems, steering systems, etc., it may cause serious safety accidents; frequent conflicts and retries will occupy a large amount of network bandwidth, reduce the overall performance of the system, and affect the transmission of other important data.

[0003] In the current technical solution, when it is necessary to detect whether the arbitration mechanism of the electronic device under test is normal, the electronic device under test sends message information to the CAN bus, and detects whether there is a data conflict in the sent data; if a data conflict is detected, it is determined that the arbitration mechanism of the electronic device under test is normal. However, the test results are not accurate according to this technical solution.

[0004] Therefore, how to accurately test whether the arbitration mechanism of an electronic device is normal is a technical problem that technicians in this field currently need to solve. Summary of the invention

[0005] The purpose of the present application is to provide a method, device, terminal device, computer-readable storage medium, computer program product and a vehicle for testing an arbitration mechanism of an electronic device, so as to accurately test whether the arbitration mechanism of the electronic device is normal.

[0006] In a first aspect, the present application provides a method for testing an arbitration mechanism of an electronic device. The method comprises:

[0007] Controlling the CAN simulation node to continuously send conflict message information to the CAN bus; the conflict message information is used to simulate a conflict with the target message information of the electronic device to be tested; the priority of the conflict message information is higher than the priority of the target message information, and the time difference between the conflict sending time of the conflict message information and the target sending time of the target message information is within a preset time range; continuously means that within a preset detection period, after the operation of sending the conflict message information to the CAN bus once is completed, the conflict message information continues to be sent to the CAN bus after an interval of a preset time length;

[0008] Collecting signal data of the CAN bus, and determining arbitration performance information corresponding to arbitration of the conflicting message information by the electronic device under test according to the signal data;

[0009] A test result of the arbitration mechanism of the electronic device to be tested is determined according to the arbitration performance information.

[0010] In one embodiment, the collecting of the signal data of the CAN bus and determining, according to the signal data, arbitration performance information corresponding to the arbitration of the conflicting message information by the electronic device under test includes:

[0011] Using a logic analyzer and an oscilloscope to collect the digital signal and analog signal of the CAN bus respectively;

[0012] Arbitration performance information corresponding to arbitration of the conflicting message information by the electronic device under test is determined according to the digital signal and the analog signal.

[0013] In one of the embodiments, the arbitration performance information includes a conflict detection rate, a stop transmission rate, a waiting completion rate, a retransmission success rate, and a waiting interval time reaching standard rate;

[0014] The step of determining a test result of the arbitration mechanism of the electronic device to be tested according to the arbitration performance information includes:

[0015] Determine whether the conflict detection rate, the stop sending rate, the waiting completion rate, the retransmission success rate and the waiting interval duration reaching the standard rate respectively reach the corresponding preset indicators; if all are reached, it is determined that the arbitration mechanism of the electronic device under test is normal; otherwise, it is determined that the arbitration mechanism of the electronic device under test is abnormal.

[0016] In one embodiment, the method of collecting the digital signal and the analog signal of the CAN bus respectively by using a logic analyzer and an oscilloscope includes:

[0017] Setting trigger conditions; the trigger conditions include trigger type, trigger level and trigger delay;

[0018] The logic analyzer and the oscilloscope are controlled to respectively collect the digital signal and the analog signal of the CAN bus according to the trigger condition.

[0019] In one embodiment, the method further comprises:

[0020] Get preset report templates;

[0021] An arbitration mechanism detection report corresponding to the electronic device to be tested is determined according to the test result and the preset report template.

[0022] In one embodiment, the method further comprises:

[0023] The arbitration mechanism detection report is uploaded to the cloud server.

[0024] In a second aspect, the present application also provides an arbitration mechanism testing device for an electronic device. The device comprises:

[0025] A control module, used for controlling the CAN simulation node to continuously send conflict message information to the CAN bus; the conflict message information is used to simulate a conflict with the target message information of the electronic device to be tested; the priority of the conflict message information is higher than the priority of the target message information, and the time difference between the conflict sending time of the conflict message information and the target sending time of the target message information is within a preset time range; continuously means that within a preset detection period, after the operation of sending the conflict message information to the CAN bus once is completed, the conflict message information continues to be sent to the CAN bus after an interval of a preset time length;

[0026] An acquisition module, used for acquiring signal data of the CAN bus, and determining arbitration performance information corresponding to arbitration of the conflicting message information by the electronic device under test according to the signal data;

[0027] A determination module is used to determine a test result of the arbitration mechanism of the electronic device to be tested according to the arbitration performance information.

[0028] In a third aspect, the present application further provides a terminal device, wherein the terminal device comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0029] In a fourth aspect, the present application further provides a computer-readable storage medium. The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0030] In a fifth aspect, the present application further provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.

[0031] In a sixth aspect, the present application also provides a vehicle, comprising a vehicle body and a controller, wherein the controller executes the steps of the above method.

[0032] The present application provides a method for testing an arbitration mechanism of an electronic device, by controlling a CAN simulation node to continuously send conflict message information to a CAN bus, the conflict message information is used to simulate a conflict with a target message information of an electronic device to be tested; the priority of the conflict message information is higher than the priority of the target message information, and the time difference between the conflict sending time of the conflict message information and the target sending time of the target message information is within a preset time range; that is, by simulating the situation that the target message information of the electronic device to be tested conflicts with the target message information of the electronic device to be tested on the CAN bus for multiple consecutive times through the CAN simulation node, by collecting signal data of the CAN bus, and determining the arbitration performance information corresponding to the arbitration of the conflict message information by the electronic device to be tested according to the signal data, and determining the test result of the arbitration mechanism of the electronic device to be tested according to the arbitration performance information. The method determines the test result of the arbitration mechanism of the electronic device to be tested according to the conflicts simulated multiple times in a row, can accurately verify whether the arbitration mechanism of the electronic device to be tested is normal, and obtain accurate test results.

[0033] It can be understood that the arbitration mechanism testing device of an electronic device, a terminal device, a computer-readable storage medium, a computer program product and a vehicle provided in the embodiments of the present application have the same beneficial effects as the arbitration mechanism testing method of the electronic device mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0035] Figure 1 A schematic diagram of the structure of an arbitration mechanism testing system for an electronic device provided in an embodiment of the present application;

[0036] Figure 2 A flowchart of a method for testing an arbitration mechanism of an electronic device provided in an embodiment of the present application;

[0037] Figure 3 A schematic diagram of the structure of an arbitration mechanism testing device for an electronic device provided in an embodiment of the present application;

[0038] Figure 4 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0039] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

[0040] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.

[0041] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0042] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0043] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0044] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways. "Multiple" means "two or more".

[0045] In modern automotive electronic systems, the CAN (Controller Area Network) bus is used to realize data exchange between various control units (nodes) inside the vehicle. The arbitration mechanism of the CAN bus is one of the mechanisms of the CAN bus, which can ensure that when multiple nodes send message information to the CAN bus at the same time, the message information with the highest priority can be successfully sent. The nodes corresponding to the message information with low priority will wait for the message information with the highest priority to be transmitted, and then try to resend their own message information when the bus is idle, so as to avoid data conflicts and communication errors. If the arbitration mechanism fails, multiple nodes will send message information to the CAN bus at the same time, which will cause data conflicts, making the message information unable to be transmitted correctly, and may cause the control unit to receive wrong instructions, affecting the normal operation of the vehicle; serious data conflicts may cause the control system to crash, and for safety-related systems, such as braking systems, steering systems, etc., it may cause serious safety accidents; frequent conflicts and retries will occupy a large amount of network bandwidth, reduce the overall performance of the system, and affect the transmission of other important data.

[0046] In the current technical solution, when it is necessary to detect whether the arbitration mechanism of the electronic device under test is normal, the electronic device under test sends message information to the CAN bus, and detects whether there is a data conflict in the sent data; if a data conflict is detected, it is determined that the arbitration mechanism of the electronic device under test is normal. However, the test results are not accurate according to this technical solution.

[0047] Therefore, how to accurately test whether the arbitration mechanism of an electronic device is normal is a technical problem that technicians in this field currently need to solve.

[0048] Figure 1 The schematic diagram of an arbitration mechanism test system for an electronic device provided in an embodiment of the present application. The arbitration mechanism test system for an electronic device operates under standard environmental conditions, such as room temperature of 20°C to 25°C. Figure 1As shown, DUT (Device Under Test) is the electronic device to be tested. This embodiment tests the electronic device to be tested to determine whether the arbitration mechanism of the electronic device to be tested is normal. PC, as a central control unit, is connected to each device in the system through a USB interface or other communication interface. By running the test software, each device in the system is collaboratively completed to complete the test process of the electronic device to be tested. CAN transceiver is a CAN simulation node, which is used to simulate a real vehicle CAN node and send conflicting message information with a priority higher than the target message information. The logic analyzer and the oscilloscope are connected to the CAN H and CAN L lines, the logic analyzer is used to capture the digital signal on the CAN bus, and the oscilloscope is used to capture the analog signal on the CAN bus. The microcontroller is connected to the PC through a serial port or other communication interface to simulate different wake-up signals and wake up the electronic device to be tested (DUT). The programmable power supply is used to simulate different power supply conditions, and supplies power to the terminal device (PC), the electronic device to be tested (DUT) and the microcontroller respectively. The wiring harness of each device is arranged on the test bench to ensure that the layout is similar to that in the actual vehicle, and the fixed controller is connected to the wiring harness to ensure that all connection points are in good contact.

[0049] The embodiment of the present application provides a method for testing the arbitration mechanism of an electronic device, by controlling a CAN simulation node to continuously send conflict message information to a CAN bus, the conflict message information is used to simulate a conflict with a target message information of the electronic device to be tested; the priority of the conflict message information is higher than the priority of the target message information, and the time difference between the conflict sending time of the conflict message information and the target sending time of the target message information is within a preset time range; that is, by simulating the situation that the target message information of the electronic device to be tested is conflicted with on the CAN bus for many times in a row through the CAN simulation node, by collecting signal data of the CAN bus, and determining the arbitration performance information corresponding to the arbitration of the conflict message information by the electronic device to be tested according to the signal data, and determining the test result of the arbitration mechanism of the electronic device to be tested according to the arbitration performance information. The method determines the test result of the arbitration mechanism of the electronic device to be tested according to the conflicts simulated many times in a row, and can accurately verify whether the arbitration mechanism of the electronic device to be tested is normal, and obtain accurate test results.

[0050] An arbitration mechanism testing method for an electronic device provided in an embodiment of the present application may be executed by a processor of a terminal device when running a corresponding computer program; the terminal device may be a PC.

[0051] Figure 2 This is a flow chart of a method for testing an arbitration mechanism of an electronic device provided in an embodiment of the present application. For ease of description, only the part related to the present embodiment is shown. The method provided in the present embodiment includes the following steps:

[0052] S100: Control the CAN simulation node to continuously send conflict message information to the CAN bus; the conflict message information is used to simulate a conflict with the target message information of the electronic device to be tested; the priority of the conflict message information is higher than the priority of the target message information, and the time difference between the conflict sending time of the conflict message information and the target sending time of the target message information is within a preset time range; continuously means that within a preset detection period, after the operation of sending a conflict message information to the CAN bus is completed, the conflict message information continues to be sent to the CAN bus after an interval of a preset time length.

[0053] The CAN simulation node refers to a node that simulates a control unit and is used to test and simulate communication behavior on the CAN bus.

[0054] It is understandable that when multiple nodes send message information to the CAN bus at the same time, the messages meet on the CAN bus, resulting in inconsistent signal levels, i.e., sending conflicts. Conflicting message information refers to message information that conflicts with the target message information of the electronic device under test.

[0055] In this step, conflict message information is preset, and the CAN simulation node is controlled to continuously send conflict message information to the CAN bus. Among them, continuously sending conflict message information to the CAN bus means that within the preset detection period, after the operation of sending conflict message information to the CAN bus is completed, the conflict message information is continued to be sent to the CAN bus after the preset time interval. It can be understood that the shorter the interval of the preset time, the more frequent the operation of sending conflict message information; and the preset time of each interval can be the same or different, which is not shown in this embodiment.

[0056] It should be noted that, in order to make the conflicting message information conflict with the target message information, it is necessary to set the priority of the conflicting message information higher than the priority of the target message information.

[0057] For message information in the CAN bus, the priority of the message information is generally indicated by setting an identifier; the smaller the identifier, the higher the priority. Therefore, the identifier of the conflicting message information is set to be smaller than the identifier of the target message information, so as to set the priority of the conflicting message information higher than the priority of the target message information. For example, if the ID of the target message information sent by the electronic device under test is 0x200, the ID of the conflicting message information sent by the control CAN simulation node is 0x100, which means that the priority of the conflicting message information is higher than the priority of the target message information.

[0058] Furthermore, if the conflict message information is to conflict with the target message information, the conflict sending time of the conflict message information must almost occur at the same time as the target sending time of the target message information. In this embodiment, the time difference between the conflict sending time of the conflict message information and the target sending time of the target message information is set within a preset time range. The smaller the preset time range, the more synchronized the sending time of the conflict message information and the target message information. For example, the conflict sending time of the CAN simulation node sending the conflict message information is set to be the same as the target sending time of the electronic device to be tested sending the target message information, or slightly earlier than the target sending time of the electronic device to be tested sending the target message information, so as to create a bus conflict.

[0059] S200: collecting signal data of the CAN bus, and determining arbitration performance information corresponding to arbitration of conflicting message information by the electronic device under test according to the signal data.

[0060] It should be noted that when each node sends message information to the CAN bus, it will monitor the message information on the CAN bus; if it detects that the message information on the CAN bus is different from the message information sent by itself, it means that a conflict has occurred, and the node will immediately stop sending, and after detecting the conflict, the low-priority node will wait for the current data frame to be transmitted, and then try to send again when the bus is idle. Therefore, for the electronic device to be tested, when conflicting message information is detected, the corresponding arbitration mechanism will be executed for the conflicting message information. In this step, the signal data of the CAN bus is collected, and the signal data includes voltage changes, timestamps, and the content of the message information; then the signal data is parsed, and the arbitration performance information corresponding to the arbitration of the conflicting message information by the electronic device to be tested is determined according to the parsed signal data.

[0061] The arbitration performance information refers to the ability of the electronic device under test to handle conflicts in the CAN bus, including performance indicators of how to respond to conflicts, stop sending, wait for resending, etc.

[0062] In this step, after determining the arbitration performance information corresponding to the arbitration of the conflicting message information by the electronic device under test, the arbitration performance information may be further stored in a local file or database.

[0063] In another specific embodiment, during the test process, verification can be performed directly based on the signal data. If the arbitration mechanism of the electronic device to be tested is determined to be abnormal based on the signal data, the test can be interrupted and the test result can be directly output, which can further save test resources and test time. In addition, when the arbitration mechanism of the electronic device to be tested is determined to be abnormal based on the signal data, prompt information can be further generated and sent through a prompt device, such as sending corresponding prompt information through a buzzer, indicator light or display.

[0064] S300: Determine a test result of the arbitration mechanism of the electronic device to be tested according to the arbitration performance information.

[0065] The test result includes whether the arbitration mechanism of the electronic device under test is normal or whether the arbitration mechanism of the electronic device under test is abnormal.

[0066] In this step, after determining the arbitration performance information, that is, after obtaining the performance of the electronic device under test when facing a conflict, it is determined whether the arbitration mechanism of the electronic device under test works normally and whether its performance meets expectations based on the arbitration performance information; if the arbitration mechanism works normally and the performance meets expectations, it means that the arbitration mechanism of the electronic device under test is normal; if the arbitration mechanism does not work normally or the performance does not meet expectations, it means that the arbitration mechanism of the electronic device under test is abnormal. In practical applications, after determining the test results, the test results are displayed in the form of charts and tables; the arbitration performance information can also be displayed in the form of charts and tables.

[0067] In practical applications, multiple electronic devices under test can be tested synchronously, and signal data corresponding to each electronic device under test can be collected using a multi-channel logic analyzer and an oscilloscope, so as to determine the arbitration performance information corresponding to each electronic device under test and determine the corresponding test results, thereby further improving the test efficiency.

[0068] In actual applications, a test script is pre-set, which includes test steps and test parameters. The test parameters include the sending time of conflict message information and the start test signal, etc. The test script is executed through the PC to control each device (such as logic analyzer, oscilloscope, programmable power supply, microcontroller and CAN transceiver, etc.) to perform corresponding operations according to the predetermined test steps; therefore, the user only needs to click the "Start Test" button, and the PC will automatically complete all test steps through the test software, that is, to achieve automated testing, shorten test time, and improve test efficiency. In addition, users can flexibly set test steps and test parameters according to the characteristics and test requirements of different electronic devices to be tested to meet the needs of different application scenarios.

[0069] The embodiment of the present application provides a method for testing the arbitration mechanism of an electronic device, by controlling a CAN simulation node to continuously send conflict message information to a CAN bus, the conflict message information is used to simulate a conflict with a target message information of the electronic device to be tested; the priority of the conflict message information is higher than the priority of the target message information, and the time difference between the conflict sending time of the conflict message information and the target sending time of the target message information is within a preset time range; that is, by simulating the situation that the target message information of the electronic device to be tested is conflicted with on the CAN bus for many times in a row through the CAN simulation node, by collecting signal data of the CAN bus, and determining the arbitration performance information corresponding to the arbitration of the conflict message information by the electronic device to be tested according to the signal data, and determining the test result of the arbitration mechanism of the electronic device to be tested according to the arbitration performance information. The method determines the test result of the arbitration mechanism of the electronic device to be tested according to the conflicts simulated many times in a row, and can accurately verify whether the arbitration mechanism of the electronic device to be tested is normal, and obtain accurate test results.

[0070] On the basis of the above-mentioned embodiment, this embodiment further illustrates and optimizes the technical solution. Specifically, in this embodiment, the signal data of the CAN bus is collected, and the arbitration performance information corresponding to the arbitration of the conflicting message information by the electronic device under test is determined according to the signal data, including:

[0071] Use logic analyzer and oscilloscope to collect digital signal and analog signal of CAN bus respectively;

[0072] Arbitration performance information corresponding to arbitration of conflicting message information by the electronic device under test is determined according to the digital signal and the analog signal.

[0073] Specifically, after connecting the logic analyzer to the CAN H and CAN L lines, the logic analyzer is turned on and the digital signal of the CAN bus is collected by using the logic analyzer.

[0074] The digital signal collected by the logic analyzer is analyzed to identify the moment of conflict and obtain the time point when the electronic device under test stops sending the target message data; determine whether the electronic device under test attempts to resend after the conflict message data transmission is completed, and record the waiting time of the electronic device under test; determine whether the electronic device under test correctly resends the target message data after the waiting time reaches the preset waiting time, that is, after determining that the bus is idle.

[0075] Specifically, after the oscilloscope is connected to the CAN H and CAN L lines, the oscilloscope is turned on and the analog signal of the CAN bus is collected using the oscilloscope.

[0076] The analog signal (waveform) collected by the oscilloscope is analyzed to identify the moment of conflict and obtain the time point when the electronic device under test stops sending the target message data; the waiting time of the electronic device under test is recorded; and the data integrity of the electronic device under test when resending the target message data is determined.

[0077] After respectively analyzing the digital signal and the analog signal, arbitration performance information corresponding to arbitration of conflicting message information by the electronic device under test is obtained.

[0078] It should also be noted that in this embodiment, before using the logic analyzer and the oscilloscope to collect the digital signal and analog signal of the CAN bus respectively, the logic analyzer and the oscilloscope can be further calibrated. Specifically, the logic analyzer is calibrated using a standard signal source, and the oscilloscope is calibrated using a standard waveform generator. Through the comprehensive calibration and automated calibration steps, the calibration time is greatly shortened, and through the automated calibration steps, the influence of the test fixture and other test equipment is eliminated, thereby improving the test accuracy.

[0079] According to the method of this embodiment, a high-precision logic analyzer and an oscilloscope are used to collect digital signals and analog signals of the CAN bus, and the digital signals and analog signals are analyzed respectively to obtain arbitration performance information corresponding to the arbitration of conflicting message information by the electronic device under test, thereby improving the accuracy and completeness of the arbitration performance information.

[0080] On the basis of the above embodiment, this embodiment further illustrates and optimizes the technical solution. Specifically, in this embodiment, the arbitration performance information includes the conflict detection rate, the stop transmission rate, the waiting completion rate, the retransmission success rate and the waiting interval time reaching standard rate;

[0081] Determine whether the arbitration mechanism of the electronic device under test is normal according to the arbitration performance information, including:

[0082] Determine whether the conflict detection rate, stop sending rate, waiting completion rate, retransmission success rate and waiting interval time reaching standard rate have reached the corresponding preset indicators respectively; if all are reached, it is determined that the arbitration mechanism of the electronic device under test is normal; otherwise, it is determined that the arbitration mechanism of the electronic device under test is abnormal.

[0083] Among them, conflict detection is used to verify whether the electronic device under test can successfully detect the conflict on the CAN bus. Since the priority of the target message data sent by the electronic device under test is lower than the priority of the conflict message data, the electronic device under test should stop sending the target message data when detecting the conflict message data on the CAN bus; that is, whether the electronic device under test successfully detects the conflict on the CAN bus is determined based on whether the electronic device under test stops sending the target message data after detecting the conflict message data on the CAN bus.

[0084] In this embodiment, the conflict detection rate = trigger condition (number of successful conflict detections / total number of conflicts) × 100%; the total number of conflicts is the number of times conflict message data is sent. For example, if a total of 100 conflict message data occur, each time they are successfully detected by the electronic device under test, then the conflict detection rate is 100%.

[0085] It should be noted that the electronic device under test should stop sending the target message data immediately after detecting a conflict on the CAN bus; detecting whether the electronic device under test executes the stop sending operation is to verify whether the electronic device under test stops sending data immediately after detecting a conflict. The stop sending rate is the ratio of the stop sending operation executed after detecting a conflict to the total number of conflicts.

[0086] In this embodiment, the stop transmission rate = (successful stop transmission times trigger condition / trigger condition total conflict times) trigger condition × trigger condition 100%. For example, if there are 100 conflicts in total, and the electronic device under test successfully stops transmitting each time, the stop transmission rate is 100%.

[0087] It should be noted that the electronic device under test should resend the target message data after stopping sending the target message data and waiting for the conflict message data to be transmitted. The waiting completion rate is the ratio of the target message data to be resent after stopping sending the target message data and waiting for the conflict message data to be transmitted after the conflict is detected to the total number of conflicts.

[0088] In this embodiment, the waiting completion rate = (successful waiting for the current conflict message data transmission completion times / total conflict times) × 100%. For example, if there are 100 conflicts in total, and the electronic device under test retransmits the target message data after the conflict message data transmission is completed each time, then the waiting completion rate is 100%.

[0089] It should be noted that the electronic device under test retransmits the target message data after waiting for the conflicting message data to be transmitted. The retransmission success rate refers to the ratio of the target message data retransmitted after the conflict is detected to the total number of conflicts.

[0090] In this embodiment, retransmission success rate = (number of successful retransmissions / total number of conflicts) × 100%. For example, if there are 100 conflicts in total, and the electronic device under test successfully retransmits the target message data each time, the retransmission success rate is 100%.

[0091] It should be noted that after detecting a conflict, the electronic device under test needs to wait for a preset waiting time to ensure that the bus is idle so that the conflict message data can be successfully transmitted; the preset waiting time can be determined according to the CAN bus standard. Taking the CAN bus with a baud rate of 500Kbps as an example, the preset waiting time is 8μs. The waiting gap time reaching the standard rate is the ratio of the number of times the waiting time after detecting a conflict meets the CAN bus standard to the total number of conflicts.

[0092] In this embodiment, the waiting gap duration reaching qualification rate = (number of waiting duration reaching qualification times / total number of conflicts) × 100%. For example, if a total of 100 conflicts occur, and the waiting time of the electronic device under test in each conflict reaches the preset waiting time, then the waiting gap duration reaching qualification rate is 100%.

[0093] In this embodiment, after determining multiple arbitration performance information, each arbitration performance information is compared with the corresponding preset index to determine whether the arbitration performance information reaches the corresponding preset index. It should be noted that this embodiment does not limit the preset index corresponding to each arbitration performance information, and can be set according to actual needs. For example, assume that the preset index corresponding to each arbitration performance information is as follows:

[0094] Conflict detection rate = 100%; stop sending rate = 100%; waiting completion rate = 100%; waiting interval time reaching standard rate = 100%; retransmission success rate = 100%. In other words, only when all arbitration performance information reaches 100% does it mean that the arbitration mechanism of the electronic device under test is normal; otherwise, that is, if any arbitration performance information does not reach 100%, it means that the arbitration mechanism of the electronic device under test is abnormal.

[0095] According to the method of this embodiment, it is possible to efficiently and accurately determine whether the arbitration mechanism of the electronic device to be tested is normal.

[0096] On the basis of the above embodiment, this embodiment further illustrates and optimizes the technical solution. Specifically, in this embodiment, a logic analyzer and an oscilloscope are used to respectively collect digital signals and analog signals of the CAN bus, including:

[0097] Set the trigger conditions; the trigger conditions include trigger type, trigger level and trigger delay;

[0098] The logic analyzer and the oscilloscope are controlled to respectively collect the digital signal and the analog signal of the CAN bus according to the trigger conditions.

[0099] In this embodiment, corresponding trigger conditions are set for the logic analyzer and the oscilloscope, so that when a conflict occurs, the digital signal and analog signal of the CAN bus are collected by the logic analyzer and the oscilloscope respectively. The trigger condition indicates when to start collecting and recording the data information of the CAN bus. For the logic analyzer, after connecting the probe of the logic analyzer to the CAN H and CAN L lines, turn on the logic analyzer, set the sampling rate and trigger conditions; wherein, the trigger conditions are set as follows:

[0100] Trigger type: Select edge trigger, the trigger edge is rising edge or falling edge;

[0101] Trigger level: Set the trigger level to the logic level of the CAN bus;

[0102] Trigger Delay: Set an appropriate trigger delay so that a complete data frame is captured.

[0103] For example, the trigger condition is set to the rising edge on the CAN H line, the trigger level is 3.2V, and the trigger delay is 2μs; then the logic analyzer is controlled to collect digital signals according to the trigger conditions, which can ensure that the complete CAN data frame is collected.

[0104] For the oscilloscope, after connecting the oscilloscope probes to the CAN H and CAN L lines, turn on the oscilloscope and set appropriate vertical and horizontal scales to ensure that the complete CAN waveform can be observed; set the trigger conditions as follows:

[0105] Trigger type: Select edge trigger, the trigger edge is rising edge or falling edge;

[0106] Trigger level: Set the trigger level to the logic level of the CAN bus;

[0107] Trigger Delay: Set an appropriate trigger delay to capture the complete waveform.

[0108] For example, set the trigger condition to the rising edge on the CAN H line, the trigger level to 3.2V, and the trigger delay to 2μs; then control the oscilloscope to collect analog signals according to the trigger conditions, capture waveforms, and record voltage and time data.

[0109] In this embodiment, after the trigger type and trigger level are met, the logic analyzer and the oscilloscope collect digital signals and analog signals according to the trigger delay, which can ensure that complete message information is collected.

[0110] Based on the above embodiment, this embodiment further illustrates and optimizes the technical solution. Specifically, in this embodiment, a method for testing an arbitration mechanism of an electronic device further includes:

[0111] Get preset report templates;

[0112] An arbitration mechanism detection report corresponding to the electronic device to be tested is determined according to the test results and a preset report template.

[0113] The preset report template predefines the report format and content structure, and the content structure includes the title, test items, test results, and analysis conclusions.

[0114] Specifically, after the test result is determined, a preset report template is first obtained, and the test result is filled into a corresponding position in the preset report template to generate a complete arbitration mechanism detection report corresponding to the electronic device to be tested.

[0115] In a specific embodiment, test conditions, test steps, test results, analysis conclusions and improvement suggestions can also be obtained, and the test conditions, test steps, test results, analysis conclusions and improvement suggestions can be filled into corresponding positions in the preset report template to generate a complete and detailed arbitration mechanism detection report corresponding to the electronic device to be tested.

[0116] According to the solution of this embodiment, an arbitration mechanism detection report corresponding to the electronic device under test can be automatically generated, which is convenient for subsequent checking of the test status of the arbitration mechanism of the electronic device under test, and for evaluating and improving the electronic device under test.

[0117] Based on the above embodiment, this embodiment further illustrates and optimizes the technical solution. Specifically, in this embodiment, a method for testing an arbitration mechanism of an electronic device further includes:

[0118] Upload the arbitration mechanism detection report to the cloud server.

[0119] In this embodiment, after the arbitration mechanism detection report is generated, the arbitration mechanism detection report is uploaded to the cloud server; when the arbitration mechanism detection report is needed, the corresponding arbitration mechanism detection report is downloaded from the cloud server.

[0120] In practical applications, the arbitration mechanism detection report can be encrypted and then uploaded to the cloud server. When the arbitration mechanism detection report needs to be obtained, after downloading the pre-uploaded encrypted arbitration mechanism detection report from the cloud server, the encrypted arbitration mechanism detection report is decrypted to obtain the arbitration mechanism detection report.

[0121] In actual applications, access permissions can also be set on the cloud server to ensure that only authorized users can view and download the arbitration mechanism detection report.

[0122] In addition, the arbitration mechanism detection report stored on the cloud server can be backed up regularly to prevent data loss or damage.

[0123] According to the method of this embodiment, by further uploading the arbitration mechanism detection report to the cloud server, the user experience can be further improved.

[0124] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0125] It should be noted that the information collection process (such as face image collection process, fingerprint information collection process, etc.) / feature extraction process involved in this application is performed with the user's knowledge and permission, that is, the information collection process / feature extraction process complies with the requirements of laws and regulations and does not constitute an act that harms the public interest.

[0126] Figure 3 FIG. 1 is a schematic diagram of the structure of an arbitration mechanism testing device for an electronic device provided in an embodiment of the present application. Figure 3 As shown, the arbitration mechanism testing device of the electronic device of this embodiment includes a control module 310, a collection module 320 and a determination module 330; wherein,

[0127] The control module 310 is used to control the CAN simulation node to continuously send conflict message information to the CAN bus; the conflict message information is used to simulate a conflict with the target message information of the electronic device to be tested; the priority of the conflict message information is higher than the priority of the target message information, and the time difference between the conflict sending time of the conflict message information and the target sending time of the target message information is within a preset time range; continuously means that within a preset detection period, after the operation of sending the conflict message information to the CAN bus once is completed, the conflict message information continues to be sent to the CAN bus after an interval of a preset time length;

[0128] The acquisition module 320 is used to acquire signal data of the CAN bus, and determine arbitration performance information corresponding to the arbitration of conflicting message information by the electronic device under test according to the signal data;

[0129] The determination module 330 is used to determine the test result of the arbitration mechanism of the electronic device to be tested according to the arbitration performance information.

[0130] An arbitration mechanism testing device for an electronic device provided in an embodiment of the present application has the same beneficial effects as the arbitration mechanism testing method for an electronic device described above.

[0131] In one embodiment, the acquisition module 320 includes:

[0132] The acquisition submodule is used to respectively acquire the digital signal and the analog signal of the CAN bus using a logic analyzer and an oscilloscope;

[0133] The information determination submodule is used to determine arbitration performance information corresponding to the arbitration of conflicting message information by the electronic device under test according to the digital signal and the analog signal.

[0134] In one embodiment, the arbitration performance information includes a conflict detection rate, a stop transmission rate, a waiting completion rate, a retransmission success rate, and a waiting interval time reaching standard rate;

[0135] The determination module 330 includes:

[0136] The arbitration result determination submodule is used to determine whether the conflict detection rate, the stop transmission rate, the waiting completion rate, the retransmission success rate and the waiting interval time reaching standard rate have reached the corresponding preset indicators respectively; if all of them are reached, it is determined that the arbitration mechanism of the electronic device under test is normal; otherwise, it is determined that the arbitration mechanism of the electronic device under test is abnormal.

[0137] In one embodiment, the acquisition submodule includes:

[0138] A trigger condition setting unit is used to set the trigger condition; the trigger condition includes the trigger type, trigger level and trigger delay;

[0139] The information acquisition unit is used to control the logic analyzer and the oscilloscope to respectively acquire the digital signal and the analog signal of the CAN bus according to the trigger conditions.

[0140] In one embodiment, an arbitration mechanism test of an electronic device further includes:

[0141] A report template acquisition module is used to obtain a preset report template;

[0142] The detection includes a determination module, which is used to determine an arbitration mechanism detection report corresponding to the electronic device to be tested according to the test result and a preset report template.

[0143] In one embodiment, an arbitration mechanism test of an electronic device further includes:

[0144] The upload module is used to upload the arbitration mechanism detection report to the cloud server.

[0145] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0146] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0147] Figure 4 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application. Figure 4 As shown, the terminal device 400 of this embodiment includes a memory 401, a processor 402, and a computer program 403 stored in the memory 401 and executable on the processor 402; when the processor 402 executes the computer program 403, the steps in the arbitration mechanism test method embodiments of the above-mentioned electronic devices are implemented; or when the processor 402 executes the computer program 403, the functions of the modules / units in the above-mentioned device embodiments are implemented.

[0148] Exemplarily, the computer program 403 may be divided into one or more modules / units, one or more modules / units are stored in the memory 401, and are executed by the processor 402 to implement the method of the embodiment of the present application. One or more modules / units may be a series of computer program instruction segments that can perform specific functions, and the instruction segments are used to describe the execution process of the computer program 403 in the terminal device 400. For example, the computer program 403 may be divided into a control module, a collection module, and a determination module, and the specific functions of each module are as follows:

[0149] A control module is used to control the CAN simulation node to continuously send conflict message information to the CAN bus; the conflict message information is used to simulate a conflict with the target message information of the electronic device to be tested; the priority of the conflict message information is higher than the priority of the target message information, and the time difference between the conflict sending time of the conflict message information and the target sending time of the target message information is within a preset time range;

[0150] The acquisition module is used to acquire the signal data of the CAN bus, and determine the arbitration performance information corresponding to the arbitration of the conflicting message information by the electronic device under test according to the signal data;

[0151] The determination module is used to determine the test result of the arbitration mechanism of the electronic device to be tested according to the arbitration performance information.

[0152] In the application, the terminal device 400 can be a computing device such as a personal computer (PC), a desktop computer, a notebook, a palmtop computer, and a cloud server. The terminal device 400 may include but is not limited to a memory 401 and a processor 402. Those skilled in the art will understand that Figure 4 It is only an example of a terminal device and does not constitute a limitation of the terminal device. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include input and output devices, network access devices, buses, etc.; among which, the input and output devices may include cameras, audio acquisition / playback devices, display screens, etc.; the network access device may include a communication module for wireless communication with external devices.

[0153] In applications, the processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0154] In applications, the memory can be an internal storage unit of a terminal device, such as a hard disk or memory of the terminal device; it can also be an external storage device of the terminal device, such as a plug-in hard disk equipped on the terminal device, a smart media card (SMC), a secure digital (SD) card, a flash card, etc.; it can also include both the internal storage unit and the external storage device of the terminal device. The memory is used to store operating systems, applications, boot loaders, data, and other programs, such as program codes of computer programs. The memory can also be used to temporarily store data that has been output or is about to be output.

[0155] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0156] The present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of each of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device capable of carrying the computer program code to a terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk.

[0157] A computer-readable storage medium provided in an embodiment of the present application has the same beneficial effects as the arbitration mechanism testing method of an electronic device described above.

[0158] An embodiment of the present application further provides a computer program product, including a computer program, which can implement the steps in the above-mentioned method embodiments when executed by a processor.

[0159] A computer program product provided in an embodiment of the present application has the same beneficial effects as the arbitration mechanism testing method of an electronic device described above.

[0160] An embodiment of the present application also provides a vehicle, including a vehicle body and a controller, which executes the steps in the above-mentioned method embodiments.

[0161] The vehicle may be any type of vehicle, such as a fuel vehicle, a battery electric vehicle (BEV), a hybrid vehicle, etc. In this embodiment, the vehicle includes a vehicle body and a controller, and the controller can implement the steps of the engine misfire fault detection method in the above embodiment.

[0162] A vehicle provided in an embodiment of the present application has the same beneficial effects as the above-mentioned engine misfire fault detection method.

[0163] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0164] Those of ordinary skill in the art will appreciate that the devices and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0165] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interface, indirect coupling or communication connection of devices, which can be electrical, mechanical or other forms.

[0166] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for testing an arbitration mechanism of an electronic device, characterized in that: The method comprises: Controlling the CAN simulation node to continuously send conflict message information to the CAN bus; the conflict message information is used to simulate a conflict with the target message information of the electronic device to be tested; the priority of the conflict message information is higher than the priority of the target message information, and the time difference between the conflict sending time of the conflict message information and the target sending time of the target message information is within a preset time range; continuously means that within a preset detection period, after the operation of sending the conflict message information to the CAN bus once is completed, the conflict message information continues to be sent to the CAN bus after an interval of a preset time length; Collecting signal data of the CAN bus, and determining arbitration performance information corresponding to arbitration of the conflicting message information by the electronic device under test according to the signal data; A test result of the arbitration mechanism of the electronic device to be tested is determined according to the arbitration performance information.

2. The method according to claim 1, characterized in that The collecting of the signal data of the CAN bus and determining, according to the signal data, arbitration performance information corresponding to the arbitration of the conflicting message information by the electronic device under test includes: Using a logic analyzer and an oscilloscope to collect the digital signal and analog signal of the CAN bus respectively; Arbitration performance information corresponding to arbitration of the conflicting message information by the electronic device under test is determined according to the digital signal and the analog signal.

3. The method according to claim 2, characterized in that The arbitration performance information includes conflict detection rate, stop sending rate, waiting completion rate, retransmission success rate and waiting interval time reaching standard rate; The step of determining a test result of the arbitration mechanism of the electronic device to be tested according to the arbitration performance information includes: Determine whether the conflict detection rate, the stop sending rate, the waiting completion rate, the retransmission success rate and the waiting interval duration reaching the standard rate respectively reach the corresponding preset indicators; if all are reached, it is determined that the arbitration mechanism of the electronic device under test is normal; otherwise, it is determined that the arbitration mechanism of the electronic device under test is abnormal.

4. The method according to claim 2, characterized in that: The method of using a logic analyzer and an oscilloscope to respectively collect the digital signal and the analog signal of the CAN bus includes: Setting trigger conditions; the trigger conditions include trigger type, trigger level and trigger delay; The logic analyzer and the oscilloscope are controlled to respectively collect the digital signal and the analog signal of the CAN bus according to the trigger condition.

5. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: Get preset report templates; An arbitration mechanism detection report corresponding to the electronic device to be tested is determined according to the test result and the preset report template.

6. The method according to claim 5, characterized in that The method further comprises: The arbitration mechanism detection report is uploaded to the cloud server.

7. An arbitration mechanism testing device for an electronic device, characterized in that: The device comprises: A control module, used for controlling the CAN simulation node to continuously send conflict message information to the CAN bus; the conflict message information is used to simulate a conflict with the target message information of the electronic device to be tested; the priority of the conflict message information is higher than the priority of the target message information, and the time difference between the conflict sending time of the conflict message information and the target sending time of the target message information is within a preset time range; continuously means that within a preset detection period, after the operation of sending the conflict message information to the CAN bus once is completed, the conflict message information continues to be sent to the CAN bus after an interval of a preset time length; An acquisition module, used for acquiring signal data of the CAN bus, and determining arbitration performance information corresponding to arbitration of the conflicting message information by the electronic device under test according to the signal data; A determination module is used to determine a test result of the arbitration mechanism of the electronic device to be tested according to the arbitration performance information.

8. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: 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 storing 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.

10. A vehicle, comprising a vehicle body, characterized in that: It also includes a controller, which executes the steps of the method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • CAN bus controller test method

    CN110941218A

  • CAN bus controller parallel test method

    CN111538319A

  • CAN network test method, system and related device

    CN119109822A

  • Network design evaluation method and device and electronic equipment

    CN119109831A

  • Vehicular CAN bus real-time performance analog system

    CN1773999A