A method for online mitigation of DDoS attacks for NOMA assisted edge computing system

By using a NOMA-assisted joint request scheduling and power allocation optimization model for edge computing systems, combined with Lagrange duality theory, resource allocation is optimized in real time, solving the resource contention and user experience problems caused by DDoS attacks in edge computing systems, and achieving efficient and robust DDoS attack mitigation.

CN123184906APending Publication Date: 2026-11-27NANJING UNIV OF INFORMATION SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611345094.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-01
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing DDoS attack mitigation solutions lack real-time performance and stability in edge computing systems, and cannot effectively balance resource contention and user experience. This results in legitimate users experiencing sudden drops in speed and task unloading failures during attacks. Furthermore, traditional solutions fail to fully incorporate the traffic characteristics of DDoS attacks into their targeted design.

Method used

By employing a NOMA-assisted edge computing system, and constructing a joint request scheduling and power allocation optimization model, and utilizing Lagrange duality theory and the Karouch-Kun-Tucker condition, an edge DDoS online mitigation framework (PD-AirEDM) is established to optimize resource allocation and request acceptance in real time, achieving millisecond-level response and efficient defense.

Benefits of technology

It enables rapid response to high-frequency DDoS attacks without needing to predict traffic patterns, improving system throughput and user experience quality. It solves the problem of synergistic improvement of resource utilization and defense performance, and has robust theoretical convergence and stress resistance.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123184906A_ABST
    Figure CN123184906A_ABST
Patent Text Reader

Abstract

The application discloses a DDoS attack online mitigation method for a NOMA auxiliary edge computing system. In view of unpredictability of an application layer DDoS attack and coupling of NOMA power distribution, the application models request scheduling and power distribution as a constrained original utility maximization problem, converts a nonlinear physical layer constraint into a virtual pricing mechanism by using a Lagrange dual and a KKT condition, and proposes an original dual online algorithm PD-AirEDM, which dynamically adjusts resources through an exponential price update. The algorithm can make real-time decisions and filter inefficient requests without predicting future traffic. The application has low calculation overhead, can significantly improve throughput and user experience, has provable competitive ratio and stability, and is suitable for high-dynamic large-scale edge computing defense.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of edge security, specifically relating to an online mitigation method for DDoS attacks on NOMA-assisted edge computing systems. Background Technology

[0002] With the deep integration of 5G / 6G communication technology and the Internet of Things (IoT), emerging applications such as connected vehicles, virtual / augmented reality, and smart cities are developing rapidly. These computationally intensive and latency-sensitive applications place extremely high demands on the real-time performance and reliability of network services. Mobile edge computing (MEC), as a core solution, deploys computing, network control, and storage resources near base stations or access points, allowing users to offload complex tasks to edge servers, effectively reducing transmission latency.

[0003] However, the distributed architecture and broadcast nature of wireless transmission in edge computing systems, while bringing convenience, also present serious security threats. Distributed Denial-of-Service (DDoS) attacks have become a key bottleneck restricting the large-scale application of edge computing. DDoS attacks control a massive number of zombie nodes to send massive malicious requests to edge servers, leading to server resource exhaustion, slow or even paralyzed normal service responses, severely impacting the service experience of legitimate users. While current DDoS attack mitigation technologies in edge computing scenarios have made some progress, many shortcomings still exist.

[0004] (1) Existing DDoS mitigation solutions are mostly limited to request scheduling and power allocation in static scenarios, lacking effective consideration of the system's real-time performance and dynamic evolution characteristics.

[0005] (2) Most traditional mitigation strategies use random request redirection or traffic filtering, focusing only on server load balancing, but ignoring the different needs of different users for QoE, resulting in some latency-sensitive users' core experience indicators such as average speed and low latency not being guaranteed.

[0006] (3) NOMA technology, combined with SIC technology, completes signal decoding and has been widely used in edge computing systems to reduce transmission latency. However, existing NOMA-based edge security solutions mostly focus on physical layer secure transmission or eavesdropping interference protection, failing to fully incorporate the traffic characteristics of DDoS attacks for targeted design. Although some solutions consider resource allocation optimization, they do not deeply integrate user experience indicators with attack mitigation strategies, resulting in legitimate users experiencing problems such as sudden rate drops and task unloading failures due to unreasonable resource allocation even if the server is not completely paralyzed during an attack. In addition, the resource-constrained nature of edge computing systems (limited computing, communication, and storage resources) further exacerbates the difficulty of DDoS attack mitigation—traditional cloud-based large-scale defense algorithms are difficult to run efficiently on edge nodes, while lightweight solutions often suffer from insufficient protection accuracy.

[0007] Existing technologies generally lack an online solution that can simultaneously ensure attack mitigation effectiveness and user experience under resource constraints, failing to meet the dual security and experience requirements of diverse applications in edge computing scenarios. Therefore, there is an urgent need to propose a new DDoS attack mitigation method to fill the gap in existing technologies. Summary of the Invention

[0008] Purpose of the invention: This invention aims to solve the core problems of intensified resource competition and difficulty in guaranteeing user experience quality in multi-access edge computing systems under DDoS attack scenarios. It breaks through the limitations of traditional mitigation strategies that ignore QoE protection, lack real-time performance, and have insufficient stability, and provides an online collaborative optimization solution to reduce communication and computing overhead and adapt to the deployment characteristics of edge computing with limited resources.

[0009] This invention specifically provides an online mitigation method for DDoS (Distributed Denial of Service) attacks in NOMA (Non-Orthogonal Multiple Access) assisted edge computing systems. The method includes: establishing an edge computing network environment, wherein the edge computing network environment includes an edge server cluster with multi-dimensional resource capacity (including CPU, memory, and storage) deployed at the network edge and two or more user terminals that dynamically initiate service requests; the edge servers establish wireless communication links with the user terminals through the NOMA protocol;

[0010] For user requests that arrive dynamically within a preset time period, perform the following steps to achieve real-time mitigation and efficient resource allocation against application-layer DDoS attacks:

[0011] Step 1: Construct a joint request scheduling and power allocation optimization model oriented towards maximizing utility. Under the constraints of request allocation uniqueness, server multidimensional resource capacity limitations, wireless channel transmit power budget, and Successive Interference Cancellation (SIC) decoding order, the joint request scheduling and power allocation optimization model aims to maximize the system's instantaneous throughput and average communication rate. Through mathematical modeling, it provides an optimization basis for the request acceptance strategy and power allocation strategy of the distributed storage service server.

[0012] Step 2: Construct an online edge DDoS mitigation framework (PrimalDual-AirEdgeDDoSMitigation, PD-AirEDM) based on primal-dual theory. This framework transforms the nonlinear NOMA physical layer power constraint into a virtual pricing mechanism driven by dual variables. Utilizing Lagrange duality and Karush-Kuhn-Tucker conditions (KKT), the framework maintains a virtual unit price representing the scarcity of channel resources in real time through an exponential price update rule. This transforms the globally coupled resource scheduling problem into a real-time decision-making problem between the marginal benefit and virtual resource cost of a newly arriving request at each moment. By comparing the net increase in system utility brought by the request with a preset drop penalty, the online optimization framework PD-AirEDM achieves instant request acceptance and power allocation decisions without needing to predict future traffic patterns.

[0013] Step 3: Each edge server executes request task processing and downlink signal transmission according to the real-time generated decision scheme. By using NOMA power domain multiplexing, it serves more than two admission requests in the same sub-channel, ensuring that the system maintains high QoE and stability when subjected to high-frequency request impact.

[0014] Step 1 includes:

[0015] Step 1-1: Construct a Non-Orthogonal Multiple Access (NOMA) assisted edge computing (MEC) system and define... For a set containing N edge servers, For server indexing, Indicates the first There are N edge servers, where N represents the total number of servers; definition Given a set containing M user requests, To request an index, Indicates the first There are M user requests, where M is the total number of requests; defined Given a set containing Z time slices, For time slice index, Let Z represent the z-th time slice, where Z is the total number of time slices; the servers and their characteristics remain unchanged across different time slices, while the user set remains the same. It will change accordingly;

[0016] The i-th edge server Processing capacity is determined by the three-dimensional resource capacity vector. express, They represent servers respectively. Available CPU computing resources, memory resources, and storage capacity, which do not change with the time slice; define the i-th server. With static activation power ;

[0017] The j-th user request Includes task attribute tuples The resource requirement vector requested by the j-th user. , Let these represent the computing resource requirements of the j-th user request in terms of CPU, memory, and storage, respectively. This indicates the size of the data requested to be transmitted by the j-th user;

[0018] The i-th edge server The set of K configured downlink communication channels ,in For channel index, the i-th channel It has a preset communication bandwidth ;

[0019] definition Let j be a binary decision variable, if the j-th user requests... Assigned to server channel Execution ,otherwise ;definition To assign to the request Specific transmit power, channel The total power allocated to all requests should not exceed the total power budget. That is, the transmit power budget constraint is satisfied: ;

[0020] In summary, the system throughput metric is defined. :

[0021] ;

[0022] Steps 1-2: In a non-orthogonal multiple access (NOMA) assisted edge computing (MEC) system, the NOMA communication mechanism is used to model the downlink wireless transmission process from the edge server to the user terminal.

[0023] Steps 1-3: Construct a joint optimization objective function.

[0024] Steps 1-2 include: the i-th edge server On the kth channel Superimposed signal sent from above Represented as:

[0025] ,

[0026] in Indicates a request In the channel The original information symbols on the surface satisfy the normalization condition. ,in Represents the mathematical expectation; Indicates allocation to a channel The collection of user requests on;

[0027] User Request Signal received at the terminal Inter-cell interference and intra-cell interference combined with Gaussian noise constitute:

[0028] ,

[0029] in, Indicates a request With edge servers On the channel Complex channel coefficients between cells; intra-cell interference From the same NOMA-based channel Concurrent requests within the same area accumulate, causing interference between small cells. By adjacent servers using the same frequency resources co-channel Caused by transmission; This represents additive white Gaussian noise;

[0030] According to the SIC principle, based on the user request With channel Channel gain between For the channel User requests within the scope are sorted in ascending order: , construct the first Signal-to-interference-plus-noise ratio per user request :

[0031] ,

[0032] Specifically The channel represents the ratio of useful information to interference and noise within the channel. User requests within the scope must satisfy the following decoding order:

[0033] ,

[0034] in, This indicates inter-cell interference; the decoding order suggests that user requests with lower channel gain will be decoded first; and the decoding of user requests will proceed in sequence. At that time, user request signals with sequence numbers less than j have been removed using continuous interference cancellation technology, while those with sequence numbers greater than j have been removed. User signals are considered interference;

[0035] Calculate the achievable data transmission rate on the corresponding channel based on the signal-to-interference-plus-noise ratio requested by the user:

[0036] ,

[0037] in Indicates a request On the server channel The achievable data transfer rate; Indicates server channel bandwidth;

[0038] Define the average request rate metric :

[0039] .

[0040] Steps 1-3 include: adjusting the request scheduling decision variables Downlink transmit power Maximize system throughput and average quality of experience (QoE) while satisfying the following constraints:

[0041] ,

[0042] The constraints are:

[0043] ,

[0044] ,

[0045] ,

[0046] ,

[0047] in Indicates a request For the The demand for such resources Indicates server The maximum available capacity of the corresponding resource; These represent CPU, memory, and storage, respectively.

[0048] Step 2 includes:

[0049] Step 2-1: Set the corresponding dual variable for the wireless channel power. :

[0050] ,

[0051] in, Indicates in user request Processed channel virtual price, Indicates user request Channel before processing virtual price, The scaling parameter is defined as the ratio of the maximum possible power to the control parameter ε. intermediate parameters ;

[0052] Step 2-2, Define the Lagrange function The goal is to maximize user benefits. The nonlinear physical layer power constraint term from the original problem is introduced into the objective function to satisfy the feasibility of the original problem under the KKT conditions. The expression is: ,

[0053] in and These represent the decision variable matrices for request scheduling and power allocation, respectively; For the dual variable vector, As a benefit for each user This indicates that after processing all request sets... Post-channel The final aggregated virtual price, The total power budget for the channel is then calculated; subsequently, simplification and merging are performed:

[0054] ;

[0055] Steps 2-3, dual function The definition is given a multiplier In this case, maximize the Lagrange function relative to the decision variables The value;

[0056] Steps 2-4 establish online acceptance decision criteria based on utility-cost assessment. The MEC system will make decisions on each request. Upon arrival, a decision is made immediately, and the system accepts the request if and only if the decision condition is met. .

[0057] In steps 2-3, the following formula is used:

[0058] ,

[0059] ,

[0060] use Indicates a request The maximum net marginal utility, i.e. Benefits Subtract channel price :

[0061] ,

[0062] Will Substitution yields the dual function. :

[0063] ,

[0064] In all possible In the middle, minimize the dual function: ;

[0065] OPT represents the maximum value of the original problem.

[0066] In steps 2-4, the determination formula is:

[0067] ,

[0068] in, Indicates the penalty coefficient. express The maximum power that can be obtained; if and only if the criterion is satisfied. Only then will it be accepted by the system and assigned to the corresponding channel.

[0069] Step 3 includes:

[0070] Step 3-1: Initialize channel virtual pricing ;

[0071] Step 3-2: Within each discrete time slice, when a new request is received... At that time, the system traverses all available servers. and corresponding channels Calculate the request Virtual price on each candidate channel The system makes admission decisions based on the following rules: if a server exists... Make acceptance Net benefits Greater than the discard penalty Then accept the request. And Dispatch to the server with the lowest virtual price and corresponding channels and perform power allocation If the net benefit of all candidate channels is below the acceptance threshold, then the request is deemed invalid. For inefficient traffic, execute a rejection operation and... throw away;

[0072] Step 3-3: After processing each request, adjust the channel virtual unit price variable. Update the index.

[0073] The present invention also provides an electronic device, including a processor and a memory, the memory storing program code that, when executed by the processor, causes the processor to perform the steps of the method.

[0074] The present invention also provides a storage medium storing a computer program or instructions that, when the computer program or instructions are run on a computer, execute the steps of the method described.

[0075] The present invention proposes an online DDoS attack mitigation method (AirEDM) for NOMA-assisted edge computing systems, which has the following significant advantages compared with existing technologies:

[0076] (1) Strong real-time dynamic response capability: Breaking through the limitations of existing DDoS mitigation solutions that are mostly limited to static scenarios, this invention adopts an online optimization framework (PD-AirEDM), which can perceive the system status in real time and achieve millisecond-level rapid response and decision-making for high-frequency and sudden AL-DDoS attacks, effectively avoiding system crashes caused by defense lag.

[0077] (2) No need to predict traffic patterns: This solution introduces a dynamic virtual pricing mechanism based on original-dual optimization, so that the decision-making process does not depend on prior knowledge of future traffic patterns. This enables the system to make robust resource scheduling decisions even when facing unknown DDoS attacks disguised as legitimate flash clusters.

[0078] (3) Synergistic improvement of resource utilization and defense performance: By utilizing the multi-user multiplexing characteristics of NOMA technology, this solution maximizes the total system throughput and QoE through refined power domain allocation, thus solving the "defense deployment paradox" between defense and system performance.

[0079] (4) Algorithm stability and provability: The PD-AirEDM algorithm designed in this invention has been theoretically proven to have a provable competition ratio, and it exhibits good convergence and stability in handling multi-dimensional resource constraints (CPU, memory, storage) and physical layer interference constraints, and can effectively cope with the stringent business requirements in highly dynamic edge environments. Attached Figure Description

[0080] Figure 1 This is a schematic diagram of the state of the edge computing system in a certain time slot.

[0081] Figure 2 This is a schematic diagram of the overall architecture (illustrating the steps of the AirEDM framework to resolve edge DDoS attacks online). Detailed Implementation

[0082] To make the objectives, technical solutions, and advantages of this invention clearer, the invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the invention.

[0083] This invention proposes an online DDoS attack mitigation method for NOMA-assisted edge computing systems, with the core being an online resource scheduling framework (PD-AirEDM) based on primal-dual optimization theory. This method constructs a constraint optimization model for joint request scheduling and power allocation, utilizing Lagrange duality to transform physical layer NOMA interference constraints and multi-dimensional resource limitations of edge servers into dynamic virtual pricing feedback. Without needing to predict future traffic patterns, it evaluates the system utility of each edge request in real time and executes admission control and power allocation decisions, thereby achieving real-time filtering and mitigation of AL-DDoS attacks and collaboratively optimizing the overall throughput and user experience quality of the edge computing system.

[0084] like Figure 1 The figure shows a schematic diagram of the edge computing system in a certain time slot. Figure 1 In this scenario, 11 user requests were distributed across four edge server channels. Because NOMA uses channel multiplexing technology, requests to the same server were assigned to the same channel. Request and It will experience interference within the community. Because... Path loss ratio Because it has a smaller channel and higher channel gain, it is allocated less transmission power. If a request monopolizes a channel, it can obtain the full transmission power, such as... As shown in the example. Furthermore, a request... Assigned to server The second channel, and received from the server. Inter-cell interference, because of the request I was assigned to The third channel. Currently, the server... It is under cyberattack; leveraging the inherently distributed architecture of edge computing systems, it will request... Migrate to ,Will Migrate to To alleviate its own pressure, these disturbances and dynamic task migrations directly affect rate calculation, making rate modeling exceptionally complex. Therefore, optimizing transmission rates while making resource allocation decisions becomes more challenging. Furthermore, decisions in the current time slot affect the system state in the next time slot. Therefore, this problem is addressed through online optimization methods.

[0085] like Figure 2 The diagram illustrates the overall framework for solving the aforementioned problem. The execution flow of the entire algorithm is as follows: First, the system generates user service requests in real time and then enters the joint selection phase of servers and channels to initially match computational and transmission resources for the request. Next, the system performs admission control condition judgment on the request. If the admission control conditions are met, the corresponding transmission power is further allocated to meet the transmission and service requirements. Subsequently, the system dynamically updates the current channel price and server resource utilization rate to provide real-time feedback on resource consumption and competition status. Finally, based on the latest system status, a corresponding optimization strategy is generated, thereby completing the online scheduling and decision-making process for this round of requests. The system requires no prior knowledge of attack traffic and executes millisecond-level instant admission and resource allocation decisions at the instant each online request arrives through real-time "utility-cost" evaluation.

[0086] To more specifically illustrate the overall algorithm framework, a system model needs to be established, and the meanings of the physical quantities used are shown in Table 1.

[0087] Table 1. Key physical quantities and their definitions

[0088]

[0089] The method specifically includes the following steps:

[0090] Step 1: Construct a joint scheduling and power allocation optimization model for the NOMA-assisted MEC system;

[0091] Step 11, Construct the online request stream First, the time slice is divided into a set containing Z time slices. , Let R represent the z-th time slice, where Z is the total number of time slices. The servers and their characteristics remain unchanged under different time slices, but the user set R will change accordingly.

[0092] In any discrete time slice ,ask Includes task attribute tuples The resource requirement vector requested by the j-th user. , Let these represent the computing resource requirements of the j-th user request in terms of CPU, memory, and storage, respectively. This represents the size of the data to be transmitted in the j-th user request. If the lifecycle of a request in the previous time slice has ended, the resources occupied by that request are released; otherwise, they are merged into the request set of the current time slice.

[0093] Step 12, build the edge computing environment; the system consists of a collection of multiple distributed edge servers. To achieve network-wide collaboration, when a server encounters a sudden AL-DDoS traffic surge, the system supports cross-node scheduling and collaborative migration of tasks through multi-access, thereby utilizing the distributed topology to distribute the computing pressure.

[0094] Each server The resource boundary is defined by a fixed capacity upper limit vector. limited, These correspond to the available CPU, memory, and storage resources, respectively. Furthermore, to evaluate system energy consumption, the i-th server is defined... With static activation power This power is generated when the server is powered on.

[0095] The i-th edge server The set of K configured downlink communication channels ,in For channel index, the i-th channel It has a preset communication bandwidth Meanwhile, to ensure the stability of wireless transmission, each channel is subject to a maximum transmission power budget. Physical constraints, i.e., in the channel The total power used for NOMA multiplexing transmission must not exceed this limit.

[0096] Therefore, system allocation decisions are divided into two aspects: channel allocation and power allocation, defined as follows: Let j be a binary decision variable, if the j-th user requests... Assigned to server channel Execution ,otherwise ;definition To assign to the request Specific transmit power, channel The total power allocated to all requests should not exceed the total power budget. That is, the transmit power budget constraint is satisfied: ;

[0097] Step 13: Model the downlink wireless transmission process from the edge server to the user terminal using the NOMA communication mechanism;

[0098] Under this communication mechanism, the edge server In the channel Superimposed signal sent from above Depending on all user requests allocated to this channel, via downlink power The weighted, superimposed signal is expressed as:

[0099] ,

[0100] in Indicates a request The original information symbols satisfy the normalization condition. ,in Represents the mathematical expectation; Indicates allocation to a channel The collection of user requests on the platform.

[0101] Composite signals received by each user terminal By sending signal Gaussian noise is added after attenuation by the wireless channel. Composition, wherein the wireless channel characteristics are composed of the first The user request and the first Channel coefficients between edge servers Represented as:

[0102] ,

[0103] To eliminate multi-user interference within the same channel, the user terminal employs a serial interference cancellation mechanism for signal decoding. Specifically, this mechanism is used to decode the signal based on the channel conditions between the user and the edge server. Sort user requests in ascending order Users with weaker channel conditions decode their own signals first, while users with stronger channel conditions decode and eliminate the signals of users with weaker channel conditions in turn before decoding their own signals.

[0104] Based on this, a signal-to-interference-plus-noise ratio (SINR) model for the j-th user request is constructed. Its power is determined by the target signal power, the interference power caused by other uncancelled user signals in the same channel, and the system noise power.

[0105] ,

[0106] For SiC decoding to proceed correctly, a specific decoding order must be met:

[0107] ,

[0108] Under the premise of satisfying the decoding order and feasibility constraints, calculate the achievable data transmission rate on the corresponding channel based on the signal-to-interference-plus-noise ratio requested by the user:

[0109] ,

[0110] Step 14: Construct four evaluation metrics; by maximizing the long-term total system utility, while constrained by the maximum transmit power budget for each channel. and server multidimensional capacity A highly nonlinear joint optimization objective function was constructed.

[0111] First, define the system throughput metric. This measure is used to assess the total amount of data successfully processed by the edge computing network within a given time slice, serving as a fundamental metric for measuring system service capacity.

[0112] ;

[0113] Secondly, we define the average user request rate as a core metric for measuring QoE:

[0114] ;

[0115] Then, we define the average latency level to help measure the user's QoE level:

[0116] ;

[0117] Finally, the energy efficiency ratio is defined as follows:

[0118] ;

[0119] Step 15: Finally, construct the joint optimization objective function by adjusting the request scheduling decision variables. Downlink transmit power Maximize system throughput and average quality of experience (QoE) while satisfying the following constraints:

[0120] ,

[0121] The constraints are:

[0122] ,

[0123] ,

[0124] ,

[0125] ,

[0126] The constraints include: 1) Request scheduling uniqueness constraint: ensuring that each request... At most, it can be scheduled onto one channel of a server; 2) Multidimensional resource capacity constraints: server The total resource consumption (CPU, memory, etc.) of all requests processed must not exceed its capacity limit. 3) Transmit power budget constraint: The total transmit power allocated within the same channel must not exceed the channel power limit. ;4) SIC decoding order constraint: Signals on the same channel need to be separated according to the decoding order.

[0127] Step 2: Construct the online mitigation framework PD-AirEDM. This step aims to transform the constrained global optimization problem described in Step 1 into a local decision subproblem based on virtual prices, thereby enabling real-time acceptance and scheduling of requests without the need to predict future traffic information.

[0128] Step 21: To address multidimensional resource constraints and physical layer NOMA interference constraints, Lagrange multipliers are introduced. , indicating edge server The "virtual unit price" of channel resources in the current time slice. Satisfying dual feasibility in the KKT conditions and It grows exponentially with changes in channel resources:

[0129] ,

[0130] Its physical significance lies in suppressing unnecessary or inefficient access requests by increasing resource costs in real time, thereby achieving traffic scrubbing through economic leverage when an AL-DDoS attack occurs.

[0131] Step 22, the purpose of this step is to maximize the total revenue of all users, where This represents the specific benefits for each user. To ensure the physical feasibility of the system in actual operation, the nonlinear physical layer power constraints in the original problem need to be addressed to meet the feasibility requirements of the original problem under the KKT conditions. Specifically, this embodiment uses the Lagrange multiplier method, introducing a dual variable vector. The strict physical constraints mentioned above are transformed into penalty terms and introduced into the objective function. In this way, the originally constrained optimization problem is successfully transformed into an unconstrained Lagrangian function. Its initial construction expression is as follows: ,

[0132] In the above expression, and These represent the decision variable matrices for request scheduling and power allocation, respectively; This is the total power budget for the corresponding channel. Furthermore, This reflects the scarcity of channel resources, indicating the time required to process all request sets. After that, the channel The final aggregated virtual price is presented. To further clarify the coupling relationships between the variables and facilitate subsequent solutions, the Lagrange function needs to be algebraically simplified and its like terms combined. By extracting and reorganizing the terms involving the decision variables, the Lagrange function is simplified to the following equivalent form:

[0133] ;

[0134] Step 23: According to the stationarity principle in the KKT conditions, under optimal allocation, the decision variables must evolve in the direction that maximizes the Lagrangian function. Dual function The core computational logic lies in: given the system penalty term or virtual price, by jointly optimizing the decision variables within the system, the Lagrange function is optimized. The value of is maximized. Dual function The mathematical expression can be specifically defined as:

[0135] ,

[0136] Observe step 1 The first item It does not contain decision variables at all and It is a constant term and can be mentioned directly. Outside. Therefore:

[0137] ,

[0138] To maximize this part, for each request Greedy choices can The largest sub-channel and base station. Defined accordingly. :

[0139] ,

[0140] Will Substitution yields a more concise dual function. :

[0141] ,

[0142] According to the weak duality theorem, for any non-negative... dual function These are all upper bounds of the optimal solution OPT to the original problem. To find the tightest upper bound (i.e., the value closest to OPT), we need to consider all possible... In the middle, minimize this dual function:

[0143] ,

[0144] The optimal power allocation value is indirectly derived by minimizing the total dual cost. This avoids the computational difficulties of directly solving the NOMA strongly coupled rate equation.

[0145] Furthermore, it is worth mentioning that this invention softens the complementary relaxation constraint in the KKT condition, where strict complementary relaxation requirements apply when resources are idle. Precision is 0; this "either zero or full" logic makes... It may be in 0 and The price fluctuates wildly between these ranges. This exponentially growing price mechanism provides a smooth feedback loop. While this introduces a very small duality gap, it enhances the system's foresight in dealing with time-varying request flows, resulting in more robust convergence performance in long-term operation than the strict KKT scheme.

[0146] Step 24: Establish online acceptance decision criteria based on utility-cost assessment for each incoming request. This will trigger an immediate decision mechanism: the system will only perform an acceptance operation if and only if the maximum net increase in system utility resulting from accepting the request is strictly greater than the system penalty incurred by discarding the request. This acceptance condition must satisfy the following conditional statement:

[0147] ,

[0148] Only then will the request be accepted by the system and assigned to the corresponding channel. This mechanism ensures that limited resources are allocated to high-value requests first, thereby effectively mitigating DDoS attacks without prior knowledge of the attack.

[0149] Step 3 describes how, during the runtime phase, the dual model constructed in Step 2 is used to make real-time decisions and provide system feedback when dynamic traffic arrives.

[0150] Step 31: Randomly initialize server resource capacity and the resource size required by each request; and set the initial channel virtual price. ;

[0151] Within each discrete time slice When a new request is received At that time, the system traverses all available servers. First, perform an availability check: Among the servers that meet the criteria, select the server with the largest average resource capacity. ,Right now The purpose of this is to balance server load, distribute users evenly, and increase system throughput.

[0152] Step 32: Traverse the server On the channel Calculate the request. Virtual price on each candidate channel .

[0153] Step 33: The system performs an admission decision based on the following rules: If a server exists... Make acceptance Net benefits Greater than the discard penalty Then accept the request. And schedule it to the server with the lowest virtual price. and corresponding channels ;

[0154] If the net benefit of all candidate channels is below the acceptance threshold Then the request is judged. For inefficient traffic, execute a rejection operation and... Discarding them protects core computing resources from being exhausted by inefficient requests.

[0155] Step 34: Allocate power to users who have successfully been assigned to the server and channel, based on the user's rate requirements. Using Shannon's formula to derive the required power in reverse:

[0156] ,

[0157] in, Between the user's minimum rate and maximum rate Between, that is ; User request In the channel Inter-cell interference and intra-cell interference.

[0158] Step 35: After processing each request, in addition to updating the resources of the corresponding server, adjust the channel virtual unit price variable. Perform an index update. This step involves updating the virtual unit price of resources corresponding to a server when its load increases. This increases exponentially, thereby increasing the scheduling cost of subsequent requests and achieving adaptive load balancing of the system.

[0159] To demonstrate the feasibility and superior technical effectiveness of this solution, this embodiment provides a complete quantitative deduction process.

[0160] This embodiment simulates including An edge server Wireless cellular edge computing scenarios for edge users. Each edge server was attacked, and each server suffered... One attack request. Total runtime span. Each time slice. Furthermore, it's worth mentioning that while application-layer DDoS attacks have different attack types, the most common is flooding attacks. The characteristics of these attack requests are almost identical to normal requests, except that their numbers increase extremely rapidly within a short period.

[0161] The specific physical and algorithmic control parameters of the system are set as shown in Table 2.

[0162] Table 2

[0163]

[0164] Set at the current discrete time At that time, the system was under high load, and the server channel Several normal tasks have been accepted, and its current cumulative allocated power is The corresponding virtual channel price has increased to ,in At this point, two completely different types of requests arrive at the system simultaneously. The immediate judgment and execution results of the algorithm flowchart are as follows:

[0165] Real-time decision-making and filtering results for AL-DDoS malicious flood attack requests: A malicious attack request Arrival. Its computing and storage resource consumption. The difference from a normal request is minimal; however, because the attack source is often located at the far end of the edge cell or uses a malicious fading channel, its channel gain is extremely poor. To achieve the basic transmission rate on this channel, the theoretically calculated transmit power required is extremely high, with a potential assigned power of up to [missing information]. The transmit power limit corresponding to the user's requested maximum achievable rate. .

[0166] System detection server Remaining capacity ,satisfy It passed the initial screening. Furthermore, if the request is accepted, its total physical layer power consumption is... It did not exceed the channel's maximum power budget. Substituting the threshold formula from step 24 into the algorithm, the current... Calculate the right-hand rejection threshold:

[0167] ;

[0168] Therefore, the current request has not been fulfilled. Even if the hard physical constraints are met, the system still reserves valuable resources for more efficient future requests.

[0169] Immediate decision-making and acceptance of normal high-value user requests: Following this, a standard business request from a legitimate user. Arrival. Its characteristic is standard resource overhead. Furthermore, due to its proximity to the base station and superior channel conditions, only a very small transmission power is required. This allows for high-speed transmission. The maximum transmit power limit remains unchanged. .

[0170] server Sufficient remaining capacity, check passed. Current channel virtual price. Calculate the right-hand threshold of the decision equation:

[0171] ,

[0172] The current request is satisfied. Therefore, the request is accepted, and "request allocation strategy A" is executed. Successfully assigned to the server channel and allocate The transmit power is then NOMA multiplexed with other normal online requests in the power domain. Then, the physical resources are updated. and channel price ;

[0173] At the end of time slice t=15, the system performs a lifecycle check. For normal tasks that have completed execution, the system triggers the "Release Resources" branch, fully returning the server's computing capacity and resetting the accumulated transmit power. Deduct, and at the same time, the virtual price The adjustment is made to ensure that the system always converges towards the optimal expected value of "maximizing global resource utilization" during long-term operation.

[0174] In practical industrial applications, application-layer DDoS attacks (such as HTTP / 2 fast reset, slow reading of large files, and complex SQL asymmetric queries) are highly covert. Attack packets appear completely legitimate at the network layer, making it difficult for traditional firewalls based on traffic threshold detection to distinguish between normal bursts of traffic and malicious attacks, easily leading to false positives or false negatives. Furthermore, the transmit power of edge computing nodes and wireless channels is extremely limited, and NOMA channel interference at the physical layer is highly coupled. How to intercept malicious traffic while ensuring the QoE of legitimate users amidst millisecond-level dynamic request surges is a real problem that existing edge computing defense technologies cannot solve.

[0175] The online mitigation solution proposed in this invention has advantages over existing technologies in the following three quantitative and qualitative dimensions:

[0176] (1) Zero prior knowledge dependency and millisecond-level online defense (compared to deep learning / feature detection technology): Traditional defense technologies rely on long-term updates of attack feature libraries or cumbersome offline training of deep learning, resulting in slow response to unknown variant AL-DDoS attacks. This invention, based on primordial-dual theory, achieves true "no prior knowledge required regarding attack traffic and future arrival patterns." The determination only requires a single algebraic comparison (as shown in the embodiment). >1.333), decision latency is controlled in milliseconds, achieving efficient real-time response for "OntheFly".

[0177] (2) Joint resource guarantee to break down communication and computing silos (compared to pure computing scheduling / pure wireless defense schemes): Existing edge security schemes usually separate physical layer communication from upper layer computing scheduling, which makes it easy to cause severe NOMA channel interference and congestion on the wireless link when migrating tasks across nodes. This invention tightly integrates wireless transmit power constraints and multi-dimensional computing resource capacity through a dual mechanism, directly transferring the throughput loss caused by interference cancellation (SIC) to virtual price, fundamentally ensuring the long-term joint feasibility of the overall wireless access and computing architecture.

[0178] (3) Robust theoretical convergence boundary and stress resistance (compared to heuristic / greedy defense algorithms): Traditional greedy or heuristic algorithms are prone to cascading collapses or frequent unstable oscillations when encountering high-intensity DDoS attacks. This invention has been rigorously proven mathematically to possess a robust provable competition ratio. Even in the near-worst-case scenario of extremely severe time-varying request flows, the system net utility obtained by the online algorithm remains within a very small and definite range compared to the absolutely optimal offline algorithm with an omniscient perspective. This ensures that the system still possesses extremely strong robustness and convergence stability when facing long-term high-intensity network attacks.

[0179] This invention provides an online mitigation method for DDoS attacks on NOMA-assisted edge computing systems. Many methods and approaches exist for implementing this technical solution; the above description is merely a preferred embodiment. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principles of this invention, and these improvements and modifications should also be considered within the scope of protection of this invention. All components not explicitly stated in this embodiment can be implemented using existing technologies.

Claims

1. An online mitigation method for DDoS attacks in NOMA-assisted edge computing systems, characterized in that, include: An edge computing network environment is established, which includes an edge server cluster with multi-dimensional resource capacity deployed at the network edge and two or more user terminals that dynamically initiate service requests; the edge servers establish wireless communication links with the user terminals through the NOMA protocol; For user requests that arrive dynamically within a preset time period, perform the following steps: Step 1: Construct a joint request scheduling and power allocation optimization model oriented towards maximizing utility. Under the constraints of request allocation uniqueness, server multidimensional resource capacity limit, wireless channel transmit power budget, and serial interference cancellation decoding order, the joint request scheduling and power allocation optimization model aims to maximize the instantaneous throughput and average communication rate of the system. Through mathematical modeling, it provides an optimization basis for the request acceptance strategy and power allocation strategy of the distributed storage service server. Step 2: Construct the edge DDoS online mitigation framework PD-AirEDM based on primal-dual theory. This transforms the nonlinear NOMA physical layer power constraint into a virtual pricing mechanism driven by dual variables. The edge DDoS online mitigation framework utilizes Lagrange duality and the Karouch-Kun-Tucker condition KKT to maintain the virtual unit price representing the scarcity of channel resources in real time through an exponential price update rule. This transforms the globally coupled resource scheduling problem into a real-time decision-making problem between the marginal benefit and virtual resource cost of a newly arriving request at each moment. By comparing the net increase in system utility brought by the request with the preset drop penalty value, the online optimization framework PD-AirEDM achieves instant request acceptance and power allocation decisions without needing to predict future traffic patterns. Step 3: Each edge server executes request task processing and downlink signal transmission according to the real-time generated decision scheme. By using NOMA power domain multiplexing, it serves more than two admission requests in the same sub-channel, ensuring that the system maintains high QoE and stability when subjected to high-frequency request impact.

2. The method according to claim 1, characterized in that, Step 1 includes: Step 1-1: Construct a Non-Orthogonal Multiple Access (NOMA) assisted edge computing (MEC) system and define... For a set containing N edge servers, For server indexing, Indicates the first There are N edge servers, where N represents the total number of servers; definition Given a set containing M user requests, To request an index, Indicates the first There are M user requests, where M is the total number of requests; defined Given a set containing Z time slices, For time slice index, This represents the z-th time slice, where Z is the total number of time slices; The i-th edge server Processing capacity is determined by the three-dimensional resource capacity vector. express, They represent servers respectively. Available CPU computing resources, memory resources, and storage capacity; define the i-th server. With static activation power ; The j-th user request Includes task attribute tuples The resource requirement vector requested by the j-th user. , Let these represent the computing resource requirements of the j-th user request in terms of CPU, memory, and storage, respectively. This indicates the size of the data requested to be transmitted by the j-th user; The i-th edge server The set of K configured downlink communication channels ,in For channel index, the i-th channel It has a preset communication bandwidth ; definition Let j be a binary decision variable, if the j-th user requests... Assigned to server channel Execution ,otherwise ;definition To assign to the request Specific transmit power, channel The total power allocated to all requests should not exceed the total power budget. That is, the transmit power budget constraint is satisfied: ; Define system throughput metrics : ; Steps 1-2: In a non-orthogonal multiple access (NOMA) assisted edge computing (MEC) system, the NOMA communication mechanism is used to model the downlink wireless transmission process from the edge server to the user terminal. Steps 1-3: Construct a joint optimization objective function.

3. The method according to claim 2, characterized in that, Steps 1-2 include: the i-th edge server In the kth channel Superimposed signal sent from above Represented as: , in Indicates a request In the channel The original information symbols on the surface satisfy the normalization condition. ,in Represents the mathematical expectation; Indicates allocation to a channel The collection of user requests on; User Request Signal received at the terminal Inter-cell interference and intra-cell interference combined with Gaussian noise constitute: , in, Indicates a request With edge servers On the channel Complex channel coefficients between cells; intra-cell interference From the same NOMA-based channel Concurrent requests within the same area, inter-cell interference By adjacent servers using the same frequency resources co-channel Caused by transmission; This represents additive white Gaussian noise; According to user request With channel Channel gain between For the channel User requests within the scope are sorted in ascending order: , construct the first Signal-to-interference-plus-noise ratio per user request : , The channel represents the ratio of useful information to interference and noise within the channel. User requests within the scope must satisfy the following decoding order: , in, This indicates inter-cell interference; Calculate the achievable data transmission rate on the corresponding channel based on the signal-to-interference-plus-noise ratio requested by the user: , in Indicates a request On the server channel The achievable data transfer rate; Indicates server channel bandwidth; Define the average request rate metric : 。 4. The method according to claim 3, characterized in that, Steps 1-3 include: adjusting the request scheduling decision variables Downlink transmit power Maximize system throughput and average quality of experience (QoE) while satisfying the following constraints: , The constraints are: , , , , in Indicates a request For the The demand for such resources Indicates server The maximum available capacity of the corresponding resource; These represent CPU, memory, and storage, respectively.

5. The method according to claim 4, characterized in that, Step 2 includes: Step 2-1: Set the corresponding dual variable for the wireless channel power. : , in, Indicates in user request Processed channel virtual price, Indicates user request Channel before processing virtual price, The scaling parameter is defined as the ratio of the maximum possible power to the control parameter ε. intermediate parameters ; Step 2-2, Define the Lagrange function The goal is to maximize user benefits. The nonlinear physical layer power constraint term from the original problem is introduced into the objective function to satisfy the feasibility of the original problem under the KKT conditions. The expression is: , in and These represent the decision variable matrices for request scheduling and power allocation, respectively; For the dual variable vector, As a benefit for each user This indicates that after processing all request sets... Post-channel The final aggregated virtual price, The total power budget for the channel is then calculated; subsequently, simplification and merging are performed: ; Steps 2-3, dual function The definition is given a multiplier In this case, maximize the Lagrange function relative to the decision variables The value; Steps 2-4 establish online acceptance decision criteria based on utility-cost assessment. The MEC system will make decisions on each request. Upon arrival, a decision is made immediately, and the system accepts the request if and only if the decision condition is met. .

6. The method according to claim 5, characterized in that, In steps 2-3, the following formula is used: , , use Indicates a request The maximum net marginal utility, i.e. Benefits Subtract channel price : , Will Substitution yields the dual function. : , In all possible In the middle, minimize the dual function: ; OPT represents the maximum value of the original problem.

7. The method according to claim 6, characterized in that, In steps 2-4, the determination formula is: , in, Indicates the penalty coefficient. express The maximum power that can be obtained; if and only if the criterion is satisfied. Only then will it be accepted by the system and assigned to the corresponding channel.

8. The method according to claim 7, characterized in that, Step 3 includes: Step 3-1: Initialize channel virtual pricing ; Step 3-2: Within each discrete time slice, when a new request is received... At that time, the system traverses all available servers. and corresponding channels Calculate the request Virtual price on each candidate channel The system makes admission decisions based on the following rules: if a server exists... Make acceptance Net benefits Greater than the discard penalty Then accept the request. And Dispatch to the server with the lowest virtual price and corresponding channels and perform power allocation If the net benefit of all candidate channels is below the acceptance threshold, then the request is deemed invalid. To handle inefficient traffic, execute a rejection operation and... throw away; Step 3-3: After processing each request, adjust the channel virtual unit price variable. Update the index.

9. An electronic device, characterized in that, It includes a processor and a memory, the memory storing program code that, when executed by the processor, causes the processor to perform the steps of the method as described in any one of claims 1 to 8.

10. A storage medium, characterized in that, It stores a computer program or instructions that, when run on a computer, perform the steps of the method as described in any one of claims 1 to 8.