Multicast routing method based on air-ground cluster trajectory prediction
Through a multicast routing method based on air-ground cluster trajectory prediction, using graph multi-attention mechanism network and dynamic multicast tree strategy, the problem of unstable node communication in disaster environments is solved, and the data transmission success rate and resource distribution efficiency are improved. It is applicable communication needs in various emergency situations.
Patent Information
- Application Number
- CN202210448797.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-27
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2042-04-27
AI Technical Summary
In a disaster environment, node communication in the collaborative rescue network is affected by the disaster environment and the access link is unstable, resulting in data transmission interruption and delay. It is difficult for existing multicast routing protocols to rely on GPS positioning information to ensure routing reliability, especially in major disasters. It is difficult to form effective rescue distribution in accident and disaster rescue missions.
A multicast routing method based on air-ground cluster trajectory prediction is adopted. By mining the movement trajectories of collaborative rescue network users, a graph multi-attention mechanism network is constructed to predict the trajectory changes of mobile entities, and a dynamic distributed group is generated, using wait-contrast-separate. The policy generates a dynamic multicast tree to implement routing of multi-destination messages.
It improves the data transmission success rate and data distribution overhead ratio in disaster environments, reduces location registration signaling overhead, and provides an efficient resource distribution mechanism, which is suitable for disaster rescue, intelligent firefighting, industrial networks and other fields.
Smart Images

Figure CN115038140B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of resource distribution services, and in particular to a multicast routing method based on air-ground cluster trajectory prediction. Background Art
[0002] In the traditional emergency communication command and control process, due to the limitations of equipment and information level, it is difficult to form an effective rescue distribution, and there is a high possibility of chaos and disorder. Especially for major accidents and disaster rescue missions, network equipment not only faces complex environments such as high temperature and high humidity on site, but also the existing network infrastructure is severely damaged or difficult to deploy. In the air-ground collaborative network environment, the communication between nodes in the collaborative rescue network is affected by the disaster environment, the access link is unstable, and the node collaborative rescue communication is frequently interrupted and has large delays, resulting in no fixed link between the source node and the destination node.
[0003] Each node in the collaborative rescue network is equipped with a mobile ad hoc network communication module, which has both routing and message forwarding functions, and can form any network topology through wireless connections. A single network node usually needs to interact with multiple network nodes in the cluster, such as regularly reporting its own location, data collection, and task execution. If the above communication is carried out in unicast mode, the amount of data transmitted in the network will increase exponentially, and even cause serious network congestion.
[0004] However, it is very challenging to design multicast routing protocols for damaged networks in disaster environments. When nodes are performing multicast communications, in order to ensure communication efficiency, data does not need to be confirmed hop by hop during delivery, but this may cause multicast nodes to be unable to detect link disconnections in a timely manner. Therefore, when selecting multicast routes, the reliability of the routes should be improved as much as possible. Most of the existing multicast routing protocols used in this regard rely on the Global Positioning System (GPS) devices equipped on the nodes. However, when the network devices in the cluster are in a disaster environment and it is difficult to obtain their own accurate positioning, most of the multicast routing protocols that rely on GPS positioning information will not be able to guarantee the reliability of the established routes. Summary of the invention
[0005] In view of the shortcomings of the prior art, the present invention provides a multicast routing method based on air-ground cluster trajectory prediction, comprising:
[0006] Step 1: Mining the movement trajectories of users in the collaborative rescue network;
[0007] Step 2: Build a graph multi-attention mechanism network to predict the trajectory changes of mobile entities based on the ground mobile entity data collected by the drone;
[0008] Step 3: Construct a working mobile model and generate motion nodes of mobile entities;
[0009] Step 4: Construct a dynamic distributed group and use the wait-compare-separate strategy to generate a dynamic multicast tree to achieve routing of multi-destination messages.
[0010] The step 1 comprises:
[0011] Step 1.1: Introduce a time window for the user's movement trajectory and discretize the continuous time;
[0012] Step 1.2: When the user moves a distance greater than the set threshold L in the window g When , define the current state as the active state, otherwise it is defined as the static state, find two time windows in which the consecutive states are static states, and then define the position change sequence contained in the two time windows as a moving trajectory;
[0013] Step 1.3: According to trajectory similarity, the trajectories with the same movement characteristics are divided into the same feature trajectory set;
[0014] Step 1.4: Remove noise trajectories according to the set threshold of support;
[0015] Step 1.5: For the retained feature trajectory set, select the central trajectory as the feature trajectory, that is, the user's movement trajectory.
[0016] The step 2 comprises:
[0017] Step 2.1: Construct a graph multi-attention mechanism network for ground mobile entities; specifically, construct a graph structure based on the location data of the ground mobile entities, take each ground mobile entity as a node of the graph, take the spatial relationship between different ground mobile entities as spatial edges, take the temporal relationship between the same ground mobile entities at adjacent times as temporal edges, and embed the node information into a vector to preserve the graph structure.
[0018] Step 2.2: Based on the constructed graph multi-attention mechanism network, predict the trajectory sequence of the mobile entity.
[0019] The step 2.2 is specifically described as follows:
[0020] Step 2.2.1: Introduce spatial attention to calculate the spatial interaction between the mobile entity and the surrounding entities, dynamically assign weights to all spatial edges at different time steps, and then weighted sum the interaction features of all surrounding mobile entities to obtain the weighted sum
[0021] Step 2.2.2: Introduce temporal attention to calculate the correlation between different time slices of the same node. In the graph multi-attention network model, the same node l in different time slices Do a dot product calculation to find the correlation between the two
[0022] Step 2.2.3: Use activation function Z to weight the interaction features Relevance Fusion, according to Z, and The moving trajectory H is calculated by element-wise multiplication and summation. (l) .
[0023] The step 3 comprises:
[0024] Step 3.1: Divide the daily behavior characteristics of users and connect the behavior characteristics to obtain the work mobility model;
[0025] Step 3.2: Use the moving trajectory obtained in step 1 and the predicted trajectory generated in step 2 as inputs of the working moving model to generate the moving node of the moving entity;
[0026] Step 3.3: According to the preset signal threshold Xg, select important nodes from the moving nodes.
[0027] The step 4 comprises:
[0028] Step 4.1: Construct a dynamic distributed group to reduce the network overhead during message multicasting;
[0029] Step 4.2: For the constructed distributed group, a wait-compare-separate strategy is used to generate a dynamic multicast tree to achieve routing of multi-destination messages.
[0030] The step 4.1 is specifically described as follows:
[0031] Select the first M nodes with greater importance among the important nodes as the initial nodes. Each node has a unique group. During the node movement process, the nodes that do not belong to a group are added to the group to which the node they first meet belongs, until each node has a unique group.
[0032] Adjust the group affiliation of the node, add the node to one or more groups, record the number of times the node encounters other nodes during the node movement process, and associate node K with a group q. 1 The number of encounters C q Compare the sum of the number of encounters between node K and all groups. If the ratio is greater than the threshold θ, node K is added to group q. 1 middle;
[0033] If group q1 , Group q 2 Contains public nodes, record the number of public nodes N1, q 1 The number of nodes in the group N2,q 2 The number of nodes in the group is N3. Find the minimum value min between N2 and N3, calculate the ratio of N1 to min, and if the ratio is greater than the set threshold δ, group q 1 With group q 2 to merge.
[0034] The step 4.2 is specifically described as follows:
[0035] The source node of the message looks for the destination node in the same group. When the decision node finds that the destination node is in its neighbor set, if the branch of the decision node is the destination node, the destination node is unbound. Otherwise, the decision node does not unbind and waits for the destination node and completes the direct delivery of the message.
[0036] The destination node set of the message carried by node U is expressed as Where D represents the set of all destination nodes of the message; when node U encounters node V, node U first sends the message of set D' to node V, and node V in turn sends to node U the routing forwarding decision Q between itself and each destination node in set D';
[0037] Calculate the sum Q of the interest similarity values between node V and each destination node v , calculate the sum Q of the interest similarity values between node U and each destination node u , if Q v Greater than Q u , then continue to advance, otherwise node U waits for the next node to meet;
[0038] When the message reaches the group where its destination node is located, when selecting the next hop medium, if the encountered node satisfies Where χ is the threshold, T is the Calvin temperature, and m represents the number of destination nodes in the set D'. The encountered node is added as a candidate node to the next hop set of the destination node, and then the intersection of different next-hop sets is calculated, and then a node is selected from them as the shared next hop node of the group to complete the routing.
[0039] The beneficial effects of the present invention are:
[0040] The present invention proposes a multicast routing method based on air-ground cluster trajectory prediction, which has the following technical effects compared with the prior art:
[0041] (1) In view of the characteristics that the communication between rescue network nodes in the air-ground collaborative network environment is affected by the disaster environment, the access link stability is low, the rescue communication is frequently interrupted, and there is a large delay. The present invention uses a cognitive network architecture through real-time perception of the network environment status to integrate the data transmission task requirements in disaster rescue with the dynamic changes of the underlying network, dynamically adjust the network link node resources, and achieve efficient data transmission;
[0042] (2) The present invention improves the mobile location management strategy based on the user mobility pattern, the movement trajectory of the collaborative rescue node, and the group characteristics, thereby reducing the location registration signaling overhead. In particular, for users with strong mobility regularity, the higher the predictability, the less the location update overhead, providing an efficient resource distribution mechanism;
[0043] (3) The present invention improves the message transmission success rate and the data distribution overhead ratio, and has broad application prospects in many fields such as disaster relief, intelligent fire protection, industrial networks, public utilities, public health, and environmental protection. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 It is a flow chart of the multicast routing method based on air-ground cluster trajectory prediction in the present invention;
[0045] Figure 2 is the position change sequence in the present invention;
[0046] Figure 3 Schematic diagram of trajectory mining in the present invention, where (a) represents dividing the user movement sequence by time window, (b) represents mining the user movement trajectory from the window sequence, (c) represents dividing the feature trajectory set, and (d) represents selecting the central trajectory as the user's action behavior;
[0047] Figure 4 It is the multi-attention network structure of the present invention;
[0048] Figure 5 It is the state transition diagram of the neutron model of the present invention;
[0049] Figure 6 It is the Wait-Compare-Split strategy diagram in the present invention;
[0050] Figure 7 It is the message transmission success rate at different message generation intervals in the present invention;
[0051] Figure 8 is the average end-to-end delay under different message generation intervals in the present invention;
[0052] Fig. 9 It is the average number of hops under different message generation intervals in the present invention;
[0053] Fig.10 It is the data distribution overhead ratio under different message generation intervals in the present invention. DETAILED DESCRIPTION
[0054] The invention will be further described below with reference to the accompanying drawings and specific implementation examples.
[0055] like Figure 1 As shown, a multicast routing method based on air-ground cluster trajectory prediction includes:
[0056] Step 1: Mining the movement trajectories of users in the collaborative rescue network; including:
[0057] Step 1.1: Introduce a time window for the user's movement trajectory and discretize the continuous time;
[0058] Step 1.2: When the user moves a distance greater than the set threshold L in the window g When , define the current state as the active state, otherwise it is defined as the static state, find two time windows in which the consecutive states are static states, and then define the position change sequence contained in the two time windows as a moving trajectory;
[0059] Step 1.3: According to trajectory similarity, the trajectories with the same movement characteristics are divided into the same feature trajectory set;
[0060] Step 1.4: Remove noise trajectories according to the set threshold of support;
[0061] Step 1.5: For the retained feature trajectory set, select the central trajectory as the feature trajectory, that is, the user's movement trajectory;
[0062] The present invention introduces a time window, discretizes continuous time into multiple time windows, and judges the motion state (movement or stillness) of the current window based on whether the user moves under the window. If the movement is greater than 1 / 2 of the window length, the motion state is moving, otherwise it is still. Find two time windows with continuous stillness in the time window transformation sequence, and then define the transformation sequence between these sections as a movement trajectory of the user. Combined with the concept of feature trajectory set, multiple movement trajectories are divided, and trajectories with the same features are divided into the same feature trajectory set based on trajectory similarity, and noise trajectories (those with support less than the set threshold Z) are removed. g According to the definition of feature trajectory, the central trajectory is selected as the feature trajectory from the feature trajectory set after removing the noise data, and is used as the final user movement behavior.
[0063] Specifically, given the time window length win_size, the length of a day can be divided into 24 / win_size time windows (the unit of win_size is hours). For any time window, the user's movement state under this window is either moving or stationary. When the user makes a large movement in the window, the current state is moving; otherwise, the state is stationary. A movement trajectory of the user is defined by the position transformation sequence between two consecutive stationary states. The trajectory mining strategy is as follows Figure 2 as shown. Window w 3 and w 6 are two consecutive stationary windows, and w m′-2 and w m' are also two consecutive stationary windows. According to the definition, the position transformation sequence between window w 3 and w 6 , w m′-2 and w m′ is called the movement trajectory of the user.
[0064] For a certain mobile user, their position movement is both random and regular. Its randomness lies in that the user can move to any location at any time during the movement; while the regularity of the user's movement lies in that each user has their own pattern, and the user will move according to their own pattern when moving. The general movement pattern mining scheme is as follows. For the trajectory set {T 1 , T 2 ,..., T c} of the user, it can be divided according to the user's movement rules, so as to divide the trajectory set into multiple subsets {S 1 , S 2 ,..., S d}, where S i = {T j , T j+1 ,...}, i ≤ d < c, and the trajectories in each subset S i have similarity, representing a movement rule of the user.
[0065] Although the user has c movement trajectories, from the perspective of movement rules, the user only has d movement characteristics (d < c). Each characteristic trajectory set S i represents a typical daily movement pattern of the user. In order to facilitate finally finding the user's movement behavior, we further reduce the dimension of S i . We select a trajectory element representative from S i as the description of this characteristic set, and define this representative trajectory element as a characteristic trajectory of the user. Finally, each characteristic trajectory set S i corresponds to a characteristic trajectory T i', all feature trajectories constitute the user's movement pattern (behavior).
[0066] Figure 3 The whole process from position transformation sequence to window sequence to trajectory set to feature trajectory to mobile behavior analysis is described. Figure 3 As shown in (a), firstly, the time window is introduced to divide the user's movement sequence into time windows, and the continuous movement sequence is divided into multiple window sequences that are discrete in time; according to the description of the movement trajectory, multiple movement trajectories of the user are mined from the window sequence, such as Figure 3 (b) As shown in Figure 2, according to the concept of feature trajectory set, multiple moving trajectories are divided, similar trajectories are divided into the same feature trajectory set, and noise data (trajectory sets with small support) are removed, as shown in Figure 2. Figure 3 (c) is shown. Figure 3 As can be seen from (b), multiple trajectories are divided into three feature trajectory sets S 1 , S 2 With S 3 , and removed two noise tracks; finally, according to the definition of feature tracks, the three feature track sets S in (c) 1 , S 2 With S 3 Select three center trajectories T 1 、T 2 With T 3 as feature trajectories, and as end-user mobility behaviors.
[0067] Step 2: Build a graph multi-attention mechanism network to predict the trajectory changes of mobile entities based on the ground mobile entity data collected by the drone; including:
[0068] Step 2.1: Construct a graph multi-attention mechanism network for ground mobile entities; construct a graph structure based on the location data of ground mobile entities. Specifically, each ground mobile entity is used as a node of the graph, the spatial relationship between different ground mobile entities is used as a spatial edge, the temporal relationship between the same ground mobile entities at adjacent times is used as a temporal edge, and the node information is embedded into a vector to preserve the graph structure.
[0069] The model consists of an encoder, a decoder, and two fully connected layers (FCs) to model the spatiotemporal relationship of ground mobile entities. The encoder encodes the input traffic features, and the decoder outputs the prediction sequence, such as Figure 4The encoder-decoder consists of multiple spatiotemporal attention blocks, which model the influence of spatiotemporal factors on the change of mobility behavior. For each spatiotemporal attention block, the input is represented as H (l-1) , node v i The hidden state at time step t is represented as The output of the spatial and temporal attention mechanisms is expressed as and The hidden state is represented as and
[0070] Step 2.2: Based on the constructed graph multi-attention mechanism network, predict the trajectory sequence of the mobile entity.
[0071] For spatial attention, due to different factors such as position and speed, the degree of interaction between mobile entities is also different. The interaction between entities that are closer and move faster is greater. In order to accurately estimate the changes in the future trajectory of the mobile entity due to the interaction, spatial attention is introduced into the model. The core point is to dynamically and adaptively assign weights to all spatial edges at different time steps, and then weighted sum the interaction features of all surrounding mobile entities. The result is used to evaluate the spatial interaction between the mobile entity and the surrounding entities, as shown below:
[0072]
[0073]
[0074]
[0075] Where V l represents the weight matrix; W l represents the weight matrix; b l represents the bias vector; Represents node v i The degree of influence on the future trajectory at time step t;
[0076] Spatial attention is introduced to calculate the spatial interaction between the mobile entity and its surrounding entities. Weights are dynamically assigned to all spatial edges at different time steps. Then, the weighted sum of the interaction features of all surrounding mobile entities is taken. The result is used to evaluate the spatial interaction between the mobile entity and its surrounding entities.
[0077] For temporal attention, the trajectory of a mobile entity may change dramatically in a short period of time, and the correlation between different time steps may be suddenly affected by factors such as obstacle avoidance. In order to adaptively model this nonlinear temporal correlation over time, temporal attention is introduced into the model, and the scaled dot product method is used to calculate the correlation between different time slices of the same node.
[0078] Temporal attention is introduced to calculate the correlation between different time slices of the same node. In order to adaptively model this nonlinear time association over time, temporal attention is introduced into the graph multi-attention mechanism network model, and the scaled dot product method is used to calculate the correlation between different time slices of the same node.
[0079] The spatial features and temporal features are fused to predict the trajectory sequence of ground mobile entities. The gated fusion mechanism is used to set weight parameters W1 and W2 for the weighted sum and correlation of features to accurately predict the trajectory sequence of ground mobile entities.
[0080] The specific expression is:
[0081] Step 2.2.1: Introduce spatial attention to calculate the spatial interaction between the mobile entity and the surrounding entities, dynamically assign weights to all spatial edges at different time steps, and then weighted sum the interaction features of all surrounding mobile entities to obtain the weighted sum
[0082] Step 2.2.2: Introduce temporal attention to calculate the correlation between different time slices of the same node. In the graph multi-attention network model, the same node l in different time slices Do a dot product calculation to find the correlation between the two
[0083] Step 2.2.3: Use activation function Z to weight the interaction features Relevance Fusion, according to Z, and The moving trajectory H is calculated by element-wise multiplication and summation. (l) .
[0084] Design a gated fusion mechanism to adaptively fuse the above spatial features and temporal features, as shown below: 1 , W 2 and b are learnable parameters, ⊙ denotes element-wise multiplication, and σ(·) denotes the sigmoid activation function.
[0085]
[0086]
[0087] Through the above method, it will be possible to accurately predict the trajectory sequence of ground mobile entities while considering the spatial and temporal relationship.
[0088] In the collaborative rescue network, the node mobility model determines the encounter opportunities and connectivity time between nodes, and also determines the quality of node communication, including packet delivery rate and data transmission delay. Therefore, selecting and setting a node mobility model plays a vital role in improving algorithm performance.
[0089] Step 3: Build a working mobile model and generate motion nodes of mobile entities; including:
[0090] Step 3.1: Divide the daily behavior characteristics of users and connect the behavior characteristics to obtain the work mobility model;
[0091] Combining the Campus Based Mobility Model (CBMM) and the Shortest-Path Map Based Movement (SPMBM), according to the daily behavior characteristics of users (working in the company, resting at home, outdoor activities, dining in restaurants), focusing on the interval contact time and contact duration between nodes, and connecting behavioral characteristics, a map-based working day movement model (MBWDM) is established. The description of each sub-model is as follows:
[0092] (1) Rest at home sub-model: During the simulation, users are assigned to a fixed area to simulate activities at home, including rest, laundry, and sleep. Generally, the model is carried out from 10 pm to 8 am the next day, which is in line with the rest time of most users.
[0093] (2) Company office model: During the simulation, users are assigned to a fixed area to simulate office activities. Within this area, users can move freely, including working at their own workstations, gathering in a conference room for meetings, or going to a nearby department to do business. Generally, the model is carried out from 9 am to 12 noon, 1 pm to 5 pm, and 6 pm to 9 pm.
[0094] (3) Restaurant dining sub-model: The restaurant is also assigned to a fixed area, and breakfast is assumed to be taken at home, so this sub-model does not include breakfast time, so this sub-model is conducted from 12 noon to 1 pm and from 5 pm to 6 pm.
[0095] (4) Traffic sub-model: On weekdays, users usually go to work by car or bus. They can also walk for short distances, so the simulation nodes add transportation, namely cars and buses. The model is run from 8:00 a.m. to 9:00 a.m. and from 9:00 p.m. to 10:00 p.m., which is in line with the current fast-paced and busy work situation.
[0096] (5) Outing activity sub-model: Users’ outing activities are mainly eating, shopping, and watching movies. Nowadays, almost all major shopping malls integrate restaurants, cinemas, and clothing stores together, so the geographical range of users’ outing activities is relatively concentrated. We fix the location of users’ outing activities to one area. The user outing activity sub-model is generally carried out on weekends, from 11 a.m. to 10 p.m.
[0097] Figure 5 It is the state transition diagram of each sub-model. The traffic sub-model is dynamic and is carried out during the switching of sub-models.
[0098] Step 3.2: Use the moving trajectory obtained in step 1 and the predicted trajectory generated in step 2 as inputs of the working moving model to generate the moving node of the moving entity;
[0099] Step 3.3: According to the preset signal threshold Xg, select important nodes from the moving nodes;
[0100] Nodes can communicate only when they meet. We define the importance of nodes based on the amount of signals they receive, and select the nodes with the most received signals as important nodes.
[0101] The meeting of nodes is defined as two nodes moving into each other's communication range. In the collaborative rescue network, nodes can only communicate when they meet, so the location of the node in the network is particularly critical. When it is in a relatively concentrated location, it can detect messages sent by many nodes, so the node can be used as a relay node to forward data. On the contrary, when it is in a relatively remote location, it will be isolated by other nodes in the network. Therefore, we can define the importance of a node based on the amount of signals received by the node.
[0102] Node importance is defined as the amount of detection signals received by the node per unit time, and its formula is as follows:
[0103]
[0104] Among them, signal(t,i) is the number of signals detected by node i at time t.
[0105] Step 4: Construct a dynamic distributed group and use the wait-compare-separate strategy to generate a dynamic multicast tree to achieve routing of multi-destination messages; including:
[0106] Construct a dynamic distributed group to reduce the network overhead in the message multicast process. The construction method is divided into two stages: the bootstrap stage and the evolution stage.
[0107] In the bootstrap phase, important nodes are input and divided into groups; in the bootstrap phase, each node is divided into the group to which the node it first encounters belongs:
[0108] 1.1) The first M nodes with greater node importance are taken as the starting nodes. Each node has a unique group ID, and the group ID is 1 to M;
[0109] 1.2) During the movement of all nodes, the nodes that have not joined the group are placed into the group to which the node they first meet belongs, until each node has its unique group ID.
[0110] In the evolution stage, groups are merged. In the evolution stage, the groups to which nodes belong are adjusted according to the number of times they encounter other nodes, and they are divided into the groups with the most encounters:
[0111] 2.1) During the node movement process, each node counts the number of encounters with other nodes and saves the number in the node's membership parameter APS. The APS of node A is expressed as:
[0112] APS=(aps 1A ,aps 2A ,aps 3A ,L,aps mA )
[0113] Among them, aps mn Represents node n and group C m The number of encounters between midpoints;
[0114] 2.2) Update APS, adjust the node's belonging group, compare the node's encounter with each group, and add the node to one or more groups. For example: Then add node A to group C1;
[0115] 2.3) Merge groups if Where |C 1 | and |C 2 | respectively represent group C 1 and C 2 The number of nodes in the cluster, δ is a threshold, then cluster C 1 With C 2 merge.
[0116] Step 4.1: Construct a dynamic distributed group to reduce the network overhead during message multicasting;
[0117] Input important nodes to divide into groups, select the first M nodes with greater node importance as the initial nodes, each node has a unique group, during the node movement process, add the node that does not belong to a group to the group to which the node it first meets belongs, until each node has a unique group;
[0118] Merge groups. During the movement of a node, record the number of times it encounters other nodes and compare the number of encounters between the node and each group. If the number of encounters is greater than θ (θ is a threshold), add the node to the group. If the number of nodes contained in both groups is compared with the group with the smallest number of nodes in the two groups, and the result is greater than δ (δ is a threshold), then merge the two groups.
[0119] Adjust the group affiliation of the node, add the node to one or more groups, record the number of times the node encounters other nodes during the node movement process, and associate node K with a group q. 1 The number of encounters C q Compare the sum of the number of encounters between node K and all groups. If the ratio is greater than the threshold θ, node K is added to group q. 1 middle;
[0120] If group q 1 , Group q 2 Contains public nodes, record the number of public nodes N1, q 1 The number of nodes in the group N2,q 2 The number of nodes in the group is N3. Find the minimum value min between N2 and N3, calculate the ratio of N1 to min, and if the ratio is greater than the set threshold δ, group q 1 With group q 2 to merge.
[0121] In the collaborative rescue network, a mobile group registration protocol that supports inquiries is designed. According to different user mobility situations, the mobile location management strategy of the collaborative rescue node is improved based on the movement trajectory and group. The network overhead in the message multicast process is reduced by using the node behavior characteristics, and a group-based multicast routing mechanism is designed. In the group structure, a wait-compare-separate strategy is used to generate a dynamic multicast tree to achieve routing of multi-destination messages.
[0122] Step 4.2: For the constructed distributed group, such as Figure 6 As shown, a wait-compare-split strategy (i.e., Wait-Compare-Split strategy) is used to generate a dynamic multicast tree and thus realize routing of multi-destination messages;
[0123] In the group structure, a wait-compare-separate strategy is used to generate a multicast tree, and all nodes are bundled together at the initial position. If the decision node finds that some destination nodes are in its neighbor set, it will unbind the destination nodes that meet the conditions and wait for these destination nodes to complete the message delivery. When the message reaches the group where its destination node is located, when selecting the next hop for different destination nodes in the same group, if the ratio of the contact coefficient to the number of destination nodes of the encounter node is greater than the threshold Q, the candidate node is added to the corresponding node next line set, and then the intersection of different next hop sets is calculated, and then a node is selected from them as the shared next hop node in the group, and finally the final routing is completed.
[0124] Specifically, the source node of the message looks for the destination node in the same group. When the decision node finds that the destination node is in its neighbor set, if the branch of the decision node is the destination node, the destination node is unbound. Otherwise, the decision node does not unbind and waits for the destination node and completes the direct delivery of the message. The purpose of this decision is to determine which of the encountering nodes U and V has a better forwarding capability. If V's forwarding decision is better than U's, the decision node continues to move forward. Otherwise, U waits for the encounter of the next node.
[0125] The destination node set of the message carried by node U is expressed as Where D represents the set of all destination nodes of the message; when node U encounters node V, node U first sends the message of set D' to node V, and node V in turn sends to node U the routing forwarding decision Q between itself and each destination node in set D';
[0126] Calculate the sum Q of the interest similarity values between node V and each destination node v , calculate the sum Q of the interest similarity values between node U and each destination node u , if Q v Greater than Q u , then continue to advance, otherwise node U waits for the next node to meet;
[0127] When the message reaches the group where its destination node is located, when selecting the next hop medium, if the encountered node satisfies Where χ is the threshold, T is the Calvin temperature, and m represents the number of destination nodes in the set D'. The encountered node is added as a candidate node to the next hop set of the destination node, and then the intersection of different next-hop sets is calculated, and then a node is selected from them as the shared next hop node of the group to complete the routing.
[0128] To verify the effectiveness of the present invention, the experimental process is as follows:
[0129] Simulation environment: The entire simulation process is based on ONE (Opportunistic Network Environment) simulator, which is implemented in java on the eclipse platform.
[0130] Simulation scenario setting: The simulation scenario used in this article is the Helsinki city street scenario in the ONE simulator. There are 200 mobile nodes in total, including 120 pedestrian nodes, 60 car nodes, and 20 bus nodes. The communication radius of all nodes is the same, which is 10m. The cache size of the nodes is the same, which is 50M. The moving speed of pedestrians is [2,5]km / h, the moving speed of cars is [10,50]km / h, and the moving speed of buses is [25,38]km / h. The system simulation time is set to 5 days (432000s), of which the first two days are used to collect data as historical messages between nodes.
[0131] The specific parameter settings are shown in Table 1.
[0132]
[0133] Main class construction
[0134] Mobility model class: The MBWDM mobility model consists of several sub-models, such as the company work sub-model, restaurant dining sub-model, and home rest sub-model, which represent different activities of users. The main methods of this class are shown in Table 2.
[0135] Table 2 Main methods of mobile model class
[0136]
[0137] Group construction class based on moving trajectory
[0138] The group construction method based on mobile trajectory mainly utilizes the mobility of nodes to make the nodes within the communication range of each other, and divides the nodes with many encounter times into a group. The main methods are shown in Table 3.
[0139] Table 3 Main methods of group construction based on mobile trajectory
[0140]
[0141] Comparative Experimental Design
[0142] The method of the present invention is compared with the existing benchmark methods Direct Delivery Routing, SimBet Routing, Prophet Routing and Epidemic Routing:
[0143] (1) Message transmission success rate: The ratio of the number of successfully delivered messages to the total number of messages generated in the network. The message transmission success rate is the ultimate goal of the data distribution mechanism. Epidemic represents the benchmark for the best delivery rate. Its calculation method is as follows:
[0144]
[0145] Among them, delivered indicates the number of messages successfully delivered, created indicates the number of messages created in the network;
[0146] Average transmission delay: End-to-end delay is an important indicator for measuring network performance in air-ground collaborative networks. Longer delays mean that messages will occupy valuable cache space for a longer time. Average transmission delay refers to the average length of time it takes for a message to be created and forwarded to the destination node. The calculation method for average transmission delay is as follows:
[0147]
[0148] Among them, delayofMessage i represents the routing delay of the i-th message that is successfully delivered, and num represents the total number of all successfully delivered messages in the network;
[0149] Average hop count: In an air-ground collaborative network, the battery power of each node is very precious, so the fewer nodes a message passes through, the better. The average hop count refers to the average number of nodes a message in the network passes through from creation to successful delivery to the destination node. The calculation method of the average hop count is as follows:
[0150]
[0151] Among them, hopsofMessage i Indicates the number of nodes that the i-th message has passed through and has been successfully delivered;
[0152] Data distribution overhead ratio: The data distribution overhead ratio is used to measure the consumption of node buffers, bandwidth, and energy during the message transmission process. The data distribution overhead ratio indicates the extra cost paid in the data distribution process. It is calculated by the total number of forwarded messages and the number of successfully delivered messages in the network, reflecting the network overhead in the data distribution process. It can be seen that the smaller the data distribution overhead ratio, the lower the network resource consumption, and the higher the transmission efficiency while ensuring the message delivery rate. The specific calculation method is as follows:
[0153]
[0154] Among them, relayed represents the total number of times all messages are forwarded;
[0155] Experimental results:
[0156] The message transmission success rate is an important indicator in performance evaluation, which directly reflects the performance of the data distribution mechanism. Figure 7 As shown. Figure 7 It can be seen that the message transmission success rate of DirectDelivery is the lowest, which is only about 0.25, and the message transmission success rate of the method of the present invention is the highest, which is above 0.4.
[0157] from Figure 8 It can be seen that the average end-to-end delay of each algorithm is relatively long, ranging from 5000s to 7000s. DirectDelivery has the longest delay. The delay of the method of the present invention is not much different from that of the SimBet algorithm. Both are based on the social relationship between nodes and fully consider the behavioral attributes of the nodes.
[0158] The average hop count indicator can be used to visually see the number of intermediate media used in message routing. The specific results are as follows: Fig. 9 As shown in the figure, DirectDelivery has the least number of hops and is always 1. The method of the present invention fully considers the movement trajectory of the node and the cooperative relationship between the nodes, so it is more purposeful and targeted when selecting the next hop node. Its average number of hops is close to Epidemic, which is only about 4.0.
[0159] Data distribution overhead ratio is one of the most important performance evaluation indicators in air-ground collaborative networks. The specific results are as follows: Fig.10 The method of the present invention is superior to other algorithms in terms of message transmission success rate, and the average number of hops is lower than that of Prophet, so its data distribution overhead ratio can be at a better level.
[0160] In summary, through the comparison and analysis of the above four performance evaluation indicators, it can be seen that the method of the present invention shows good performance in different aspects, especially in terms of message transmission success rate and data distribution overhead ratio, which is more excellent compared with the current basic algorithm with good performance.
Claims
1. A multicast routing method based on air-ground cluster trajectory prediction, characterized in that: include: Step 1: Mining the movement trajectories of users in the collaborative rescue network; Step 2: Build a graph multi-attention mechanism network to predict the trajectory changes of mobile entities based on the ground mobile entity data collected by the drone; Step 3: Construct a working mobile model and generate motion nodes of mobile entities; Step 4: Based on the important nodes, a dynamic distributed group is constructed, and a wait-compare-separate strategy is adopted to generate a dynamic multicast tree to realize the routing of multi-destination messages; The step 2 comprises: Step 2.1: Construct a graph multi-attention mechanism network for ground mobile entities; Step 2.2: Predict the trajectory sequence of the mobile entity based on the constructed graph multi-attention mechanism network; The step 2.1 is specifically described as follows: constructing a graph structure according to the position data of the ground mobile entity, taking each ground mobile entity as a node of the graph, taking the spatial relationship between different ground mobile entities as a spatial edge, taking the temporal relationship between the same ground mobile entities at adjacent times as a temporal edge, and embedding the node information into a vector to preserve the graph structure; The step 2.2 is specifically described as follows: Step 2.2.1: Introduce spatial attention to calculate the spatial interaction between the mobile entity and the surrounding entities, dynamically assign weights to all spatial edges at different time steps, and then weighted sum the interaction features of all surrounding mobile entities to obtain the weighted sum Step 2.2.2: Introduce temporal attention to calculate the correlation between different time slices of the same node. In the graph multi-attention network model, the same node l in different time slices Do a dot product calculation to find the correlation between the two Step 2.2.3: Use activation function Z to weight the interaction features Relevance Fusion, according to Z, and The moving trajectory H is calculated by element-wise multiplication and summation. (l) ; The step 3 comprises: Step 3.1: Divide the daily behavior characteristics of users and connect the behavior characteristics to obtain the work mobility model; Step 3.2: Use the moving trajectory obtained in step 1 and the predicted trajectory generated in step 2 as inputs of the working moving model to generate the moving node of the moving entity; Step 3.3: According to the preset signal threshold Xg, select important nodes from the moving nodes.
2. A multicast routing method based on air-ground cluster trajectory prediction according to claim 1, characterized in that: The step 1 comprises: Step 1.1: Introduce a time window for the user's movement trajectory and discretize the continuous time; Step 1.2: When the user moves a distance greater than the set threshold L in the window g When , define the current state as the active state, otherwise it is defined as the static state, find two time windows in which the consecutive states are static states, and then define the position change sequence contained in the two time windows as a moving trajectory; Step 1.3: According to trajectory similarity, the trajectories with the same movement characteristics are divided into the same feature trajectory set; Step 1.4: Remove noise trajectories according to the set threshold of support; Step 1.5: For the retained feature trajectory set, select the central trajectory as the feature trajectory, that is, the user's movement trajectory.
3. The multicast routing method based on air-ground cluster trajectory prediction according to claim 1 is characterized in that: The step 4 comprises: Step 4.1: Construct a dynamic distributed group to reduce the network overhead during message multicasting; Step 4.2: For the constructed distributed group, a wait-compare-separate strategy is used to generate a dynamic multicast tree to achieve routing of multi-destination messages.
4. The multicast routing method based on air-ground cluster trajectory prediction according to claim 3 is characterized in that: The step 4.1 is specifically described as follows: Select the first M nodes with greater importance among the important nodes as the initial nodes. Each node has a unique group. During the node movement process, the nodes that do not belong to a group are added to the group to which the node they first meet belongs, until each node has a unique group. Adjust the group affiliation of the node, add the node to one or more groups, record the number of times the node encounters other nodes during the node movement process, and record the number of times node K encounters a group q1 q Compare the sum of the number of encounters between node K and all groups. If the ratio is greater than the threshold θ, add node K to group q1. If groups q1 and q2 contain common nodes, record the number of common nodes N1, the number of nodes in group q1 N2, and the number of nodes in group q2 N3, find the minimum value min between N2 and N3, calculate the ratio of N1 to min, and if the ratio is greater than the set threshold δ, merge groups q1 and q2.
5. The multicast routing method based on air-ground cluster trajectory prediction according to claim 3 is characterized in that: The step 4.2 is specifically described as follows: The source node of the message looks for the destination node in the same group. When the decision node finds that the destination node is in its neighbor set, if the branch of the decision node is the destination node, the destination node is unbound. Otherwise, the decision node does not unbind and waits for the destination node to complete the direct delivery of the message. The destination node set of the message carried by node U is expressed as Where D represents the set of all destination nodes of the message; when node U encounters node V, node U first sends the message of set D' to node V, and node V in turn sends to node U the routing forwarding decision Q between itself and each destination node in set D'; Calculate the sum Q of the interest similarity values between node V and each destination node v , calculate the sum Q of the interest similarity values between node U and each destination node u , if Q v Greater than Q u , then continue to advance, otherwise node U waits for the next node to meet; When the message reaches the group where its destination node is located, when selecting the next hop medium, if the encountered node satisfies Where χ is the threshold, T is the Calvin temperature, and m represents the number of destination nodes in the set D'. The encountered node is added as a candidate node to the next hop set of the destination node, and then the intersection of different next hop sets is calculated, and then a node is selected from them as the shared next hop node of the group to complete the routing.
Citation Information
Patent Citations
Density and closeness clustering based user moving behavior determination method
CN105404648A
Method and device for detecting Ad hoc network key node in real time
CN111601361A
Trajectory prediction method and device based on double attention mechanism
CN114117259A
