A utility maximization resource allocation method for Internet of Vehicles network slicing

Through the network slicing resource allocation method for the Internet of Vehicles and the double Sigmoid particle swarm algorithm of the dynamic memory library, the problem of limited resources of vehicle-mounted mobile terminal equipment is solved, maximizing network utility and improving service quality in resource allocation in the Internet of Vehicles system. .

CN118368643BActive Publication Date: 2024-09-24NANJING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410790578.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-09-24
Estimated Expiration
2044-06-19

AI Technical Summary

Technical Problem

The cache and computing resources of vehicle-mounted mobile terminal equipment are limited, making it difficult to meet the service quality requirements of diversified Internet of Vehicles services. The traditional physical networking method leads to high operating costs and difficult network operation and maintenance. How to provide differentiation and service under limited resources? Diversity service quality becomes a challenge.

Method used

Propose a utility-maximizing resource allocation method for Internet of Vehicles network slicing, define the network utility function, and combine it with the double-Sigmoid particle swarm algorithm of the dynamic memory library. By obtaining vehicle business communication parameters, a resource allocation model is established, and the penalty function method is used to handle constraints. Conditions, the double-Sigmoid function particle swarm algorithm based on the dynamic memory library solves the optimal network slice resource allocation.

Benefits of technology

It achieves the maximum network utility of resource allocation in the Internet of Vehicles system, reduces the standard deviation of algorithm solution results, solves the problem of uneven transition of search capabilities in the early and late stages of the traditional particle swarm algorithm, shortens the algorithm calculation time, and improves network utility. and resource utilization efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118368643B
    Figure CN118368643B
Patent Text Reader

Abstract

The present invention discloses a utility maximization resource allocation method for Internet of Vehicles network slices. Aiming at the vehicle service resource allocation problem under the Internet of Vehicles system, combined with network slicing technology, taking into account the influence of different Internet of Vehicles service rates, delays and vehicle mobility on network utility, a network slice resource allocation model based on the Internet of Vehicles system is constructed with the goal of maximizing network utility. A dual sigmoid function particle swarm optimization algorithm (MBDS‑PSO) based on dynamic memory is proposed, which enhances the global and local search capabilities of the algorithm, reduces the standard deviation of the algorithm solution results, solves the problem of non-smooth transition of the front and back search capabilities of the traditional particle swarm algorithm and some improved algorithms, and achieves the shortening of the algorithm operation time under the same time complexity while being able to bring higher network utility to the system in the resource allocation process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to a utility maximization resource allocation method for Internet of Vehicles network slicing, and belongs to the technical field of Internet of Vehicles. Background Art

[0002] With the development of artificial intelligence, automobile intelligence has become a new direction for the development of the automobile and intelligent industries. At the same time, the Internet of Vehicles is an important part of future intelligent transportation. Vehicles can communicate with other road users and infrastructure using Internet of Vehicles technology. As a key technology of 5G networks, network slicing can be tailored to the emergence of more and more types of Internet of Vehicles services, thereby providing better services.

[0003] In recent years, with the advent of the fifth-generation mobile communication system era, many industries have undergone profound technological changes, especially in the automotive field. With the rapid growth of mobile data, the number of Internet of Vehicles services and user density have increased by dozens of times, which requires the on-board mobile terminal communication equipment to ensure the differentiated and diversified service quality requirements between various services while processing massive business data. However, at present, the cache resources and computing resources of on-board mobile terminal equipment are limited, and it is difficult to put all the data on the terminal equipment for users to use, which increases costs and makes it difficult to ensure service quality. At the same time, the communication entity that establishes a business relationship with the vehicle will also face similar problems. How to provide differentiated and diverse service quality for vehicle users under the condition of limited resources has become a challenge. If the traditional physical networking method is still used, it will bring huge operating costs and network operation and maintenance difficulties. In response to the above problems, network slicing technology came into being. It can divide the integrated physical network into multiple functionally independent logical networks to provide specific services for different business scenarios. According to the specific needs of different services, network slicing technology can efficiently allocate resources. For technologies such as V2X that have many industry applications, network slicing can provide them with more professional and optimized network services. However, research on how to use 5G network slicing for resource allocation and service matching in V2X is still in progress. Summary of the invention

[0004] The present invention provides a utility maximization resource allocation method and system for Internet of Vehicles network slicing. To meet the differentiated and diversified service requirements of Internet of Vehicles services, a network utility function is defined, which takes into account the impact of vehicle mobility on network utility while taking into account transmission rate and latency, and proposes a double sigmoid particle swarm algorithm based on a dynamic memory library. The dynamic memory library increases the diversity of the group by maintaining a dynamically updated memory library, effectively avoiding the algorithm from falling into the local optimal problem too early. The double sigmoid function updates the inertia weight factor to solve the problem of uneven transition between the front and back ends of the algorithm.

[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is:

[0006] A utility maximization resource allocation method for Internet of Vehicles network slices, characterized by:

[0007] Obtain communication parameters for different vehicle services;

[0008] A resource allocation model is established according to different vehicle service communication parameters with the goal of maximizing network utility, and the maximum value of the network slice resource allocation amount is solved according to the resource allocation model;

[0009] Using the penalty function method to process the constraint conditions of the resource allocation model, and solving the minimum value of the network slice resource allocation amount;

[0010] The maximum and minimum values ​​of the network slice resource allocation are input into the double sigmoid function particle swarm algorithm based on the dynamic memory library to solve the optimal network slice resource allocation.

[0011] Furthermore, different vehicle service communication parameters include:

[0012] R i represents the transmission rate required by the i-th vehicle, S i (R i ) represents the transmission rate of the i-th vehicle, T i (R i ) represents the maximum delay expected by the i-th vehicle.

[0013] Furthermore, a method for establishing a resource allocation model with the goal of maximizing network utility according to different vehicle service communication parameters is as follows:

[0014] The area is covered by different base stations, I vehicle users and N network slices, I = {1,2,...,i}, N = {1,2,...,n}, and the vehicle users in the area are served by different network slices according to different needs;

[0015] Define the function of the relationship between transmission rate and resource allocation:

[0016] Where η represents the resource block utilization, B represents the bandwidth of each resource block, and P i is the vehicle’s transmitting power, G i (R i )=G base ·k·R i , where G base It describes the signal reception gain when no resource blocks are allocated; k describes the amount of signal gain increase for each additional resource block; N o is the noise power spectral density;

[0017] Define the relationship function between latency and resource allocation:

[0018] Among them, T prop is the transmission delay, T queue (R i ) is the queuing delay caused by limited resource blocks, T process is the processing delay, D required,i is the amount of data that vehicle i needs to transmit within the time window T;

[0019] Constructing utility function: The utility function calculation formula of user i is as follows:

[0020] U i =p i (αlog(1+S i (R i ))-βT i (R i ))-λm i (R i );

[0021] The priority is obtained by introducing a priority weight p i To reflect, the weight reflects the service priority of different vehicle users, α, β are weight parameters, λ is the weight parameter for adjusting the impact of mobility on utility; m i (R i ) represents the impact of vehicle mobility on network utility, m i (R i ) is calculated as:

[0022]

[0023] Among them, v crit is the critical speed value, k is a positive proportional constant, v crit and k determine the effect of velocity change on m i (R i ) sensitivity;

[0024] The network utility maximization objective function is defined as:

[0025]

[0026] Furthermore, the constraints of the resource allocation model include:

[0027] Constraint 1: Indicates that the resource demand of a single vehicle network service cannot exceed the total resources of the system;

[0028] Constraint 2: S i(R i )≤S max Indicates that the transmission rate of a single Internet of Vehicles service cannot exceed the maximum transmission rate;

[0029] Constraint 3: T i (R i )≤T max,i Indicates that the delay of a single Internet of Vehicles service cannot exceed the maximum tolerable delay;

[0030] Constraint 4: P i ≤P max Indicates that the transmit power cannot exceed the maximum transmit power;

[0031] Constraint 5: Indicates that there is communication interference between different vehicles. To ensure communication quality, the interference cannot exceed the interference threshold;

[0032] Where, L(d) = L0 + 10ηlog 10 (d)+X δ , L(d) represents the path loss at distance d (dB), L0 is the path loss at the reference distance, η is the path loss exponent, X δ is a random variable, which indicates the randomness of signal attenuation due to multipath, obstruction and other influencing factors, and its standard deviation is δ.

[0033] Furthermore, the method of using the penalty function method to process the constraint conditions of the resource allocation model is:

[0034] Execute the dynamic penalty function coefficient strategy, the penalty function factor is:

[0035]

[0036] Among them, θ min is the minimum value of the penalty function factor, θ max is the maximum value of the penalty function factor, t represents the current number of iterations, T represents the maximum number of iterations, and f infeasible represents the proportion of infeasible solutions in the population, f threshold Represents the threshold value set for the proportion of infeasible solutions in the population;

[0037] The penalty function Φ(x) is defined as:

[0038] Φ(x)=θ(t)(∑ constraints max(0,constraints(x)) 2 )

[0039] Among them, constraints(x) is used to determine whether the constraints are violated or satisfied:

[0040]

[0041] constraint2(x)=max(0,S i (R i )-S max )

[0042] constraint3(x)=max(0,T i (R i )-T max,i )

[0043] constraint4(x)=max(0,P i -P max )

[0044]

[0045] If constraints(x) returns a non-negative value, it means the constraint is violated, and if the value is 0, it means the constraint is satisfied;

[0046] The optimization problem expression is as follows:

[0047]

[0048] Furthermore, the method for solving the optimal network slice resource allocation using the double sigmoid function particle swarm algorithm based on the dynamic memory library is as follows:

[0049] The double sigmoid function optimizes the inertia weight calculation as follows:

[0050]

[0051] t start represents the initial iteration, t end Indicates the end stage of the iteration, k1, k2 represent the double sigmoid function slope control constants, which are used to control the steepness of the two sigmoid functions, w max Indicates the maximum inertia weight, w min Indicates the minimum value of inertia weight. ;

[0052] The improved double sigmoid particle swarm MBDS-PSO algorithm based on dynamic memory bank is used to run the solution;

[0053] Initialize the algorithm parameters. The number of particles in the initial population is the same as the number of network slices, both N. Each particle represents a network slice. The initial memory capacity is MBS init , maximum memory capacity MBS max, set the maximum number of iterations T; set the algorithm learning factors c1, c2, c1 controls the tendency of particles to follow their own historical best position, a higher c1 value will encourage particles to rely more on their own experience; c2 controls the tendency of particles to follow the historical best position of the entire group, a higher c2 value will encourage particles to move more towards the optimal solution known to the group; set the maximum inertia weight w max and the minimum value w min , set the Sigmoid function slope control constants k1, k2, and the maximum value x of the network slice resource allocation max and the minimum value x min , the maximum particle velocity v max and the minimum value v min ;

[0054] Initialize individual and global optimal positions and values;

[0055] Iterate all particles, calculate the current function value of each particle, and update the individual and global optimal positions and values.

[0056] After updating the individual and global optimal positions, the algorithm adjusts the speed and position of each particle according to the inertia weight factor calculated by the current Sigmoid function and the learning factors c1 and c2;

[0057] After the speed and position are updated, boundary conditions are processed to ensure that the particle does not leave the search space; this is achieved by resetting the speed or position that exceeds the boundary to its boundary value;

[0058] Memory update: evaluate the global optimal solution of the current iteration and try to update the memory. If the optimal solution is not updated in several consecutive iterations, increase the memory capacity and add more alternative solutions. If a significantly better solution is found, reduce the memory capacity and eliminate some low-quality solutions.

[0059] Use the roulette wheel method to select solutions based on their quality and diversity, and update the particle's position information to be a randomly selected high-quality solution from the memory bank;

[0060] Record the global optimal values ​​of all generations, find the final global optimal value, and record the number of iterations.

[0061] Calculate the standard deviation of the algorithm solution and output the optimal network slice resource allocation.

[0062] Accordingly, the present invention also provides a utility maximization resource allocation system for Internet of Vehicles network slicing, comprising:

[0063] Communication parameter module, used to obtain communication parameters of different vehicle services;

[0064] Resource allocation module, used to solve the maximum value of network slice resource allocation;

[0065] A penalty function method module, used to process the constraint conditions of the resource allocation model and solve the minimum value of the network slice resource allocation amount;

[0066] The dual sigmoid function particle swarm algorithm module based on the dynamic memory library is used to input the maximum and minimum values ​​of the network slice resource allocation to solve the optimal network slice resource allocation.

[0067] Furthermore, it also includes a computer-readable storage medium storing one or more programs, wherein the one or more programs include instructions, and when the instructions are executed by a computing device, the computing device executes any one of the above methods.

[0068] Furthermore, a computing device is also included, the computing device comprising:

[0069] One or more processors, one or more memories, and one or more programs, wherein the one or more programs are stored in the one or more memories and are configured to be executed by the one or more processors, and the one or more programs include instructions for executing any of the methods described above.

[0070] The beneficial effects achieved by the present invention are:

[0071] This invention aims at the problem of vehicle service resource allocation in the Internet of Vehicles system, combines network slicing technology, takes into account the impact of different Internet of Vehicles service rates, delays and vehicle mobility on network utility, and aims to maximize network utility, and constructs a network slicing resource allocation model based on the Internet of Vehicles system. A dual sigmoid function particle swarm optimization algorithm (MBDS-PSO) based on a dynamic memory library is proposed, which enhances the global and local search capabilities of the algorithm, reduces the standard deviation of the algorithm solution results, solves the problem of the traditional particle swarm algorithm and some improved algorithms for the smooth transition of the front and back search capabilities, and achieves the same time complexity. At the same time, it can shorten the algorithm operation time and bring higher network utility to the system in the resource allocation process. BRIEF DESCRIPTION OF THE DRAWINGS

[0072] Figure 1 Schematic diagram of the Internet of Vehicles network slicing system model. DETAILED DESCRIPTION

[0073] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.

[0074] like Figure 1As shown, the present invention considers a road area, which is covered by different base stations, I vehicle users and N network slices, represented by I = {1, 2, ..., i} and N = {1, 2, ..., n} respectively. The vehicle users in the area are served by different network slices according to different needs, such as Figure 1 As shown, vehicle users, slices, and base stations constitute a vehicle networking system based on network slicing.

[0075] The problem to be solved by the present invention is to establish a network slice resource allocation model in the context of the Internet of Vehicles with the goal of maximizing network utility based on the differences in the types of Internet of Vehicles services and vehicle mobility, and to use the penalty function method to handle the constraints and adopt an improved particle swarm algorithm to solve the problem. The execution steps are as follows:

[0076] Step 1: Collect differentiated business communication requirements of different vehicles;

[0077] Step 2: Establish a resource allocation model with the goal of maximizing network utility, and express the necessary parameters;

[0078] Step 3: Use penalty function method to deal with constraints;

[0079] Step 4: Use the double sigmoid function particle swarm algorithm based on dynamic memory library to solve the optimization problem.

[0080] For step one, the differentiated business communication requirements of different vehicles are collected, and the data set comes from vehicle sensors.

[0081] For step 2, the resource allocation model established with the goal of maximizing network utility expresses the necessary parameters. The steps are as follows:

[0082] 1. The vehicle user communicates with the road test unit and is connected by the corresponding slice, R i represents the transmission rate required by the i-th vehicle, S i (R i ) represents the transmission rate of the i-th vehicle, T i (R i ) represents the maximum delay expected by the i-th vehicle.

[0083] 2. Based on R i Calculating vehicle service rates and delays can ensure that network resources are allocated according to actual needs. This precise resource allocation method can effectively match the specific needs of various types of Internet of Vehicles services, thereby improving resource utilization efficiency and user experience. i The model allows network resource allocation to be highly dynamic and adaptable based on the real-time needs of vehicles and network conditions.

[0084] 3. Si (R i ) represents the relationship between transmission rate and resource allocation. Generally, when more network resources are allocated to a vehicle, its transmission rate will also increase. Therefore, S i (R i ) is a i The function that increases with increasing is defined as follows:

[0085]

[0086] Where η represents the resource block utilization rate, and the common value range is 0.7 to 0.9, B represents the bandwidth of each resource block, and P i is the vehicle’s transmitting power, N o is the noise power spectral density, G i (R i ) is the gain due to the increase in resource blocks.

[0087] 4. For G i (R i ) is as follows: This is a nonlinear function, and the specific calculation formula is G i (R i )=G base ·k·R i , where G base It describes the signal receiving gain when no resource blocks are allocated. In fact, it includes factors such as antenna gain and path loss compensation. For vehicle-mounted antennas, the gain is usually in the range of 3-6dBi. k describes the amount of signal gain increase for each additional resource block. Adding resource blocks may provide more time and frequency resources, thereby increasing signal gain. This value generally fluctuates in the range of 0.1-2dB / resource block.

[0088] 5. T i (R i ) represents the relationship between latency and resource allocation. Latency is usually related to the network congestion level and resource allocation. When a vehicle obtains sufficient network resources, its data transmission latency may be reduced because data packets can be transmitted and processed faster. Therefore, T i (R i ) is a i The function of increasing and decreasing, the delay is usually related to the number of resources, queuing, etc., and is defined as follows:

[0089]

[0090] Among them, T prop is the transmission delay, T queue (R i ) is the queuing delay caused by limited resource blocks, Tprocess is the processing delay, D required,i is the amount of data that vehicle i needs to transmit within the time window T.

[0091] 6. Combined with different Internet of Vehicles application scenarios, the priority, latency and transmission rate requirements of vehicle users and vehicle mobility are comprehensively considered to achieve the effect of improving fairness. The utility function can be used to measure the benefits of resource allocation. The utility function calculation formula of user i is as follows:

[0092] U i =p i (αlog(1+S i (R i ))-βT i (R i ))-λm i (R i )

[0093] 7. The utility function formula for user i is as follows: The priority of the Internet of Vehicles service is determined by introducing a priority weight p i The weight reflects the service priority of different vehicle users. The priority weight range is [0,1]. α and β are weight parameters used to adjust the importance of transmission rate and transmission delay in system utility according to different vehicle network service requirements. The value range is [0,1]. In addition, vehicle mobility may affect the connection quality between the vehicle and the base station, so it is necessary to introduce a time-related dynamic parameter m i (R i ) is used to describe the impact of vehicle movement on system utility at a specific time, and λ is a weight parameter that adjusts the impact of mobility on utility. i (R i ) is calculated as:

[0094]

[0095] 8. For dynamic parameter m i (R i ) is calculated as follows: crit represents a critical speed value. When the vehicle speed is lower than this value, its mobility has little impact on the network; when the speed is higher than this value, the impact increases rapidly. k is a positive proportional constant that determines the impact of speed change on m i (R i ). This calculation formula can reflect the change of the impact of vehicle speed on its mobility nonlinearly by using the logistic function. This function form can well simulate the phenomenon that the impact of mobility on network connection stability increases sharply near a certain speed point.

[0096] 9. The solution goal of the model of the present invention is to maximize the network utility in the resource allocation process. Therefore, after determining the utility calculation formula for a single user, the optimization goal is as follows:

[0097]

[0098] 10. The constraints of this optimization problem are described as follows: Constraint 1: Indicates that the resource demand of a single vehicle network service cannot exceed the total system resources; Constraint 2: S i (R i )≤S max Indicates that the transmission rate of a single Internet of Vehicles service cannot exceed the maximum transmission rate; Constraint 3: T i (R i )≤T max,i Indicates that the delay of a single Internet of Vehicles service cannot exceed the maximum tolerable delay; Constraint 4: P i ≤P max Indicates that the transmit power cannot exceed the maximum transmit power; Constraint 5: Indicates that there is communication interference between different vehicles. To ensure communication quality, the interference cannot exceed the interference threshold. Where L(d) = L0 + 10ηlog 10 (d)+X δ , L(d) represents the path loss (dB) at a distance of d, L0 is the path loss at a reference distance, usually the path loss at 1m, and η is the path loss exponent, which reflects the rate at which signal strength decays as the distance increases. In an urban environment, the value is between 2 and 4. δ is a random variable that represents the randomness of signal attenuation due to multipath, obstruction and other influencing factors. It is usually a zero-mean Gaussian random variable with a standard deviation of δ.

[0099] 11. The establishment of the above mathematical model has the following characteristics: 1. Comprehensive consideration of differentiated needs: Different businesses may have different latency and transmission rate requirements, and different Internet of Vehicles services (such as emergency vehicle communications, regular data transmission, entertainment content download, etc.) may be given different priorities. For example, emergency services may have a higher priority. 2. Improving fairness: Maximizing the weighted sum of user priorities can help improve the fairness of resource allocation. Users with higher priorities will receive more attention in resource allocation, thereby avoiding the situation where some users are ignored due to lower demand. 3. Considering the impact of actual vehicle mobility on network utility: Vehicle mobility is introduced into the network utility calculation, and the mobility factor m is directly subtracted. i (R i) can be understood as a penalty for potential instability or degradation of connection quality caused by high vehicle mobility. That is, if a vehicle has high mobility, it may frequently change base stations, resulting in decreased network utility. In this case, the potential negative impact is subtracted, and this design is intended to encourage system optimization to allocate resources more favorably to vehicles with lower mobility (i.e., more stable).

[0100] For step three, the penalty function method is used to handle the constraints. The steps are as follows:

[0101] 1. Since choosing a suitable penalty function coefficient is often a challenge, because this value is highly dependent on the specific optimization problem and is not easy to determine. In order to meet this challenge, the present invention adopts a dynamic penalty function coefficient strategy. This strategy adjusts the penalty function coefficient according to the proportion of feasible solutions in the population and the progress of evolution. In the early stages of evolution, implementing a lower penalty function coefficient can promote the exploration ability of the population. In the later stages of evolution, or when the proportion of feasible solutions in the population exceeds a predetermined threshold, increasing the penalty function coefficient is conducive to enhancing the utilization ability and convergence speed of the population. This method helps to strike a balance between exploration and utilization.

[0102] 2. The penalty function factor of the present invention is calculated as follows:

[0103]

[0104] where θ min ,θ max are the minimum and maximum values ​​of the penalty function factor. The minimum value is usually in the range of [0.0001, 1], and the maximum value is in the range of [100, 1000000]. t represents the current number of iterations, T represents the maximum number of iterations, and f infeasible ,f threshold It represents the proportion of infeasible solutions in the population and the threshold set for the proportion of infeasible solutions.

[0105] 3. The penalty function Φ(x) of the present invention is defined as:

[0106] Φ(x)=θ(t)(∑ constraints max(0,constraints(x)) 2 )

[0107] Among them, constraints(x) is used to determine whether the constraints are violated or satisfied.

[0108] 4. Expand the terms in the penalty function: Used to detect whether the resource constraint meets the conditions; constraint2(x)=max(0,S i (R i )-Smax ) is used to detect whether the transmission rate constraint meets the conditions; constraint3(x)=max(0,T i (R i )-T max,i ) is used to detect whether the delay constraint meets the conditions; constraint4(x)=max(0,P i -P max ) is used to detect whether the power constraint meets the conditions;

[0109] Used to detect whether the communication interference between vehicles meets the constraint conditions.

[0110] 5. If constraints(x) returns a non-negative value, it means that the constraint is violated. If the value is 0, it means that the constraint is satisfied. Since the objective function of the present invention is to maximize the network utility, the factor should take the minimum value after using the penalty function method, that is, the optimization problem expression is as follows:

[0111]

[0112] For step 4, a double sigmoid function particle swarm algorithm based on a dynamic memory library is used to solve the optimization problem after processing. The steps are as follows:

[0113] 1. The optimization performance of the particle swarm algorithm depends largely on the setting of its inertia weight. However, the traditional particle swarm algorithm applies a unified inertia weight value in the calculation process, ignoring the differences between different particles.

[0114] 2. Generally speaking, as the number of iterations increases, the adaptive inertia weight value decreases from the initial weight. The larger inertia weight in the early stage of iteration enables the algorithm to have a stronger global search capability, and the smaller inertia weight in the later stage of iteration is conducive to the algorithm to perform more accurate local search. The Sigmoid function provides a smoother transition from global search to local search. It helps to improve the convergence speed of the algorithm and the quality of the solution, and can effectively solve the problem of PSO falling into local optimality too early. However, the middle part of the single Sigmoid function may cause the inertia weight to change too quickly during the iteration process. Based on this, the present invention proposes a dual Sigmoid function to optimize the inertia weight. The calculation formula is as follows:

[0115]

[0116] 3. Among them, t start ,t endIt defines the initial and end stages of the iteration, while k1 and k2 control the steepness of the two Sigmoid functions, usually between [0.1, 2]. The dual Sigmoid function has stronger overall and local search capabilities. Specifically, in the early stages of optimization, the first Sigmoid function can be set to be relatively gentle to encourage exploration (global search). This helps the algorithm to explore the solution space more extensively and avoid falling into the local optimum too early. In the later stages, the steepness of the second Sigmoid function can be increased to encourage more detailed search (local search). This helps the algorithm to explore the area more deeply after finding a potential good area.

[0117] 4. The double sigmoid function provides two adjustable slope parameters (such as k1, k2), which allows the algorithm to be more accurately adjusted to different problem characteristics. This adaptive adjustment enables the algorithm to better cope with a variety of different types of optimization problems. Due to the lower steepness in the initial stage, the double sigmoid function helps the algorithm better avoid converging to the local optimal solution too early, thereby improving the robustness of the algorithm.

[0118] 5. The present invention also introduces a dynamic memory library into the particle swarm algorithm to save the high-quality solutions found in the past iterations of the particle swarm algorithm. These solutions can be regarded as "landmarks" in the search process, helping the new iteration process to avoid repeated invalid searches and quickly guide potential high-quality areas. In the algorithm iteration, the dynamic memory library is not blindly updated in each iteration, but evaluates the fitness of all new solutions generated. If the new solution is better than some solutions in the memory library, it is replaced. The dynamic nature of the proposed memory library is reflected in the addition of new high-quality solutions to the library if there is no improvement after multiple iterations, expanding the search basis, and if a significantly better solution is found, the library capacity is reduced and the old or lower-quality solutions are eliminated. By dynamically introducing historical excellent solutions as references, the algorithm can explore areas that were ignored or not fully explored by early iterations, especially when the algorithm may fall into a local optimum, these historical excellent solutions can provide a new direction to jump out of the local optimum.

[0119] 6. The Internet of Vehicles network slice resource allocation problem proposed in the present invention is a nonlinear problem, and there may be multiple local optimal solutions. Each particle of the particle swarm algorithm represents a resource allocation scheme, and the fitness function value is the network utility value calculated based on the current particle. In the initial search stage of the algorithm, MBDS-PSO allows particles to move freely in a larger solution space, which helps the algorithm cover a wider range of resource allocation schemes and find multiple potential excellent solution areas. This ensures the diversity of understanding and increases the possibility of finding a better global solution. In the middle to late stages, MBDS-PSO fine-tunes the resource allocation strategy through local search. At this time, the algorithm focuses more on the discovered high-utility areas, conducts in-depth exploration of these areas, and further improves the service quality of each vehicle user by fine-tuning resource allocation (such as subdividing bandwidth, adjusting power allocation, etc.), reducing latency, and increasing transmission rate, thereby improving the overall network utility.

[0120] 7. The MBDS-PSO algorithm can dynamically adjust the search strategy based on the search results of the previous round. For example, if a resource allocation scheme leads to a significant improvement in network utility, the algorithm will tend to further explore and optimize based on this scheme, rather than blindly searching the solution space. This adjustment of inertia weights based on the double sigmoid function helps the algorithm allocate resources more effectively and optimize network performance.

[0121] 8. After determining the optimization objectives and algorithm improvement measures, use the improved MBDS-PSO algorithm to run the solution.

[0122] 9. Initialize the algorithm parameters. Initialize the number of particles in the group, set the initial capacity of the memory bank and the range of capacity variation, and set the maximum number of iterations. Set the algorithm learning factors c1 and c2. The former controls the tendency of particles to follow their own historical best positions. A higher c1 value will encourage particles to rely more on their own experience, while the latter controls the tendency of particles to follow the historical best positions of the entire group. A higher c2 value will encourage particles to move more toward the optimal solution known to the group, which will help the group as a whole move towards the global optimal solution. Set the maximum and minimum inertia weight w max ,w min , set the Sigmoid function slope control constants k1, k2.

[0123] 9. Initialize individual and global optimal positions and values.

[0124] 10. Calculate the current function value of the particle, thereby updating the individual and global optimal position and optimal value.

[0125] 11. After updating the individual and global optimal positions, the algorithm adjusts the speed and position of each particle according to the inertia weight factor calculated by the current Sigmoid function and the learning factors c1 and c2.

[0126] 12. After the speed and position are updated, each particle may exceed the predefined search space boundary. Therefore, boundary conditions are processed to ensure that the particles do not leave the search space. This is achieved by resetting the speed or position that exceeds the boundary to its boundary value.

[0127] 13. Memory update: evaluate the global optimal solution of the current iteration and try to update the memory. If the optimal solution is not updated in several consecutive iterations, increase the capacity of the memory (add more alternative solutions). If a significantly better solution is found, reduce the capacity of the memory and eliminate some low-quality solutions.

[0128] 14. Use the roulette wheel method to select based on the quality and diversity of the solution, and update the particle position information to the randomly selected high-quality solution in the memory bank.

[0129] 15. Repeat steps 10-14 until the algorithm reaches the maximum number of iterations.

[0130] 15. Record the global optimal values ​​of all generations, find the final global optimal value, and record the number of iterations.

[0131] 16. Calculate the standard deviation of the solution found by the algorithm.

[0132] The specific algorithm of the double sigmoid function particle swarm algorithm based on dynamic memory library is shown in the following table:

[0133]

[0134]

[0135] Accordingly, the present invention also provides a utility maximization resource allocation system for Internet of Vehicles network slicing, comprising:

[0136] Communication parameter module, used to obtain communication parameters of different vehicle services;

[0137] Resource allocation module, used to solve the maximum value of network slice resource allocation;

[0138] A penalty function method module, used to process the constraint conditions of the resource allocation model and solve the minimum value of the network slice resource allocation amount;

[0139] The dual sigmoid function particle swarm algorithm module based on the dynamic memory library is used to input the maximum and minimum values ​​of the network slice resource allocation to solve the optimal network slice resource allocation.

[0140] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

[0141] A computer-readable storage medium storing one or more programs, wherein the one or more programs include instructions, which, when executed by a computing device, enable the computing device to perform a utility-maximizing resource allocation method for network slicing of an Internet of Vehicles.

[0142] A computing device includes one or more processors, one or more memories, and one or more programs, wherein the one or more programs are stored in the one or more memories and are configured to be executed by the one or more processors, and the one or more programs include instructions for executing a utility maximization resource allocation method for network slicing of an Internet of Vehicles.

[0143] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0144] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0145] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0146] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0147] The above are merely embodiments of the present invention and are not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention are included in the scope of the claims of the present invention to be approved.

Claims

1. A utility maximization resource allocation method for Internet of Vehicles network slicing, characterized by: Obtain business communication parameters of different vehicles; A network slice resource allocation model is established based on the business communication parameters of different vehicles with the goal of maximizing network utility; Using a penalty function method to process the constraints of the network slice resource allocation model; The double sigmoid function particle swarm algorithm based on dynamic memory library solves the network slice resource allocation model after constraint processing and outputs the optimal network slice resource allocation plan; Among them, the method of solving the network slice resource allocation model after constraint processing by the double sigmoid function particle swarm algorithm based on the dynamic memory library is: The double sigmoid function optimizes the inertia weight calculation as follows: t start represents the initial iteration, t end Indicates the end stage of the iteration, k1, k2 represent the double sigmoid function slope control constants, which are used to control the steepness of the two sigmoid functions, w max Indicates the maximum inertia weight, w min Indicates the minimum inertia weight; The improved double sigmoid function particle swarm MBDS-PSO algorithm based on dynamic memory bank is used to run the solution; Initialize the algorithm parameters. The number of particles in the initial population is the same as the number of network slices, both N. Each particle represents a network slice. The initial memory capacity is MBS init , maximum memory capacity MBS max , set the maximum number of iterations T; set the algorithm learning factors c1, c2, c1 controls the tendency of particles to follow their own historical best position, a higher c1 value will encourage particles to rely more on their own experience; c2 controls the tendency of particles to follow the historical best position of the entire group, a higher c2 value will encourage particles to move more towards the optimal solution known to the group; set the maximum inertia weight w max and the minimum value w min , set the Sigmoid function slope control constants k1, k2, and the maximum value x of the network slice resource allocation max and the minimum value x min , the maximum particle velocity v max and the minimum value v min ; Initialize individual and global optimal positions and values; Iterate all particles, calculate the current function value of each particle, and update the individual and global optimal positions and values; After updating the individual and global optimal positions, the algorithm adjusts the speed and position of each particle according to the inertia weight factor calculated by the current Sigmoid function and the learning factors c1 and c2; After the speed and position are updated, boundary conditions are processed to ensure that the particle does not leave the search space; this is achieved by resetting the speed or position that exceeds the boundary to its boundary value; Memory update: evaluate the global optimal solution of the current iteration and try to update the memory. If the optimal solution is not updated in several consecutive iterations, increase the memory capacity and add more alternative solutions. If a significantly better solution is found, reduce the memory capacity and eliminate some low-quality solutions. Use the roulette wheel method to select solutions based on their quality and diversity, and update the particle's position information to be a randomly selected high-quality solution from the memory bank; Record the global optimal values ​​of all generations, find the final global optimal value, and record the number of iterations; Calculate the standard deviation of the algorithm solution and output the optimal network slice resource allocation plan.

2. The utility maximization resource allocation method for Internet of Vehicles network slicing according to claim 1 is characterized in that: The business communication parameters of different vehicles include: R i represents the transmission rate required by the i-th vehicle, S i (R i ) represents the transmission rate of the i-th vehicle, T i (R i ) represents the maximum delay expected by the i-th vehicle.

3. The utility maximization resource allocation method for Internet of Vehicles network slicing according to claim 2 is characterized in that: The method of establishing a network slice resource allocation model based on the business communication parameters of different vehicles with the goal of maximizing network utility is as follows: Assume that the area is covered by different base stations, composed of vehicle users I and network slices N, I = {1, 2, ..., i}, i is the number of vehicle users; N = {1, 2, ..., n}, n is the number of network slices; different needs of vehicle users in the area are served by different network slices; Define the function of the relationship between transmission rate and resource allocation: Where η represents the resource block utilization, B represents the bandwidth of each resource block, and P i is the vehicle’s transmission power, G i (R i )=G base ·k·R i , where G base It describes the signal reception gain when no resource blocks are allocated; k describes the amount of signal gain increase for each additional resource block; N o is the noise power spectral density; Define the relationship function between latency and resource allocation: Among them, T prop is the transmission delay, T queue (R i ) is the queuing delay caused by limited resource blocks, T process is the processing delay, D required,i is the amount of data that vehicle i needs to transmit within the time window T; Constructing utility function: The utility function calculation formula of user i is as follows: U i =p i (αlog(1+S i (R i ))-βT i (R i ))-λm i (R i ); The priority is obtained by introducing a priority weight p i To reflect, the weight reflects the service priority of different vehicle users, α, β are weight parameters, λ is the weight parameter for adjusting the impact of mobility on utility; m i (R i ) represents the impact of vehicle mobility on network utility, m i (R i ) is calculated as: Among them, v crit is the critical speed value, k is a positive proportional constant, v crit and k determine the effect of velocity change on m i (R i ) sensitivity; The network utility maximization objective function is defined as:

4. The utility maximization resource allocation method for Internet of Vehicles network slicing according to claim 3 is characterized in that: The constraints of the network slice resource allocation model include: Constraint 1: Indicates that the resource demand of a single vehicle network service cannot exceed the total resources of the system; Constraint 2: S i (R i )≤S max Indicates that the transmission rate of a single Internet of Vehicles service cannot exceed the maximum transmission rate; Constraint 3: T i (R i )≤T max,i Indicates that the delay of a single Internet of Vehicles service cannot exceed the maximum tolerable delay; Constraint 4: P i ≤P max Indicates that the transmit power cannot exceed the maximum transmit power; Constraint 5: Indicates that there is communication interference between different vehicles. To ensure communication quality, the interference cannot exceed the interference threshold; Where, L(d) = L0 + 10ηlog 10 (d)+X δ , L(d) represents the path loss at distance d (dB), L0 is the path loss at the reference distance, η is the path loss exponent, X δ is a random variable, which indicates the randomness of signal attenuation due to multipath, obstruction and other influencing factors, and its standard deviation is δ.

5. The utility maximization resource allocation method for Internet of Vehicles network slicing according to claim 4 is characterized in that: The method of using the penalty function method to process the constraint conditions of the network slice resource allocation model is: Execute the dynamic penalty function coefficient strategy, the penalty function factor is: Among them, θ min is the minimum value of the penalty function factor, θ max is the maximum value of the penalty function factor, t represents the current number of iterations, T represents the maximum number of iterations, and f infeasible represents the proportion of infeasible solutions in the population, f threshold Represents the threshold value set for the proportion of infeasible solutions in the population; The penalty function Φ(x) is defined as: Φ(x)=θ(t)(∑ constraints max(0,constraints(x)) 2 ); Among them, constraints(x) is used to determine whether the constraints are violated or satisfied: constraint2(x)=max(0,S i (R i )-S max ); constraint3(x)=max(0,T i (R i )-T max,i ); constraint4(x)=max(0,P i -P max ); If constraints(x) returns a non-negative value, it means the constraint is violated, and if the value is 0, it means the constraint is satisfied; The optimization problem expression is as follows: