Search

CN-122027707-A - Cross-protocol domain data interaction method, vehicle-mounted network system and vehicle

CN122027707ACN 122027707 ACN122027707 ACN 122027707ACN-122027707-A

Abstract

The application provides a cross-protocol domain data interaction method, a vehicle-mounted network system and a vehicle, and relates to the technical field of vehicle-mounted communication, comprising the steps of obtaining an original protocol frame of any one of a plurality of functional domains from the vehicle-mounted network system; the method comprises the steps of mapping an original protocol frame into a unified payload format from an original vehicle-mounted protocol to obtain VPU data, packaging information of a destination port corresponding to the original protocol frame and the VPU data to obtain a corresponding VDU frame, scheduling based on the VDU frame to obtain a time to be sent of the VDU frame, outputting the VDU frame to the destination port when the time to be sent arrives, decapsulating the VDU frame output from the destination port to obtain the original data, and packaging the original data according to a target vehicle-mounted protocol of a target functional domain where the destination port is located to obtain a target protocol frame of the target vehicle-mounted protocol for processing based on the target protocol frame by the target functional domain. The application can improve the flexibility of vehicle-mounted data interaction.

Inventors

  • HOU YUFENG
  • YANG ZHENHUA
  • YUAN XINGYONG

Assignees

  • 重庆蓝电汽车科技有限公司

Dates

Publication Date
20260512
Application Date
20260413

Claims (12)

  1. 1. A method of cross-protocol domain data interaction, the method comprising: acquiring an original protocol frame from any one of a plurality of functional domains of a vehicle-mounted network system; Mapping the original protocol frames from the original vehicle-mounted protocol of any functional domain into a unified payload format to obtain vehicle-mounted payload unit (VPU) data corresponding to the original protocol frames, wherein the unified payload format is a standardized data encapsulation format and is used for uniformly representing the original protocol frames of different original vehicle-mounted protocols into data units with the same structure, and the VPU data is a data unit obtained by encapsulating the original protocol frames according to the unified payload format; Encapsulating the information of the destination port corresponding to the original protocol frame and the VPU data to obtain a corresponding vehicle-mounted data unit VDU frame, wherein the VDU frame is a data frame obtained by encapsulating the VPU data corresponding to the original protocol frames from different original vehicle-mounted protocols into a unified container format; scheduling based on the VDU frame to obtain the time to be sent of the VDU frame, and outputting the VDU frame to the destination port when the time to be sent arrives; Decapsulating the VDU frame output from the destination port to obtain original data; and according to a target vehicle-mounted protocol of a target functional domain where the target port is located, the original data is encapsulated to obtain a target protocol frame of the target vehicle-mounted protocol, so that the target functional domain can process based on the target protocol frame.
  2. 2. The method according to claim 1, wherein mapping the original protocol frame from the original vehicle-mounted protocol of the arbitrary functional domain to a unified payload format, to obtain vehicle-mounted payload unit VPU data corresponding to the original protocol frame, includes: According to the original protocol frame, acquiring the protocol type of the original vehicle-mounted protocol, the source address information in any functional domain and the original data; And mapping the protocol type, the source address information and the original data into a protocol type field, a source address field and a payload field of the unified payload format respectively by adopting a protocol mapping rule corresponding to the original vehicle-mounted protocol to obtain the VPU data.
  3. 3. The method according to claim 2, wherein the mapping the protocol type, the source address information, and the original data to the protocol type field, the source address field, and the payload field of the unified payload format by using the protocol mapping rule corresponding to the original vehicle-mounted protocol, to obtain the VPU data includes: If the original vehicle-mounted protocol is a control local area network (CAN) standard protocol, a CAN extension protocol or a vehicle-mounted multimedia transmission protocol, mapping the protocol type, the source address information and the original data from one original protocol frame into a protocol type field, a source address field and a payload field of the unified payload format respectively to obtain one VPU data, or If the original vehicle-mounted protocol is a local internet LIN protocol, mapping the protocol types, the source address information and the original data corresponding to the original protocol frames into the protocol type field, the source address field and the payload field of the unified payload format respectively to obtain a plurality of VPU subframes, and aggregating the VPU subframes to obtain one VPU data, or If the original vehicle-mounted protocol is a high-speed vehicle-mounted bus protocol or a vehicle-mounted Ethernet protocol, splitting the protocol type, the source address information and the original data from one original protocol frame according to a preset fragmentation rule, and mapping the split protocol type, the split source address information and the split original data into a protocol type field, a source address field and a payload field of the unified payload format respectively to obtain a plurality of VPU data.
  4. 4. The method according to claim 1, wherein said encapsulating the information of the destination port corresponding to the original protocol frame and the VPU data to obtain a corresponding vehicle-mounted data unit VDU frame includes: acquiring information of a source port, information of a destination port and a frame type corresponding to the original protocol frame; And mapping the information of the source port, the information of the destination port and the frame type into a preset VDU header field respectively, and mapping the VPU data into a preset VDU payload field to obtain the VDU frame.
  5. 5. The method according to claim 4, wherein the method further comprises: acquiring priority information corresponding to the business category according to the business category corresponding to the original protocol frame; the mapping the information of the source port, the information of the destination port and the frame type into a preset VDU header field respectively includes: And mapping the priority information, the information of the source port, the information of the destination port and the frame type into the preset VDU header field respectively.
  6. 6. The method according to claim 4, wherein the method further comprises: According to the protocol type of the original vehicle-mounted protocol, combining a preset corresponding relation between the protocol type and the VDU container type, and determining the VDU container type corresponding to the original vehicle-mounted protocol; the mapping the information of the source port, the information of the destination port and the frame type into a preset VDU header field, and mapping the VPU data into a preset VDU payload field, to obtain the VDU frame, includes: And mapping the information of the source port, the information of the destination port, the frame type and the preset VDU container type into a VDU header field corresponding to the preset VDU container type, and mapping the VPU data into a VDU payload field corresponding to the preset VDU container type to obtain the VDU frame.
  7. 7. The method according to claim 1, wherein said scheduling based on said VDU frame results in a timing for said VDU frame to be transmitted, comprising: Acquiring bandwidth requirements corresponding to the priority information according to the priority information of the VDU frame; And according to the bandwidth requirement, the time slot type and the length of the VDU frame, time slot allocation is carried out in a time slot range corresponding to the time slot type in a preset super-frame period, so as to obtain the time to be sent.
  8. 8. The method of claim 1, wherein prior to outputting the VDU frame to the destination port, the method further comprises: Acquiring priority information of the VDU frame; if a plurality of VDU frames with different priority information compete for the same destination port, determining one VDU frame from the plurality of VDU frames as an optimal VDU frame according to the priority information of each VDU frame; the outputting the VDU frame to the destination port includes: and outputting the optimal VDU frame to the destination port.
  9. 9. The method of claim 1, wherein the scheduling is based on the VDU frame, the method further comprising, prior to the timing for the VDU frame to be transmitted: And the transmitting node performs transmission layer encapsulation on the VDU frame to obtain a vehicle-mounted transmission unit (VTU) frame, and transmits the VTU frame to an intermediate node so that the intermediate node can decapsulate the VTU frame to obtain the VDU frame, and scheduling is performed based on the VDU frame to obtain the time to be transmitted of the VDU frame.
  10. 10. The method according to claim 1, wherein the method further comprises: if the frame type is the detection frame type, performing cross-protocol performance monitoring between a source port and a destination port according to the VDU frame; And if the frame type is an alarm frame type, performing cross-protocol fault positioning between a source port and the destination port according to the VDU frame.
  11. 11. The vehicle-mounted network system is characterized by comprising a plurality of functional domains and intermediate nodes, wherein all node devices in each functional domain are connected with the intermediate nodes; Any node in any one of a plurality of functional domains serves as a sending node, and the sending node is used for obtaining a corresponding vehicle-mounted data unit (VDU) frame by executing the cross-protocol domain data interaction method according to any one of claims 1-10; The intermediate node is configured to output the VDU frame to a destination port by performing the cross-protocol domain data interaction method according to any of the preceding claims 1-10; Any node in a target functional domain where the destination port is located in a plurality of functional domains is used as a receiving node, and the receiving node is configured to obtain a target protocol frame of the target vehicle-mounted protocol by executing the cross-protocol domain data interaction method according to any one of claims 1 to 10, so that the target functional domain processes based on the target protocol frame.
  12. 12. A vehicle comprising a vehicle body and the in-vehicle network system according to claim 11 provided on the vehicle body.

Description

Cross-protocol domain data interaction method, vehicle-mounted network system and vehicle Technical Field The application relates to the technical field of vehicle-mounted communication, in particular to a cross-protocol domain data interaction method, a vehicle-mounted network system and a vehicle. Background With the rapid development of intelligent network-connected automobiles, a large number of electronic control units (Electronic Control Unit, ECU) are integrated in modern automobiles, different functional domains adopt different communication protocols, for example, a power/chassis domain uses a controller local area network (Controller Area Network, CAN)/flexible data rate controller local area network CAN FD (CAN with Flexible Data Rate), a safety key domain (steer-by-wire/brake-by-wire) uses FlexRay (high-speed vehicle bus protocol), a vehicle body/comfort domain uses a local interconnection network (Local Interconnect Network, LIN), an entertainment/audio/video domain uses a media-oriented system transmission (Media Oriented Systems Transport, MOST), and an intelligent driving/cabin domain uses a vehicle-mounted Ethernet. These heterogeneous protocols have long co-existing as an industry deterministic trend. Vehicle architectures are evolving from "distributed ECU architectures" to "domain centralized architectures" to "central computing+regional controller architectures". In this process, the data interaction requirements across protocol domains increase dramatically. The existing vehicle-mounted multi-protocol gateway mainly adopts a pair-by-pair conversion scheme of a central gateway (CENTRAL GATEWAY, CGW) and realizes point-to-point conversion among protocols through software. The scheme has the following defects that N protocols need N x (N-1)/2 conversion logics, expansibility is extremely poor, unified data representation is lacking, analytical codes are needed to be written for each pair of protocols independently, a routing strategy is stiff, dynamic adjustment is not supported, service quality (Quality of Service, qoS) mechanisms of all protocol domains are independent, cross-domain data transmission quality cannot be guaranteed uniformly, conversion delay linearly grows along with load, and real-time requirements of safety key services such as ADAS are difficult to meet. Therefore, a technical solution capable of realizing efficient and unified exchange of vehicle-mounted heterogeneous protocols is needed. Disclosure of Invention The embodiment of the application provides a cross-protocol-domain data interaction method, a vehicle-mounted network system and a vehicle, which can improve the flexibility of vehicle-mounted data interaction. In a first aspect, an embodiment of the present application provides a method for interacting data across protocol domains, where the method includes: acquiring an original protocol frame from any one of a plurality of functional domains of a vehicle-mounted network system; Mapping the original protocol frames from the original vehicle-mounted protocol of any functional domain into a unified payload format to obtain vehicle-mounted payload unit (VPU) data corresponding to the original protocol frames, wherein the unified payload format is a standardized data encapsulation format and is used for uniformly representing the original protocol frames of different original vehicle-mounted protocols into data units with the same structure, and the VPU data is a data unit obtained by encapsulating the original protocol frames according to the unified payload format; Encapsulating the information of the destination port corresponding to the original protocol frame and the VPU data to obtain a corresponding vehicle-mounted data unit VDU frame, wherein the VDU frame is a data frame obtained by encapsulating the VPU data corresponding to the original protocol frames from different original vehicle-mounted protocols into a unified container format; scheduling based on the VDU frame to obtain the time to be sent of the VDU frame, and outputting the VDU frame to the destination port when the time to be sent arrives; Decapsulating the VDU frame output from the destination port to obtain original data; and according to a target vehicle-mounted protocol of a target functional domain where the target port is located, the original data is encapsulated to obtain a target protocol frame of the target vehicle-mounted protocol, so that the target functional domain can process based on the target protocol frame. Optionally, the mapping the original protocol frame from the original vehicle-mounted protocol of any one of the functional domains to a unified payload format to obtain vehicle-mounted payload unit VPU data corresponding to the original protocol frame includes: According to the original protocol frame, acquiring the protocol type of the original vehicle-mounted protocol, the source address information in any functional domain and the original data; And mapping the prot