MEC differentiated service caching and resource allocation method oriented to communication and sensing integration

By constructing a synaesthesia integrated system model in the MEC decentralized network and adopting a multi-agent deep reinforcement learning algorithm, the problems of high latency and high energy consumption of differentiated tasks are solved, and resource allocation and task offloading are optimized to meet the needs of Efficient processing requirements for differentiated tasks.

CN118828701APending Publication Date: 2024-10-22CHONGQING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 4 Cited by

Patent Information

Application Number
CN202411068395.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-06
Publication Date
2024-10-22

AI Technical Summary

Technical Problem

In the MEC decentralized network for synesthesia integration, the processing delay and energy consumption of differentiated tasks are high, and the traditional centralized strategy cannot effectively solve the resource allocation problem in highly complex, high-density, and large-scale scenarios. How to Design dynamic and flexible distributed task offloading, service caching and resource allocation strategies to meet differentiated task requirements.

Method used

Construct a decentralized synesthesia integrated MEC system model, combine ISAC and MEC technology, and transform it into a partially observable Markov decision-making process by establishing a differentiated task model, service cache model and task offloading model, using multi-agent depth determination The deep reinforcement learning algorithm of sexual strategy is used to optimize resource allocation and task offloading to achieve optimal decision-making.

Benefits of technology

While meeting the data information rate and target detection performance, the long-term processing delay and energy consumption of differentiated tasks are minimized, verifying the effectiveness of the deep reinforcement learning algorithm and reducing processing costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118828701A_ABST
    Figure CN118828701A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of mobile communication, and particularly relates to a communication and sensing integrated MEC differentiated service caching and resource allocation method, which comprises the following steps of: constructing a decentralized communication and sensing integrated MEC system model, and establishing a differentiated task model, a service caching model, a communication and sensing signal model and a task unloading model; establishing a joint optimization problem of service caching, task unloading, computing power resource allocation and power resource allocation by taking minimization of processing time delay and energy consumption of differentiated tasks as a target; a joint optimization problem is converted into a partially observable Markov decision process, and a deep reinforcement learning algorithm based on a multi-agent depth deterministic strategy is adopted to solve and obtain an optimal solution; according to the invention, lower long-term treatment cost can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of mobile communication technology, and in particular relates to a MEC differentiated service caching and resource allocation method for synaesthesia integration. Background Art

[0002] For future wireless networks, with the development of new differentiated wireless services such as autonomous driving, smart cities, industrial Internet of Things, and smart healthcare, the existing wireless network architecture and related technologies have been unable to meet the differentiated service requirements for ultra-high perception accuracy, ultra-low computing latency, and ultra-fast communication rates. It is necessary to integrate wireless communication, collaborative sensing, and computing power technologies.

[0003] In recent years, Integrated Sensing And Communications (ISAC) technology is often combined with the Mobile Edge Computing (MEC) paradigm. ISAC technology integrates perception and communication on the same platform, realizes the dual functions of perception and communication by sharing spectrum resources, optimizes spectrum utilization efficiency, reduces the waste of spectrum resources, and reduces the overall energy consumption of the system. By combining communication signals and perception signals, ISAC technology can improve the accuracy of target detection and positioning, enhance environmental perception capabilities, and meet users' needs for perception accuracy. MEC technology deploys computing resources at the edge of the network, reduces the distance and time of data transmission, reduces processing delays, and improves response speed. In addition, MEC technology can provide customized services based on the specific location and needs of users, and improve user experience and service quality. Combining ISAC and MEC technologies can well realize the differentiated task requirements of users in future wireless networks.

[0004] In the MEC network scenario for inter-sensory integration, different wireless mobile access methods have differences in bandwidth, latency, reliability, etc., and sensors and computing units in different regions and with different attributes have differences in perception accuracy, processing and storage capabilities. The types of tasks, service quality, user experience, and perception accuracy applied by different users also have significant differences. Therefore, it is necessary to study differentiated edge computing tasks, formulate appropriate edge computing services for different types of tasks, and formulate reasonable resource allocation strategies based on the needs and characteristics of differentiated tasks, taking into full consideration the relationship between multi-dimensional resources such as computing power, perception accuracy, and communication transmission rate. In addition, due to the limited size, computing power, and storage of user mobile devices, differentiated tasks often have problems such as high processing latency and high processing energy consumption.

[0005] At present, task offloading, service caching, and resource allocation are key technologies that can solve user latency and high energy consumption. With the help of caching services, mobile application software is stored in edge nodes, and tasks can be executed at the edge of the network to reduce latency. Artificial intelligence or machine learning algorithms are used to optimize task scheduling and resource allocation to further improve system performance and reduce latency and energy consumption. However, with the access of massive devices, the computing cost and complexity of edge nodes have increased significantly, and the computing efficiency has decreased. Traditional centralized strategies cannot solve highly complex, high-density, and large-scale scenarios. Therefore, in the synaesthesia edge network with a highly dynamic network environment and decentralized resource deployment, how to design and implement more dynamic and flexible distributed task offloading, service caching, and resource allocation strategies to cope with differentiated task requirements is of great research significance. Summary of the invention

[0006] In order to more effectively process differentiated tasks in a MEC decentralized network for synaesthesia, under the constraints of multi-dimensional resources such as communication, perception, computing, storage, and power, meet the user's differentiated perception accuracy and differentiated (quality of service, QoS) requirements, and minimize the long-term processing delay and energy consumption of tasks, the present invention provides a MEC differentiated service caching and resource allocation method for synaesthesia.

[0007] Specific solutions include:

[0008] S1. Construct a decentralized interawareness integrated MEC system model, which includes multiple base stations, each of which is equipped with a MEC server and an ISAC system, and each base station has multiple users within its coverage area; the system model runs in discrete time slots; an ISAC system includes an ISAC transmitter and an ISAC receiver;

[0009] S2. According to the decentralized synaesthesia integrated MEC system model, a differentiated task model, a service cache model, a synaesthesia signal model and a task offloading model are established;

[0010] S3. Based on the various models constructed in steps S1-S2, with the goal of minimizing the processing delay and energy consumption of differentiated tasks, a joint optimization problem of service caching, task offloading, computing resource allocation, and power resource allocation is established;

[0011] S4. The joint optimization problem is transformed into a partially observable Markov decision process, and a deep reinforcement learning algorithm based on a multi-agent deep deterministic strategy is used to obtain the optimal solution.

[0012] Beneficial effects of the present invention:

[0013] The present invention proposes a differentiated service cache, task offloading and resource allocation method in a MEC decentralized scenario for synaesthesia integration. Under the condition of satisfying the data information rate and target detection performance SCNR, a differentiated service cache, task offloading and resource allocation model for synaesthesia integration MEC is established; then, with the goal of minimizing the long-term processing delay and energy consumption of differentiated tasks, a joint optimization problem of service cache, task offloading, power allocation and computing power allocation is established. Finally, the non-convex optimization problem is transformed into a Markov decision process. By constructing the actions, states and immediate rewards in the Markov decision process, and adopting the deep reinforcement learning algorithm of MADDPG, the optimal decision is made by coordinating multiple agents. A large number of simulation results show that the present invention can achieve a smaller long-term processing cost, verifying the effectiveness of the proposed algorithm. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] Figure 1 is a flow chart of the method of the present invention;

[0015] Figure 2 This is a model diagram of the decentralized synaesthesia integrated MEC system of the present invention;

[0016] Figure 3 This is a framework diagram of the multi-agent deep deterministic policy gradient algorithm in the present invention;

[0017] Figure 4 This is a diagram showing how the average reward of the present invention changes with the number of training iterations;

[0018] Figure 5 It is a diagram showing the change process of the average processing delay and energy consumption cost of the present invention with the number of training iterations;

[0019] Figure 6 This is a diagram showing how the average cache hit rate of the present invention changes with the number of training iterations. DETAILED DESCRIPTION

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

[0021] The present invention provides a method for caching and allocating resources of MEC differentiated services for synaesthesia integration, such as Figure 1 As shown, the following steps are included:

[0022] S1. Construct a decentralized MEC system model, which includes multiple base stations, each of which is equipped with a MEC server and an ISAC system, and each base station has multiple users within its coverage area; the system model runs in discrete time slots; an ISAC system includes an ISAC transmitter and an ISAC receiver.

[0023] Specifically, the decentralized synaesthesia integrated MEC system model considered by the present invention is as follows: Figure 2 As shown, it includes M base stations (Base Station, BS), and defines a base station set Each base station supports multi-user differentiated task processing. Each base station is equipped with a MEC server and an ISAC system, and each base station has multiple users within its coverage area; definition is the user set under base station m. The system model runs in discrete time slots. is a set of time slots; an ISAC system includes an ISAC transmitter and an ISAC receiver. In the system model, users generate differentiated tasks and unload them to the base station. The base station processes computing tasks through the MEC server to meet the user's differentiated computing latency requirements; the base station transmits interaceptive signals to the sensing target and user through the ISAC transmitter, and analyzes the echo signal to process the perception task to meet the user's differentiated perception accuracy requirements.

[0024] S2. Based on the decentralized synaesthesia integrated MEC system model, a differentiated task model, a service cache model, a synaesthesia signal model and a task offloading model are established.

[0025] Specifically, the present invention defines that differentiated tasks generated by users can be divided into two categories: 1) computational tasks with different computational latency requirements; 2) perceptual tasks with different perceptual accuracy requirements.

[0026] Defining time slots in the differentiated task model Base Station A collection of tasks generated by all users in the coverage area is the user in time slot t under base station m The generated tasks, M represents the number of base stations, T represents the number of time slots, K m Represents the number of users under base station m; the differentiated task model also includes a service cache library For example, video streaming and AR have different computing and storage requirements. Each task corresponds to a specific software package. S represents the number of service types.

[0027] If user k under base station m in time slot t m Generate computational tasks but Computational tasks It is characterized by four parameters:

[0028]

[0029] Represents processing of computational tasks The type of service required, Represents computational tasks The data size, Represents processing of computational tasks The number of CPU cycles required to execute one bit of input, Represents computational tasks The maximum delay threshold; if the task delay is greater than This means that the task exceeds the acceptable range and the computational task fails.

[0030] If user k under base station m in time slot t m Generative Awareness Tasks but For perception tasks, this invention mainly focuses on target detection services; It is characterized by four parameters:

[0031]

[0032] Representation-aware tasks The user-perceived accuracy requirement, Representation-aware tasks The data size, Represents processing of perceptual tasks The number of CPU cycles required to execute one bit of input, Representation-aware tasks If the perception accuracy of the base station m result analysis is less than or task delay is greater than The perception task failed.

[0033] Specifically, the present invention assumes that the BS has the ability to cache, calculate, communicate, and perceive, and can decide which types of services to cache on the BS with limited storage capacity, and can perform computational processing and real-time target perception on differentiated task requests generated by users. The service cache decision set defined in the service cache model for base station m in time slot t is Binary variables Indicates the service in time slot t The cache indication function cached to base station m, It indicates that service s in time slot t is cached at base station m; Indicates that service s in time slot t is not cached at base station m. However, the storage capacity of the MEC server is limited, and the total cached service space cannot exceed the total storage capacity of the MEC server, so the following constraints are met: Among them: m represents the maximum cache capacity of base station m; O s is the cache space required to cache service s at the base station.

[0034] Specifically, the present invention considers a base station equipped with an ISAC dual-function active transmitter, which can simultaneously broadcast an integrated OFDM waveform to the target and downlink users, realizing the target detection function and the data transmission communication function. In order to simplify the model, it is assumed that the ISAC transmitter fully understands the clutter PSD, the task offloading information flow and the colored noise, and ignores the interference of the uplink user offloading task flow to the ISAC transmitter. Therefore, in the synaesthesia signal model, the integrated OFDM waveform s transmitted by the ISAC transmitter of the base station m in time slot t is defined. m (t) is expressed as:

[0035]

[0036] Where C represents the number of subcarriers, u m,c (t) represents the amplitude of the cth subcarrier transmitted by the ISAC transmitter of base station m in time slot t, Δf represents the subcarrier spacing, T represents the OFDM symbol time, and f0 represents the carrier frequency;

[0037] In an ideal state, considering that the task flow signal of the user unloading to the base station has no interference with the target, the receiver only considers the target echo, clutter interference and noise in the observation. Therefore, the signal y received by the ISAC receiver of base station m in time slot t m (t) is expressed as:

[0038]

[0039] Among them, h m,RC (t) represents the channel from the ISAC transmitter in base station m to the target and then to the ISAC receiver in base station m; h m,C (t) represents the channel from the ISAC transmitter in base station m to the clutter and then to the ISAC receiver in base station m; n(t) represents additive noise;

[0040] For signal y m (t) Perform Fourier transform, and the discretized frequency domain waveform Y received by the ISAC receiver of base station m m [c] is represented by:

[0041] Y m [c]=S m [c]h m,RC [c]+Sm [c]h m,C [c]+N[c]

[0042] Among them, S m [c] means s m (t) Discrete Fourier transform of the signal, h m,RC [c] represents the discrete Fourier transform of the channel from the ISAC transmitter in base station m to the target and then to the ISAC receiver in base station m, h m,C [c] represents the discrete Fourier transform of the channel from the ISAC transmitter in base station m to the clutter and then to the ISAC receiver in base station m, and N[c] represents the discrete Fourier transform of the noise; thus y m The probability model of (t) can be expressed as represents the variance, which obeys the zero-mean complex Gaussian distribution;

[0043] Considering the communication transmission quality of downlink communication users, the data information rate (DIR) is used as an indicator to describe the communication performance. m,c (t) is expressed as:

[0044]

[0045] Among them, L com [c] represents the communication channel path loss, is the noise power; |u m,c (t)| 2 represents the transmission power of the cth subcarrier transmitted by the ISAC transmitter of base station m in time slot t;

[0046] Considering the performance of target detection, the signal-to-clutter-to-noise ratio (SCNR) is used as an indicator to describe the radar perception performance. The present invention uses the signal-to-clutter-to-noise ratio SCNR to measure the user perception accuracy requirement of the user's perception task, which is expressed as:

[0047]

[0048] in, is the signal-to-noise ratio, which is used to represent the user k in time slot t at base station m m The user perception accuracy requirements of the generated perception tasks, represents the radar channel path loss.

[0049] Specifically, if base station m caches the processing of user k mIf the service type required by the task is not met, the task can be processed by base station m; otherwise, the task can only be offloaded to other servers or the cloud for processing. Therefore, the task offloading model includes three processing methods: 1) offloading the task to the associated base station for processing; 2) offloading the task to the neighboring base station through the associated base station for processing; 3) offloading the task to the remote cloud for processing.

[0050] Define the task offloading strategy set of base station m in time slot t represents user k in time slot t under base station m m The task offloading strategy is represents user k in time slot t under base station m m The strategy of offloading the task to the associated base station for processing, if user k under base station m in time slot t m The task is processed at base station m, then otherwise represents user k in time slot t under base station m m The task of is offloaded from the associated base station to the neighboring base station for processing. If user k under base station m in time slot t m The task is offloaded from base station m to the neighboring base station for processing. otherwise represents user k in time slot t under base station m m The strategy of offloading tasks to the remote cloud for processing is as follows: if user k under base station m in time slot t m The task is offloaded to the remote cloud through the base station m for processing. otherwise in

[0051] Define user k under base station m m The communication rate of the task transmitted to base station m Expressed as

[0052]

[0053] Where B represents the subchannel bandwidth resource, represents user k m The transmission power of the task to base station m, represents user k m Channel gain to base station m, σ 2 represents the noise power;

[0054] Define base station m to cover user k within its coverage area m The communication rate of the task forwarded to base station n Expressed as

[0055]

[0056] Among them, p m represents the transmission power between base stations, ω m represents the bandwidth of base station m when forwarding tasks, G m,n represents the channel gain between base station m and base station n.

[0057] The present invention mainly focuses on the uplink transmission delay and task calculation delay. Since the amount of data of the calculation result is usually small, the calculation result return delay can usually be ignored compared to the data delay of the transmission process. Therefore, in order to simplify the problem and improve the real-time performance of the system, the present invention assumes that the communication transmission of the base station calculation results and perception results are completed in time, so as to better study other key issues.

[0058] 1) Tasks are offloaded to associated base stations for processing

[0059] If user k m If the associated base station m caches the task-related services, then user k m The task can be directly offloaded to base station m through the wireless link, that is,

[0060] For computing tasks, once the user issues a task request, the task is offloaded to the edge server of the local BS for execution. After the server completes the calculation, it returns the calculation result to the user. The processing delay of the computing task uploaded to the base station includes the transmission delay and calculation delay of the computing task, which can be expressed as:

[0061]

[0062] represents the base station m for user k m The processing latency of computational tasks; Indicates the number of CPU cycles to complete computational tasks. Indicates that base station m is assigned to user k m computing resources;

[0063] Correspondingly, the energy consumption of computing task processing is

[0064]

[0065] κ represents the effective energy consumption coefficient of the base station in processing unit bit tasks.

[0066] For perceptual tasks, once user k mA real-time sensing task request is sent to base station m. The base station uses the ISAC active transmitter for real-time sensing. The received echo signal is converted into a set of radar data and the sensing result data is processed. These data need to be processed and analyzed in a timely manner. The sensing task is uploaded to base station m. The processing delay includes the transmission delay of the sensing task, the delay of the synaesthesia echo signal, and the radar data processing delay, which can be expressed as:

[0067]

[0068] represents the base station m for user k m The processing delay of perceptual tasks; R m,target represents the distance from base station m to the target, represents the amount of radar data, v c Indicates the propagation speed of synaesthesia signal.

[0069] Correspondingly, the energy consumption of sensing task processing includes the energy consumption of sensing task transmission, the energy consumption of sensing detection and the energy consumption of radar data processing, which can be expressed as:

[0070]

[0071] represents the base station m for user k m The processing energy consumption of perceptual tasks.

[0072] From the above analysis, we can see that the task is offloaded to the associated base station for processing. Base station m processes user k. m The task processing delay can be expressed as:

[0073]

[0074] Correspondingly, the task processing energy consumption is:

[0075]

[0076] Binary variables

[0077] 2) Tasks are offloaded to neighboring base stations for processing

[0078] In the present invention, tasks are considered to be processed collaboratively. If the associated base station m does not cache the task-related services, but the nearby base stations If the task-related services are cached, the task can be offloaded to base station m first and then migrated to a nearby base station n. Once the task is forwarded to a neighboring base station, It should be noted that the present invention assumes that the associated base station can process perception tasks, that is, perception tasks are only offloaded to the associated base station for processing, and will not be offloaded to neighboring base stations and remote clouds. Therefore, the latter two offloading methods only discuss the latency and energy consumption of computing tasks.

[0079] For computing tasks, the tasks are migrated to the nearby base station n for processing. The processing delay includes the transmission delay, the delay of forwarding to the neighboring base station n, and the computing delay.

[0080]

[0081] in, represents the base station n for user k m The processing latency of computational tasks; represents the base station n for user k m The processing energy consumption of computational tasks;

[0082] 3) Tasks are offloaded to the cloud for processing

[0083] If the associated base station m does not cache the task-related services, it is also possible to consider transferring the task to the remote cloud, that is, The cloud has abundant computing and storage resources, and the present invention ignores the task computing and processing delay and result return delay of the remote cloud.

[0084] For computing tasks, the associated base station m offloads the task to the cloud. The task processing delay includes the transmission delay and the delay forwarding to the cloud. Then:

[0085]

[0086] Indicates that the remote cloud has access to user k m The processing latency of computational tasks; It represents the transmission rate from base station m to the remote cloud. Since the distance between the remote cloud and the base station is far, it is a constant by default and can be obtained through actual measurement. Represents the remote cloud for user k m The processing energy consumption of computing tasks; P m,c represents the transmission power from base station m to the remote cloud.

[0087] In summary, define time slot t user k m The processing delay of the task Expressed as

[0088]

[0089] represents time slot t for user k m Select the processing delay when offloading the task to base station m for processing; define time slot t user km The processing energy consumption of the task Expressed as

[0090]

[0091] represents time slot t for user k m The processing energy consumption when choosing to offload the task to base station m for processing.

[0092] S3. Based on the various models constructed in steps S1-S2, with the goal of minimizing the processing delay and energy consumption of differentiated tasks, a joint optimization problem of service caching, task offloading, computing resource allocation, and power resource allocation is established.

[0093] Specifically, limited by the computing, power and storage resources of the edge server, the goal of this invention is to collaboratively learn service caching, task offloading, computing power allocation and power allocation decisions under the constraints of communication data information rate and target detection performance, with the goal of minimizing the long-term processing delay and energy consumption of differentiated tasks in the synaesthesia integrated network, and establish a joint optimization problem of service caching, task offloading, computing power resource allocation and power resource allocation. The joint optimization problem is modeled as follows:

[0094]

[0095] in, is the base station set, is the set of time slots, is the user set under base station m, M represents the number of base stations, T represents the number of time slots, K m Indicates the number of users under base station m; represents time slot t for user k m The processing delay of the task, represents time slot t for user k m The processing energy consumption of the task, is the service cache decision set of base station m in time slot t, a binary variable A cache indication function representing the cache of service s to base station m in time slot t; represents the computing resource allocation strategy set of base station m in time slot t, Indicates that base station m is assigned to user k m computing resources; is the task offloading strategy set of base station m in time slot t, represents user k in time slot t under base station m m The task offloading strategy is {|u m,1 (t)| 2 ,...,|u m,c (t)| 2}} represents the transmission power and power resource allocation strategy set of base station m in time slot t, represents time slot t for user k m The transmission power to base station m, |u m,c (t)| 2 represents the transmission power of the ISAC transmitter of base station m in time slot t for the cth subcarrier, λ t represents the delay weight coefficient, λ e represents the energy consumption weight coefficient; represents user k in time slot t under base station m m A strategy to offload tasks to associated base stations for processing; represents user k in time slot t under base station m m The task is offloaded from the associated base station to the neighboring base station for processing; represents user k in time slot t under base station m m Strategy to offload tasks to remote cloud for processing; m represents the maximum cache capacity of base station m; s is the cache space required to cache service s at the base station; represents time slot t for user k m The maximum tolerable processing delay of the task; is the signal-to-noise ratio, which represents the time slot t for user k at base station m m User perception accuracy requirements for generated perceptual tasks; represents the minimum sensing accuracy requirement of base station m, DIR m,c (t) represents the data information rate, DIR min Indicates the communication performance of the minimum user data, F m represents the total computing power resources of base station m, p tran,m represents the total transmission power resource of users within the range of base station m, p m represents the transmission power between base stations, P m,c represents the transmission power from base station m to the remote cloud, P m represents the total power of base station m, and κ represents the effective energy consumption coefficient of the base station processing unit bit task.

[0096] S4. The joint optimization problem is transformed into a partially observable Markov decision process, and a deep reinforcement learning algorithm based on a multi-agent deep deterministic strategy is used to obtain the optimal solution.

[0097] Specifically, in the actual synaesthesia-oriented MEC network, the above joint optimization problem is a mixed integer nonlinear programming problem, which is an NP-hard problem. Even with complete information, traditional optimization methods are difficult to solve. Therefore, the joint optimization problem is transformed into a decentralized partially observable Markov decision process (DEC-POMDP), and a multi-agent reinforcement learning algorithm is used to solve the DEC-POMOP problem, in which each BS is an agent that learns the optimal solution in a cooperative manner.

[0098] The present invention adopts Figure 3 The multi-agent deep deterministic policy gradient algorithm framework shown in the figure defines a tuple in represents the global state space, represents the set of observation spaces of the agent, represents the global action space set, represents the reward set, and the environment at time slot t is the global state represents the observation space set of agent m, represents the action space set of agent m, Represents the reward set of agent m; at time slot t, agent m observes locally Adopt a strategy Select the corresponding action Get corresponding rewards π m represents the current strategy of agent m, θ m Represents the current Actor network parameters of agent m; where:

[0099] (1) Environmental status

[0100] At the beginning of time slot t, agent m receives detailed task information from users in the coverage area, i.e., task type, task size, task perception accuracy, task delay tolerance, etc. Then, agent m decides service caching, task offloading, computing resource allocation, and power resource allocation. Therefore, at time slot t, the global state s(t) = {χ1(t), χ2(t), ..., χ M (t)}, χ m (t) represents the task information of base station m;

[0101] (2) Action Space

[0102] Agent m observes local observation o m (t) and the current policy π m , select the corresponding action from the action space, so at time slot t, the action a of agent m m (t) = {α m (t),βm (t),F m (t),P m (t)}, α m (t) represents the cache action of agent m; β m (t) represents the task offloading actions corresponding to all users under agent m; F m (t) represents the computing resource allocation action for all users under agent m; P m (t) represents the power transmission action of agent m for the user and the power allocation action of agent m for synaesthesia signal perception; according to the definition of action space and a m The value range of each element in (t) shows the action space It is a continuous set.

[0103] (3) Reward Function

[0104] The reward function is used to evaluate the effect of an action taken by an agent in a specific state. During the training process, the agent takes an action in the t-1 time slot, and the corresponding reward will be returned to the agent in the t time slot. The agent adjusts its strategy based on the reward received in the hope of obtaining the best result. The agent will eventually find the optimal strategy under the influence of the reward, and the strategy directly determines the service cache strategy, computing offloading strategy, computing network resource allocation strategy, and power resource allocation strategy. Therefore, the reward function should be designed according to the original optimization problem. The reward in this article contains five parts: the first part is the reward for task processing time and energy consumption, the second part is the reward for task processing delay to meet the delay constraint, the third part is the reward for the cache not exceeding the storage capacity limit of the edge server, the fourth part is the reward for meeting the perception accuracy constraint, and the fifth part is the reward for communication meeting the data transmission rate constraint. The optimization goal is to minimize the long-term processing delay and energy consumption of the task, so in time slot t, the reward of agent m:

[0105]

[0106] C m (t) = λ4H(DIR m,c (t)-DIR min )

[0107] in, is the base station set, is the set of time slots, is the user set under base station m, M represents the number of base stations, T represents the number of time slots, K m Indicates the number of users under base station m; represents time slot t for user k m The processing delay of the task, represents time slot t for user k mThe processing energy consumption of the task, λ t represents the delay weight coefficient, λ e Represents the energy consumption weight coefficient; Y m (t) represents the reward when the task processing delay satisfies the delay constraint, represents time slot t for user k m The maximum tolerable processing delay of the task; U m (t) represents the reward for caching that does not exceed the storage capacity limit of the edge server, O m represents the maximum cache capacity of base station m; s is the cache space required to cache service s at the base station; represents the cache indication function of service s cached to base station m in time slot t; S m (t) represents the reward for satisfying the perceptual accuracy constraint; C m (t) represents the reward for communication satisfying the data transmission rate constraint, DIR m,c (t) represents the data information rate, DIR min represents the communication performance of the minimum user data; H(·) is the Heaviside step function, and λ1, λ2, λ3, and λ4 are weight coefficients.

[0108] The Multi-Agent Deep Deterministic Policy Gradient (MADDPG) algorithm is a reinforcement learning method used in multi-agent environments, mainly for processing continuous action spaces. Each agent has an independent policy network and a centralized Q network, which learns the optimal strategy through cooperation or competition. Independent policy network In multi-agent reinforcement learning, each agent has an independent policy network to decide actions in a given state. The strategy of each agent is based only on its own observations and states, and does not depend on the strategies or actions of other agents. This enables them to optimize strategies based on their own experience, make flexible decisions, and learn autonomously in complex environments. The centralized Q network evaluates the action value of all agents in a specific state through a centralized network, combines the state and action information of all agents, and calculates the global Q value. The Q function can be expressed as

[0109] Q m (o1(t),o2(t),...,o m (t),a1(t),a2(t),...,a m (t);ω m (t))

[0110] The MADDPG algorithm is also a model-free off-track strategy algorithm based on deep neural networks (DNNs). It directly learns from the environment and uses the experience replay mechanism to effectively learn complex strategies. The MADDPG algorithm combines a memory bank to randomly extract samples and uses two pairs of different DNNs to approximate the Actor network μ(s|θ μ )(i.e., policy function) and Critic network Q(s,a|θ) Q ) (i.e., Q-value function). The Actor main network is used to generate actions for the current strategy, using the parameter θ m The Actor target network is used to generate target actions to help calculate the Q value. The Critic main network is used to evaluate the Q value of the current strategy, using the parameter ω m The Critic target network calculates the target Q value, thereby updating the Critic main network.

[0111] During training, the Critic network updates the network parameters by minimizing the loss function. The minimization loss function is defined as:

[0112]

[0113] Among them, ω m (t) represents the current network parameters of Critic; represents the expected value of the cumulative reward; Q m (t) represents the centralized Q function; o m (t) represents the observed state of agent m; a m (t) represents the action decision of agent m;

[0114] y m =r m +γQ m (o1(t+1),o2(t+1),...,o m (t+1),a1(t+1),a2(t+1),...,a m (t+1);ω m (t+1))

[0115] γ is the discount factor. The policy gradient can be updated using the chain rule:

[0116]

[0117] Use soft update to update the target network, namely:

[0118]

[0119] Among them, ▽ indicates the gradient; J( ) indicates the strategy to be optimized; It means to find the expected value; represents the strategy of agent m itself; θ' m represents the updated target network parameters of the Actor of agent m, ω' m represents the updated Critic target network parameters of agent m, represents the Actor network update coefficient, Represents the critic network update coefficient.

[0120] The service cache and resource allocation strategy process based on the MADDPG algorithm is as follows:

[0121]

[0122]

[0123] The present invention uses the Pycharm platform to simulate and verify the performance of the MADDPG algorithm, with the base station acting as an intelligent agent. During centralized training, the intelligent agent is trained using the observations and actions of the current base station and other base stations.

[0124] from Figure 4 It can be seen that as the number of iterations increases, the average reward of the differentiated task continues to increase, and gradually stabilizes at nearly 40,000 rounds, and finally converges, indicating that the MADDPG algorithm can learn the optimal strategy. Figure 5 It can be seen that as the number of iterations increases, the average latency and energy consumption cost of the differentiated tasks continue to decrease and eventually converge, indicating that the MADDPG algorithm can minimize the long-term processing latency and energy consumption of differentiated tasks. Figure 6 It can be seen that the cache hit rate continues to increase and finally converges, which verifies the effectiveness of the MADDPG algorithm in this scenario.

[0125] In the present invention, unless otherwise clearly stipulated and limited, the terms such as "installation", "setting", "connection", "fixation" and "rotation" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral one; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium; it can be the internal connection of two elements or the interaction relationship between two elements. Unless otherwise clearly defined, ordinary technicians in this field can understand the specific meanings of the above terms in the present invention according to the specific circumstances.

[0126] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.

Claims

1. A method for caching and allocating resources for MEC differentiated services oriented to synaesthesia, characterized in that: The following steps are involved: S1. Construct a decentralized MEC system model, which includes multiple base stations, each of which is equipped with a MEC server and an ISAC system, and each base station has multiple users within its coverage area; The system model operates in discrete time slots; an ISAC system includes an ISAC transmitter and an ISAC receiver; S2. According to the decentralized synaesthesia integrated MEC system model, a differentiated task model, a service cache model, a synaesthesia signal model and a task offloading model are established; S3. Based on the various models constructed in steps S1-S2, with the goal of minimizing the processing delay and energy consumption of differentiated tasks, a joint optimization problem of service caching, task offloading, computing resource allocation, and power resource allocation is established; S4. The joint optimization problem is transformed into a partially observable Markov decision process, and a deep reinforcement learning algorithm based on a multi-agent deep deterministic strategy is used to obtain the optimal solution.

2. According to claim 1, a method for synaesthesia-oriented MEC differentiated service caching and resource allocation is characterized in that: The tasks generated by users are divided into two types: computational and perceptual. The differentiated task model defines the set of tasks generated by all users within the coverage area of ​​time slot t=1,2,…,T base station m=1,2,…,M. is user k in base station m in time slot t m =1,2,…,K m The generated tasks, M represents the number of base stations, T represents the number of time slots, K m Represents the number of users under base station m; the differentiated task model also includes a service cache library Where S represents the number of service types; If user k under base station m in time slot t m Generate computational tasks but Computational tasks Expressed as Represents processing of computational tasks The type of service required, Represents computational tasks The data size, Represents processing of computational tasks The number of CPU cycles required to execute one bit of input, Represents computational tasks The maximum delay threshold of If user k under base station m in time slot t m Generative Awareness Tasks but Perception Tasks Expressed as Representation-aware tasks The user-perceived accuracy requirement, Representation-aware tasks The data size, Represents processing of perceptual tasks The number of CPU cycles required to execute one bit of input, Representation-aware tasks The processing delay threshold.

3. According to claim 1, a method for synaesthesia-oriented MEC differentiated service caching and resource allocation is characterized in that: The service cache decision set defined in the service cache model at base station m in time slot t is Binary variables Indicates the service in time slot t The cache indication function cached to base station m, It indicates that service s in time slot t is cached at base station m; It indicates that service s in time slot t is not cached at base station m.

4. The method for caching and allocating MEC differentiated services for synaesthesia integration according to claim 1 is characterized in that: In the synaesthesia signal model, the comprehensive OFDM waveform s transmitted by the ISAC transmitter of base station m in time slot t is defined as m (t) is expressed as: Where C represents the number of subcarriers, u m,c (t) represents the amplitude of the cth subcarrier transmitted by the ISAC transmitter of base station m in time slot t, Δf represents the subcarrier spacing, T represents the OFDM symbol time, and f0 represents the carrier frequency; The signal y received by the ISAC receiver of base station m in time slot t m (t) is expressed as: Among them, h m,RC (t) represents the channel from the ISAC transmitter in base station m to the target and then to the ISAC receiver in base station m; h m,C (t) represents the channel from the ISAC transmitter in base station m to the clutter and then to the ISAC receiver in base station m; n(t) represents additive noise; For signal y m (t) Perform Fourier transform, and the discretized frequency domain waveform Y received by the ISAC receiver of base station m m [c] is represented by: Y m [c]=S m [c]h m,RC [c]+S m [c]h m,C [c]+N[c] Among them, S m [c] means s m (t) Discrete Fourier transform of the signal, h m,RC [c] represents the discrete Fourier transform of the channel from the ISAC transmitter in base station m to the target and then to the ISAC receiver in base station m, h m,C [c] represents the discrete Fourier transform of the channel from the ISAC transmitter in base station m to the clutter and then to the ISAC receiver in base station m, and N[c] represents the discrete Fourier transform of the noise; thus y m The probability model of (t) is expressed as represents the variance, which obeys the zero-mean complex Gaussian distribution; Data Information Rate DIR m,c (t) is expressed as: Among them, L com [c] represents the communication channel path loss, is the noise power; |u m,c (t) 2 represents the transmission power of the cth subcarrier transmitted by the ISAC transmitter of base station m in time slot t; The signal-to-noise ratio (SCNR) is used to measure the user perception accuracy requirement of the user's perceptual tasks, which is expressed as: in, represents user k in time slot t under base station m m The user perception accuracy requirements of the generated perception tasks, represents the radar channel path loss.

5. According to claim 1, a method for synaesthesia-oriented MEC differentiated service caching and resource allocation is characterized in that: The task offloading model includes three ways: offloading tasks to associated base stations for processing, offloading tasks to neighboring base stations through associated base stations for processing, and offloading tasks to remote clouds for processing. The task offloading strategy set of base station m at time slot t is βm(t) = {β1,m(t),β2,m(t),...,β Km ,m(t)}, represents user k in time slot t under base station m m The task offloading strategy is represents user k in time slot t under base station m m The strategy of offloading the task to the associated base station for processing, if user k under base station m in time slot t m The task is processed at base station m, then otherwise represents user k in time slot t under base station m m The task of is offloaded from the associated base station to the neighboring base station for processing. If user k under base station m in time slot t m The task is offloaded from base station m to the neighboring base station for processing. otherwise represents user k in time slot t under base station m m The strategy of offloading tasks to the remote cloud for processing is as follows: if user k under base station m in time slot t m The task is offloaded to the remote cloud through the base station m for processing. otherwise in Define time slot t for user k m The processing delay of the task Expressed as represents time slot t for user k m The processing delay when selecting to offload the task to base station m for processing; represents time slot t for user k m The processing delay when selecting to offload the task through base station m to a neighboring base station for processing; represents time slot t for user k m Select the processing delay when offloading the task to the remote cloud through base station m for processing; where: in, represents user k under base station m m The communication rate at which the task is transmitted to base station m; represents the forwarding rate of the task forwarded by base station m to base station n; represents the transmission rate from base station m to the remote cloud; represents the base station m for user k m The processing latency of computational tasks; represents the base station m for user k m The processing latency of perceptual tasks; represents user k in time slot t under base station m m The data size of the generated computational tasks, represents user k in time slot t under base station m m The generated processing computational task requires CPU cycles to execute one bit of input, Indicates that base station m is assigned to user k m computing resources; Indicates that time slot t is allocated by base station n to user k m computing resources; represents user k in time slot t under base station m m The data size of the generated perceptual tasks, R m,target represents the distance from base station m to the target, represents the amount of radar data, Indicates user k in base station m processing time slot t m The CPU cycles required for the generated perceptual task to execute one bit of input, v c Indicates the propagation speed of synaesthesia signal; binary variable Define time slot t for user k m The processing energy consumption of the task Expressed as represents time slot t for user k m The processing energy consumption when choosing to offload the task to base station m for processing; represents time slot t for user k m The processing energy consumption when selecting to offload the task through base station m to a neighboring base station for processing; represents time slot t for user k m Select the processing energy consumption when offloading tasks to a remote cloud for processing; where: in, represents the base station m for user k m The processing energy consumption of computational tasks; represents the base station m for user k m The processing energy consumption of the perceptual task; κ represents the effective energy consumption coefficient of the base station processing unit bit task; C represents the number of subcarriers, |u m,c (t) 2 represents the transmission power of the ISAC transmitter of base station m in time slot t for transmitting the cth subcarrier; p m represents the transmission power between base stations, P m,c represents the transmission power from base station m to the remote cloud.

6. The method for caching and allocating resources for MEC differentiated services for synaesthesia integration according to claim 5 is characterized in that: User k under base station m m The communication rate of the task transmitted to base station m Expressed as Where B represents the subchannel bandwidth resource, represents user k m The transmission power of the task to base station m, represents user k m Channel gain to base station m, σ 2 represents the noise power; Base station m will send user k within its coverage area m The communication rate of the task forwarded to base station n Expressed as Among them, p m represents the transmission power between base stations, ω m represents the bandwidth of base station m when forwarding tasks, G m,n represents the channel gain between base station m and base station n.

7. The method for caching and allocating MEC differentiated services for synaesthesia integration according to claim 1 is characterized in that: The joint optimization problem of step S3 is expressed as: in, is the base station set, is the set of time slots, is the user set under base station m, M represents the number of base stations, T represents the number of time slots, K m Indicates the number of users under base station m; represents time slot t for user k m The processing delay of the task, represents time slot t for user k m The processing energy consumption of the task, is the service cache decision set of base station m in time slot t, a binary variable A cache indication function representing the cache of service s to base station m in time slot t; represents the computing resource allocation strategy set of base station m in time slot t, Indicates that base station m is assigned to user k m computing resources; is the task offloading strategy set of base station m in time slot t, represents user k in time slot t under base station m m The task offloading strategy is represents the transmission power and power resource allocation strategy set of base station m in time slot t, represents time slot t for user k m Transmission power to base station m, u m,c (t) 2 represents the transmission power of the ISAC transmitter of base station m in time slot t for the cth subcarrier, λ t represents the delay weight coefficient, λ e represents the energy consumption weight coefficient; represents user k in time slot t under base station m m A strategy to offload tasks to associated base stations for processing; represents user k in time slot t under base station m m The task is offloaded from the associated base station to the neighboring base station for processing; represents user k in time slot t under base station m m Strategy to offload tasks to remote cloud for processing; m represents the maximum cache capacity of base station m; s is the cache space required to cache service s at the base station; represents time slot t for user k m The maximum tolerable processing delay of the task; is the signal-to-noise ratio, which represents the time slot t for user k at base station m m User perception accuracy requirements for generated perceptual tasks; represents the minimum sensing accuracy requirement of base station m, DIR m,c (t) represents the data information rate, DIR min Indicates the communication performance of the minimum user data, F m represents the total computing power resources of base station m, p tran,m represents the total transmission power resource of users within the range of base station m, p m represents the transmission power between base stations, P m,c represents the transmission power from base station m to the remote cloud, P m represents the total power of base station m, and κ represents the effective energy consumption coefficient of the base station processing unit bit task.

8. The method for caching and allocating MEC differentiated services for synaesthesia integration according to claim 1 is characterized in that: Step S4 uses a deep reinforcement learning algorithm based on a multi-agent deep deterministic strategy to solve the following problems: Consider each base station as an intelligent agent and define the tuple in represents the global state space, represents the set of observation spaces of the agent, represents the global action space set, represents the reward set, and the environment at time slot t is the global state represents the observation space set of agent m, represents the action space set of agent m, Represents the reward set of agent m; at time slot t, agent m observes locally Adopt a strategy Select the corresponding action Get corresponding rewards π m represents the current strategy of agent m, θ m Represents the current Actor network parameters of agent m; where: At time slot t, the global state s(t) = {χ1(t), χ2(t), ..., χ M (t)}, χm(t) represents the task information of base station m; At time slot t, agent m’s action a m (t) = {α m (t),β m (t),F m (t),P m (t)}, α m (t) represents the cache action of agent m; β m (t) represents the task offloading action corresponding to all users under agent m; Fm(t) represents the computing resource allocation action for all users under agent m; P m (t) represents the power transmission action for the user under agent m and the power allocation action of agent m sensing the signal; At time slot t, the reward of agent m is C m (t)=λ4H(DIR m,c (t)-DIR min ) in, is the base station set, is the set of time slots, is the user set under base station m, M represents the number of base stations, T represents the number of time slots, K m Indicates the number of users under base station m; represents time slot t for user k m The processing delay of the task, represents time slot t for user k m The processing energy consumption of the task, λ t represents the delay weight coefficient, λ e Represents the energy consumption weight coefficient; Y m (t) represents the reward when the task processing delay satisfies the delay constraint, represents time slot t for user k m The maximum tolerable processing delay of the task; U m (t) represents the reward for caching that does not exceed the storage capacity limit of the edge server, O m represents the maximum cache capacity of base station m; s is the cache space required to cache service s at the base station; represents the cache indication function of service s cached to base station m in time slot t; S m (t) represents the reward that satisfies the perceptual accuracy constraint; C m (t) represents the reward for communication satisfying the data transmission rate constraint, DIR m,c (t) represents the data information rate, DIR min represents the communication performance of the minimum user data; H(·) is the Heaviside step function, and λ1, λ2, λ3, and λ4 are weight coefficients.

Citation Information

Cited By

  • Underwater computing task unloading method based on improved depth deterministic strategy gradient

    CN119255300A

  • Motion recognition method based on sensing and communication integrated multi-device cooperation

    CN119767262A

  • Multi-base-station cooperative sensing resource optimization method and device based on generative AI

    CN119815372A

  • A method and apparatus for multi-base station cooperative sensing resource optimization based on generative AI

    CN119815372B