Physical layer security design method for URLLC task unloading of MEC system of unmanned aerial vehicle

By using URLLC for communication connection in the UAV MEC system, the calculation tasks are offloaded to the UAV in the form of channel data packets of preset length for remote calculation, which solves the complexity of key exchange in ultra-reliable and low-latency communication. problem, achieving efficient physical layer security design and computing speed.

CN118590873AInactive Publication Date: 2024-09-03GUANGDONG UNIV OF TECH
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410408503.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-07
Publication Date
2024-09-03
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In ultra-reliable low-latency communication, the existing technology has a complicated key exchange process and requires a long channel block length, which is not suitable for the physical layer security design of UAV MEC systems, making it difficult to enhance security.

Method used

By constructing the UAV MEC system, using URLLC for communication connection, calculating the maximum confidential communication rate, offloading the calculation tasks to the UAV in the form of channel data packets of preset length for remote calculation, and combining the user's local calculation to build a safe calculation amount Optimize the model and solve it using alternating iteration method to maximize the user's minimum safe calculation amount.

Benefits of technology

It effectively shortens the length of the channel block, realizes the confidentiality of transmission tasks by URLLC's physical layer security technology, and ensures high computing speed and security under encryption conditions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118590873A
    Figure CN118590873A
Patent Text Reader

Abstract

The invention relates to the technical field of Internet of Things, and provides a physical layer security design method for URLLC task offloading of an unmanned aerial vehicle MEC system, and the method comprises the following steps: constructing the unmanned aerial vehicle MEC system; the maximum secret communication rate between the unmanned aerial vehicle and the user which are in communication connection based on URLLC is calculated, based on the maximum secret communication rate, part of tasks in the calculation tasks are unloaded to the unmanned aerial vehicle for remote calculation in the form of channel data packets with the preset length, and the rest tasks are calculated locally by the user; obtaining a calculation task load of local calculation and a calculation task load of remote calculation of a user; calculating the minimum safety calculation amount of the user based on the calculation task amount of local calculation and the calculation task amount of remote calculation of the user; taking the minimum safety calculation amount of the maximized user as a target function, considering constraint conditions, and constructing a safety calculation amount optimization model; and solving the security calculation amount optimization model by utilizing an alternating iteration method to obtain an optimal value of the minimum security calculation amount of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Internet of Things, and more specifically, to a physical layer security design method for URLLC task offloading of an unmanned aerial vehicle (UAV) MEC system. Background Art

[0002] In recent years, the emergence of various IoT applications, such as remote monitoring, virtual reality, etc., has greatly enriched people's lives. The growing number of devices and connections in the IoT inevitably brings a large amount of data, which poses a serious challenge to ground users with limited storage and computing capabilities. The Mobile Edge Computing (MEC) system allows users to offload intensive computing tasks to edge servers for computing, which can effectively reduce the computing burden of ground users. However, ground users located in remote areas or challenging harsh environmental conditions are sometimes unable to connect to edge computing servers. Due to the advantages of drone deployment flexibility, drones can carry edge computing servers to remote areas or mountainous areas, thereby expanding the coverage of edge servers at a low cost.

[0003] Ultra-Reliable Low-Latency Communications (URLLC) is closely related to mission-critical IoT applications, emphasizing high reliability and low latency, such as autonomous factory construction, remote surgery, and vehicle communication networks. The application scenarios of mobile edge computing often require high-speed, large-capacity data transmission, and minimize transmission latency to meet requirements such as real-time control and image transmission. The goal of ultra-reliable low-latency communications is extremely high reliability and extremely low latency, which is of great significance in edge computing scenarios where drones assist ground users in computing tasks.

[0004] On the other hand, due to the broadcast nature of wireless communications, IoT applications are particularly vulnerable to security threats (such as leakage of key control information or malicious attacks, etc.). Existing technologies use encryption methods to enhance security, which requires a complex key exchange process and a longer channel block length. However, since the channel block length is limited in ultra-reliable low-latency communications, encryption methods are not suitable for enhancing the security of ultra-reliable low-latency communications. Summary of the invention

[0005] In order to overcome the defects of the above-mentioned prior art that the complex key exchange process requires a longer channel block length and is not suitable for URLLC, the present invention provides a physical layer security design method for URLLC task offloading of a drone MEC system without key exchange.

[0006] In order to solve the above technical problems, the technical solution of the present invention is as follows:

[0007] Constructing a drone MEC system, the system includes: a user, a drone and an edge computing server carried by the drone, the user and the drone are connected in communication based on URLLC;

[0008] Get the bandwidth allocation constraints allocated by the drone to the user;

[0009] Calculate the maximum secure communication rate between the drone and the user. Based on the maximum secure communication rate, unload part of the computing tasks to the drone in the form of channel data packets of preset length for remote computing. The remaining tasks are computed locally by the user. The amount of computing tasks computed locally by the user and the amount of computing tasks computed remotely are obtained.

[0010] Obtain the maximum CPU frequency constraint during local computing by the user, the maximum total energy consumption constraint during local computing by the user, the maximum computing task amount constraint of remote computing, and the maximum CPU frequency constraint allocated by the edge server of the drone to the remote computing task, wherein the total energy consumption of local computing includes: communication energy consumption and computing energy consumption of local computing;

[0011] Calculate the user's minimum safe computing workload based on the user's local computing workload and remote computing workload;

[0012] Taking maximizing the user's minimum secure computing amount as the objective function, the optimization model for secure computing amount is constructed by considering the bandwidth allocation constraints allocated by the drone to the user, the maximum CPU frequency constraints during local computing, the maximum total energy consumption constraints during local computing, the maximum computing task constraints of remote computing, and the maximum CPU frequency constraints allocated by the drone's edge server to remote computing tasks.

[0013] The alternating iteration method is used to solve the security calculation optimization model and obtain the optimal value of the user's minimum security calculation.

[0014] Compared with the prior art, the technical solution of the present invention has the following beneficial effects:

[0015] By building a drone MEC system, using users and drones connected by URLLC for communication, based on the maximum confidential communication rate, part of the computing tasks are offloaded to the drone in the form of channel data packets of preset length for remote computing, and the remaining tasks are calculated locally by the user; among them, using limited-length data packets to transmit tasks between users and drones can effectively shorten the length of the required channel block, so that URLLC can be implemented during the task transmission process, and then the physical layer security technology of URLLC can be effectively used to keep the transmission task confidential, and maximize the user's minimum secure computing amount, while ensuring that URLLC can be used for encryption, speeding up the computing speed. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 This is a flow chart of the physical layer security design method for URLLC task offloading of the UAV MEC system proposed in Example 1;

[0017] Figure 2 This is a schematic diagram of the UAV MEC system proposed in Example 1;

[0018] Figure 3 This is a schematic diagram of the optimization algorithm flow proposed in Example 2;

[0019] Figure 4 This is a graph showing the optimal position of the drone proposed in Example 3 as it changes with the position of the eavesdropper;

[0020] Figure 5 A relationship diagram between the bandwidth allocated to each user and the eavesdropper's position proposed in Example 3;

[0021] Figure 6 A diagram showing the relationship between the security calculation amount and the eavesdropper's position proposed in Example 3;

[0022] Figure 7 This is a relationship diagram between the CPU frequency allocation of the drone and the eavesdropper's position proposed in Example 3;

[0023] Figure 8 This is a graph showing the change in the amount of security calculations versus the CPU frequency of the drone when the bandwidth is fixed as proposed in Example 3;

[0024] Fig. 9 This is a graph showing the variation of the amount of security calculations with the total bandwidth when the maximum CPU frequency of the drone is fixed as proposed in Example 3;

[0025] Fig.10 This is a schematic diagram of the convergence of the joint optimization algorithm proposed in Example 3;

[0026] Fig.11 This is a first comparative schematic diagram proposed in Example 3;

[0027] Fig.12 This is a second comparative schematic diagram proposed in Example 3. DETAILED DESCRIPTION

[0028] The accompanying drawings are only used for illustrative purposes and should not be construed as limiting the present embodiment;

[0029] In order to better illustrate the present embodiment, some parts in the drawings may be omitted, enlarged or reduced, and do not represent the size of the actual product;

[0030] It is understandable to those skilled in the art that some well-known structures and their descriptions may be omitted in the drawings.

[0031] The technical solution of the present invention is further described below in conjunction with the accompanying drawings and embodiments.

[0032] Example 1

[0033] This embodiment proposes a physical layer security design method for URLLC task offloading in a drone MEC system. Figure 1 A flow chart of a physical layer security design method for URLLC task offloading of a drone MEC system in this embodiment;

[0034] The physical layer security design method for URLLC task offloading of the drone MEC system proposed in this embodiment includes the following steps:

[0035] S1: Build a drone MEC system, which includes: a user, a drone, and an edge computing server carried by the drone, and the user and the drone are connected in communication based on URLLC;

[0036] S2: Obtain the bandwidth allocation constraints allocated by the drone to the user;

[0037] S3: Calculate the maximum secure communication rate between the drone and the user. Based on the maximum secure communication rate, unload part of the computing tasks to the drone in the form of channel data packets of preset length for remote computing. The remaining tasks are calculated locally by the user, and the amount of computing tasks calculated locally by the user and the amount of computing tasks calculated remotely are obtained.

[0038] S4: Obtain the maximum value constraint of the CPU frequency during the user's local calculation, the maximum value constraint of the total energy consumption during the user's local calculation, the maximum value constraint of the computing task amount of the remote calculation, and the maximum value constraint of the CPU frequency allocated to the remote computing task by the edge server of the drone, wherein the total energy consumption of the local calculation includes: the communication energy consumption and the computing energy consumption of the local calculation;

[0039] S5: Calculate the user's minimum safe computing workload based on the user's local computing workload and the remote computing workload;

[0040] S6: Taking maximizing the minimum safe computing amount of the user as the objective function, considering the bandwidth allocation constraint allocated by the drone to the user, the maximum CPU frequency constraint during the user's local computing, the maximum total energy consumption constraint during the user's local computing, the maximum computing task constraint of the remote computing, and the maximum CPU frequency constraint allocated by the drone's edge server to the remote computing task, a safe computing amount optimization model is constructed;

[0041] S7: Use the alternating iteration method to solve the security calculation optimization model and obtain the optimal value of the user's minimum security calculation.

[0042] In the specific implementation process, by building a drone MEC system, using users and drones that are connected by communication based on URLLC, based on the maximum confidential communication rate, part of the computing tasks are unloaded to the drone in the form of channel data packets of preset length for remote computing, and the remaining tasks are calculated locally by the user; Among them, using limited-length data packets to transmit tasks between users and drones can effectively shorten the length of the required channel block, so that URLLC can be implemented during the task transmission process, and then the physical layer security technology of URLLC can be effectively used to keep the transmission task confidential, and maximize the user's minimum secure computing amount, while ensuring that URLLC can be used for encryption, speeding up the computing speed;

[0043] As an example, Figure 2 This is a schematic diagram of the UAV MEC system proposed in this embodiment. Figure 2 The user uplink secure communication scenario is shown. The drone is equipped with a computing server. In the presence of potential eavesdroppers, it assists K legitimate user devices on the ground (denoted as ) complete their computing tasks, while the ground users perform local computing, and the eavesdropper will eavesdrop on the user's computing tasks; establish a three-dimensional Cartesian coordinate system, assuming that the user and the eavesdropper are both located at a horizontal plane with a height of 0, and the user coordinates are expressed as The eavesdropper coordinates are expressed as The coordinates of the drone's hovering position are expressed as Q = [q T ,h] T ,in is the two-dimensional coordinate of the UAV in the horizontal direction, and h is the hovering height of the UAV.

[0044] In an optional embodiment, assuming that all users communicate with the drone through orthogonal frequency division channels, the expression of the bandwidth allocation constraint allocated by the drone to the user is:

[0045]

[0046] Where K represents the total number of legal user devices, B k represents the bandwidth allocated to user k by the drone, B max Indicates the maximum total bandwidth.

[0047] As an example, to avoid channel interference, all users communicate with the drone through orthogonal frequency division channels, and the bandwidth allocated to user k is B k Indicates that the sum of the bandwidth of all users cannot exceed the maximum total bandwidth B max .

[0048] In an optional embodiment, the calculation expression of the maximum secure communication rate is:

[0049]

[0050]

[0051]

[0052]

[0053] In the formula, R k represents the maximum secure communication rate, C k represents the maximum secure communication rate that can be achieved based on infinite length data packets, N represents the channel dispersion that characterizes the random variability of the channel relative to a deterministic channel with the same capacity. k Indicates the preset length of the channel data packet, Q -1 (·) represents the inverse function of the Q function, ∈ k represents the maximum decoding error probability of the kth user, δ k Indicates the amount of information leakage; represents the received signal-to-noise ratio of the offload channel of user k, It represents the receiving signal-to-noise ratio of the eavesdropper when the eavesdropper steals the information of the kth user. Represents the trigonometric equal sign.

[0054] As an example, assuming that the channel between user k and the UAV is a line-of-sight channel, the channel gain between the user and the UAV obeys the free space path loss model, and the channel power gain can be expressed as:

[0055]

[0056] Where h0 is the reference channel power gain when the reference distance is 1m, d k =(||qw k || 2 +H 2 ) 1 / 2 represents the distance between user k and the drone. Assume that the transmission power of user k is P k , the task offloading bandwidth allocated to user k is B k , the noise power spectrum density at the receiving end is N0, then the receiving signal-to-noise ratio of the offloading channel of user k can be expressed as In addition, the uninstallation time of each device is denoted by T off It is expressed in seconds (s). Therefore, the length of the data packet transmitted by device k can be written as N k =B k T off ;

[0057] Assuming that the eavesdropper can access all frequency bands occupied by users, when the eavesdropper steals the information of the kth user, the receiving signal-to-noise ratio at the eavesdropper is in, d ek =∥w e -w k ∥ represents the distance between user k and the eavesdropper, is the Rayleigh fading coefficient that conforms to the unit mean exponential distribution;

[0058] In ultra-reliable low-latency communications, in order to ensure low latency, the length of the transmission block is limited. Short packet transmission has non-zero decoding error power and non-negligible information leakage. For a given channel data packet length N k =B k T off , in order to ensure the maximum decoding error probability ∈ k and information leakage k Good communication confidentiality can still be maintained under the condition of , and the maximum confidential communication rate (bit / second / Hz) can be approximated as:

[0059]

[0060] In the formula, Q -1 (·) is the Q function The inverse function of .

[0061] In an optional embodiment, the expression of the computing task amount of the user's local calculation is:

[0062]

[0063] In the formula, Indicates the amount of computing tasks performed by the user's local computing. represents the computation time of user k's local computation, f k Indicates the CPU frequency of the user's local calculation, c k Indicates the number of CPU cycles required to calculate 1 bit of task data.

[0064] In an optional embodiment, the expression of the computing task amount of the remote computing is:

[0065]

[0066] In the formula, represents the amount of computing tasks for remote computing, represents the remote computing time of user k’s task, f U,k It represents the CPU frequency allocated by the drone edge computing server for the computing tasks offloaded by user k.

[0067] In an optional embodiment, the expression of the maximum CPU frequency constraint during the user's local calculation is:

[0068]

[0069] In the formula, f k Indicates the CPU frequency of the user's local calculation, f k,max Indicates the maximum CPU frequency during local computing by the user;

[0070] The maximum value constraint of the total energy consumption during the user's local calculation is expressed as:

[0071]

[0072]

[0073] Where P k T off represents the computational energy consumption of user k, P k represents the transmission power of user k, T off represents the uninstallation time of user k, represents the communication energy consumption of user k, κ k represents the effective capacitance coefficient of user k.

[0074] In this optional embodiment, the maximum value constraint of the total energy consumption during local computing by the user indicates that the energy consumption of each user cannot exceed its maximum energy value.

[0075] In an optional embodiment, the expression for the maximum value constraint of the computing task amount of the remote computing is:

[0076]

[0077]

[0078] N k =B k T off

[0079] In the formula, It indicates the amount of tasks that the UAV can successfully receive from user k.

[0080] The expression for the maximum CPU frequency constraint assigned to the remote computing task by the drone's edge server is:

[0081]

[0082] In the formula, f U,max Indicates the maximum value of the total CPU frequency of the drone edge computing server.

[0083] As an exemplary explanation, when user k offloads a task to a drone, due to the limited length of the data packet, the decoding error probability and the information leakage probability cannot be ignored; therefore, when representing the data size of the offloaded task that the drone can successfully receive, the decoding error probability and the information leakage probability need to be considered. Taking into account the decoding error probability and the information leakage probability, this application proposes the above expression.

[0084] Example 2

[0085] This embodiment makes improvements based on the physical layer security design method for URLLC task offloading of the drone MEC system proposed in Embodiment 1;

[0086] The calculation expression of the minimum safe computing amount of the user is:

[0087]

[0088] Where, L k Indicates the minimum safe computing capacity of a user.

[0089] In an optional embodiment, the expression of the security calculation amount optimization model is:

[0090]

[0091]

[0092]

[0093]

[0094]

[0095]

[0096]

[0097]

[0098]

[0099]

[0100]

[0101]

[0102] In the formula, represents the local and remote computing time, B represents the bandwidth allocated to all users, represents the CPU frequency of local calculations of all users and the CPU frequency of the drone remote calculation assigned to user tasks, q represents the horizontal position of the drone, x and y represent the horizontal coordinate value and vertical coordinate value of the drone's horizontal position, respectively, t comp Indicates the maximum computational latency across all devices.

[0103] In an optional embodiment, the objective function is a non-convex objective function. When solving the mobile edge computing optimization model using the alternating iteration method, the objects of alternating optimization include: local and remote computing time Bandwidth B allocated to all users, CPU frequency of local computing of all users and CPU frequency allocated to user tasks by drone remote computing and the horizontal position q of the drone.

[0104] As an example, the goal of this application is to optimize local and remote computing time Bandwidth allocated to all users The CPU frequency of all users' local calculations and the CPU frequency of the drone's remote calculations assigned to user tasks and the horizontal position q of the drone to maximize the minimum safe computational effort of the user;

[0105] Due to the non-convexity of the maximum constraint of the total energy consumption of the user's local computing and the maximum constraint of the computing task volume of the remote computing, the security computing volume optimization model is a non-convex optimization problem and needs to be converted into a convex optimization problem for solution;

[0106] Among them, the maximum value constraint of the total energy consumption during local computing by the user is expressed as: Right now:

[0107] The expression for the maximum value constraint of the computing task volume of remote computing is: Right now:

[0108] As an exemplary explanation, this embodiment designs an effective alternating iterative optimization algorithm to solve the security calculation optimization model (problem P1). To facilitate solving the problem, an auxiliary variable η is first introduced, and satisfies:

[0109] Therefore, problem P1 becomes the following problem P2:

[0110]

[0111]

[0112]

[0113]

[0114]

[0115]

[0116]

[0117]

[0118]

[0119] Using block coordinate descent method, we can optimize the variable B in problem P2. Decouple from q and decompose question (P2) into two sub-problems: 1) Given bandwidth and CPU frequency Subproblem 1: Jointly optimize the horizontal position q and computation time of the UAV 2) Given the horizontal position and time of the drone Subproblem 2: Jointly optimize bandwidth and CPU frequency These two sub-problems are solved alternately until the target optimization value η converges;

[0120] Optimize the horizontal position q and time of the drone When the bandwidth and CPU frequency of the drone are known Jointly optimize the horizontal position q and calculation time of the UAV The sub-problem can be expressed as the following problem P3:

[0121]

[0122] st(1)-(3),(6),(7)

[0123] Due to the non-convexity of constraint (7), problem P3 is still a non-convex optimization problem. k is a complex expression:

[0124] Therefore, subproblem P3 is difficult to solve. k The term that does not contain the optimization variable of subproblem P3 is defined as And define Can get A log function lower bound of and The mathematical relationship between

[0125] For a given It can be deduced that the lower bound of the actual secure transmission rate of finite-length data packets is:

[0126] Among them, ξ k =ξ 1k -ln 2δ k ξ 2k ,μ k =μ 1k -ln 2δ k μ 2k , and, If and only if hour, make Formula (7) can be transformed into is equivalent to:

[0127] Since the left side of the above formula is convex, the right side of the above formula is is convex, Ask about The first-order Taylor expansion of is:

[0128] So formula (10) can be transformed into:

[0129]

[0130] Therefore, subproblem P3 can be transformed into the following problem P4:

[0131]

[0132] st(1)-(3),(6),(11)

[0133] At this time, problem P4 is a standard convex optimization problem. As an example, the convex optimization tool cvx (Convex Optimization) is used to effectively solve problem P4;

[0134] Optimize bandwidth B and CPU frequency Given the horizontal position and delay of the drone Jointly optimize bandwidth B and CPU frequency The sub-problem can be expressed as the following problem P5:

[0135]

[0136] st(1),(4)-(8)

[0137] In constraint (7), let but

[0138]

[0139] make

[0140]

[0141] By taking the second-order derivative, we know that All about B k is a concave function, so constraint (7) is a non-convex constraint. Problem P5 is a non-convex optimization problem that can be effectively solved by continuous convex approximation. Assume that B k (i) For B k The value obtained in the i-th iteration is In B k (i) Using a first-order Taylor expansion, we get the upper bound:

[0142] in,

[0143] express In B k (i) The first-order derivative at ,

[0144] in,

[0145] express In B k (i) The first derivative at ;

[0146]

[0147] in,

[0148] express In B k (i) The first derivative at ;

[0149]

[0150] so, Then the inequality Convert to about Convex inequality of:

[0151]

[0152] Then, subproblem P5 becomes the following convex subproblem P6:

[0153]

[0154] st(1),(4)-(6),(8),(12)

[0155] Problem P6 is a convex optimization problem, which can be solved by using a convex optimization solver. As an example, cvx is used to solve it.

[0156] As an example, Figure 3 This is a schematic diagram of the optimization algorithm flow proposed in this embodiment; Figure 3 The specific steps of the joint optimization algorithm proposed in subproblem P2 are shown, and the specific steps are as follows:

[0157] 1) Set the initial value q (0) , B (0) , η (0) , threshold δ, iteration number i = 0;

[0158] 2) circulation;

[0159] 3) i = i + 1;

[0160] 4) Given q (i-1) , B (i-1) By solving problem P3, we can get q (i) ,

[0161] 5) Given q (i) , B (i-1) By solving the problem (P6) B (i) , η (i) ;

[0162] 6) If Then jump out of the loop, otherwise, return to the third step;

[0163] 7) Output q (i) , B (i) , η (i) .

[0164] In summary, this application proposes a UAV mobile edge computing system based on ultra-reliable low-latency secure communication. The UAV under consideration is equipped with an edge computing server with computing power, which can assist in computing tasks offloaded from ground IoT devices while preventing the offloaded tasks from being eavesdropped by eavesdroppers. A computing method combining local computing and edge computing is adopted, that is, users reasonably offload part of the tasks to the UAV for computing according to the communication and computing conditions, and the remaining tasks are retained locally for computing. In order to achieve ultra-reliable low-latency communication during task transmission, all task data transmitted between users and UAVs need to be encoded into data packets of finite length. The goal of this application study is to maximize the user's minimum total security computing amount by jointly optimizing latency, communication resources, computing resources, and the location of the UAV, taking into account the presence of eavesdroppers. The total security computing amount includes local computing amount and edge computing amount.

[0165] It can be understood that the physical layer security design method for URLLC task offloading of the drone MEC system in this embodiment improves the method of Example 1. The options in the above-mentioned Example 1 are also applicable to this embodiment, so they will not be repeated here.

[0166] Example 3

[0167] This embodiment is based on the physical layer security design method for URLLC task offloading of the drone MEC system proposed in Example 1 and / or Example 2, and proposes a specific situation in which this method is used for task transmission when an eavesdropper exists.

[0168] Figure 4 This is a graph showing the optimal position of the drone proposed in this embodiment changing with the position of the eavesdropper; Figure 5 A graph showing the relationship between the bandwidth allocated to each user and the location of the eavesdropper proposed in this embodiment; Figure 6 A diagram showing the relationship between the security calculation amount and the eavesdropper's position proposed in this embodiment; Figure 7 This is a relationship diagram between the CPU frequency allocation of the drone proposed in this embodiment and the eavesdropper's position.

[0169] Figure 4 The figure shows the change of the drone position when the eavesdropper is in (1) to (6). When the eavesdropper is in (1)-(6), the optimal position of the corresponding drone is drone (1)-(6). Figure 4 When the eavesdropper is located closer to user 1 in (1)-(3), the security of user 1 is lower. The optimal position of the drone will be closer to user 1, which will increase the security transmission rate of user 1. Figure 5As shown, the bandwidth allocated to user 1 is more than that to user 2 and user 3. As the eavesdropper's position gradually approaches the center of the three users, that is, the eavesdropper is at position (4), the security of the three users gradually becomes equal. Figure 5 The bandwidth allocated to user 1 is reduced, and the bandwidth allocated to user 2 and user 3 is increased. Figure 6 The amount of secure computation in Figure 7 The CPU frequency of the drone assigned to the user computing task is also gradually increasing. When the eavesdropper's position gradually moves away from the three users, such as the eavesdropper in Figure 4 (5)(6) positions, the optimal position of the drone will gradually approach the center of the three users, such as Figure 4 In the figure, the optimal position of the drone corresponding to the eavesdropper at position (6) is closer to the center of the three users than the optimal position of the drone corresponding to the eavesdropper at position (5). This is because as the eavesdropper gradually moves away from the three users, the higher the security of the three users, the less communication resources are needed to achieve the maximum security calculation rate for the minimum target user, such as Figure 5 In the example, the bandwidth allocation of the three users is decreasing. Figure 6 The amount of security calculation and Figure 7 The CPU frequencies of drones allocated to user computing tasks are increasing.

[0170] Figure 8 This is a graph showing the change of security calculation amount with the CPU frequency of the drone when the bandwidth is fixed as proposed in this embodiment; the two cases where the eavesdropper is close to user 1 (such as the eavesdropper is located at (2)) and the eavesdropper is far away from the three users (such as the eavesdropper is located at (5)) are selected to analyze the impact of each parameter change on the system model. Figure 8 The graph shows the curves of the security calculation amount changing with the CPU frequency of the drone when the total bandwidth is fixed at 0.5MHz, 0.7MHz, and 0.9MHz. The CPU frequency of the drone is relatively small, and the total bandwidth is 0.5MHz, 0.7MHz, and 0.9MHz respectively. When the eavesdropper is at (2) or (5), the curves overlap and the security calculation amount is equal. This is because the communication resources are sufficient and the computing resources are insufficient. The computing bottleneck makes it impossible to further increase the security calculation amount. Increasing the CPU frequency of the drone can increase the security calculation amount. When the CPU frequency of the drone is greater than 5GHz, the larger the bandwidth, the larger the security calculation amount. Under the same bandwidth, when the CPU frequency of the drone increases and the security calculation amount no longer increases, the communication bottleneck is reached. At this time, the security calculation amount of the user when the eavesdropper is at position (5) is greater than the security calculation amount of the user when the eavesdropper is at position (2). This is because when the communication resources are insufficient, the overall security of the three users when the eavesdropper is at position (5) is higher than the overall security when the eavesdropper is at position (2).

[0171] Fig. 9 This is a graph showing the variation of the security calculation amount with the total bandwidth when the maximum CPU frequency of the drone is fixed as proposed in this embodiment; Fig. 9 The figure shows how the amount of security calculation changes with the total bandwidth when the maximum CPU frequency of the fixed drone is 5GHz, 6GH, and 7GHz respectively. When the total bandwidth is less than 0.4MHz, the curves of the eavesdropper at (5) and (2) overlap, and both increase with the increase of bandwidth. This is because when the bandwidth is small, the communication resources are insufficient, and the communication bottleneck makes it impossible to further increase the amount of security calculation. Increasing the bandwidth can enable users to offload more tasks to the drone for calculation, thereby increasing the amount of security calculation. The amount of security calculation when the eavesdropper is located at (5) is higher than that when the eavesdropper is located at (2). This is because when the eavesdropper is located at (5), the overall security of the three users will be higher, and users can offload more computing tasks to the drone. When the total bandwidth is greater than 0.4MHz, the higher the CPU frequency of the drone, the greater the amount of security calculation. This is because when the bandwidth is larger, when the CPU frequency of the drone is the same, increasing the bandwidth will no longer increase the amount of security calculation. This is because at this time, the communication resources are sufficient and the computing bottleneck is reached, making it impossible to further increase the amount of security calculation. At this time, the curves of the eavesdropper at position (5) and position (2) overlap. This is because the communication resources are sufficient and the user can offload the computing tasks that are enough to consume the CPU frequency of the drone to the drone. Therefore, when the CPU frequencies of the drones are the same, the curves overlap.

[0172] Fig.10 This is a schematic diagram of the convergence of the joint optimization algorithm proposed in this embodiment; Fig.10 The convergence of the joint optimization algorithm with different parameters is shown. The objective function value converges after the second iteration, which shows that the algorithm proposed in this paper can converge quickly. Since the algorithm has a small number of convergence iterations, the complexity of the algorithm is low. When the total bandwidth, the maximum CPU frequency of the drone, and the eavesdropper position are changed, similar convergence is also achieved, which shows that the algorithm has good stability.

[0173] Fig.11 This is a first comparative schematic diagram proposed in this embodiment; Fig.12 A second comparative schematic diagram proposed for this embodiment; Fig.11 and Fig.12 The performance comparison between the joint optimization algorithm used in this application and the four benchmark solutions is shown, respectively, showing the performance comparison of the four benchmark solutions (a, b, c, d) in the two cases where the eavesdropper is located at position (2) and position (5):

[0174] a) Only optimize q, The fixed offload bandwidth and the CPU frequency of the drone are evenly divided among all ground users, and the CPU frequency of the ground users obtains the maximum value, optimizing the deployment position q of the drone and the local and remote computing time.

[0175] b) Optimize only B, The deployment position q of the fixed UAV is located at the center of the three users, and the local and remote computing time reaches the maximum value of the limited conditions. The offloading bandwidth and the CPU frequency of the UAV and the ground user are optimized.

[0176] c) Upper bound: The short packet communication rate of the optimization problem is replaced by the Shannon capacity formula, and the deployment location of the UAV, task offloading bandwidth, local and remote computing time, and CPU frequency of the UAV and ground users are jointly optimized. The resulting secure computing amount is the upper bound of the proposed algorithm.

[0177] d) Based on Shannon’s formula: Substitute the optimized values ​​of the UAV deployment location and task offloading bandwidth obtained by the upper bound scheme into the URLLC system model of this paper to obtain the security calculation amount based on the Shannon’s formula scheme.

[0178] Fig.11 This is a comparison chart of different UAV CPU frequency schemes when the eavesdropper is at position (5). When the CPU frequency of the UAV is less than 5GHz, except for the scheme based on Shannon’s formula, the curves of other schemes overlap. This is because when the CPU frequency of the UAV is low, the communication resources are sufficient, the CPU frequency of the UAV is exhausted, and the communication of the three comparison schemes except the scheme based on Shannon’s formula is not affected. The remote calculation of the UAV is affected in the same way. When the CPU frequency of the UAV increases to a certain extent, the amount of secure calculation tends to be stable. This is because the joint optimization scheme is gradually better than the optimization of q alone due to the limitation of the total bandwidth. Solution, optimize only B, The scheme and the scheme based on Shannon's formula are second only to the upper bound scheme.

[0179] Fig.12 This is a comparison chart of different UAV CPU frequency solutions when the eavesdropper is at position (2). Fig.11 It can be seen that the algorithm proposed in this paper is better than the suboptimal algorithm when the eavesdropper is in different positions.

[0180] The same or similar reference numerals correspond to the same or similar components;

[0181] The terms used to describe the positional relationship in the drawings are only used for illustrative purposes and should not be construed as limiting the present embodiment;

[0182] Obviously, the above embodiments of the present invention are merely examples for clearly illustrating the present invention, and are not intended to limit the embodiments of the present invention. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the embodiments here. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the claims of the present invention.

Claims

1. A physical layer security design method for URLLC task offloading in UAV MEC system, characterized by: The following steps are involved: Constructing a drone MEC system, the system includes: a user, a drone and an edge computing server carried by the drone, the user and the drone are connected in communication based on URLLC; Get the bandwidth allocation constraints allocated by the drone to the user; Calculate the maximum secure communication rate between the drone and the user. Based on the maximum secure communication rate, unload part of the computing tasks to the drone in the form of channel data packets of preset length for remote computing. The remaining tasks are computed locally by the user. The amount of computing tasks computed locally by the user and the amount of computing tasks computed remotely are obtained. Obtain the maximum CPU frequency constraint during local computing by the user, the maximum total energy consumption constraint during local computing by the user, the maximum computing task amount constraint of remote computing, and the maximum CPU frequency constraint allocated by the edge server of the drone to the remote computing task, wherein the total energy consumption of local computing includes: communication energy consumption and computing energy consumption of local computing; Calculate the user's minimum safe computing workload based on the user's local computing workload and remote computing workload; Taking maximizing the user's minimum secure computing amount as the objective function, the optimization model for secure computing amount is constructed by considering the bandwidth allocation constraints allocated by the drone to the user, the maximum CPU frequency constraints during local computing, the maximum total energy consumption constraints during local computing, the maximum computing task constraints of remote computing, and the maximum CPU frequency constraints allocated by the drone's edge server to remote computing tasks. The alternating iteration method is used to solve the security calculation optimization model and obtain the optimal value of the user's minimum security calculation.

2. According to claim 1, the physical layer security design method for URLLC task offloading of the UAV MEC system is characterized in that: Assuming that all users communicate with the drone through orthogonal frequency division channels, the expression of the bandwidth allocation constraint allocated by the drone to the user is: Where K represents the total number of legal user devices, B k represents the bandwidth allocated to user k by the drone, B max Indicates the maximum total bandwidth.

3. According to claim 2, the physical layer security design method for URLLC task offloading of the UAV MEC system is characterized in that: The calculation expression of the maximum secure communication rate is: In the formula, R k represents the maximum secure communication rate, C k represents the maximum secure communication rate that can be achieved based on infinite length data packets, N represents the channel dispersion that characterizes the random variability of the channel relative to a deterministic channel with the same capacity. k Indicates the preset length of the channel data packet, Q -1 (·) represents the inverse function of the Q function, ∈ k represents the maximum decoding error probability of the kth user, δ k Indicates the amount of information leakage; represents the received signal-to-noise ratio of the offload channel of user k, It represents the receiving signal-to-noise ratio of the eavesdropper when the eavesdropper steals the information of the kth user. Represents the trigonometric equal sign.

4. The physical layer security design method for URLLC task offloading of the UAV MEC system according to claim 3 is characterized in that: The expression of the computing task amount of the user's local calculation is: In the formula, Indicates the amount of computing tasks performed by the user's local computing. represents the computation time of user k's local computation, f k Indicates the CPU frequency of the user's local calculation, c k Indicates the number of CPU cycles required to calculate 1 bit of task data.

5. According to claim 4, the physical layer security design method for URLLC task offloading of the unmanned aerial vehicle MEC system is characterized in that: The expression of the computing task amount of the remote computing is: In the formula, represents the amount of computing tasks for remote computing, represents the remote computing time of user k’s task, f U,k It represents the CPU frequency allocated by the drone edge computing server for the computing tasks offloaded by user k.

6. The physical layer security design method for URLLC task offloading of the UAV MEC system according to claim 5 is characterized in that: The expression for the maximum CPU frequency constraint during local calculation by the user is: In the formula, f k Indicates the CPU frequency of the user's local calculation, f k,max Indicates the maximum CPU frequency during local computing by the user; The maximum value constraint of the total energy consumption during the user's local calculation is expressed as: Where P k T off represents the computational energy consumption of user k, P k represents the transmission power of user k, T off represents the uninstallation time of user k, represents the communication energy consumption of user k, κ k represents the effective capacitance coefficient of user k.

7. The physical layer security design method for URLLC task offloading of the UAV MEC system according to claim 6 is characterized in that: The expression for the maximum value constraint of the computing task amount of the remote computing is: N k =B k T off In the formula, It indicates the amount of tasks that the UAV can successfully receive from user k; The expression for the maximum CPU frequency constraint assigned to the remote computing task by the drone's edge server is: In the formula, f U,max Indicates the maximum value of the total CPU frequency of the drone edge computing server.

8. The physical layer security design method for URLLC task offloading of the UAV MEC system according to claim 7 is characterized in that: The calculation expression of the minimum safe computing amount of the user is: Where, L k Indicates the minimum safe computing capacity of a user.

9. The physical layer security design method for URLLC task offloading of the UAV MEC system according to claim 8 is characterized in that: The expression of the safety calculation amount optimization model is: In the formula, represents the local and remote computing time, B represents the bandwidth allocated to all users, represents the CPU frequency of local calculations of all users and the CPU frequency of the drone remote calculation assigned to user tasks, q represents the horizontal position of the drone, x and y represent the horizontal coordinate value and vertical coordinate value of the drone's horizontal position, respectively, t comp Indicates the maximum computational latency across all devices.

10. The physical layer security design method for URLLC task offloading of the UAV MEC system according to claim 9 is characterized in that: The objective function is a non-convex objective function. When solving the mobile edge computing optimization model using the alternating iteration method, the objects of alternating optimization include: local and remote computing time Bandwidth B allocated to all users, CPU frequency of local computing of all users and CPU frequency allocated to user tasks by drone remote computing and the horizontal position q of the drone.

Citation Information

Cited By

  • Intelligent safety capacity improving method and device for guaranteeing deterministic time delay

    CN120547627A