Method and system for determining vehicular time-sensitive network traffic configuration
By interacting with the SOA middleware and the TSN controller at the port, the system acquires and analyzes in-vehicle service traffic data, solving the problem of deterministic traffic transmission in in-vehicle networks and achieving automated acquisition and deterministic transmission.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- PURPLE MOUNTAIN LAB
- Filing Date
- 2022-09-13
- Publication Date
- 2026-04-17
AI Technical Summary
Existing technologies struggle to achieve deterministic transmission of time-sensitive network traffic in vehicles without altering industry standards and vehicle equipment systems. This is especially true given the complexity of vehicle networks and the diverse forms of application software. Manually collecting service traffic characteristics and transmission quality requirements cannot meet the needs of new vehicle services.
By setting up control plane and forwarding plane ports on the service-oriented architecture (SOA) middleware, vehicle service traffic data is obtained, service traffic parameter data is determined, and then sent to the TSN controller through the control plane port. The TSN controller determines the traffic configuration parameters based on these parameters, thereby achieving adaptive perception and automated acquisition.
It enables automated acquisition and deterministic transmission of in-vehicle TSN service traffic characteristics without altering existing TSN service industry standards or the support capabilities of in-vehicle terminal equipment.
Smart Images

Figure CN115695249B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicular network technology, and in particular to a method and system for determining the configuration of vehicular time-sensitive network traffic. Background Technology
[0002] Time-Sensitive Networking (TSN) is a deterministic standard Ethernet technology widely used in audio / video, automotive networks, and industrial networks. Automotive TSN is defined as the next-generation vehicular local area network (VLAN) technology. TSN's collinear transmission and real-time transmission characteristics can well meet the development needs of automotive networks. However, the implementation of TSN technology in the automotive field still faces some application challenges, such as TSN network planning and scheduling, and seamless replacement of automotive networks.
[0003] TSN networks achieve deterministic transmission of service traffic by reserving bandwidth and resources; therefore, mapping service traffic to forwarding strategies is a prerequisite for achieving deterministic traffic transmission. Furthermore, vehicular traffic service systems are complex, comprising multiple modules such as a hardware abstraction layer, application software, and a real-time operating system; the application software varies in form and standard, and manually collecting service traffic characteristics and transmission quality requirements is clearly insufficient to meet the evolving needs of new vehicular services.
[0004] In related technologies, in order to achieve deterministic transmission throughout the entire process from application / service to forwarding, it is necessary to complete the joint scheduling of Data Distribution Service (DDS) and TSN. Since the joint scheduling of DDS and TSN involves the standardization mapping of Quality of Service (QoS), it relies on the formulation of industry standards. In addition to completing the formulation of industry standards, it also involves the adaptation and modification of vehicle equipment systems. These complex tasks severely restrict the application of TSN technology in vehicle services.
[0005] Therefore, how to configure vehicle time-sensitive network traffic without changing industry standards and vehicle equipment systems, and thus achieve deterministic transmission of vehicle time-sensitive network traffic, has become an urgent problem to be solved in the industry. Summary of the Invention
[0006] To address the problems existing in the prior art, this invention provides a method and system for determining the configuration of time-sensitive network traffic in vehicles.
[0007] In a first aspect, the present invention provides a method for determining the configuration of vehicular time-sensitive network traffic, applied to a service-oriented architecture (SOA) middleware, wherein the SOA middleware is provided with control plane ports and forwarding plane ports, and the method includes:
[0008] Vehicle service traffic data is obtained through the forwarding plane port;
[0009] Based on the aforementioned vehicle service traffic data, service traffic parameter data is determined;
[0010] The service traffic parameter data is sent to the Time-Sensitive Network (TSN) controller through the control plane port, so that the TSN controller can determine the traffic configuration parameters based on the service traffic parameter data.
[0011] Optionally, according to the method for determining the configuration of vehicular time-sensitive network traffic provided by the present invention, the step of determining the service traffic parameter data based on the vehicular service traffic data includes:
[0012] The first information is obtained from the TSN controller through the control plane port;
[0013] Based on the first information and the vehicle service traffic data, the service traffic parameter data is determined;
[0014] The first information includes any one or more of the following:
[0015] Global network topology information, vehicle device type, and vehicle device port MAC address.
[0016] Optionally, according to the method for determining the configuration of in-vehicle time-sensitive network traffic provided by the present invention, the SOA middleware is deployed in an in-vehicle computing platform;
[0017] The step of obtaining vehicle service traffic data through the forwarding plane port includes:
[0018] By monitoring the vehicle computing platform through the forwarding plane port, the vehicle computing traffic received and sent by the vehicle computing platform can be determined.
[0019] The vehicle service traffic data is determined based on the vehicle computing traffic received and sent by the vehicle computing platform.
[0020] Optionally, according to the method for determining the traffic configuration of a vehicle-mounted time-sensitive network provided by the present invention, the SOA middleware is connected to the time-sensitive network (TSN) switch through the forwarding plane port;
[0021] The step of obtaining vehicle service traffic data through the forwarding plane port includes:
[0022] The forwarding plane port receives port mirroring data sent by the mirroring port on the TSN switch and uses the port mirroring data as the vehicle service traffic data.
[0023] The mirrored port on the TSN switch is configured by the TSN controller.
[0024] Optionally, according to the method for determining the traffic configuration of a vehicle-mounted time-sensitive network provided by the present invention, the service traffic parameter data includes any one or more of the following:
[0025] The parameters include the source port of the traffic, the destination port of the traffic, the period of the traffic, the packet size of the traffic, the maximum latency of the traffic, and the jitter requirements.
[0026] Secondly, the present invention provides a method for determining the traffic configuration of an in-vehicle time-sensitive network (TSN), applied to a TSN controller, the method comprising:
[0027] Receive business traffic parameter data sent by the Service-Oriented Architecture (SOA) middleware through the control plane port;
[0028] Based on the aforementioned service traffic parameter data, determine the traffic configuration parameters;
[0029] The service traffic parameter data is determined by the SOA middleware based on the vehicle service traffic data, which is obtained by the SOA middleware through the forwarding plane port. Both the control plane port and the forwarding plane port are set on the SOA middleware.
[0030] Optionally, according to the method for determining the traffic configuration of a vehicle-mounted time-sensitive network provided by the present invention, the step of determining the traffic configuration parameters based on the service traffic parameter data includes:
[0031] Determine the global network topology, bandwidth resources, and current traffic configuration information;
[0032] Based on the service traffic parameter data, the global topology bandwidth resources, and the current traffic configuration information, the traffic configuration parameters are determined.
[0033] Optionally, according to the method for determining the configuration of vehicular time-sensitive network traffic provided by the present invention, the method further includes:
[0034] The traffic configuration parameters are distributed to the Time-Sensitive Network (TSN) switch and the vehicle-mounted device, so that the TSN switch and the vehicle-mounted device can perform traffic scheduling based on the traffic configuration parameters.
[0035] Thirdly, the present invention provides a system for determining the traffic configuration of a vehicle-mounted time-sensitive network, comprising: a service-oriented architecture (SOA) middleware and a time-sensitive network (TSN) controller, wherein the SOA middleware is provided with a control plane port and a forwarding plane port;
[0036] The SOA middleware is used to obtain vehicle service traffic data through the forwarding plane port, determine service traffic parameter data based on the vehicle service traffic data, and send the service traffic parameter data to the TSN controller through the control plane port.
[0037] The TSN controller is used to receive the service traffic parameter data and determine the traffic configuration parameters based on the service traffic parameter data.
[0038] Optionally, in the system for determining the configuration of in-vehicle time-sensitive network traffic according to the present invention, the SOA middleware is further used for:
[0039] Obtain first information from the TSN controller;
[0040] Based on the first information and the vehicle service traffic data, the service traffic parameter data is determined;
[0041] The first information includes any one or more of the following:
[0042] Global network topology information, vehicle device type, and vehicle device port MAC address.
[0043] Optionally, in the system for determining the configuration of vehicular time-sensitive network traffic according to the present invention, the TSN controller is further configured to:
[0044] Determine the global network topology, bandwidth resources, and current traffic configuration information;
[0045] Based on the service traffic parameter data, the global topology bandwidth resources, and the current traffic configuration information, the traffic configuration parameters are determined.
[0046] Fourthly, the present invention also provides a device for determining the configuration of vehicular time-sensitive network traffic, applied to a service-oriented architecture (SOA) middleware, wherein the SOA middleware is provided with a control plane port and a forwarding plane port, and the device includes:
[0047] The acquisition module is used to acquire vehicle service traffic data through the forwarding plane port;
[0048] The first determining module is used to determine service traffic parameter data based on the vehicle service traffic data;
[0049] The sending module is used to send the service traffic parameter data to the Time Sensitive Network (TSN) controller through the control plane port, so that the TSN controller can determine the traffic configuration parameters based on the service traffic parameter data.
[0050] Fifthly, the present invention also provides a device for determining the traffic configuration of an in-vehicle time-sensitive network (TSN), applied to a TSN controller, the device comprising:
[0051] The receiving module is used to receive business traffic parameter data sent by the Service-Oriented Architecture (SOA) middleware through the control plane port;
[0052] The second determining module is used to determine traffic configuration parameters based on the service traffic parameter data;
[0053] The service traffic parameter data is determined by the SOA middleware based on the vehicle service traffic data, which is obtained by the SOA middleware through the forwarding plane port. Both the control plane port and the forwarding plane port are set on the SOA middleware.
[0054] In a sixth aspect, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the method for determining the vehicular time-sensitive network traffic configuration as described in the first or second aspect.
[0055] In a seventh aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method for determining the vehicular time-sensitive network traffic configuration as described in the first or second aspect.
[0056] Eighthly, the present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the method for determining the vehicular time-sensitive network traffic configuration as described in the first or second aspect.
[0057] The present invention provides a method and system for determining the configuration of vehicle-mounted time-sensitive network (TSN) traffic. By using SOA middleware to determine the service traffic parameter data based on the vehicle service traffic data obtained from the forwarding plane port, the system achieves adaptive perception of vehicle-mounted TSN service traffic. The service traffic parameter data is then sent to the TSN controller through the control plane port, and the TSN controller determines the traffic configuration parameters based on the service traffic parameter data. This not only realizes the automated acquisition of vehicle-mounted TSN service traffic characteristics, but also determines the traffic configuration parameters without changing the existing TSN service industry standards and the support capabilities of vehicle-mounted equipment, thus achieving deterministic transmission of vehicle-mounted TSN service traffic. Attached Figure Description
[0058] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0059] Figure 1 This is one of the flowcharts illustrating the method for determining the traffic configuration of a vehicle-mounted time-sensitive network provided by the present invention;
[0060] Figure 2 This is the second flowchart illustrating the method for determining the traffic configuration of a vehicle-mounted time-sensitive network provided by the present invention.
[0061] Figure 3 This is the third flowchart illustrating the method for determining the traffic configuration of a vehicle-mounted time-sensitive network provided by the present invention;
[0062] Figure 4 This is the fourth flowchart illustrating the method for determining the traffic configuration of a vehicle-mounted time-sensitive network provided by the present invention.
[0063] Figure 5 This is a schematic diagram of the system for determining the configuration of vehicle-mounted time-sensitive network traffic provided by the present invention;
[0064] Figure 6 This is a schematic diagram of the SOA middleware device provided by the present invention;
[0065] Figure 7 This is one of the structural schematic diagrams of the device for determining the traffic configuration of a vehicle-mounted time-sensitive network provided by the present invention;
[0066] Figure 8 This is the second schematic diagram of the device for determining the configuration of vehicle-mounted time-sensitive network traffic provided by the present invention;
[0067] Figure 9 This is a schematic diagram of the physical structure of the electronic device provided by the present invention. Detailed Implementation
[0068] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0069] To facilitate a clearer understanding of the various embodiments of the present invention, some relevant background knowledge will be introduced as follows.
[0070] Traditional in-vehicle networks employ a bus-based transmission architecture. With numerous bus technologies and varying standards, adding new services necessitates consideration of bus additions and deployment. In recent years, with the development of intelligent connected vehicles, in-vehicle services have become increasingly sophisticated, and over-the-air (OTA) updates have become more frequent. This has led to more complex in-vehicle network cabling, increasing its weight and cost, all of which constrain the automotive industry's development. Furthermore, the emergence of Level 3 and higher autonomous driving requirements places higher demands on the real-time performance of in-vehicle networks, necessitating simultaneous network reuse and real-time transmission capabilities.
[0071] TSN technology is a deterministic standard Ethernet technology that has emerged in recent years. TSN is a family of protocols defined by the IEEE 802.1 working group, operating at Layer 2 of the OSI (Open System Interconnection) model as a deterministic transmission technology. TSN technology is also widely used in audio / video, vehicular networks, and industrial networks. Vehicular TSN is defined as the next-generation vehicular local area network technology. TSN's collinear transmission and real-time transmission characteristics can well meet the development needs of vehicular networks. Furthermore, TSN is a standard Ethernet technology, possessing natural compatibility with standard Ethernet technologies and good compatibility with data centers, edge technologies, and 5G technologies, thereby enabling the rapid development of vehicular services.
[0072] Although in-vehicle TSN is defined as the next-generation in-vehicle local area network technology, its implementation in the automotive field still faces several application challenges, such as TSN network planning and scheduling, and seamless replacement of in-vehicle networks. TSN networks achieve deterministic transmission of service traffic by reserving bandwidth and resources; therefore, mapping service traffic to forwarding strategies is a prerequisite for achieving deterministic traffic transmission. Furthermore, in-vehicle traffic service systems are complex, comprising multiple modules such as a hardware abstraction layer, application software, and a real-time operating system. The application software varies in form and standard, making it impossible to manually collect service traffic characteristics and transmission quality requirements to meet the evolving needs of new automotive services.
[0073] Traditional vehicular networks employ system middleware and services to provide basic system services for upper-layer applications, such as distributed communication services. Representative distributed communication middleware technologies include DDS and SOMEIP (Scalable service-oriented middleware over IP). DDS, with its publish / subscribe architecture, emphasizes data-centricity and provides rich QoS policies, ensuring real-time, efficient, and flexible data distribution to meet the needs of various distributed real-time communication applications. While application-layer protocols like DDS and SOMEIP guarantee reliable traffic transmission through defined QoS mechanisms, they cannot achieve absolute determinism in service delivery. According to the OSI model, DDS and SOMEIP operate at different network layers than TSN. Both provide QoS guarantees: DDS provides application-layer QoS guarantees, while TSN provides forwarding-layer QoS guarantees. The integration of DDS and SOMEIP with TSN technologies can achieve deterministic traffic transmission and enrich the application ecosystem of DDS and SOMEIP. To achieve deterministic transmission throughout the entire process from application / service to forwarding, joint scheduling of DDS and TSN is required, such as priority mapping and time slot planning.
[0074] Therefore, achieving joint scheduling of DDS and TSN involves QoS standardization mapping, which relies on the development of industry standards. The development of industry standards also involves adapting and modifying application systems, and establishing industry standards and a system ecosystem.
[0075] In related technologies, promoting the industrialization of TSN technology in the automotive service field specifically includes two aspects: the TSN control plane and the TSN forwarding plane. The TSN forwarding plane includes promoting the development of TSN forwarding protocols and standards, and the research and development of commercial TSN switches and TSN terminal equipment. The TSN control plane includes the development of the IEEE 802.1Qcc TSN controller standard and the research and development of TSN controller products. In the TSN control field, the industry currently widely adopts the 802.1Qcc fully centralized configuration model. This model achieves TSN service planning and scheduling through centralized configuration management, including the CUC (Centralized User Configuration) module and the CNC (Centralized Network Configuration) module. The CUC realizes user demand awareness. Current TSN controllers support centralized static configuration management. Users complete the collection of service traffic characteristics and complete the configuration and distribution of service traffic through the CUC centralized user management module. In vehicular network services, traffic is abundant and difficult to collect quantitatively. It is challenging to analyze all traffic through manual collection. Furthermore, application layer protocols such as DDS and SOMEIP require standard mapping, involving modifications to the existing system ecosystem. Clearly, these complexities severely restrict the application of TSN technology in vehicular services.
[0076] To overcome the above-mentioned shortcomings, this invention provides a method and system for determining the traffic configuration of a vehicle-mounted time-sensitive network. The following is a detailed explanation... Figures 1-9 This invention describes the method and system for determining the traffic configuration of a vehicle-mounted time-sensitive network.
[0077] Figure 1 This is one of the flowcharts illustrating the method for determining the traffic configuration of a vehicle-mounted time-sensitive network provided by the present invention. The method is applied to a Service-Oriented Architecture (SOA) middleware, which has control plane ports and forwarding plane ports, such as... Figure 1 As shown, the method includes:
[0078] Step 100: Obtain vehicle service traffic data through the forwarding plane port;
[0079] Step 110: Determine service traffic parameter data based on the vehicle service traffic data;
[0080] Step 120: The service traffic parameter data is sent to the Time-Sensitive Network (TSN) controller through the control plane port, so that the TSN controller can determine the traffic configuration parameters based on the service traffic parameter data.
[0081] Specifically, to overcome the shortcomings of existing technologies in ensuring deterministic transmission of vehicle-mounted time-sensitive network traffic without altering industry standards and vehicle-mounted equipment systems, this invention uses SOA middleware to determine service traffic parameter data based on vehicle service traffic data acquired from forwarding plane ports. This enables adaptive perception of vehicle-mounted TSN service traffic, and the service traffic parameter data is then sent to the TSN controller via the control plane port. The TSN controller determines traffic configuration parameters based on the service traffic parameter data. This not only achieves automated acquisition of vehicle-mounted TSN service traffic characteristics but also determines traffic configuration parameters without changing existing TSN service industry standards and the support capabilities of vehicle-mounted equipment, thus enabling deterministic transmission of vehicle-mounted TSN service traffic.
[0082] Optionally, the SOA middleware can first obtain vehicle service traffic data through the forwarding plane port, and then perform statistical analysis on the obtained vehicle service traffic data to determine the service traffic parameter data.
[0083] Optionally, the service traffic parameter data may include any one or more of the following:
[0084] The parameters include the source port of the traffic, the destination port of the traffic, the period of the traffic, the packet size of the traffic, the maximum latency of the traffic, and the jitter requirements.
[0085] Understandably, after the SOA middleware obtains the vehicle service traffic data, it can perform statistical analysis on the obtained vehicle service traffic data to determine the service traffic parameter data. The service traffic parameter data includes, but is not limited to, the source port of the traffic, the destination port of the traffic, the period of the traffic, the packet size of the traffic, the maximum latency of the traffic, and jitter requirements.
[0086] Optionally, SOA middleware can determine the source port and destination port of traffic by parsing the MAC address and IP address information in the vehicle service traffic data packets.
[0087] Optionally, SOA middleware can determine the traffic period by parsing the sending and receiving times of in-vehicle service traffic data packets.
[0088] Optionally, SOA middleware can obtain the packet size of traffic by parsing the packet size of in-vehicle service traffic data.
[0089] Optionally, the SOA middleware has a built-in device type and latency association table, and the maximum latency and jitter requirements for traffic can be determined based on the type of sending and receiving devices.
[0090] Optionally, the SOA middleware can send service traffic parameter data to the TSN controller through the control port. The TSN controller then plans and schedules the traffic based on the service traffic parameter data to generate traffic configuration parameters.
[0091] Optionally, SOA middleware can use Socket communication to send REST messages to the TSN controller to distribute business traffic parameter data.
[0092] Optionally, after the TSN controller determines the traffic configuration parameters, the TSN controller can send the traffic configuration parameters to the TSN switch and the vehicle equipment, so that the TSN switch and the vehicle equipment can perform traffic scheduling based on the traffic configuration parameters.
[0093] Optionally, in this embodiment of the invention, the traffic configuration parameters may include a QBV gating configuration flow table and end-device configuration parameters. After the TSN controller determines the traffic configuration parameters, it can send the QBV gating configuration flow table from the traffic configuration parameters to the TSN switch and send the end-device configuration parameters to the vehicle-mounted equipment to achieve traffic scheduling.
[0094] Understandably, service traffic parameter data can characterize the service traffic requirements of the vehicle system. The TSN controller will plan the traffic transmission configuration for the vehicle equipment based on the service traffic parameter data to meet the service traffic requirements of the vehicle network, such as network service traffic latency, bandwidth, and stability.
[0095] It is understood that, in this embodiment of the invention, the SOA middleware is connected to the TSN forwarding plane as a component of the TSN controller. The SOA middleware can automatically obtain vehicle service traffic data and determine service traffic parameter data, and send the service traffic parameter data to the TSN controller to realize interaction with the TSN controller. The TSN controller generates traffic configuration parameters based on the service traffic parameter data and sends the traffic configuration parameters to the TSN switch and vehicle equipment to realize traffic scheduling.
[0096] The method for determining vehicle-mounted time-sensitive network (TSN) traffic configuration provided by this invention determines service traffic parameter data based on vehicle service traffic data obtained from the forwarding plane port using SOA middleware, thereby achieving adaptive perception of vehicle-mounted TSN service traffic. The service traffic parameter data is then sent to the TSN controller through the control plane port, whereby the TSN controller determines the traffic configuration parameters based on the service traffic parameter data. This not only achieves automated acquisition of vehicle-mounted TSN service traffic characteristics but also determines the traffic configuration parameters without altering existing TSN service industry standards or the support capabilities of vehicle-mounted equipment, thus realizing deterministic transmission of vehicle-mounted TSN service traffic.
[0097] Optionally, determining the service traffic parameter data based on the vehicle service traffic data includes:
[0098] The first information is obtained from the TSN controller through the control plane port;
[0099] Based on the first information and the vehicle service traffic data, the service traffic parameter data is determined;
[0100] The first information includes any one or more of the following:
[0101] Global network topology information, vehicle device type, and vehicle device port MAC (Media Access Control) address.
[0102] Specifically, the SOA middleware can obtain first information from the TSN controller and determine service traffic parameter data based on the first information and the obtained vehicle service traffic data. The first information obtained from the TSN controller may include, but is not limited to, global network topology information, vehicle device type, and vehicle device port MAC address.
[0103] Optionally, the SOA middleware can obtain initial information by sending a REST message to the TSN controller via Socket communication.
[0104] Optionally, the SOA middleware can determine the source port and destination port of the traffic by parsing the MAC address and IP address information in the vehicle service traffic data packets and combining it with the first information obtained from the TSN controller.
[0105] Understandably, the TSN controller possesses global network topology information, vehicle device types, and vehicle device ports. The TSN controller configures port traffic mirroring at the port level, enabling all incoming traffic from that port to be routed to the SOA middleware. The SOA middleware collects all service traffic data and analyzes its characteristics, while the TSN controller restores the traffic mirroring.
[0106] This invention obtains first information from the TSN controller through SOA middleware, and based on this first information and vehicle service traffic data, it can more accurately determine more comprehensive service traffic parameter data.
[0107] Optionally, the SOA middleware is deployed in an in-vehicle computing platform;
[0108] The step of obtaining vehicle service traffic data through the forwarding plane port includes:
[0109] By monitoring the vehicle computing platform through the forwarding plane port, the vehicle computing traffic received and sent by the vehicle computing platform can be determined.
[0110] The vehicle service traffic data is determined based on the vehicle computing traffic received and sent by the vehicle computing platform.
[0111] Optionally, the SOA middleware is connected to a Time-Sensitive Network (TSN) switch via the forwarding plane port;
[0112] The step of obtaining vehicle service traffic data through the forwarding plane port includes:
[0113] The forwarding plane port receives port mirroring data sent by the mirroring port on the TSN switch and uses the port mirroring data as the vehicle service traffic data.
[0114] The mirrored port on the TSN switch is configured by the TSN controller.
[0115] Optionally, SOA middleware can obtain in-vehicle service traffic data in the following two ways:
[0116] Method 1: Deploy SOA middleware in the vehicle computing platform. The SOA middleware acts as a listening component, listening to the vehicle computing platform through the forwarding plane port to determine the vehicle computing traffic received and sent by the vehicle computing platform. Then, based on the vehicle computing traffic received and sent by the vehicle computing platform, determine the vehicle service traffic data.
[0117] Method 2: Connect the SOA middleware to the TSN switch through the forwarding plane port. The TSN controller issues the port mirroring configuration for vehicle service traffic to the TSN switch. The TSN switch replicates the vehicle service traffic of each port to the PLC (Programmable Logic Controller) component where the SOA middleware is located through the mirroring port, thus completing the diversion of all vehicle service traffic to the SOA middleware, thereby realizing the acquisition of vehicle service traffic data through the forwarding plane port.
[0118] It is understandable that SOA middleware can be deployed in the vehicle computing unit, using two independent network interface cards (NICs) to achieve vehicle service traffic awareness on the forwarding plane and complete the interaction between the control plane and the TSN controller. In this embodiment of the invention, by deploying the SOA middleware on the vehicle computing platform or connecting it to the TSN switch, the SOA middleware can obtain vehicle service traffic data from the TSN forwarding plane, achieving adaptive awareness of vehicle TSN service traffic. This not only improves the flexibility of SOA middleware deployment but also enhances the flexibility of vehicle service traffic data acquisition.
[0119] Figure 2 This is a second flowchart illustrating the method for determining the traffic configuration of an in-vehicle Time-Sensitive Network (TSN) provided by the present invention. The method is applied to a TSN controller, such as... Figure 2 As shown, the method includes:
[0120] Step 200: Receive service traffic parameter data sent by the Service-Oriented Architecture (SOA) middleware through the control plane port;
[0121] Step 210: Determine traffic configuration parameters based on the service traffic parameter data;
[0122] The service traffic parameter data is determined by the SOA middleware based on the vehicle service traffic data, which is obtained by the SOA middleware through the forwarding plane port. Both the control plane port and the forwarding plane port are set on the SOA middleware.
[0123] Specifically, in this embodiment of the invention, in order to overcome the shortcomings of existing technologies in ensuring deterministic transmission of vehicle-mounted time-sensitive network traffic without changing industry standards and vehicle-mounted equipment systems, the present invention first determines service traffic parameter data based on vehicle service traffic data obtained from the forwarding plane port through SOA middleware, thereby completing adaptive perception of vehicle-mounted TSN service traffic. Then, the service traffic parameter data is sent to the TSN controller through the control plane port. The TSN controller can receive the service traffic parameter data sent by SOA middleware and determine the traffic configuration parameters based on the service traffic parameter data. This not only realizes the automated acquisition of vehicle-mounted TSN service traffic characteristics, but also determines the traffic configuration parameters without changing the existing TSN service industry standards and the support capabilities of vehicle-mounted equipment, thus achieving deterministic transmission of vehicle-mounted TSN service traffic.
[0124] Understandably, after the SOA middleware obtains the vehicle service traffic data, it can perform statistical analysis on the obtained vehicle service traffic data to determine the service traffic parameter data. The service traffic parameter data includes, but is not limited to, the source port of the traffic, the destination port of the traffic, the period of the traffic, the packet size of the traffic, the maximum latency of the traffic, and jitter requirements.
[0125] Optionally, SOA middleware can determine the source port and destination port of traffic by parsing the MAC address and IP address information in the vehicle service traffic data packets.
[0126] Optionally, SOA middleware can determine the traffic period by parsing the sending and receiving times of in-vehicle service traffic data packets.
[0127] Optionally, SOA middleware can obtain the packet size of traffic by parsing the packet size of in-vehicle service traffic data.
[0128] Optionally, the SOA middleware has a built-in device type and latency association table, and the maximum latency and jitter requirements for traffic can be determined based on the type of sending and receiving devices.
[0129] Optionally, the SOA middleware can send service traffic parameter data to the TSN controller via Socket communication by sending REST messages. Alternatively, the SOA middleware can send service traffic parameter data to the TSN controller via a control port. After receiving the service traffic parameter data, the TSN controller performs planning and scheduling based on the service traffic parameter data and generates traffic configuration parameters to achieve deterministic transmission of in-vehicle TSN service traffic.
[0130] Optionally, SOA middleware can use Socket communication to send REST messages to the TSN controller to distribute business traffic parameter data.
[0131] The method for determining vehicle-mounted time-sensitive network (TSN) traffic configuration provided by this invention determines service traffic parameter data based on vehicle service traffic data obtained from the forwarding plane port using SOA middleware, thereby achieving adaptive perception of vehicle-mounted TSN service traffic. The determined service traffic parameter data is then sent to the TSN controller through the control plane port, whereby the TSN controller determines the traffic configuration parameters based on the service traffic parameter data. This not only achieves automated acquisition of vehicle-mounted TSN service traffic characteristics but also determines the traffic configuration parameters without altering existing TSN service industry standards or the support capabilities of vehicle-mounted equipment, thus realizing deterministic transmission of vehicle-mounted TSN service traffic.
[0132] Optionally, determining the traffic configuration parameters based on the service traffic parameter data includes:
[0133] Determine the global network topology, bandwidth resources, and current traffic configuration information;
[0134] Based on the service traffic parameter data, the global topology bandwidth resources, and the current traffic configuration information, the traffic configuration parameters are determined.
[0135] Specifically, the TSN controller can determine the global network topology bandwidth resources and the current traffic configuration information, and then combine the service traffic parameter data sent by the SOA middleware with the global network topology bandwidth resources and the current traffic configuration information to determine the traffic configuration parameters.
[0136] Understandably, the TSN controller can complete the unified planning and scheduling configuration of the vehicle TSN network based on service traffic parameter data, vehicle global network topology bandwidth resources, and current traffic configuration information, and complete the conversion from service model to forwarding strategy, thereby achieving deterministic transmission of TSN service traffic. Among them, SOA middleware, as a functional component of the TSN controller, realizes the perception and configuration of vehicle service traffic.
[0137] Optionally, the method further includes:
[0138] The traffic configuration parameters are distributed to the Time-Sensitive Network (TSN) switch and the vehicle-mounted device, so that the TSN switch and the vehicle-mounted device can perform traffic scheduling based on the traffic configuration parameters.
[0139] Specifically, after the TSN controller determines the traffic configuration parameters, the TSN controller can send the traffic configuration parameters to the TSN switch and the vehicle equipment, so that the TSN switch and the vehicle equipment can perform traffic scheduling based on the traffic configuration parameters.
[0140] Optionally, in this embodiment of the invention, the traffic configuration parameters may include a QBV gating configuration flow table and end-device configuration parameters. After the TSN controller determines the traffic configuration parameters, it can send the QBV gating configuration flow table from the traffic configuration parameters to the TSN switch and send the end-device configuration parameters to the vehicle-mounted equipment to achieve traffic scheduling.
[0141] Understandably, service traffic parameter data can characterize the service traffic requirements of the vehicle system. The TSN controller will plan the traffic transmission configuration for the vehicle equipment based on the service traffic parameter data to meet the service traffic requirements of the vehicle network, such as network service traffic latency, bandwidth, and stability.
[0142] It is understood that, in this embodiment of the invention, the SOA middleware is connected to the TSN forwarding plane as a component of the TSN controller. The SOA middleware can automatically obtain vehicle service traffic data and determine service traffic parameter data, and send the service traffic parameter data to the TSN controller to realize interaction with the TSN controller. The TSN controller generates traffic configuration parameters based on the service traffic parameter data and sends the traffic configuration parameters to the TSN switch and vehicle equipment to realize traffic scheduling.
[0143] Figure 3 This is the third flowchart illustrating the method for determining the configuration of time-sensitive network traffic in vehicles provided by this invention. Figure 3 As shown, the method includes:
[0144] Step 300: Deploy SOA middleware, which includes control plane ports and forwarding plane ports. The control plane ports are interconnected with the TSN controller, and the forwarding plane ports are connected to the TSN switch.
[0145] Step 310: The SOA middleware collects forwarding plane service traffic data through the forwarding plane port, parses the service traffic parameter data inside the SOA component, and sends it to the TSN controller through the control plane port to trigger the TSN controller to plan and schedule.
[0146] Step 320: The TSN controller plans and schedules traffic based on the service traffic parameter data, generates traffic configuration parameters, and sends the traffic configuration parameters to the TSN switch to realize traffic scheduling.
[0147] It should be noted that SOA middleware can be deployed in vehicle computing units or independent PLC terminal devices, including control plane network and forwarding plane network. The control plane network is interconnected with the TSN controller to realize the acquisition of global parameters of the TSN controller and the configuration of traffic service parameter data; the forwarding plane network is connected to the TSN switch to acquire and analyze service traffic and generate service traffic parameter data.
[0148] Figure 4 This is the fourth flowchart illustrating the method for determining the vehicular time-sensitive network traffic configuration provided by the present invention, as shown below. Figure 4 As shown, the method includes:
[0149] Step 400: Deploy the system, including the TSN controller, TSN switches, end devices, and SOA middleware. The control plane ports of the SOA middleware are interconnected with the TSN controller, and the forwarding plane ports of the SOA middleware are interconnected with the forwarding ports of the TSN switches.
[0150] Optionally, deploying SOA middleware includes deploying SOA middleware software modules and hardware modules. The hardware modules are the actual carriers for software operation. The software modules interact with the TSN controller through the control plane ports of the hardware modules to obtain information such as global network topology, device type, and ports. The software modules obtain forwarding plane service traffic data through the forwarding plane ports of the hardware modules, and obtain information such as packet source MAC, destination MAC, IP, and period through packet parsing and analysis. The software modules combine the global network topology, device type, and port information obtained from the control plane ports to perform traffic analysis and generate service traffic parameter data.
[0151] Step 410: The TSN controller maintains global network topology information, including all TSN switches, end devices, and SOA middleware; the TSN controller distributes port mirroring configurations at the port level to redirect all service traffic to the SOA middleware.
[0152] Step 420: The SOA middleware obtains global topology, device type, port, IP and MAC information from the TSN controller and completes local data maintenance.
[0153] Step 430: The SOA middleware obtains all traffic data through the forwarding plane port and combines it with the global topology, device type, port, IP and MAC information obtained in step 420 to complete the traffic feature analysis and determine the business traffic parameter data, including traffic source port, traffic destination port, traffic period and traffic packet size, etc. In addition, the maximum latency and jitter requirements of the traffic are determined according to the device type.
[0154] Step 440: The SOA middleware sends traffic configuration (service traffic parameter data) to the TSN controller through the control plane port, and triggers the TSN controller to perform global planning and scheduling to determine the TSN forwarding strategy.
[0155] Step 450: The TSN controller completes the restoration of the traffic configuration in step 410, restoring the original traffic transmission.
[0156] Optionally, when the SOA middleware re-analyzes traffic characteristics, the TSN controller receives the service traffic parameter data sent by the SOA middleware, performs secondary global planning and scheduling, deletes all data from the previous planning and scheduling when issuing forwarding policies, and restores the initial traffic configuration.
[0157] Understandably, the TSN controller can configure and restore traffic redirection from business processes to the SOA middleware.
[0158] Step 460: The TSN controller completes the planning and scheduling of the traffic issued in step 440, and issues the TSN forwarding policy to the TSN switch to achieve deterministic transmission of TSN traffic.
[0159] The TSN controller calculates based on the global topology bandwidth resources and existing global traffic configuration in the system, completes the conversion from service model to forwarding policy, generates QBV gating configuration flow table and sends it to the TSN switch, thereby realizing traffic scheduling.
[0160] It should be noted that the above process is a single configuration process. The traffic change operation process is similar to the above. When the TSN controller updates the QBV gating, it will delete the previous gating configuration.
[0161] The method for determining vehicle-mounted time-sensitive network (TSN) traffic configuration provided by this invention determines service traffic parameter data based on vehicle service traffic data obtained from the forwarding plane port using SOA middleware, thereby achieving adaptive perception of vehicle-mounted TSN service traffic. The service traffic parameter data is then sent to the TSN controller through the control plane port, whereby the TSN controller determines the traffic configuration parameters based on the service traffic parameter data. This not only achieves automated acquisition of vehicle-mounted TSN service traffic characteristics but also determines the traffic configuration parameters without altering existing TSN service industry standards or the support capabilities of vehicle-mounted equipment, thus realizing deterministic transmission of vehicle-mounted TSN service traffic.
[0162] Figure 5 This is a schematic diagram of the system for determining the configuration of vehicle-mounted time-sensitive network traffic provided by the present invention, as shown below. Figure 5 As shown, it includes: a Service-Oriented Architecture (SOA) middleware and a Time-Sensitive Network (TSN) controller, wherein the SOA middleware is equipped with control plane ports and forwarding plane ports;
[0163] The SOA middleware is used to obtain vehicle service traffic data through the forwarding plane port, determine service traffic parameter data based on the vehicle service traffic data, and send the service traffic parameter data to the TSN controller through the control plane port.
[0164] The TSN controller is used to receive the service traffic parameter data and determine the traffic configuration parameters based on the service traffic parameter data.
[0165] Specifically, the system for determining the vehicular time-sensitive network traffic configuration provided in this embodiment of the invention may include an SOA middleware and a TSN controller, wherein the SOA middleware is provided with a control plane port and a forwarding plane port. The SOA middleware can obtain vehicular service traffic data through the forwarding plane port, and determine service traffic parameter data based on the obtained vehicular service traffic data. It further sends the determined service traffic parameter data to the TSN controller through the control plane port. The TSN controller receives the service traffic parameter data and determines traffic configuration parameters based on the service traffic parameter data, thereby realizing deterministic transmission of vehicular TSN service traffic.
[0166] Optionally, in embodiments of the present invention, such as Figure 5 As shown, the TSN controller includes a centralized user configuration (CUC) module and a centralized network configuration (CNC) module. The CUC module can be used for interaction between the TSN controller and the SOA middleware, and can realize functions such as service traffic routing configuration and recovery. The CNC module can be used to generate traffic configuration parameters based on service traffic parameter data, and send the traffic configuration parameters to the vehicle equipment and TSN switch to realize traffic scheduling.
[0167] Optionally, the SOA middleware can send business traffic parameter data to the REST API (Application Programming Interface) of the CUC module to trigger the TSN controller to perform global planning and scheduling.
[0168] Optionally, the CNC module can configure and restore traffic mirroring at the port level.
[0169] Understandably, the TSN controller enables fully centralized management of Time-Sensitive Networks (TSNs). Based on global topology bandwidth resources and existing global traffic configurations, and in conjunction with service traffic parameter data sent by the SOA middleware, the TSN controller calculates and generates TSN forwarding plane transmission policies, which are then distributed to the TSN switches via the NETCONF protocol. The TSN controller employs a fully centralized configuration model based on the 802.1Qcc protocol, including a CUC module and a CNC module. The CUC module provides user information awareness and input, including a visual front-end interface and interaction with the SOA middleware. The CNC module is the core module of the TSN controller, including functions such as network topology maintenance, traffic configuration management, global planning and scheduling, and southbound configuration distribution. The TSN controller performs global scheduling based on topology and traffic and distributes forwarding policies, thereby ensuring real-time traffic transmission on the control plane.
[0170] Optionally, such as Figure 5As shown, the vehicle-mounted time-sensitive network traffic configuration determination system provided in this embodiment of the invention also includes a TSN switch. The TSN switch can be used as a forwarding device for vehicle-mounted service network traffic, providing a TSN deterministic forwarding mechanism, and accepting unified configuration management from the TSN controller. The SOA middleware is connected to the forwarding port of the TSN switch, thereby realizing the awareness of service traffic.
[0171] Optionally, the vehicle-mounted time-sensitive network traffic configuration determination system provided in this embodiment of the invention may further include a vehicle-mounted signal acquisition terminal device and a vehicle-mounted computing unit, wherein the vehicle-mounted signal acquisition terminal device is used to collect vehicle-mounted service traffic data, and the vehicle-mounted computing unit is used to obtain vehicle-mounted service traffic data from the vehicle-mounted signal acquisition terminal device to complete vehicle-mounted computing requirements.
[0172] Optionally, SOA middleware can be deployed in the vehicle computing unit, using two independent network interface cards (NICs) in the vehicle computing unit to achieve forwarding plane vehicle service traffic awareness and complete the interaction between the control plane and the TSN controller.
[0173] The system for determining the traffic configuration of vehicular time-sensitive networks (TSNs) provided by this invention determines service traffic parameter data based on vehicular service traffic data obtained from forwarding plane ports through SOA middleware, thereby achieving adaptive perception of vehicular TSN service traffic. The service traffic parameter data is then sent to the TSN controller through the control plane port, and the TSN controller determines the traffic configuration parameters based on the service traffic parameter data. This not only realizes the automated acquisition of vehicular TSN service traffic characteristics, but also determines the traffic configuration parameters without changing the existing TSN service industry standards and the support capabilities of vehicular terminal equipment, thus achieving deterministic transmission of vehicular TSN service traffic.
[0174] Optionally, the SOA middleware is also used for:
[0175] Obtain first information from the TSN controller;
[0176] Based on the first information and the vehicle service traffic data, the service traffic parameter data is determined;
[0177] The first information includes any one or more of the following:
[0178] Global network topology information, vehicle device type, and vehicle device port MAC address.
[0179] Specifically, the SOA middleware can obtain first information from the TSN controller and determine service traffic parameter data based on the first information and the obtained vehicle service traffic data. The first information obtained from the TSN controller may include, but is not limited to, global network topology information, vehicle device type, and vehicle device port MAC address.
[0180] Optionally, the SOA middleware can obtain initial information by sending a REST message to the TSN controller via Socket communication.
[0181] Optionally, the SOA middleware can determine the source port and destination port of the traffic by parsing the MAC address and IP address information in the vehicle service traffic data packets and combining it with the first information obtained from the TSN controller.
[0182] Understandably, the TSN controller possesses global network topology information, vehicle device types, and vehicle device ports. The TSN controller configures port traffic mirroring at the port level, enabling all incoming traffic from that port to be routed to the SOA middleware. The SOA middleware collects all service traffic data and analyzes its characteristics, while the TSN controller restores the traffic mirroring.
[0183] Figure 6 This is a schematic diagram of the SOA middleware device provided by the present invention, as shown below. Figure 6 As shown, the device includes: a global information acquisition and storage unit 610, a traffic monitoring and acquisition unit 620, and a traffic feature configuration unit 630; wherein:
[0184] The global information acquisition and storage unit 610 is used to acquire global information in the TSN controller through the REST API interface and realize local storage;
[0185] The traffic monitoring and acquisition unit 620 is used to perform traffic parsing and analysis of the forwarding plane network interface card to determine service traffic parameter data;
[0186] The traffic feature configuration unit 630 is used to configure business traffic feature data through the REST API interface, trigger the TSN controller to perform global planning and scheduling, and complete the distribution of forwarding plane policies.
[0187] It should be noted that SOA middleware can be deployed in vehicle computing units or independent PLC terminal devices, including control plane network and forwarding plane network. The control plane network is interconnected with the TSN controller to realize the acquisition of global parameters of the TSN controller and the configuration of traffic service parameter data; the forwarding plane network accesses the TSN switch to acquire and analyze service traffic and generate service traffic parameter data.
[0188] This invention obtains first information from the TSN controller through SOA middleware, and based on this first information and vehicle service traffic data, it can more accurately determine more comprehensive service traffic parameter data.
[0189] Optionally, the TSN controller is further configured to:
[0190] Determine the global network topology, bandwidth resources, and current traffic configuration information;
[0191] Based on the service traffic parameter data, the global topology bandwidth resources, and the current traffic configuration information, the traffic configuration parameters are determined.
[0192] Specifically, the TSN controller can determine the global network topology bandwidth resources and the current traffic configuration information, and then combine the service traffic parameter data sent by the SOA middleware with the global network topology bandwidth resources and the current traffic configuration information to determine the traffic configuration parameters.
[0193] Understandably, the TSN controller can complete the unified planning and scheduling configuration of the vehicle TSN network based on service traffic parameter data, vehicle global network topology bandwidth resources, and current traffic configuration information, and complete the conversion from service model to forwarding strategy, thereby achieving deterministic transmission of TSN service traffic. Among them, SOA middleware, as a functional component of the TSN controller, realizes the perception and configuration of vehicle service traffic.
[0194] Understandably, the TSN controller possesses global network topology information, vehicle device types, and vehicle device ports. The TSN controller configures port traffic mirroring at the port level, enabling all incoming traffic from that port to be routed to the SOA middleware. The SOA middleware collects all service traffic data and analyzes its characteristics, while the TSN controller restores the traffic mirroring.
[0195] It is understood that the vehicle-mounted time-sensitive network traffic configuration determination system provided in this embodiment of the invention can realize flexible deployment, automated and rapid activation, flexible configuration management, and plug-and-play functionality of vehicle-mounted TSN network services, and has a broad application base.
[0196] The system for determining the traffic configuration of vehicular time-sensitive networks (TSNs) provided by this invention determines service traffic parameter data based on vehicular service traffic data obtained from forwarding plane ports through SOA middleware, thereby achieving adaptive perception of vehicular TSN service traffic. The service traffic parameter data is then sent to the TSN controller through the control plane port, and the TSN controller determines the traffic configuration parameters based on the service traffic parameter data. This not only realizes the automated acquisition of vehicular TSN service traffic characteristics, but also determines the traffic configuration parameters without changing the existing TSN service industry standards and the support capabilities of vehicular terminal equipment, thus achieving deterministic transmission of vehicular TSN service traffic.
[0197] The following describes the apparatus for determining the vehicular time-sensitive network traffic configuration provided by the present invention. The apparatus for determining the vehicular time-sensitive network traffic configuration described below and the method for determining the vehicular time-sensitive network traffic configuration described above can be referred to in correspondence.
[0198] Figure 7 This is one of the structural schematic diagrams of the device for determining the traffic configuration of a vehicle-mounted time-sensitive network provided by the present invention. This device is applied to a service-oriented architecture (SOA) middleware, which has control plane ports and forwarding plane ports, such as... Figure 7 As shown, the device includes: an acquisition module 710, a first determination module 720, and a transmission module 730; wherein:
[0199] The acquisition module 710 is used to acquire vehicle service traffic data through the forwarding plane port;
[0200] The first determining module 720 is used to determine service traffic parameter data based on the vehicle service traffic data;
[0201] The sending module 730 is used to send the service traffic parameter data to the Time Sensitive Network (TSN) controller through the control plane port, so that the TSN controller can determine the traffic configuration parameters based on the service traffic parameter data.
[0202] The device for determining the configuration of vehicle-mounted time-sensitive network traffic provided by this invention determines service traffic parameter data based on vehicle service traffic data obtained from the forwarding plane port through SOA middleware, thereby completing the adaptive perception of vehicle-mounted TSN service traffic. Then, the service traffic parameter data is sent to the TSN controller through the control plane port, and the TSN controller determines the traffic configuration parameters based on the service traffic parameter data. This not only realizes the automated acquisition of vehicle-mounted TSN service traffic characteristics, but also determines the traffic configuration parameters without changing the existing TSN service industry standards and the support capabilities of vehicle-mounted equipment, thus achieving deterministic transmission of vehicle-mounted TSN service traffic.
[0203] Optionally, the first determining module is further configured to:
[0204] The first information is obtained from the TSN controller through the control plane port;
[0205] Based on the first information and the vehicle service traffic data, the service traffic parameter data is determined;
[0206] The first information includes any one or more of the following:
[0207] Global network topology information, vehicle device type, and vehicle device port MAC address.
[0208] Optionally, the SOA middleware is deployed in an in-vehicle computing platform;
[0209] The acquisition module is also used for:
[0210] By monitoring the vehicle computing platform through the forwarding plane port, the vehicle computing traffic received and sent by the vehicle computing platform can be determined.
[0211] The vehicle service traffic data is determined based on the vehicle computing traffic received and sent by the vehicle computing platform.
[0212] Optionally, the SOA middleware is connected to a Time-Sensitive Network (TSN) switch via the forwarding plane port;
[0213] The acquisition module is also used for:
[0214] The forwarding plane port receives port mirroring data sent by the mirroring port on the TSN switch and uses the port mirroring data as the vehicle service traffic data.
[0215] The mirrored port on the TSN switch is configured by the TSN controller.
[0216] Optionally, the service traffic parameter data includes any one or more of the following:
[0217] The parameters include the source port of the traffic, the destination port of the traffic, the period of the traffic, the packet size of the traffic, the maximum latency of the traffic, and the jitter requirements.
[0218] The device for determining the configuration of vehicle-mounted time-sensitive network traffic provided by this invention determines service traffic parameter data based on vehicle service traffic data obtained from the forwarding plane port through SOA middleware, thereby completing the adaptive perception of vehicle-mounted TSN service traffic. Then, the service traffic parameter data is sent to the TSN controller through the control plane port, and the TSN controller determines the traffic configuration parameters based on the service traffic parameter data. This not only realizes the automated acquisition of vehicle-mounted TSN service traffic characteristics, but also determines the traffic configuration parameters without changing the existing TSN service industry standards and the support capabilities of vehicle-mounted equipment, thus achieving deterministic transmission of vehicle-mounted TSN service traffic.
[0219] Figure 8 This is the second schematic diagram of the device for determining the traffic configuration of an in-vehicle Time-Sensitive Network (TSN) provided by the present invention. This device is applied to a Time-Sensitive Network (TSN) controller, such as... Figure 8 As shown, the device includes: a receiving module 810 and a second determining module 820; wherein:
[0220] The receiving module 810 is used to receive service traffic parameter data sent by the service-oriented architecture (SOA) middleware through the control plane port;
[0221] The second determining module 820 is used to determine traffic configuration parameters based on the service traffic parameter data;
[0222] The service traffic parameter data is determined by the SOA middleware based on the vehicle service traffic data, which is obtained by the SOA middleware through the forwarding plane port. Both the control plane port and the forwarding plane port are set on the SOA middleware.
[0223] The device for determining the traffic configuration of vehicular time-sensitive networks (TSNs) provided by this invention determines the traffic parameters based on the vehicular service traffic data obtained from the forwarding plane port through SOA middleware, thereby completing the adaptive perception of vehicular TSN service traffic. Then, the determined traffic parameters are sent to the TSN controller through the control plane port, and the TSN controller determines the traffic configuration parameters based on the traffic parameters. This not only realizes the automated acquisition of the characteristics of vehicular TSN service traffic, but also determines the traffic configuration parameters without changing the existing TSN service industry standards and the support capabilities of the vehicular terminal equipment, thus achieving deterministic transmission of vehicular TSN service traffic.
[0224] Optionally, the second determining module is further configured to:
[0225] Determine the global network topology, bandwidth resources, and current traffic configuration information;
[0226] Based on the service traffic parameter data, the global topology bandwidth resources, and the current traffic configuration information, the traffic configuration parameters are determined.
[0227] Optionally, the device further includes a configuration distribution module;
[0228] The configuration distribution module is used for:
[0229] The traffic configuration parameters are distributed to the Time-Sensitive Network (TSN) switch and the vehicle-mounted device, so that the TSN switch and the vehicle-mounted device can perform traffic scheduling based on the traffic configuration parameters.
[0230] The device for determining the traffic configuration of vehicular time-sensitive networks (TSNs) provided by this invention determines the traffic parameters based on the vehicular service traffic data obtained from the forwarding plane port through SOA middleware, thereby completing the adaptive perception of vehicular TSN service traffic. Then, the determined traffic parameters are sent to the TSN controller through the control plane port, and the TSN controller determines the traffic configuration parameters based on the traffic parameters. This not only realizes the automated acquisition of the characteristics of vehicular TSN service traffic, but also determines the traffic configuration parameters without changing the existing TSN service industry standards and the support capabilities of the vehicular terminal equipment, thus achieving deterministic transmission of vehicular TSN service traffic.
[0231] It should be noted that the device for determining the vehicle-mounted time-sensitive network traffic configuration provided in this embodiment of the invention can implement all the method steps implemented in the above-described method embodiment for determining the vehicle-mounted time-sensitive network traffic configuration, and can achieve the same technical effect. Therefore, the parts and beneficial effects that are the same as those in the method embodiment will not be described in detail here.
[0232] Figure 9 This is a schematic diagram of the physical structure of the electronic device provided by the present invention, such as... Figure 9 As shown, the electronic device may include: a processor 910, a communications interface 920, a memory 930, and a communication bus 940, wherein the processor 910, the communications interface 920, and the memory 930 communicate with each other via the communication bus 940. The processor 910 can call logical instructions in the memory 930 to execute the method for determining the vehicular time-sensitive network traffic configuration provided by the above methods, which includes:
[0233] Vehicle service traffic data is obtained through the forwarding plane port;
[0234] Based on the aforementioned vehicle service traffic data, service traffic parameter data is determined;
[0235] The service traffic parameter data is sent to the Time-Sensitive Network (TSN) controller through the control plane port, so that the TSN controller can determine the traffic configuration parameters based on the service traffic parameter data.
[0236] Or include:
[0237] Receive business traffic parameter data sent by the Service-Oriented Architecture (SOA) middleware through the control plane port;
[0238] Based on the aforementioned service traffic parameter data, determine the traffic configuration parameters;
[0239] The service traffic parameter data is determined by the SOA middleware based on the vehicle service traffic data, which is obtained by the SOA middleware through the forwarding plane port. Both the control plane port and the forwarding plane port are set on the SOA middleware.
[0240] Furthermore, the logical instructions in the aforementioned memory 930 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0241] On the other hand, the present invention also provides a computer program product, the computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, wherein when the program instructions are executed by a computer, the computer is capable of executing the method for determining the vehicular time-sensitive network traffic configuration provided by the above methods, the method comprising:
[0242] Vehicle service traffic data is obtained through the forwarding plane port;
[0243] Based on the aforementioned vehicle service traffic data, service traffic parameter data is determined;
[0244] The service traffic parameter data is sent to the Time-Sensitive Network (TSN) controller through the control plane port, so that the TSN controller can determine the traffic configuration parameters based on the service traffic parameter data.
[0245] Or include:
[0246] Receive business traffic parameter data sent by the Service-Oriented Architecture (SOA) middleware through the control plane port;
[0247] Based on the aforementioned service traffic parameter data, determine the traffic configuration parameters;
[0248] The service traffic parameter data is determined by the SOA middleware based on the vehicle service traffic data, which is obtained by the SOA middleware through the forwarding plane port. Both the control plane port and the forwarding plane port are set on the SOA middleware.
[0249] In another aspect, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to perform the methods for determining the vehicular time-sensitive network traffic configuration provided above, the method comprising:
[0250] Vehicle service traffic data is obtained through the forwarding plane port;
[0251] Based on the aforementioned vehicle service traffic data, service traffic parameter data is determined;
[0252] The service traffic parameter data is sent to the Time-Sensitive Network (TSN) controller through the control plane port, so that the TSN controller can determine the traffic configuration parameters based on the service traffic parameter data.
[0253] Or include:
[0254] Receive business traffic parameter data sent by the Service-Oriented Architecture (SOA) middleware through the control plane port;
[0255] Based on the aforementioned service traffic parameter data, determine the traffic configuration parameters;
[0256] The service traffic parameter data is determined by the SOA middleware based on the vehicle service traffic data, which is obtained by the SOA middleware through the forwarding plane port. Both the control plane port and the forwarding plane port are set on the SOA middleware.
[0257] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0258] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0259] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for determining the configuration of vehicular time-sensitive network traffic, characterized in that, Applied to a Service-Oriented Architecture (SOA) middleware, wherein the SOA middleware is configured with a control plane port and a forwarding plane port, the method includes: Vehicle service traffic data is obtained through the forwarding plane port; Based on the first information and the vehicle service traffic data, service traffic parameter data is determined; the first information is obtained from the Time-Sensitive Network (TSN) controller through the control plane port. The service traffic parameter data is sent to the TSN controller through the control plane port, so that the TSN controller can determine the traffic configuration parameters based on the service traffic parameter data.
2. The method of claim 1, wherein, The first information includes any one or more of the following: Global network topology information, vehicle device type, and vehicle device port MAC address.
3. The method for determining the configuration of vehicle-mounted time-sensitive network traffic according to claim 1, characterized in that, The SOA middleware is deployed on the vehicle computing platform; The step of obtaining vehicle service traffic data through the forwarding plane port includes: By monitoring the vehicle computing platform through the forwarding plane port, the vehicle computing traffic received and sent by the vehicle computing platform can be determined. The vehicle service traffic data is determined based on the vehicle computing traffic received and sent by the vehicle computing platform.
4. The method for determining the configuration of vehicle-mounted time-sensitive network traffic according to claim 1, characterized in that, The SOA middleware is connected to the Time-Sensitive Network (TSN) switch through the forwarding plane port; The step of obtaining vehicle service traffic data through the forwarding plane port includes: The forwarding plane port receives port mirroring data sent by the mirroring port on the TSN switch and uses the port mirroring data as the vehicle service traffic data. The mirrored port on the TSN switch is configured by the TSN controller.
5. The method for determining the configuration of vehicular time-sensitive network traffic according to any one of claims 1-4, characterized in that, The service traffic parameter data includes any one or more of the following: The parameters include the source port of the traffic, the destination port of the traffic, the period of the traffic, the packet size of the traffic, the maximum latency of the traffic, and the jitter requirements.
6. A method for determining the configuration of vehicular time-sensitive network traffic, characterized in that, The method, applied to a Time-Sensitive Network (TSN) controller, includes: Receive business traffic parameter data sent by the Service-Oriented Architecture (SOA) middleware through the control plane port; Based on the aforementioned service traffic parameter data, determine the traffic configuration parameters; The service traffic parameter data is determined by the SOA middleware based on the first information and the vehicle service traffic data. The vehicle service traffic data is obtained by the SOA middleware through the forwarding plane port. Both the control plane port and the forwarding plane port are set on the SOA middleware. The first information is obtained from the TSN controller through the control plane port.
7. The method for determining the configuration of vehicular time-sensitive network traffic according to claim 6, characterized in that, The step of determining traffic configuration parameters based on the service traffic parameter data includes: Determine the global network topology, bandwidth resources, and current traffic configuration information; Based on the service traffic parameter data, the global network topology bandwidth resources, and the current traffic configuration information, the traffic configuration parameters are determined.
8. The method for determining the configuration of vehicular time-sensitive network traffic according to claim 6 or 7, characterized in that, The method further includes: The traffic configuration parameters are distributed to the Time-Sensitive Network (TSN) switch and the vehicle-mounted device, so that the TSN switch and the vehicle-mounted device can perform traffic scheduling based on the traffic configuration parameters.
9. A system for determining the configuration of vehicular time-sensitive network traffic, characterized in that, include: A service-oriented architecture (SOA) middleware and a time-sensitive network (TSN) controller, wherein the SOA middleware is equipped with control plane ports and forwarding plane ports; The SOA middleware is used to obtain vehicle service traffic data through the forwarding plane port, determine service traffic parameter data based on the first information and the vehicle service traffic data, and send the service traffic parameter data to the TSN controller through the control plane port. The first information is obtained from the TSN controller through the control plane port. The TSN controller is used to receive the service traffic parameter data and determine the traffic configuration parameters based on the service traffic parameter data.
10. The system for determining the configuration of vehicle-mounted time-sensitive network traffic according to claim 9, characterized in that, The first information includes any one or more of the following: Global network topology information, vehicle device type, and vehicle device port MAC address.
11. The system for determining the configuration of vehicular time-sensitive network traffic according to claim 9 or 10, characterized in that, The TSN controller is also used for: Determine the global network topology, bandwidth resources, and current traffic configuration information; Based on the service traffic parameter data, the global network topology bandwidth resources, and the current traffic configuration information, the traffic configuration parameters are determined.
12. A device for determining the configuration of time-sensitive network traffic in a vehicle, characterized in that, A device for use in Service-Oriented Architecture (SOA) middleware, wherein the SOA middleware is provided with control plane ports and forwarding plane ports, includes: The acquisition module is used to acquire vehicle service traffic data through the forwarding plane port; The first determining module is used to determine service traffic parameter data based on the first information and the vehicle service traffic data. The first information is obtained from the Time Sensitive Network (TSN) controller through the control plane port. The sending module is used to send the service traffic parameter data to the Time Sensitive Network (TSN) controller through the control plane port, so that the TSN controller can determine the traffic configuration parameters based on the service traffic parameter data.
13. A device for determining the configuration of vehicular time-sensitive network traffic, characterized in that, The device, applied to a Time-Sensitive Network (TSN) controller, includes: The receiving module is used to receive business traffic parameter data sent by the Service-Oriented Architecture (SOA) middleware through the control plane port; The second determining module is used to determine traffic configuration parameters based on the service traffic parameter data; The service traffic parameter data is determined by the SOA middleware based on the first information and the vehicle service traffic data. The vehicle service traffic data is obtained by the SOA middleware through the forwarding plane port. Both the control plane port and the forwarding plane port are set on the SOA middleware. The first information is obtained from the TSN controller through the control plane port.
14. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the method for determining the vehicle-mounted time-sensitive network traffic configuration as described in any one of claims 1 to 8.
15. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the method for determining the vehicle-mounted time-sensitive network traffic configuration as described in any one of claims 1 to 8.
Citation Information
Patent Citations
Time-sensitive network communication method and device based on service-oriented architecture
CN113572632A
Deployment method and system of virtual industrial equipment nodes
CN114363187A