Time-sensitive network route planning method and system for intelligent network connection vehicle

By constructing a weighted directed graph in intelligent connected vehicles and using NSGA2, improving the Dijkstra algorithm, generating the main path and redundant path routing tables, the low-latency and high-reliability communication challenges of data flow management in vehicle networks are solved, and the low-latency and high-reliability communication challenges in data flow management in vehicle networks are achieved. Efficient and reliable time-sensitive network routing planning.

CN119211889AActive Publication Date: 2024-12-27BEIJING INST OF TECH
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202411234303.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2024-12-27
Estimated Expiration
2044-09-04

AI Technical Summary

Technical Problem

The prior art lacks an effective routing planning method to realize low latency and high reliability communication of time-sensitive networks (TSNs) in the IEEE802.1CB protocol in vehicle networks, especially in managing data flow in intelligent connected vehicles. challenge.

Method used

By obtaining the domain centralized electronic and electrical architecture network topology model of intelligent connected vehicles, a weighted directed graph is constructed, the reliability probability of link paths is calculated, and the main path routing table is generated using the NSGA2 algorithm and the improved Dijkstra algorithm is used to determine redundant path routing. Table to ensure load balancing and end-to-end delay adaptability of network performance.

Benefits of technology

It realizes efficient and reliable time-sensitive network routing planning in intelligent connected vehicles, adapts to network traffic changes, ensures the timeliness and reliability of data transmission, and avoids resource waste.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119211889A_ABST
    Figure CN119211889A_ABST
Patent Text Reader

Abstract

The invention discloses a time-sensitive network routing planning method and system for an intelligent networked vehicle, and relates to the technical field of vehicle-mounted communication, and the method comprises the steps: obtaining a domain centralized electronic and electrical architecture network topology model of the intelligent networked vehicle, constructing a weighted directed graph, calculating the reliability probability of a link path based on a link evaluation model, and carrying out the routing planning of the time-sensitive network. Marking the priority of the information flow by adopting an Ethernet frame marking method; generating a main path routing table by using an NSGA2 algorithm; and determining a redundant path routing table by using an improved Dijkstra algorithm based on the weighted directed graph and the reliability probability. Based on the planning method provided by the invention, the real-time performance of communication in the vehicle and the reliability of data transmission can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle-mounted communication technology, and in particular to a time-sensitive network routing planning method and system for intelligent connected vehicles. Background Art

[0002] In the development of modern vehicles, the complexity of electronic and electrical (E / E) systems is increasing, especially for advanced driver assistance systems (ADAS) and fully autonomous driving technologies. The demand for this increased complexity continues to drive the development of domain-centralized E / E architectures, one of the important aspects of which is the real-time and accuracy of the vehicle's internal communication network. The domain-centralized architecture integrates sensors, actuators, and control units. In order to ensure the timely transmission of information and the safety and smoothness of vehicle operation, the reliance on time-sensitive networking (TSN) has become particularly important. These requirements indicate that managing data flows in vehicle networks and ensuring low-latency and high-reliability communications has become a challenge that cannot be underestimated. Among them, the real-time and accuracy of the vehicle's internal communication network have become key factors, which further strengthens the reliance on time-sensitive networking (TSN). At present, how to manage data flows in vehicle networks and ensure their low-latency and high-reliability communications has become an important challenge. Among the many standards of TSN, IEEE802.1CB is specially designed to achieve network redundant transmission. Improving data stream reliability through frame duplication and elimination mechanisms enables seamless communication with virtually no packet loss, which is critical for performance-demanding vehicle applications.

[0003] However, although the IEEE802.1CB protocol provides powerful tools, the implementation of the protocol requires appropriate routing planning. The current TSN standard does not specify the method of routing planning, and there is still a gap in the research on applying routing planning to the IEEE802.1CB protocol. Summary of the invention

[0004] The purpose of this application is to provide a high-efficiency, high-reliability time-sensitive network routing planning method and system for intelligent connected vehicles.

[0005] To achieve the above objectives, this application provides the following solutions:

[0006] In a first aspect, the present application provides a time-sensitive network routing planning method for intelligent connected vehicles, the time-sensitive network routing planning method comprising:

[0007] A domain-centralized electrical and electronic architecture network topology model of an intelligent connected vehicle is obtained; the domain-centralized electrical and electronic architecture network topology model is composed of laser radar, millimeter-wave radar, camera, domain controller and functional domain controller as nodes.

[0008] Based on the domain-centralized electrical and electronic architecture network topology model, a weighted directed graph of the intelligent connected vehicle is constructed; the weighted directed graph includes each node in the domain-centralized electrical and electronic architecture network topology model and the links between the nodes.

[0009] According to the links between the nodes in the weighted directed graph, based on the link evaluation model, the reliability probability of each link path is calculated; the link evaluation model is used to calculate the reliability probability of each link based on the average repair time of the domain controller, sensor or link.

[0010] According to the information flow in each link and the reliability probability of each link, the information flow in each link is marked with priority based on the Ethernet frame marking method of the virtual local area network; the Ethernet frame marking method of the virtual local area network is marked based on the IEEE802.1Q standard.

[0011] Based on the information flow in each link after priority marking, the NSGA2 algorithm is used to generate a main path routing table; the main path routing table is used to provide routing selection with optimal load balancing and end-to-end delay adaptability balance based on specific network performance requirements.

[0012] Based on the weighted directed graph of the intelligent connected vehicle and the reliability probability of each link, an improved Dijkstra algorithm is used to determine a redundant path routing table; the redundant path routing table is used to record the path reliability probability of each information flow.

[0013] Optionally, the formula expression of the weighted directed graph of the intelligent connected vehicle is specifically:

[0014]

[0015] In the formula, V represents the set of nodes, E represents the set of links, and e ij Represents slave node s i To node s j The links, n represents the number of nodes, s n Represents node s n .

[0016] Optionally, the formula expression of the link evaluation model is:

[0017]

[0018] Among them, A is the reliability probability, MTTF is the mean time to failure, and MTTR is the mean repair time based on domain controllers, sensors, or links.

[0019] Optionally, before generating the main path routing table by using the NSGA2 algorithm based on the information flow in each link after the priority marking, the following is further included:

[0020] Based on the information flow in each link after priority marking, load balancing and end-to-end delay adaptability are selected as evaluation indicators of network performance; the network performance is a time-sensitive network for intelligent connected vehicles.

[0021] Based on the load balancing degree and the end-to-end delay adaptability, a dual-objective optimization function is determined.

[0022] Optionally, the calculation formula for the load balancing degree is:

[0023]

[0024] Where, L i Indicates the load utilization on link i corresponding to the specified port, is the average load utilization of all designated ports, N is the number of designated ports, and L b The load balancing degree.

[0025] Optionally, the calculation formula of the end-to-end delay adaptability is:

[0026]

[0027] Where: λ1 and λ2 are weighting coefficients, Representative flow F i transmission delay; Representative flow F i Propagation delay at the nth port; Delayed processing. represents the queuing delay; T i others represents other delays, k i is the information flow F i The number of hops from the sending port to the receiving port.

[0028] Optionally, based on the information flow in each link after the priority marking, the NSGA2 algorithm is used to generate a main path routing table, which specifically includes:

[0029] Based on the information flow in each link after priority marking, a certain number of routing tables are randomly generated as an initial population; each of the routing tables contains decisions of all paths in the network.

[0030] For each of the routing tables, the load balancing degree and end-to-end delay of the routing table are calculated.

[0031] According to the load balancing degree and end-to-end delay of each routing table, the routing tables are divided into several levels of frontiers based on non-dominance relationships; the routing tables in each level do not dominate each other.

[0032] The current population is iteratively optimized using selection, crossover and mutation methods, and the newly generated routing table replaces part or all of the old routing table in the population to obtain a new population until the stopping condition is met.

[0033] After the iteration, all non-dominated solutions are extracted from the final population to form the Pareto front.

[0034] According to specific requirements, one or more routing tables are selected in the Pareto frontier as the main path routing table.

[0035] Optionally, based on the weighted directed graph of the intelligent connected vehicle and the reliability probability of each link, an improved Dijkstra algorithm is used to determine a redundant path routing table; the redundant path routing table is used to record the path reliability probability of each information flow, specifically including:

[0036] The weighted directed graph of the intelligent connected vehicle is weighted to obtain a weighted directed graph; the weighted directed graph contains a weight function; the weight function is a function that maps each link in the link set to a non-negative real number to characterize the unreliability weight of the link.

[0037] Based on the weighted directed graph, the unreliability probability of each link path is calculated.

[0038] For any link path, the improved Dijkstra algorithm is used to update the link path to obtain a path with the minimum unreliability.

[0039] Based on the path with the least unreliability, an antilogarithmic transformation is adopted to obtain the reliability probability of the path.

[0040] Record the path reliability probabilities under different links and generate a redundant path routing table.

[0041] Optionally, the formula expression of the weighted directed graph after weighting is:

[0042]

[0043] In the formula, W(e ij ) is to connect each link e in the link set E ijA(e) is a function that maps to a non-negative real number to characterize the unreliability weight of the link; ij ) represents link e ij The reliability probability, A(e ij )∈(0,1].

[0044] In a second aspect, the present application provides a time-sensitive network routing planning system for intelligent connected vehicles, including:

[0045] A model acquisition module is used to obtain a domain-centralized electronic and electrical architecture network topology model of an intelligent connected vehicle; the domain-centralized electronic and electrical architecture network topology model is composed of laser radar, millimeter-wave radar, camera, domain controller and functional domain controller as nodes.

[0046] A construction module is used to construct a weighted directed graph of the intelligent connected vehicle based on the domain-centralized electronic and electrical architecture network topology model; the weighted directed graph includes each node in the domain-centralized electronic and electrical architecture network topology model and the links between the nodes.

[0047] A probability calculation module is used to calculate the reliability probability of each link path based on the links between the nodes in the weighted directed graph and based on a link evaluation model; the link evaluation model is used to calculate the reliability probability of each link based on the average repair time of the domain controller, sensor or link.

[0048] The marking module is used to mark the priority of the information flow in each link according to the information flow in each link and the reliability probability of each link based on the Ethernet frame marking method of the virtual local area network; the Ethernet frame marking method of the virtual local area network is based on the IEEE802.1Q standard for marking.

[0049] The main path routing table module is used to generate a main path routing table based on the information flow in each link after priority marking using the NSGA2 algorithm; the main path routing table is used to provide routing selection with optimal load balancing and end-to-end delay adaptability balance based on specific network performance requirements.

[0050] The redundant path routing table module is used to determine the redundant path routing table based on the weighted directed graph of the intelligent connected vehicle and the reliability probability of each link by using the improved Dijkstra algorithm; the redundant path routing table is used to record the path reliability probability of each information flow.

[0051] According to the specific embodiments provided in this application, this application discloses the following technical effects:

[0052] The present application provides a time-sensitive network routing planning method and system for intelligent connected vehicles, the method comprising: obtaining a domain-centralized electronic and electrical architecture network topology model of the intelligent connected vehicle, constructing a weighted directed graph, calculating the link path reliability probability based on a link evaluation model, and marking the information flow priority using an Ethernet frame marking method; generating a main path routing table using the NSGA2 algorithm; and determining a redundant path routing table using an improved Dijkstra algorithm based on a weighted directed graph and reliability probability. The method based on the present application can adapt to the instantaneous change in traffic demand in the network without sacrificing the reliability of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0054] Figure 1 A flowchart of a time-sensitive network routing planning method for intelligent connected vehicles provided in Example 1 of the present application.

[0055] Figure 2 A schematic diagram of a domain-centralized electronic and electrical architecture provided in Example 1 of the present application.

[0056] Figure 3 A Pareto front solution result diagram provided in Example 1 of the present application.

[0057] Figure 4 A flowchart for generating a redundant path routing table solution using an improved Dijkstra algorithm is provided in Example 1 of the present application.

[0058] Figure 5 A single-transmit and single-receive model diagram corresponding to a simple driving scenario provided in Example 1 of the present application.

[0059] Figure 6 A schematic diagram of the structure of a time-sensitive network routing planning system for intelligent connected vehicles provided in Example 2 of the present application. DETAILED DESCRIPTION

[0060] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0061] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.

[0062] Embodiment 1

[0063] like Figure 1 As shown, this embodiment provides a time-sensitive network routing planning method for intelligent connected vehicles, and the time-sensitive network routing planning method includes:

[0064] Step 101: Obtain a domain-centralized electrical and electronic architecture network topology model of an intelligent connected vehicle; the domain-centralized electrical and electronic architecture network topology model is composed of laser radar, millimeter-wave radar, camera, domain controller and functional domain controller as nodes.

[0065] Step 102: Based on the domain-centralized electrical and electronic architecture network topology model, construct a weighted directed graph of the intelligent connected vehicle; the weighted directed graph includes each node in the domain-centralized electrical and electronic architecture network topology model and the links between the nodes.

[0066] Step 103: According to the links between the nodes in the weighted directed graph, based on the link evaluation model, the reliability probability of each link path is calculated; the link evaluation model is used to calculate the reliability probability of each link based on the average repair time of the domain controller, sensor or link.

[0067] Step 104: According to the information flow in each link and the reliability probability of each link, the information flow in each link is marked with priority based on the Ethernet frame marking method of the virtual local area network; the Ethernet frame marking method of the virtual local area network is marked based on the IEEE802.1Q standard.

[0068] Step 105: Based on the information flows in each link after priority marking, the NSGA2 algorithm is used to generate a main path routing table; the main path routing table is used to provide routing selection with optimal load balancing and end-to-end delay adaptability balance based on specific network performance requirements.

[0069] Step 106: Based on the weighted directed graph of the intelligent connected vehicle and the reliability probability of each link, an improved Dijkstra algorithm is used to determine a redundant path routing table; the redundant path routing table is used to record the path reliability probability of each information flow.

[0070] In some implementations of this embodiment, when executing step 101, the following steps may be specifically included:

[0071] Get Figure 2 The domain-centralized electrical and electronic architecture model shown.

[0072] Specifically, the domain-centralized electrical and electronic architecture model uses Lidar, Radar, Camera, VIU and functional domain controllers as nodes. Functional domain controllers include CDC (Smart Cockpit Domain Controller), MDC (Maintenance Domain Controller) and VDC (Vehicle Domain Controller).

[0073] When executing step 102, the specific steps may be as follows:

[0074] The network topology is abstracted into a directed graph G, as shown in the following formula:

[0075]

[0076] In the formula, V represents the set of nodes, E represents the set of links, and e ij Represents slave node s i To node s j links, n represents the number of nodes.

[0077] When executing step 103, the specific steps may be as follows:

[0078] In actual operation, the vehicle's communication link may be interrupted or fail due to factors such as line wear and aging, and the sensor or domain controller may fail due to microcircuit damage, memory errors, etc., resulting in data packet loss or increased transmission delay in the vehicle network. Based on the sudden failure phenomenon of the above-mentioned real vehicle, for safety reasons, the reliability probability assessment of the vehicle network should be carried out so as to carry out quantitative analysis of the stability of the vehicle network in the future.

[0079] The reliability (A) of the system is estimated based on the mean time to failure (MTTF) and the mean time to repair (MTTR). The formula is as follows:

[0080]

[0081] Among them, A is the reliability probability, MTTF is the mean time to failure, and MTTR is the mean repair time based on domain controllers, sensors, or links.

[0082] Substituting the MTTR of the domain controller, sensor and link into the formula respectively, the reliability probability of each node and link can be obtained.

[0083] Before executing step 104, the method further includes:

[0084] Establish an information flow model based on QoS classification, including:

[0085] The nodes in the network (domain controllers and sensors) send information flows, and the parameters of the information flows are mathematically represented using six-dimensional tuples. The formula is as follows:

[0086] F k =(n k,s ,n k,d ,p k ,t k ,d k ,ζ k ,a k ).

[0087] Where: n k,s ∈V is the sending node; n k,d ∈V is the receiving node; p k and t k are the single frame length and period of the information flow respectively; d k The deadline for sending information flow; k is the priority of the information flow; a k is the expected reliability probability of the information flow.

[0088] When executing step 104, the specific steps may be as follows:

[0089] According to the IEEE802.1Q standard, an Ethernet frame marking method based on Virtual Local Area Network (VLAN) is proposed. A 3-bit Priority Code Point (PCP) field is designed to enable the network to distinguish information flows with 8 different priority levels, ranging from 0 to 7. The priority level increases step by step to support different levels of Quality of Service (QoS).

[0090] The clock synchronization stream has a priority of 7, the control data stream has a priority of 5 or 6, the media stream has a priority of 2 to 4, and the best-effort stream has a priority of 0.

[0091] Before executing step 105, the method further includes:

[0092] Based on the information flow in each link after priority marking, load balancing and end-to-end delay adaptability are selected as evaluation indicators of network performance; the network performance is a time-sensitive network for intelligent connected vehicles.

[0093] Based on the load balancing degree and the end-to-end delay adaptability, a dual-objective optimization function is determined.

[0094] Specifically, in the vehicle-mounted time-sensitive network, network performance is the key to ensuring efficient transmission. The comprehensive performance of the two parameters, load balance (LoadBalance) and end-to-end delay (EndtoEndDelay), is used to measure network performance, and network efficiency is used as a factor in the main path evaluation.

[0095] Load balancing ensures that there are no overloaded or idle nodes in the network, so that information flow can be transmitted efficiently without increasing delay and packet loss rate. It is crucial to reduce data packet loss and avoid network congestion and delay. b Use the following formula to calculate:

[0096]

[0097] Where, L i Indicates the load utilization on link i corresponding to the specified port, is the average load utilization of all designated ports, N is the number of designated ports, and N is 19 in this model.

[0098] End-to-end delay is the total time it takes for a data packet to travel from the source to the destination in the network. It is an important indicator for measuring the transmission efficiency of data streams in the network. Since the vehicle-mounted time-sensitive network model is large and the number of information flows is large, different routing schemes will cause huge changes in end-to-end delay, thus affecting the real-time performance and stability of the network. Therefore, an end-to-end delay fitness function is set to guide and evaluate the design of routing strategies.

[0099] Assume that the information flow F i From the sending port through k i Jump to the receiving port, F i The end-to-end delay T i,ki It can be expressed as:

[0100]

[0101] In the formula, Representative flow F i transmission delay; Representative flow F i Propagation delay at the nth port; Delayed processing. represents the queuing delay; T i others Represents other delays.

[0102] Taking into account the average end-to-end delay and the maximum end-to-end delay, the end-to-end delay fitness function formula of the system is as follows:

[0103]

[0104] Where: λ1 and λ2 are weighting coefficients.

[0105] According to the above derivation, the goal of network performance optimization should be to minimize the values ​​of the load balancing function and the end-to-end delay fitness function. The formula of the dual-objective optimization function is as follows:

[0106]

[0107] When executing step 105, the specific steps may be as follows:

[0108] Based on the information flow in each link after priority marking, a certain number of routing tables are randomly generated as an initial population; each of the routing tables contains decisions of all paths in the network.

[0109] For each of the routing tables, the load balancing degree and end-to-end delay of the routing table are calculated.

[0110] According to the load balancing degree and end-to-end delay of each routing table, the routing tables are divided into several levels of frontiers based on non-dominance relationships; the routing tables in each level do not dominate each other.

[0111] The current population is iteratively optimized using selection, crossover and mutation methods, and the newly generated routing table replaces part or all of the old routing table in the population to obtain a new population until the stopping condition is met.

[0112] After the iteration, all non-dominated solutions are extracted from the final population to form the Pareto front.

[0113] According to specific requirements, one or more routing tables are selected in the Pareto frontier as the main path routing table.

[0114] Specifically, the overall process of generating the main path routing table using the NSGA2 algorithm is as follows:

[0115] 1. Input parameters and initialization. The specific steps are as follows:

[0116] 1) Input network topology. Construct a network topology based on a given directed graph G, where each node is assigned a unique identifier id(s i ), representing different hardware components in the network, such as switches, domain controllers, and sensors.

[0117] 2) Input information flow parameters. Based on the given information flow F k Parameters, get the sending node, receiving node, single frame length, cycle, deadline and priority corresponding to each information flow.

[0118] 3) Initialization of algorithm parameters: Set the number of optimization objective functions nobj = 2 (i.e., load balancing and end-to-end delay fitness), the size of the initial population npop = 30, the maximum number of iterations maxit = 200, the crossover probability pc = 0.8, and the mutation probability mu = 0.05.

[0119] 2. Generate the initial population. The specific steps are as follows:

[0120] Create an initial population (pop), which consists of N individuals (pop = {I_1, I_2, ..., I_N}), where each individual represents a set of routing paths for all information flows in the network. In the current network model, this embodiment sets the number of individuals N = 30. Each individual contains M paths corresponding to information flows. For each information flow F j (where j = 1, 2, ..., M), a random path is generated from the sending start point flow_start to the receiving end point endpoint. This path not only needs to ensure connectivity, but also avoid loops to ensure the validity of the path.

[0121] The information flow path generation formula is as follows:

[0122]

[0123] Where: P i,j represents the path of the jth information flow in the ith individual, start and end represent the starting and ending nodes respectively. neighbors(G,node) represents all neighbor nodes of node node in graph G. path i,j-1 represents the set of nodes whose (j-1)th node is already in the path for the ith individual, \ represents set subtraction to ensure that no loop is formed. rand(neighbors) represents randomly selecting a node from the neighbors set.

[0124] 3. Fitness calculation, the specific steps are as follows:

[0125] Fitness evaluation is performed for each individual in the population. Each individual in the population will be evaluated based on the network routing configuration it represents to ensure the effectiveness of the provided path and the satisfaction of the optimization goal.

[0126] 4. Non-dominated sorting and congestion calculation, the specific steps are as follows:

[0127] 1) Non-dominated sorting. Non-dominated sorting is performed according to the degree to which each individual solution is not dominated by other solutions. That is, a solution is considered to dominate another solution if it is not inferior to the other in all objectives and is superior to the other in at least one objective. According to this principle, this embodiment divides the population into several levels of frontiers, starting from F1 (the optimal frontier of the first level) and arranged in sequence, and the individuals in each level do not dominate each other.

[0128] Let pop represent the entire population, which contains all individuals, i.e., routing tables. Let the load balancing function be f i (x), the end-to-end delay fitness function is f y (x). For any two routing tables x, y∈pop, if the following conditions are met: i (x)≤f i (y) holds for all i; Satisfy f j (x)<f j (y); then routing table x is said to dominate routing table y, denoted by This means that under the same or lower cost conditions, routing table x is at least as good as routing table y in load balancing and end-to-end delay adaptability, and is better than routing table y in at least one performance indicator. By comparing the dominance relationship between all routing tables in the population, this embodiment can determine the dominance level Rank(x) of each routing table, and routing tables of the same level form a frontier.

[0129] 2) Crowding calculation. After non-dominated sorting, in order to ensure the diversity of the solution space and prevent the algorithm from focusing on the local optimal solution too early, the crowding calculation step will be performed for each routing table in the advantage front. Crowding is a quantification of the local density of individual solutions in the function target space. The higher the value, the stronger the relative isolation of the routing table in the target space, that is, there are fewer competitors around. For the mth objective function of the ith routing table, the crowding d im It can be expressed as:

[0130] d im =f m (x i+1 )-f m (x i-1 ).

[0131] Let M be the number of objective functions and the total congestion D i It is the sum of the distances in all objective function directions and can be expressed as:

[0132]

[0133] When performing population selection, if two routing tables are equal at the non-dominated ordering level, the routing table with higher congestion will be given priority.

[0134] Through the above process, the algorithm will continue to iterate and update the population until it finds a Pareto optimal solution set that meets the conditions, so that the routing table tends to balance the network load while the end-to-end communication delay is as small as possible.

[0135] 5. Iterate population update. The specific steps are as follows:

[0136] Update the population using tournament selection (TournamentSelect), crossover (CrossOver), and mutation operations (Mutate), and then generate the next generation of population (pop').

[0137] pop'={TournamentSelect(pop),CrossOver(pop'),Mutate(pop')}.

[0138] 6. Store and analyze the best value of the optimization target. The specific steps are as follows:

[0139] For each iteration, the algorithm stores a set of routing tables that approximately represent the set of Pareto optimal solutions:

[0140]

[0141] Where: is the set of first-level non-dominated solutions after the tth iteration, is the nth routing table (individual) in the set, N f is the number of non-dominated solutions.

[0142] For every non-dominated solution Record the corresponding load balancing degree and end-to-end delay adaptability and calculate the optimal value for each indicator. This can be done by extracting The minimum value of the corresponding objective function in the non-dominated set is achieved:

[0143]

[0144] The quality of the routing table is evaluated by monitoring the progress of load balancing and end-to-end delay adaptability.

[0145] 7. Generate the Pareto frontier. The specific steps are as follows:

[0146] In the final Pareto front, each routing table provides a relatively optimal trade-off (load versus delay) on the corresponding objective function, such as Figure 3 shown.

[0147] 8. In order to find a solution that can balance the load balancing degree (L b ) and end-to-end delay adaptability (E d ) routing scheme, set the main path routing decision function, and evaluate and select the path through a weighted decision mechanism to ensure communication efficiency and effective use of network resources. The network efficiency decision function is as follows:

[0148]

[0149] Where: The function normalize(x) is used to convert the load balancing degree (L b ) and end-to-end delay adaptability (E d ) is normalized and the dimension is unified to the value range of [0,1]. ω1 and ω2 are weight coefficients, which can be dynamically adjusted based on the actual performance requirements of the network. For example, in a time-sensitive network, the requirement for real-time performance is higher, so the weight ω2 of the end-to-end delay adaptability should be larger. The smaller the decision value D is, the more uniform the network load is under this route, and the lower the end-to-end delay is.

[0150] Based on the above formula, all routing tables in the Pato front are traversed to find the routing table with the highest score, which is the final main path routing table. It is regarded as the routing selection that provides the best load balancing and end-to-end delay fitness balance under the premise of meeting specific network performance requirements.

[0151] After executing the above steps, a main path routing table that best meets the current network status and performance requirements can be obtained, thereby ensuring the efficient use of network resources and the timeliness of data transmission in the vehicle-mounted TSN.

[0152] When executing step 106, the specific steps may be as follows:

[0153] The weighted directed graph of the intelligent connected vehicle is weighted to obtain a weighted directed graph; the weighted directed graph contains a weight function; the weight function is a function that maps each link in the link set to a non-negative real number to characterize the unreliability weight of the link.

[0154] Based on the weighted directed graph, the unreliability probability of each link path is calculated.

[0155] For any link path, the improved Dijkstra algorithm is used to update the link path to obtain a path with the minimum unreliability.

[0156] Based on the path with the least unreliability, an antilogarithmic transformation is adopted to obtain the reliability probability of the path.

[0157] Record the path reliability probabilities under different links and generate a redundant path routing table.

[0158] Specifically, in order to find the path with the highest reliability probability in the vehicle-mounted TSN as redundancy, an improved Dijkstra algorithm is proposed. The concept of "shortest path" is redefined as "minimum unreliability", and the path with the highest reliability can be found by improving the Dijkstra algorithm.

[0159] The problem of solving the reliability probability of the network is mapped to the analysis problem of the weighted directed graph G, and the reliability probability of each node and its connected links is taken as the weight consideration. Based on formula (1), the weight W is introduced, and the specific weight mapping function is defined as: W: E→R + ∪{0}, the formula of weighted directed graph G is as follows:

[0160]

[0161] Where: W(e ij ) is to connect each link e in the link set E ij A(e) is a function that maps to a non-negative real number to characterize the unreliability weight of the link. ij ) represents link e ij The reliability probability, which is a value between 0 and 1 (A(e ij )∈(0,1]). In order to adapt to the positive value requirement of Dijkstra algorithm, a negative logarithmic transformation strategy is used to transform the original maximum reliability probability problem into the shortest path problem.

[0162] The solution process of using the improved Dijkstra algorithm to calculate the redundant path routing table is as follows: Figure 4 Specifically, the path selection process using the improved Djkstra algorithm is as follows:

[0163] First, the nodes are initialized, then a set of unprocessed nodes is constructed and the unreliability scores of adjacent nodes are updated. Subsequently, the nodes that have been processed are removed and it is determined whether all nodes have been processed or whether the minimum node has been found. If any of the conditions are met, the minimum unreliability path is constructed; if not, the unreliability scores of adjacent nodes are updated again.

[0164] In addition, after executing step 106, the method further includes:

[0165] Import the routing table and conduct simulation experiments, including:

[0166] Domain-based centralized electrical and electronic architecture ( Figure 2) is the object, and the algorithms in step 105 and step 106 are used to generate the main path routing table and the redundant path routing table respectively. In a simple driving scenario, the node sends and receives only one message, and there are 7 information flows in the system, such as Figure 5 As shown, taking this model as an example, the generated main path routing table and redundant path routing table are Table 1 and Table 2 respectively.

[0167] Table 1 Corresponding main path routing table in the example scenario

[0168] Information flow sequence number Main Path reliability Meets expectations 1 Lidar1→1→3→MDC 99.86% yes 2 Radar2→1→2→3→MDC 99.82% yes 3 Camera11→1→4→3→MDC 99.82% yes 4 VIU1→1→2→3→MDC 99.81% no 5 VIU1→1→3→MDC 99.85% yes 6 CDC→1→2→3→MDC 99.81% no 7 CDC→1→3→MDC 99.85% yes

[0169] Table 2 Corresponding redundant path routing table in the example scenario

[0170]

[0171]

[0172] In this scenario, the reliability of the information flows of sequence numbers 4 and 6 did not meet the expected standards (as shown in Table 1), which suggests a potential risk of data loss or packet loss. The algorithm then generated the necessary redundant routes for these flows (as shown in Table 2), providing high-reliability paths as alternative routes to ensure the stability of information transmission.

[0173] The routing table was imported into MATLAB for simulation test. The routing table was imported into the domain controller for hardware test. The test results show that the routing planning method proposed in this application can effectively improve network efficiency and network reliability under different working conditions by applying the link redundant transmission mechanism, and the results of the simulation test and the hardware test are highly consistent, which is highly practical.

[0174] Embodiment 2

[0175] like Figure 6 As shown, this embodiment provides a time-sensitive network routing planning system for intelligent connected vehicles, including:

[0176] The model acquisition module 601 is used to obtain the domain-centralized electronic and electrical architecture network topology model of the intelligent connected vehicle; the domain-centralized electronic and electrical architecture network topology model is composed of laser radar, millimeter wave radar, camera, domain controller and functional domain controller as nodes.

[0177] Construction module 602 is used to construct a weighted directed graph of the intelligent connected vehicle based on the domain-centralized electronic and electrical architecture network topology model; the weighted directed graph includes each node in the domain-centralized electronic and electrical architecture network topology model and the links between the nodes.

[0178] The probability calculation module 603 is used to calculate the reliability probability of each link path based on the links between the nodes in the weighted directed graph and based on the link evaluation model; the link evaluation model is used to calculate the reliability probability of each link based on the average repair time of the domain controller, sensor or link.

[0179] The marking module 604 is used to mark the priority of the information flow in each link according to the information flow in each link and the reliability probability of each link based on the Ethernet frame marking method of the virtual local area network; the Ethernet frame marking method of the virtual local area network is based on the IEEE802.1Q standard for marking.

[0180] The main path routing table module 605 is used to generate a main path routing table based on the information flow in each link after priority marking using the NSGA2 algorithm; the main path routing table is used to provide routing selection with optimal load balancing and end-to-end delay adaptability balance based on specific network performance requirements.

[0181] The redundant path routing table module 606 is used to determine the redundant path routing table based on the weighted directed graph of the intelligent connected vehicle and the reliability probability of each link using the improved Dijkstra algorithm; the redundant path routing table is used to record the path reliability probability of each information flow.

[0182] In summary, this application has the following beneficial effects:

[0183] 1) This application designs a network topology model based on a domain-centralized electronic and electrical architecture; secondly, in order to analyze the fault conditions in the link, a mathematical calculation method for evaluating link reliability is given, which can accurately reflect the reliability level of different system links. Finally, based on the quality of service standard, an effective classification of different categories of network information flows is implemented. A comprehensive vehicle network framework including an architecture model, a link model, and an information flow model is constructed.

[0184] 2) This application uses the NSGA2 algorithm to obtain the final main path routing table. Under the premise of meeting specific network performance requirements, it provides routing selection with optimal load balancing and end-to-end delay adaptability balance, thereby ensuring the efficient use of network resources and the timeliness of data transmission in the vehicle-mounted TSN.

[0185] 3) This application uses an improved Dijkstra algorithm to obtain a redundant path routing table, and selectively enables redundant paths according to information flow conditions during transmission, thereby fully ensuring the reliability of redundant path transmission and avoiding resource waste caused by redundancy.

[0186] The technical features of the above embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0187] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.

Claims

1. A time-sensitive network routing planning method for intelligent connected vehicles, characterized in that: The time-sensitive network routing planning method comprises: Obtaining a domain-centralized electrical and electronic architecture network topology model of an intelligent connected vehicle; the domain-centralized electrical and electronic architecture network topology model is composed of a laser radar, a millimeter-wave radar, a camera, a domain controller, and a functional domain controller as nodes; Based on the domain-centralized electrical and electronic architecture network topology model, construct a weighted directed graph of the intelligent connected vehicle; the weighted directed graph includes each node in the domain-centralized electrical and electronic architecture network topology model and links between each node; According to the links between the nodes in the weighted directed graph, the reliability probability of each link path is calculated based on a link evaluation model; the link evaluation model is used to calculate the reliability probability of each link based on the average repair time of the domain controller, sensor or link; According to the information flow in each link and the reliability probability of each link, the information flow in each link is marked with priority based on the Ethernet frame marking method of the virtual local area network; the Ethernet frame marking method of the virtual local area network is marked based on the IEEE802.1Q standard; Based on the information flow in each link after priority marking, the NSGA2 algorithm is used to generate a main path routing table; the main path routing table is used to provide routing selection with optimal load balancing and end-to-end delay adaptability balance based on specific network performance requirements; Based on the weighted directed graph of the intelligent connected vehicle and the reliability probability of each link, an improved Dijkstra algorithm is used to determine a redundant path routing table; the redundant path routing table is used to record the path reliability probability of each information flow.

2. A time-sensitive network routing planning method for intelligent connected vehicles according to claim 1, characterized in that: The formula expression of the weighted directed graph of the intelligent connected vehicle is specifically: In the formula, V represents the set of nodes, E represents the set of links, and e ij Represents slave node s i To node s j The links, n represents the number of nodes, s n Represents node s n .

3. A time-sensitive network routing planning method for intelligent connected vehicles according to claim 2, characterized in that: The formula expression of the link evaluation model is: Among them, A is the reliability probability, MTTF is the mean time to failure, and MTTR is the mean repair time based on domain controllers, sensors, or links.

4. A time-sensitive network routing planning method for intelligent connected vehicles according to claim 3, characterized in that: Before generating a main path routing table using the NSGA2 algorithm based on the information flows in each link after the priority marking, the following steps are also included: Based on the information flow in each link after priority marking, load balancing and end-to-end delay adaptability are selected as evaluation indicators of network performance; the network performance is a time-sensitive network for intelligent connected vehicles; Based on the load balancing degree and the end-to-end delay adaptability, a dual-objective optimization function is determined.

5. A time-sensitive network routing planning method for intelligent connected vehicles according to claim 4, characterized in that: The calculation formula of the load balancing degree is: Where, L i represents the load utilization on link i corresponding to the designated port, L- is the average load utilization of all designated ports, N is the number of designated ports, L b The load balancing degree.

6. A time-sensitive network routing planning method for intelligent connected vehicles according to claim 5, characterized in that: The calculation formula of the end-to-end delay adaptability is: Where: λ1 and λ2 are weighting coefficients, Represents information flow F i transmission delay; Represents information flow F i Propagation delay at the nth port; Represents processing delay; Represents queue delay; represents other delays, k i is the information flow F i The number of hops from the sending port to the receiving port.

7. A time-sensitive network routing planning method for intelligent connected vehicles according to claim 6, characterized in that: Based on the information flow in each link after priority marking, the NSGA2 algorithm is used to generate the main path routing table, which includes: Based on the information flow in each link after priority marking, a certain number of routing tables are randomly generated as an initial population; each of the routing tables contains decisions of all paths in the network; For each of the routing tables, calculating the load balancing degree and end-to-end delay of the routing table; According to the load balancing degree and end-to-end delay of each routing table, the routing table is divided into several levels of frontiers based on non-dominance relationship; the routing tables in each level do not dominate each other; The current population is iteratively optimized using selection, crossover and mutation methods, and the newly generated routing table replaces part or all of the old routing table in the population to obtain a new population until the stopping condition is met; After the iteration, all non-dominated solutions are extracted from the final population to form the Pareto frontier; According to specific requirements, one or more routing tables are selected in the Pareto frontier as the main path routing table.

8. A time-sensitive network routing planning method for intelligent connected vehicles according to claim 7, characterized in that: Based on the weighted directed graph of the intelligent connected vehicle and the reliability probability of each link, an improved Dijkstra algorithm is used to determine a redundant path routing table; the redundant path routing table is used to record the path reliability probability of each information flow, specifically including: The weighted directed graph of the intelligent connected vehicle is weighted to obtain a weighted directed graph; the weighted directed graph contains a weight function; the weight function is a function that maps each link in the link set to a non-negative real number to characterize the unreliability weight of the link; Based on the weighted directed graph, the unreliability probability of each link path is calculated; For any link path, the improved Dijkstra algorithm is used to update the link path to obtain the path with the minimum unreliability; Based on the path with the least unreliability, an antilogarithmic transformation is used to obtain the reliability probability of the path; Record the path reliability probabilities under different links and generate a redundant path routing table.

9. A time-sensitive network routing planning method for intelligent connected vehicles according to claim 8, characterized in that: The formula expression of the weighted directed graph after weighting is: In the formula, W(e ij ) is to connect each link e in the link set E ij A(e) is a function that maps to a non-negative real number to characterize the unreliability weight of the link; ij ) represents link e ij The reliability probability, A(e ij )∈(0,1].

10. A time-sensitive network routing planning system for intelligent connected vehicles, characterized in that: include: A model acquisition module is used to acquire a domain-centralized electronic and electrical architecture network topology model of an intelligent connected vehicle; the domain-centralized electronic and electrical architecture network topology model is composed of a laser radar, a millimeter-wave radar, a camera, a domain controller, and a functional domain controller as nodes; A construction module, used to construct a weighted directed graph of the intelligent connected vehicle based on the domain-centralized electronic and electrical architecture network topology model; the weighted directed graph includes each node in the domain-centralized electronic and electrical architecture network topology model and the links between the nodes; A probability calculation module, used to calculate the reliability probability of each link path based on the links between the nodes in the weighted directed graph and based on a link evaluation model; the link evaluation model is used to calculate the reliability probability of each link based on the average repair time of the domain controller, sensor or link; A marking module, used for marking the priority of the information flow in each link according to the information flow in each link and the reliability probability of each link based on the Ethernet frame marking method of the virtual local area network; the Ethernet frame marking method of the virtual local area network is based on the IEEE802.1Q standard for marking; The main path routing table module is used to generate a main path routing table based on the information flow in each link after priority marking using the NSGA2 algorithm; the main path routing table is used to provide routing selection with optimal load balancing and end-to-end delay adaptability balance based on specific network performance requirements; The redundant path routing table module is used to determine the redundant path routing table based on the weighted directed graph of the intelligent connected vehicle and the reliability probability of each link by using the improved Dijkstra algorithm; the redundant path routing table is used to record the path reliability probability of each information flow.

Citation Information

Patent Citations

  • Multi-path joint scheduling method in time-sensitive network

    CN115460130A

  • Internet of vehicles shortest path optimization method based on link quality evaluation

    CN117336814A

  • Method, system and device for improving reliability of time-sensitive network, and storage medium

    CN117411826A

  • Train communication network flow scheduling optimization method based on PMOA algorithm

    CN117596158A

  • Internet of vehicles multi-path routing method based on deep reinforcement learning

    CN118590962A