Vehicle-mounted ethernet data conversion device and vehicle-mounted ethernet data conversion method
By integrating an in-vehicle Ethernet data conversion device, the complexity of operation and space occupation are simplified, and the wiring difficulties and connection interruption problems during the conversion between traditional in-vehicle Ethernet and industrial Ethernet are solved, enabling stable data testing.
Patent Information
- Application Number
- CN202310366471.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-07
- Publication Date
- 2025-11-28
- Estimated Expiration
- 2043-04-07
AI Technical Summary
The conversion between traditional automotive Ethernet and industrial Ethernet is complex, space-consuming, and prone to connection interruptions and instability due to voltage differences.
Design an in-vehicle Ethernet data conversion device that integrates multiple in-vehicle Ethernet interfaces, a data switching module, an Ethernet data conversion module, and a data processing module. Reduce wiring complexity by using integrated circuits and integrate the in-vehicle Ethernet interfaces, data switching module, Ethernet data conversion module, and routing module on the circuit board to avoid the use of adapter boards.
It reduces the difficulty of operation and the area occupied by the device, avoids connection interruptions due to voltage differences, and improves the stability and reliability of data transmission.
Smart Images

Figure CN116600004B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of data processing, and in particular to an in-vehicle Ethernet data conversion device and an in-vehicle Ethernet data conversion method. Background Technology
[0002] With the development of intelligent and connected vehicles, the amount of data to be transmitted inside vehicles is increasing, and the required transmission bandwidth is also increasing. The transmission bandwidth provided by traditional in-vehicle transmission protocols is difficult to meet the bandwidth requirements for transmitting large amounts of data. Therefore, in-vehicle Ethernet, which is dedicated to in-vehicle data transmission, has emerged.
[0003] Traditional vehicle-mounted data exchange equipment, when multiple vehicle-mounted Ethernet channels need to transmit data simultaneously, can connect to the test terminal through multiple single-channel vehicle-mounted Ethernet to industrial Ethernet adapter boards to perform Ethernet data transmission and data testing.
[0004] However, when converting between multi-channel automotive Ethernet and industrial Ethernet, the independent nature of each hardware device leads to complex wiring operations, multiple wiring operations, and large space requirements. Furthermore, the voltage difference between the automotive Ethernet to industrial Ethernet adapter board and the ground plane of the test terminal causes Ethernet connection interruptions, resulting in unstable multi-channel data testing of automotive Ethernet. Summary of the Invention
[0005] Therefore, it is necessary to provide an in-vehicle Ethernet data conversion device, method, computer equipment, computer-readable storage medium, and computer program product that can reduce the operational difficulty and device footprint when converting between multiple in-vehicle Ethernet and industrial Ethernet.
[0006] In a first aspect, this application provides an in-vehicle Ethernet data conversion device. The device includes multiple in-vehicle Ethernet interfaces, a data switching module, multiple Ethernet data conversion modules, and a data processing module, wherein:
[0007] The multiple vehicle Ethernet interfaces are used to receive vehicle Ethernet data respectively;
[0008] The data switching module is used to input the vehicle Ethernet data received through each of the vehicle Ethernet interfaces to the corresponding Ethernet data conversion module.
[0009] The plurality of Ethernet data conversion modules are respectively used to convert the received vehicle Ethernet data into industrial Ethernet data, and transmit the industrial Ethernet data to the data processing module;
[0010] The data processing module is used to perform test processing on each of the received industrial Ethernet data for each Ethernet data conversion module, and obtain test results for each Ethernet data conversion module. In one embodiment, the device further includes a routing module.
[0011] The Ethernet data conversion module is also used to transmit the industrial Ethernet data to the routing module;
[0012] The routing module is used to transmit the industrial Ethernet data transmitted by each Ethernet data conversion module to the data processing module through the port corresponding to each Ethernet data conversion module. In one embodiment, the data processing module is further used to send test results for each Ethernet data conversion module to the data switching module;
[0013] The data switching module is further configured to determine the Ethernet data conversion module corresponding to each of the vehicle Ethernet interfaces based on the test results of each of the Ethernet data conversion modules.
[0014] In one embodiment, the data switching module is further configured to, when the test result of any of the Ethernet data conversion modules indicates that the Ethernet data conversion module is unavailable, determine the backup Ethernet data conversion module corresponding to the Ethernet data conversion module from the remaining Ethernet data conversion modules, and transmit the vehicle Ethernet data to be transmitted to the Ethernet data conversion module to the backup Ethernet data conversion module.
[0015] In one embodiment, the data switching module is further configured to determine, based on the test results and data switching conditions of each of the remaining Ethernet data conversion modules, a backup Ethernet data conversion module corresponding to the Ethernet data conversion module.
[0016] In one embodiment, the data processing module is further configured to send test results for each of the Ethernet data conversion modules to the vehicle terminal, so that the vehicle terminal can display the test results on the display interface.
[0017] In one embodiment, the device further includes a circuit board on which the vehicle Ethernet interface, the data switching module, the Ethernet data conversion module, the routing module, and the data processing module are integrated.
[0018] Secondly, this application also provides a method for converting in-vehicle Ethernet data. A data switching module is applied in an in-vehicle Ethernet data conversion device, wherein the in-vehicle Ethernet data conversion device is the same as described in the first aspect, and the method includes:
[0019] Receives vehicle Ethernet data transmitted from each vehicle Ethernet interface;
[0020] Based on the mapping relationship between each of the vehicle Ethernet interfaces and each of the Ethernet data conversion modules, the vehicle Ethernet data transmitted by each of the vehicle Ethernet interfaces is input to the corresponding Ethernet data conversion module for testing and processing.
[0021] The method receives test results from the data processing module for each of the Ethernet data conversion modules, the test results being used to characterize the availability status of each of the Ethernet data conversion modules. In one embodiment, after receiving the test results from the data processing module for each of the Ethernet data conversion modules, the method further includes:
[0022] If the test results of any of the Ethernet data conversion modules indicate that the Ethernet data conversion module is unavailable, a backup Ethernet data conversion module corresponding to the Ethernet data conversion module shall be determined from the remaining Ethernet data conversion modules.
[0023] Upon receiving vehicle Ethernet data to be transmitted to any of the Ethernet data conversion modules, if there is a corresponding backup Ethernet data conversion module, the vehicle Ethernet data to be transmitted to the Ethernet data conversion module will be transmitted to the backup Ethernet data conversion module.
[0024] In one embodiment, determining the backup Ethernet data conversion module corresponding to the remaining Ethernet data conversion modules from the remaining Ethernet data conversion modules includes:
[0025] Based on the test results and data switching conditions of each of the remaining Ethernet data conversion modules, a backup Ethernet data conversion module corresponding to the remaining Ethernet data conversion module is determined from the remaining Ethernet data conversion modules.
[0026] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:
[0027] Receives vehicle Ethernet data transmitted from each vehicle Ethernet interface;
[0028] Based on the mapping relationship between each of the vehicle Ethernet interfaces and each of the Ethernet data conversion modules, the vehicle Ethernet data transmitted by each of the vehicle Ethernet interfaces is input to the corresponding Ethernet data conversion module for testing and processing.
[0029] The data processing module receives test results for each of the Ethernet data conversion modules, and the test results are used to characterize the availability status of each of the Ethernet data conversion modules.
[0030] Fourthly, this application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:
[0031] Receives vehicle Ethernet data transmitted from each vehicle Ethernet interface;
[0032] Based on the mapping relationship between each of the vehicle Ethernet interfaces and each of the Ethernet data conversion modules, the vehicle Ethernet data transmitted by each of the vehicle Ethernet interfaces is input to the corresponding Ethernet data conversion module for testing and processing.
[0033] The data processing module receives test results for each of the Ethernet data conversion modules, and the test results are used to characterize the availability status of each of the Ethernet data conversion modules.
[0034] Fifthly, this application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:
[0035] Receives vehicle Ethernet data transmitted from each vehicle Ethernet interface;
[0036] Based on the mapping relationship between each of the vehicle Ethernet interfaces and each of the Ethernet data conversion modules, the vehicle Ethernet data transmitted by each of the vehicle Ethernet interfaces is input to the corresponding Ethernet data conversion module for testing and processing.
[0037] The data processing module receives test results for each of the Ethernet data conversion modules, and the test results are used to characterize the availability status of each of the Ethernet data conversion modules.
[0038] The aforementioned vehicle-mounted Ethernet data conversion device, method, computer equipment, storage medium, and computer program product include multiple vehicle-mounted Ethernet interfaces, a data switching module, multiple Ethernet data conversion modules, and a data processing module, wherein: the multiple vehicle-mounted Ethernet interfaces are respectively used to receive vehicle-mounted Ethernet data; the data switching module is used to input the vehicle-mounted Ethernet data received through each of the vehicle-mounted Ethernet interfaces to the corresponding Ethernet data conversion module; the multiple Ethernet data conversion modules are respectively used to convert the received vehicle-mounted Ethernet data into industrial Ethernet data and transmit the industrial Ethernet data to the data processing module; the data processing module is used to perform test processing on each of the Ethernet data conversion modules based on the received industrial Ethernet data, and obtain test results for each of the Ethernet data conversion modules. Because the vehicle-mounted Ethernet data conversion device integrates the multi-route data processing module, Ethernet data conversion module, data switching module, and routing module into a single circuit, it eliminates the need for extensive external wiring. This reduces the operational difficulty and device footprint when converting between multiple vehicle-mounted Ethernet and industrial Ethernet networks. Furthermore, since it eliminates the need for a vehicle-mounted Ethernet to industrial Ethernet adapter board, it overcomes the problem of unstable multi-channel data testing of vehicle-mounted Ethernet caused by Ethernet connection interruptions due to voltage differences between the vehicle-mounted Ethernet adapter board and the ground plane of the test terminal. Attached Figure Description
[0039] Figure 1 This is a structural block diagram of an in-vehicle Ethernet data conversion device in one embodiment;
[0040] Figure 2 This is a structural block diagram of the data processing module in one embodiment;
[0041] Figure 3 This is a structural block diagram of an in-vehicle Ethernet data conversion device in another embodiment;
[0042] Figure 4 This is a flowchart illustrating an in-vehicle Ethernet data conversion method in one embodiment;
[0043] Figure 5 This is a schematic diagram illustrating the process of transmitting vehicle Ethernet data to a backup Ethernet data conversion module in one embodiment.
[0044] Figure 6 This is an internal structural diagram of a computer device in one embodiment. Detailed Implementation
[0045] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.
[0046] To make the above-mentioned objectives, features, and advantages of this application more apparent and understandable, the specific embodiments of this application are described in detail below with reference to the accompanying drawings. Many specific details are set forth in the following description to provide a thorough understanding of this application. However, this application can be implemented in many other ways different from those described herein, and those skilled in the art can make similar modifications without departing from the spirit of this application. Therefore, this application is not limited to the specific embodiments disclosed below.
[0047] The serial numbers assigned to components in this document, such as "first" and "second," are used solely to distinguish the described objects and have no sequential or technical meaning. The terms "connection" and "linkage" used in this application, unless otherwise specified, include both direct and indirect connections (linkages). It should be understood that the terms "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," "clockwise," and "counterclockwise," indicating orientations or positional relationships, are based on the orientations or positional relationships shown in the accompanying drawings and are used solely for the convenience of describing this application and simplifying the description. They do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of this application.
[0048] In this application, unless otherwise expressly specified and limited, "above" or "below" the second feature can mean that the first feature is in direct contact with the second feature, or that the first feature is in indirect contact with the second feature through an intermediate medium. Furthermore, "above," "on top of," and "over" the second feature can mean that the first feature is directly above or diagonally above the second feature, or simply that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature can mean that the first feature is directly below or diagonally below the second feature, or simply that the first feature is at a lower horizontal level than the second feature.
[0049] like Figure 1 As shown in the figure, this application provides an in-vehicle Ethernet data conversion device. The in-vehicle Ethernet data conversion device includes multiple in-vehicle Ethernet interfaces, a data switching module, multiple Ethernet data conversion modules, and a data processing module.
[0050] The system includes multiple vehicle-mounted Ethernet interfaces, each used to receive vehicle-mounted Ethernet data. This data can be any data to be transmitted within the vehicle, such as vehicle logs; this application does not limit the type of vehicle-mounted Ethernet data. A data switching module is used to input the vehicle-mounted Ethernet data received through each interface to its corresponding Ethernet data conversion module. Multiple Ethernet data conversion modules are used to convert the received vehicle-mounted Ethernet data into industrial Ethernet data and transmit the industrial Ethernet data to a data processing module. The data processing module performs testing on each Ethernet data conversion module based on the received industrial Ethernet data, obtaining test results for each module.
[0051] There is no specific limit to the number of vehicle Ethernet interfaces and Ethernet data conversion modules in the vehicle Ethernet data conversion device, and the vehicle Ethernet data conversion device can be a portable and detachable device.
[0052] In this embodiment, the data processing module has multiple industrial Ethernet interfaces. An Ethernet data conversion module is used to convert the vehicle-mounted Ethernet protocol (100base-T1) to the industrial Ethernet protocol (100base-TX), or vice versa, to ensure that data from two different protocols inside and outside the device can be quickly converted and correctly identified. The Ethernet data conversion module may include an Ethernet conversion chip for converting vehicle-mounted Ethernet to industrial Ethernet. For example, the Ethernet data conversion module may include a vehicle-mounted Ethernet port physical layer PHY chip and an industrial Ethernet PHY chip. The first end of each Ethernet data conversion module is electrically connected to the corresponding industrial Ethernet interface of the data processing module, and the second end of each Ethernet data conversion module is electrically connected to the data switching module. After receiving the industrial Ethernet data, the data processing module can, according to actual usage requirements, use pre-installed software tools or programs to perform functions such as network connectivity testing, network data transmission rate testing, and network load testing, and obtain the test results.
[0053] Any software tool or program that can perform test processing on Ethernet data can be used in this application, and the embodiments of this application do not limit this.
[0054] For the specific structure of the data processing module, please refer to Figure 2As shown, the data processing module includes a central processing unit (CPU), memory chips, an industrial Ethernet PHY chip, and a data storage unit. For example, the CPU in the data processing module can be a chip such as BCM2711 or STM32MP157, used to run software tools or programs to process data; the memory chips can be DDR3 or DDR4 memory chips, and to consider that the data processing module may simultaneously receive a large amount of industrial Ethernet data during testing, memory chips with a storage capacity greater than or equal to the preset memory size can be selected, such as 2GB memory chips; the data storage unit can be a TF (TransFlash) card, and to consider that after the data processing module performs testing, it may store and process a large amount of industrial Ethernet data through pre-installed software tools or programs, a TF card with a storage capacity greater than or equal to the preset memory size can be selected, such as a 32GB TF card.
[0055] The data processing module also includes an industrial Ethernet circuit and an industrial Ethernet interface. The industrial Ethernet circuit can be an industrial Ethernet circuit composed of an industrial Ethernet PHY chip and peripheral circuitry, used to transmit industrial Ethernet data to the central processing unit. The industrial Ethernet interface can be composed of the interface for the data processing module to connect to the network cable and protection circuitry. It is understood that any structure and module with data processing capabilities can be applied to the data processing module in this application embodiment. This application embodiment does not limit the specific structure of the data processing module. Figure 2 This is only one exemplary embodiment.
[0056] When two vehicle Ethernet interfaces transmit data directly, one device with a vehicle Ethernet interface needs to be set to master mode and the other device with a vehicle Ethernet interface needs to be set to slave mode for data transmission. The DIP switch is used to switch between master and slave modes. Therefore, the Ethernet data conversion module can also be equipped with a DIP switch to receive vehicle Ethernet data from each vehicle Ethernet interface when the vehicle Ethernet data conversion device is connected to the vehicle's vehicle Ethernet interface.
[0057] The vehicle-mounted Ethernet data conversion device is also equipped with a power supply module, which obtains power through a power interface to provide power to the data switching module, the Ethernet data conversion module, and the data processing module.
[0058] The aforementioned vehicle-mounted Ethernet data conversion device uses multiple vehicle-mounted Ethernet interfaces to receive various vehicle-mounted Ethernet data. A data switching module inputs the received vehicle-mounted Ethernet data from each interface to its corresponding Ethernet data conversion module. Multiple Ethernet data conversion modules convert the received vehicle-mounted Ethernet data into industrial Ethernet data and transmit the industrial Ethernet data to a data processing module. The data processing module performs testing on each Ethernet data conversion module based on the received industrial Ethernet data, obtaining test results for each module. Because the vehicle-mounted Ethernet data conversion device integrates the multi-route data processing module, Ethernet data conversion module, data switching module, and routing module into a single circuit, it eliminates the need for extensive external wiring. This reduces the operational difficulty and device footprint when converting between multiple vehicle-mounted Ethernet and industrial Ethernet signals. Furthermore, since it eliminates the need for a vehicle-mounted Ethernet to industrial Ethernet adapter board, it overcomes the problem of unstable multi-channel vehicle Ethernet data testing caused by voltage differences between the vehicle-mounted Ethernet adapter board and the ground plane of the test terminal, which can lead to Ethernet connection interruptions.
[0059] In one embodiment, such as Figure 3 As shown, the above-mentioned device also includes a routing module and an Ethernet data conversion module, which are further used to transmit industrial Ethernet data to the routing module. The routing module is used to transmit the industrial Ethernet data transmitted by each Ethernet data conversion module to the data processing module through the corresponding ports of each Ethernet data conversion module.
[0060] In this embodiment, the routing module may have multiple ports. The routing module can be connected to the first end of each Ethernet data conversion module and the data processing module through the multiple ports via network cables, and is used to transmit the industrial Ethernet data transmitted through each Ethernet data conversion module to the data processing module.
[0061] The routing module can also, based on the industrial Ethernet data transmitted on each port, find the destination IP address corresponding to the source Internet Protocol address (IP address) of each industrial Ethernet data transmission, and then find the corresponding port of the routing module connected to the data processing module based on the destination IP address. The industrial Ethernet data is then forwarded to the corresponding port of the data processing module. The data processing module then distinguishes the data sent by different Ethernet data conversion modules based on the IP address.
[0062] The data processing module is also used to obtain the Ethernet data conversion module to which each industrial Ethernet belongs based on the Internet Protocol address of the industrial Ethernet data sent by the routing module. The first end of each Ethernet data conversion module is connected to the port corresponding to the routing module via a network cable, and the second end of each Ethernet data conversion module is electrically connected to the data switching module.
[0063] The power supply module provides power to the routing module and the data processing module through a first power supply module equipped with a low-dropout linear voltage regulator circuit.
[0064] In this embodiment, the industrial Ethernet data transmitted by each Ethernet data conversion module is transmitted to the data processing module through the routing module. The data processing module can distinguish the data sent by different Ethernet data conversion modules by IP address, which facilitates the subsequent testing and processing of each Ethernet data conversion module and the determination of the corresponding backup Ethernet data conversion module based on the IP address of each Ethernet data conversion module.
[0065] In one embodiment, the data processing module is further configured to send test results for each Ethernet data conversion module to the data switching module; the data switching module is further configured to determine the Ethernet data conversion module corresponding to each vehicle Ethernet interface based on the test results for each Ethernet data conversion module.
[0066] In this embodiment of the application, the data processing module can also send the test results for each Ethernet data conversion module to the data switching module. After receiving the test results, the data switching module can redetermine the Ethernet data conversion module corresponding to each vehicle Ethernet interface based on the availability status of each Ethernet data conversion module in the test results.
[0067] The test results may include high availability, medium availability, low availability, and unavailable states, which respectively represent the available status of the corresponding Ethernet data conversion module. The above test results are merely an example of test results in this embodiment and should not be construed as limiting the test results. In fact, the test results can be further categorized by those skilled in the art as needed, with more coarse or fine granularity. This embodiment does not specifically limit the method of categorizing the test results.
[0068] In this embodiment, after receiving the test results, the data switching module can process each Ethernet data conversion module based on the availability status of each module in the test results. Even when the availability of a particular Ethernet data conversion module is poor, the module can re-determine the corresponding Ethernet data conversion module for each vehicle Ethernet interface. This improves the reliability of the vehicle Ethernet data conversion device during user operation.
[0069] In one embodiment, the data switching module is further configured to, when the test results of any Ethernet data conversion module indicate that the Ethernet data conversion module is unavailable, determine the backup Ethernet data conversion module corresponding to the Ethernet data conversion module from the remaining Ethernet data conversion modules, and transmit the vehicle Ethernet data to be transmitted to the Ethernet data conversion module to the backup Ethernet data conversion module.
[0070] The power supply module provides power to the data switching module and the Ethernet data conversion module through a second power supply module equipped with a step-down conversion circuit.
[0071] In this embodiment of the application, if the test result of any Ethernet data conversion module indicates that the Ethernet data conversion module is in an unavailable state, the data processing module can compare the test results of all Ethernet data conversion modules and determine the backup Ethernet data conversion module corresponding to the remaining Ethernet data conversion modules.
[0072] For example, in a vehicle-mounted Ethernet data conversion device comprising three Ethernet data conversion modules, namely Ethernet data conversion module B1, Ethernet data conversion module B2, and Ethernet data conversion module B3, the data processing module can compare the test results of all Ethernet data conversion modules to determine that Ethernet data conversion module B1 is unavailable, Ethernet data conversion module B2 is highly available, and Ethernet data conversion module B3 is low available. The data processing module compares the availability status of each Ethernet data conversion module and uses Ethernet data conversion module B2, which has a higher availability status, as a backup Ethernet data conversion module for B1. Then, the data switching module, based on the backup Ethernet data conversion module corresponding to the selected module, transmits the vehicle-mounted Ethernet data to be transmitted to the backup Ethernet data conversion module.
[0073] Optionally, if the test results of any Ethernet data conversion module indicate that the Ethernet data conversion module is in a low availability state, the data processing module can also determine the backup Ethernet data conversion module corresponding to that Ethernet data conversion module from the remaining Ethernet data conversion modules.
[0074] In this embodiment, when the availability of a certain Ethernet data conversion module is poor, a backup Ethernet data conversion module can be determined from the Ethernet data conversion modules with better availability, thereby improving the reliability and traceability of the vehicle-mounted Ethernet data conversion device during user operation.
[0075] In one embodiment, the data switching module is further configured to determine the backup Ethernet data conversion module corresponding to the Ethernet data conversion module from the remaining Ethernet data conversion modules based on the test results of each remaining Ethernet data conversion module and the data switching conditions.
[0076] The data switching condition is that the test results of each remaining Ethernet data conversion module are better than the current Ethernet data conversion module; the current Ethernet data conversion module is an Ethernet data conversion module that is in an unavailable state.
[0077] In this embodiment of the application, if the test results of a remaining Ethernet data conversion module are better than the test results of the current Ethernet data conversion module, the data switching module determines the backup Ethernet data conversion module corresponding to the current Ethernet data conversion module from the remaining Ethernet data conversion modules.
[0078] In this embodiment, a backup Ethernet data conversion module that is better than the test results of the current Ethernet data conversion module can be determined from the remaining Ethernet data conversion modules according to the data switching conditions. When the current Ethernet data conversion module is unavailable, a backup Ethernet data conversion module can be selected, which improves the reliability of the vehicle-mounted Ethernet data conversion device during user operation.
[0079] In one embodiment, the data processing module is further configured to send test results for each Ethernet data conversion module to the vehicle terminal, so that the vehicle terminal can display the test results on the display interface.
[0080] The vehicle-mounted terminal is a device with a display function, which can display the processing process in the data processing module. The data processing module is electrically connected to the vehicle-mounted terminal.
[0081] In this embodiment, the data processing module sends test results for each Ethernet data conversion module to the vehicle terminal. The vehicle terminal displays the test results on a display interface so that the user can know the test results of each Ethernet data conversion module. The vehicle terminal can display detailed information based on the test results. For example, the vehicle terminal can display detailed parameters of the test results for each Ethernet data conversion module, such as network connectivity status, network data transmission rate, and the load status of the Ethernet data conversion module. This embodiment does not limit the detailed information provided in the test results.
[0082] Then, users can customize the backup Ethernet data conversion modules of each Ethernet data conversion module based on the vehicle terminal. Optionally, the data processing module is electrically connected to the vehicle terminal, and users can perform routine data processing on each vehicle Ethernet data based on the vehicle terminal and the data processing module. This application does not limit the method of data processing.
[0083] In this embodiment, the vehicle-mounted terminal displays the test results of each Ethernet data conversion module in a personalized manner on the interface, allowing users to understand the test results of each Ethernet data conversion module. Furthermore, users can personalize the backup Ethernet data conversion modules for each Ethernet data conversion module based on the vehicle-mounted terminal.
[0084] In one embodiment, the device further includes a circuit board on which the vehicle Ethernet interface, data switching module, Ethernet data conversion module, routing module and data processing module are integrated.
[0085] In this embodiment, the vehicle-mounted Ethernet interface, data switching module, Ethernet data conversion module, routing module, and data processing module can be directly electrically connected via internal wires on the circuit board. Optionally, the vehicle-mounted Ethernet interface, data switching module, Ethernet data conversion module, routing module, and data processing module can also be independently mounted on different circuit boards, with their respective grounding terminals electrically connected.
[0086] In this embodiment, since the vehicle Ethernet interface, data switching module, Ethernet data conversion module, routing module and data processing module are integrated on the circuit board, a large number of external wirings are not required, which reduces the operational difficulty and the area occupied by the device when converting between multiple vehicle Ethernet and industrial Ethernet.
[0087] Based on the same inventive concept, this application also provides an in-vehicle Ethernet data conversion device applied to the aforementioned in-vehicle Ethernet data conversion device. The solution provided by this method is similar to the solution described in the above-described device; therefore, the specific limitations in one or more in-vehicle Ethernet data conversion method embodiments provided below can be found in the limitations of the in-vehicle Ethernet data conversion device described above, and will not be repeated here.
[0088] In one embodiment, an in-vehicle Ethernet data conversion method is provided, which is applied to a data switching module in an in-vehicle Ethernet data conversion device, such as... Figure 4 As shown, the in-vehicle Ethernet data conversion method includes:
[0089] Step 402: Receive vehicle Ethernet data transmitted from each vehicle Ethernet interface.
[0090] In this embodiment of the application, the data switching module receives vehicle Ethernet data transmitted by each vehicle Ethernet interface in the vehicle Ethernet data conversion device connected to each vehicle Ethernet interface in the vehicle.
[0091] Step 404: Based on the mapping relationship between each vehicle Ethernet interface and each Ethernet data conversion module, input the vehicle Ethernet data transmitted by each vehicle Ethernet interface into the corresponding Ethernet data conversion module for testing.
[0092] The mapping relationship between each vehicle Ethernet interface and each Ethernet data conversion module can be determined according to the actual application. This application embodiment does not limit the mapping relationship between each vehicle Ethernet interface and each Ethernet data conversion module. For example, the vehicle Ethernet interfaces include vehicle Ethernet interfaces A1, A2, and A3, and the Ethernet data conversion modules include B1, B2, and B3. The mapping relationship between each vehicle Ethernet interface and each Ethernet data conversion module is A1 to B1, A2 to B2, and A3 to B3.
[0093] In this embodiment, the data switching module, through a pre-set mapping relationship between each vehicle Ethernet interface and each Ethernet data conversion module, inputs the vehicle Ethernet data transmitted by each vehicle Ethernet interface into the corresponding Ethernet data conversion module. Each Ethernet data conversion module converts the vehicle Ethernet data sent by the data switching module into industrial Ethernet data. Then, the data processing module performs test processing on the Ethernet data conversion modules based on the industrial Ethernet data.
[0094] Step 406: Receive the test results from the data processing module for each Ethernet data conversion module.
[0095] The test results are used to characterize the availability of each Ethernet data conversion module.
[0096] In this embodiment, the data switching module receives the test results from the data processing module for each Ethernet data conversion module.
[0097] The vehicle Ethernet data conversion method provided in this application embodiment allows for the reception of various vehicle Ethernet data through multiple vehicle Ethernet interfaces. A data switching module inputs the received vehicle Ethernet data from each interface to a corresponding Ethernet data conversion module. Multiple Ethernet data conversion modules convert the received vehicle Ethernet data into industrial Ethernet data and transmit the industrial Ethernet data to a data processing module. The data processing module performs testing on each Ethernet data conversion module based on the received industrial Ethernet data, obtaining test results for each module. Since the vehicle Ethernet data conversion device integrates the multi-route data processing module, Ethernet data conversion module, data switching module, and routing module into a single circuit, it eliminates the need for extensive external wiring. This reduces the operational difficulty and device footprint when converting between multiple vehicle Ethernet and industrial Ethernet streams. Furthermore, because it eliminates the need for a vehicle Ethernet to industrial Ethernet adapter board, it overcomes the problem of unstable multi-channel vehicle Ethernet data testing caused by voltage differences between the vehicle Ethernet adapter board and the ground plane of the test terminal, which can lead to Ethernet connection interruptions.
[0098] In one embodiment, such as Figure 5 As shown, after step 406, the following steps are also included:
[0099] Step 502: If the test result of any Ethernet data conversion module indicates that the Ethernet data conversion module is unavailable, determine the backup Ethernet data conversion module corresponding to the remaining Ethernet data conversion modules.
[0100] In this embodiment of the application, if the test result of any Ethernet data conversion module indicates that the Ethernet data conversion module is in an unavailable state, the data processing module can compare the test results of all Ethernet data conversion modules and determine the backup Ethernet data conversion module corresponding to the remaining Ethernet data conversion modules.
[0101] Optionally, if the test results of any Ethernet data conversion module indicate that the Ethernet data conversion module is in a low availability state, the data processing module can also determine the backup Ethernet data conversion module corresponding to that Ethernet data conversion module from the remaining Ethernet data conversion modules.
[0102] Step 504: Upon receiving the vehicle Ethernet data to be transmitted to the Ethernet data conversion module, if there is a corresponding backup Ethernet data conversion module, the vehicle Ethernet data to be transmitted to the Ethernet data conversion module will be transmitted to the backup Ethernet data conversion module.
[0103] In this embodiment, the data switching module changes the mapping relationship between each vehicle Ethernet interface and each Ethernet data conversion module according to the backup Ethernet data conversion module corresponding to the Ethernet data conversion module, and transmits the vehicle Ethernet data to be transmitted to the Ethernet data conversion module to the backup Ethernet data conversion module.
[0104] In one embodiment, step 502 includes:
[0105] Based on the test results and data switching conditions of each remaining Ethernet data conversion module, the backup Ethernet data conversion module corresponding to the remaining Ethernet data conversion module is determined.
[0106] The data switching condition is that the test results of each remaining Ethernet data conversion module are better than the current Ethernet data conversion module.
[0107] In this embodiment of the application, if the test results of a remaining Ethernet data conversion module are better than the test results of the current Ethernet data conversion module, the data switching module determines the backup Ethernet data conversion module corresponding to the current Ethernet data conversion module from the remaining Ethernet data conversion modules.
[0108] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0109] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 6As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When the computer program is executed by the processor, it implements an in-vehicle Ethernet data conversion method. The display unit is used to form a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.
[0110] Those skilled in the art will understand that Figure 6 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.
[0111] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:
[0112] Receives vehicle Ethernet data transmitted from each vehicle Ethernet interface;
[0113] Based on the mapping relationship between each of the vehicle Ethernet interfaces and each of the Ethernet data conversion modules, the vehicle Ethernet data transmitted by each of the vehicle Ethernet interfaces is input to the corresponding Ethernet data conversion module for testing and processing.
[0114] The data processing module receives test results for each of the Ethernet data conversion modules, and the test results are used to characterize the availability status of each of the Ethernet data conversion modules.
[0115] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:
[0116] Receives vehicle Ethernet data transmitted from each vehicle Ethernet interface;
[0117] Based on the mapping relationship between each of the vehicle Ethernet interfaces and each of the Ethernet data conversion modules, the vehicle Ethernet data transmitted by each of the vehicle Ethernet interfaces is input to the corresponding Ethernet data conversion module for testing and processing.
[0118] The data processing module receives test results for each of the Ethernet data conversion modules, and the test results are used to characterize the availability status of each of the Ethernet data conversion modules.
[0119] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:
[0120] Receives vehicle Ethernet data transmitted from each vehicle Ethernet interface;
[0121] Based on the mapping relationship between each of the vehicle Ethernet interfaces and each of the Ethernet data conversion modules, the vehicle Ethernet data transmitted by each of the vehicle Ethernet interfaces is input to the corresponding Ethernet data conversion module for testing and processing.
[0122] The data processing module receives test results from each of the Ethernet data conversion modules, and these test results characterize the availability status of each Ethernet data conversion module. It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use, and processing of related data must comply with the relevant laws, regulations, and standards of the relevant countries and regions.
[0123] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments described above. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.
[0124] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0125] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.
Claims
1. An in-vehicle Ethernet data conversion device characterized by comprising: The vehicle-mounted Ethernet data conversion device comprises a plurality of vehicle-mounted Ethernet interfaces, a data switching module, a plurality of Ethernet data conversion modules and a data processing module, wherein: The plurality of vehicle-mounted Ethernet interfaces are respectively used for receiving vehicle-mounted Ethernet data; The data switching module is used for inputting the vehicle-mounted Ethernet data received through each vehicle-mounted Ethernet interface into a corresponding Ethernet data conversion module; The plurality of Ethernet data conversion modules are respectively used for converting each received vehicle-mounted Ethernet data into industrial Ethernet data and transmitting each industrial Ethernet data to the data processing module; The data processing module is used for performing test processing on each Ethernet data conversion module according to each received industrial Ethernet data to obtain a test result of each Ethernet data conversion module; The data processing module is further used for sending the test result of each Ethernet data conversion module to the data switching module; The data switching module is further used for determining the Ethernet data conversion module corresponding to each vehicle-mounted Ethernet interface according to the test result of each Ethernet data conversion module; wherein, The data switching module is further used for determining a standby Ethernet data conversion module corresponding to the Ethernet data conversion module from the remaining Ethernet data conversion modules and transmitting the vehicle-mounted Ethernet data to be transmitted to the Ethernet data conversion module to the standby Ethernet data conversion module in the case that the test result of any Ethernet data conversion module indicates that the Ethernet data conversion module is in an unusable state.
2. The in-vehicle Ethernet data conversion device according to claim 1, characterized by, The device further comprises a routing module, The Ethernet data conversion module is further used for transmitting the industrial Ethernet data to the routing module; The routing module is used for transmitting the industrial Ethernet data transmitted by each Ethernet data conversion module to the data processing module through a port corresponding to each Ethernet data conversion module.
3. The in-vehicle Ethernet data conversion device according to claim 2, characterized by, The data switching module is further used for determining the standby Ethernet data conversion module corresponding to the Ethernet data conversion module from the remaining Ethernet data conversion modules according to the test result of each remaining Ethernet data conversion module and a data switching condition.
4. The in-vehicle Ethernet data conversion device according to claim 3, characterized by, Each Ethernet data conversion module is provided with a dial switch, which is used for switching the master-slave mode of the Ethernet data conversion module, wherein the master-slave mode comprises a master mode and a slave mode.
5. The in-vehicle Ethernet data conversion device according to claim 3, characterized by, The data processing module is further used for sending the test result of each Ethernet data conversion module to a vehicle-mounted terminal to enable the vehicle-mounted terminal to display the test result on a display interface.
6. The in-vehicle Ethernet data conversion device according to claim 2, characterized by, The device further comprises a circuit board, and the vehicle-mounted Ethernet interface, the data switching module, the Ethernet data conversion module, the routing module and the data processing module are integrated on the circuit board.
7. The apparatus of claim 1, wherein, The device further comprises a power supply module, which is used for providing electric energy to the data switching module, the data processing module and each Ethernet data conversion module.
8. A method for converting data of an Ethernet network installed in a vehicle, characterized by comprising: The application discloses a data switching module applied to a vehicle-mounted Ethernet data conversion device, wherein the vehicle-mounted Ethernet data conversion device is the vehicle-mounted Ethernet data conversion device as claimed in any one of claims 1 to 7, and the method comprises the following steps: receiving vehicle-mounted Ethernet data transmitted by each vehicle-mounted Ethernet interface; based on the mapping relationship between each vehicle-mounted Ethernet interface and each Ethernet data conversion module, inputting the vehicle-mounted Ethernet data transmitted by each vehicle-mounted Ethernet interface into the corresponding Ethernet data conversion module respectively for test processing; receiving test results of the data processing module for each Ethernet data conversion module, wherein the test results are used for representing the available state of each Ethernet data conversion module; the method further comprises the following steps: in the case that the test result of any Ethernet data conversion module represents that the Ethernet data conversion module is in an unavailable state, determining a standby Ethernet data conversion module corresponding to the Ethernet data conversion module from the remaining Ethernet data conversion modules.
9. The method of claim 8, wherein, after the step of receiving the test results of the data processing module for each Ethernet data conversion module, the method further comprises the following steps: in the case that vehicle-mounted Ethernet data to be transmitted to any Ethernet data conversion module is received, if the Ethernet data conversion module has a corresponding standby Ethernet data conversion module, transmitting the vehicle-mounted Ethernet data to be transmitted to the Ethernet data conversion module to the standby Ethernet data conversion module.
10. The method of claim 9, wherein, the step of determining a standby Ethernet data conversion module corresponding to the Ethernet data conversion module from the remaining Ethernet data conversion modules comprises the following steps: determining a standby Ethernet data conversion module corresponding to the Ethernet data conversion module from the remaining Ethernet data conversion modules according to the test results of each remaining Ethernet data conversion module and a data switching condition.
Citation Information
Patent Citations
Vehicle-mounted Ethernet data conversion method, device, equipment and medium
CN113347273A