A network dynamic optimization method and system for computer architecture
By real-time monitoring and dynamic adjustment of resource allocation, the driving performance and decision-making efficiency issues of unmanned vehicles in complex network environments are solved, the optimal performance and efficiency under rapidly changing conditions are achieved, and the response speed and resource utilization are improved.
Patent Information
- Application Number
- CN202411772278.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-04
- Publication Date
- 2025-09-12
- Estimated Expiration
- 2044-12-04
AI Technical Summary
In existing technologies, network optimization methods fail to fully consider factors such as the complex and changeable network status, vehicle speed changes, and road congestion of unmanned vehicles. They lack adaptability and dynamic adjustment capabilities to real-time environmental data, resulting in poor driving performance and decision-making efficiency under rapidly changing network conditions and traffic conditions.
By real-time monitoring of the network status, vehicle speed, and road congestion of unmanned vehicles, the allocation of computing resources and network resources is dynamically adjusted. The swarm optimization algorithm is used to calculate the task priority weight values, and resources are allocated based on these weight values to ensure that critical tasks are given priority when resources are tight.
It achieves optimal driving performance and decision-making efficiency for unmanned vehicles under rapidly changing network conditions and traffic conditions, improves response speed and adaptability, reduces task processing delays, and improves resource utilization.
Smart Images

Figure CN119854849B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of network optimization, and in particular to a method and system for dynamic network optimization of a computer architecture. Background Art
[0002] With the rapid development of computer and network technologies, computer systems and network environments have become indispensable infrastructure in modern society. Dynamic network optimization of computer architectures has become particularly important in the field of autonomous driving. Autonomous vehicles rely on powerful computing power and efficient network communications to ensure driving safety and real-time decision-making. Existing network optimization methods primarily focus on static network configuration and bandwidth management, but these methods fail to fully consider factors such as the complex and ever-changing network conditions, vehicle speed variations, and road congestion encountered by autonomous vehicles during actual driving. Furthermore, traditional optimization algorithms often employ fixed resource allocation strategies that lack adaptability to real-time environmental data and the ability to dynamically adjust. This makes them inadequate in the face of rapidly changing network and traffic conditions.
[0003] To address the above issues, a computer-based network dynamic optimization method and system are proposed. This method aims to dynamically adjust the allocation of computing and network resources by real-time monitoring of the network status, vehicle speed, and road congestion of unmanned vehicles, thereby optimizing the driving performance and decision-making efficiency of unmanned vehicles. It can adaptively adjust resource allocation strategies based on real-time environmental data and mission requirements, enabling unmanned vehicles to achieve more efficient and intelligent driving decisions while ensuring safety. Summary of the Invention
[0004] By real-time monitoring of the network status, vehicle speed, and road congestion of the unmanned vehicle, the present invention can dynamically adjust the allocation of computing resources and network resources. The adaptive adjustment mechanism of this method enables the unmanned vehicle to instantly optimize resource allocation strategies based on real-time changing environmental data and mission requirements. In the face of rapidly changing network conditions and traffic conditions, its excellent adaptability and real-time performance can ensure that the driving performance and decision-making efficiency of the unmanned vehicle are always maintained at the best state, thereby improving the vehicle's response speed and adaptability to complex traffic environments.
[0005] A method for dynamic network optimization of a computer architecture, comprising:
[0006] At any monitoring time point during the driving process of the unmanned vehicle, the vehicle's current environmental data is obtained. The environmental data includes network status data, vehicle speed data, and vehicle data of the observed road section; based on the obtained environmental data, the network quality performance value, vehicle speed performance value, and road congestion value are calculated;
[0007] Use the swarm optimization algorithm to obtain the adjustment coefficient combination k j , j = 1, 2, ..., 6; for the safety tasks, decision-making tasks, communication tasks and auxiliary tasks performed by the vehicle, the obtained network quality performance value, vehicle speed performance value and road congestion value are obtained, and the obtained adjustment coefficient combination k is applied at the same time j , respectively calculate the priority weight value of the safety task, the priority weight value of the decision task, the priority weight value of the communication task and the priority weight value of the auxiliary task;
[0008] Based on the obtained security task priority weight value, decision task priority weight value, communication task priority weight value and auxiliary task priority weight value, the computing resource allocation ratio and network resource allocation ratio of each task are further calculated; the computing resource allocation ratio and network resource allocation ratio of each task obtained are applied to allocate computing resources and network resources respectively.
[0009] Preferably, the network quality performance value, vehicle speed performance value and road congestion degree value are calculated based on the acquired environmental data, and the specific operation is as follows:
[0010] Based on the bandwidth, delay, and packet loss rate in the currently acquired network status data, a standard bandwidth range, a standard delay range, and a standard packet loss rate range are set; based on the standard bandwidth range, the standard delay range, and the standard packet loss rate range, the currently acquired bandwidth, delay, and packet loss rate are linearly mapped to a range of 0 to 1, and a bandwidth normalization value a, a delay normalization value b, and a packet loss rate normalization value c are obtained. Then, a network quality performance value Q is calculated using the formula Q = 0.3a + 0.3(1-b) + 0.4(1-c);
[0011] Based on the currently acquired vehicle speed data, a standard vehicle speed range is set, and based on the standard vehicle speed range, the currently acquired vehicle speed is linearly mapped to a range of 0 to 1 to obtain a vehicle speed performance value S;
[0012] Based on the currently acquired observation section vehicle data, which represents the number of vehicles in the fixed-length observation section where the vehicle is currently located, a standard number range is set, and the currently acquired number of vehicles is mapped to the range of 0 to 1 based on the standard number range to obtain the road congestion value T.
[0013] Preferably, the obtained network quality performance value, vehicle speed performance value and road congestion value are used and the obtained adjustment coefficient combination k is applied simultaneously. j , respectively calculate the priority weight value of the safety task, the priority weight value of the decision task, the priority weight value of the communication task and the priority weight value of the auxiliary task. The specific operations are as follows:
[0014] Based on the obtained network quality performance value Q, vehicle speed performance value S and road congestion value T, for the safety task, use formula V sec=1+k1S+k2T to calculate the security task priority weight value V sec , where k1 and k2 are the first adjustment coefficient and the second adjustment coefficient respectively, and k1 and k2 respectively represent the impact of vehicle speed and road congestion on the safety task;
[0015] For decision-making tasks, use formula V dec =1+k3S+k4T Calculate and obtain the decision task priority weight value V dec , where k3 and k4 are the third adjustment coefficient and the fourth adjustment coefficient respectively, and k3 and k4 respectively represent the influence of vehicle speed and road congestion on the decision-making task;
[0016] For communication tasks, use formula V comm =1+k5Q+k6S Calculate and obtain the communication task priority weight value V comm , where k5 and k6 are the fifth and sixth adjustment coefficients respectively, and k5 and k6 respectively represent the degree of influence of network quality and vehicle speed on the communication task;
[0017] For auxiliary tasks, the auxiliary task priority weight value V aux Always 1.
[0018] Preferably, the specific operations for calculating the computing resource allocation ratio of each task are as follows:
[0019] For the allocation of computing resources, the initial computing allocation value of the security task is set to 4, the initial computing allocation value of the decision task is set to 3, the initial computing allocation value of the communication task is set to 2, and the initial computing allocation value of the auxiliary task is set to 1; then based on the obtained security task priority weight value V sec , decision-making task priority weight value V dec , Communication task priority weight value V comm and auxiliary task priority weight value V aux , calculate and obtain the safety task calculation allocation value Decision task calculation assignment value Communication task calculation allocation value and auxiliary tasks to calculate the distribution value in, Using the formula Calculate the computing resource allocation ratio of security tasks, decision tasks, communication tasks and auxiliary tasks respectively i=1, 2, 3, 4; and It represents the computing resource allocation ratio of security task, decision task, communication task and auxiliary task respectively.
[0020] Preferably, the specific operations for calculating the network resource allocation ratio of each task are as follows:
[0021] For the allocation of network resources, the initial network allocation value of the security task is set to 3, the initial network allocation value of the decision task is set to 2, the initial network allocation value of the communication task is set to 4, and the initial network allocation value of the auxiliary task is set to 1; based on the obtained security task priority weight value V sec , decision-making task priority weight value V dec , Communication task priority weight value V comm and auxiliary task priority weight value V aux , calculate and obtain the safety task network allocation value Decision task network allocation value Communication task network allocation value and auxiliary task network assignment values in, Using the formula Calculate the network resource allocation ratios for security tasks, decision-making tasks, communication tasks, and auxiliary tasks respectively i=1, 2, 3, 4; and It represents the network resource allocation ratio of security task, decision task, communication task and auxiliary task respectively.
[0022] Preferably, obtain the adjustment coefficient combination k j The swarm optimization algorithm used is the genetic algorithm.
[0023] Preferably, the adjustment coefficient combination k is obtained by genetic algorithm j The specific operations are as follows:
[0024] Step 1: Set the population size, randomly generate x candidate coefficient combinations, each adjustment coefficient in the adjustment coefficient combination is between 0 and 1, and form the randomly generated candidate coefficient combinations into the initial population. At the same time, set the maximum number of iterations;
[0025] Step 2: For any candidate coefficient combination, use the formula Calculate the fitness F of the candidate coefficient combination, where D represents the average processing delay of each task when the candidate coefficient combination is applied for resource allocation; R represents the resource utilization rate when the candidate coefficient combination is applied for resource allocation; ω1 and ω2 are weight coefficients. This formula indicates that the lower the average processing delay of each task and the higher the resource utilization rate for resource allocation, the better the performance of the candidate coefficient combination.
[0026] Step 3: Select the candidate coefficient group with the highest current fitness as the elite individual for the current iteration; then apply the roulette wheel selection method to all candidate coefficient combinations excluding the elite individuals, and select the corresponding number of candidate coefficient combinations with the best fitness performance according to the preset selection ratio, and form the selected candidate coefficient combinations into the selection individual set;
[0027] Step 4: Apply the preset crossover probability to perform a crossover operation on the candidate coefficient combinations in the selected individual set to generate a corresponding number of new candidate coefficient combinations, and form the obtained new candidate coefficient combinations into a crossover individual set; randomly select candidate coefficient combinations from the crossover individual set, and make small adjustments to the candidate coefficient combinations according to the preset mutation probability to obtain a mutation individual set;
[0028] Step 5: Merge the selected individual set and the mutated individual set to obtain the merged individual set, calculate the fitness of all candidate coefficient combinations in the merged individual set, and use the x-1 candidate coefficient combinations with the best fitness performance in the merged individual set and the selected elite individuals as the new generation population;
[0029] Step 6: Repeat steps 3 to 5 to iteratively update the population until the maximum number of iterations is reached, and use the candidate coefficient combination with the highest fitness in the last generation of the population as the adjustment coefficient combination k j .
[0030] Preferably, a computer-based network dynamic optimization system includes:
[0031] The environmental assessment module includes a data monitoring unit and a calculation unit. The data monitoring unit is used to obtain the vehicle's current environmental data at any monitoring time point during the unmanned vehicle's driving process. The environmental data includes network status data, vehicle speed data, and vehicle data on the observed road section. The calculation unit is used to calculate the network quality performance value, vehicle speed performance value, and road congestion level value based on the obtained environmental data.
[0032] The task weight evaluation module includes an adjustment coefficient combination acquisition unit and a priority weight value calculation unit; the adjustment coefficient combination acquisition unit is used to obtain the adjustment coefficient combination k using a group optimization algorithm j The priority weight value calculation unit is used for the safety tasks, decision-making tasks, communication tasks and auxiliary tasks performed by the vehicle, by obtaining the network quality performance value, vehicle speed performance value and road congestion value, and applying the obtained adjustment coefficient combination k j , respectively calculate the priority weight value of the safety task, the priority weight value of the decision task, the priority weight value of the communication task and the priority weight value of the auxiliary task;
[0033] The resource allocation module includes a resource allocation ratio calculation unit, a computing resource allocation unit and a network resource allocation unit; the resource allocation ratio calculation unit is used to further calculate the computing resource allocation ratio and network resource allocation ratio of each task based on the acquired security task priority weight value, decision task priority weight value, communication task priority weight value and auxiliary task priority weight value; the computing resource allocation unit is used to allocate computing resources according to the acquired computing resource allocation ratio of each task; and the network resource allocation unit is used to allocate network resources according to the acquired network resource allocation ratio of each task.
[0034] The present invention has the following advantages:
[0035] 1. This invention dynamically adjusts the allocation of computing and network resources by monitoring the network status, vehicle speed, and road congestion of the unmanned vehicle in real time. This adaptive adjustment mechanism enables the unmanned vehicle to instantly optimize resource allocation strategies based on real-time environmental data and mission requirements. Its superior adaptability and real-time nature ensure that the unmanned vehicle's driving performance and decision-making efficiency remain optimal in the face of rapidly changing network and traffic conditions, thereby improving the vehicle's responsiveness and adaptability to complex traffic environments.
[0036] 2. The present invention obtains the adjustment coefficient combination through genetic algorithm, and can then accurately calculate the priority weight value of each task and allocate computing resources and network resources accordingly; reduce the average processing delay of tasks and improve the resource utilization rate of resource allocation, thereby maximizing system efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] Figure 1 This is a structural diagram of a network dynamic optimization system based on a computer architecture adopted in an embodiment of the present invention. DETAILED DESCRIPTION
[0038] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0039] Example 1, a method for dynamic network optimization of a computer architecture, comprising:
[0040] At any monitoring point in time during the driving process of the unmanned vehicle, the vehicle's current environmental data is obtained. The environmental data includes network status data, vehicle speed data, and vehicle data on the observed road section. Network status data includes key indicators such as bandwidth, latency, and packet loss rate. These indicators reflect the current status of the vehicle's wireless communication network. The collection of network status data is crucial for evaluating and optimizing communications between the vehicle and the control center, other vehicles, and roadside infrastructure. Based on the obtained environmental data, network quality performance values, vehicle speed performance values, and road congestion values are calculated. The purpose of this step is to convert the raw environmental data into quantitative indicators that can be used for decision-making. These indicators can accurately reflect the current network and traffic conditions faced by the unmanned vehicle. Through these quantitative performance values, the system can more accurately allocate resources and adjust task priorities, thereby optimizing the driving performance and decision-making efficiency of the unmanned vehicle.
[0041] Use the swarm optimization algorithm to obtain the adjustment coefficient combination k j , j = 1, 2, ..., 6; for the safety tasks, decision-making tasks, communication tasks and auxiliary tasks performed by the vehicle, safety tasks usually include emergency braking, obstacle avoidance, etc., which have extremely high requirements for real-time and reliability, so their priority is often set higher; decision-making tasks involve path planning, speed adjustment, etc., which require comprehensive consideration of multiple factors to ensure driving efficiency and safety; communication tasks include communication with the control center, other vehicles, etc., which are highly dependent on network quality; auxiliary tasks such as vehicle status monitoring and predictive maintenance, etc., although these tasks are important, they are not as urgent as other tasks; by obtaining the network quality performance value, vehicle speed performance value and road congestion value, and applying the obtained adjustment coefficient combination k j , respectively calculating the priority weight values of the safety task, the decision-making task, the communication task, and the auxiliary task; by calculating the priority weight values of different tasks, the present invention can realize the dynamic allocation of computing resources and network resources; this dynamic allocation strategy ensures that key tasks (such as safety tasks and decision-making tasks) can be given priority when resources are scarce, thereby improving the driving safety and decision-making efficiency of unmanned vehicles;
[0042] Based on the obtained safety task priority weight values, decision task priority weight values, communication task priority weight values, and auxiliary task priority weight values, the computing resource allocation ratio and network resource allocation ratio of each task are further calculated; computing resources refer to the hardware and software resources used in a computer system to perform computing tasks, including but not limited to processors, memory, storage devices, and graphics processing units; network resources refer to resources used for data transmission and communication in a network environment; the computing resource allocation ratios and network resource allocation ratios obtained for each task are used to allocate computing resources and network resources respectively; different allocation methods for computing resources and network resources are used to adapt to the specific needs and priorities of different tasks in the unmanned vehicle for these resources, ensuring that critical tasks such as safety and decision tasks have access to sufficient computing power and network bandwidth to ensure real-time and reliability, while optimizing the resource usage of non-critical tasks such as auxiliary tasks to improve the efficiency and performance of the overall system; for example, communication tasks may require continuous network connection and high bandwidth to ensure real-time data transmission, while computationally intensive tasks such as environmental perception and path planning may require more computing resources to process large amounts of sensor data. Through differentiated resource allocation strategies, autonomous vehicles can respond more flexibly and efficiently to dynamically changing driving environments and mission requirements, thereby improving driving safety and decision-making accuracy.
[0043] The network quality performance value, vehicle speed performance value, and road congestion value are calculated based on the acquired environmental data. The specific operations are as follows:
[0044] Based on the bandwidth, delay, and packet loss rate in the currently acquired network status data, a standard bandwidth range, a standard delay range, and a standard packet loss rate range are set; based on the standard bandwidth range, the standard delay range, and the standard packet loss rate range, the currently acquired bandwidth, delay, and packet loss rate are linearly mapped to a range of 0 to 1, and a bandwidth normalization value a, a delay normalization value b, and a packet loss rate normalization value c are obtained. Then, a network quality performance value Q is calculated using the formula Q = 0.3a + 0.3(1-b) + 0.4(1-c);
[0045] Based on the currently acquired vehicle speed data, a standard vehicle speed range is set, and based on the standard vehicle speed range, the currently acquired vehicle speed is linearly mapped to a range of 0 to 1 to obtain a vehicle speed performance value S;
[0046] Based on the currently acquired observation section vehicle data, which represents the number of vehicles in the fixed-length observation section where the vehicle is currently located, a standard number range is set, and the currently acquired number of vehicles is mapped to the range of 0 to 1 based on the standard number range to obtain the road congestion value T.
[0047] By obtaining the network quality performance value, vehicle speed performance value and road congestion value, the obtained adjustment coefficient combination k is applied at the same timej , respectively calculate the priority weight value of the safety task, the priority weight value of the decision task, the priority weight value of the communication task and the priority weight value of the auxiliary task. The specific operations are as follows:
[0048] Based on the obtained network quality performance value Q, vehicle speed performance value S and road congestion value T, for the safety task, use formula V sec =1+k1S+k2T to calculate the security task priority weight value V sec , where k1 and k2 are the first adjustment coefficient and the second adjustment coefficient respectively, and k1 and k2 respectively represent the impact of vehicle speed and road congestion on the safety task;
[0049] For decision-making tasks, use formula V dec =1+k3S+k4T Calculate and obtain the decision task priority weight value V dec , where k3 and k4 are the third adjustment coefficient and the fourth adjustment coefficient respectively, and k3 and k4 respectively represent the influence of vehicle speed and road congestion on the decision-making task;
[0050] For communication tasks, use formula V comm =1+k5Q+k6S Calculate and obtain the communication task priority weight value V comm , where k5 and k6 are the fifth and sixth adjustment coefficients respectively, and k5 and k6 respectively represent the degree of influence of network quality and vehicle speed on the communication task;
[0051] For auxiliary tasks, the auxiliary task priority weight value V aux Always 1.
[0052] The specific operations for calculating the computing resource allocation ratio of each task are as follows:
[0053] For the allocation of computing resources, the initial computing allocation value of the security task is set to 4, the initial computing allocation value of the decision task is set to 3, the initial computing allocation value of the communication task is set to 2, and the initial computing allocation value of the auxiliary task is set to 1; then based on the obtained security task priority weight value V sec , decision-making task priority weight value V dec , Communication task priority weight value V comm and auxiliary task priority weight value V aux , calculate and obtain the safety task calculation allocation value Decision task calculation assignment value Communication task calculation allocation value and auxiliary tasks to calculate the distribution value in, Using the formula Calculate the computing resource allocation ratio of security tasks, decision tasks, communication tasks and auxiliary tasks respectively i=1, 2, 3, 4; and It represents the computing resource allocation ratio of security task, decision task, communication task and auxiliary task respectively.
[0054] The specific operations for calculating the network resource allocation ratio of each task are as follows:
[0055] For the allocation of network resources, the initial network allocation value of the security task is set to 3, the initial network allocation value of the decision task is set to 2, the initial network allocation value of the communication task is set to 4, and the initial network allocation value of the auxiliary task is set to 1; based on the obtained security task priority weight value V sec , decision-making task priority weight value V dec , Communication task priority weight value V comm and auxiliary task priority weight value V aux , calculate and obtain the safety task network allocation value Decision task network allocation value Communication task network allocation value and auxiliary task network assignment values in, Using the formula Calculate the network resource allocation ratios for security tasks, decision-making tasks, communication tasks, and auxiliary tasks respectively i=1, 2, 3, 4; and It represents the network resource allocation ratio of security task, decision task, communication task and auxiliary task respectively.
[0056] Get the adjustment coefficient combination k j The swarm optimization algorithm used is the genetic algorithm.
[0057] Obtain adjustment coefficient combination k through genetic algorithm j The specific operations are as follows:
[0058] Step 1: Set the population size, randomly generate x candidate coefficient combinations, each adjustment coefficient in the adjustment coefficient combination is between 0 and 1, and form the randomly generated candidate coefficient combinations into the initial population. At the same time, set the maximum number of iterations;
[0059] Step 2: For any candidate coefficient combination, use the formula Calculate the fitness F of the candidate coefficient combination, where D represents the average processing delay of each task when the candidate coefficient combination is applied for resource allocation; R represents the resource utilization rate when the candidate coefficient combination is applied for resource allocation; ω1 and ω2 are weight coefficients. This formula indicates that the lower the average processing delay of each task and the higher the resource utilization rate for resource allocation, the better the performance of the candidate coefficient combination.
[0060] Step 3: Select the candidate coefficient group with the highest current fitness as the elite individual for the current iteration; then apply the roulette wheel selection method to all candidate coefficient combinations excluding the elite individuals, and select the corresponding number of candidate coefficient combinations with the best fitness performance according to the preset selection ratio, and form the selected candidate coefficient combinations into the selection individual set;
[0061] Step 4: Apply the preset crossover probability to perform a crossover operation on the candidate coefficient combinations in the selected individual set to generate a corresponding number of new candidate coefficient combinations, and form the obtained new candidate coefficient combinations into a crossover individual set; randomly select candidate coefficient combinations from the crossover individual set, and make small adjustments to the candidate coefficient combinations according to the preset mutation probability to obtain a mutation individual set;
[0062] Step 5: Merge the selected individual set and the mutated individual set to obtain the merged individual set, calculate the fitness of all candidate coefficient combinations in the merged individual set, and use the x-1 candidate coefficient combinations with the best fitness performance in the merged individual set and the selected elite individuals as the new generation population;
[0063] Step 6: Repeat steps 3 to 5 to iteratively update the population until the maximum number of iterations is reached, and use the candidate coefficient combination with the highest fitness in the last generation of the population as the adjustment coefficient combination k j .
[0064] Example 2, a computer-based network dynamic optimization system, such as Figure 1 As shown, including:
[0065] The environmental assessment module includes a data monitoring unit and a calculation unit. The data monitoring unit is used to obtain the vehicle's current environmental data at any monitoring time point during the unmanned vehicle's driving process. The environmental data includes network status data, vehicle speed data, and vehicle data on the observed road section. The calculation unit is used to calculate the network quality performance value, vehicle speed performance value, and road congestion level value based on the obtained environmental data.
[0066] The task weight evaluation module includes an adjustment coefficient combination acquisition unit and a priority weight value calculation unit; the adjustment coefficient combination acquisition unit is used to obtain the adjustment coefficient combination k using a group optimization algorithm jThe priority weight value calculation unit is used for the safety tasks, decision-making tasks, communication tasks and auxiliary tasks performed by the vehicle, by obtaining the network quality performance value, vehicle speed performance value and road congestion value, and applying the obtained adjustment coefficient combination k j , respectively calculate the priority weight value of the safety task, the priority weight value of the decision task, the priority weight value of the communication task and the priority weight value of the auxiliary task;
[0067] The resource allocation module includes a resource allocation ratio calculation unit, a computing resource allocation unit and a network resource allocation unit; the resource allocation ratio calculation unit is used to further calculate the computing resource allocation ratio and network resource allocation ratio of each task based on the acquired security task priority weight value, decision task priority weight value, communication task priority weight value and auxiliary task priority weight value; the computing resource allocation unit is used to allocate computing resources according to the acquired computing resource allocation ratio of each task; and the network resource allocation unit is used to allocate network resources according to the acquired network resource allocation ratio of each task.
[0068] It should be understood that those skilled in the art may make improvements or modifications based on the above description, and all such improvements and modifications shall fall within the scope of protection of the appended claims. Any portion of this specification not described in detail is prior art known to those skilled in the art.
Claims
1. A method for dynamic network optimization of computer architecture, characterized in that: include: At any monitoring time point during the driving process of the unmanned vehicle, the vehicle's current environmental data is obtained. The environmental data includes network status data, vehicle speed data, and vehicle data of the observed road section; based on the obtained environmental data, the network quality performance value, vehicle speed performance value, and road congestion value are calculated; Use the swarm optimization algorithm to obtain the adjustment coefficient combination k j , j = 1, 2, ..., 6; For the safety tasks, decision-making tasks, communication tasks and auxiliary tasks performed by the vehicle, the obtained network quality performance value, vehicle speed performance value and road congestion value are obtained, and the obtained adjustment coefficient combination k is applied at the same time. j , respectively calculate the priority weight value of the safety task, the priority weight value of the decision task, the priority weight value of the communication task and the priority weight value of the auxiliary task; Based on the obtained security task priority weight value, decision task priority weight value, communication task priority weight value and auxiliary task priority weight value, the computing resource allocation ratio and network resource allocation ratio of each task are further calculated; the computing resource allocation ratio and network resource allocation ratio of each task obtained are applied to allocate computing resources and network resources respectively.
2. A method for dynamic network optimization of a computer architecture according to claim 1, characterized in that: The network quality performance value, vehicle speed performance value, and road congestion value are calculated based on the acquired environmental data. The specific operations are as follows: Based on the bandwidth, delay, and packet loss rate in the currently acquired network status data, a standard bandwidth range, a standard delay range, and a standard packet loss rate range are set; based on the standard bandwidth range, the standard delay range, and the standard packet loss rate range, the currently acquired bandwidth, delay, and packet loss rate are linearly mapped to a range of 0 to 1, and a bandwidth normalization value a, a delay normalization value b, and a packet loss rate normalization value c are obtained. Then, a network quality performance value Q is calculated using the formula Q = 0.3a + 0.3(1-b) + 0.4(1-c); Based on the currently acquired vehicle speed data, a standard vehicle speed range is set, and based on the standard vehicle speed range, the currently acquired vehicle speed is linearly mapped to a range of 0 to 1 to obtain a vehicle speed performance value S; Based on the currently acquired observation section vehicle data, which represents the number of vehicles in the fixed-length observation section where the vehicle is currently located, a standard number range is set, and the currently acquired number of vehicles is mapped to the range of 0 to 1 based on the standard number range to obtain the road congestion value T.
3. The method for dynamic network optimization of a computer architecture according to claim 2, characterized in that: By obtaining the network quality performance value, vehicle speed performance value and road congestion value, the obtained adjustment coefficient combination k is applied at the same time j , respectively calculate the priority weight value of the safety task, the priority weight value of the decision task, the priority weight value of the communication task and the priority weight value of the auxiliary task. The specific operations are as follows: Based on the obtained network quality performance value Q, vehicle speed performance value S and road congestion value T, for the safety task, use formula V sec =1+k1S+k2T to calculate the security task priority weight value V sec , where k1 and k2 are the first adjustment coefficient and the second adjustment coefficient respectively, and k1 and k2 respectively represent the impact of vehicle speed and road congestion on the safety task; For decision-making tasks, use formula V dec =1+k3S+k4T Calculate and obtain the decision task priority weight value V dec , where k3 and k4 are the third adjustment coefficient and the fourth adjustment coefficient respectively, and k3 and k4 respectively represent the influence of vehicle speed and road congestion on the decision-making task; For communication tasks, use formula V comm =1+k5Q+k6S calculates the communication task priority weight value V comm , where k5 and k6 are the fifth and sixth adjustment coefficients respectively, and k5 and k6 respectively represent the degree of influence of network quality and vehicle speed on the communication task; For auxiliary tasks, the auxiliary task priority weight value V aux Always 1.
4. A method for dynamic network optimization of a computer architecture according to claim 3, characterized in that: The specific operations for calculating the computing resource allocation ratio of each task are as follows: For the allocation of computing resources, the initial computing allocation value of the security task is set to 4, the initial computing allocation value of the decision task is set to 3, the initial computing allocation value of the communication task is set to 2, and the initial computing allocation value of the auxiliary task is set to 1; then based on the obtained security task priority weight value V sec , decision-making task priority weight value V dec , Communication task priority weight value V comm and auxiliary task priority weight value V aux , calculate and obtain the safety task calculation allocation value Decision task calculation assignment value Communication task calculation allocation value and auxiliary tasks to calculate the distribution value in, Using the formula Calculate the computing resource allocation ratio of security tasks, decision tasks, communication tasks and auxiliary tasks respectively and It represents the computing resource allocation ratio of security task, decision task, communication task and auxiliary task respectively.
5. The method for dynamic network optimization of a computer architecture according to claim 4, characterized in that: The specific operations for calculating the network resource allocation ratio of each task are as follows: For the allocation of network resources, the initial network allocation value of the security task is set to 3, the initial network allocation value of the decision task is set to 2, the initial network allocation value of the communication task is set to 4, and the initial network allocation value of the auxiliary task is set to 1; based on the obtained security task priority weight value V sec , decision-making task priority weight value V dec , Communication task priority weight value V comm and auxiliary task priority weight value V aux , calculate and obtain the safety task network allocation value Decision task network allocation value Communication task network allocation value and auxiliary task network assignment values in, Using the formula Calculate the network resource allocation ratios for security tasks, decision-making tasks, communication tasks, and auxiliary tasks respectively and It represents the network resource allocation ratio of security task, decision task, communication task and auxiliary task respectively.
6. A method for dynamic network optimization of computer architecture according to claim 5, characterized in that: Get the adjustment coefficient combination k j The swarm optimization algorithm used is the genetic algorithm.
7. A method for dynamic network optimization of a computer architecture according to claim 6, characterized in that: Obtain adjustment coefficient combination k through genetic algorithm j The specific operations are as follows: Step 1: Set the population size, randomly generate x candidate coefficient combinations, each adjustment coefficient in the adjustment coefficient combination is between 0 and 1, and form the randomly generated candidate coefficient combinations into the initial population. At the same time, set the maximum number of iterations; Step 2: For any candidate coefficient combination, use the formula Calculate the fitness F of the candidate coefficient combination, where D represents the average processing delay of each task when the candidate coefficient combination is applied for resource allocation; R represents the resource utilization rate when the candidate coefficient combination is applied for resource allocation; ω1 and ω2 are weight coefficients. This formula indicates that the lower the average processing delay of each task and the higher the resource utilization rate for resource allocation, the better the performance of the candidate coefficient combination. Step 3: Select the candidate coefficient group with the highest current fitness as the elite individual for the current iteration; then apply the roulette wheel selection method to all candidate coefficient combinations excluding the elite individuals, and select the corresponding number of candidate coefficient combinations with the best fitness performance according to the preset selection ratio, and form the selected candidate coefficient combinations into the selection individual set; Step 4: Apply the preset crossover probability to perform a crossover operation on the candidate coefficient combinations in the selected individual set to generate a corresponding number of new candidate coefficient combinations, and form the obtained new candidate coefficient combinations into a crossover individual set; randomly select candidate coefficient combinations from the crossover individual set, and make small adjustments to the candidate coefficient combinations according to the preset mutation probability to obtain a mutation individual set; Step 5: Merge the selected individual set and the mutated individual set to obtain the merged individual set, calculate the fitness of all candidate coefficient combinations in the merged individual set, and use the x-1 candidate coefficient combinations with the best fitness performance in the merged individual set and the selected elite individuals as the new generation population; Step 6: Repeat steps 3 to 5 to iteratively update the population until the maximum number of iterations is reached, and use the candidate coefficient combination with the highest fitness in the last generation of the population as the adjustment coefficient combination k j .
8. A computer-based network dynamic optimization system, characterized in that: The system is applied to a method for dynamic network optimization of a computer architecture as described in any one of claims 1 to 7, comprising: The environmental assessment module includes a data monitoring unit and a calculation unit. The data monitoring unit is used to obtain the vehicle's current environmental data at any monitoring time point during the unmanned vehicle's driving process. The environmental data includes network status data, vehicle speed data, and vehicle data on the observed road section. The calculation unit is used to calculate the network quality performance value, vehicle speed performance value, and road congestion level value based on the obtained environmental data. The task weight evaluation module includes an adjustment coefficient combination acquisition unit and a priority weight value calculation unit; the adjustment coefficient combination acquisition unit is used to obtain the adjustment coefficient combination k using a group optimization algorithm j The priority weight value calculation unit is used for the safety tasks, decision-making tasks, communication tasks and auxiliary tasks performed by the vehicle, by obtaining the network quality performance value, vehicle speed performance value and road congestion value, and applying the obtained adjustment coefficient combination k j , respectively calculate the priority weight value of the safety task, the priority weight value of the decision task, the priority weight value of the communication task and the priority weight value of the auxiliary task; The resource allocation module includes a resource allocation ratio calculation unit, a computing resource allocation unit and a network resource allocation unit; the resource allocation ratio calculation unit is used to further calculate the computing resource allocation ratio and network resource allocation ratio of each task based on the acquired security task priority weight value, decision task priority weight value, communication task priority weight value and auxiliary task priority weight value; the computing resource allocation unit is used to allocate computing resources according to the acquired computing resource allocation ratio of each task; and the network resource allocation unit is used to allocate network resources according to the acquired network resource allocation ratio of each task.
Citation Information
Patent Citations
Unmanned driving control method and device and server
CN110688920A
Task scheduling for agent prediction
US20220027193A1