System and method capable of achieving multi-link Ethernet message collection

By using an Ethernet controller and a central gateway in a multi-link Ethernet message collection system and adding a unique identifier VID to the outer layer of the link message, the problem of high data transmission delay in different local area networks is solved, and the accuracy and efficiency of automotive testing is improved.

CN120201059APending Publication Date: 2025-06-24BOSCH CAR MULTIMEDIA WUHU
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510507909.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-22
Publication Date
2025-06-24

AI Technical Summary

Technical Problem

The prior art has high data transmission delays in different local area networks, which affects the accuracy of automotive testing.

Method used

The multi-link Ethernet message collection system and method are adopted to combine data acquisition modules, switch modules, on-board diagnostic system and troubleshooting modules, and data transmission is transmitted using an Ethernet controller and a central gateway, and a unique identification VID is added to the outer layer of the link message to simplify the processing logic of the switch module.

Benefits of technology

It improves the rate of data transmission in different LANs, reduces the time for diagnostic request instructions to be responded to, and improves the accuracy and maintenance convenience of automotive testing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120201059A_ABST
    Figure CN120201059A_ABST
Patent Text Reader

Abstract

The invention provides a multi-link Ethernet message acquisition system and method, and belongs to the technical field of Ethernet message data transmission, the multi-link Ethernet message acquisition system comprises a data acquisition module, a switch module, a vehicle-mounted diagnosis system and a troubleshooting module, and a computer in the troubleshooting module inputs a diagnosis request instruction to the vehicle-mounted diagnosis system. And the vehicle-mounted diagnosis system inputs a diagnosis request instruction to the Ethernet controller through the switch module. And the Ethernet controller adds a label to a specified link message in the diagnosis request instruction according to the diagnosis request instruction and transmits the label to the switch module. And the switch module identifies the link message and then transmits the link message to the vehicle-mounted diagnosis system. And the vehicle-mounted diagnosis system outputs the link message to the troubleshooting module, and the troubleshooting module carries out troubleshooting. According to the invention, the data transmission rate in different local area networks is improved, the response time of the diagnosis request instruction is reduced, and the accuracy of automobile testing is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of Ethernet packet data transmission. Specifically, the present invention relates to a multi-link Ethernet packet acquisition system and method that can solve the problem. Background Art

[0002] With the development of the automotive industry, the requirements for automotive testing are getting higher and higher. During the automotive testing process, the response speed of the vehicle to diagnostic commands will affect the test results of the vehicle and the accuracy of automotive testing.

[0003] Patent No. 116074286B discloses an Ethernet data transmission method, a transmission gateway, and a transmission system. The method obtains Ethernet data information to be sent by a first Ethernet device, and obtains a target MAC address and a source MAC address according to the Ethernet data information. Then, after updating the node address of the 230MHz transmission module in the first Ethernet transmission gateway to be the same as the source MAC address, the Ethernet data information is sent to a second Ethernet transmission gateway through a 230M wireless network, and the second Ethernet transmission gateway transmits the received Ethernet data information to a second Ethernet device; enabling the Ethernet data information of the first Ethernet device connected to the first Ethernet transmission gateway to be transmitted to the second Ethernet device connected to the second Ethernet transmission gateway through a 230MHz wireless network.

[0004] The prior art does not solve the problem of high transmission delay in data transmission in different local area networks, which will affect the test accuracy of the vehicle. Summary of the Invention

[0005] The present invention aims to provide a multi-link Ethernet packet acquisition system and method that can solve the problem, so as to achieve the purpose of improving the data transmission rate in different local area networks, reducing the response time of diagnostic request commands, and improving the accuracy of automotive testing.

[0006] To achieve the above object, the technical solution adopted by the present invention is as follows:

[0007] The present invention provides a multi-link Ethernet packet acquisition system and method that can solve the problem, including a data acquisition module, a switch module, an on-vehicle diagnostic system, and a fault troubleshooting module. The data acquisition module is used to acquire vehicle information. The data acquisition module is connected to the switch module, the switch module is connected to the on-vehicle diagnostic system, and the on-vehicle diagnostic system is connected to the fault troubleshooting module.

[0008] The fault troubleshooting module outputs a diagnostic request command to the data acquisition module through the on-vehicle diagnostic system and the switch module. The data acquisition module outputs the acquired data to the switch module. The switch module outputs the processed acquired data to the on-vehicle diagnostic system. The on-vehicle diagnostic system outputs the processed acquired data to the fault troubleshooting module.

[0009] The data acquisition module includes an Ethernet controller and a downstream Ethernet controller, and the output end of the downstream Ethernet controller is connected to the input end of the Ethernet controller through a twisted pair wire.

[0010] The switch module adopts a central gateway, and the central gateway is connected to the Ethernet controller through a twisted pair wire.

[0011] The central gateway is connected to the on-vehicle diagnostic system through an OBD interface.

[0012] The fault troubleshooting module includes a computer and a bus development tool. The on-vehicle diagnostic system is connected to the computer, and the computer is connected to the bus development tool.

[0013] The present invention provides a method for solving a multi-link Ethernet message acquisition system:

[0014] Step 1: The computer inputs a diagnostic request instruction to the on-vehicle diagnostic system.

[0015] Step 2: The on-vehicle diagnostic system inputs the diagnostic request instruction to the Ethernet controller through the switch module.

[0016] Step 3: The Ethernet controller adds a label to the specified link message in the diagnostic request instruction and transmits it to the switch module.

[0017] Step 4: After identifying the link message, the switch module transmits it to the on-vehicle diagnostic system.

[0018] Step 5: The on-vehicle diagnostic system outputs the link message to the fault troubleshooting module, and the fault troubleshooting module performs fault troubleshooting.

[0019] In Step 1, the computer issues a diagnostic request instruction to the on-vehicle diagnostic system through the 31 routine control service in the UDS diagnostic technology.

[0020] In Step 3, the Ethernet controller adds an outer virtual local area network (VLAN) label outside the inner VLAN label of the link message input by the downstream Ethernet controller into the Ethernet controller, defines the identifier of the outer VLAN label, and the Ethernet controller transmits the processed link message to the switch module.

[0021] In Step 4, the switch module identifies the identifier of the outer VLAN label of the link message. After successful identification, it strips the outer VLAN label from the link message and transmits it to the on-vehicle diagnostic system.

[0022] The technical effects of the present invention are:

[0023] (1) The present invention simplifies the processing logic of the switch module. In the traditional solution, the switch module needs to perform complex protocol conversions. However, in the present invention, by adding a unique identifier VID (such as 100) to the outer layer of the link message, the switch can determine it as a remote mirror message only by quickly identifying the identifier, eliminating the time-consuming steps of protocol parsing and cross-network segment mapping, reducing the latency time, and meeting the requirement of rapid response for diagnosis in automotive real-time testing and monitoring.

[0024] (2) In the present invention, the Ethernet controller directly encapsulates an outer VLAN tag outside the original link message (including the inner VLAN tag) to form a "double-tag message". After the switch module strips the outer tag, it can directly match the in-vehicle diagnostic system (OBD) network segment, avoiding the redundant processing of cross-network segment mirroring that relies on deep protocol conversions in the switch module in the traditional solution. In multi-link concurrent acquisition, it effectively reduces queue blocking and data congestion.

[0025] (3) The present invention accurately obtains the information of automotive test points through the directional acquisition of 31 routine diagnostic instructions, without the need to collect all the information of the entire vehicle. The information collection is highly targeted and efficient in testing automotive components.

[0026] (4) The present invention improves the convenience of automotive maintenance. Maintenance personnel do not need to manually configure complex mirror ports or cross-network segment routes. They can obtain the target message only by sending 31 routine instructions through a computer. Combined with the visual analysis of the bus tool, the fault troubleshooting time is shortened, especially suitable for on-site rapid repair scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] This specification includes the following drawings, and the shown contents are respectively:

[0028] Figure 1 is the logical structure block diagram of a multi-link Ethernet message acquisition system and method of the present invention;

[0029] Figure 1 Marked in it as: 1. Data acquisition module; 2. Switch module; 3. In-vehicle diagnostic system; 4. Fault troubleshooting module. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0030] The following is a more detailed description of the specific embodiments of the present invention with reference to the drawings, aiming to help those skilled in the art have a more complete, accurate, and in-depth understanding of the inventive concept and technical solution of the present invention and facilitate its implementation.

[0031] The present invention provides a multi-link Ethernet message acquisition system and method, including a data acquisition module 1, a switch module 2, an on-board diagnostic system 3, and a fault troubleshooting module 4. The data acquisition module 1 is used to acquire vehicle information. The data acquisition module 1 is connected to the switch module 2, the switch module 2 is connected to the on-board diagnostic system 3, and the on-board diagnostic system 3 is connected to the fault troubleshooting module 4.

[0032] The fault troubleshooting module 4 outputs a diagnostic request instruction to the data acquisition module 1 through the on-board diagnostic system 3 and the switch module 2. The data acquisition module 1 outputs the acquired data to the switch module 2. The switch module 2 outputs the processed acquired data to the on-board diagnostic system 3. The on-board diagnostic system 3 outputs the processed acquired data to the fault troubleshooting module 4.

[0033] The data acquisition module 1 includes an Ethernet controller and a downstream Ethernet controller. The output end of the downstream Ethernet controller is connected to the input end of the Ethernet controller through a twisted pair. The switch module 2 uses a central gateway. The central gateway is connected to the Ethernet controller through a twisted pair. The central gateway is connected to the on-board diagnostic system 3 through an OBD interface. The fault troubleshooting module 4 includes a computer and a bus development tool. The on-board diagnostic system 3 is connected to the computer, and the computer is connected to the bus development tool.

[0034] The present invention provides a method for a multi-link Ethernet message acquisition system:

[0035] Step 1: The computer inputs a diagnostic request instruction to the on-board diagnostic system 3.

[0036] Step 2: The on-board diagnostic system 3 inputs a diagnostic request instruction to the Ethernet controller through the switch module 2.

[0037] Step 3: The Ethernet controller adds a label to the specified link message in the diagnostic request instruction according to the diagnostic request instruction and transmits it to the switch module 2.

[0038] Step 4: After identifying the link message, the switch module 2 transmits it to the on-board diagnostic system 3.

[0039] Step 5: The on-board diagnostic system 3 outputs the link message to the fault troubleshooting module 4, and the fault troubleshooting module 4 performs fault troubleshooting.

[0040] In Step 1, the computer issues a diagnostic request instruction to the on-board diagnostic system 3 through the 31 routine control service in the UDS diagnostic technology.

[0041] In step 3, the Ethernet controller adds an outer virtual local area network (VLAN) tag outside the inner VLAN tag of the link message input by the downstream Ethernet controller into the Ethernet controller, defines the identifier of the outer VLAN tag, and the Ethernet controller transmits the processed link message to the switch module 2.

[0042] In step 4, the switch module 2 identifies the identifier of the outer VLAN tag of the link message. After successful identification, it strips the outer VLAN tag from the link message and transmits it to the on-vehicle diagnostic system 3.

[0043] The following details a multi-link Ethernet message acquisition system according to the present invention, including a data acquisition module 1, a switch module 2, an on-vehicle diagnostic system 3, and a fault troubleshooting module 4. Among them, the data transmission module is used to rapidly acquire the status information of the vehicle and transmit it to the switch module 2. The data transmission module includes an Ethernet controller and a downstream Ethernet controller. The Ethernet controller transmits the vehicle status information collected by the downstream Ethernet controller to the switch module 2 in the form of a link message. Since the link message between the Ethernet controller and the downstream Ethernet controller can only go from the Ethernet controller to the mirror switch module 2 and cannot be remotely mirrored to the network segment where the on-vehicle diagnostic system 3 is located, it needs to go through the protocol conversion of the switch module 2 before being output to the on-vehicle diagnostic system 3, which will affect the real-time performance of data transmission between the downstream Ethernet controller and the on-vehicle diagnostic system 3.

[0044] The present invention is applied to vehicle testing and fault troubleshooting, and vehicle testing and fault troubleshooting have high requirements for the real-time performance of data acquisition. The present invention adds an outer VLAN tag outside the inner VLAN tag of the link message between the Ethernet controller and the downstream Ethernet controller through the Ethernet controller, defines the identifier of the outer VLAN tag, and then transmits the processed link message to the switch module 2. The switch module 2 only needs to determine that the input link message is a remote mirror message through the identifier of the outer VLAN tag, and after stripping the outer VLAN tag, it is output to the on-vehicle diagnostic system 3, optimizing the transmission strategy of multi-link link messages and improving the speed and real-time performance of data transmission. It should be noted that there are at least two Ethernet controllers.

[0045] The switch module 2 uses a central gateway to transmit the link message input by the Ethernet controller to the on-vehicle diagnostic system 3. Specifically, the central gateway identifies the identifier of the outer VLAN tag of the link message. After successful identification, it strips the outer VLAN tag from the link message and transmits it to the on-vehicle diagnostic system 3.

[0046] The on-vehicle diagnostic system 3 is used to monitor the status of the vehicle. When a vehicle fault is detected, a fault reminder is sent through the vehicle's display screen or indicator light, and the fault information is stored in the vehicle electronic control unit. In the present invention, the on-vehicle diagnostic system 3 can output the 31 routine diagnostic request instructions input by the fault troubleshooting module 4 to the Ethernet controller through the switch module 2, and accurately obtain the link message obtained by the Ethernet controller from the downstream Ethernet controller. When the on-vehicle diagnostic system 3 obtains the remote link message input by the downstream Ethernet controller to the Ethernet controller, it is transmitted to the fault troubleshooting module 4 through the OBD interface.

[0047] The fault troubleshooting module 4 includes a computer and a bus development tool. The computer outputs diagnostic request instructions, and the bus development tool is used to analyze the specific location and cause of the vehicle fault based on the fault diagnostic code and status information, so that the maintenance personnel can perform targeted maintenance. In the present invention, the fault troubleshooting module 4 accurately obtains the required link message through the 31 routine diagnostic request instructions.

[0048] The connection relationship of a multi-link Ethernet message acquisition system that can be solved by the present invention will be described in detail below.

[0049] The output end of the downstream Ethernet controller is connected to the input end of the Ethernet controller through a twisted pair. The Ethernet controller is connected to the central gateway through a twisted pair. The central gateway is connected to the on-vehicle diagnostic system 3 through the CAN bus. The on-vehicle diagnostic system 3 is connected to the computer through the OBD interface. The computer is connected to the bus development tool (CANOE) through the CAN bus.

[0050] A multi-link Ethernet message acquisition method that can be solved by the present invention will be described in detail below.

[0051] The computer inputs diagnostic request instructions to the on-vehicle diagnostic system 3 based on the 31 routine control service in the UDS diagnostic technology. The diagnostic request instructions specify the required link message. The on-vehicle diagnostic system 3 inputs the diagnostic request instructions to the Ethernet controller through the switch module 2. The Ethernet controller is the Ethernet controller corresponding to the link where the link message is located.

[0052] The Ethernet controller adds a label to the specified link message in the diagnostic request instructions according to the diagnostic request instructions. Specifically, the Ethernet controller adds an outer virtual local area network label outside the inner virtual local area network label of the link message between the specified Ethernet controller and the downstream Ethernet controller, defines the identifier of the outer virtual local area network label, and the Ethernet controller transmits the processed link message to the switch module 2. In the embodiment of the present invention, the identifier (VID) of the outer virtual local area network label is taken as 100.

[0053] After the switch module 2 identifies the link message, it is transmitted to the on-vehicle diagnostic system 3. Specifically, the switch module 2 identifies the identifier (VID) of the outer virtual local area network tag of the link message. In the embodiment of the present invention, when the identifier of the outer virtual local area network tag of the link message identified by the switch module 2 is 100, the identification passes, and it is determined that the link message is a remote mirror message. The switch module 2 strips the outer virtual local area network tag from the link message and transmits it to the on-vehicle diagnostic system 3.

[0054] The on-vehicle diagnostic system 3 outputs the link message to the fault troubleshooting module 4, and the fault troubleshooting module 4 performs fault troubleshooting.

[0055] The present invention can directly and real-time view all in-vehicle link Ethernet messages during the vehicle's overall test and fault troubleshooting, which matches the actual test operation, greatly improves the test efficiency, and facilitates the troubleshooting of in-vehicle problems.

[0056] The routine design of the switch module 2 in the present invention for outputting the link message input by the Ethernet controller to the on-vehicle diagnostic system 3 after receiving the diagnostic request instruction is as follows:

[0057]

[0058] There are three Ethernet controllers in the above diagnostic routine, namely Ethernet controller B, Ethernet controller C, and Ethernet controller D. Ethernet controller B, Ethernet controller C, and Ethernet controller D are respectively connected to the downstream Ethernet controller B', downstream Ethernet controller C', and downstream Ethernet controller D'. The link message specified by the diagnostic request instruction is the link message transmitted from the downstream Ethernet controller D' to the Ethernet controller D.

[0059] The design of the present invention for adding an outer virtual local area network tag outside the inner virtual local area network tag of the link message between the specified Ethernet controller and the downstream Ethernet controller by the Ethernet controller is as follows:

[0060]

[0061] The beneficial effects of the present invention are described in detail below.

[0062] The present invention simplifies the processing logic of the switch module 2. In the traditional solution, the switch module 2 needs to perform complex protocol conversion. However, in the present invention, by adding a unique identifier VID (such as 100) to the outer layer of the link message, the switch can quickly identify it as a remote mirror message only through the identifier, eliminating the time-consuming steps of protocol parsing and cross-network segment mapping, reducing the delay time, and meeting the requirements of the automotive real-time test and monitoring for fast diagnostic response.

[0063] In the present invention, the Ethernet controller directly encapsulates an outer VLAN tag outside the original link message (including the inner VLAN tag) to form a "double-tag message". After the outer tag is stripped by the switch module 2, it can directly match the in-vehicle diagnostic system 3 (OBD) network segment, avoiding the redundant processing of deep protocol conversion by the switch module 2 required in the traditional solution for cross-network segment mirroring. During multi-link concurrent acquisition, queue blocking and data congestion are effectively reduced.

[0064] The present invention accurately obtains the information of the automotive test points through the directional acquisition of 31 routine diagnostic instructions, without the need to collect all the information of the entire vehicle. The information collection is highly targeted and efficient during the testing of automotive components.

[0065] The present invention improves the convenience of vehicle maintenance. Maintenance personnel do not need to manually configure complex mirror ports or cross-network segment routes. They can obtain the target message only by sending 31 routine instructions through a computer. Combined with the visual analysis of the bus tool, the fault troubleshooting time is shortened, which is especially suitable for on-site rapid repair scenarios.

[0066] The present invention has been described exemplarily in combination with the accompanying drawings. Obviously, the specific implementation of the present invention is not limited by the above methods. As long as various non-substantive improvements are made by adopting the method concept and technical solution of the present invention; or without improvement, the above concept and technical solution of the present invention are directly applied to other occasions, they are all within the protection scope of the present invention.

Claims

1. A system and method for collecting multi-link Ethernet messages, characterized in that: It includes a data acquisition module, a switch module, an on-board diagnostic system and a fault detection module. The data acquisition module is used to collect automobile information. The data acquisition module is connected to the switch module, the switch module is connected to the on-board diagnostic system, and the on-board diagnostic system is connected to the fault detection module.

2. A system and method for collecting multi-link Ethernet messages as claimed in claim 1, characterized in that: The fault detection module outputs a diagnostic request instruction to the data acquisition module through the on-board diagnostic system and the switch module, the data acquisition module outputs the collected data to the switch module, the switch module outputs the processed collected data to the on-board diagnostic system, and the on-board diagnostic system outputs the processed collected data to the fault detection module.

3. A system and method for collecting multi-link Ethernet messages as claimed in claim 1, characterized in that: The data acquisition module comprises an Ethernet controller and a downstream Ethernet controller, wherein the output end of the downstream Ethernet controller is connected to the input end of the Ethernet controller via a twisted pair cable.

4. A system and method for collecting multi-link Ethernet messages as claimed in claim 1, characterized in that: The switch module adopts a central gateway, and the central gateway is connected to the Ethernet controller via a twisted pair cable.

5. A system and method for collecting multi-link Ethernet messages as claimed in claim 1 or 4, characterized in that: The central gateway is connected to the vehicle diagnostic system via the OBD interface.

6. A system and method for collecting multi-link Ethernet messages as claimed in claim 1, characterized in that: The fault detection module includes a computer and a bus development tool, the on-board diagnostic system is connected to the computer, and the computer is connected to the bus development tool.

7. A method for solving a multi-link Ethernet message collection system as claimed in any one of claims 1 to 6, characterized in that: Step 1: The computer inputs the diagnostic request command into the on-board diagnostic system; Step 2: The on-board diagnostic system inputs a diagnostic request command to the Ethernet controller through the switch module; Step 3: The Ethernet controller adds a label to the link message specified in the diagnostic request instruction according to the diagnostic request instruction and transmits it to the switch module; Step 4: The switch module transmits the link message to the on-board diagnostic system after identifying it; Step 5: The on-board diagnostic system outputs the link message to the fault detection module, and the fault detection module performs fault detection.

8. The method for solving the problem of multi-link Ethernet message collection system as claimed in claim 7, characterized in that: In step 1, the computer sends a diagnostic request command to the on-board diagnostic system through the 31 routine control service in the UDS diagnostic technology.

9. The method for solving the problem of multi-link Ethernet message collection system as claimed in claim 7, characterized in that: In step three, the Ethernet controller adds an outer virtual LAN label to the inner virtual LAN label of the link message input by the downstream Ethernet controller to define the identifier of the outer virtual LAN label, and the Ethernet controller transmits the processed link message to the switch module.

10. The method for solving the problem of multi-link Ethernet message collection system as claimed in claim 7, characterized in that: In step 4, the switch module identifies the identifier of the outer virtual LAN label of the link message, and after identification, the outer virtual LAN label on the link message is stripped and transmitted to the on-board diagnostic system.

Citation Information

Cited By

  • Data communication method and system for vehicle

    CN122437895A