Data transmission system and control method thereof, vehicle and medium

By using online adjustable two-way gateway equipment and MatLab/Simulink environment in real-time tests, the problem of inconvenient data transmission in real-time and inconvenient configuration interface operation in real-time tests is solved, and efficient and real-time data transmission and testing configuration are achieved, improving the Test efficiency and accuracy.

CN119088733APending Publication Date: 2024-12-06DEEPAL AUTOMOBILE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411202721.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

The existing technology has stuck and lag in actual vehicle testing, which cannot realize real-time data transmission and online adjustment. The test configuration interface is inconvenient to operate and the code is large, making it difficult to meet the fast and efficient testing needs.

Method used

Using an online adjustable two-way gateway device developed based on a fast control prototype system, it is connected in series between the target controller and the remaining bus, using terminal devices and gateway devices for bidirectional real-time data forwarding, and configuring communication in MatLab/Simulink environment Channels and signals to realize image modeling and automated testing.

Benefits of technology

It realizes two-way real-time data forwarding of multiple target controllers in a real-time vehicle environment, supports online adjustment, avoids stuck and lag, simplifies test configuration, reduces operational complexity and code volume, and improves test efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119088733A_ABST
    Figure CN119088733A_ABST
Patent Text Reader

Abstract

The invention discloses a data transmission system and a control method thereof, a vehicle and a medium. The system comprises a terminal device used for determining at least one target controller according to a communication interface signal needing to be operated and a network connection system, and determining at least one first communication channel according to a communication network architecture of the target controller; the terminal equipment is in communication connection with the gateway equipment, and paired network nodes of the gateway equipment are used for realizing data interaction between the target controller and the plurality of controllers; and the connecting wire harness is used for correspondingly dividing each first communication channel into a second communication channel and a third communication channel. Thus, the online adjustable bidirectional gateway device developed based on the rapid control prototype system is connected in series between the target controllers and the remaining buses, bidirectional real-time forwarding and bidirectional online modification can be carried out on sent messages and received messages of the multiple target controllers, the phenomena of jamming, lagging and the like do not occur, and the service life of the target controllers is prolonged. And the reaction of the whole vehicle to the data sent or received by the controller can be conveniently tested.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of automobile electronic control systems, and in particular to a data transmission system, a test system, a control method for a data transmission system, a computer-readable storage medium and a vehicle. Background Art

[0002] In the traditional development environment, the integration test of the electronic control system at the vehicle level is mainly carried out in the real vehicle environment. Compared with the multi-controller joint HIL (Hardware in the Loop) simulation test and the yellow board test, the real vehicle test can truly reflect the vehicle behavior, and the functional coupling and related problems are easier to express, perceive and detect. There is no need to worry about the accuracy of the test environment, and there is no need to spend 100% more time to prepare the test environment. However, the current real vehicle test operation is not flexible, especially for tests involving specific signal inputs or specific working conditions of the communication network. Usually, CANalyzer (a general analysis tool for network and distributed system development) or similar communication tools are connected in parallel to the real vehicle communication network to use a simple operation of simulating the sending of signals. Because the parallel method cannot intercept the signal value sent by the real controller on the original vehicle, it causes the signal to jump and other faults cannot be accurately tested. Or by modifying the internal calibration of the terminal controller (such as the whole vehicle controller, battery management system, etc.) instead of performing the test operation at the source controller, the test results of other related electronic control systems are not equivalent to the actual results. Due to the influence of the above-mentioned operating methods, the actual vehicle test items did not fully cover the needs. Most of them were basic functional inspections and human-computer interaction tests, and did not fully involve interface combination tests, fault injection tests, and extreme operating condition tests.

[0003] In the related art, the patent document with application number CN202010598436.0 and titled "A functional testing method and device based on a bus development environment" discloses that a bus box is connected between the controller under test and the bus. The bus box can route the data transmitted on the bus to the controller under test, and can also route the data sent by the controller under test to the bus. The bus box can be a CAN CASE, and its simulation gateway function can be developed based on the CAPL programming language of the bus development environment. At the same time, the test configuration interface can be designed based on the Panel Designer (an interface design tool) of the bus development environment, so that users can configure relevant test parameters through the test configuration interface, simulate or change certain data, so as to realize specific signal input to the controller under test. In the real vehicle operation environment, except for the data changed in the bus box, all other data are real real vehicle data, realizing semi-real vehicle testing. However, the bus box cannot be used for real vehicle testing online. When the user performs test configuration through the test configuration interface of the bus box, the bus box is suspended and no longer performs data routing between the bus and the controller under test. The bus box does not have a real-time processor, and the simulated gateway function cannot run in real time in the bus box, and the underlying logic of the gateway cannot be operated. It can only process bus data. Therefore, the test operation will be affected by the non-real-time characteristics of the laptop, resulting in freezing and operation lag. When the amount of bus data to be processed increases, the freezing and lag phenomenon is more prominent. In addition, the process-oriented programming language CAPL is used, which has a large amount of code and is inconvenient to operate. The Panel Designer (an interface design tool) based on the bus development environment is used to design the test configuration interface, which requires manual design of the test configuration interface, which is labor-intensive, time-consuming, and inconvenient to operate. The patent document with application number CN201810503658.2 and titled A disconnect box and vehicle detection system discloses that the data information between the controller and the CAN bus is changed by using a disconnect box. The disconnect box network card module, the first control switch, the second control switch, the first serial port and the second serial port, the network card module includes a gateway and at least two CAN cards. When the data information transmitted between the controller and the CAN bus needs to be changed, the change signal can be input through the first serial port and the second serial port to control the switch of the first control switch and the second control switch, thereby realizing the reaction of the test controller to different working conditions and the reaction of the whole vehicle to various data information sent by the controller. However, the disconnect box cannot set the test parameters in real time, and the whole vehicle test is still limited. Summary of the invention

[0004] One of the purposes of the present invention is to provide a data transmission system, in which an online adjustable bidirectional gateway device developed based on a rapid control prototype system is connected in series between a target controller and the remaining buses in a real vehicle environment, so that bidirectional real-time forwarding can be performed for sending messages and receiving messages of multiple target controllers without jamming, lagging, etc., while supporting online adjustment when the real vehicle is driving normally. In addition, the system can be quickly configured in a short time, and bidirectional real-time forwarding and bidirectional online modification of a large number of messages can be quickly realized, so as to facilitate testing of the vehicle's response to data sent or received by the controller; the second purpose is to provide a test system; the third purpose is to provide a control method for a data transmission system; the fourth purpose is to provide a computer-readable storage medium; the fifth purpose is to provide a vehicle.

[0005] In order to achieve the above object, the technical solution adopted by the present invention is as follows:

[0006] A data transmission system, the data transmission system includes: a terminal device, used to determine at least one target controller according to a communication interface signal and a network connection system that needs to be operated, and determine at least one first communication channel according to the communication network architecture of the target controller, the first communication channel is used to realize data interaction between the target controller and multiple controllers; at least one gateway device, the terminal device is communicatively connected to the gateway device, the gateway device has paired network nodes, and the paired network nodes are used to realize data interaction between the target controller and multiple controllers; a connecting harness, used to divide each first communication channel into a second communication channel and a third communication channel, wherein one end of the second communication channel is connected to one of the paired network nodes, the other end of the second communication channel is connected to the target controller, one end of the third communication channel is connected to the other of the paired network nodes, and the other end of the third communication channel is connected to multiple controllers.

[0007] According to one embodiment of the present invention, paired network nodes of a gateway device have the same structure, and the network nodes include: a node configuration module, used to configure hardware parameters, the hardware parameters include at least one of a communication channel, terminal device resistance, baud rate, and sampling points; a batch message configuration module, used to configure software parameters, the software parameters include at least one of a target controller's receiving message, sending message, triggering mode for sending message, and CRC check algorithm.

[0008] According to an embodiment of the present invention, paired network nodes receive and send message data to each other, so as to realize data interaction between a target controller and multiple controllers.

[0009] According to one embodiment of the present invention, the terminal device is also used to configure software parameters for the batch message configuration modules corresponding to the paired network nodes according to the software parameters of the first communication channel, and configure hardware parameters for the node configuration modules corresponding to the paired network nodes.

[0010] According to one embodiment of the present invention, the terminal device is also used to compile the gateway device after completing the parameter configuration to generate a target program and a test configuration interface monitoring and tracking file, and burn the target program and the test configuration interface monitoring and tracking file into the gateway device.

[0011] According to an embodiment of the present invention, the terminal device is further used to load a test configuration interface monitoring tracking file to generate a test configuration interface; and configure preset test parameters based on the test configuration interface.

[0012] According to one embodiment of the present invention, the terminal device is also used to complete parameter configuration of the node configuration module and the batch message configuration module in the MatLab / Simulink environment, and to define the test algorithm for the signals sent or received by the target controller through graphical modeling.

[0013] According to one embodiment of the present invention, the connection harness adopts a non-destructive harness tool.

[0014] According to one embodiment of the present invention, the gateway device is also connected to a low-voltage battery of the vehicle, and the low-voltage battery is used to supply power to the gateway device.

[0015] A test system, a terminal device is used to determine at least one target controller according to a communication interface signal and a network connection system required for test operation, and the terminal device is also used to control the operation of a gateway device according to preset test parameters to perform vehicle testing.

[0016] A control method for a data transmission system, the data transmission system includes a terminal device, at least one gateway device and a connecting harness, the method includes: determining at least one target controller according to a communication interface signal and a network connection system to be operated; determining at least one first communication channel according to the communication network architecture of the target controller, the first communication channel being used to realize data interaction between the target controller and multiple controllers; controlling a second communication channel to send a message that the target controller needs to receive and at least receive a message sent by the target controller, and controlling a third communication channel to send a message sent by the target controller and at least receive a message sent by other multiple controllers to be received by the target controller, the second communication channel and the third communication channel realizing the same functions as the first communication channel.

[0017] A computer-readable storage medium stores a control program of a data transmission system, and when the control program of the data transmission system is executed by a processor, the control method of the data transmission system is implemented.

[0018] A vehicle includes a memory, a processor, and a control program of a data transmission system stored in the memory and executable on the processor. When the processor executes the control program of the data transmission system, the control method of the data transmission system is implemented.

[0019] Beneficial effects of the present invention:

[0020] (1) In the related art, the gateway device used for testing does not have a real-time processor, and the simulated gateway function cannot run in real time in the gateway device and cannot operate the underlying logic of the gateway. Instead, it runs in a non-real-time host computer (such as a laptop) and can only process bus data. Therefore, the test operation will be affected by the non-real-time characteristics of the laptop, resulting in freezing, operation lags, etc. When the amount of bus data to be processed increases, the freezing and lag phenomena are more prominent. However, this application innovatively applies the rapid control prototyping tool for quickly establishing controller models and control algorithm designs in real vehicle testing, develops an online adjustable bidirectional gateway device based on the rapid control prototyping system, connects the gateway device in series between the target controller and the remaining buses in the real vehicle environment, and performs bidirectional real-time forwarding of the sending and receiving messages of multiple target controllers without freezing, lags, etc. The real-time index can reach a signal delay of less than 1 millisecond;

[0021] (2) In the related art, when performing test configuration in the test configuration interface, data routing between the bus and the controller under test will no longer be performed. Generally, there are dozens of network segments, hundreds of controllers, thousands of message frames, and tens of thousands of signals in the vehicle communication architecture. A single test configuration cannot cover such a huge demand. If hundreds of test configurations are required, the test needs to be repeatedly paused hundreds of times, which is inconvenient to operate. However, the present application can use the underlying logic of the terminal device to operate the gateway online, without the need for repeated pauses. Online adjustment is supported when the actual vehicle is driving normally. For any signal in any message, the value can be increased, decreased, adjusted to the expected value, and the CRC check value can be adapted at any time point or within any time period. For any message, the sending period can be changed, or the message can be stopped, etc. For any target controller, different variants can be operated or stopped;

[0022] (3) In the related art, the analog gateway function of the gateway device is developed based on the CAPL programming language of the bus development environment. The CAPL process-oriented programming language has a large amount of code and is inconvenient to operate. The understanding, compilation, and debugging of the code require users to have high CAPL programming skills, otherwise it is impossible to efficiently solve the problems caused by handwritten code, and it does not meet the user's short-term and fast testing needs. However, this application configures communication channels and signals based on the MATLAB / Simulink environment, and also customizes the test algorithm for any number of signals sent or received by the target controller through graphical modeling based on the MATLAB / Simulink environment. The code is small and easy to operate, which can realize test automation and can be quickly promoted and applied in large quantities at low cost.

[0023] (4) In the related art, the test configuration interface is designed based on the Panel Designer of the bus development environment, and the interface controls and manually associated signals need to be designed manually. However, the manual design of the test configuration interface is labor-intensive, time-consuming, and inconvenient to operate. However, the application configures the communication channel and signal based on the MATLAB / Simulink environment, which can be quickly configured in a short time, and quickly realizes the two-way real-time forwarding and two-way online modification of a large number of messages, and then tests the vehicle's response to various data information sent or received by the controller, which is convenient for comprehensive testing of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] Figure 1 A schematic diagram of the structure of a data transmission system according to some embodiments of the present invention;

[0025] Figure 2 A schematic diagram of a network structure before accessing a gateway device according to some embodiments of the present invention;

[0026] Figure 3 is a schematic diagram of the structure of a data transmission system according to some other embodiments of the present invention;

[0027] Figure 4 A diagram showing the arrangement of receiving and transmitting signals according to some embodiments of the present invention;

[0028] Figure 5 A schematic diagram of a gateway unit structure according to some embodiments of the present invention;

[0029] Figure 6 is a schematic diagram of the structure of a data transmission system according to some other embodiments of the present invention;

[0030] Figure 7 is a flow chart of a control method of a data transmission system according to some embodiments of the present invention;

[0031] Figure 8A flowchart of a real vehicle operation method for testing using a gateway device according to some embodiments of the present invention;

[0032] Fig. 9 A flowchart of a method for developing a gateway device according to some embodiments of the present invention;

[0033] Fig.10 is a block diagram of a vehicle according to some embodiments of the present invention. DETAILED DESCRIPTION

[0034] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.

[0035] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0036] The data transmission system and control method thereof according to the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. Figure 1 Schematic diagram of the structure of a data transmission system according to some embodiments of the present invention.

[0037] Reference Figure 1 The data transmission system of the embodiment of the present application includes: a terminal device, which is used to determine at least one target controller according to the communication interface signal and the network connection system required to be operated, and determine at least one first communication channel according to the communication network architecture of the target controller, and the first communication channel is used to realize data interaction between the target controller and multiple controllers; at least one gateway device, the terminal device is communicatively connected to the gateway device, the gateway device has paired network nodes, and the paired network nodes are used to realize data interaction between the target controller and multiple controllers; a connecting harness, which is used to divide each first communication channel into a second communication channel and a third communication channel, wherein one end of the second communication channel is connected to one of the paired network nodes, and the other end of the second communication channel is connected to the target controller, one end of the third communication channel is connected to the other of the paired network nodes, and the other end of the third communication channel is connected to multiple controllers.

[0038] Specifically, the terminal device (such as a computer) determines at least one target controller for the communication interface signal and network connection system that need to be operated. For example, assuming that a control instruction is issued by clicking on the vehicle-mounted terminal device, the controller will perform the corresponding operation after receiving the control instruction. If the purpose is to determine the vehicle's response to various data information sent and received by the vehicle computer, the vehicle computer can be determined as the target controller. After determining the target controller, it is necessary to determine a location that is convenient for unplugging the controller based on the network connection system.

[0039] Furthermore, the communication network architecture of the target controller is collected, such as a dbc (Database CAN, a database file describing CAN communication information) file, and other controllers that directly interact with the target controller can be identified based on the communication network architecture, and the information transmission network between them can be understood, and at least one first communication channel can be determined based on the information transmission network. Exemplarily, refer to Figure 2 , the target controller ECU1 is connected to the controller ECU2, controller ECU3, controller ECU4 and controller ECU5 through network A, and the target controller ECU1 is connected to the controller ECU6 and ECU5 through network B. Then, network A can be determined as the first communication channel 1, and network B can be determined as the first communication channel 2. In order to determine the reaction of the whole vehicle to the various data information sent by the target controller ECU1, it is necessary to modify the data information sent by the target controller ECU1 online in real time. Therefore, it is necessary to cut off the first communication channel and access the gateway device, such as accessing the paired network nodes of the gateway device. The paired network nodes can be used to realize data interaction between the target controller and other multiple controllers. In addition, the gateway device is connected to the terminal device for communication, such as through a network cable, and the terminal device can be used to adjust the transmission signal online when the actual vehicle is driving normally.

[0040] In order not to damage the original first communication channel (network A and network B) of the vehicle, it is necessary to use a connection harness to replace the original first communication channel. For example, unplug the connector of the target controller, connect one end of the connection harness to the target controller in series, and connect the other end to the original connection position of the target controller in series. Cut off the connected connection harness (i.e., the first communication channel) and divide it into a second communication channel and a third communication channel. The second communication channel and the third communication channel are connected to the paired network nodes of the gateway device.

[0041] For example, in the embodiment of the present invention, a gateway device including two pairs of paired network nodes is used as an example for description, but this is not intended to limit the present invention. Figure 3, node 1 and node 2 are a pair of network nodes, and node 3 and node 4 are a pair of network nodes. The first communication channel 1 is cut into the second communication channel 1 and the third communication channel 1, one end of the second communication channel 1 is connected to node 1, the other end of the second communication channel 1 is connected to the target controller ECU1, one end of the third communication channel 1 is connected to node 2, and the other end of the third communication channel 1 is connected to controller ECU2, controller ECU3, controller ECU4 and controller ECU5. The first communication channel 2 is cut into the second communication channel 2 and the third communication channel 2, one end of the second communication channel 2 is connected to node 3, the other end of the second communication channel 2 is connected to the target controller ECU1, one end of the third communication channel 2 is connected to node 4, and the other end of the third communication channel 2 is connected to controller ECU6 and controller ECU5.

[0042] For the target controller ECU 1, its received and sent messages on the blocked communication channel and their CRC verification methods are analyzed, the signal flow after being divided into two is sorted out, the requirements for pairs of network nodes are integrated, and the host computer is used to configure the pairs of network nodes as required and integrate the gateway unit. That is to say, node 1 and node 2 are each other's gateway units, which are used to forward the messages and information transmitted by the target controller ECU1 through the original vehicle network A in real time and in both directions, and node 3 and node 4 are each other's gateway units, which are used to forward the messages and information transmitted by the target controller ECU1 through the original vehicle network B in real time and in both directions.

[0043] For example, the signal sending and receiving content of the target controller ECU 1 in the original vehicle network A includes the message identifier ID, signal quantity, signal brief description, sending controller, receiving controller, CRC (Cyclic Redundancy Check) check value start bit, CRC length, CRC check algorithm, etc. The signal sending and receiving signal sorting diagram is as follows: Figure 4 See Figure 1 , ECU1 receives messages and signal flows from other network nodes as follows: Node 2 receives CAN messages required by ECU1 from the third communication channel, and transmits them to Node 1 in real time through programming or configuration operations, and Node 1 sends them to the second communication channel for other nodes to use; ECU1 sends messages and signal flows to other network nodes as follows: Node 1 receives CAN messages sent by ECU1 from the second communication channel, and transmits them to Node 2 in real time through programming or configuration operations, and Node 2 sends them to the third communication channel for other nodes to use. Figure 1 and Figure 4, the function of node 1 includes sending at least the messages and signals (7 frames and 133 signals) that ECU1 needs to receive in the second communication channel, note that the message is the minimum sending unit, including but not limited to these messages; receiving the CAN message sent by ECU1 in the second communication channel. The function of node 2 includes sending at least the messages and signals (1 frame and 51 signals) that other nodes need to receive in the third communication channel, note that the message is the minimum sending unit, including but not limited to these messages; receiving the CAN message sent by other nodes in the third communication channel.

[0044] In this way, an online adjustable bidirectional gateway device is developed based on the rapid control prototyping system. In the actual vehicle environment, the gateway device is connected in series between the target controller and the remaining buses. It can perform bidirectional real-time forwarding of send and receive messages of multiple target controllers without jamming or lag. At the same time, it supports online adjustment when the actual vehicle is driving normally. In addition, it can be quickly configured in a short time, and quickly realize bidirectional real-time forwarding and bidirectional online modification of a large number of messages, which is convenient for testing the vehicle's response to data sent or received by the controller.

[0045] In some embodiments, the paired network nodes of the gateway device have the same structure, and the network nodes include: a node configuration module, used to configure hardware parameters, the hardware parameters include at least one of the communication channel, terminal device resistance, baud rate, and sampling point; a batch message configuration module, used to configure software parameters, the software parameters include at least one of the target controller's receiving message, sending message, triggering mode for sending message, and CRC verification algorithm.

[0046] In some embodiments, paired network nodes receive and send message data to each other to achieve data interaction between the target controller and multiple controllers.

[0047] In some embodiments, the terminal device is further used to configure software parameters of a batch message configuration module corresponding to the paired network nodes according to software parameters of the first communication channel, and to configure hardware parameters of a node configuration module corresponding to the paired network nodes.

[0048] Specifically, refer to Figure 5 , a pair of network nodes (such as node 1 and node 2) can receive and send message data to each other through programming or configuration operations. Each network node includes a node configuration module and a batch message configuration module. The node configuration module is used to configure hardware parameters, and the hardware parameters include at least one of the communication channel, terminal device resistance, baud rate, and sampling point. The batch message configuration module is used to configure software parameters, and the software parameters include at least one of the target controller's receiving message, sending message, triggering mode of sending message, and CRC check algorithm.

[0049] In some embodiments, the terminal device is also used to compile the gateway device after completing the parameter configuration to generate a target program and a test configuration interface monitoring and tracking file, and burn the target program and the test configuration interface monitoring and tracking file into the gateway device.

[0050] In some embodiments, the terminal device is further used to load a test configuration interface monitoring tracking file to generate a test configuration interface; and configure preset test parameters based on the test configuration interface.

[0051] Specifically, after completing the parameter configuration, such as completing the configuration of hardware parameters and software parameters, one-click compilation generates the target program and automatically downloads it to the rapid control prototype system hardware. At the same time, one-click compilation also automatically generates a test configuration interface monitoring tracking file. The tracking file is loaded in the rapid control prototype system monitoring software in the terminal device. The monitoring interface of any message can be called up by clicking the mouse, and the value can be increased, decreased, adjusted to the expected value, and the CRC check value can be adapted and observed for any signal operation.

[0052] In some embodiments, the terminal device is also used to complete parameter configuration of the node configuration module and the batch message configuration module in the MatLab / Simulink environment, and to define the test algorithm for the signals sent or received by the target controller through graphical modeling.

[0053] For example, refer to Figure 5 The node configuration module and the batch message configuration module are configured in the MatLab / simulink environment by simply clicking the mouse. For example, click the batch message configuration module and click each software parameter option to complete the configuration. The configuration time is short and can usually be completed within 5 minutes. In addition, the test algorithm can be defined in the MatLab / simulink environment for the signals sent or received by the target controller through graphical modeling. When conducting real vehicle tests, the connection of the gateway switch can be modified online by clicking the connection line in the batch message configuration module in the two nodes. The operation is simple.

[0054] In some embodiments, the connecting harness uses a non-destructive harness tooling.

[0055] For example, the connection harness can adopt plug-and-play non-destructive harness tooling.

[0056] In some embodiments, the gateway device is also connected to a low-voltage battery of the vehicle, and the low-voltage battery is used to power the gateway device.

[0057] For example, refer to Figure 6The gateway device is connected to the low-voltage battery of the vehicle, such as a 12V small battery on board, and directly draws power from the 12V small battery on board. In summary, an online adjustable bidirectional gateway device is developed based on the rapid control prototype system. The gateway device is connected in series between the target controller and the remaining buses in the real vehicle environment. It can forward the sending and receiving messages of multiple target controllers in real time in both directions without freezing or lag. At the same time, it supports online adjustment when the real vehicle is driving normally. In addition, it can be quickly configured in a short time, and quickly realizes the bidirectional real-time forwarding and bidirectional online modification of a large number of messages, thereby testing the vehicle's response to various data information sent or received by the controller, which is convenient for comprehensive testing of the vehicle.

[0058] Corresponding to the above embodiments, the present application also proposes a test system, in which a terminal device is used to determine at least one target controller according to the communication interface signal and network connection system required for the test, and the terminal device is also used to control the operation of the gateway device according to preset test parameters to perform vehicle testing.

[0059] Specifically, the terminal device can determine at least one target controller based on the communication interface signals and network connection systems that need to be operated in the test. For example, in order to test the reaction of the whole vehicle to various data information sent and received by the vehicle computer, the tester can determine the vehicle computer as the target controller, and in the actual vehicle environment, develop an online adjustable bidirectional gateway device based on the rapid control prototyping system and connect it in series between the target controller and the remaining buses, and use the data transmission system as a test system. At this time, the terminal device can be used to control the operation of the gateway device according to preset test parameters, and test the reaction of the whole vehicle to the data sent or received by the controller, so as to facilitate testing of the vehicle.

[0060] Exemplarily, the online monitoring software running on the terminal device can adjust or operate the underlying logic of the gateway running in the gateway device online, and can observe, record, and analyze test data online, support online adjustment when the actual vehicle is driving normally, and can adjust the value of any signal in any message at any time point or any time period to increase, decrease, adjust to the expected value, adapt the CRC check value, etc., and can change the sending cycle or stop sending messages for any message, etc., and can operate different variants or stop working for any target controller. Corresponding to the above embodiments, the present application also proposes a control method for a data transmission system.

[0061] In some embodiments, the data transmission system includes a terminal device, at least one gateway device and a connection harness. Figure 7 , the control method of the data transmission system may include the following steps:

[0062] S110, determining at least one target controller according to the communication interface signal and the network connection system required to be operated for the test.

[0063] S120, determining at least one first communication channel according to the communication network architecture of the target controller, where the first communication channel is used to implement data interaction between the target controller and multiple controllers.

[0064] S130, control the second communication channel to send messages that the target controller needs to receive and at least receive messages sent by the target controller, and control the third communication channel to send messages sent by the target controller and at least receive messages sent by other multiple controllers to be received by the target controller. The second communication channel and the third communication channel have the same functions as the first communication channel.

[0065] It should be pointed out that the above explanations of the embodiments and beneficial effects of the data transmission system are also applicable to the control method of the data transmission system of the embodiment of the present invention, and will not be elaborated here in detail to avoid redundancy.

[0066] As a specific example, see Figure 8 The actual vehicle operation method for testing using a gateway device includes the following steps:

[0067] S201, unplug the connector of the target controller.

[0068] S202, connect the plug-and-play non-destructive wiring harness tooling.

[0069] S203, blocking the connection between the target controller and the remaining network nodes.

[0070] S204, connecting a gateway device in series between the target control and the remaining network nodes.

[0071] S205, running the gateway to perform bidirectional real-time forwarding of communication messages.

[0072] S206, the actual vehicle operates the required functions (such as charging function) or operates to the required operating conditions (such as a vehicle speed of 60 km / h).

[0073] S207, online adjusting or operating the communication message or signal value running in the gateway device on the monitoring interface of the terminal device, observing, recording and analyzing the test data.

[0074] As a specific example, see Fig. 9 , the development method of the gateway device includes the following steps:

[0075] S301, determining at least one target controller according to a communication interface signal and a network connection system that need to be operated for a test.

[0076] S302, collecting the communication network architecture of the target controller.

[0077] S303: Determine at least one first communication channel according to the communication network architecture of the target controller.

[0078] S304, analyzing the target controller's received messages and sent messages on the blocked communication channel and their CRC verification method.

[0079] S305, sorting out the signal flow after being divided into two.

[0080] S306, integrating into requirements for network nodes.

[0081] S307, configure paired network nodes as required and integrate gateway units.

[0082] Corresponding to the above embodiments, the present application also proposes a computer-readable storage medium.

[0083] The computer-readable storage medium of the present application stores a control program of a data transmission system, and when the control program of the data transmission system is executed by a processor, the control method of the data transmission system is implemented.

[0084] It should be pointed out that the above explanations of the embodiments and beneficial effects of the data transmission system are also applicable to the computer-readable storage medium of the embodiments of the present invention, and will not be elaborated here in detail to avoid redundancy.

[0085] Corresponding to the above embodiments, the present application also proposes a vehicle.

[0086] Reference Fig.10 The vehicle 400 of the present application includes a memory 410, a processor 420, and a control program of a data transmission system stored in the memory 410 and executable on the processor. When the processor 420 executes the control program of the data transmission system, the aforementioned control method of the data transmission system is implemented.

[0087] It should be pointed out that the above explanations of the embodiments and beneficial effects of the data transmission system are also applicable to the vehicle of the embodiment of the present invention, and will not be elaborated here in detail to avoid redundancy.

[0088] It should be noted that the logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be specifically implemented in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection portion with one or more wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0089] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0090] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0091] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0092] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0093] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

[0094] The above embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. Any equivalent substitution or change made by a person skilled in the art based on the present invention is within the protection scope of the present invention.

Claims

1. A data transmission system, characterized in that: The data transmission system comprises: A terminal device, used to determine at least one target controller according to the communication interface signal and the network connection system to be operated, and to determine at least one first communication channel according to the communication network architecture of the target controller, wherein the first communication channel is used to realize data interaction between the target controller and multiple controllers; at least one gateway device, the terminal device being communicatively connected to the gateway device, the gateway device having paired network nodes, the paired network nodes being used to implement data interaction between the target controller and the plurality of controllers; A connection harness is used to divide each of the first communication channels into a second communication channel and a third communication channel, wherein one end of the second communication channel is connected to one of the paired network nodes, the other end of the second communication channel is connected to the target controller, one end of the third communication channel is connected to the other of the paired network nodes, and the other end of the third communication channel is connected to the multiple controllers.

2. The data transmission system according to claim 1, characterized in that: The paired network nodes of the gateway device have the same structure, and the network nodes include: A node configuration module, used to configure hardware parameters, wherein the hardware parameters include at least one of a communication channel, a terminal device resistance, a baud rate, and a sampling point; The batch message configuration module is used to configure software parameters, wherein the software parameters include at least one of the receiving message, sending message, triggering mode of sending message, and CRC check algorithm of the target controller.

3. The data transmission system according to claim 2, characterized in that: The paired network nodes receive and send message data to each other, so as to realize data interaction between the target controller and the multiple controllers.

4. The data transmission system according to claim 2, characterized in that: The terminal device is also used to configure software parameters of the batch message configuration module corresponding to the paired network nodes according to the software parameters of the first communication channel, and to configure hardware parameters of the node configuration module corresponding to the paired network nodes.

5. The data transmission system according to claim 4, characterized in that: The terminal device is also used to compile the gateway device after completing parameter configuration to generate a target program and a test configuration interface monitoring and tracking file, and burn the target program and the test configuration interface monitoring and tracking file into the gateway device.

6. The data transmission system according to claim 5, characterized in that: The terminal device is also used for: Loading the test configuration interface monitoring tracking file to generate a test configuration interface; The preset test parameters are configured based on the test configuration interface.

7. The data transmission system according to claim 4, characterized in that: The terminal device is also used to complete parameter configuration of the node configuration module and the batch message configuration module in the MatLab / Simulink environment, and to define a test algorithm for the signal sent or received by the target controller by means of graphical modeling.

8. The data transmission system according to claim 1, characterized in that: The connecting harness adopts a non-destructive harness tooling.

9. The data transmission system according to claim 1, characterized in that: The gateway device is also connected to a low-voltage battery of the vehicle, and the low-voltage battery is used to supply power to the gateway device.

10. A test system comprising any one of claims 1 to 9, characterized in that: The terminal device is used to determine at least one target controller according to the communication interface signal and the network connection system required for the test operation. The terminal device is also used to control the operation of the gateway device according to preset test parameters to perform vehicle testing.

11. A control method for a data transmission system, characterized in that: The data transmission system includes a terminal device, at least one gateway device and a connection harness, and the method includes: Determine at least one target controller based on the communication interface signal and network connection system that require operation; Determine at least one first communication channel according to the communication network architecture of the target controller, where the first communication channel is used to implement data interaction between the target controller and multiple controllers; Control the second communication channel to send the message that the target controller needs to receive and at least receive the message sent by the target controller, and control the third communication channel to send the message sent by the target controller and at least receive the message sent by other multiple controllers to be received by the target controller. The second communication channel and the third communication channel have the same functions as the first communication channel.

12. A computer-readable storage medium, characterized in that: A control program of the data transmission system is stored thereon, and when the control program of the data transmission system is executed by the processor, the control method of the data transmission system according to claim 11 is implemented.

13. A vehicle, characterized in that: The invention comprises a memory, a processor and a control program of a data transmission system which is stored in the memory and can be run on the processor. When the processor executes the control program of the data transmission system, the control method of the data transmission system according to claim 11 is implemented.