Multi-ecu simulation test method and apparatus, computer device, and storage medium
AssigneeBeijing Co Wheels Technology Co., Ltd.
InventorXiaoxi ZHENG
Life of this patent
Estimating the term…
Abstract
The multi-ECU simulation test method includes: obtaining a pre-developed application applied to a target ECU; inputting the application into a pre-built multi-ECU simulation environment; querying a simulated vehicle-mounted ECU having a unique identifier the same as the target ECU from a plurality of simulated vehicle-mounted ECUs in the multi-ECU simulation environment as a target simulated ECU; and simulating a communication process of the target simulated ECU via a simulated controller area network or a simulated Internet network in the multi-ECU simulation environment, running the application based on the target simulated ECU, and outputting a running result of the application.
Claims23
A multi-electronic control unit (ECU) simulation test method, comprising:
- obtaining a pre-developed application applied to a target ECU;
- inputting the application into a pre-built multi-ECU simulation environment;
- querying a simulated vehicle-mounted ECU having a unique identifier the same as the target ECU from a plurality of simulated vehicle-mounted ECUs in the multi-ECU simulation environment as a target simulated ECU;
- and
- simulating a communication process of the target simulated ECU via a simulated controller area network (CAN) or a simulated Internet network in the multi-ECU simulation environment, running the application based on the target simulated ECU, and outputting a running result of the application;
- wherein the method further comprises pre-building the multi-ECU simulation environment, comprising:
- configuring a data link layer and a physical layer of the simulated Internet network based on a received first instruction;
- configuring a transport layer and a network layer of the simulated Internet network based on a received second instruction and an Internet protocol stack;
- simulating a CAN bus communication based on a received third instruction and data distribution service;
- and
- configuring virtual networks corresponding respectively to Internet protocol simulation addresses where the plurality of simulated vehicle-mounted ECUs are located based on a received fourth instruction.
(canceled)
(canceled)
A computer device, comprising:
- a processor, and
- a memory storing computer programs and executable by the processor;
- wherein the processor is configured to:
- obtain a pre-developed application applied to a target ECU;
- input the application into a pre-built multi-ECU simulation environment;
- query a simulated vehicle-mounted ECU having a unique identifier the same as the target ECU from a plurality of simulated vehicle-mounted ECUs in the multi-ECU simulation environment as a target simulated ECU;
- and
- simulate a communication process of the target simulated ECU via a simulated controller area network (CAN) or a simulated Internet network in the multi-ECU simulation environment, run the application based on the target simulated ECU, and output a running result of the application;
- wherein the processor is further configured to pre-build the multi-ECU simulation environment by:
- configuring a data link layer and a physical layer of the simulated Internet network based on a received first instruction;
- configuring a transport layer and a network layer of the simulated Internet network based on a received second instruction and an Internet protocol stack;
- simulating a CAN bus communication based on a received third instruction and data distribution service;
- and
- configuring virtual networks corresponding respectively to Internet protocol simulation addresses where the plurality of simulated vehicle-mounted ECUs are located based on a received fourth instruction.
A non-transitory computer-readable storage medium having computer programs stored thereon, wherein when the computer programs are executed by a processor, the processor is configured to:
- obtain a pre-developed application applied to a target ECU;
- input the application into a pre-built multi-ECU simulation environment;
- query a simulated vehicle-mounted ECU having a unique identifier the same as the target ECU from a plurality of simulated vehicle-mounted ECUs in the multi-ECU simulation environment as a target simulated ECU;
- and
- simulate a communication process of the target simulated ECU via a simulated controller area network (CAN) or a simulated Internet network in the multi-ECU simulation environment, run the application based on the target simulated ECU, and output a running result of the application;
- wherein the processor is further configured to pre-build the multi-ECU simulation environment by:
- configuring a data link layer and a physical layer of the simulated Internet network based on a received first instruction;
- configuring a transport layer and a network layer of the simulated Internet network based on a received second instruction and an Internet protocol stack;
- simulating a CAN bus communication based on a received third instruction and data distribution service;
- and
- configuring virtual networks corresponding respectively to Internet protocol simulation addresses where the plurality of simulated vehicle-mounted ECUs are located based on a received fourth instruction.
-12. (canceled)
Dependencies are inferred from the claim text.