A network state representation method and device for a false source DDoS attack
By constructing a dynamic type candidate hypergraph and causal temporal modeling, the problem of unified representation of multi-source network states under fake-source DDoS attacks is solved, and efficient network state representation and monitoring are achieved.
Patent Information
- Application Number
- CN202611665285.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-27
- Publication Date
- 2026-11-24
AI Technical Summary
Existing technologies struggle to effectively represent the state of multi-source networks in a unified manner under DDoS attack scenarios with fake sources, maintain the event states and overlapping high-order relationships of different network association processes, and accurately characterize the differences in member state contributions and the temporal evolution of network states.
By receiving multi-source network state observations from SAVA-Agent at different source addresses, time window alignment is performed to generate node-level and event-level network state records, a dynamic type candidate hypergraph is constructed, independent source coding and quality-aware fusion are performed, and network state representation is generated by combining causal temporal modeling and self-supervised learning.
It improves the unified representation capability of multi-source network states, accurately depicts high-order network correlation states, and enhances the dynamic representation capability, thereby improving the ability to maintain and monitor network state information in the context of fake source DDoS attacks.
Smart Images

Figure CN123163931A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of network security and source address verification technology, and in particular to a method and apparatus for network state characterization against fake source DDoS attacks. Background Technology
[0002] As the internet continues to expand and Distributed Denial-of-Service (DDoS) attack methods evolve, fake-source DDoS attacks exhibit characteristics such as dispersed attack sources, diverse attack paths, sudden spikes in attack traffic, and cross-domain propagation. In scenarios involving reflection amplification attacks, IP source address spoofing attacks, and multi-node coordinated attacks, attackers conceal the true source of the attack by forging or tampering with source addresses, and utilize multiple network nodes, different transmission paths, and multiple targets to form complex network associations. Source Address Validation (SAV) technology can verify the authenticity of the source address of data packets at network access, intra-domain boundaries, and cross-domain boundaries. SAVA-Agents deployed in different network locations can obtain multi-source network status observations, including source address verification results, network traffic, log alarms, path measurements, routing and network management status, and resource status, providing a data foundation for network operation status monitoring and fake-source DDoS attack analysis.
[0003] Existing network attack status monitoring technologies mainly include rule-based anomaly detection, machine learning-based attack status identification, and network relationship modeling methods. Rule-based methods identify abnormal network states by pre-setting attack features and matching rules, but their adaptability to changes in attack patterns and unknown attack behaviors is limited. Machine learning-based methods learn attack features from historical network state data, but they typically rely on labeled samples and are easily affected by changes in data distribution and the model's generalization ability. Network relationship modeling methods describe network states through network nodes and their relationships, but ordinary graph structures mainly model binary relationships between nodes, lacking the ability to represent higher-order relationships involving multiple network nodes or the state of a single node participating in multiple association processes. Furthermore, network state observations obtained by different SAVA-Agents differ in data structure, sampling frequency, and update cycle, increasing the difficulty of unified processing of multi-source network states.
[0004] In DDoS attack scenarios involving fake sources, the same SAVA-Agent may simultaneously participate in different network association processes within the same time window, such as source address verification anomaly association, traffic pattern association, path measurement association, and victim target or service association. Existing network state processing methods, when fusing multi-source state information, tend to prematurely merge the event states corresponding to different network association processes into a single node relationship representation, making it difficult for subsequent relationship modeling to distinguish the state information corresponding to each network association process. Furthermore, the state contributions of member nodes to the target node differ in different network association processes, and related higher-order network relationships can change with attack intensity, transmission path, target state, and network operating conditions. This makes it difficult for static network relationship modeling and node state sequences to fully reflect the temporal evolution of overlapping higher-order association states and network states. Therefore, existing technologies still need improvement in maintaining event states in different network association processes, representing overlapping higher-order network relationships, characterizing differences in member state contributions, and representing dynamic network states. Summary of the Invention
[0005] To overcome the shortcomings of existing technologies, the purpose of this invention is to provide a network state representation method and apparatus for DDoS attacks originating from fake sources. This method and apparatus can achieve a unified representation of the state of multiple network sources, maintain the event states and overlapping high-order relationships of different network association processes, accurately characterize the differences in member state contributions and the temporal evolution of the network state, and improve the ability to maintain network state information, characterize high-order relationships, and represent dynamic states in the context of DDoS attacks originating from fake sources.
[0006] To achieve the above objectives, the present invention provides a network state characterization method for DDoS attacks originating from fake sources, comprising the following steps: S1. Receive multi-source network state observations obtained by SAVA-Agent from different source addresses, determine network state nodes and align them with time windows, and generate node-level network state observations and event-level network state records respectively; construct a dynamic type candidate hypergraph that allows multiple memberships of network state nodes based on the event-level network state records, and establish the correspondence between candidate hyperedge members and event-level network state records. S2. Independent source coding and quality-aware fusion are performed on node-level network state observations and event-level network state records respectively to generate node local state representations and event state representations corresponding to different network association processes, and a correspondence between candidate hyperedge members and event state representations is established. S3. For the target node in the candidate hyperedge, determine the member state contribution weight according to the dynamic type candidate hypergraph, and perform weighted aggregation on the corresponding event state representation to form the group-level network state of each candidate hyperedge; aggregate the group-level network state and fuse it with the node local state representation of the target node to generate the spatial higher-order network state; perform causal temporal modeling and state context fusion on the spatial higher-order network state to generate the network state representation of each SAVA-Agent changing over time.
[0007] On the other hand, this invention provides a network state representation device for DDoS attacks targeting fake sources, including a multi-source state access and hypergraph construction layer, a quality-aware coding and state fusion layer, and a spatial-temporal representation and self-supervised learning layer. The multi-source state access and hypergraph construction layer is used to receive multi-source network state observations obtained by different SAVA-Agents, and perform time window alignment, event state separation, and dynamic type candidate hypergraph construction. The quality-aware coding and state fusion layer is used to perform independent source coding and quality-aware fusion on node-level network state observations and event-level network state records respectively, generating node local state representations and event state representations. The spatial-temporal representation and self-supervised learning layer is used to calculate member state contribution weights and aggregate higher-order states according to the dynamic type candidate hypergraph, and combine causal temporal modeling, state context fusion, and unlabeled state learning to generate network state representations of each SAVA-Agent that change over time.
[0008] Compared with the prior art, the present invention discloses at least the following technical effects: (1) This invention aligns the time windows of multi-source network state observations obtained by different SAVA-Agents, processes node-level network state observations and event-level network state records separately, and combines independent source coding and quality-aware fusion to avoid the premature mixing of event states in different network association processes, thereby improving the unified representation capability of multi-source heterogeneous network states and the stability of state fusion.
[0009] (2) This invention constructs a dynamic type candidate hypergraph, maintains the overlapping high-order association relationship of the same network state node participating in multiple candidate hyperedges, and performs differentiated aggregation of event states according to the member state contribution weight, distinguishes the state contribution of different member nodes to the target node, and improves the representation ability of high-order network association states.
[0010] (3) This invention uses causal time-series modeling, combined with group-level network state context, network-level state context and unlabeled state learning, to comprehensively represent the high-order correlation and time evolution information of network state. It generates dynamic network state representation without relying on fake source DDoS attack category labels, improves the dynamic representation capability of network state, and provides a state information basis for attack state perception, monitoring and security handling. Attached Figure Description
[0011] Figure 1 This is a schematic diagram of the overall architecture of a network state representation method for DDoS attacks with fake sources according to the present invention.
[0012] Figure 2 This is a schematic diagram of the overall architecture of a network state characterization device for DDoS attacks originating from fake sources, according to the present invention. Detailed Implementation
[0013] The technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments.
[0014] Example 1 like Figure 1 As shown, this embodiment provides a network state representation method for DDoS attacks targeting fake sources. It uses multi-source network state observations obtained by source address verification agents (SAVA-Agents) deployed in different network locations as input, and sequentially performs multi-source state access and hypergraph construction, quality-aware coding and state fusion, and spatial-temporal representation and self-supervised learning to generate network state representations of each SAVA-Agent over time. The method includes the following steps: S1. Receive multi-source network state observations obtained by SAVA-Agent from different source addresses, determine network state nodes and align them with time windows, and generate node-level network state observations and event-level network state records respectively; construct a dynamic type candidate hypergraph that allows multiple memberships of network state nodes based on the event-level network state records, and establish the correspondence between candidate hyperedge members and event-level network state records.
[0015] S2. Independent source coding and quality-aware fusion are performed on node-level network state observations and event-level network state records respectively to generate node local state representations and event state representations corresponding to different network association processes, and a correspondence between candidate hyperedge members and event state representations is established.
[0016] S3. For the target node in the candidate hyperedge, determine the member state contribution weight according to the dynamic type candidate hypergraph, and perform weighted aggregation on the corresponding event state representation to form the group-level network state of each candidate hyperedge; aggregate the group-level network state associated with the target node and fuse it with its local state representation to generate the spatial higher-order network state; perform causal temporal modeling and state context fusion on the spatial higher-order network state to generate the network state representation of each SAVA-Agent changing over time.
[0017] Step S1 is implemented in the following order: network state observation access, network state node determination, time window alignment, event state separation, and dynamic type candidate hypergraph construction. The specific process is as follows: S101. Construct a multi-source state access and hypergraph construction layer. The multi-source state access and hypergraph construction layer is deployed on the central analysis platform, or on network state analysis nodes connected to the SAVA-Agent deployment locations such as access network aggregation exit, BRAS / BNG, PE, backbone network boundary, IDC entry and exit, scrubbing center entry and exit, and ASBR. It is used to receive multi-source network state observations obtained by different SAVA-Agents, uniformly organize the network state observations, and establish the correspondence between network state observations, network state nodes, and network association processes.
[0018] Specifically, SAVA-Agents in different network locations can obtain source address verification information and network operation status information within their respective network areas. Since the deployment locations, status observation sources, and data collection conditions of different SAVA-Agents vary, a multi-source status access and hypergraph construction layer are used to associate various network status observations with their corresponding SAVA-Agents. This allows status information from different sources to be organized according to their respective network status nodes, and provides a unified status data entry point for the subsequent construction of dynamic high-order network relationships.
[0019] S102. Receive multi-source network status observations obtained from different SAVA-Agents. Multi-source network status observations include source address verification results, network traffic statistics or burst status, templated network logs and alarms, path or AS-path measurement, flow detection, routing and network management status, device resource utilization status, network latency and packet loss measurement, and one or more auxiliary threat intelligence such as reflectors, C2 or botnet sources.
[0020] Among them, source address verification results are used to reflect the source address verification status of the network status node; network traffic statistics or burst status are used to reflect network traffic and its changes; templated network logs and alarms are used to reflect status events generated during network operation; path or AS-path measurement and flow detection are used to reflect network transmission paths and corresponding associated status; routing and network management status, device resource utilization status, and network latency and packet loss measurement are used to reflect network operating conditions; auxiliary threat intelligence is used to provide network status information related to fake source DDoS attacks.
[0021] The aforementioned multi-source network state observations have different data structures, sampling frequencies, and update periods, and can respectively describe the local operation of the network state nodes themselves and the network association state related to fake source DDoS attacks.
[0022] S103. Use the actually deployed SAVA-Agent or the source address verification and network observation entities formed by aggregation according to the preset network granularity as network status nodes, and establish a set of network status nodes according to the actual network deployment.
[0023] Maintaining consistent node identifiers for all network state nodes within the same network operating cycle ensures that network state observations acquired from different data sources and time windows consistently correspond to the same network state node. By maintaining the consistency of network state node identifiers, a correspondence can be established between the state information of the same network state node in different time windows, allowing the current network state to be associated with historical network states based on the same node identifier, thus providing a data foundation for subsequent causal time series modeling.
[0024] S104. Divide the continuous network running time into continuous time windows, and form a network state snapshot for each time window. Map the multi-source network state observations to the corresponding network state snapshots according to the sampling time of each data source.
[0025] For the construction of network state in the current time window, only the network state information acquired in the current time window and previously acquired is used, and network state information generated in subsequent time windows is not used. This ensures that each network state snapshot matches the actual network state information acquired within the corresponding time window, and guarantees that the current state in the subsequent network state representation process does not depend on the network state information of future time windows.
[0026] S105. Based on the description object corresponding to the network state observation, generate node-level network state observation and event-level network state record respectively within each time window.
[0027] Node-level network state observations describe the local operation of a network state node, while event-level network state records describe the network state evidence corresponding to a network state node's participation in a specific network association process. If the same network state node participates in multiple different network association processes simultaneously within the same time window, separate event-level network state records are retained for each process; these records are not summed, averaged, or merged into a single relational state at this step. For example, the same network state node may simultaneously participate in source address verification anomaly association, traffic pattern association, and path measurement association. The state information corresponding to each network association process constitutes separate event-level network state records, rather than a pre-formed unified event state.
[0028] By separating node-level network state observation from event-level network state recording, the operating state of a network state node and the state information generated when it participates in different network association processes are saved separately, providing a basis for subsequent use of the event state corresponding to itself for different candidate higher-order relationships.
[0029] S106. Perform consistency processing on network state observations with different sampling frequencies, update cycles, and valid data states.
[0030] For network state observations with a sampling frequency higher than the current time window granularity, aggregation is performed within the corresponding time window according to preset statistical rules to obtain the statistical state characteristics within that time window. For network state observations with a sampling frequency lower than the current time window granularity, the most recent valid observation is retained, and the corresponding observation time information is recorded. Simultaneously, observation validity indicators, observation timeliness, and observation confidence are established. The observation validity indicator characterizes the availability of network state observations within the current time window; observation timeliness reflects the temporal validity of the network state observations; and observation confidence reflects the reliability of the corresponding network state observations.
[0031] The aforementioned state quality information corresponds to the corresponding network state observations and serves as the input for subsequent independent source coding and quality-aware fusion, enabling different data sources to determine the corresponding state fusion weights based on the observation quality within the current time window.
[0032] S107. Based on the relational semantics corresponding to the network state observation, classify the event-level network state records into relational types.
[0033] The relationship types include one or more of the following: source address verification anomaly association, traffic or burst mode association, path measurement association, and victim target or service association. Each event-level network state record stores its associated network state node, time window, relationship type, and corresponding state information source. The same network state node can correspond to multiple event-level network state records with different relationship types. Each event-level network state record retains the relationship type and state information source of the corresponding network association process, enabling subsequent candidate association construction to be processed according to different relationship types.
[0034] S108. For event-level network state records of the same relation type, the degree of association between event-level network state records is determined based on the similarity of event state characteristics between different network state nodes, the co-occurrence relationship of nodes, and the consistency of corresponding state patterns in the historical time window. Event-level network state records that meet the relation requirements and belong to different network state nodes are then grouped into candidate association groups according to preset association conditions.
[0035] Among these, event state feature similarity is used to reflect the state feature relationships of different network state nodes in the corresponding network association process; node co-occurrence relationship is used to reflect the situation where different network state nodes jointly participate in the network association process; and the consistency of corresponding state patterns in the historical time window is used to reflect the degree of correspondence of related network states in the process of time change. By combining the above information to form candidate association groups, the candidate association groups can reflect the network association process jointly participated in by multiple network state nodes under the corresponding relationship type, rather than constructing the association structure solely based on the binary connection relationship between network nodes.
[0036] S109. Construct dynamic type candidate superedges based on candidate association groups. Each candidate superedge is composed of different network state nodes in the same candidate association group and is associated with the corresponding relationship type.
[0037] Each candidate hyperedge contains at least two different network state nodes and satisfies a preset maximum hyperedge order limit, allowing the same network state node to belong to two or more different candidate hyperedges simultaneously. For candidate association groups with highly overlapping member sets, redundant candidate association groups are filtered out based on the degree of overlap in member sets, and a correspondence is established between each candidate hyperedge member and the event-level network state record that generates the corresponding candidate association, forming a dynamic type candidate hypergraph for the current time window. The relationship type of the candidate hyperedge is associated with the event-level network state record corresponding to the member. The same network state node can appear in multiple candidate hyperedges; therefore, different event-level network state records corresponding to the same network state node cannot be directly merged into a single relationship state.
[0038] By establishing a correspondence between candidate hyperedge members and event-level network state records, the same network state node can correspond to the event state of different network association processes when participating in different candidate hyperedges, thus maintaining the node's multiple membership relationships and corresponding higher-order network association states.
[0039] S110. Unify the encapsulation of node-level network state observations, event-level network state records, observation validity flags, observation timeliness, observation confidence, dynamic type candidate hypergraphs, and the correspondence between candidate hyperedge members and event-level network state records, and send them to the quality-aware coding and state fusion layer.
[0040] The dynamic type candidate hypergraph is represented as: ; in, Indicates time window Corresponding dynamic type candidate hypergraph; This represents a set of nodes consisting of SAVA-Agent or network state entities; Indicates time window The following is a set of candidate superedges formed by candidate association groups; Represents the node-level network state feature matrix; This represents the set of relation credibility or weights corresponding to the candidate superedge.
[0041] Among them, the The candidate superedges are represented as follows: ; In the formula, Indicates time window The next One candidate superedge, This represents a corresponding candidate association group formed by multiple network state nodes.
[0042] The aforementioned dynamic type candidate hypergraph is used to represent candidate higher-order network relationships in the current time window. The correspondence between candidate hyperedge members and event-level network state records is used to determine which event-level network state record should be encoded and merged subsequently.
[0043] Step S2 performs independent source coding and quality-aware fusion on the aforementioned node-level network state observations and event-level network state records, respectively. The specific implementation process is as follows: S201. Construct a quality-aware coding and state fusion layer. The quality-aware coding and state fusion layer is deployed in the central analysis node or the edge analysis node with network state processing capability. It is used to receive the node-level network state observation, event-level network state record, state quality information, dynamic type candidate hypergraph, and the correspondence between candidate hyperedge members and event-level network state record generated in step S1.
[0044] S202. In the quality-aware coding and state fusion layer, establish an independent source coding module, a state quality modeling module, a node state fusion module, and an event state fusion module.
[0045] The independent source coding module is used to map network state observations from different sources and with different data structures to a unified state space; the state quality modeling module is used to determine the state quality of the data source based on the validity, timeliness, and confidence of the network state observations; the node state fusion module and the event state fusion module are used to generate local node state representations and event state representations, respectively.
[0046] S203. Based on the data dimensions and state ranges corresponding to each data source, perform standardized processing on node-level network state observations and event-level network state records.
[0047] The standardized parameters are determined based on the historical data or training data that the network state representation model is allowed to access, and remain consistent in subsequent state representation processes, so that network states from different sources can enter the corresponding independent source coding modules according to a unified numerical range.
[0048] S204. Based on the data source of each network state observation, call the corresponding independent source coding module, take the standardized state features and the observation validity flag, observation timeliness and observation confidence corresponding to the state features as coding input, and generate the source-level state code corresponding to each data source.
[0049] By using independent source encoding, network state observations with different data structures and original dimensions are mapped to a unified-dimensional state latent space. Network states from different sources are encoded separately, and event-level network state records corresponding to the same network state node participating in different network association processes are also processed separately, avoiding the pre-mixing of event states from different network association processes during the source-level encoding stage.
[0050] S205. Call the state quality modeling module to calculate the state quality score of the current data source in the current time window based on the source-level state code, observation validity flag, observation timeliness, and observation confidence level corresponding to the current data source.
[0051] Among them, the source-level state coding is used to represent the network state semantic information contained in the current data source, and the observation validity flag, observation timeliness and observation confidence are used to represent the current availability, freshness and reliability of the network state observation, respectively.
[0052] For the Each network status node, within the time window Next, the The state quality score corresponding to a class of state sources is represented as follows: ; in, Indicates the first Each network state node in the time window Next State quality score for class-state sources; Indicates source-level state coding; Indicates a valid status flag; Indicates status expiration information; Indicates the state confidence level; This represents the state quality evaluation function that calculates the state quality score based on the above input.
[0053] S206. Based on the state quality scores corresponding to each valid data source, normalize the quality weights of the valid data sources that the current network state nodes can obtain, and obtain the source-level state fusion weights corresponding to each valid data source.
[0054] For invalid data sources in the current time window, invalid data sources are excluded from the normalization process of the current state fusion weights.
[0055] The source-level state fusion weights are represented as follows: ; in, Indicates the first Each network state node in the time window Next The fusion contribution weight of the class state source; This represents the set of valid data sources currently participating in the fusion of the network status node.
[0056] By normalizing the state quality scores corresponding to valid data sources, network states from different sources can participate in the fusion according to their corresponding state quality, thus avoiding the impact of invalid data sources on the current state fusion results.
[0057] S207. Based on the source-level state fusion weights, perform weighted fusion on multiple source-level state codes corresponding to the same network state node to generate the local state representation of the network state node in the current time window.
[0058] The local state of a node is represented as follows: ; in, Indicates the first Each network state node in the time window Local state representation of nodes; This indicates the state fusion weight of the corresponding data source; This indicates the corresponding source-level state code.
[0059] The local state representation of a node is used to describe the local comprehensive operating status of the node itself, including source address verification, traffic, logs, paths, devices, and resources.
[0060] S208. For each event-level network state record corresponding to the same network state node, perform independent source coding, state quality scoring and state fusion weight calculation respectively, and only fuse the multi-source state information belonging to the current event-level network state record to generate an event state representation corresponding to the network associated process.
[0061] When the same network state node participates in multiple different network association processes within the current time window, corresponding event state representations are generated based on the network state records of each event level, ensuring that the different event state representations corresponding to the same network state node remain independent of each other. Thus, the same network state node can simultaneously possess a node-local state representation describing its own local operation, as well as multiple event state representations corresponding to different network association processes.
[0062] S209. Perform unified state space mapping on the node local state representation generated in step S207 and the event state representation generated in step S208, so that the node local state representation and the event state representation of different relation types have a unified representation dimension that meets the requirements of subsequent high-order network state processing, and maintain the correspondence between the event state representation and the network state node, time window and relation type.
[0063] S210. Based on the correspondence between the candidate hyperedge members and the event-level network state records established in step S1, establish a correspondence between each candidate hyperedge member in the dynamic type candidate hypergraph and the corresponding event state representation generated in step S209, forming a set of node local state representations and a set of event state representations.
[0064] When the same network state node participates in different candidate superedges at the same time, each candidate superedge obtains an event state representation that matches its own network association process, so that subsequent higher-order state aggregation can use the network state information corresponding to the current candidate higher-order relationship, instead of the mixed result of all event states of the network state node.
[0065] S211. The set of local state representations of nodes, the set of event state representations, the candidate hypergraph of dynamic types, and the correspondence between candidate hyperedge members and event state representations are sent to the spatial temporal representation and self-supervised learning layer as input for subsequent member structure importance calculation, high-order network state aggregation, causal temporal modeling, and local-global state learning.
[0066] Step S3 performs high-order structure aggregation, causal temporal modeling, state context fusion, and unlabeled state learning based on the dynamic type candidate hypergraph, node local state representation, and event state representation. The specific implementation process is as follows: S301. Construct a spatial temporal representation and self-supervised learning layer to receive the node local state representation and event state representation generated in step S2, as well as the correspondence between the dynamic type candidate hypergraph and candidate hyperedge members and event state representation generated in step S1. On the basis of maintaining the identity of the candidate high-order relation and the corresponding event state information, perform unified modeling of the high-order spatial relations and temporal evolution process of the network state.
[0067] S302. In the spatial temporal representation and self-supervised learning layer, establish a high-order structure aggregation module, a causal temporal modeling module, a state context fusion module, and an unlabeled state learning module.
[0068] Among them, the high-order structure aggregation module is used to form the group-level network state corresponding to the candidate high-order relationship based on the candidate hypergraph of dynamic type; the causal temporal modeling module is used to describe the temporal evolution relationship between the current and historical network states; the state context fusion module is used to construct the external network state information corresponding to the target node; and the unlabeled state learning module is used to learn the network state representation based on the available network state information.
[0069] S303. Based on the correspondence between candidate superedge members and event state representations, determine the event state representation corresponding to each network state node for each candidate superedge in the current time window.
[0070] For a target node in a candidate hyperedge, when forming its higher-order association state, the event state representations corresponding to the current network association process of other member nodes in the candidate hyperedge are selected, so that different candidate hyperedges use matching network state evidence according to their respective network association processes.
[0071] S304. For the current target candidate superedge, temporarily exclude the direct contribution of the target candidate superedge to the node co-occurrence relationship from the dynamic type candidate supergraph of the current time window, and determine the co-occurrence neighborhood of the target node and other member nodes in the target candidate superedge in the remaining candidate higher-order relationships.
[0072] The co-occurrence neighborhood is used to represent other network state nodes that participate in the high-order network association process with a network state node in the remaining candidate high-order relations. By temporarily excluding the direct contribution of the target candidate superedge to the node co-occurrence relation, the subsequent calculation of the importance of member structure is not directly determined by the member co-occurrence relation of the target candidate superedge itself, but rather by the degree of structural consistency in other high-order network association relations outside the target candidate superedge to determine the member state contribution weight.
[0073] S305. Based on the co-occurrence neighborhood obtained in step S304, calculate the New-Dice structural similarity between the target node and other member nodes in the candidate hyperedge.
[0074] New-Dice structural similarity is represented as: ; in, Indicates time window Next target node With member nodes New-Dice structural similarity between them; This represents the node after excluding the influence of the current target candidate superedge. The higher-order co-occurrence neighborhood; This represents the node after excluding the influence of the current target candidate superedge. The higher-order co-occurrence neighborhood; Represents the intersection of sets; Represents a set The number of nodes in the system.
[0075] New-Dice structural similarity is determined by the ratio of twice the number of common nodes in the higher-order co-occurrence neighborhoods of two nodes to the sum of the number of nodes in each of the two co-occurrence neighborhoods. It describes the degree of structural consistency between two network state nodes in other higher-order network relationships besides the current target higher-order relationship. The above New-Dice structural similarity formula applies when the sum of the number of nodes in the two co-occurrence neighborhoods is greater than 0. When both co-occurrence neighborhoods are empty, it indicates that there are no additional higher-order co-occurrence relationships for evaluating the structural consistency between the two nodes after excluding the current target candidate superedge, and the corresponding New-Dice structural similarity is set to 0. When at least one co-occurrence neighborhood is not empty, the above formula is still used, without changing the original calculation method of structural similarity.
[0076] Through the above processing, the New-Dice structural similarity can be obtained for calculating the contribution weight of member states under different co-occurrence neighborhood states, and the case where the denominator is 0 when both co-occurrence neighborhoods are empty is avoided.
[0077] S306. Based on the New-Dice structural similarity obtained in step S305, normalize the structural importance of each member node other than the target node within the same candidate hyperedge, and determine the member state contribution weight of different member nodes relative to the target node.
[0078] Member state contribution weights are calculated based on New-Dice structural similarity and are expressed as follows: ; in, Indicates the member nodes in the candidate superedge Relative to the target node The contribution weight of the member's state; This indicates the New-Dice structural similarity between corresponding nodes; Represent the complete set of members of the current candidate superedge; summation condition This indicates that the target node itself is not included in the normalized range of member state contribution weights.
[0079] Since each candidate hyperedge in step S109 contains at least two different network state nodes, there is at least one member node besides the target node in the current candidate hyperedge, which can form a normalized set of member state contribution weights. When the candidate hyperedge contains only one member node besides the target node, the member state contribution weight corresponding to that member node is 1; when it contains multiple member nodes, each member node is normalized according to the index value of the corresponding New-Dice structure similarity, so that the sum of the member state contribution weights participating in the aggregation of higher-order states of the current candidate hyperedge is 1.
[0080] The member state contribution weight changes with the degree of structural consistency of the member node in other higher-order network relationships, and is used to distinguish the differences in the contribution of different member nodes to the formation of the target node's higher-order network state in the same candidate higher-order relationship.
[0081] S307. Call the higher-order structure aggregation module, and according to the relationship type of the candidate hyperedge, perform state transformation on the event state representation of other member nodes in the candidate hyperedge, and perform differentiated higher-order aggregation according to the member state contribution weight determined in step S306 to generate the group-level network state of the target node with respect to the current candidate hyperedge.
[0082] Group-level network status is represented as: ; in, This indicates the group-level network state corresponding to the current candidate superedge; Represents member nodes Relative to the target node The contribution weight of the member's state; Representing relation type The corresponding state transition matrix; Represents member nodes An event state representation that matches the network association process corresponding to the current candidate hyperedge; This represents a nonlinear state mapping.
[0083] Among them, the summation condition This indicates that only the event state representations of member nodes other than the target node in the current candidate hyperedge are weighted and aggregated. The local state representation of the target node itself is merged with the aggregated higher-order association state in step S309, and the local state representation of the target node itself is not repeatedly used as other member event states in the group-level aggregation of the current candidate hyperedge.
[0084] Candidate hyperedges of different relation types adopt state transformation matrices that match the corresponding network state relations, so that each candidate hyperedge can form a corresponding group-level network state according to its own relation type and the corresponding member event state.
[0085] S308. Perform nonlinear state mapping on the weighted aggregation result of the member states formed independently by each candidate hyperedge, and maintain the independent identity of different candidate hyperedges before completing the corresponding nonlinear state mapping, so that candidate hyperedges with some of the same network state nodes but different member combinations or relationship types can form corresponding group-level network states respectively.
[0086] In step S307, the group-level network state formula already includes a nonlinear state mapping function σ. This nonlinear state mapping is a mapping of the weighted aggregation result of the member event states of the corresponding candidate hyperedges. Step S308 is used to explain that different candidate hyperedges complete their respective mappings and maintain their independent identities, and does not mean that the same nonlinear state mapping is repeatedly performed on the same group-level network state. Through the above processing, different candidate hyperedges retain their corresponding higher-order network association states before further fusion.
[0087] S309. Based on the multiple candidate hyperedges currently associated with the target node, aggregate the different group-level network states formed in step S308, and fuse the aggregated higher-order association states with the node local state representation of the target node generated in step S2 to obtain the spatial higher-order network state of the target node in the current time window.
[0088] For multiple candidate hyperedges associated with the target node, the group-level network states formed by each candidate hyperedge are first retained and aggregated, and then fused with the local state representation of the target node.
[0089] Thus, the generated spatial high-order network state simultaneously includes the local operating state of the target node itself and the overlapping high-order network association state in which it participates, avoiding the event states of different candidate high-order relationships being mixed in advance before independent aggregation.
[0090] S310. Call the causal time series modeling module to update the time series state representation corresponding to the current time window based on the spatial higher-order network state of the target node in the current time window and the time series state corresponding to the previous time window.
[0091] The causal temporal modeling module adopts a one-way temporal state update method, which ensures that the temporal network state corresponding to the current time window is formed only based on the current time window and the previously obtained spatial higher-order network state, without using the network state information of future time windows, and re-initializes the corresponding temporal state when a new independent network running sequence begins.
[0092] The timing state update process is represented as follows: ; in, This indicates the spatial higher-order network state of the current time window; Indicates the time-series hidden state of the current time window; Indicates the memory state of the current time window; Indicates the hidden state of the time sequence in the previous time window; Indicates the memory state of the previous time window; This represents the temporal state update process of the Long Short-Term Memory (LSTM) network.
[0093] Through the above causal temporal modeling, the spatial higher-order network state of the current time window is linked with the temporal state corresponding to the historical time window, forming a temporal state representation that can reflect the changes of the network's higher-order correlation state over time.
[0094] S311. Based on the network state of other member nodes in the candidate hyperedges associated with the target node after time-series modeling, the state is aggregated according to the candidate hyperedge relationship type and member association relationship to form the group-level network state context corresponding to the target node.
[0095] The group-level network state context describes the external network state formed by other member nodes that directly participate in the same higher-order network association process as the target node, both in their current and historical states. Through the group-level network state context, the target node can obtain the temporal state information corresponding to other member nodes that jointly participate in the candidate higher-order network association process.
[0096] S312. Based on the SAVA-Agent states other than the target node in the current network state snapshot, and the higher-order network states other than the target node's current direct relationships, aggregate the states according to the SAVA-Agent deployment role or network relationship type to form the network-level state context corresponding to the target node.
[0097] Among them, the network-level state context is used to describe the overall network operating state outside the local high-order associations of the target node, and together with the group-level network state context, it provides network state information outside the target node.
[0098] S313. Call the state context fusion module to perform unified mapping and state fusion on the group-level network state context generated in step S311 and the network-level state context generated in step S312 to form the external network state context corresponding to the target node.
[0099] Furthermore, the external network state context is fused with the target node temporal state representation obtained in step S310 to generate a node network state representation. The generated node network state representation simultaneously includes the target node's local operating state, higher-order association state, temporal evolution state, and external network state information, enabling the target node's network state representation to simultaneously reflect its local network state and its related network association states.
[0100] S314. Call the unlabeled state learning module to manually mask some of the state information in the originally obtainable node-level network state observations and event-level network state records, and reconstruct the masked state information based on the node network state representation generated in step S313.
[0101] During training, node network state representations are generated using unmasked network state information, while the masked original state information is used as the reconstruction target. This allows the network state representation model to learn the correspondence between different network state information through network state observation and reconstruction. Simultaneously, based on the consistency between the target node's node network state representation and its corresponding group-level and network-level network state contexts, local-global state learning constraints are established.
[0102] Based on the network state reconstruction results and the local-global state consistency relationship, an unlabeled network state learning objective is formed, and the relevant parameters for multi-source state encoding, higher-order state aggregation, temporal state modeling, and state context fusion are updated according to this learning objective. Notably, the label of the fake source DDoS attack category is not included in the update of the network state representation model parameters, enabling the model to perform unlabeled state learning using available node-level network state observations, event-level network state records, and corresponding higher-order network relationships.
[0103] S315. When the network state representation model reaches the preset training rounds or meets the preset state learning termination condition, save the network state representation model and the corresponding data state processing, relation type and candidate hypergraph construction configuration.
[0104] During subsequent network operation, based on current and historical SAVA-Agent multi-source network state observations, the following steps are executed sequentially: event state preservation, dynamic type candidate hypergraph construction, quality-aware state fusion, high-order correlation state aggregation, causal temporal state update, and local-global state fusion. This outputs the network state representation of each SAVA-Agent in different time windows.
[0105] In the subsequent network state representation process, the trained network state representation model is used for state encoding, state fusion, higher-order state aggregation, and causal temporal state update. It is not necessary to obtain fake source DDoS attack category labels as input for network state representation.
[0106] Furthermore, this embodiment converts multi-source network state observations obtained by different SAVA-Agents into node local states and event states corresponding to specific network association processes. A dynamic type candidate hypergraph maintains the overlapping association structure of nodes in the same network state participating in multiple high-order network association processes. Member state contribution weights and differentiated high-order aggregation distinguish the state contributions of different member nodes to the target node. Finally, causal temporal modeling, state context fusion, and label-free state learning are combined to generate a network state representation that changes over time. This improves the ability to maintain multi-source network state information, characterize high-order associations, and represent dynamic states in fake-source DDoS attack scenarios, providing a foundation of network state information for subsequent attack state perception, monitoring, diagnosis, tracing, and security handling.
[0107] Example 2 like Figure 2 As shown, this embodiment provides a network state characterization device for DDoS attacks from fake sources, which is used to implement the network state characterization method of Embodiment 1. It includes a multi-source state access and hypergraph construction layer, a quality-aware coding and state fusion layer, and a spatial-temporal characterization and self-supervised learning layer. The three processing layers transmit data in sequence to realize multi-source network state processing, high-order correlation state aggregation, and dynamic network state characterization.
[0108] The multi-source state access and hypergraph construction layer includes a network state access module, a time state alignment module, an event relationship extraction module, and a dynamic type hypergraph construction module.
[0109] The network status access module receives multi-source network status observations from different SAVA-Agents, including source address verification results, network traffic status, log alarms, path measurements, flow detection, routing and network management status, resource status, and auxiliary threat intelligence. It also establishes a correlation between these network status observations and the corresponding SAVA-Agents. This module is deployed on the central analysis platform or as a network status analysis node connected to the SAVA-Agent deployment location, enabling status information obtained from different network locations to be mapped to the appropriate network status nodes.
[0110] The time-state alignment module maps network state observations from different sources, with different sampling frequencies, and different update periods to corresponding time windows based on the sampling time of the network state observations, forming a network state snapshot. Time alignment is then completed through statistical aggregation within the window or by maintaining the most recent valid observation. Simultaneously, it establishes observation validity flags, observation timeliness, and observation confidence levels, ensuring that current network state processing uses only currently acquired and previously obtained network state information.
[0111] The event relationship extraction module generates node-level network state observations and event-level network state records based on the description objects of network state observations. It then extracts candidate association relationships based on event state characteristics, node co-occurrence relationships, temporal consistency, and relationship type. When the same network state node participates in multiple network association processes within the same time window, the corresponding event-level network state records are retained separately to prevent premature mixing of event states from different network association processes.
[0112] The dynamic type hypergraph construction module is used to construct candidate hyperedges of different relationship types based on candidate association relationships, forming a dynamic type candidate hypergraph that allows network state nodes to overlap and have multiple memberships, and establishing a correspondence between candidate hyperedge members and event-level network state records, so that different candidate hyperedges are associated with the event state information of the corresponding network association process.
[0113] The multi-source state access and hypergraph construction layer sends the generated node-level network state observations, event-level network state records, state quality information, dynamic type candidate hypergraphs, and candidate hyperedge member correspondences to the quality-aware coding and state fusion layer.
[0114] The quality-aware coding and state fusion layer includes an independent source coding module, a state quality modeling module, a node state fusion module, and an event state fusion module.
[0115] The independent source coding module is used to encode node-level network state observations and event-level network state records according to the data structures corresponding to different data sources. It uses the standardized state features and corresponding observation validity indicators, observation timeliness and observation confidence as coding inputs to generate source-level state codes that are mapped to a unified state space.
[0116] The state quality modeling module is used to calculate the state quality score based on the source-level state code, observation validity flag, observation timeliness and observation confidence, and normalize the state quality score of valid data sources to determine the source-level state fusion weights, so that invalid data sources do not participate in the normalization process of the current state fusion weights.
[0117] The node state fusion module is used to perform weighted fusion of multiple source-level state codes corresponding to the same network state node according to the source-level state fusion weight, and generate a node local state representation describing the local operation of the network state node.
[0118] The event state fusion module is used to perform independent source encoding and quality-aware fusion for each event-level network state record, generate an event state representation corresponding to the specific network association process, and establish a correspondence between candidate hyperedge members and event state representations based on the correspondence between candidate hyperedge members and event-level network state records, so that the event state representations of different network association processes remain independent.
[0119] The quality-aware coding and state fusion layer sends the correspondence between the node local state representation set, the event state representation set, the dynamic type candidate hypergraph and candidate hyperedge members and the event state representation to the spatial temporal representation and self-supervised learning layer.
[0120] The spatial temporal representation and self-supervised learning layer includes a high-order structure aggregation module, a causal temporal modeling module, a state context fusion module, and an unlabeled state learning module.
[0121] The higher-order structure aggregation module is used to calculate the member state contribution weights based on the event state representations corresponding to the candidate hypergraphs and candidate hyperedges of dynamic types, and to perform differentiated higher-order aggregation on the member event states. Specifically, the direct contribution of the target candidate hyperedge to the node co-occurrence relationship is temporarily excluded. The New-Dice structural similarity is calculated based on the co-occurrence neighborhoods in the remaining candidate higher-order relationships to determine the member state contribution weights of other member nodes relative to the target node. When both co-occurrence neighborhoods are empty, the corresponding New-Dice structural similarity is set to 0. Subsequently, the event state representations of other member nodes are transformed and weighted aggregated according to the relationship type of the candidate hyperedges to generate the group-level network states corresponding to the candidate hyperedges. While maintaining the independent identity of different candidate hyperedges, the aggregated higher-order association states are fused with the local state representations of the nodes to generate the spatial higher-order network state.
[0122] The causal temporal modeling module is used to generate the current temporal state representation based on the spatial higher-order network state of the current time window and the temporal state corresponding to the previous time window, using a one-way temporal state update method. This ensures that the current temporal state depends only on the current and historical network state information, and the corresponding temporal state is reinitialized when a new independent network running sequence begins.
[0123] The state context fusion module is used to construct a group-level network state context based on the network states of other member nodes in the candidate hyperedges associated with the target node after temporal modeling; and to construct a network-level state context based on the states of other SAVA-Agents besides the target node and their higher-order network states other than their direct associations. The two types of state contexts are uniformly mapped and fused to form an external network state context, which is then fused with the temporal state representation of the target node to generate a node network state representation.
[0124] The unlabeled state learning module is used to mask some node-level network state observations and event-level network state records. It reconstructs the masked state information based on the node network state representation and, combined with the consistency relationship between the node network state representation and the group-level and network-level state contexts, forms the unlabeled network state learning objective. This updates parameters related to multi-source state encoding, higher-order state aggregation, temporal state modeling, and state context fusion. Notably, the label for fake source DDoS attack categories is not included in the model parameter updates. After training reaches the preset termination condition, the network state representation model and its corresponding configuration are saved for subsequent network operation.
[0125] When the device in this embodiment is running, it first completes the time alignment of multi-source network state observation, event state separation and dynamic type candidate hypergraph construction through the multi-source state access and hypergraph construction layer; then it generates node local state representation and event state representation through the quality-aware coding and state fusion layer; finally, it performs member state contribution weight calculation, higher-order state aggregation, causal temporal modeling and state context fusion through the spatial temporal representation and self-supervised learning layer, and outputs the network state representation of each SAVA-Agent changing over time.
[0126] Furthermore, the aforementioned device enables a unified representation of multi-source network states, overlapping high-order correlation states, and time evolution information, thereby improving the ability to maintain network state information, characterize high-order correlations, and represent dynamic states in the context of fake-source DDoS attacks, and providing a network state information foundation for attack state perception, monitoring, and security handling.
Claims
1. A network state characterization method for DDoS attacks originating from fake sources, characterized in that, Includes the following steps: S1. Receive multi-source network state observations obtained by SAVA-Agent from different source addresses, determine network state nodes and align them with time windows, and generate node-level network state observations and event-level network state records respectively; construct a dynamic type candidate hypergraph that allows multiple memberships of network state nodes based on the event-level network state records, and establish the correspondence between candidate hyperedge members and event-level network state records. S2. Independent source coding and quality-aware fusion are performed on node-level network state observations and event-level network state records respectively to generate node local state representations and event state representations corresponding to different network association processes, and a correspondence between candidate hyperedge members and event state representations is established. S3. For the target node in the candidate hyperedge, determine the member state contribution weight according to the dynamic type candidate hypergraph, and perform weighted aggregation on the corresponding event state representation to form the group-level network state of each candidate hyperedge; aggregate the group-level network state and merge it with the node local state representation of the target node to generate the spatial higher-order network state. Causal temporal modeling and state context fusion are performed on the spatial high-order network state to generate network state representations of each SAVA-Agent over time.
2. The method according to claim 1, characterized in that, In step S1, the reception and time window alignment of multi-source network state observations include: The actual deployed SAVA-Agent or the source address verification and network observation entities formed by aggregation according to the preset network granularity are used as network status nodes. A set of network status nodes is established according to the actual network deployment, and the node identifiers of each network status node are kept consistent within the same network operation cycle. Receive multi-source network status observations from different SAVA-Agents. These multi-source network status observations include one or more of the following: source address verification results, network traffic statistics or burst status, templated network logs and alarms, path or AS-path measurement, flow detection, routing and network management status, device resource utilization status, network latency and packet loss measurement, and auxiliary threat intelligence. The continuous network runtime is divided into multiple time windows, and each time window forms a network state snapshot. Multi-source network state observations are mapped to the corresponding network state snapshots according to the sampling time of each data source. For network state observations with a sampling frequency higher than the current time window granularity, they are aggregated according to preset statistical rules within the time window; for network state observations with a sampling frequency lower than the current time window granularity, the most recent valid observation is retained, and the corresponding observation time information is recorded. Establish valid indicators, observation timeliness, and observation confidence, and ensure that the network state construction for the current time window uses only the current time window and previously acquired network state information.
3. The method according to claim 1, characterized in that, In step S1, the generation of node-level network state observations and event-level network state records includes: Based on the description object corresponding to the network state observation, the running state of the network state node itself is constructed as a node-level network state observation, and the state corresponding to the network association process is constructed as an event-level network state record. Based on the relational semantics corresponding to network status observations, event-level network status records are classified into relational types, including one or more of the following: source address verification anomaly association, traffic or burst mode association, path measurement association, and victim target or service association. Each event-level network state record stores its associated network state node, time window, relationship type, and corresponding state information source. When the same network state node participates in multiple different network association processes within the same time window, the corresponding event-level network state records are retained for each different network association process. The different event-level network state records are not summed, averaged, or merged into a single relation state.
4. The method according to claim 1, characterized in that, In step S1, the construction of the dynamic type candidate hypergraph includes: For event-level network state records of the same relation type, the degree of association between event-level network state records is determined based on the similarity of event state characteristics between different network state nodes, the co-occurrence relationship of nodes, and the consistency of corresponding state patterns in historical time windows. According to the preset association conditions, event-level network state records that meet the relationship requirements and belong to different network state nodes are formed into candidate association groups; Based on the candidate association group, candidate hyperedges of corresponding relationship types are constructed. Each candidate hyperedge is composed of different network state nodes in the same candidate association group and is associated with the corresponding relationship type. Each candidate hyperedge contains at least two different network state nodes and satisfies the preset maximum hyperedge order limit, allowing the same network state node to belong to two or more different candidate hyperedges at the same time. Redundant candidate association groups are screened out based on the degree of overlap in the member sets of candidate association groups, and a correspondence is established between each candidate hyperedge member and the event-level network state record that generates the corresponding candidate association relationship, forming a dynamic type candidate hypergraph for the current time window.
5. The method according to claim 1, characterized in that, In step S2, the generation of the node local state representation includes: Based on the data dimensions and state ranges corresponding to each data source, the node-level network state observations are standardized. The standardization parameters are determined based on the historical data or training data that the network state representation model is allowed to access. Based on the data source of network state observation, the corresponding independent source coding module is called, and the standardized state features and the corresponding observation validity, observation timeliness and observation confidence are used as coding inputs to generate source-level state codes that are mapped to a unified state space. Based on the source-level state code, observation validity flag, observation timeliness, and observation confidence, calculate the state quality score of each data source in the current time window; The quality weights are normalized based on the state quality scores corresponding to each valid data source to obtain the source-level state fusion weights corresponding to each valid data source, and invalid data sources in the current time window are not included in the state fusion weight normalization process. Based on the source-level state fusion weights, multiple source-level state codes corresponding to the same network state node are weighted and fused to generate the local state representation of the network state node in the current time window.
6. The method according to claim 1, characterized in that, In step S2, the generation and association of event state representations include: For each event-level network state record corresponding to the same network state node, independent source encoding is performed, and the corresponding state quality score and state fusion weight are calculated. Based on the state fusion weight, only the multi-source state information belonging to the current event-level network state record is fused to generate the event state representation corresponding to the network associated process, and to keep the different event state representations corresponding to the same network state node independent of each other. A unified state space mapping is performed on the local state representation of nodes and the event state representation, so that the local state representation of nodes and the event state representation of different relation types have a unified representation dimension that meets the requirements of subsequent high-order network state processing, and the correspondence between the event state representation and the network state nodes, time windows and relation types is maintained. Based on the correspondence between candidate superedge members and event-level network state records, each candidate superedge member is associated with its corresponding event state representation. This ensures that when the same network state node participates in different candidate superedges simultaneously, each candidate superedge obtains an event state representation that matches the corresponding network association process.
7. The method according to claim 1, characterized in that, In step S3, the determination of the member state contribution weight includes: For the target candidate hyperedge in the current time window, the direct contribution of the target candidate hyperedge to the node co-occurrence relationship is temporarily excluded from the dynamic type candidate hypergraph; Determine the co-occurrence neighborhoods of the target node and other member nodes in the target candidate hyperedge in the remaining candidate higher-order relations; The New-Dice structural similarity is calculated based on the co-occurrence neighborhoods of the target node and other member nodes. The New-Dice structural similarity is determined by the ratio of twice the number of common nodes in the co-occurrence neighborhoods of the two nodes to the sum of the number of nodes in each of the two co-occurrence neighborhoods. Based on the New-Dice structural similarity, the structural importance of other member nodes within the same candidate hyperedge, excluding the target node, is normalized to determine the contribution weight of each member node to the member state relative to the target node.
8. The method according to claim 1, characterized in that, In step S3, the generation of the spatial higher-order network state includes: Based on the correspondence between candidate superedge members and event state representations, determine the event state representation corresponding to each candidate superedge member in the current time window; For the target node in the candidate hyperedge, the event state representations of other member nodes in the candidate hyperedge are transformed according to the relation type of the candidate hyperedge. Based on the contribution weight of each member node to the member state relative to the target node, the event state representation after state transformation is weighted and aggregated to generate the group-level network state of the target node with respect to the current candidate hyperedge. For each candidate hyperedge, a nonlinear state mapping is performed on the group-level network state formed independently, and the independent identity of different candidate hyperedges is maintained before the nonlinear state mapping is completed. Based on the multiple candidate hyperedges currently associated with the target node, the group-level network state after nonlinear state mapping is aggregated, and the aggregated higher-order association state is fused with the local state representation of the target node to generate the spatial higher-order network state of the target node in the current time window.
9. The method according to claim 1, characterized in that, In step S3, causal temporal modeling, state context fusion, and unlabeled state learning include: Based on the spatial higher-order network state of the target node in the current time window and the temporal state corresponding to the previous time window, a one-way temporal state update method is used to generate the temporal state representation corresponding to the current time window, so that the temporal state of the current time window is formed only based on the current time window and the network state information that has been obtained previously, and the corresponding temporal state is re-initialized when a new independent network running sequence begins. Based on the network state of other member nodes in the candidate hyperedge associated with the target node after time-series modeling, the state is aggregated according to the candidate hyperedge relationship type and member association relationship to form the group-level network state context corresponding to the target node. Based on the current network state snapshot, the states of other SAVA-Agents besides the target node and the higher-order network states other than the current direct associations of the target node are aggregated according to the SAVA-Agent deployment role or network relationship type to form the network-level state context corresponding to the target node. A unified mapping and state fusion of group-level and network-level network state contexts are performed to form an external network state context. The external network state context is then fused with the temporal state representation of the target node to generate a node network state representation. During the training of the network state representation model, some state information in the node-level network state observation and event-level network state record is masked. The masked state information is reconstructed based on the node network state representation. Local-global state learning constraints are established based on the consistency relationship between the node network state representation and the corresponding group-level network state context and network-level state context. Based on the network state reconstruction results and the local-global state consistency relationship, an unlabeled network state learning objective is formed. The relevant parameters of multi-source state encoding, higher-order state aggregation, temporal state modeling and state context fusion are updated according to the unlabeled network state learning objective, so that the fake source DDoS attack category label does not participate in the update of the network state representation model parameters. When the network state representation model reaches the preset training rounds or meets the preset state learning termination condition, the network state representation model and the corresponding data state processing, relation types and candidate hypergraph construction configuration are saved; in the subsequent network operation, the trained network state representation model is used to generate the network state representation of each SAVA-Agent in different time windows.
10. A network state characterization device for DDoS attacks originating from fake sources, characterized in that, It includes a multi-source state access and hypergraph construction layer, a quality-aware coding and state fusion layer, and a spatial-temporal representation and self-supervised learning layer; The multi-source state access and hypergraph construction layer includes a network state access module, a time state alignment module, an event relationship extraction module, and a dynamic type hypergraph construction module; The network state access module receives multi-source network state observations from different SAVA-Agents and establishes the association between network state observations and corresponding SAVA-Agents; the time state alignment module performs time window mapping and time sequence alignment on network state observations from different sources; the event relationship extraction module generates node-level network state observations and event-level network state records and extracts candidate associations; the dynamic type hypergraph construction module constructs dynamic type candidate hypergraphs based on candidate associations and establishes the correspondence between candidate hyperedge members and event-level network state records. The quality-aware coding and state fusion layer includes an independent source coding module, a state quality modeling module, a node state fusion module, and an event state fusion module; The independent source coding module encodes network state observations from different sources and maps them to a unified state space; the state quality modeling module calculates state quality scores based on the validity, timeliness, and confidence of network state observations and determines state fusion weights; the node state fusion module performs quality-aware fusion on node-level network state observations to generate local node state representations; and the event state fusion module performs multi-source state coding and quality-aware fusion on each event-level network state record to generate event state representations while maintaining the correspondence between candidate hyperedge members and event state representations. The spatial temporal representation and self-supervised learning layer includes a high-order structure aggregation module, a causal temporal modeling module, a state context fusion module, and an unlabeled state learning module; The higher-order structure aggregation module is used to calculate the member state contribution weight based on the dynamic type candidate hypergraph and the correspondence between candidate hyperedge members and event state representations, perform differentiated higher-order aggregation of member event states, and generate spatial higher-order network states by combining node local state representations; the causal temporal modeling module is used to perform unidirectional causal temporal modeling based on the spatial higher-order network states of the current time window and the temporal states corresponding to the historical time windows; the state context fusion module is used to fuse group-level network state contexts and network-level state contexts, and generate node network state representations by combining temporal state representations; the labelless state learning module is used to perform labelless state learning through network state observation reconstruction and local-global state consistency constraints, and generate network state representations of each SAVA-Agent corresponding to different time windows.
