Test method and device, upper computer and test system
By establishing communication with multiple ECUs in the host computer, assigning identifiers and obtaining communication data, the problem of high cost during testing of multiple ECUs is solved, efficient testing of multiple ECUs is achieved, and testing costs are reduced.
Patent Information
- Application Number
- CN202411993536.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-05-30
AI Technical Summary
In modern cars, as the number of ECUs increases, multiple test components are required to be configured when testing multiple ECUs, resulting in higher costs.
By establishing communication with multiple ECUs in the upper computer, assigning different identifiers, and outputting communication instructions to obtain communication data, including identifiers, the distinction and testing of multiple ECUs are realized.
This method can reduce the cost of testing multiple ECUs. By using one upper computer and one communication module to implement testing of multiple ECUs, the need to configure multiple upper computers and communication tools is avoided.
Smart Images

Figure CN120065968A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the technical field of ECU testing, and particularly to a testing method and device, a host computer, and a testing system. Background Art
[0002] An Electronic Control Unit (ECU) is a crucial component in modern vehicles, responsible for controlling various vehicle systems and functions. Testing the ECU is a key step in ensuring vehicle performance, safety, and reliability. Currently, a set of testing components for testing an ECU includes the following components: a power supply for powering the ECU, a host computer, a communication tool, and a load. Among them, the ECU is respectively connected to the power supply and the load, and the ECU is also connected to the host computer through the communication tool. Subsequently, the host computer can communicate with the ECU to achieve testing of the ECU.
[0003] In modern vehicles, there are usually multiple ECUs, and with the development of vehicle technology, the number of ECUs is also increasing continuously to support more functions and services. Therefore, when testing an ECU each time, multiple ECUs need to be tested.
[0004] However, currently, when testing multiple ECUs, it is necessary to configure the corresponding number of testing components according to the number of ECUs, resulting in a high cost. Summary of the Invention
[0005] Embodiments of the present application provide a testing method and device, a host computer, and a testing system, which can reduce costs for the application scenario of testing multiple ECUs.
[0006] In a first aspect, embodiments of the present application provide a testing method, which is applied to a host computer, and the host computer is connected to multiple electronic control units. The testing method includes:
[0007] Establish communication with the multiple electronic control units;
[0008] Assign different identifiers to the multiple electronic control units;
[0009] Output a communication instruction to the multiple electronic control units, so that at least one of the multiple electronic control units outputs communication data in response to the communication instruction, where the communication data includes the identifier.
[0010] In one or more embodiments, the establishing communication with the multiple electronic control units includes:
[0011] Establish communication with the multiple electronic control units based on the CAN bus protocol or the LIN bus protocol.
[0012] In one or more embodiments, when establishing communication with the multiple electronic control units based on the CAN bus protocol, allocating different identifiers to the multiple electronic control units includes:
[0013] Allocating different identifiers to the arbitration section of the messages of the multiple electronic control units.
[0014] In one or more embodiments, when establishing communication with the multiple electronic control units based on the LIN bus protocol, allocating different identifiers to the multiple electronic control units includes:
[0015] Allocating different identifiers to the identifier field of the messages of the multiple electronic control units.
[0016] In a second aspect, an embodiment of the present application provides a test device, which is applied to a host computer. The host computer is connected to multiple electronic control units. The test device includes:
[0017] A communication unit, configured to establish communication with the multiple electronic control units;
[0018] An identifier allocation unit, configured to allocate different identifiers to the multiple electronic control units;
[0019] An instruction output unit, configured to output communication instructions to the multiple electronic control units, so that at least one of the multiple electronic control units outputs communication data in response to the communication instructions, where the communication data includes the identifier.
[0020] In a third aspect, an embodiment of the present application provides a host computer, including:
[0021] At least one processor and a memory;
[0022] The memory is coupled to the processor. The memory is used to store instructions or programs. When the instructions or programs are executed by the host computer, the host computer executes the test method as described above.
[0023] In a fourth aspect, an embodiment of the present application provides a test system, including:
[0024] Multiple electronic control units;
[0025] And the host computer as described above, where the host computer is connected to the multiple electronic control units.
[0026] In one or more embodiments, the test system further includes a communication module, multiple power modules, and multiple loads. The electronic control units, the power modules, and the loads are connected in one-to-one correspondence;
[0027] The first ends of the multiple electronic control units are short - circuited and connected to the first end of the communication module. The second end of the communication module is connected to the first end of the host computer. The second end of one of the multiple electronic control units is connected to one of the multiple loads. One of the multiple power modules is connected to the third end of one of the multiple electronic control units.
[0028] In a fifth aspect, an embodiment of the present application provides a computer storage medium. The computer storage medium stores instructions or programs. When the instructions or programs are executed by the host computer, the host computer is caused to execute the test method as described above.
[0029] In a sixth aspect, an embodiment of the present application provides a computer program product. The computer program product includes a computer program stored on a computer - readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer is caused to execute the test method as described above.
[0030] The beneficial effects of the present application are as follows: The test method of the embodiment of the present application includes: establishing communication with multiple electronic control units; assigning different identifiers to the multiple electronic control units; outputting communication instructions to the multiple electronic control units so that at least one of the multiple electronic control units outputs communication data in response to the communication instructions, where the communication data includes the identifier. Since the communication data includes the identifier and the identifiers corresponding to different electronic control units are different, different electronic control units can be distinguished, and thus the test of multiple electronic control units can be realized. Moreover, only one host computer and one communication module are required. Compared with the related art where multiple host computers and multiple communication tools are required to test multiple electronic control units, the cost of the present application is lower. In summary, in the application scenario of testing multiple ECUs, the solution of the present application can achieve the purpose of reducing costs. Description of the Drawings
[0031] One or more embodiments are illustrated by way of example with pictures in the corresponding drawings. These exemplary illustrations are not intended to limit the embodiments. Elements with the same reference numerals in the drawings are represented as similar elements.
[0032] Figure 1 is a flowchart of the test method provided by the embodiment of the present application;
[0033] Figure 2 is provided by the embodiment of the present application Figure 1 a schematic diagram of an implementation manner of step 101 and step 102 shown in Figure 1 ;
[0034] Figure 3 is provided by an embodiment of the present application Figure 1 a schematic diagram of an embodiment of step 101 and step 102 shown in Figure 2 ;
[0035] Figure 4 is a schematic diagram of a message when a host computer and multiple electronic control units establish communication based on the CAN bus protocol provided by an embodiment of the present application;
[0036] Figure 5 is a schematic diagram of a message when a host computer and multiple electronic control units establish communication based on the LIN bus protocol provided by an embodiment of the present application;
[0037] Figure 6 is a schematic structural diagram of a test device provided by an embodiment of the present application;
[0038] Figure 7 is a schematic structural diagram of a host computer provided by an embodiment of the present application;
[0039] Figure 8 is a schematic diagram of a composition block diagram of a test system provided by an embodiment of the present application Figure 1 ;
[0040] Figure 9 is a schematic diagram of a composition block diagram of a test system provided by an embodiment of the present application Figure 2 . Detailed implementation manners
[0041] To make the objectives, technical solutions, and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and detailedly described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are some but not all of the embodiments of the present application. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0042] It should be noted that when an element is expressed as "connected" to another element, it can be directly connected to the other element, or there can be one or more intermediate elements therebetween.
[0043] In addition, the technical features involved in the various embodiments of the present application described below can be combined with each other as long as there is no conflict between them.
[0044] Please refer to Figure 1 , Figure 1The flowchart of the test method provided by the embodiments of this application. Among them, this test method is applied to the host computer, and the host computer is connected to multiple electronic control units. The host computer 10 is the leading computer system, which is usually responsible for monitoring, managing, and controlling the work of the lower computer (such as ECU, etc.). The host computer can be a personal computer (PC), a workstation, or a dedicated industrial computer. As Figure 1 shown, this test method includes the following method steps:
[0045] Step 101: Establish communication with multiple electronic control units.
[0046] By enabling the host computer to establish communication with multiple electronic control units, data exchange between the host computer and multiple electronic control units can be achieved, so that the subsequent test process can be realized.
[0047] In some embodiments, such as Figure 2 shown, the specific implementation process of establishing communication with multiple electronic control units in step 101 includes the following steps:
[0048] Step 201: Establish communication with multiple electronic control units based on the CAN bus protocol.
[0049] Specifically, the host computer and multiple electronic control units are connected through a USB-CAN communication tool, and then communication between the host computer and multiple electronic control units can be realized based on the CAN (Controller Area Network) bus protocol. Among them, the USB-CAN communication tool refers to a device or software that can communicate with the CAN bus system through the USB interface. Among them, the USB-CAN communication tool is a physical device that can be connected to the host computer through the USB interface and provides the interface of the CAN bus respectively.
[0050] In some embodiments, such as Figure 3 shown, the specific implementation process of establishing communication with multiple electronic control units in step 101 includes the following steps:
[0051] Step 301: Establish communication with multiple electronic control units based on the LIN bus protocol.
[0052] Specifically, the host computer is connected to multiple electronic control units through a USB-LIN communication tool, and thus communication between the host computer and multiple electronic control units can be achieved based on the LIN (Local Interconnect Network) bus protocol. Among them, the USB-LIN communication tool refers to a device or software that can communicate with the LIN bus system through a USB interface. Among them, the USB-LIN communication tool is a physical device that can be connected to the host computer through a USB interface and provides interfaces for the LIN bus respectively.
[0053] Step 102: Assign different identifiers to multiple electronic control units.
[0054] Step 103: Output communication instructions to multiple electronic control units so that at least one of the multiple electronic control units outputs communication data in response to the communication instructions, where the communication data includes identifiers.
[0055] Specifically, since different identifiers are assigned to multiple electronic control units, subsequently, the host computer can correspondingly determine the electronic control unit that outputs the communication data based on the identifiers in the received communication data. In this case, communication between the host computer and one or more electronic control units can be achieved simultaneously, and thus simultaneous testing of one or more electronic control units can be realized.
[0056] Meanwhile, when testing is performed in the manner provided in this application, only one host computer and one communication module (a module for realizing communication between the host computer and multiple electronic control units, such as a USB-CAN communication module) are required. Compared with the related art where multiple host computers and multiple communication tools are required for testing multiple electronic control units, the cost of this application is lower. In summary, in the application scenario of testing multiple ECUs, the solution of this application can achieve the purpose of reducing costs.
[0057] In some embodiments, after step 201 is executed, the specific implementation process of assigning different identifiers to multiple electronic control units in step 102 is as Figure 2 shown in step 202 of
[0058] Step 202: Assign different identifiers to the arbitration segments of the messages of multiple electronic control units.
[0059] Please refer to Figure 4 , Figure 4 which exemplarily shows a schematic diagram of a message corresponding to any electronic control unit. As Figure 4As shown, the message includes a start frame F1, an arbitration section F2, a control section F3, a data section F4, a CRC section (i.e., cyclic redundancy check section) F5, an ACK field (i.e., acknowledgment field) F6, and an end frame F7. Among them, the specific implementation method of this message is common knowledge in the art and will not be elaborated here. The present application cleverly configures the identifiers of the arbitration section F2, enabling the identifiers of the arbitration section F2 in the messages corresponding to different electronic control units to be different. For example, in some embodiments, multiple electronic control units include a first electronic control unit A1, a second electronic control unit A2,..., an Nth electronic control unit AN, where N is an integer greater than 1. Then, the host computer can perform the following operations to assign different identifiers to multiple electronic control units: sequentially configure the identifier of the arbitration section F2 corresponding to the first electronic control unit A1, the identifier of the arbitration section F2 corresponding to the second electronic control unit A2,..., the identifier of the arbitration section F2 corresponding to the Nth electronic control unit AN as G1, G2,..., GN. Furthermore, when testing the first electronic control unit A1, the second electronic control unit A2,..., the Nth electronic control unit AN, after the host computer receives the communication data output by each electronic control unit, it can identify the messages corresponding to each electronic control unit based on the identifiers of the arbitration section F2 in the communication data, thereby enabling the simultaneous testing of the first electronic control unit A1, the second electronic control unit A2,..., the Nth electronic control unit AN.
[0060] In some embodiments, after step 301 is executed, the specific implementation process of assigning different identifiers to multiple electronic control units in step 102 is as Figure 3 shown in step 302 of
[0061] Step 302: Assign different identifiers to the identifier fields of the messages of multiple electronic control units.
[0062] Please refer to Figure 5 , Figure 5 which exemplarily shows another schematic diagram of the message corresponding to any electronic control unit. As Figure 5As shown, the message includes an interval field D1, a synchronization field D2, an identifier field D3, a response interval D4, a data field D5, and a checksum field D6. Among them, the specific implementation manner of this message is common general knowledge in the art and will not be elaborated here. The present application cleverly configures the identifiers in the identifier field D3, enabling the identifiers in the identifier field D3 of the messages corresponding to different electronic control units to be different. For example, in some embodiments, the identifier in the identifier field D3 corresponding to the first electronic control unit A1, the identifier in the identifier field D3 corresponding to the second electronic control unit A2,..., and the identifier in the identifier field D3 corresponding to the Nth electronic control unit AN can be sequentially configured as E1, E2,..., EN. Furthermore, when testing the first electronic control unit A1, the second electronic control unit A2,..., and the Nth electronic control unit AN, after the host computer receives the communication data output by each electronic control unit, it can identify the messages corresponding to each electronic control unit based on the identifier in the identifier field D3 of the communication data, thereby enabling simultaneous testing of the first electronic control unit A1, the second electronic control unit A2,..., and the Nth electronic control unit AN.
[0063] Please refer to Figure 6 , Figure 6 which is a schematic structural diagram of a testing device provided by an embodiment of the present application. As Figure 6 shown, the testing device 600 includes a communication unit 601, an identifier allocation unit 602, and an instruction output unit 603. The communication unit 601 is used to establish communication with multiple electronic control units. The identifier allocation unit 602 is used to allocate different identifiers to multiple electronic control units. The instruction output unit 603 is used to output communication instructions to multiple electronic control units, so that at least one of the multiple electronic control units outputs communication data in response to the communication instructions, where the communication data includes an identifier.
[0064] In some embodiments, the communication unit 601 is specifically used to establish communication with multiple electronic control units based on the CAN bus protocol or the LIN bus protocol.
[0065] In some embodiments, when the identifier allocation unit 602 is specifically used to establish communication with multiple electronic control units based on the CAN bus protocol, it allocates different identifiers to the arbitration segments of the messages of the multiple electronic control units.
[0066] In some embodiments, when the identifier allocation unit 602 is specifically used to establish communication with multiple electronic control units based on the LIN bus protocol, it allocates different identifiers to the identifier fields of the messages of the multiple electronic control units.
[0067] Since the device embodiments and method embodiments are based on the same concept, on the premise that the content does not conflict with each other, the content of the device embodiments can refer to the method embodiments, which will not be elaborated here.
[0068] Please refer to Figure 7 , Figure 7 which is a schematic structural diagram of the host computer provided by the embodiments of the present application. As Figure 7 shown, the host computer 700 includes at least one processor 701 and a memory 702. Among them, the memory 702 can be built into the host computer 700 or external to the host computer 700. The memory 702 can also be a remotely set memory, which is connected to the host computer 700 through a network.
[0069] As a non-volatile computer-readable storage medium, the memory 702 can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules. The memory 702 can include a program storage area and a data storage area. Among them, the program storage area can store an operating system and application programs required for at least one function; the data storage area can store data created according to the use of the terminal, etc. In addition, the memory 702 can include high-speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some embodiments, the memory 702 optionally includes a memory remotely set relative to the processor 701, and these remote memories can be connected to the terminal through a network. Examples of the above network include but are not limited to the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.
[0070] The processor 701 executes various functions of the terminal and processes data by running or executing software programs and / or modules stored in the memory 702, and by calling data stored in the memory 702, so as to perform overall monitoring of the terminal, for example, implementing the test method described in any embodiment of the present application.
[0071] The processor 701 can be one or more, Figure 7 and one processor 701 is taken as an example here. The processor 701 and the memory 702 can be connected through a bus or other means. The processor 701 can include a central processing unit (CPU), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a controller, a field programmable gate array (FPGA) device, etc. The processor 701 can also be implemented as a combination of computing devices. For example, a combination of a DSP and a microprocessor, multiple microprocessors, one or more microprocessors combined with a DSP core, or any other such configuration.
[0072] Please refer to Figure 8 , Figure 8It is a schematic diagram of the composition block diagram of the test system provided by the embodiment of the present application. As Figure 8 shown, the test system 1000 includes N electronic control units (the first electronic control unit A1, the second electronic control unit A2,..., the Nth electronic control unit AN respectively), where N is an integer greater than 1, so the test system 1000 includes multiple electronic control units. The test system 1000 also includes a host computer 700 in any embodiment of the present application.
[0073] Among them, the host computer 700 is connected to multiple electronic control units, that is, the host computer 700 is respectively connected to the first electronic control unit A1, the second electronic control unit A2,..., the Nth electronic control unit AN. The host computer 700 can execute the test method in any embodiment of the present application to simultaneously test one or more of the N electronic control units. And only one host computer and one communication module are needed. Compared with the related art that requires multiple host computers and multiple communication tools to test multiple electronic control units, the cost of the present application is lower. In summary, in the application scenario of testing multiple ECUs, the solution of the present application can achieve the purpose of reducing costs.
[0074] In some embodiments, as Figure 9 shown, the test system 1000 also includes a communication module 800, multiple power modules and multiple loads, and the electronic control units, power modules and loads are connected in one-to-one correspondence. Among them, the multiple loads include the first load B1, the second load B2,..., the Nth load BN. The multiple power modules include the first power module C1, the second power module C2,..., the Nth power module CN.
[0075] Among them, the first ends of the electronic control units in the multiple electronic control units are short-circuited and connected to the first end of the communication module 800, that is, the first ends of the first electronic control unit A1, the second electronic control unit A2,..., the Nth electronic control unit AN are short-circuited and then connected to the first end of the communication module 800. The second end of the communication module 800 is connected to the first end of the host computer 700. The second end of one of the multiple electronic control units is connected to one of the multiple loads, that is, the second end of the first electronic control unit A1 is connected to the first load B1, the second end of the second electronic control unit A2 is connected to the second load B2,..., the second end of the Nth electronic control unit AN is connected to the Nth load BN. One of the multiple power modules is connected to the third end of one of the multiple electronic control units, that is, the first power module C1 is connected to the third end of the first electronic control unit A1, the second power module C2 is connected to the third end of the second electronic control unit A2,..., the Nth power module CN is connected to the third end of the Nth electronic control unit AN.
[0076] Specifically, the host computer 700 communicates with N electronic control units through the communication module 800 to test the N electronic control units. When testing the N electronic control units, different identifiers are assigned to multiple electronic control units. In this embodiment, since the first electronic control unit A1, the second electronic control unit A2,..., the Nth electronic control unit AN are respectively connected to the first power supply module C1, the second power supply module C2,..., the Nth power supply module CN, the first electronic control unit A1, the second electronic control unit A2,..., the Nth electronic control unit AN are powered on. Subsequently, the host computer 700 can communicate with the first electronic control unit A1, the second electronic control unit A2,..., the Nth electronic control unit AN, so as to be able to test the first electronic control unit A1, the second electronic control unit A2,..., the Nth electronic control unit AN simultaneously. Moreover, since the identifiers corresponding to different electronic control units among the N electronic control units are different, that is, the identifiers corresponding to any two of the first electronic control unit A1, the second electronic control unit A2,..., the Nth electronic control unit AN are different. For example, the identifier corresponding to the first electronic control unit A1 is different from the identifier corresponding to the second electronic control unit A2. Then, even if the first electronic control unit A1, the second electronic control unit A2,..., the Nth electronic control unit AN communicate with the host computer 700 simultaneously, it will not cause data conflicts, which is beneficial to improving the reliability and accuracy of the test results. In the related art, the identifiers in the messages corresponding to each electronic control unit have been configured as default values at the time of factory shipment. For example Figure 8 and Figure 9 the identifiers in the messages corresponding to the electronic control units shown are the default values configured at the time of factory shipment; while in this application, the identifiers in the messages corresponding to each electronic control unit are skillfully configured specifically to achieve no data conflicts when testing the first electronic control unit A1, the second electronic control unit A2,..., the Nth electronic control unit AN simultaneously. Secondly, this embodiment only needs to use one host computer 700 and one communication module 800. Compared with the related art that requires configuring N host computers and N communication tools to test N electronic control units, the cost of this application is lower. In addition, since it is possible to test the first electronic control unit A1, the second electronic control unit A2,..., the Nth electronic control unit AN simultaneously, the first electronic control unit A1, the second electronic control unit A2,..., the Nth electronic control unit AN always remain in the working state, and the risk of data loss is relatively low, and the work efficiency can also be improved.
[0077] The embodiment of this application also provides a non-volatile computer-readable storage medium. The computer-readable storage medium stores computer-executable instructions, and these computer-executable instructions are executed by one or more processors. For example, execute the above-describedFigures 1 - 3 the method steps shown, and to implement Figure 6 the functions of the respective units shown.
[0078] The embodiments of the present application further provide a computer program product, including a computing program stored on a non-volatile computer-readable storage medium. The computer program includes program instructions, which when executed by a computer, cause the computer to execute the testing method in any of the above method embodiments. For example, execute the Figures 1 - 3 method steps shown, and to implement Figure 6 the functions of the respective units shown.
[0079] The above are only the embodiments of the present application, and do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the content of the specification and drawings of the present application, or directly or indirectly applied in other related technical fields, are equally included in the patent protection scope of the present application.
[0080] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them; under the idea of the present application, the technical features in the above embodiments or different embodiments can also be combined, and the steps can be implemented in any order. Those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements on some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A testing method, characterized in that: Applied to a host computer, the host computer is connected to a plurality of electronic control units, and the testing method comprises: establishing communication with the plurality of electronic control units; assigning different identifiers to the plurality of electronic control units; A communication command is output to the plurality of electronic control units, so that at least one of the plurality of electronic control units outputs communication data in response to the communication command, wherein the communication data includes the identifier.
2. The testing method according to claim 1, characterized in that: The establishing communication with the plurality of electronic control units comprises: The communication is established with the plurality of electronic control units based on a CAN bus protocol or a LIN bus protocol.
3. The testing method according to claim 2, characterized in that: When establishing communication with the plurality of electronic control units based on the CAN bus protocol, the assigning different identifiers to the plurality of electronic control units comprises: Different identifiers are assigned to arbitration segments of the messages of the plurality of electronic control units.
4. The testing method according to claim 2, characterized in that: When establishing communication with the plurality of electronic control units based on the LIN bus protocol, the assigning different identifiers to the plurality of electronic control units comprises: Different identifiers are assigned to identifier fields of the messages of the plurality of electronic control units.
5. A testing device, characterized in that: Applied to a host computer, the host computer is connected to a plurality of electronic control units, and the test device comprises: a communication unit, configured to establish communication with the plurality of electronic control units; an identifier assigning unit, configured to assign different identifiers to the plurality of electronic control units; The instruction output unit is used to output a communication instruction to the plurality of electronic control units, so that at least one of the plurality of electronic control units outputs communication data in response to the communication instruction, wherein the communication data includes the identifier.
6. A host computer, characterized in that: include: at least one processor and memory; The memory is coupled to the processor, and the memory is used to store instructions or programs. When the instructions or programs are executed by the host computer, the host computer executes the test method according to any one of claims 1 to 4.
7. A testing system, characterized in that: include: Multiple electronic control units; And, the host computer as claimed in claim 6, the host computer is connected to the multiple electronic control units.
8. The test system according to claim 7, characterized in that: The test system further comprises a communication module, a plurality of power modules and a plurality of loads, wherein the electronic control unit, the power modules and the loads are connected in a one-to-one correspondence; The first end of each electronic control unit among the multiple electronic control units is short-circuited and connected to the first end of the communication module, the second end of the communication module is connected to the first end of the host computer, the second end of an electronic control unit among the multiple electronic control units is connected to a load among the multiple loads, and a power supply module among the multiple power supply modules is connected to the third end of an electronic control unit among the multiple electronic control units.
9. A computer storage medium, characterized in that The computer storage medium stores instructions or programs, and when the instructions or programs are executed by a host computer, the host computer executes the testing method according to any one of claims 7 to 8.
10. A computer program product, characterized in that The computer program product comprises a computer program stored on a computer-readable storage medium, wherein the computer program comprises program instructions, and when the program instructions are executed by a computer, the computer is caused to execute the testing method according to any one of claims 7 to 8.