A method and device for dynamic load balancing of heterogeneous networks with interruption delay tolerance

By initializing configuration parameters, community division and reinforcement learning algorithm optimization in the heterogeneous unmanned platform cluster network, the network load imbalance and congestion problems are solved, operating efficiency and service quality are improved, and efficient data transmission is achieved.

CN118433112BActive Publication Date: 2024-09-24BEIJING UNIV OF POSTS & TELECOMM
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202410889822.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-04
Publication Date
2024-09-24
Estimated Expiration
2044-07-04

AI Technical Summary

Technical Problem

In highly dynamic heterogeneous unmanned platform cluster networks, due to limited node resources and traditional routing strategies that ignore the actual transmission capabilities of nodes and links, some congestion and load imbalance problems occur, affecting network operating efficiency and user service quality.

Method used

An interruption delay tolerant heterogeneous network dynamic load balancing method is adopted. By initializing the configuration parameters of unmanned nodes, the community is divided based on the preset community division algorithm, a social attribute table is constructed, and the reinforcement learning algorithm is used to optimize network parameters to ensure that data packets are Achieve load balancing under the premise of high delivery rate and low latency.

Benefits of technology

It improves the overall operating efficiency of the heterogeneous unmanned platform cluster network, ensures user service quality, and reduces data packet retransmission through the store-carry-forward mechanism, improving data transmission efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118433112B
    Figure CN118433112B
Patent Text Reader

Abstract

The present invention provides a method and device for dynamic load balancing of heterogeneous networks with interruption delay tolerance, and relates to the technical field of communication. In the method, unmanned nodes can communicate indirectly through a store-carry-forward mechanism, and can also cache data packets, so even if the TTL of the data packet expires, it is not necessary to retransmit from the source node. At the same time, the characteristics of the store-carry-forward mechanism greatly improve the data transmission efficiency, and when the network parameters are optimized by using a reinforcement learning algorithm, the difference in the backlog queue lengths of all unmanned nodes at adjacent moments, the queuing delay of all unmanned nodes for successfully delivering data packets, and the success rate of all unmanned nodes in delivering data packets at the current moment are linked to the reward of an intelligent body, so that the cluster network learns how to balance the load of the entire network under the premise of ensuring a high delivery rate and low latency, thereby improving the overall operation efficiency of the heterogeneous unmanned platform cluster network, thereby ensuring the user service quality.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of communications, and in particular to an interruption delay tolerant heterogeneous network dynamic load balancing method and device. Background Art

[0002] Recently, heterogeneous unmanned platform cluster network technology has developed rapidly and has shown great potential in many fields. Heterogeneous unmanned platform cluster networks are particularly popular because they can adjust and expand network nodes according to task requirements and real-time network loads, thereby providing high flexibility and scalability. However, in highly dynamic heterogeneous unmanned platform cluster networks, due to limited node resources and communication restrictions, traditional routing strategies mainly select paths based on social relationships between nodes, while ignoring the actual transmission capacity of nodes and links. Therefore, partial congestion and load imbalance are prone to occur, resulting in a decrease in the efficiency of the entire network operation, which in turn affects the quality of user service. Summary of the invention

[0003] The purpose of the present invention is to provide a method and device for dynamic load balancing of heterogeneous networks with interruption delay tolerance, so as to improve the overall operation efficiency of heterogeneous unmanned platform cluster networks and ensure the quality of user services.

[0004] In a first aspect, the present invention provides a method for dynamic load balancing of heterogeneous networks with interruption delay tolerance, comprising: step 1, initializing the configuration parameters of each unmanned node in a heterogeneous unmanned platform cluster network; wherein the configuration parameters include: trajectory data, cached data packet type, service rate at the current moment, arrival rate, DTN routing index and data packet backlog queue length; the service rate represents the total number of data packets to be sent by the current unmanned node as a source node to other unmanned nodes; the arrival rate represents the total number of data packets to be sent by the current unmanned node as a relay node to other unmanned nodes; step 2, dividing the heterogeneous unmanned platform cluster network into communities based on a preset community division algorithm to obtain multiple unmanned communities, and constructing a social attribute table for each of the unmanned nodes based on broadcasts within the community; wherein the social attribute table is used to record the cached data packet types of the remaining unmanned nodes in the community where the unmanned node is located; repeatedly executing the following steps 3 to 5, and after reaching a preset training step length, returning to the above step 1 until a preset training round is reached to obtain the target network of the heterogeneous unmanned platform cluster network. Parameters; Step 3, obtaining a specified type of data packet request sent by a user, and determining an unmanned node in the heterogeneous unmanned platform cluster network to receive the specified type of data packet; Step 4, flooding the corresponding type of interest packet in the multiple unmanned communities based on the specified type of data packet request, so as to determine a number of unmanned nodes in the heterogeneous unmanned platform cluster network to send the specified type of data packet based on the social attribute table; Step 5, optimizing the network parameters of the heterogeneous unmanned platform cluster network using a reinforcement learning algorithm; wherein the intelligent agent in the reinforcement learning algorithm corresponds one-to-one to the unmanned node in the heterogeneous unmanned platform cluster network, the state of the intelligent agent includes: the service rate, arrival rate, DTN routing index and data packet backlog queue length of the unmanned node at the current moment, and the action of the intelligent agent is the next hop node of the data packet to be sent by the unmanned node; the reward after all intelligent agents perform actions is negatively correlated with the difference in the backlog queue length of all unmanned nodes at adjacent moments, and the queuing delay of all unmanned nodes successfully delivering data packets, and is positively correlated with the success rate of all unmanned nodes delivering data packets at the current moment.

[0005] In an optional embodiment, the heterogeneous unmanned platform cluster network is divided into communities based on a preset community division algorithm to obtain multiple unmanned communities, including: calculating the social relationship strength between the target unmanned node and other unmanned nodes based on the trajectory data of each unmanned node in the heterogeneous unmanned platform cluster network; wherein the target unmanned node represents any unmanned node in the heterogeneous unmanned platform cluster network; based on the social relationship strength between the target unmanned node and other unmanned nodes, calculating the average social relationship strength of the target unmanned node; dividing the target unmanned node and associated nodes into the same unmanned community; wherein the associated node represents an unmanned node whose social relationship strength with the target unmanned node is greater than the average social relationship strength; repeatedly performing the steps of randomly selecting an unmanned node from the remaining unmanned nodes in the undivided community and determining the unmanned nodes that belong to the same unmanned community for it until the number of remaining unmanned nodes is 0, thereby obtaining the multiple unmanned communities.

[0006] In an optional embodiment, determining the unmanned node in the heterogeneous unmanned platform cluster network to receive a data packet of a specified type includes: obtaining the user's location data; calculating the distance between each of the unmanned nodes and the user at the current moment based on the location data and the trajectory data of each unmanned node in the heterogeneous unmanned platform cluster network; and using the unmanned node corresponding to the shortest distance as the unmanned node to receive the data packet of the specified type.

[0007] In an optional embodiment, the loss function of the reinforcement learning algorithm is expressed as: ;in, Indicates the preset batch size, represents the set of states of all agents in the mth training of the batch, represents the set of actions selected by all agents in the mth training, Indicates the network parameters of the heterogeneous unmanned platform cluster network in the mth training The sum of the state-action value functions of all agents after they perform actions when the Nash equilibrium is reached. represents the sum of the rewards after all agents perform actions, represents the reward discount factor, represents the action space of the agent, Represents the state of all agents before the mth training Next action The state-action value function after .

[0008] In an alternative embodiment, ;in, Indicates status Following the Markov transition process , ; ; represents a collection of agents, represents the expected future reward value of agent i at all times when the heterogeneous unmanned platform cluster network reaches Nash equilibrium in the mth training, , represents the action space of agent i, represents the action selected by agent i in the mth training, represents the actions selected by the other agents in the mth training, represents the reward after agent i chooses an action only when agent i deviates from the Nash equilibrium, represents all discounted rewards of agent i in the past time.

[0009] In an optional implementation, the difference in the backlog queue lengths of all unmanned nodes at adjacent times is expressed as: ;in, express The scalar of the instability of the heterogeneous unmanned platform cluster network at the moment, , represents the total number of unmanned nodes in the heterogeneous unmanned platform cluster network, express No nodes at all times To the destination unmanned node The backlog queue size, , express No nodes at all times As the source node, waiting to be sent to the destination unmanned node The number of newly added data packets, express No nodes at all times Acts as a relay node to be sent to unmanned nodes The total number of packets, express No nodes at all times As a source node to be sent to unmanned nodes The total number of packets.

[0010] In an optional implementation, the formula for calculating the strength of the social relationship is: ;in, Indicates unmanned node With unmanned nodes The strength of social ties between Indicates unmanned node Located at unmanned node The total number of times within the communication range, Indicates that other unmanned nodes in the heterogeneous unmanned platform cluster network are located at the unmanned node The total number of times within the communication range.

[0011] In a second aspect, the present invention provides an interruption delay tolerant heterogeneous network dynamic load balancing device, comprising: an initialization module, used to initialize the configuration parameters of each unmanned node in the heterogeneous unmanned platform cluster network; wherein the configuration parameters include: trajectory data, cached data packet type, service rate at the current moment, arrival rate, DTN routing index and data packet backlog queue length; the service rate represents the total number of data packets to be sent by the current unmanned node as a source node to other unmanned nodes; the arrival rate represents the total number of data packets to be sent by the current unmanned node as a relay node to other unmanned nodes; a community division module, used to divide the heterogeneous unmanned platform cluster network into communities based on a preset community division algorithm to obtain multiple unmanned communities, and construct a social attribute table for each of the unmanned nodes based on broadcasting within the community; wherein the social attribute table is used to record the cached data packet types of the remaining unmanned nodes in the community where the unmanned node is located; a repeated calling module, used to repeatedly call the following acquisition and determination module, flooding and determination module and optimization module in sequence, and after reaching a preset training step, return to call the initialization module and its subsequent modules until a preset training round is reached to obtain the heterogeneous The invention relates to a method for constructing target network parameters of an unmanned platform cluster network; an acquisition and determination module, which is used to acquire a specified type of data packet request sent by a user, and determine the unmanned node in the heterogeneous unmanned platform cluster network to receive the specified type of data packet; a flooding and determination module, which is used to flood the corresponding type of interest packet in the multiple unmanned communities based on the specified type of data packet request, so as to determine the number of unmanned nodes in the heterogeneous unmanned platform cluster network to send the specified type of data packet based on the social attribute table; an optimization module, which is used to optimize the network parameters of the heterogeneous unmanned platform cluster network using a reinforcement learning algorithm; wherein the intelligent agent in the reinforcement learning algorithm corresponds one-to-one to the unmanned node in the heterogeneous unmanned platform cluster network, the state of the intelligent agent includes: the service rate, arrival rate, DTN routing index and data packet backlog queue length of the unmanned node at the current moment, and the action of the intelligent agent is the next hop node of the data packet to be sent by the unmanned node; the reward after all intelligent agents perform actions is negatively correlated with the difference in the backlog queue length of all unmanned nodes at adjacent moments, and the queuing delay of all unmanned nodes successfully delivering data packets, and is positively correlated with the success rate of all unmanned nodes delivering data packets at the current moment.

[0012] In a third aspect, the present invention provides an electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, the steps of the interruption delay tolerant heterogeneous network dynamic load balancing method described in any one of the aforementioned embodiments are implemented.

[0013] In a fourth aspect, the present invention provides a computer-readable storage medium, which stores computer instructions. When the computer instructions are executed by a processor, the interruption delay tolerant heterogeneous network dynamic load balancing method described in any of the aforementioned embodiments is implemented.

[0014] The present invention provides a heterogeneous network dynamic load balancing method with interruption delay tolerance. In the method, unmanned nodes of a heterogeneous unmanned platform cluster network can communicate indirectly through a store-carry-forward mechanism, and the unmanned nodes can cache data packets. Therefore, even if the TTL of the data packet expires, it is not necessary to retransmit it from the source node. At the same time, the characteristics of the store-carry-forward mechanism greatly improve the data transmission efficiency. Moreover, when optimizing the network parameters using a reinforcement learning algorithm, the difference in the backlog queue lengths of all unmanned nodes at adjacent moments, the queuing delay of all unmanned nodes for successfully delivering data packets, and the success rate of all unmanned nodes in delivering data packets at the current moment are linked to the reward of an intelligent body, so that the cluster network learns how to balance the entire network load under the premise of ensuring a high delivery rate and low delay, thereby improving the overall operation efficiency of the heterogeneous unmanned platform cluster network and ensuring the user service quality. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0016] Figure 1 A flowchart of a method for dynamic load balancing in heterogeneous networks with interruption delay tolerance provided by an embodiment of the present invention;

[0017] Figure 2 A schematic diagram of a communication network architecture of a heterogeneous unmanned platform cluster network provided by an embodiment of the present invention;

[0018] Figure 3 This is a schematic diagram of the changes of the Lyapunov optimization function during the training process;

[0019] Figure 4 A schematic diagram of the packet transmission failure rate in a heterogeneous unmanned platform cluster network;

[0020] Figure 5 Schematic diagram of data packet transmission delay in heterogeneous unmanned platform cluster network;

[0021] Figure 6 A functional module diagram of a heterogeneous network dynamic load balancing device with interruption delay tolerance provided by an embodiment of the present invention;

[0022] Figure 7 A schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings here can be arranged and designed in various different configurations.

[0024] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0025] Some embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.

[0026] Embodiment 1

[0027] Figure 1 A flowchart of a method for dynamic load balancing in heterogeneous networks with interruption delay tolerance provided by an embodiment of the present invention is shown in FIG. Figure 1 As shown, the method specifically comprises the following steps:

[0028] Step 1: Initialize the configuration parameters of each unmanned node in the heterogeneous unmanned platform cluster network.

[0029] Among them, the configuration parameters include: trajectory data, cached data packet type, service rate at the current moment, arrival rate, DTN routing indicators and data packet backlog queue length; the service rate indicates the total number of data packets that the current unmanned node is waiting to send to other unmanned nodes as a source node; the arrival rate indicates the total number of data packets that the current unmanned node is waiting to send to other unmanned nodes as a relay node.

[0030] In order to enable the heterogeneous unmanned platform cluster network to provide users with reliable and efficient network services, the embodiment of the present invention sets the configuration parameters of each unmanned node in the cluster to include the cache data packet type, the service rate and the arrival rate at the current moment. It can be seen that the interruption delay tolerant heterogeneous network dynamic load balancing method provided by the embodiment of the present invention adopts the following method: Figure 2 In the communication network architecture shown in the figure, each unmanned node in the heterogeneous unmanned platform cluster network can communicate indirectly through the store-carry-forward mechanism, and the unmanned node can cache data packets. That is to say, the information-centric network ICN is used in the heterogeneous unmanned platform cluster network to assist the DTN nearest delay-tolerant network.

[0031] At the beginning of the method execution, the configuration parameters of all unmanned nodes in the heterogeneous unmanned platform cluster network are obtained by random initialization, and the service rate, arrival rate, DTN routing index and data packet backlog queue length of the unmanned nodes at the current moment can also be set to zero first.

[0032] Based on the above definitions of service rate and arrival rate, we can see that there are no nodes in the network. Destination Node The queuing dynamics of the forwarding queue of packets can be modeled as: and ;in express No nodes at all times As a source node to be sent to unmanned nodes The total number of packets, express No nodes at all times Send to relay node , and the number of data packets whose destination is unmanned node j, N represents the total number of unmanned nodes in the heterogeneous unmanned platform cluster network; express No nodes at all times Acts as a relay node to be sent to unmanned nodes The total number of packets, express No nodes at all times Send to unmanned node And the destination is an unmanned node The number of packets.

[0033] In the embodiment of the present invention, the DTN routing indicators of unmanned nodes include: betweenness centrality (local centrality), global centrality and connection strength. Specifically, betweenness centrality indicates the frequency of an unmanned node appearing on all shortest paths in the network. If an unmanned node appears on more shortest paths, its betweenness centrality is higher. Betweenness centrality It is expressed as: ;in, , represents the communication link between unmanned nodes, Indicates unmanned node and unmanned nodes The path between Indicates unmanned node On unmanned nodes and unmanned nodes in the shortest path.

[0034] Since the betweenness centrality is only used to estimate the centrality of the local area near the unmanned node, this may cause the unmanned node with a higher value to fail to successfully transmit the message to the destination node. Therefore, the global centrality is further introduced on the basis of the betweenness centrality. , ;in, Indicates unmanned node Encountering an unmanned node The number of historical times, that is, no one node Located at unmanned node Based on the expression of global centrality, it can be seen that global centrality uses the global information of the number of connections between a node and all other nodes in the network to reflect the social characteristics of the node, which can better reflect the possibility of future encounters between nodes.

[0035] The connection strength is through the current node With the destination node The more common neighbors there are, the greater the possibility of transmission. The connection strength is defined as: ;in, express No nodes at all times The set of all neighbors of express Time destination unmanned node The set of all neighbors of express No nodes at all times With unmanned nodes The number of common neighbors. Adding one is to prevent No nodes at all times With unmanned nodes There are no common neighbors.

[0036] The length of the data packet backlog queue of an unmanned node can effectively reflect the degree of network congestion and whether the network load is balanced. In an embodiment of the present invention, the length of the data packet backlog queue of an unmanned node at the current moment is calculated by adding the length of the data packet backlog queue of the node at the previous moment, the number of new data packets to be sent at the current moment, the arrival rate, and then subtracting the service rate.

[0037] Step 2: divide the heterogeneous unmanned platform cluster network into communities based on a preset community division algorithm to obtain multiple unmanned communities, and construct a social attribute table for each unmanned node based on the broadcast within the community.

[0038] After the heterogeneous unmanned platform cluster network is initialized, it needs to be further divided into communities. Optionally, clusters are formed according to the strength of social relationships between nodes to establish unmanned communities. After the communities are divided, data packets are broadcast in each community to inform each other of the content cache of each unmanned node, thereby constructing a social attribute table for each unmanned node, where the social attribute table is used to record the cache data packet types of other unmanned nodes in the community where the unmanned node is located.

[0039] Repeat steps 3 to 5 below, and after reaching the preset training step length, return to step 1 above until the preset training rounds are reached to obtain the target network parameters of the heterogeneous unmanned platform cluster network.

[0040] Step 3: Obtain a data packet request of a specified type sent by a user, and determine an unmanned node in the heterogeneous unmanned platform cluster network that is to receive the data packet of the specified type.

[0041] The purpose of the embodiment of the present invention is to train a heterogeneous unmanned platform cluster network so that it can learn a routing control strategy that can ensure the user service quality and take into account the network load balancing. Therefore, during training, the user should simulate sending a specified type of data packet request. When the user sends a specified type of data packet request to the heterogeneous unmanned platform cluster network, on the one hand, it is necessary to determine the sending node of the specified type of data packet to be sent, so as to determine which unmanned nodes need to add a new data packet to be sent; on the other hand, it is also necessary to determine the receiving node of the specified type of data packet, so as to feedback the data packet to the user through the receiving node. Optionally, the receiving node selects the unmanned node closest to the user.

[0042] Step 4: flood the interest packets of the corresponding type in multiple unmanned communities based on the data packet request of the specified type, so as to determine several unmanned nodes in the heterogeneous unmanned platform cluster network to which the data packets of the specified type are to be sent based on the social attribute table.

[0043] When a user sends a request for a data packet of a specified type, an interest packet needs to be generated in the heterogeneous unmanned platform cluster network first (each type of data packet corresponds to an interest packet). The heterogeneous unmanned platform cluster network searches for the corresponding content data packet by transmitting the interest packet, and transmits the content data packet when a matching content data packet is found. In the heterogeneous unmanned platform cluster network, the interest packet is only flooded between unmanned communities, because after the unmanned community is divided, the nodes in the community have informed each other of the existence of content through broadcasting. Therefore, when it is transmitted to an unmanned node in a community, it can be determined whether the content data packet to be found exists in the entire unmanned community according to the social attribute table of the unmanned node. If it is determined to exist, it can also determine which unmanned nodes have cached the specified type of data packets. Then, all unmanned nodes in the heterogeneous unmanned platform cluster network that have cached the specified type of data packets determine the newly added data packets to be sent (that is, the specified type of data packets) and route them to the drone nodes near the user.

[0044] Step 5: Use reinforcement learning algorithm to optimize the network parameters of the heterogeneous unmanned platform cluster network.

[0045] Among them, the intelligent agents in the reinforcement learning algorithm correspond one-to-one to the unmanned nodes in the heterogeneous unmanned platform cluster network. The states of the intelligent agents include: the service rate, arrival rate, DTN routing indicators and data packet backlog queue length of the unmanned nodes at the current moment. The action of the intelligent agent is the next hop node of the data packet to be sent by the unmanned node; the rewards after all intelligent agents perform actions are negatively correlated with the difference in the backlog queue lengths of all unmanned nodes at adjacent moments, and the queuing delay of all unmanned nodes for successfully delivering data packets, and are positively correlated with the success rate of all unmanned nodes in delivering data packets at the current moment.

[0046] In traditional path selection optimization schemes, most control strategies only consider delay and / or data packet delivery rate. Although delay and / or delivery rate can be improved, it is difficult to provide highly reliable continuous service due to poor network stability, load imbalance and other problems. In view of this, the reinforcement learning algorithm adopted in the embodiment of the present invention, in the process of optimizing network parameters, takes the service rate, arrival rate, DTN routing index and data packet backlog queue length of the unmanned node at the current moment as the state of the intelligent agent, that is, considers the overall state of the heterogeneous unmanned platform cluster network, including the social attributes, resources and link transmission capacity of the unmanned node. In addition, the reward after all intelligent agents in the algorithm perform actions is set to be negatively correlated with the difference in the backlog queue length of all unmanned nodes at adjacent moments and the queuing delay of all unmanned nodes for successfully delivering data packets, and positively correlated with the success rate of all unmanned nodes delivering data packets at the current moment. In other words, the smaller the difference in the backlog queue length of all unmanned nodes at adjacent moments, the greater the reward; the smaller the queuing delay of all unmanned nodes for successfully delivering data packets, the greater the reward; the greater the success rate of all unmanned nodes delivering data packets at the current moment, the greater the reward.

[0047] In this embodiment, when considering the queuing dynamics of each unmanned node, the propagation delay in each link is ignored, that is, the queuing delay of the data packet is equal to the maximum life cycle TTL of the data packet minus the remaining life cycle of the data packet when the data packet is received, that is, , Indicates the remaining life cycle of the data packet. Indicates the queuing delay of the data packet.

[0048] The success rate of data packets delivered at the current moment is the quotient of the number of data packets successfully delivered at the current moment and the total number of data packets delivered at the current moment, that is, .

[0049] In an embodiment of the present invention, it is necessary to reset the simulation environment and obtain the initial state space for each training round. Each training round includes multiple training steps. Within each training step, the agent takes corresponding actions and performs state transfer. Then, the network loss function is calculated to optimize the network parameters. After reaching the preset iteration rounds, the default heterogeneous unmanned platform cluster network has the optimized target network parameters.

[0050] Based on the definition of agent rewards in the reinforcement learning algorithm used in the embodiment of the present invention, after optimizing the network parameters of the heterogeneous unmanned platform cluster network using the reinforcement learning algorithm, the network can learn the optimal routing control strategy, which can balance the load of the entire network while ensuring high delivery rate and low latency. The embodiment of the present invention does not specifically limit the calculation method of the reward, and can set positive weights for the positive related items of the reward, set negative weights for the negative related items of the reward, and then use the weighted sum of all reward related items as the reward after the agent performs the action.

[0051] The embodiment of the present invention provides a heterogeneous network dynamic load balancing method with interruption delay tolerance. In the method, the unmanned nodes of the heterogeneous unmanned platform cluster network can communicate indirectly through a store-carry-forward mechanism, and the unmanned nodes can cache data packets. Therefore, even if the TTL of the data packet expires, it is not necessary to retransmit it from the source node. At the same time, the characteristics of the store-carry-forward mechanism greatly improve the data transmission efficiency. In addition, when the network parameters are optimized using a reinforcement learning algorithm, the difference in the backlog queue lengths of all unmanned nodes at adjacent times, the queuing delay of all unmanned nodes for successfully delivering data packets, and the success rate of all unmanned nodes in delivering data packets at the current time are linked to the reward of the intelligent body, so that the cluster network learns how to balance the entire network load under the premise of ensuring a high delivery rate and low latency, thereby improving the overall operation efficiency of the heterogeneous unmanned platform cluster network, thereby ensuring the user service quality.

[0052] In an optional implementation, the above step 2, dividing the heterogeneous unmanned platform cluster network into communities based on a preset community division algorithm to obtain multiple unmanned communities, specifically includes the following steps:

[0053] Step S201, calculating the social relationship strength between the target unmanned node and other unmanned nodes based on the trajectory data of each unmanned node in the heterogeneous unmanned platform cluster network; wherein the target unmanned node represents any unmanned node in the heterogeneous unmanned platform cluster network.

[0054] Specifically, the embodiment of the present invention performs clustering to establish a community according to the social relationship strength between unmanned nodes in a heterogeneous unmanned platform cluster network. Optionally, the formula for calculating the social relationship strength is: ;in, Indicates unmanned node With unmanned nodes The strength of social ties between Indicates unmanned node Located at unmanned node The total number of times within the communication range, Indicates that other unmanned nodes in the heterogeneous unmanned platform cluster network are located at the unmanned node The total number of times within the communication range.

[0055] Step S202, based on the social relationship strength between the target unmanned node and other unmanned nodes, calculate the average social relationship strength of the target unmanned node.

[0056] Unmanned Node The average social relationship strength can be expressed as: ; Where M represents the unmanned node The total number of unmanned nodes that have been contacted, that is, the number of unmanned nodes in the running trajectory The total number of unmanned nodes whose communication ranges intersect.

[0057] Step S203, classifying the target unmanned node and the associated nodes into the same unmanned community; wherein the associated nodes represent unmanned nodes whose social relationship strength with the target unmanned node is greater than the average social relationship strength.

[0058] That is to say, when no one node When encountering a new node, if the relationship strength between the two is greater than that of the unmanned node If the average social relationship strength is lower than , it is classified as an uninhabited community.

[0059] Step S204, repeatedly performing the steps of randomly selecting an unmanned node from the remaining unmanned nodes that have not been divided into communities, and determining for it an unmanned node that belongs to the same unmanned community as the unmanned node, until the number of remaining unmanned nodes is 0, thereby obtaining multiple unmanned communities.

[0060] In an optional implementation, determining an unmanned node to receive a data packet of a specified type in a heterogeneous unmanned platform cluster network specifically includes the following contents:

[0061] Step S301, obtaining user location data.

[0062] Step S302, based on the location data and the trajectory data of each unmanned node in the heterogeneous unmanned platform cluster network, calculate the distance between each unmanned node and the user at the current moment.

[0063] Step S303: The unmanned node corresponding to the shortest distance is used as the unmanned node to receive the data packet of the specified type.

[0064] In an optional implementation, the difference in the backlog queue lengths of all unmanned nodes at adjacent times is expressed as: .

[0065] in, express A scalar of the instability of the heterogeneous unmanned platform cluster network at all times. , Represents the total number of unmanned nodes in the heterogeneous unmanned platform cluster network, express No nodes at all times To the destination unmanned node The backlog queue size, , express No nodes at all times As the source node, waiting to be sent to the destination unmanned node The number of newly added data packets, express No nodes at all times Acts as a relay node to be sent to unmanned nodes The total number of packets, express No nodes at all times As a source node to be sent to unmanned nodes The total number of packets.

[0066] This embodiment uses a quadratic function of the queue backlog size as a scalar measure of the degree of system instability, that is, the Lyapunov function is: , according to the Lyapunov function, the Lyapunov drift term is derived as follows: (Formula 1); where (Formula 2), that is, (Formula 3).

[0067] Taking the expectation on both sides of the above formula 3 to obtain the Lyapunov drift boundary, we get: ; If the network packet flow is within the control range, the service rate Much greater than the arrival rate ,but Less than 0.

[0068] Set the number , According to the above formula, . That is, , indicating that when the queue backlog is large enough, It is always less than or equal to 0 and eventually tends to be stable.

[0069] The embodiment of the present invention proposes a DTN communication architecture based on Lyapunov optimization in a heterogeneous unmanned platform cluster network, and adopts a reinforcement learning method of Nash equilibrium DQN to solve it. In this algorithm, the goal of the agent is to select actions to maximize the reward. Each agent can only control its own actions and must choose its own actions while considering the behaviors of all other participants, so that the entire network reaches an equilibrium point, that is, the action strategies of all agents form a Nash equilibrium.

[0070] In an optional implementation, the loss function of the reinforcement learning algorithm is expressed as: .

[0071] in, Indicates the preset batch size, represents the set of states of all agents in the mth training of the batch, represents the set of actions selected by all agents in the mth training, Indicates the network parameters of the heterogeneous unmanned platform cluster network in the mth training The sum of the state-action value functions of all agents after they perform actions when the Nash equilibrium is reached. represents the sum of the rewards after all agents perform actions, represents the reward discount factor, represents the action space of the agent, Represents the state of all agents before the mth training Next action The state-action value function after .

[0072] Optionally, the state-action value function of the Nash equilibrium is: ;in, Indicates status Following the Markov transition process , ; ; represents a collection of agents, represents the expected future reward value of agent i at all times when the heterogeneous unmanned platform cluster network reaches Nash equilibrium in the mth training, , represents the action space of agent i, represents the action selected by agent i in the mth training, represents the actions selected by the other agents in the mth training, represents the reward after agent i chooses an action only when agent i deviates from the Nash equilibrium, represents all discounted rewards of agent i in the past time.

[0073] In order to verify the implementation effect of the embodiment of the present invention, Figure 3 This is a schematic diagram of the changes in the Lyapunov optimization function during the training process. Figure 3 where is the Lyapunov optimization function, By minimizing the stability of the entire heterogeneous unmanned platform cluster network, Figure 3 It can be seen that after taking a negative number, it shows a downward trend, which eventually makes the entire network load balanced.

[0074] Figure 4 Schematic diagram of data packet transmission failure rate in heterogeneous unmanned platform cluster network. Figure 4 It can be seen that the failure rate gradually tends to one percent. In the early stage of the network, the unmanned platform moves highly dynamically and cannot form a continuous link, which leads to poor network stability and unbalanced load. The Lyapunov optimization function is at a high level and it is difficult to control the entire network to restore stability, which leads to a high failure rate. With the strategy iteration and optimization of the heterogeneous unmanned platform cluster network, the network tends to be stable by minimizing the Lyapunov function, and efficient data packet transmission strategies are learned to make the entire network develop in a stable direction, ultimately reducing the network transmission failure rate.

[0075] Figure 5 Schematic diagram of data packet transmission delay in heterogeneous unmanned platform cluster network. Figure 5 It can be seen from the figure that the network delay is at a high level in the initial stage. This is mainly due to the unbalanced load in the queue of each node in the network, which leads to the failure to transmit data packets in time within the limited link time, resulting in a high network delay and a low user service quality (QoS). After 30,000 episodes, the Lyapunov optimization function is minimized to a certain extent, making the stability of the entire network at a high level, and each agent learns the optimal data packet transmission strategy to transmit data packets to unmanned nodes with lower load levels in time, and reduces the queue delay strategy to make the transmission delay show a downward trend. By continuously minimizing the optimization function, the overall network performance is ultimately greatly improved, making the delay and transmission failure rate at a low level and improving QoS.

[0076] In summary, the embodiment of the present invention adopts the communication network architecture of ICN-assisted DTN, caches the data packet in the unmanned node, and does not need to be retransmitted from the source node when the data packet TTL expires, thereby reducing the network delay, and the carry-store-forward feature enables the data packet to be transmitted more reliably even under high dynamic characteristics in the heterogeneous unmanned platform cluster, thereby increasing the data transmission success rate. In addition, this embodiment also proposes a load balancing method based on Lyapunov's DTN and uses the Nash equilibrium DQN learning algorithm for solution. By modeling the queue model of the unmanned node, the stability of the entire network is considered to select a suitable relay node for data packet transmission.

[0077] Embodiment 2

[0078] An embodiment of the present invention also provides a heterogeneous network dynamic load balancing device with interruption delay tolerance, which is mainly used to execute the heterogeneous network dynamic load balancing method with interruption delay tolerance provided in the above-mentioned embodiment 1. The following is a specific introduction to the heterogeneous network dynamic load balancing device with interruption delay tolerance provided in the embodiment of the present invention.

[0079] Figure 6 A functional module diagram of a heterogeneous network dynamic load balancing device with interruption delay tolerance provided by an embodiment of the present invention, such as Figure 6 As shown, the device mainly includes: an initialization module 10, a community division module 20, a repeated calling module ( Figure 6 ), an acquisition and determination module 30, a flooding and determination module 40, an optimization module 50, wherein:

[0080] The initialization module 10 is used to initialize the configuration parameters of each unmanned node in the heterogeneous unmanned platform cluster network; wherein the configuration parameters include: trajectory data, cached data packet type, service rate at the current moment, arrival rate, DTN routing index and data packet backlog queue length; the service rate represents the total number of data packets to be sent by the current unmanned node as a source node to other unmanned nodes; the arrival rate represents the total number of data packets to be sent by the current unmanned node as a relay node to other unmanned nodes.

[0081] The community division module 20 is used to divide the heterogeneous unmanned platform cluster network into communities based on a preset community division algorithm to obtain multiple unmanned communities, and to construct a social attribute table for each unmanned node based on the broadcast within the community; wherein the social attribute table is used to record the cached data packet types of the other unmanned nodes in the community where the unmanned node is located.

[0082] The repeated calling module is used to repeatedly call the following acquisition and determination module, flooding and determination module and optimization module in sequence, and after reaching the preset training step, return to call the initialization module and its subsequent modules until the preset training round is reached to obtain the target network parameters of the heterogeneous unmanned platform cluster network.

[0083] The acquisition and determination module 30 is used to acquire a data packet request of a specified type sent by a user, and determine an unmanned node in the heterogeneous unmanned platform cluster network to receive the data packet of the specified type.

[0084] The flooding and determining module 40 is used to flood the interest packets of the corresponding type in multiple unmanned communities based on the specified type of data packet request, so as to determine a number of unmanned nodes in the heterogeneous unmanned platform cluster network to which the specified type of data packet is to be sent based on the social attribute table.

[0085] The optimization module 50 is used to optimize the network parameters of the heterogeneous unmanned platform cluster network using a reinforcement learning algorithm; wherein the intelligent agents in the reinforcement learning algorithm correspond one-to-one to the unmanned nodes in the heterogeneous unmanned platform cluster network, and the states of the intelligent agents include: the service rate, arrival rate, DTN routing index and data packet backlog queue length of the unmanned node at the current moment, and the action of the intelligent agent is the next hop node of the data packet to be sent by the unmanned node; the rewards after all intelligent agents perform actions are negatively correlated with the difference in the backlog queue lengths of all unmanned nodes at adjacent moments, and the queuing delay of all unmanned nodes for successfully delivering data packets, and are positively correlated with the success rate of all unmanned nodes in delivering data packets at the current moment.

[0086] The embodiment of the present invention provides a heterogeneous network dynamic load balancing device with interruption delay tolerance. In the method operated by the device, the unmanned nodes of the heterogeneous unmanned platform cluster network can communicate indirectly through a store-carry-forward mechanism, and the unmanned nodes can cache data packets. Therefore, even if the TTL of the data packet expires, it is not necessary to retransmit it from the source node. At the same time, the characteristics of the store-carry-forward mechanism greatly improve the data transmission efficiency. Moreover, when the network parameters are optimized using a reinforcement learning algorithm, the difference in the backlog queue lengths of all unmanned nodes at adjacent moments, the queuing delay of all unmanned nodes for successfully delivering data packets, and the success rate of all unmanned nodes in delivering data packets at the current moment are linked to the reward of the intelligent body, so that the cluster network learns how to balance the entire network load under the premise of ensuring a high delivery rate and low latency, thereby improving the overall operation efficiency of the heterogeneous unmanned platform cluster network and ensuring the user service quality.

[0087] Optionally, the community division module 20 is specifically used for:

[0088] The social relationship strength between the target unmanned node and other unmanned nodes is calculated based on the trajectory data of each unmanned node in the heterogeneous unmanned platform cluster network; wherein the target unmanned node represents any unmanned node in the heterogeneous unmanned platform cluster network.

[0089] Based on the social relationship strength between the target unmanned node and other unmanned nodes, the average social relationship strength of the target unmanned node is calculated.

[0090] The target unmanned node and the associated nodes are divided into the same unmanned community; wherein the associated nodes represent unmanned nodes whose social relationship strength with the target unmanned node is greater than the average social relationship strength.

[0091] The steps of randomly selecting an unmanned node from the remaining unmanned nodes that have not been divided into communities and determining unmanned nodes that belong to the same unmanned community as the unmanned node are repeatedly performed until the number of remaining unmanned nodes is 0, thereby obtaining multiple unmanned communities.

[0092] Optionally, the device is also used for:

[0093] Get the user's location data.

[0094] Based on the location data and the trajectory data of each unmanned node in the heterogeneous unmanned platform cluster network, the distance between each unmanned node and the user at the current moment is calculated.

[0095] The unmanned node corresponding to the shortest distance is used as the unmanned node to receive the specified type of data packet.

[0096] Optionally, the loss function of the reinforcement learning algorithm is expressed as: ;in, Indicates the preset batch size, represents the set of states of all agents in the mth training of the batch, represents the set of actions selected by all agents in the mth training, Indicates the network parameters of the heterogeneous unmanned platform cluster network in the mth training The sum of the state-action value functions of all agents after they perform actions when the Nash equilibrium is reached. represents the sum of the rewards after all agents perform actions, represents the reward discount factor, represents the action space of the agent, Represents the state of all agents before the mth training Next action The state-action value function after .

[0097] Optionally, ;

[0098] in, Indicates status Following the Markov transition process , ; ; represents a collection of agents, represents the expected future reward value of agent i at all times when the heterogeneous unmanned platform cluster network reaches Nash equilibrium in the mth training, , represents the action space of agent i, represents the action selected by agent i in the mth training, represents the actions selected by the other agents in the mth training, represents the reward after agent i chooses an action only when agent i deviates from the Nash equilibrium, represents all discounted rewards of agent i in the past time.

[0099] Optionally, the difference in the backlog queue lengths of all unmanned nodes at adjacent times is expressed as: ;in, express A scalar of the instability of the heterogeneous unmanned platform cluster network at all times. , Represents the total number of unmanned nodes in the heterogeneous unmanned platform cluster network, express No nodes at all times To the destination unmanned node The backlog queue size, , express No nodes at all times As the source node, waiting to be sent to the destination unmanned node The number of newly added data packets, express No nodes at all times Acts as a relay node to be sent to unmanned nodes The total number of packets, express No nodes at all times As a source node to be sent to unmanned nodes The total number of packets.

[0100] Optionally, the formula for calculating the strength of social relations is: ;in, Indicates unmanned node With unmanned nodes The strength of social ties between Indicates unmanned node Located at unmanned node The total number of times within the communication range, Indicates that other unmanned nodes in the heterogeneous unmanned platform cluster network are located at the unmanned node The total number of times within the communication range.

[0101] Embodiment 3

[0102] See also Figure 7 An embodiment of the present invention provides an electronic device, which includes: a processor 60, a memory 61, a bus 62 and a communication interface 63, wherein the processor 60, the communication interface 63 and the memory 61 are connected via the bus 62; the processor 60 is used to execute an executable module stored in the memory 61, such as a computer program.

[0103] The memory 61 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 63 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.

[0104] The bus 62 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0105] Among them, the memory 61 is used to store programs, and the processor 60 executes the program after receiving the execution instruction. The method executed by the device defined by the process disclosed in any embodiment of the above-mentioned embodiment of the present invention can be applied to the processor 60 or implemented by the processor 60.

[0106] The processor 60 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 60. The above processor 60 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor. The steps of the method disclosed in the embodiments of the present invention can be directly embodied as a hardware decoding processor to be executed, or the hardware and software modules in the decoding processor can be combined and executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 61, and the processor 60 reads the information in the memory 61 and completes the steps of the above method in combination with its hardware.

[0107] A computer program product of an interrupt delay tolerant heterogeneous network dynamic load balancing method and apparatus provided in an embodiment of the present invention includes a computer-readable storage medium storing a non-volatile program code executable by a processor, wherein the instructions included in the program code can be used to execute the method described in the previous method embodiment. For specific implementation, please refer to the method embodiment, which will not be repeated here.

[0108] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0109] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that can be executed by a processor. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc., various media that can store program codes.

[0110] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0111] In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inside", "outside", etc. indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, or the positions or positional relationships in which the product of the invention is usually placed when in use. They are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific position, be constructed and operated in a specific position, and therefore cannot be understood as limiting the present invention. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description, and cannot be understood as indicating or implying relative importance.

[0112] In addition, the terms "horizontal", "vertical", "overhanging" and the like do not mean that the components are required to be absolutely horizontal or overhanging, but can be slightly tilted. For example, "horizontal" only means that its direction is more horizontal than "vertical", and does not mean that the structure must be completely horizontal, but can be slightly tilted.

[0113] In the description of the present invention, it is also necessary to explain that, unless otherwise clearly specified and limited, the terms "set", "install", "connect", and "connect" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0114] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for dynamic load balancing in heterogeneous networks with interruption delay tolerance, characterized in that: include: Step 1, initializing the configuration parameters of each unmanned node in the heterogeneous unmanned platform cluster network; wherein the configuration parameters include: trajectory data, cached data packet type, service rate at the current moment, arrival rate, DTN routing index and data packet backlog queue length; the service rate represents the total number of data packets to be sent by the current unmanned node as a source node to other unmanned nodes; the arrival rate represents the total number of data packets to be sent by the current unmanned node as a relay node to other unmanned nodes; Step 2: divide the heterogeneous unmanned platform cluster network into communities based on a preset community division algorithm to obtain multiple unmanned communities, and construct a social attribute table for each unmanned node based on the broadcast within the community; wherein the social attribute table is used to record the cached data packet types of the remaining unmanned nodes in the community where the unmanned node is located; Repeat the following steps 3 to 5, and after reaching a preset training step length, return to the above step 1 until a preset training round is reached to obtain the target network parameters of the heterogeneous unmanned platform cluster network; Step 3, obtaining a data packet request of a specified type sent by a user, and determining an unmanned node in the heterogeneous unmanned platform cluster network to receive the data packet of the specified type; Step 4, flooding interest packets of corresponding types in the multiple unmanned communities based on the designated type of data packet request, so as to determine a number of unmanned nodes in the heterogeneous unmanned platform cluster network to which the designated type of data packet is to be sent based on the social attribute table; Step 5, using a reinforcement learning algorithm to optimize the network parameters of the heterogeneous unmanned platform cluster network; wherein the intelligent agents in the reinforcement learning algorithm correspond one-to-one to the unmanned nodes in the heterogeneous unmanned platform cluster network, and the states of the intelligent agents include: the service rate, arrival rate, DTN routing index and data packet backlog queue length of the unmanned node at the current moment, and the action of the intelligent agent is the next hop node of the data packet to be sent by the unmanned node; the rewards of all intelligent agents after executing the action are negatively correlated with the difference in the backlog queue length of all unmanned nodes at adjacent moments, and the queuing delay of all unmanned nodes for successfully delivering data packets, and are positively correlated with the success rate of all unmanned nodes in delivering data packets at the current moment; Wherein, determining the unmanned node to receive the specified type of data packet in the heterogeneous unmanned platform cluster network includes: Get the user's location data; Based on the location data and the trajectory data of each unmanned node in the heterogeneous unmanned platform cluster network, calculate the distance between each unmanned node and the user at the current moment; The unmanned node corresponding to the shortest distance is used as the unmanned node to receive the data packet of the specified type; Among them, the difference in the backlog queue lengths of all unmanned nodes at adjacent times is expressed as: ; in, express The scalar of the instability of the heterogeneous unmanned platform cluster network at the moment, , represents the total number of unmanned nodes in the heterogeneous unmanned platform cluster network, express No nodes at all times To the destination unmanned node The backlog queue size, , express No nodes at all times As the source node, waiting to be sent to the destination unmanned node The number of newly added data packets, express No nodes at all times Acts as a relay node to be sent to unmanned nodes The total number of packets, express No nodes at all times As a source node to be sent to unmanned nodes The total number of packets.

2. The method for dynamic load balancing in heterogeneous networks with interruption delay tolerance according to claim 1, characterized in that: The heterogeneous unmanned platform cluster network is divided into communities based on a preset community division algorithm to obtain multiple unmanned communities, including: Calculating the social relationship strength between the target unmanned node and other unmanned nodes based on the trajectory data of each unmanned node in the heterogeneous unmanned platform cluster network; wherein the target unmanned node represents any unmanned node in the heterogeneous unmanned platform cluster network; Based on the social relationship strength between the target unmanned node and other unmanned nodes, calculating the average social relationship strength of the target unmanned node; The target unmanned node and the associated nodes are divided into the same unmanned community; wherein the associated nodes represent unmanned nodes whose social relationship strength with the target unmanned node is greater than the average social relationship strength; The steps of randomly selecting an unmanned node from the remaining unmanned nodes that have not been divided into communities and determining unmanned nodes for the node that belong to the same unmanned community as the node are repeatedly performed until the number of remaining unmanned nodes is 0, thereby obtaining the multiple unmanned communities.

3. The method for dynamic load balancing in heterogeneous networks with interruption delay tolerance according to claim 1, characterized in that: The loss function of the reinforcement learning algorithm is expressed as: ; in, Indicates the preset batch size, represents the set of states of all agents in the mth training of the batch, represents the set of actions selected by all agents in the mth training, Indicates the network parameters of the heterogeneous unmanned platform cluster network in the mth training The sum of the state-action value functions of all agents after they perform actions when the Nash equilibrium is reached. represents the sum of the rewards after all agents perform actions, represents the reward discount factor, represents the action space of the agent, Represents the state of all agents before the mth training Next action The state-action value function after .

4. The method for dynamic load balancing in heterogeneous networks with interruption delay tolerance according to claim 3, characterized in that: ; in, Indicates status Following the Markov transition process , ; ; represents a collection of agents, represents the expected future reward value of agent i at all times when the heterogeneous unmanned platform cluster network reaches Nash equilibrium in the mth training, , represents the action space of agent i, represents the action selected by agent i in the mth training, represents the actions selected by the other agents in the mth training, represents the reward after agent i chooses an action only when agent i deviates from the Nash equilibrium, represents all discounted rewards of agent i in the past time.

5. The method for dynamic load balancing in heterogeneous networks with interruption delay tolerance according to claim 2, characterized in that: The formula for the strength of social relations is: ; in, Indicates unmanned node With unmanned nodes The strength of social ties between Indicates unmanned node Located at unmanned node The total number of times within the communication range, Indicates that other unmanned nodes in the heterogeneous unmanned platform cluster network are located at the unmanned node The total number of times within the communication range.

6. A heterogeneous network dynamic load balancing device with interruption delay tolerance, characterized in that: include: An initialization module is used to initialize the configuration parameters of each unmanned node in the heterogeneous unmanned platform cluster network; wherein the configuration parameters include: trajectory data, cached data packet type, service rate at the current moment, arrival rate, DTN routing index and data packet backlog queue length; the service rate represents the total number of data packets to be sent by the current unmanned node as a source node to other unmanned nodes; the arrival rate represents the total number of data packets to be sent by the current unmanned node as a relay node to other unmanned nodes; A community division module is used to divide the heterogeneous unmanned platform cluster network into communities based on a preset community division algorithm to obtain multiple unmanned communities, and to construct a social attribute table for each unmanned node based on the broadcast within the community; wherein the social attribute table is used to record the cached data packet types of the remaining unmanned nodes in the community where the unmanned node is located; A repeated calling module, used to repeatedly call the following acquisition and determination module, flooding and determination module and optimization module in sequence, and after reaching a preset training step length, return to call the initialization module and its subsequent modules until a preset training round is reached to obtain the target network parameters of the heterogeneous unmanned platform cluster network; An acquisition and determination module, used to acquire a data packet request of a specified type sent by a user, and determine an unmanned node in the heterogeneous unmanned platform cluster network to receive a data packet of the specified type; A flooding and determining module, configured to flood interest packets of corresponding types in the plurality of unmanned communities based on the request for the designated type of data packet, so as to determine a number of unmanned nodes in the heterogeneous unmanned platform cluster network to which the designated type of data packet is to be sent based on the social attribute table; An optimization module is used to optimize the network parameters of the heterogeneous unmanned platform cluster network using a reinforcement learning algorithm; wherein the intelligent agents in the reinforcement learning algorithm correspond one-to-one to the unmanned nodes in the heterogeneous unmanned platform cluster network, and the states of the intelligent agents include: the service rate, arrival rate, DTN routing index and data packet backlog queue length of the unmanned node at the current moment, and the action of the intelligent agent is the next hop node of the data packet to be sent by the unmanned node; the rewards after all intelligent agents perform actions are negatively correlated with the difference in the backlog queue length of all unmanned nodes at adjacent moments, and the queuing delay of all unmanned nodes for successfully delivering data packets, and are positively correlated with the success rate of all unmanned nodes in delivering data packets at the current moment; The device is also used for: Get the user's location data; Based on the location data and the trajectory data of each unmanned node in the heterogeneous unmanned platform cluster network, calculate the distance between each unmanned node and the user at the current moment; The unmanned node corresponding to the shortest distance is used as the unmanned node to receive the data packet of the specified type; Among them, the difference in the backlog queue lengths of all unmanned nodes at adjacent times is expressed as: ; in, express The scalar of the instability of the heterogeneous unmanned platform cluster network at the moment, , represents the total number of unmanned nodes in the heterogeneous unmanned platform cluster network, express No nodes at all times To the destination unmanned node The backlog queue size, , express No nodes at all times As the source node, waiting to be sent to the destination unmanned node The number of newly added data packets, express No nodes at all times Acts as a relay node to be sent to unmanned nodes The total number of packets, express No nodes at all times As a source node to be sent to unmanned nodes The total number of packets.

7. An electronic device comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, wherein: When the processor executes the computer program, the steps of the interruption delay tolerant heterogeneous network dynamic load balancing method described in any one of claims 1 to 5 are implemented.

8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and when the computer instructions are executed by a processor, the interruption delay tolerant heterogeneous network dynamic load balancing method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Delay tolerant network routing algorithm based on multi-agent reinforcement learning

    CN112867083A

  • Unmanned cluster networking method and device and electronic equipment

    CN114727356A

  • Latency in edge computing

    US11695646B1