Security resource allocation method for semantic communication network of low-altitude economic unmanned aerial vehicle

By improving the iterative matching algorithm and exchange matching theory, optimizing the channel allocation and the number of semantic symbols of the UAV semantic communication network, and combining with the hybrid attack strategy, the problems of limited resources and low security of the low-altitude economic UAV network are solved, and efficient Semantic communication and fair resource allocation improve the overall confidential semantic communication rate and resource allocation fairness.

CN118574227APending Publication Date: 2024-08-30XIAMEN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410765602.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-08-30

AI Technical Summary

Technical Problem

How to improve communication efficiency and physical layer security performance of low-altitude economic UAV semantic communication networks when facing hybrid attacks, especially when resources are limited, how to effectively utilize network resources to resist malicious attacks.

Method used

The exchange matching theory is used to improve the iterative matching algorithm, optimize the legal user channel allocation and the number of semantic symbols, combined with the attack strategy of the hybrid attacker, maximize the total confidential semantic transmission rate of the network, and ensure that through the iterative matching algorithm with fairness considerations, More users access the network, thereby improving the fairness of resource allocation.

Benefits of technology

It significantly improves the secure communication performance and resource allocation fairness of the low-altitude UAV semantic communication network, increases the total confidential semantic communication rate, and achieves resource allocation fairness on the basis of ensuring safety performance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118574227A
    Figure CN118574227A
Patent Text Reader

Abstract

The invention discloses a security resource allocation method for a semantic communication network of a low-altitude economic unmanned aerial vehicle. Taking a low-altitude logistics scene as an example, in a low-altitude unmanned aerial vehicle semantic communication network subjected to mixed attacks, key information such as positions and channel states of legal users (ground users and low-altitude logistics unmanned aerial vehicles), base stations and mixed attackers is utilized; two low-complexity security resource allocation schemes based on exchange matching are provided by considering constraints in multiple aspects such as the number of channels which can be occupied by users, semantic similarity requirements, a security semantic rate threshold and a mixed attacker strategy, the first scheme maximizes the total semantic security rate of the network by optimizing user channel allocation and the number of transmission symbols, and the second scheme maximizes the security rate of the network by optimizing user channel allocation and the number of transmission symbols; the second scheme serves as an optional supplement of the first scheme, the defect of the second scheme on the fairness of user resources is considered, and the fairness of resource allocation is improved by adding additional iteration. And compared with a baseline scheme, the network security performance is optimized, and the fairness of network resource allocation is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the fields of semantic communication, resource allocation, physical layer secure communication, anti-interference secure communication, and more specifically relates to a secure resource allocation method for a semantic communication network of low-altitude economical unmanned aerial vehicles. Background Art

[0002] In the context of the information society, the development of wireless communication systems has an extremely important role and significance in promoting the development of the modern economy. Taking the low-altitude economy industry as an example, as an emerging industry that is competing globally, the low-altitude economy is accelerating its integration into all walks of life, and the market scale is constantly expanding; low-altitude drones, as an important part of the low-altitude economy industry, have driven the development and implementation of emerging applications such as low-altitude logistics, urban management, and emergency rescue. In order to provide high-quality services, it is crucial to improve the communication efficiency and safety performance of drones; in the research of modern wireless communication systems, people have vigorously developed coding and decoding technologies, multiplexing technologies, etc., and have done their best to optimize data-centric communication performance indicators such as data rate and bit error rate by using traditional communication theory; however, with the increasing requirements for data volume and communication rate in modern industry and social life, traditional data-centric communication systems are facing performance bottlenecks, and semantic communication technology is expected to break this situation. Different from traditional communication, semantic communication is more oriented to specific communication tasks and the meaning of source information. It aims to extract and transmit the most important information for specific tasks, rather than accurately transmitting original data, so as to reduce the symbols transmitted on the physical channel, thereby improving communication efficiency and reducing network burden.

[0003] In recent years, semantic communication has attracted extensive attention from the academic community due to its huge potential. Combining advanced technologies in natural language processing, computer vision and other fields, scholars have proposed a series of semantic communication system architectures based on deep learning. In the literature [H.Xie, Z.Qin, GYLi, and BHJuang, "Deep learning enabled semantic communication systems," IEEE Trans.Signal Process., vol.69, pp.2663-2675, Apr.2021.], the authors proposed a semantic communication system architecture for text transmission called DeepSC based on deep learning technology. The key to DeepSC is that it uses a Transformer-based neural network to extract the semantics of the text to be sent at the sender and compress the transmission data. At the same time, the same network is used at the receiver to restore the received semantic data to the original text. Secondly, DeepSC also introduces transfer learning technology to accelerate training and ensure its performance in different channel environments. Experimental results show that compared with traditional communication systems, DeepSC has better performance and better stability under different environmental conditions.

[0004] Although the principle is different from that of traditional communication, semantic communication systems also face the problem of limited network resources. How to efficiently use limited network resources is also a major challenge for semantic communication; L. Yan et al. [L. Yan, Z. Qin, R. Zhang, Y. Li, and G. Ye Li, "QoE-aware resource allocation for semantic communication networks," in Proc. IEEE Global Commun. Conf. (GLOBECOM), Rio de Janeiro, Brazil, Dec. 2022, pp. 3272-3277] studied the resource allocation problem of semantic communication networks with multimodal tasks and defined the quality of experience (QoE) of semantic communication networks. Considering the interference problem of channel multiplexing between users of multiple base stations, an iterative algorithm based on exchange matching is proposed to maximize the total network QoE by optimizing user channel selection, the number of semantic symbols transmitted by users, and the transmit power of users. Compared with the baseline algorithm, better performance and robustness to system parameters are achieved. In addition, in an open wireless link environment, the performance of semantic communication systems is also vulnerable to malicious attacks.Qin et al. [Qin, Y. Rong, G. Nan, S. Wu, X. Zhang, Q. Cui, and X. Tao, "Securing semantic communications with physical-layer semantic encryption and obfuscation," in Proc. IEEE Int. Conf. Commun. (ICC), Rome, Italy, May. 2023, pp. 5608-5613.] consider that semantic communications may be subject to eavesdropping attacks in an open environment. A new physical layer semantic encryption scheme for static fading environments is proposed, and a subcarrier-level semantic obfuscation mechanism is introduced. These two schemes respectively generate semantic keys by utilizing the randomness of BLEU scores and dynamically insert virtual data to effectively improve the security of the semantic communication process; Y. Li et al. [Y. Li, X. Zhou, and J. Zhao, "Resource allocation for semantic communication under physical-layer security," in Proc. IEEE Global Commun. Conf. (GLOBECOM), Kuala Lumpur Lumpur, Malaysia, Dec. 2023, pp. 2063-2068.] Considering the situation in a downlink semantic communication system where all legitimate users are eavesdropped, based on convex optimization theory, an adaptive resource allocation algorithm is proposed by introducing different weight parameters to optimize the server's transmission power, the number of transmitted semantic symbols, and the corresponding transmission bandwidth for each user, thereby jointly optimizing the latency and utility of the entire system and improving the performance and security of the system.

[0005] Different from the above-mentioned studies, the present invention introduces semantic communication technology into the UAV communication network in the low-altitude economic scenario to improve the communication efficiency. At the same time, it introduces the hybrid attacker and confidential semantic rate model, and combines the two important issues of resource allocation and physical layer security. That is, the communication efficiency and physical layer security performance of the semantic communication network are improved by reasonable resource allocation method. Summary of the invention

[0006] The purpose of the present invention is to improve communication efficiency, especially in the face of active hybrid attacks, to provide a secure resource allocation method for low-altitude economical unmanned aerial vehicle semantic communication network. By using the exchange matching theory and improving the classic exchange matching iteration conditions, a low-complexity iterative matching algorithm is obtained, which jointly optimizes the legitimate user channel allocation and the number of semantic symbols used for semantic communication to adapt to the attack strategy of the hybrid attacker and maximize the total confidentiality semantic transmission rate of the network, thereby improving the secure communication performance of the low-altitude unmanned aerial vehicle semantic communication network; at the same time, based on the above algorithm, an iterative matching algorithm with resource allocation fairness considerations is proposed, which allows more users to access the network at a lower security performance cost, thereby improving the fairness of resource allocation between users.

[0007] To achieve the above object, the present invention provides the following technical solutions:

[0008] Solution 1: A secure resource allocation algorithm (SSRA) for low-altitude UAV semantic communication networks under hybrid attacks, including the following steps:

[0009] Step 1: Build a low-altitude economic stereo communication network scenario, which includes K legitimate users, a base station BS, and a hybrid attacker and M orthogonal channels; set the user classification and location distribution, and initialize the channel state information;

[0010] In step 1, the scenario of building a low-altitude economic stereo communication network can be specifically as follows: In the application scenario of low-altitude economy, in order to provide high-quality communication services, the stereo communication network introduces semantic communication technology to improve communication efficiency. There are K legal users in the network, including K Si unimodal users and K Bi bimodal users, namely K Si +K Bi = K, where the two mission types each account for half of the ground users and low-altitude logistics drones, one base station BS, and one hybrid attacker The base station coverage is a circular area with a radius of R m. K legitimate users are randomly distributed within the base station coverage. Randomly distributed within a range of dm from the edge of the base station coverage; assuming that there are M orthogonal channels in the network, these orthogonal channels initialize channel state information according to the locations of each user, base station and hybrid attacker.

[0011] Step 2: Assign transmission tasks to users in the network, determine whether the user type is a unimodal user or a bimodal user, and set different semantic communication models and corresponding optional transmission semantic symbol sets; unimodal users perform text transmission tasks through the DeepSC model, and bimodal users perform visual question-answering tasks through the DeepSC-VQA model, transmitting text and image semantic data in turn on the channel;

[0012] In step 2, the specific steps may be:

[0013] Assume that the user set is The set of available channels is The set of transmission semantic symbol quantities that can be selected by the user is: For user collections For each user k in , determine whether it is a unimodal user or a bimodal user. If the user is a unimodal user, k>K Bi , then it is set to perform the text transmission task through the DeepSC model, and the number of optional transmission semantic symbols is If the user is a bimodal user, k≤K Bi , then the DeepSC-VQA model is used to perform the visual question answering task, and the text and image semantic data are transmitted on the channel in sequence. The number of optional semantic symbols to be transmitted is in, The number of semantic symbols transmitted for text, Transmitting a set of semantic symbol quantities for the image;

[0014] Step 3: Allocate a channel to user k in the network, and use a binary variable to represent the user's choice of channel to ensure that the same channel is not occupied by multiple users at the same time, while allowing users to use multiple channels at the same time to increase the communication rate; determine the number of transmission semantic symbols n of user k on channel m k,m ;

[0015] In step 3, the specific steps are as follows: for each user in the stereoscopic network, use the binary variable ρ = {ρ k,m} represents its channel selection, that is, if channel m is assigned to user k, then ρ k,m =1, otherwise ρ k,m =0; it is assumed that legitimate users in the network can occupy multiple channels at the same time to communicate to increase the rate, but the same channel can only be allocated to one user at a time, that is: Where M represents the number of orthogonal channels in the network; K represents the number of legal users in the network; represents the set of orthogonal channels in the network; Represents the set of legal users in the network; at the same time, use the variable n = {n k,m} represents the number of transmission semantic symbols when user k communicates on channel m; accordingly, there should be

[0016]

[0017] Step 4: Simulate the behavior of the hybrid attacker, set the hybrid attacker to only select limited channels for attack; use the binary variable β to represent the channel selection of the hybrid attacker, and track which channels the hybrid attacker chooses to attack;

[0018] In step 4, the specific steps are as follows: set the hybrid attacker to only select some channels for attack, that is, eavesdrop on the data sent by the corresponding user on the selected channel, and send interference signals to the base station on the same channel to interfere with the normal communication of the user; use the binary variable β = {β m} represents the channel selection of the hybrid attacker, β m It is used to indicate whether channel m is selected for attack by a mixed attacker. If channel m is attacked, then β m =1, otherwise β m = 0; at the same time, if it is assumed that the mixed attacker selects a total of D channels to attack, then Where D is the number of channels selected by the hybrid attacker to attack, and M is the number of orthogonal channels in the network.

[0019] Step 5: The total confidentiality semantic transmission rate of the system is determined by the user's channel, the number of transmission semantic symbols, and the attack strategy of the hybrid attacker;

[0020] In step 5, the specific steps are as follows: the user's channel, the choice of the number of transmission semantic symbols, and the attack of the mixed attacker jointly determine the total confidentiality semantic transmission rate of the system; the system is set to first allocate resources between users and determine the channel allocation ρ = {ρ k,m} and the number of semantic symbols is chosen to be n = {n k,m}, then the hybrid attacker selects the channel and the corresponding user to attack according to the above information; for the hybrid attacker, the goal is to maximize its total eavesdropping semantic rate by selecting the attack target; the above attack strategy is represented by function h, then β=h(ρ,n), which is achieved by heap sorting each channel according to the size of the eavesdropping rate and selecting the first D channels;

[0021] Step 6: Given the optimization objective and constraints, maximize the total confidential semantic communication rate of all users in the network while meeting the requirements of minimum semantic similarity and secure communication rate;

[0022] In step 6, the optimization objectives and constraints are as follows:

[0023] Optimization goal:

[0024] Constraint 1:

[0025] Constraint 2:

[0026] The optimization objective is to maximize the total confidentiality semantic communication rate of all users in the network, where represents the total confidential semantic communication rate of user k; constraint 1 stipulates the minimum semantic similarity required for users to communicate semantically on each channel, χ k,m represents the semantic similarity of user k when transmitting in channel m, χ th represents the corresponding threshold; constraint 2 specifies the minimum semantic communication rate required for users to securely access the network. Indicates the user confidentiality semantic communication rate threshold;

[0027] Step 7: Add the user collection and a selectable set of semantic symbols Perform exhaustive combination to obtain the exhaustive combination set Transform the security resource allocation problem from a complex three-sided many-to-one matching problem to a simpler two-sided matching problem;

[0028] In step 7, the specific steps are: the above security resource allocation problem is a user set Available channel set And the set of semantic symbol numbers The three-side many-to-one matching problem between And the corresponding optional semantic symbol number set Perform exhaustive combination to obtain the exhaustive combination set Will Each element r = (k, n) in is defined as a sending block, The corresponding definition is the set of sending blocks; the security resource allocation problem is transformed into the set of available channels and send block set The bilateral matching problem between

[0029] Step 8: Define the set of available channels and send block set The matching state between θ;

[0030] In step 8, the specific steps are: use θ to represent the set of available channels and send block set The matching status between them is: 1) 2) θ(m) = r if and only if m∈θ(r); 3) in, represents the sending block set of user k; Indicates a set of semantic transmission symbols selectable by the user;

[0031] Step 9: Define the utility function of each channel and each user in matching;

[0032] In step 9, the specific steps are as follows: define the utility function of the channel as the confidentiality semantic rate of the corresponding user transmitted on it, that is, Where Φ k,m represents the semantic rate transmitted by user k on channel m, represents the corresponding eavesdropping semantic rate of the hybrid attacker, represents the confidentiality semantic rate transmitted by user k on channel m under matching state θ, θ(m) = r and k∈r; the utility function of the user is defined as the total confidentiality semantic rate transmitted on all occupied channels, as shown below:

[0033]

[0034] in, represents the sum of the confidentiality semantic rates of user k on all its matching channels, represents the actual total confidentiality semantic rate of user k;

[0035] Step 10: Target available channel set and send block set The matching between θ, defines the exchange matching

[0036] In step 10, specific steps: define the exchange matching operation Given the current match θ, and θ(m) = r, It means that channel m changes its matching transmission block r = (k, n) to r' = (k', n'), and the channel m' assigned to user k' also changes its matching (k', n') to (k, n), while other channels remain unchanged; m' is optional for m; in addition, the virtual channel set is defined The virtual channel m 0,k Corresponding to user k; when adding a channel m′ for user k, it can be done by exchanging matching to achieve this; where the utility function of the virtual channel is set to 0 and is not calculated in the actual matching θ, but is only used as an auxiliary variable.

[0037] Step 11: Initialize resource allocation; set available channels Set with sending blocks Perform random matching to obtain and update the initial matching θ = θ0, and update the user channel selection ρ = {ρ k,m} and the number of user semantic transmission symbols n = {n k,m};

[0038] Step 12: According to the hybrid channel model, calculate the channel state from the user to the hybrid attacker on each matching channel;

[0039] In step 12, the specific steps are: calculating the signal-interference-to-noise ratio (SINR) of each user to the mixed attacker on each of its matched channels, that is, where p k Indicates the user transmit power, For user k to mixed attacker The large-scale channel gain, including path loss and shadowing effects, Indicates that user k is on channel m to a mixed attacker Rayleigh fading coefficient, B is the channel bandwidth, N0 is the noise power spectrum density, p jam is the interference signal transmission power of the mixed attacker, δ is the self-interference coefficient of the mixed attacker;

[0040] Step 13: Calculate the semantic rate that the hybrid attacker can eavesdrop on on each channel under the initial matching θ0;

[0041] In step 13, the specific steps are as follows: Calculate the semantic rate that the hybrid attacker can eavesdrop on on each channel under θ0; For a single-mode user The semantic rate (in suts / s) that a hybrid attacker can eavesdrop on channel m is in is the source semantic entropy of the single-mode user (in units of sut), is the semantic similarity when the hybrid attacker eavesdrops on the communication, expressed as B represents the channel bandwidth, n k,m represents the number of semantic symbols selected by user k to transmit on channel m;

[0042] For dual-modal users Corresponding to text transmission and image transmission, mixed attacker The text and image semantic transmission rates that can be eavesdropped on the matching channel m are:

[0043]

[0044] in, and are the semantic entropy of the bimodal user text and image sources (in units of sut), It represents the number of semantic symbols used by bimodal users to transmit text and pictures. It depends on both text and image transmission, expressed as The corresponding eavesdropping semantic transmission rate is the average of the above two, that is,

[0045]

[0046] Step 14: Based on the number of users on each channel Update the attack target of the hybrid attacker, that is, update the variable β = {β m};

[0047] Step 15: Calculate the channel state of each user to the base station on its matching channel according to the hybrid channel model;

[0048] In step 15, the specific steps are: calculate the SINR of each user to the base station on each of its matched channels:

[0049]

[0050] Among them, g k is the large-scale channel gain from user k to the base station, represents the Rayleigh fading coefficient from user k to the base station on channel m, is the interference signal power from the mixed attacker received by the base station on channel m, and where g e is the large-scale channel gain from the hybrid attacker to the base station, is the Rayleigh fading coefficient from the hybrid attacker to the base station on channel m;

[0051] Step 16: Update the utility function of each user and each channel according to the channel state of each user to the base station and to the mixed attacker on each matching channel.

[0052] In step 16, the specific steps are: updating the utility function of each user and channel, and calculating the semantic transmission rate of each user on its matching channel;

[0053] For single-mode users:

[0054] For dual-mode users:

[0055] Calculate the corresponding confidentiality semantic transmission rate based on the above And update the utility U of each channel m (θ) and each user’s utility U k (θ);

[0056] Step 17: Generate Swap Matches According to steps 12 to 16, the utility of each channel after exchange is obtained. and the utility of each user

[0057] Step 18: Preset the iteration judgment condition to determine whether the current matching state θ is updated to exchange matching

[0058] In step 18, specific steps: set Originally safe but passed Then the channel that was attacked, It means that it was attacked but after Then the safe channel, Indicates that in this Among them, the number of users who received an increase in attacks, It means in In the case of a user who is attacked less, given like The following conditions are met:

[0059] (1)

[0060]

[0061] (2)

[0062]

[0063] Then update the current match to At the same time, update the user channel selection ρ, the number of user transmission semantic symbols n and the attack channel selection β of the mixed attacker, otherwise keep the original matching state unchanged; Among them, the three sub-conditions in condition (1) are in a logical AND relationship, the three sub-conditions in condition (2) are in a logical OR relationship, and the relationship between condition (1) and condition (2) is a logical AND relationship;

[0064] Step 19: Traverse all users and corresponding channels, and repeat steps 17 to 18 until the current resource matching state θ is no longer updated;

[0065] Step 20: Output the user channel selection ρ and the number of user semantic transmission symbols n as the final resource allocation scheme, and output the total confidentiality semantic rate of the network As the final result of resource allocation.

[0066] Option 2:

[0067] A swap-based secure resource allocation algorithm with fairnessawareness (SSRA-FA) for low-altitude UAV semantic communication networks under hybrid attacks includes the following steps:

[0068] Step 1: Repeat steps 1 to 16 in solution 1;

[0069] Step 2: Generate swap matches And calculate the channel utility and users

[0070] Step 3: Setup For this exchange The set of all legal users affected, set for A subset of , where all elements s satisfy Simultaneous setting If the exchange matches The following conditions are met:

[0071] (1)

[0072] (2)

[0073] (3) Then update the current match to At the same time, update the user channel selection ρ, the number of user semantic transmission symbols n and the attack channel selection β of the mixed attacker, otherwise keep the original matching state unchanged; the above conditions (1), (2) and (3) are logically ANDed;

[0074] Step 4: Traverse all users and corresponding channels, repeat steps 2 to 3 until and The matching state θ between them is no longer updated;

[0075] Step 5: Repeat steps 17 to 19 in solution 1;

[0076] Step 6: Output the user channel selection ρ and the number of user transmission semantic symbols n as the final resource allocation scheme, and output the total confidentiality semantic rate of the network At the same time, the fairness of resource allocation is calculated, that is,

[0077] Compared with the existing technology, the above scheme has the following outstanding advantages:

[0078] Different from the traditional communication resource allocation method, the present invention introduces semantic communication into the low-altitude logistics scenario to improve communication efficiency. Considering the existence of active hybrid attackers in the uplink low-altitude UAV semantic communication network, two low-complexity iterative search resource allocation methods are proposed by combining the attacker's strategy characteristics and exchange matching theory. The first method maximizes the total semantic confidentiality rate of the system by optimizing the channel allocation between users and the number of semantic symbols used for transmission. The second method adds an additional exchange matching iteration stage on the basis of the first method. Before optimizing the total semantic confidentiality rate of the system, it accesses all users as much as possible to achieve a relatively fair initial resource allocation state, thereby improving the fairness of the final system resource allocation.

[0079] During the iteration process, SSRA mainly tends to improve the total confidentiality semantic rate of the network, but does not guarantee the access of all users. At the same time, in the iteration process based on exchange matching, each time a user is exchanged, at most one more channel is allocated. The iteration of SSRA starts from the initial random matching. If in the initial matching, a user is allocated too few channel resources, resulting in that the user cannot access the network even if a channel is added, then compared with other users, the chance of obtaining more resources in the subsequent iteration process is relatively much smaller, and it is more difficult to access the network and improve the confidentiality semantic rate, which causes unfair resource allocation. In order to access more users and improve the fairness of resource allocation, the SSRA-FA scheme is based on SSRA, and adds an additional exchange matching iteration stage after the initial random matching. On the basis of ensuring that the connected users are still connected after the exchange, the non-connected users are encouraged to obtain more resources and higher confidentiality semantic rates through exchange matching. Before optimizing the total confidentiality semantic rate, it iterate to a relatively fair starting match, thereby effectively improving the fairness of the final resource allocation. Simulations show that compared with the baseline scheme, the above scheme has significantly improved the total confidentiality semantic communication rate and resource allocation fairness of the network. Compared with the performance standard scheme (benchmark), the above scheme has a smaller decrease in the total confidentiality semantic communication rate in exchange for a significant improvement in user resource allocation fairness. BRIEF DESCRIPTION OF THE DRAWINGS

[0080] Figure 1 This is a system model diagram of the method for allocating security resources for semantic communication networks of low-altitude unmanned aerial vehicles under hybrid attacks implemented in the present invention.

[0081] Figure 2 The figure is a performance comparison diagram of the security resource allocation method implemented in the present invention and other algorithms under conditions of different channel numbers.

[0082] Among them, (a) represents the total confidentiality semantic rate, in units of suts / s / Hz, which means excluding the fixed channel bandwidth B, and the same below; (b) represents the fairness of resource allocation. DETAILED DESCRIPTION

[0083] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the following embodiments will further illustrate the present invention in conjunction with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0084] Figure 1 A system model of a resource allocation method for semantic communication network security of low-altitude UAVs under hybrid attacks is presented. In the model, the network has K legitimate users, a base station and a hybrid attacker; the K legitimate users communicate with the base station through several orthogonal wireless channels. Among them, single-mode users and dual-mode users each account for half, and ground users and low-altitude logistics UAVs each account for half. Each user has its own semantic data, which is transmitted to the base station through a semantic transmitter and a wireless channel. The base station then decodes the collected user semantic data through a semantic receiver; during the transmission process, there is a hybrid attacker who can choose to carry out hybrid attacks on certain channels, that is, eavesdropping attacks and interference attacks at the same time. Under eavesdropping attacks, the hybrid attacker attempts to decode the semantic data transmitted in the attacked channel; under interference attacks, the hybrid attacker transmits interference channels to the base station on the attacked channel, making the normal communication transmission on the channel unreliable. As the core node of communication, the base station is responsible for managing these channels and deciding how to allocate resources to each user in order to maximize the transmission efficiency while ensuring communication security. The present invention is based on this system, and its goal is to find the best resource allocation strategy so that the highest possible semantic transmission efficiency can be achieved under limited resources while resisting threats from hybrid attackers.

[0085] Example 1

[0086] A specific implementation use case of a swap-based secure resource allocation algorithm (SSRA) for low-altitude UAV semantic communication networks under hybrid attacks includes the following steps:

[0087] Step 1: In the low-altitude economic application scenario, the three-dimensional network uses semantic communication to improve network communication efficiency; there are 4 users in the network (including 2 single-mode users and 2 dual-mode users, of which ground users and low-altitude logistics drones each account for half), a base station (BS), and a hybrid attacker The base station coverage radius is 500m, users are randomly distributed within the base station coverage, and mixed attackers are randomly distributed within 100m from the edge of the base station coverage. Assume that there are 8 orthogonal channels in the network, and initialize the channel state information.

[0088] Step 2: Assume that the user set is The set of available channels is The set of transmission semantics symbol quantities that can be selected by the user is: For Users If it is a unimodal user (k>2), then If user k is a bimodal user (k≤2), then in

[0089]

[0090] Step 3: For each legitimate user in the network, use the binary variable ρ = {ρ k,m} to represent its channel selection, that is, if channel m is allocated to user k, then ρ k,m =1, otherwise ρ k,m =0; at the same time, use the variable n={n k,m} is used to represent the number of transmission semantic symbols when user k communicates on channel m.

[0091] Step 4: Set the mixed attacker to select a total of 4 channels to attack, using β = {β m} represents the channel selection of the hybrid attacker, that is, if channel m is subjected to a hybrid attack, then β m =1, otherwise β m =0.

[0092] Step 5: Given the optimization objective and constraints, let χ th =0.9,

[0093] Step 6: Collect users and the number of user-selectable semantic symbols Perform exhaustive combination to obtain the sending block set Transform the above problem into and The two-sided matching problem between and The match between .

[0094] Step 7: Set up virtual channel set The virtual channel m 0,k Corresponding to user k; the operation of adding a channel m′ for user k is matched by exchanging to achieve.

[0095] Step 8: Initialize resource allocation; set available channels Set with sending blocks Perform random matching to obtain and update the initial matching θ = θ0, and update the user channel selection ρ = {ρ k,m} and the number of user transmitted semantic symbols n = {n k,m}.

[0096] Step 9: Calculate the SINR of each user to the hybrid attacker on each of its matching channels: where p k =10dBm, B = 180kHz, p jam =10dBm,δ=0.05.

[0097] Step 10: Given a unimodal user semantic entropy Bimodal user text semantic entropy And the soil shoots you semantic entropy Calculate the semantic rate that the hybrid attacker can eavesdrop on on each channel under the initial matching θ0 And update the attack channel selection β = {β m}.

[0098] Step 11: Calculate the SINRγ of each user to the base station on each matching channel k,m .

[0099] Step 12: Update the utility function of each user and channel; calculate the confidentiality semantic transmission rate of each user on its matching channel At the same time, update the channel utility U m (θ) and user utility U k (θ).

[0100] Step 13: Generate Swap Matches According to steps 9 to 12, the utility of each channel after exchange is obtained and the utility of each user

[0101] Step 14: Determine whether to update the match based on the iterative matching condition; if The following conditions are met:

[0102] (1)

[0103]

[0104] (2)

[0105]

[0106] Then update the current match to At the same time, the user channel selection ρ, the number of user transmission semantic symbols n and the attack channel selection β are updated, otherwise the original matching state remains unchanged.

[0107] Step 15: Traverse all users and corresponding channels, and repeat steps 13 to 14 until the current resource matching state θ is no longer updated.

[0108] Step 16: Output the user channel selection ρ and the number of user transmission semantic symbols n as the final resource allocation scheme, and output the total confidentiality semantic rate of the network As the final result of resource allocation of this method.

[0109] Users use semantic communication technology to communicate with base stations to complete local tasks. Since hybrid attackers will choose some channels to attack, and their attack strategies are related to the matching status of all users and channels, that is, the utility of each user and channel depends not only on its own matching status, but also on the matching status of other participants, the corresponding security resource allocation problem is a matching problem with externalities. For this type of problem, the exhaustive method can obtain the global optimal solution, but its complexity is unacceptable. The iterative method based on exchange matching can effectively obtain the suboptimal solution of this type of problem, but considering that the attack decision of the hybrid attacker depends on the matching of all users and channels at the same time, the traditional method used to include peer effects is not suitable for the problem. If the iterative matching conditions of the matching problem of exchange effects are directly applied to the problem studied in the present invention or directly extended to all users and channels affected by the exchange matching, the iterative matching algorithm may fail to converge, or converge too early, resulting in a final total confidentiality semantic rate that is too low. The present invention fully considers the attack strategy of the hybrid attacker, and appropriately strengthens and relaxes the traditional matching iteration conditions according to the change of the attack target of the hybrid attacker after a single exchange matching, so that the iterative algorithm effectively improves the total confidentiality semantic communication rate of the low-altitude UAV semantic communication network under hybrid attacks while ensuring algorithm convergence and low complexity. Simulation results show that the total confidentiality semantic communication rate of the network proposed by the above scheme is significantly improved compared with some baseline schemes and performance standard schemes.

[0110] Example 2

[0111] A specific implementation case of a swap-based secure resource allocation algorithm with fairnessawareness (SSRA-FA) for low-altitude UAV semantic communication networks under hybrid attacks includes the following steps:

[0112] Steps 1 to 12: the same as steps 1 to 12 of Example 1;

[0113] Step 13: Generate Swap Matches Get channel utility and user utility

[0114] Step 14: Setup For this exchange The set of all legal users affected, set for A subset of , where all elements s satisfy Simultaneous setting like The following conditions are met:

[0115] (1)

[0116] (2)

[0117] (3) Then update the current match to At the same time, update the user channel selection ρ, the number of user transmission semantic symbols n and the mixed attacker attack channel selection β, otherwise keep the original matching state unchanged;

[0118] Step 15: Traverse all users and corresponding channels, and repeat steps 13 to 14 until the current matching θ is no longer updated;

[0119] Steps 16 to 18: the same as steps 13 to 15 in Example 1;

[0120] Step 19: Output the user channel selection ρ and the number of user transmission semantic symbols n as the final resource allocation scheme, and at the same time output the total confidentiality semantic rate of the network and calculate the fairness of resource allocation.

[0121] In the iterative process, SSRA mainly tends to improve the total confidentiality semantic rate of the network, but does not guarantee the access of all users. At the same time, in the iterative process based on exchange matching, a user is assigned at most one more channel after each exchange, and the iteration of SSRA starts from the initial random matching. If a user is assigned too few channel resources in the initial matching, it will not be able to access the network even if a channel is added. Compared with other users, the chance of obtaining more resources in the subsequent iteration process is relatively small, making it more difficult to access the network and improve the confidentiality semantic rate, which results in unfair resource allocation. In order to access more users and improve the fairness of resource allocation, the SSRA-FA scheme is based on S SRA adds an additional exchange matching iteration phase after the initial random matching. On the basis of ensuring that the connected users are still connected, it promotes the non-connected users to obtain more resources and higher confidentiality semantic rates through exchange matching. It iterates to a relatively fair starting match before optimizing the total confidentiality semantic rate, thereby effectively improving the fairness of the final resource allocation. Simulations show that compared with the baseline scheme, the above scheme has significantly improved the total confidentiality semantic communication rate and resource allocation fairness of the network. Compared with the performance standard scheme, the above scheme has a smaller decrease in the total confidentiality semantic communication rate in exchange for a significant improvement in user resource allocation fairness.

[0122] Simulation experiment:

[0123] The present invention compares the performance of six algorithms: SSRA, SSRA-FA, RM, RMF, Upper bound and ENS; wherein, the schemes proposed in the present invention are SSRA (Example 1) and SSRA-FA (Example 2); RM represents a random matching algorithm; RMF represents that in this scheme, channels are randomly allocated to each user, but the number of semantic transmission symbols is obtained by the exhaustive method used in the corresponding decoupled sub-problems in [L. Yan, Z. Qin, R. Zhang, Y. Li, and G. Ye Li, "QoE-aware resource allocation for semantic communication networks," in Proc. IEEE Global Commun. Conf. (GLOBECOM), Rio de Janeiro, Brazil, Dec. 2022, pp. 3272-3277]; Upper bound is a random matching algorithm that randomly allocates channels to each user, but the number of semantic transmission symbols is obtained by the exhaustive method used in the corresponding decoupled sub-problems in [L. Yan, Z. Qin, R. Zhang, Y. Li, and G. Ye Li, "QoE-aware resource allocation for semantic communication networks," in Proc. IEEE Global Commun. Conf. (GLOBECOM), Rio de Janeiro, Brazil, Dec. 2022, pp. 3272-3277]; Bound represents an upper bound algorithm. Since the exhaustive method has high computational complexity and is difficult to simulate, this embodiment proposes this upper bound algorithm for comparison. It traverses all users and channels and directly selects the best channel allocation and the best attack target according to the exhaustive method. The corresponding number of user semantic transmission symbols is also obtained by the exhaustive method. Since the attack target and channel allocation are both directly specified by exhaustive enumeration without considering the attacker's strategy, the total confidentiality semantic rate obtained by the algorithm will be a relaxed upper bound of the optimal solution of the original optimization problem; ENS represents an exhaustive search resource allocation algorithm that does not consider security issues; Figure 2 Performance comparison diagrams of the security resource allocation method implemented in the present invention and the other algorithms mentioned above under different channel numbers are given; wherein, Figure (a) represents the total confidentiality semantic rate, in units of suts / s / Hz, excluding the fixed channel bandwidth B; Figure (b) represents resource allocation fairness.

[0124] from Figure 2 As can be seen from (a), the total confidentiality semantic rate of all the above algorithms increases with the increase in the number of available channels. Based on appropriate iterative judgment conditions, SSRA and SSRA-FA can effectively utilize resources and resist attacks from hybrid attackers, thereby achieving performance better than RM and RMF. Among them, SSRA achieves a higher total confidentiality semantic rate than ENS and is close to the upper bound algorithm. For SSRA-FA, since it adds an additional exchange matching iteration stage, it actually reduces the search space compared to SSRA before searching for the suboptimal solution, which may cause its total confidentiality semantic rate to be slightly lower than SSRA and ENS. Figure 2(b) shows the resource allocation fairness of each algorithm. As the number of available channels increases, more users can access the semantic communication network, and the corresponding resource allocation fairness also increases. Figure 2 (a) It can be seen that although the total confidentiality semantic rate of SSRA-FA is slightly lower than that of SSRA and ENS, it is significantly better than other algorithms in terms of resource allocation fairness indicators. This is because the additional exchange matching iteration stage helps to allocate resources more fairly and allows more users to access the communication network under hybrid attacks.

[0125] The above embodiments are only preferred embodiments of the present invention and cannot be considered to limit the scope of the present invention. All equivalent changes and improvements made within the scope of the present invention should still fall within the scope of the present invention.

Claims

1. A secure resource allocation method for semantic communication networks of low-altitude economical UAVs. Features The following steps are involved: Step 1: Build a low-altitude economical stereo communication network scenario. To provide high-quality communication services, the stereo communication network introduces semantic communication technology to improve communication efficiency. There are K legitimate users in the network, including K Si unimodal users and K Bi bimodal users, namely K Si +K Bi = K, where the two mission types each account for half of the ground users and low-altitude logistics drones, one base station BS, and one hybrid attacker The base station coverage is a circular area with a radius of R m. K legitimate users are randomly distributed within the base station coverage. Randomly distributed within the range of dm from the edge of the base station coverage; assuming that there are M orthogonal channels in the network, these orthogonal channels initialize channel state information according to the locations of each user, base station and hybrid attacker; Step 2: Assume that the user set is The set of available channels is The set of transmission semantic symbol quantities that can be selected by the user is: For user collections For each user k in , determine whether it is a unimodal user or a bimodal user. If the user is a unimodal user, k>K Bi , then it is set to perform the text transmission task through the DeepSC model, and the number of optional transmission semantic symbols is If the user is a bimodal user, k≤K Bi , then the DeepSC-VQA model is used to perform the visual question answering task, and the text and image semantic data are transmitted on the channel in sequence. The number of optional semantic symbols to be transmitted is in, The number of semantic symbols transmitted for text, Transmitting a set of semantic symbol quantities for the image; Step 3: Allocate channels for user k in the network. For each user in the stereo network, use the binary variable ρ = {ρ k,m } represents the user's choice of channel, that is, if channel m is assigned to user k, then ρ k,m =1, otherwise ρ k,m =0; it is assumed that legitimate users in the network can occupy multiple channels at the same time to communicate to increase the rate, but the same channel can only be allocated to one user at a time, that is: Where M represents the number of orthogonal channels in the network; K represents the number of legal users in the network; represents the set of orthogonal channels in the network; Represents the set of legal users in the network; at the same time, use the variable n = {n k,m } represents the number of transmission semantic symbols when user k communicates on channel m; accordingly, there should be Step 4: Simulate the behavior of the hybrid attacker, and set the hybrid attacker to only select limited channels for attack; that is, eavesdrop on the data sent by the corresponding user on the selected channel, and send interference signals to the base station on the same channel to interfere with the normal communication of the user; use the binary variable β = {β m } represents the channel selection of the hybrid attacker, β m It is used to indicate whether channel m is selected for attack by a mixed attacker. If channel m is attacked, then β m =1, otherwise β m = 0; at the same time, if it is assumed that the mixed attacker selects a total of D channels to attack, then Where D is the number of channels selected by the hybrid attacker to attack, and M is the number of orthogonal channels in the network; Step 5: The total confidentiality semantic transmission rate of the system is determined by the user's channel, the number of transmission semantic symbols, and the attack strategy of the hybrid attacker. The system is set to first allocate resources between users and determine the channel allocation ρ = {ρ k,m } and the number of semantic symbols is chosen to be n = {n k,m }, the hybrid attacker selects the channel and the corresponding user to attack based on the above information; for the hybrid attacker, the goal is to maximize its total eavesdropping semantic rate by selecting the attack target; the attack strategy is represented by the function h, then β=h(ρ,n), which is achieved by sorting the channels according to the size of the eavesdropping rate and selecting the first D channels; Step 6: Given the optimization objective and constraints, maximize the total confidential semantic communication rate of all users in the network while meeting the requirements of minimum semantic similarity and secure communication rate; Step 7: Convert the security resource allocation problem from a complex three-sided many-to-one matching problem to a two-sided matching problem; Step 8: Define the set of available channels and send block set The matching state between θ; Step 9: Define the utility function of each channel and each user in matching; Step 10: Target available channel set and send block set The matching between θ, defines the exchange matching Step 11: Initialize resource allocation; set available channels Set with sending blocks Perform random matching to obtain and update the initial matching θ = θ 0 , and update the user channel selection ρ = {ρ k,m } and the number of user semantic transmission symbols n = {n k,m }; Step 12: According to the hybrid channel model, calculate the signal-to-interference-noise ratio of the user to the hybrid attacker on each matching channel, that is, where p k Indicates the user transmit power, For user k to mixed attacker The large-scale channel gain, including path loss and shadowing effects, Indicates that user k is on channel m to a mixed attacker The Rayleigh fading coefficient, B is the channel bandwidth, N 0 is the noise power spectral density, p jam is the interference signal transmission power of the mixed attacker, δ is the self-interference coefficient of the mixed attacker; Step 13: Calculate the initial matching θ 0 Under this condition, the semantic rate that a hybrid attacker can eavesdrop on each channel is: The unit is suts / s; where: is the source semantic entropy of a single-mode user, in units of sut, is the semantic similarity when the hybrid attacker eavesdrops on the communication, expressed as B represents the channel bandwidth, n k,m represents the number of semantic symbols selected by user k to transmit on channel m; For bimodal users, corresponding to text transmission and image transmission, hybrid attackers The text and image semantic transmission rates eavesdropped on the matching channel m are: in, and They are the semantic entropy of the bimodal user text and image sources, respectively, in units of sut, It represents the number of semantic symbols used by bimodal users to transmit text and pictures. It depends on both text and image transmission, expressed as The corresponding eavesdropping semantic transmission rate is the average of the above two, that is, Step 14: Based on the number of users on each channel Update the attack target of the hybrid attacker, that is, update the variable β = {β m }; Step 15: Calculate the channel state of each user to the base station on its matching channel according to the hybrid channel model; Among them, g k is the large-scale channel gain from user k to the base station, represents the Rayleigh fading coefficient from user k to the base station on channel m, is the interference signal power from the mixed attacker received by the base station on channel m, and where g e is the large-scale channel gain from the hybrid attacker to the base station, is the Rayleigh fading coefficient from the hybrid attacker to the base station on channel m; Step 16: Update the utility function of each user and each channel according to the channel state of each user to the base station and to the mixed attacker on each matching channel; Calculate the semantic transmission rate of each user on its matching channel; For single-mode users: For dual-mode users: Calculate the corresponding confidentiality semantic transmission rate based on the above Update the utility U of each channel m (θ) and each user’s utility U k (θ); Step 17: Generate Swap Matches According to steps 12 to 16, the utility of each channel after exchange is obtained. and the utility of each user Step 18: Preset the iteration judgment condition to determine whether the current matching state θ is updated to exchange matching Step 19: Traverse all users and corresponding channels, and repeat steps 17 to 18 until the current resource matching state θ is no longer updated; Step 20: Output the user channel selection ρ and the number of user semantic transmission symbols n as the final resource allocation scheme, and output the total confidentiality semantic rate of the network As the final result of resource allocation.

2. A secure resource allocation method for semantic communication networks of low-altitude economical UAVs, Features The following steps are involved: Step 1: Build a low-altitude economical stereo communication network scenario. To provide high-quality communication services, the stereo communication network introduces semantic communication technology to improve communication efficiency. There are K legitimate users in the network, including K Si unimodal users and K Bi bimodal users, namely K Si +K Bi = K, where the two mission types each account for half of the ground users and low-altitude logistics drones, one base station BS, and one hybrid attacker The base station coverage is a circular area with a radius of R m. K legitimate users are randomly distributed within the base station coverage. Randomly distributed within the range of dm from the edge of the base station coverage; assuming that there are M orthogonal channels in the network, these orthogonal channels initialize channel state information according to the locations of each user, base station and hybrid attacker; Step 2: Assume that the user set is The set of available channels is The set of transmission semantic symbol quantities that can be selected by the user is: For user collections For each user k in , determine whether it is a unimodal user or a bimodal user. If the user is a unimodal user, k>K Bi , then it is set to perform the text transmission task through the DeepSC model, and the number of optional transmission semantic symbols is If the user is a bimodal user, k≤K Bi , then the DeepSC-VQA model is used to perform the visual question answering task, and the text and image semantic data are transmitted on the channel in sequence. The number of optional semantic symbols to be transmitted is in, The number of semantic symbols transmitted for text, Transmitting a set of semantic symbol quantities for the image; Step 3: Allocate channels for user k in the network. For each user in the stereo network, use the binary variable ρ = {ρ k,m } represents the user's choice of channel, that is, if channel m is assigned to user k, then ρ k,m =1, otherwise ρ k,m =0; it is assumed that legitimate users in the network can occupy multiple channels at the same time to communicate to increase the rate, but the same channel can only be allocated to one user at a time, that is: Where M represents the number of orthogonal channels in the network; K represents the number of legal users in the network; represents the set of orthogonal channels in the network; Represents the set of legal users in the network; at the same time, use the variable n = {n k,m } represents the number of transmission semantic symbols when user k communicates on channel m; accordingly, there should be Step 4: Simulate the behavior of the hybrid attacker, and set the hybrid attacker to only select limited channels for attack; that is, eavesdrop on the data sent by the corresponding user on the selected channel, and send interference signals to the base station on the same channel to interfere with the normal communication of the user; use the binary variable β = {β m } represents the channel selection of the hybrid attacker, β m It is used to indicate whether channel m is selected for attack by a mixed attacker. If channel m is attacked, then β m =1, otherwise β m = 0; at the same time, if it is assumed that the mixed attacker selects a total of D channels to attack, then Where D is the number of channels selected by the hybrid attacker to attack, and M is the number of orthogonal channels in the network; Step 5: The total confidentiality semantic transmission rate of the system is determined by the user's channel, the number of transmission semantic symbols, and the attack strategy of the hybrid attacker. The system is set to first allocate resources between users and determine the channel allocation ρ = {ρ k,m } and the number of semantic symbols is chosen to be n = {n k,m }, the hybrid attacker selects the channel and the corresponding user to attack based on the above information; for the hybrid attacker, the goal is to maximize its total eavesdropping semantic rate by selecting the attack target; the attack strategy is represented by the function h, then β=h(ρ,n), which is achieved by sorting the channels according to the size of the eavesdropping rate and selecting the first D channels; Step 6: Given the optimization objective and constraints, maximize the total confidential semantic communication rate of all users in the network while meeting the requirements of minimum semantic similarity and secure communication rate; Step 7: Convert the security resource allocation problem from a complex three-sided many-to-one matching problem to a two-sided matching problem; Step 8: Define the set of available channels and send block set The matching state between θ; Step 9: Define the utility function of each channel and each user in matching; Step 10: Target available channel set and send block set The matching θ between them defines the exchange matching Step 11: Initialize resource allocation; set available channels With the send block set Perform random matching to obtain and update the initial matching θ = θ 0 , and update the user channel selection ρ = {ρ k,m } and the number of user semantic transmission symbols n = {n k,m }; Step 12: According to the hybrid channel model, calculate the signal-to-interference-noise ratio of the user to the hybrid attacker on each matching channel, that is, where p k Indicates the user transmit power, For user k to mixed attacker The large-scale channel gain, including path loss and shadowing effects, Indicates that user k is on channel m to a mixed attacker The Rayleigh fading coefficient, B is the channel bandwidth, N 0 is the noise power spectral density, p jam is the interference signal transmission power of the mixed attacker, δ is the self-interference coefficient of the mixed attacker; Step 13: Calculate the initial matching θ 0 Under this condition, the semantic rate that a hybrid attacker can eavesdrop on each channel is: The unit is suts / s; where: is the source semantic entropy of a single-mode user, in units of sut, is the semantic similarity when the hybrid attacker eavesdrops on the communication, expressed as B represents the channel bandwidth, n k,m represents the number of semantic symbols selected by user k to transmit on channel m; For bimodal users, corresponding to text transmission and image transmission, hybrid attackers The text and image semantic transmission rates eavesdropped on the matching channel m are: in, and They are the semantic entropy of the bimodal user text and image sources, respectively, in units of sut, It represents the number of semantic symbols used by bimodal users to transmit text and pictures. It depends on both text and image transmission, expressed as The corresponding eavesdropping semantic transmission rate is the average of the above two, that is, Step 14: Based on the number of users on each channel Update the attack target of the hybrid attacker, that is, update the variable β = {β m }; Step 15: Calculate the channel state of each user to the base station on its matching channel according to the hybrid channel model; Among them, g k is the large-scale channel gain from user k to the base station, represents the Rayleigh fading coefficient from user k to the base station on channel m, is the interference signal power from the mixed attacker received by the base station on channel m, and where g e is the large-scale channel gain from the hybrid attacker to the base station, is the Rayleigh fading coefficient from the hybrid attacker to the base station on channel m; Step 16: Update the utility function of each user and each channel according to the channel state of each user to the base station and to the mixed attacker on each matching channel; Calculate the semantic transmission rate of each user on its matching channel; For single-mode users: For dual-mode users: Calculate the corresponding confidentiality semantic transmission rate based on the above Update the utility U of each channel m (θ) and each user’s utility U k (θ); Step 17: Generate Swap Matches And calculate the channel utility and users Step 18: Setup For this exchange The set of all legal users affected, set for A subset of , where all elements s satisfy Simultaneous setting If the exchange matches The following conditions are met: (1) (2) (3) Then update the current match to At the same time, update the user channel selection ρ, the number of user semantic transmission symbols n and the attack channel selection β of the mixed attacker, otherwise keep the original matching state unchanged; the above conditions (1), (2) and (3) are logically ANDed; Step 19: Traverse all users and corresponding channels, repeat steps 17 to 18 until and The matching state θ between them is no longer updated; Step 20: Generate Swap Matches According to steps 12 to 16, the utility of each channel after exchange is obtained. and the utility of each user Step 21: Preset the iteration judgment condition to determine whether the current matching state θ is updated to exchange matching Step 22: Traverse all users and corresponding channels, and repeat steps 17 to 18 until the current resource matching state θ is no longer updated; Step 23: Output the user channel selection ρ and the number of user transmission semantic symbols n as the final resource allocation scheme, and output the total confidentiality semantic rate of the network At the same time, the fairness of resource allocation is calculated, that is, 3. A method for allocating secure resources in a semantic communication network for low-altitude economical unmanned aerial vehicles as claimed in claim 1 or 2, Features In step 6, the optimization objectives and constraints are as follows: Optimization goal: Constraint 1: Constraint 2: The optimization objective is to maximize the total confidentiality semantic communication rate of all users in the network, where represents the total confidential semantic communication rate of user k; constraint 1 stipulates the minimum semantic similarity required for users to communicate semantically on each channel, χ k,m represents the semantic similarity of user k when transmitting in channel m, χ th represents the corresponding threshold; constraint 2 specifies the minimum semantic communication rate required for users to securely access the network. Indicates the user confidentiality semantics communication rate threshold.

4. A method for allocating secure resources for a semantic communication network of low-altitude economical unmanned aerial vehicles as claimed in claim 1 or 2, Features In step 7, the security resource allocation problem is transformed from a complex three-sided many-to-one matching problem to a bilateral matching problem. Specifically, the security resource allocation problem is a user set Available channel set And the set of semantic symbol numbers The three-side many-to-one matching problem between And the corresponding optional semantic symbol number set Perform exhaustive combination to obtain the set Will gather Each element r = (k, n) in is defined as a sending block, The corresponding definition is the set of sending blocks; the security resource allocation problem is transformed into the set of available channels and send block set The bilateral matching problem between .

5. A method for allocating secure resources for a semantic communication network of low-altitude economical unmanned aerial vehicles as claimed in claim 1 or 2, Features In step 8, the definition of the available channel set and send block set The matching state θ between them is used to represent the set of available channels. and send block set The matching status between them is: 1) 2) θ(m) = r if and only if m∈θ(r); 3) in, represents the sending block set of user k; Indicates a set of semantic transmission symbols that can be selected by the user.

6. A method for allocating secure resources for a semantic communication network of low-altitude economical unmanned aerial vehicles as claimed in claim 1 or 2, Features In step 9, the utility function of each channel and each user in matching is defined as follows: The utility function of the channel is defined as the confidentiality semantic rate of the corresponding user transmitted on it, that is, In the formula, Φ k,m represents the semantic rate transmitted by user k on channel m, represents the corresponding eavesdropping semantic rate of the hybrid attacker, represents the confidentiality semantic rate transmitted by user k on channel m under matching state θ, θ(m) = r and k∈r; the utility function of the user is defined as the total confidentiality semantic rate transmitted on all occupied channels, as follows: in, represents the sum of the confidentiality semantic rates of user k on all its matching channels, represents the actual total confidentiality semantic rate of user k.

7. A method for allocating secure resources in a semantic communication network for low-altitude economical unmanned aerial vehicles as claimed in claim 1 or 2, Features In step 10, for the available channel set and send block set The matching θ between them defines the exchange matching Specific steps: Define the exchange matching operation Given the current match θ, and θ(m) = r, It means that channel m changes its matching transmission block r = (k, n) to r' = (k', n'), and the channel m' assigned to user k' also changes its matching (k', n') to (k, n), while other channels remain unchanged; m' is optional for m; in addition, the virtual channel set is defined The virtual channel m 0,k Corresponding to user k; when adding a channel m′ for user k, it can be done by exchanging matching to achieve this; where the utility function of the virtual channel is set to 0 and is not calculated in the actual matching θ, but is only used as an auxiliary variable.

8. A method for allocating secure resources for a semantic communication network of low-altitude economical unmanned aerial vehicles as claimed in claim 1 or 2, Features In step 18 or step 21, the iteration judgment condition is preset to determine whether the current matching state θ is updated to the exchange matching state. Specific steps: Set Originally safe but passed Then the channel that was attacked, It means that it was attacked but after Then the safe channel, Indicates that in this Among them, the number of users who received an increase in attacks, It means in In the case of a user who is attacked less, given like The following conditions are met: (1) (2) Then update the current match to At the same time, the user channel selection ρ, the user transmission semantic symbol number n and the mixed attacker's attack channel selection β are updated, otherwise the original matching state remains unchanged; among them, the three sub-conditions in condition (1) are in a logical AND relationship, the three sub-conditions in condition (2) are in a logical OR relationship, and the conditions (1) and (2) are in a logical AND relationship.