Data transmission method of vehicle-mounted terminal system, vehicle-mounted terminal system and storage medium

By using virtual LAN technology in the on-board terminal system, data transmission of different services is isolated through virtual network numbers, the problems of complex forwarding logic and inefficient data transmission in the existing system are solved, and more efficient data transmission is achieved.

CN120166068APending Publication Date: 2025-06-17XIAMEN YAXON ZHILLAN TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311686417.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-08
Publication Date
2025-06-17

AI Technical Summary

Technical Problem

In the existing vehicle terminal system, Ethernet packets of different services are mixed together to transmit, resulting in the need to set special forwarding rules, resulting in complex forwarding logic and low data transmission efficiency.

Method used

By carrying a virtual network number in the on-board communication module or domain controller, the on-board gateway parses and forwards service data packets to the corresponding network channel, and the transmission of different network channels is isolated using virtual LAN technology.

Benefits of technology

It realizes the data forwarding logic of the on-board terminal system clear and easy to manage, greatly improving data transmission efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120166068A_ABST
    Figure CN120166068A_ABST
Patent Text Reader

Abstract

The invention provides a data transmission method of a vehicle-mounted terminal system, the vehicle-mounted terminal system and a storage medium, and relates to the technical field of Internet of Vehicles. The vehicle-mounted terminal system provided by the invention comprises a vehicle-mounted communication module, a vehicle-mounted gateway and a plurality of domain controllers, wherein the vehicle-mounted communication module / domain controller carries a configured virtual network number in a sent service data message; the vehicle-mounted gateway receives the service data message from the vehicle-mounted communication module / domain controller and forwards the service data message to a network channel corresponding to the analyzed virtual network number, and different network channels are mutually isolated; and the vehicle-mounted communication module / domain controller receives the service data message forwarded by the vehicle-mounted gateway from the network channel corresponding to the configured virtual network number. According to the vehicle-mounted terminal system, the service data message is transmitted in an isolated mode through the virtual local area network technology, the forwarding logic of the whole vehicle-mounted terminal system is clear and easy to manage through flexible configuration of the virtual network number, and the data transmission efficiency is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the technical field of vehicle networking, and particularly relates to a data transmission method, a vehicle terminal system, and a storage medium for a vehicle terminal system. Background Art

[0002] With the development of automotive technology, the functions of automotive integrated electronic control units (ECUs) are becoming more and more numerous, and the load of the body controller area network (CAN) is also increasing. The CAN network has limitations in some high-load scenarios. Ethernet supports higher bandwidth and richer protocol support, and can replace the CAN network in some scenarios. The telematics box (T-box) in the vehicle terminal system is usually used to provide networking services such as vehicle data reporting, remote control, remote diagnosis, vehicle OTA, and GPS positioning for the ECU.

[0003] Ethernet packets of different services are usually transmitted mixed together. For services with specific requirements, forwarding rules need to be specially set. For example, some vehicle manufacturers require different service data to go through specific traffic channels. Therefore, the vehicle terminal needs to set specific forwarding rules for different services, such as DNS domain name resolution forwarding, specific port data forwarding, specific IP data forwarding, etc. Since the requirements of different services and different manufacturers are different, the current method of setting specific packet forwarding rules separately will make the forwarding logic of the entire vehicle terminal system chaotic and the data transmission efficiency low. Summary of the Invention

[0004] To solve the above existing problems, this application provides a data transmission method, a vehicle terminal system, and a storage medium for a vehicle terminal system, which can make the data forwarding logic of the vehicle terminal system clear and easy to manage, and greatly improve the data transmission efficiency.

[0005] In a first aspect, this application provides a data transmission method for a vehicle terminal system. The vehicle terminal system includes a vehicle communication module, a vehicle gateway, and multiple domain controllers. The method includes:

[0006] The vehicle communication module / any domain controller carries the configured virtual network number in the sent service data packet;

[0007] The vehicle gateway receives the service data packet from the vehicle communication module / any domain controller, parses the virtual network number from the received service data packet, and forwards the service data packet to the network channel corresponding to the parsed virtual network number. Different network channels are isolated from each other;

[0008] The vehicle-mounted communication module / any domain controller receives the service data packet forwarded by the vehicle gateway from the network channel corresponding to the configured virtual network number.

[0009] In a possible implementation manner, the vehicle-mounted communication module / any domain controller is configured with one or more virtual network numbers, and different virtual network numbers correspond to different service functions.

[0010] In a possible implementation manner, the vehicle gateway stores multiple virtual network numbers. Different domain controllers and vehicle-mounted communication modules are allowed to be configured with the same virtual network number. Multiple domain controllers / vehicle-mounted communication modules configured with the same virtual network number perform data interaction through the vehicle gateway.

[0011] In a possible implementation manner, the service function includes a target service function, and the target service function is a service function completed by the cooperation of multiple domain controllers;

[0012] The method further includes: when the virtual network number is the first virtual network number, the vehicle gateway forwards the service data packet to the target network channel, and the transmission performance of the target network channel reaches a preset standard.

[0013] In a possible implementation manner, the forwarding of the service data packet to the network channel corresponding to the virtual network number includes:

[0014] The vehicle gateway forwards the service data packet to the network channel corresponding to the virtual network number according to the preset forwarding rule corresponding to the parsed virtual network number, and the preset forwarding rule indicates the mapping relationship between the virtual network number and the network channel.

[0015] In a possible implementation manner, a firewall system is used to manage the preset forwarding rules corresponding to each virtual network number.

[0016] In a possible implementation manner, when a gateway function is integrated into each domain controller in the vehicle terminal system, the method further includes:

[0017] Any domain controller carries the virtual network number in the service data packet sent, and forwards the service data packet to the network channel corresponding to the virtual network number.

[0018] In a possible implementation manner, the multiple domain controllers include at least two of a body domain controller, an autonomous driving domain controller, a chassis domain controller, a power domain controller, and a cockpit domain controller.

[0019] In a second aspect, a vehicle-mounted terminal system is provided. The vehicle-mounted terminal system includes a vehicle-mounted communication module, a vehicle-mounted gateway, and multiple domain controllers. The vehicle-mounted terminal system is used to implement the data transmission method of the vehicle-mounted terminal system provided in the first aspect.

[0020] In a third aspect, a chip is provided. The chip includes a processor and an interface circuit. The processor is used to implement the data transmission method of the vehicle-mounted terminal system provided in the first aspect.

[0021] In a fourth aspect, a computer-readable storage medium is provided. At least one segment of program is stored in the storage medium, and the at least one segment of program is executed by a processor to implement the data transmission method of the vehicle-mounted terminal system provided in the first aspect.

[0022] The technical solutions provided in this application at least include the following technical effects:

[0023] The vehicle-mounted terminal system provided in this application includes a vehicle-mounted communication module, a vehicle-mounted gateway, and multiple domain controllers. The vehicle-mounted communication module / domain controller carries the configured virtual network number in the sent service data packet. The vehicle-mounted gateway receives the service data packet from the vehicle-mounted communication module / domain controller and forwards the service data packet to the network channel corresponding to the parsed virtual network number. Different network channels are isolated from each other. The vehicle-mounted communication module / domain controller receives the service data packet forwarded by the vehicle-mounted gateway from the network channel corresponding to the configured virtual network number. This application uses virtual local area network technology to isolate and transmit service data packets. Through the flexible configuration of virtual network numbers, the forwarding logic of the entire vehicle-mounted terminal system is clear and easy to manage, greatly improving the data transmission efficiency. Description of the Drawings

[0024] Figure 1 is a schematic diagram of the architecture of a vehicle-mounted terminal system provided by an embodiment of this application;

[0025] Figure 2 is a schematic flowchart of a data transmission method of a vehicle-mounted terminal system provided by an embodiment of this application;

[0026] Figure 3 is a schematic diagram of another data transmission method of a vehicle-mounted terminal system provided by an embodiment of this application

[0027] Figure 4 is a schematic diagram of the structure of a chip provided by an embodiment of this application. Detailed Embodiments

[0028] To further illustrate each embodiment, the present application provides accompanying drawings. These drawings are part of the disclosure of the present application, mainly used to illustrate the embodiments, and can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. With reference to these contents, those of ordinary skill in the art should be able to understand other possible embodiments and the advantages of the present application. The components in the drawings are not drawn to scale, and similar component symbols are usually used to represent similar components. In the present application, the meaning of the term "at least one" refers to one or more, and the meaning of the term "a plurality" refers to two or more. For example, a plurality of controllers refers to two or more controllers.

[0029] The present application will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0030] The present application provides an in-vehicle terminal system, which includes: an in-vehicle communication module, an in-vehicle gateway, and a plurality of domain controllers.

[0031] In the embodiments of the present application, the in-vehicle communication module is also the T-box. As the core functional module in the in-vehicle terminal system, the in-vehicle communication module supports functions such as networking, real-time reporting of vehicle information, remote control, vehicle diagnosis (remote or local), emergency call for vehicles, and over-the-air (OTA) download.

[0032] In the embodiments of the present application, the in-vehicle gateway and a plurality of domain controllers form a basic vehicle head unit system. Ethernet communication is used between the in-vehicle communication module (T-box), the in-vehicle gateway, and a plurality of domain controllers. The in-vehicle gateway and a plurality of domain controllers form a local area network, which can share the network channel provided by the T-box to achieve various networking functions.

[0033] In the embodiments of the present application, a plurality of domain controllers can manage different vehicle functions respectively. Exemplarily, the plurality of domain controllers includes at least two of a body domain controller (BDCU), an autonomous driving domain controller (ADCU), a chassis domain controller, a power domain controller, and a cockpit domain controller (CDCU). Among them, the power domain controller and the chassis domain controller are generally integrated in one domain controller (VDCU).

[0034] In the embodiments of the present application, the in-vehicle gateway is the forwarding center of the local area network formed by each functional domain in the vehicle. The in-vehicle gateway can perform data processing and transmission between different types of networks across functional domains.

[0035] Figure 1 It is a schematic diagram of the architecture of an in-vehicle terminal system provided by an embodiment of the present application. Figure 1 The in-vehicle gateway shown in part (a) adopts a centralized gateway design. See Figure 1In part (a), multiple domain controllers (Domain Controller 1 - Domain Controller N) can perform data interaction through the in-vehicle gateway (Gateway). The in-vehicle gateway can send the data packets sent by each domain controller to the in-vehicle communication module (T-box) for networking, where N is a positive integer. In some other embodiments, Figure 1 In part (b), each domain controller has the function of a gateway itself and can directly interact with the T-box or interact with a cross-domain centralized gateway (the centralized gateway is shown as a dotted line as an optional item).

[0036] Based on the in-vehicle terminal system introduced above, the data transmission method of the in-vehicle terminal system provided by the embodiments of the present application will be introduced. The data transmission method of the in-vehicle terminal system provided by the embodiments of the present application uses virtual local area network technology to design the data forwarding logic of the in-vehicle terminal system. Figure 2 It is a schematic flowchart of a data transmission method of an in-vehicle terminal system provided by an embodiment of the present application.

[0037] In the embodiments of the present application, the in-vehicle communication module / any domain controller carries the configured virtual network number in the sent service data packet.

[0038] In the technical solution of the present application, the service data packets are isolated and transmitted by using virtual local area network (VLAN) technology. Based on this concept, the controllers of different functional domains of the whole vehicle can configure one or more specific virtual network numbers (VlanID) according to their own functional requirements. The domain controllers configured with the same virtual network number can maintain normal communication, while the domain controllers configured with different virtual network numbers are isolated from each other. By carrying the configured virtual network number in the sent service data packet, the in-vehicle gateway can be instructed to forward the service data packet to the corresponding network channel, and isolated transmission is achieved by using different network channels.

[0039] Exemplarily, the multiple domain controllers include a body domain controller (BDCU), an autonomous driving domain controller (ADCU), a chassis domain controller, a power domain controller, and a cockpit domain controller.

[0040] In a possible implementation manner, the in-vehicle communication module / any domain controller is configured with one or more virtual network numbers, and different virtual network numbers correspond to different service functions. The in-vehicle gateway stores multiple virtual network numbers, and different domain controllers and in-vehicle communication modules are allowed to be configured with the same virtual network number. The multiple domain controllers / in-vehicle communication modules configured with the same virtual network number perform data interaction through the in-vehicle gateway.

[0041] Exemplarily, the data carried in the service data packet is, for example, vehicle lighting data, central control data, or vehicle positioning data, which can be specifically determined according to the corresponding service function, and the present application does not limit this.

[0042] For ease of understanding, the embodiments of the present application provide a schematic diagram of another data transmission method for an in-vehicle terminal system. Refer to Figure 4 , the T-box is configured with vlan4 and vlan1, the BDCU is configured with vlan1 and vlan2, the CDCU is configured with vlan1 and vlan3, and the in-vehicle gateway is configured with vlan1, vlan2, vlan3, and vlan4; then the T-box, CDCU, and BDCU can communicate with each other through vlan1 with the help of the in-vehicle gateway; the CDCU and BDCU can also communicate with each other based on vlan2 with the help of the in-vehicle gateway; however, devices without the same vlan number configured cannot communicate with each other. The BDCU and CDCU cannot communicate through vlan4; similarly, the BDCU and T-box, and the BDCU and CDCU cannot communicate through vlan2.

[0043] In a possible implementation manner, the service function includes a target service function. The target service function is a service function completed by the cooperation of multiple domain controllers. For example, the vehicle diagnosis function. Therefore, each domain controller supporting the target service function is configured with a corresponding first virtual network number, so that the first virtual network number can be carried when sending the service data packet of the target service function.

[0044] In this example, the data transmission method for the in-vehicle terminal system provided by the embodiments of the present application further includes: when the virtual network number is the first virtual network number, the in-vehicle gateway forwards the service data packet to the target network channel, and the transmission performance of the target network channel reaches the preset standard.

[0045] In the embodiments of the present application, virtual network numbers are pre-configured for each domain controller and the in-vehicle gateway.

[0046] In the embodiments of the present application, through the above-mentioned configuration method for service function types and virtual network numbers, different domain controllers can cooperate to implement service functions by carrying the same virtual network number in the service data packet.

[0047] Through the above configuration, the domain controllers supporting the target service function can report data in the transmission link corresponding to the first virtual network number, and perform data interaction with the T-box or other domain controllers through the in-vehicle gateway, so as to cooperate to implement the target service function.

[0048] In the embodiments of the present application, the in-vehicle gateway receives a service data packet from the in-vehicle communication module / any domain controller, parses the virtual network number from the received service data packet, and forwards the service data packet to the network channel corresponding to the parsed virtual network number.

[0049] In the embodiments of the present application, different network channels are isolated from each other. Exemplarily, different network channels correspond to different ports, and the network channels can be used to realize the connection between controller area networks.

[0050] In a possible implementation manner, the vehicle-mounted gateway forwards the service data packet to the network channel corresponding to the virtual network number according to the preset forwarding rule corresponding to the parsed virtual network number, and the preset forwarding rule indicates the mapping relationship between the virtual network number and the network channel. For example, vlan1 corresponds to network channel 0, vlan2 corresponds to network channel 1, vlan3 corresponds to network channel 2, vlan3 corresponds to network channel 4, and so on.

[0051] In a possible implementation manner, the packet filtering system (IPtables) in the firewall system is used to manage the preset forwarding rules corresponding to each virtual network number. Among them, IPTables supports modifying, adding, and deleting specific packet processing rules in the rule table and rule chain.

[0052] In the embodiments of the present application, the vehicle-mounted gateway parses the virtual network number from the received service data packet, queries the corresponding preset forwarding rule according to the virtual network number, and forwards the specific service data packet to the corresponding network channel. For example, the service data packet carrying vlan1 is forwarded to network channel 0 according to the preset forwarding rule; the service data packet carrying vlan2 is forwarded to network channel 1 according to the preset forwarding rule; the service data packet carrying vlan3 is forwarded to network channel 2 according to the preset forwarding rule, and so on.

[0053] In a possible implementation manner, when the target service function is the vehicle diagnosis function and the parsed virtual network number is the first virtual network number vlan1, the current service data packet is forwarded to the target network channel (network channel 0).

[0054] Among them, the transmission performance of the target network channel reaches the preset standard corresponding to the vehicle diagnosis function. The transmission performance can be measured by indicators such as channel bandwidth, transmission rate, and delay. The preset standard corresponding to the vehicle diagnosis function is, for example, that the transmission delay is less than the preset delay, or that the transmission rate reaches the preset rate. The present application is not limited to this.

[0055] In the embodiments of the present application, the vehicle-mounted communication module / any domain controller receives the service data packet forwarded by the vehicle-mounted gateway from the network channel corresponding to the configured virtual network number.

[0056] In a possible implementation manner, refer to Figure 1In part (b), when a gateway function is integrated into each domain controller in the vehicle-mounted terminal system, the domain controller can perform the operations executed by the vehicle-mounted gateway. In this example, any domain controller carries a virtual network number in the service data packet it sends and forwards the service data packet to the network channel corresponding to the virtual network number.

[0057] This application uses virtual local area network technology to configure different VlanIDs for different types of service functions, enabling isolated transmission of service data packets with specific requirements. The iptables system is used to flexibly configure data forwarding rules. The forwarding logic of the entire vehicle-mounted terminal system is clear and easy to manage, greatly improving data transmission efficiency.

[0058] This application provides a chip that can be implemented as the above vehicle-mounted gateway, domain controller, or vehicle-mounted communication module to execute all or part of the steps in the data transmission method of the above vehicle-mounted terminal system. Figure 4 It is a schematic structural diagram of a chip provided by this application according to an exemplary embodiment. As Figure 4 shown, the chip 40 includes a processor 41 and an interface circuit 42. Among them, the interface circuit 42 is used to receive instructions and transmit them to the processor 41. The processor 41 is coupled to a memory 43. The memory 43 is used to store program code. When the program code is executed by the processor 41, the chip system composed of the processor 41, the interface circuit 42, and the memory 43 implements the operation steps of the method in any of the above method embodiments.

[0059] Optionally, there is at least one processor 41 in the chip system. It should be understood that in the embodiments of this application, the processor 31 can be a central processing unit (CPU) or other general-purpose processors. The processor 41 can also be one or more integrated circuits for implementing the solution of this application. For example, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a programmable logic device (PLD), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor, etc.

[0060] Optionally, there may also be one or more memories 43 in the chip system. The memory 43 may be integrated with the processor 41 or may be separately provided from the processor 41, which is not limited in this application. Among them, the memory 43 may include a read-only memory and a random access memory, and provide instructions and data to the processor 41. The memory 43 may further include a non-volatile random access memory. The memory 43 may also be a volatile memory, or may include both volatile and non-volatile memories.

[0061] Among them, the non-volatile memory may be a read-only memory (ROM), a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. Exemplarily, the chip system may be an FPGA, may be an ASIC, may also be a SoC, may also be a CPU, may also be a network processor (NP), may also be a digital signal processing circuit (DSP), may also be a micro controller unit (MCU), may also be a PLD), or other integrated chips.

[0062] This application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps of the above method in the embodiments of this application are implemented.

[0063] If the modules / units integrated in the computer unit are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, to implement all or part of the processes in the above-mentioned embodiment methods of this application, it can also be completed by instructing relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in the form of source code, object code, executable file or some intermediate form, etc. The computer-readable medium can include: any entity or device that can carry the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disc, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), and software distribution medium, etc. It should be noted that the content included in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction.

[0064] Although the present application has been specifically shown and described in conjunction with the preferred embodiments, those skilled in the art should understand that various changes can be made to the present application in form and detail without departing from the spirit and scope of the present application defined by the appended claims, and all of them are within the protection scope of the present application.

Claims

1. A data transmission method for a vehicle-mounted terminal system, characterized in that, The in-vehicle terminal system includes an in-vehicle communication module, an in-vehicle gateway, and multiple domain controllers. The method includes: The in-vehicle communication module / any domain controller carries the configured virtual network number in the service data packet sent; The in-vehicle gateway receives the service data packet from the in-vehicle communication module / any domain controller, parses out the virtual network number from the received service data packet, and forwards the service data packet to the network channel corresponding to the parsed virtual network number, and different network channels are isolated from each other; The in-vehicle communication module / any domain controller receives the service data packet forwarded by the in-vehicle gateway from the network channel corresponding to the configured virtual network number.

2. The data transmission method according to claim 1, characterized in that, The in-vehicle communication module / any domain controller is configured with one or more virtual network numbers, and different virtual network numbers correspond to different service functions.

3. The data transmission method according to claim 2, characterized in that, The in-vehicle gateway stores multiple virtual network numbers. Different domain controllers and in-vehicle communication modules are allowed to be configured with the same virtual network number. Multiple domain controllers / in-vehicle communication modules configured with the same virtual network number perform data interaction through the in-vehicle gateway.

4. The data transmission method according to claim 2, characterized in that, The service function includes a target service function, and the target service function is a service function completed by the cooperation of multiple domain controllers; The method further includes: when the virtual network number is the first virtual network number, the in-vehicle gateway forwards the service data packet to the target network channel, and the transmission performance of the target network channel reaches a preset standard.

5. The data transmission method according to claim 1, characterized in that, The step of forwarding the service data packet to the network channel corresponding to the virtual network number includes: The in-vehicle gateway forwards the service data packet to the network channel corresponding to the virtual network number according to the preset forwarding rule corresponding to the parsed virtual network number, and the preset forwarding rule indicates the mapping relationship between the virtual network number and the network channel.

6. The data transmission method according to claim 4, characterized in that, A firewall system is adopted to manage the preset forwarding rules corresponding to each virtual network number.

7. The data transmission method according to claim 1, characterized in that, When a gateway function is integrated in each domain controller in the in-vehicle terminal system, the method further includes: Any domain controller carries the virtual network number in the service data packet sent and forwards the service data packet to the network channel corresponding to the virtual network number.

8. The data transmission method according to claim 1, characterized in that, The multiple domain controllers include at least two of a body domain controller, an autonomous driving domain controller, a chassis domain controller, a power domain controller, and a cockpit domain controller.

9. A vehicle-mounted terminal system, characterized in that, The in-vehicle terminal system includes an in-vehicle communication module, an in-vehicle gateway, and multiple domain controllers. The in-vehicle terminal system is used to implement the data transmission method according to any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that, At least one program is stored in the storage medium, and the at least one program is executed by a processor to implement the data transmission method according to any one of claims 1 to 8.