Time slot allocation method and device for search and rescue of unmanned aerial vehicle, electronic equipment and storage medium

By introducing the allocation priority of node identity and time slot demand level in the UAV cluster, the problem of low UAV cluster throughput rate is solved, and the throughput rate is significantly improved and the delay is reduced.

CN118870533APending Publication Date: 2024-10-29BEIJING SENTRY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410839789.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-10-29

AI Technical Summary

Technical Problem

The overall throughput rate of UAV clusters in emergency rescue scenarios is not high, and existing time slot allocation algorithms are complex to manage in highly dynamic networks and the throughput rate decreases.

Method used

Introduce the allocation priority of node identity and time slot demand level, determine the node allocation priority by obtaining the initial time slot allocation result and fitness value, and finally allocate time slots reasonably to improve the throughput rate of the UAV cluster.

Benefits of technology

By optimizing the time slot allocation, the throughput rate of the UAV cluster is significantly improved, the delay is reduced, and the throughput rate is increased by 230% under saturated conditions, and the system delay is reduced to 0.05s.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118870533A_ABST
    Figure CN118870533A_ABST
Patent Text Reader

Abstract

The invention provides a time slot allocation method and device for search and rescue of an unmanned aerial vehicle, electronic equipment and a storage medium. The method comprises the following steps: acquiring an initial time slot allocation result and a fitness value corresponding to each node in a plurality of nodes; determining an allocation priority corresponding to each node according to the initial time slot allocation result corresponding to each node, the fitness value and the identity information corresponding to each node; and determining a final time slot allocation result according to the allocation priority corresponding to each node. According to the method, the allocation priority is introduced based on the identity of the node in the hierarchical clustering network and the demand degree of the node for the time slot, and the final time slot allocation result is obtained according to the allocation priority, so that the time slot can be allocated more reasonably, and the throughput rate of the unmanned aerial vehicle cluster is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of unmanned aerial vehicle control technology, and in particular to a time slot allocation method, device, electronic equipment and storage medium for unmanned aerial vehicle search and rescue. Background Art

[0002] The time division multiple access (TDMA) protocol divides time resources into time periods of equal length, called time frames. Each time frame is then divided into several time periods of equal length, called time slots. The time slot allocation algorithm allocates time slots to each node, allowing each node to send data in its own time slot. In the hierarchical clustered UAV flying ad hoc network FANET, the cluster head node of each cluster will uniformly manage the time slots within the cluster.

[0003] In an emergency rescue scenario, the cluster head of a drone cluster can allocate the occupancy of the service channel time slots within the cluster according to the cluster topology, so that each node in the cluster can reuse as many time slots as possible without conflict. However, the overall throughput of the drone cluster is not high. Summary of the invention

[0004] The present invention provides a time slot allocation method, device, electronic device and storage medium for unmanned aerial vehicle search and rescue, which are used to solve the defect of low overall throughput of unmanned aerial vehicle clusters in the prior art. Allocation priorities are introduced based on the identities of nodes in a hierarchical clustering network and the degree of demand for time slots. The final time slot allocation result is obtained according to the allocation priorities, which can allocate time slots more reasonably and improve the throughput of the unmanned aerial vehicle cluster.

[0005] The present invention provides a time slot allocation method for unmanned aerial vehicle search and rescue, which is applied to an unmanned aerial vehicle cluster, wherein the unmanned aerial vehicle cluster includes multiple nodes, and the multiple nodes correspond to multiple unmanned aerial vehicles, and includes the following steps.

[0006] Obtaining an initial time slot allocation result and a fitness value corresponding to each of the multiple nodes, wherein the initial time slot allocation result is used to characterize the time slot occupancy of the node in a time frame, and the fitness value is used to characterize the throughput of the node in a time frame; Determine the allocation priority corresponding to each node according to the initial time slot allocation result corresponding to each node, the fitness value and the identity information corresponding to each node, wherein, under the same other conditions, the allocation priority corresponding to the node whose identity information is the cluster head is higher than the allocation priority corresponding to the node whose identity information is the cluster member; The final time slot allocation result is determined according to the allocation priority corresponding to each node.

[0007] According to a time slot allocation method provided by the present invention, the multiple nodes include a cluster head node and a cluster member node, the allocation priorities corresponding to the respective nodes include the sixth level, the fifth level, the fourth level, the third level, the second level and the first level from high to low, the multiple nodes include a target node, and the target node is any one of the multiple nodes, and the allocation priorities corresponding to the respective nodes are determined according to the initial time slot allocation results corresponding to the respective nodes, the fitness values ​​and the identity information corresponding to the respective nodes, including: If the initial time slot allocation result corresponding to each node indicates that the target node has no available time slot, and the identity information corresponding to the target node is a cluster head, determining that the allocation priority of the target node is the sixth level; If the initial time slot allocation result corresponding to each node indicates that the target node has no available time slot, and the identity information corresponding to the target node is a cluster member, determining that the allocation priority of the target node is the fifth level; If the initial time slot allocation results corresponding to the nodes indicate that the target node has an available time slot, the fitness value corresponding to the target node is lower than the fitness average, and the identity information corresponding to the target node is a cluster head, determining that the allocation priority of the target node is the fourth level; If the initial time slot allocation results corresponding to the nodes indicate that the target node has an available time slot, the fitness value corresponding to the target node is lower than the fitness average, and the identity information corresponding to the target node is a cluster member, determining that the allocation priority of the target node is the third level; If the fitness value corresponding to the target node is higher than the fitness average value, and the identity information corresponding to the target node is the cluster head, determining that the allocation priority of the target node is the second level; If the fitness value corresponding to the target node is higher than the fitness average value, and the identity information corresponding to the target node is a cluster member, it is determined that the allocation priority of the target node is the first level.

[0008] According to a time slot allocation method provided by the present invention, determining a final time slot allocation result according to the allocation priority corresponding to each node includes: According to the allocation priority and role information corresponding to each node, an updated time slot allocation result of each node is obtained, and when the allocation priority corresponding to the node is lower than the average allocation priority of all nodes corresponding to the same role information, the time slot allocation result corresponding to the node is adjusted; The final time slot allocation result is determined according to the updated time slot allocation result of each node.

[0009] According to a time slot allocation method provided by the present invention, each node includes a discoverer node, a joiner node and a vigilant node, the discoverer node is a node among the multiple nodes whose fitness value is higher than or equal to a preset fitness threshold, the joiner node is a node among the multiple nodes whose fitness value is lower than a preset threshold, and the vigilant node is a randomly selected node among the multiple nodes, and the updated time slot allocation result of each node is obtained according to the allocation priority and role information corresponding to each node, including: For the discoverer node, if the allocation priority of the discoverer node is lower than the average allocation priority corresponding to all discoverer nodes, the current time slot allocation result of the discoverer node is retained, and the time slot of the discoverer node is released when the preset release condition is met; if the allocation priority of the discoverer node is higher than or equal to the average allocation priority corresponding to all discoverer nodes, the current time slot allocation result of the discoverer node is retained; For the joiner node, if the allocation priority of the joiner node is lower than the average allocation priority corresponding to all joiner nodes, the current time slot allocation result is maintained; if the allocation priority of the joiner node is higher than the average allocation priority corresponding to all joiner nodes, the time slot of the node with a higher fitness value in the drone cluster will be allocated to the joiner node; for the vigilant node, if the allocation priority of the vigilant node is higher than or equal to the average allocation priority corresponding to all vigilant nodes and the fitness value of the vigilant node is lower than the optimal fitness value corresponding to all nodes in the drone cluster, the vigilant node will move closer to the optimal time slot after this round of adjustment; if the allocation priority of the vigilant node is less than the average allocation priority corresponding to all vigilant nodes and the fitness value of the vigilant node is equal to the optimal fitness value corresponding to all nodes in the drone cluster, the vigilant node will give up the current time slot according to the preset probability.

[0010] According to a time slot allocation method provided by the present invention, the multiple nodes include a target node, and the target is any one of the multiple nodes. Before determining the final time slot allocation result according to the updated time slot allocation results of each node, the method further includes: If the target time slot allocated to the target node is also allocated to other nodes within two hops corresponding to the target node, then according to the allocation priority, the position of the th target time slot dimension of all other nodes except the highest allocation priority is reversed, so that the target time slot corresponding to the target node is given to the node with the highest allocation priority, and other nodes with low allocation priority give up the target time slot; if the target time slot is neither allocated to the target node nor to other nodes within two hops, then according to the allocation priority, the node with the highest allocation priority is allowed to reverse the position of the th target time slot dimension and occupy the target time slot; If the target time slot is allocated to the target node and other nodes within two hops of the target node do not obtain the target time slot, the time slot position of the target node remains unchanged.

[0011] According to a time slot allocation method provided by the present invention, determining the final time slot allocation result according to the updated time slot allocation result of each node includes: According to the updated time slot allocation results of each node, the throughput rates corresponding to all current nodes are obtained; In a case where the throughput of all the current nodes is better than the optimal value of the throughput of all the nodes obtained previously, determining the updated time slot allocation result of each node as the final time slot allocation result; When the throughput of all the current nodes is worse than the optimal value of the throughput of all the nodes obtained previously, the time slot allocation result of each node corresponding to the optimal value of the throughput of all the nodes obtained previously is determined as the final time slot allocation result.

[0012] The present invention also provides a time slot allocation device for drone search and rescue, which is applied to a drone cluster, wherein the drone cluster includes a plurality of nodes, and the plurality of nodes correspond to a plurality of drones, including the following modules: An initial time slot acquisition module, used to obtain an initial time slot allocation result and a fitness value corresponding to each of the multiple nodes, wherein the initial time slot allocation result is used to characterize the time slot occupancy of the node in a time frame, and the fitness value is used to characterize the throughput of the node in a time frame; A priority determination module is used to determine the allocation priority corresponding to each node according to the initial time slot allocation result corresponding to each node, the fitness value and the identity information corresponding to each node, wherein, under the same other conditions, the node whose identity information is the cluster head has a higher allocation priority than the node whose identity information is a cluster member; and a final time slot acquisition module is used to determine the final time slot allocation result according to the allocation priority corresponding to each node.

[0013] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, a time slot allocation method for drone search and rescue as described above is implemented.

[0014] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the time slot allocation method for drone search and rescue as described in any of the above-mentioned methods.

[0015] The present invention also provides a computer program product, comprising a computer program, which, when executed by a processor, implements any of the above-mentioned methods for allocating time slots for unmanned aerial vehicle search and rescue.

[0016] The time slot allocation method, device, electronic device and storage medium for human-machine search and rescue provided by the present invention introduce allocation priorities based on the identity of nodes in a hierarchical clustered network and the degree of demand for time slots. The final time slot allocation result is obtained according to the allocation priorities, which can allocate time slots more reasonably and improve the throughput rate of the drone cluster. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0018] Figure 1 This is one of the flow charts of the time slot allocation method for unmanned aerial vehicle search and rescue provided by the present invention.

[0019] Figure 2 It is a flow chart of the method for determining the final time slot allocation result provided by the present invention.

[0020] Figure 3 This is the second flow chart of the method for determining the final time slot allocation result provided by the present invention.

[0021] Figure 4 It is a schematic diagram of the overall flow of the time slot allocation method for unmanned aerial vehicle search and rescue provided by the present invention.

[0022] Figure 5 A comparison chart of the throughput rates of BSSA-TDMA, BPSO-TDMA and TDMA provided by the present invention.

[0023] Figure 6 This is a throughput comparison chart of the BSSA-TDMA provided by the present invention under different numbers of nodes.

[0024] Figure 7 This is a time delay comparison diagram of BSSA-TDMA, BPSO-TDMA and TDMA adopted by the present invention.

[0025] Figure 8 This is a delay comparison diagram of BSSA-TDMA provided by the present invention under different numbers of nodes.

[0026] Fig. 9 It is a structural schematic diagram of a time slot allocation device for unmanned aerial vehicle search and rescue provided by the present invention.

[0027] Fig.10 It is a schematic diagram of the physical structure of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0028] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. 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.

[0029] The time division multiple access (TDMA) protocol divides time resources into time periods of equal length, called time frames. Each time frame is then divided into several time periods of equal length, called time slots. The time slot allocation algorithm allocates time slots to each node, allowing each node to send data in its own time slot. The time slot allocation algorithm can be roughly divided into three categories: fixed time slot allocation algorithm, dynamic time slot allocation algorithm, and competitive time slot allocation algorithm. In the drone disaster relief scenario, because the topology of the drone swarm network is dynamically changing, the fixed time slot allocation method cannot be used. The competitive time slot allocation algorithm will make the network management more complicated in highly dynamic scenarios and reduce the throughput due to time slot conflicts. It is also not suitable for drone swarm disaster relief scenarios. In the hierarchical clustered drone flying ad hoc network FANET, the cluster head node of each cluster will uniformly manage the time slots within the cluster.

[0030] In the emergency rescue scenario of drone swarm, the cluster head of the drone cluster can allocate the occupancy of the service channel time slots in the cluster according to the cluster topology, so that each node in the cluster can reuse as many time slots as possible without conflict, but the overall throughput of the drone cluster is not high. Therefore, in order to enable the drone swarm to obtain a larger throughput and lower latency in the emergency rescue scenario, the present invention will study the time slot allocation algorithm for the drone disaster area emergency rescue scenario based on distributed dynamic time slot allocation.

[0031] In view of this, the present invention provides a time slot allocation method for drone search and rescue, which is applied to a drone cluster, wherein the drone cluster includes multiple nodes, and the multiple nodes correspond to multiple drones. The method includes: obtaining the initial time slot allocation result and fitness value corresponding to each of the multiple nodes; determining the allocation priority corresponding to each node according to the initial time slot allocation result, fitness value and identity information corresponding to each node; and determining the final time slot allocation result according to the allocation priority corresponding to each node. The method introduces allocation priority based on the identity of the node in the hierarchical clustering network and the degree of demand for time slots, and obtains the final time slot allocation result according to the allocation priority, which can allocate time slots more reasonably and improve the throughput of the drone cluster.

[0032] The technical solutions in the embodiments of the present invention will be described below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0033] Figure 1 FIG. 1 is one of the flow charts of the time slot allocation method for drone search and rescue provided by the present invention. The method can be applied to drone clusters, such as Figure 1 As shown, the method includes the following: Step 101: Obtain an initial time slot allocation result and a fitness value corresponding to each of the multiple nodes, wherein the initial time slot allocation result is used to characterize the time slot occupancy of the node in a time frame, and the fitness value is used to characterize the throughput of the node in a time frame.

[0034] It should be noted that the initial time slot allocation results and fitness values ​​corresponding to each of the multiple nodes can be obtained using existing algorithms, such as the sparrow search algorithm, etc. The present invention does not limit the method for obtaining the initial time slot allocation results and fitness values ​​corresponding to each of the multiple nodes.

[0035] For example, assume that there are N nodes in the drone cluster network, and there are D time slots in each time frame. Each node is represented by a "sparrow", and the matrix It can represent the probability of node occupying time slot, where x i,j ∈[0, 1] represents the occupancy probability of the i-th node in the j-th time slot. The time slot occupancy result of the node is expressed in the matrix To represent, where z i,j =(x i,j ) bin , using the conversion function to convert the time slot occupancy probability x i,j Converted into time slot occupancy result z i,j , x i,j =0 means that the i-th node does not occupy the j-th time slot, z i,j=1 means that the i-th node occupies the j-th time slot. Because a sparrow represents a node, and the position of each sparrow represents the time slot allocation result of a node, there is no optimal position for the group in this problem. The final position of all sparrows is also the final result of the time slot allocation of all nodes. For a wireless self-organizing network with N nodes and D time slots, the time slot allocation problem can be transformed into the following optimization problem:

[0036] Objective function, Is to maximize the network throughput. Among them, Indicates how many non-conflicting time slots the kth node occupies, [] + Indicates binary conversion. If the actual value is greater than or equal to 1, it is 1; if the actual value is less than 1, it is 0. k,j =1 means that node k does not conflict with other nodes within two hops in the time slot, a k,j = 0 means that node k has a time slot conflict with other nodes within two hops. "Within two hops" means that the data packet only needs to pass through at most one intermediate node to reach the target node during the transmission process. This is an important performance indicator in drone self-organizing networks and other mobile networks because it directly affects the efficiency, delay and energy consumption of data transmission. Among them, By limiting the number of time slots allocated to each node, each node can be allocated a time slot without occupying too many time slots, thereby improving the throughput of the entire network.

[0037] In addition, the one-hop neighbor matrix is Among them, m i,j Indicates whether nodes i and j are neighbor nodes. i,j =1, it means that nodes i and j are neighbors; when m i,j = 0, it means that node i and node j are not neighbor nodes. In addition, in the neighbor matrix, when i = j, m i,j = 0. Then the two-hop neighbor matrix can be obtained based on the one-hop neighbor matrix.

[0038] The two-hop neighbor matrix is in Indicates whether node i and node j are two-hop neighbor nodes. i,j = 0, it means that nodes i and j are two hops away from each other; when h i,j When =0, it means that node i and node j are not two-hop nodes.

[0039] In summary, we can find the neighbor matrix within two hops, which is the sum of the one-hop matrix and the two-hop matrix. in, is the binarization result of the sum of the corresponding elements of the one-hop matrix and the two-hop matrix. i,j = 0, it means that nodes i and j are one-hop or two-hop nodes to each other; when b i,j When =0, it means that node i and node j are two hops away from each other.

[0040] In the process of realizing the objective function, the following constraints also need to be met: Indicates that each node must have at least one time slot in a time frame. Indicates that each time slot is occupied by at least one node, Indicates that the time slots allocated to the node do not conflict with other nodes within two hops. The time slot allocation completion criterion is that all nodes are allocated time slots and the allocated time slots do not conflict with each other.

[0041] Fitness function The fitness function of each node is: Indicates the throughput of the node corresponding to each node.

[0042] Step 102: Determine the allocation priority of each node according to the initial time slot allocation result, fitness value and identity information of each node. The allocation priority of the node whose identity information is the cluster head is higher than the allocation priority of the node whose identity information is the cluster member.

[0043] It should be noted that there are many ways to determine the allocation priority corresponding to each node based on the initial time slot allocation results corresponding to each node, the fitness value and the identity information corresponding to each node. For example, it can be determined by a preset rule, or it can be determined by a value calculated by a preset calculation method, etc. The present invention does not limit the method for determining the allocation priority corresponding to each node based on the initial time slot allocation results corresponding to each node, the fitness value and the identity information corresponding to each node.

[0044] Among them, the initial time slot allocation result and fitness value can reflect the node's demand for time slots, and different identity information represents the amount of data communication. Therefore, the allocation priority corresponding to each node can be determined based on the initial time slot allocation result, fitness value and identity information corresponding to each node.

[0045] Exemplarily, because the cluster head has more data communications, the algorithm may allow the cluster head node to occupy more time slots according to the node identity.

[0046] Step 103: Determine the final time slot allocation result according to the allocation priority corresponding to each node.

[0047] It should be noted that there are many ways to determine the final time slot allocation result based on the allocation priority corresponding to each node. For example, the time slot allocation result corresponding to each node can be adjusted according to the allocation priority corresponding to each node to determine the final time slot allocation result, or the final time slot allocation result can be determined by calculation, etc. The present invention does not limit the method for determining the final time slot allocation result based on the allocation priority corresponding to each node.

[0048] The time slot allocation method for drone search and rescue provided by the present invention introduces allocation priorities based on the identities of nodes in the hierarchical clustering network and the degree of time slot demand. The method for determining the final time slot allocation result according to the allocation priorities can allocate time slots more reasonably and improve the throughput rate of the drone cluster. Because the cluster head has more data, the cluster head node can also occupy more time slots according to the node identity.

[0049] In some embodiments, the initial time slot allocation result, fitness value and identity information reflect the urgency of the node's need for time slots to varying degrees, so the allocation priority corresponding to each node can be determined based on the initial time slot allocation result, fitness value and identity information.

[0050] In an embodiment of the present invention, the multiple nodes include a cluster head node and a cluster member node, and the allocation priorities corresponding to the respective nodes include the sixth level, the fifth level, the fourth level, the third level, the second level and the first level from high to low. The multiple nodes include a target node, and the target node is any one of the multiple nodes. In step 102, the allocation priorities corresponding to the respective nodes are determined according to the initial time slot allocation results corresponding to the respective nodes, the fitness values ​​and the identity information corresponding to the respective nodes, which may include the following.

[0051] If the initial time slot allocation results corresponding to the nodes indicate that the target node has no available time slots, and the identity information corresponding to the target node is a cluster head, the allocation priority of the target node is determined to be the sixth level; if the initial time slot allocation results corresponding to the nodes indicate that the target node has no available time slots, and the identity information corresponding to the target node is a cluster member, the allocation priority of the target node is determined to be the fifth level.

[0052] It should be noted that no available time slot is the most urgent situation, so the highest priority, ie, the sixth and fifth levels, can be determined based on no available time slot and node identity.

[0053] If the initial time slot allocation results corresponding to the nodes indicate that the target node has an available time slot, the fitness value corresponding to the target node is lower than the fitness average, and the identity information corresponding to the target node is a cluster head, the allocation priority of the target node is determined to be the fourth level; if the initial time slot allocation results corresponding to the nodes indicate that the target node has an available time slot, the fitness value corresponding to the target node is lower than the fitness average, and the identity information corresponding to the target node is a cluster member, the allocation priority of the target node is determined to be the third level.

[0054] It should be noted that there are available time slots, but the fitness value corresponding to the node, i.e., the throughput rate, is lower than the average, which is a medium-urgent situation. Therefore, the fourth and third priority levels can be determined based on the available time slots, low fitness value, and identity information.

[0055] If the fitness value corresponding to the target node is higher than the fitness average value, and the identity information corresponding to the target node is the cluster head, the allocation priority of the target node is determined to be the second level; if the fitness value corresponding to the target node is higher than the fitness average value, and the identity information corresponding to the target node is a cluster member, the allocation priority of the target node is determined to be the first level.

[0056] It should be noted that the node's fitness value, i.e., throughput rate, is already higher than the average value, which is not an urgent situation. Therefore, the second and first levels of priority can be determined based on the fitness value being higher than the fitness average value and the identity information corresponding to the target node.

[0057] Exemplarily, the allocation priority P can be set according to the identity of the node and the occupancy of the node time slot. The priority is divided into six levels, from high to low: 1. Cluster head node with no available time slot, P=6; 2. Member node with no available time slot, P=5; 3. Cluster head node with available time slot but fitness lower than the average, P=4; 4. Member node with available time slot but fitness lower than the average, P=3; 5. Cluster head node with fitness higher than the average, P=2; 6. Member node with fitness higher than the average, P=1.

[0058] The higher the priority of a node, the more it needs to allocate available time slots. Therefore, the algorithm should prioritize the allocation of time slots to nodes with high priority during the search process. Nodes with low priority indicate that the node already has available time slots. The lower the priority, the less time slots a node lacks. In addition, in the case of time slot conflicts, nodes with low priority will give up time slots to nodes with high priority. By setting the priority, the algorithm can know the urgency of the current node's need for time slots, and then determine what changes to make to the current node position during iteration.

[0059] In addition to the priority, the algorithm uses the fitness value of each node to evaluate the quality of the current time slot. A node with a high fitness value reflects that the time slot it currently occupies has few conflicts, while a low fitness value means that the time slot occupied by the current node has more conflicts, resulting in a lower throughput.

[0060] It can be understood that using the above method to determine the priority corresponding to the node can accurately reflect the urgency of the current node's need for time slots, and then determine what changes to make to the current node position during iteration, which can improve the accuracy and rationality of determining the final time slot allocation result and improve the overall throughput.

[0061] In some embodiments, after determining the allocation priority corresponding to each node, the time slot allocation result corresponding to each node can be updated respectively to obtain the group optimal result.

[0062] Figure 2 The method for determining the final time slot allocation result provided by the present invention is a flow chart. The step 103 determines the final time slot allocation result according to the allocation priority corresponding to each node, which may include: Step 201: obtaining updated time slot allocation results for each node according to the allocation priority and role information corresponding to each node, and adjusting the time slot allocation result corresponding to the node when the allocation priority corresponding to the node is lower than the average allocation priority of all nodes corresponding to the same role information; It should be noted that each of the multiple nodes corresponds to a different role, such as a discoverer, a joiner, and a sentinel. The present invention does not limit the role information of each node. There are many ways to obtain updated time slot allocation results for each node based on the allocation priority and role information corresponding to each node. For example, the time slot allocation position can be increased according to the role information, or the time slot allocation position can be reduced according to the role information. The present invention does not limit the way to obtain updated time slot allocation results for each node based on the allocation priority and role information corresponding to each node.

[0063] Step 202: Determine the final time slot allocation result according to the updated time slot allocation result of each node.

[0064] It should be noted that there are many ways to determine the final time slot allocation result according to the updated time slot allocation results of each node, for example, the final time slot allocation result can be calculated based on the updated time slot allocation results of each node, or the final time slot allocation result can be obtained by inputting the updated time slot allocation results of each node into a model. The present invention does not limit the way to determine the final time slot allocation result according to the updated time slot allocation results of each node.

[0065] It can be understood that the method of obtaining the updated time slot allocation results of each node based on the allocation priority and role information corresponding to each node, thereby obtaining the final time slot allocation result, can further improve the accuracy and rationality of determining the final time slot allocation result and improve the overall throughput.

[0066] In some embodiments, the time slot allocation results of the discoverer node, the joiner node, and the vigilant node can be adjusted according to the allocation priority and the role information.

[0067] In an embodiment of the present invention, each node includes a discoverer node, a joiner node and a vigilant node, the discoverer node is a node among the multiple nodes whose fitness value is higher than or equal to a preset fitness threshold, the joiner node is a node among the multiple nodes whose fitness value is lower than a preset threshold, and the vigilant node is a randomly selected node among the multiple nodes, and the step 201 obtains the updated time slot allocation result of each node according to the allocation priority and role information corresponding to each node, which may include: For the discoverer node, if the allocation priority of the discoverer node is lower than the average allocation priority corresponding to all discoverer nodes, the current time slot allocation result of the discoverer node is retained, and the time slot of the discoverer node is released when the preset transfer condition is met; if the allocation priority of the discoverer node is higher than or equal to the average allocation priority corresponding to all discoverer nodes, the current time slot allocation result of the discoverer node is retained; For the joiner node, if the allocation priority of the joiner node is lower than the average allocation priority corresponding to all joiner nodes, the current time slot allocation result is maintained; if the allocation priority of the joiner node is higher than the average allocation priority corresponding to all joiner nodes, the time slot of the node with a higher fitness value in the drone cluster will be allocated to the joiner node; for the vigilant node, if the allocation priority of the vigilant node is higher than or equal to the average allocation priority corresponding to all vigilant nodes and the fitness value of the vigilant node is lower than the optimal fitness value corresponding to all nodes in the drone cluster, the vigilant node will move closer to the optimal time slot after this round of adjustment; if the allocation priority of the vigilant node is less than the average allocation priority corresponding to all vigilant nodes and the fitness value of the vigilant node is equal to the optimal fitness value corresponding to all nodes in the drone cluster, the vigilant node will give up the current time slot according to the preset probability.

[0068] Exemplarily, the BSSA-TDMA search algorithm improved according to the allocation priority is as follows.

[0069] Finder's formula:

[0070] The discoverer represents a group of nodes with the highest fitness values ​​in the network. In the time slot allocation algorithm, the discoverer position update formula is shown in the above formula. represents the current position information of the i-th discoverer in the j-th dimension, It represents the position of the finder after iteration. α∈[0,1] is a random number. max Is a constant, indicating the maximum number of iterations. is the average priority of all discoverers in this iteration, and P is the priority of the current discoverer node. The function exp(x) represents the natural exponential function. Indicates that the node has a lower priority at this time, and can keep the current time slot occupancy and give up its own time slot when necessary. When P ≥ P, it means that the current node has a higher priority in the network and needs to keep the current time slot. In addition, L is randomly -0.5 or 0.5, and is no longer an all-1 matrix. Q represents a random number that follows a normal distribution.

[0071] Joiner formula:

[0072] Joiners are nodes with low fitness in the network. The position update formula of joiners is shown above. When , it means that nodes with low priority and low fitness will go to other places to find time slots and will not seize the time slots of other nodes. When x is , it means that the node with high priority but low fitness will seize the time slot of the node with higher fitness value in the drone cluster to give it to the joining node. P is the optimal time slot allocation result obtained by ordinary nodes in the current access network, A + =A T (AA T ) -1 , represents a 1×D matrix, A + Each element is randomly assigned a value of 1 or -1.

[0073] Vigilant Formula:

[0074] The sentinel is a randomly selected node in the drone cluster. The sentinel position update formula is as above. β represents the direction of node movement and is also the step length control parameter. K∈[-1, 1] is a random number, which represents the direction of node movement and is also the step length control parameter. Represents the position of the node with the worst fitness value among all node positions in the tth generation, It refers to the position of the node with the best fitness value among all the node positions in the tth generation, f i is the fitness value of the current node individual. g and fw are the best and worst fitness values ​​of the current global node individuals. ε is the smallest constant to avoid zero in the denominator. When , it means that the randomly selected nodes with high priority and low fitness will move closer to the optimal time slot after this round of adjustment; when When , it means that the node with low priority and high fitness will give up the current time slot according to probability.

[0075] It is understandable that by adjusting the search strategy, nodes of various roles can search separately to find the optimal group, which can further improve the accuracy and rationality of determining the final time slot allocation results and improve the overall throughput.

[0076] In some embodiments, considering that in the wireless ad hoc network time slot allocation, nodes beyond two hops can share the same time slot, therefore, in this algorithm, in addition to the node's self-search, the node's position is additionally updated according to the time slot occupancy to speed up the iteration speed.

[0077] In the embodiment of the present invention, the multiple nodes include a target node, the target is any one of the multiple nodes, and before determining the final time slot allocation result according to the updated time slot allocation results of each node, the method may further include: In an embodiment of the present invention, if the target time slot allocated to the target node is also allocated to other nodes within two hops corresponding to the target node, then according to the allocation priority, the position of the target time slot dimension of all nodes except the one with the highest allocation priority is reversed, so that the target time slot corresponding to the target node is given to the node with the highest allocation priority, and other nodes with low allocation priority abandon the target time slot.

[0078] For example, the time slot j allocated to node i is also allocated to other nodes within two hops of node i, that is, the time slot j allocated to node i conflicts with the time slot allocation of other nodes. Then, according to the allocation priority, the j-th dimension position of all nodes except the highest priority is reversed, that is, the time slot is given to the node with the highest priority, and other nodes with lower priority give up the time slot.

[0079] In the embodiment of the present invention, if the target time slot is neither allocated to the target node nor to nodes within other two hops, then according to the allocation priority, the node with the highest allocation priority is allowed to reverse the position of the target time slot dimension and occupy the target time slot.

[0080] For example, if time slot j is neither allocated to node i nor to a node within two hops of it, then according to the allocation priority, the node with the highest priority is allowed to invert the position of the jth dimension and occupy the time slot.

[0081] In the embodiment of the present invention, if the target time slot is allocated to the target node and other nodes within two hops of the target node do not obtain the target time slot, the time slot position of the target node remains unchanged.

[0082] Exemplarily, time slot j is allocated to node i and other nodes within two hops of node i do not obtain time slots, that is, the allocation of time slot j to node i does not conflict with the allocation of time slots of other nodes. Then the j-th dimension position of node i remains unchanged.

[0083] In summary, the mathematical expression of the node position additional update strategy is as follows:

[0084] It is understandable that the adoption of the above-mentioned additional node position update strategy can further improve the accuracy and rationality of determining the final time slot allocation result and improve the overall throughput.

[0085] In some embodiments, after one round of iterations, the algorithm recalculates the fitness value of the node and the throughput rate of all nodes in the network, and determines whether to continue updating the node position according to the throughput rate of all nodes in the network.

[0086] Figure 3 FIG. 2 is a flow chart of the method for determining the final time slot allocation result provided by the present invention. Figure 3 As shown, the step 202 determines the final time slot allocation result according to the updated time slot allocation result of each node, which may include: Step 301: According to the updated time slot allocation result of each node, the throughput rate corresponding to all current nodes is obtained.

[0087] It should be noted that the method for obtaining the throughput corresponding to all current nodes may be to first obtain the throughput corresponding to each node based on the updated time slot allocation results of each node, and then determine the throughput of all nodes. The present invention does not limit the method for obtaining the throughput corresponding to all current nodes based on the updated time slot allocation results of each node.

[0088] Step 302: when the throughput of all the current nodes is better than the optimal value of the throughput of all the nodes obtained previously, determine the updated time slot allocation result of each node as the final time slot allocation result.

[0089] Step 303: When the throughput of all current nodes is worse than the optimal value of the throughput of all nodes obtained previously, determine the time slot allocation result of each node corresponding to the optimal value of the throughput of all nodes obtained previously as the final time slot allocation result.

[0090] It should be noted that after one round of iteration, the algorithm recalculates the fitness of the nodes and the throughput of the nodes in the entire network. If the current throughput of the nodes in the entire network is better than the optimal value of the previous iteration, the current time slot occupancy matrix and the current throughput of the nodes in the entire network are recorded, otherwise no update operation is performed. After that, the algorithm continues to iterate until the conditions for stopping the iteration are met. Finally, the globally optimal time slot occupancy matrix is ​​obtained.

[0091] It can be understood that after one round of iterations, the algorithm recalculates the node fitness and the throughput of all nodes in the entire network, and can obtain the optimal node time slot allocation result and improve the overall throughput.

[0092] The following describes an exemplary application of the embodiments of the present application in a practical application scenario.

[0093] In the field of engineering optimization algorithms, many swarm intelligence optimization algorithms based on animal habits have emerged in recent years, which are of great help in solving practical engineering optimization problems. Compared with traditional engineering optimization algorithms, swarm intelligence optimization algorithms have fewer parameters, stronger search capabilities, and a wide range of applications, and have unique advantages in solving many optimization problems. Many researchers have realized the advantages of swarm intelligence optimization algorithms in solving combinatorial optimization problems, and have introduced swarm intelligence optimization algorithms into the field of communications. For example, Luo Lin et al. applied the binary particle swarm optimization algorithm (BPSO) to the time slot allocation problem of wireless ad hoc networks. Therefore, the present invention applies the sparrow search algorithm to the time slot allocation optimization problem of the service channel of the drone swarm network, introduces the allocation priority based on the identity of the node in the hierarchical cluster network and the degree of time slot demand, and proposes the BSSA-TDMA (Binary Sparrow Search Algorithm-Time Division Multiple Access) time slot allocation algorithm and the binary time division multiple access sparrow search algorithm according to the allocation priority.

[0094] Figure 4 FIG. 1 is a schematic diagram of the overall flow of the time slot allocation method for drone search and rescue provided by the present invention. Figure 4 As shown, the method includes the following steps 401 to 409: Step 401: Initialize the drone cluster node; Step 402: Calculate the Z matrix and fitness value, and sort them from large to small; Step 403: Divide the drone cluster individuals into discoverer nodes and joiner nodes according to fitness ranking; Step 404: Update the discoverer node position according to the assigned priority; Step 405: Update the joiner node position according to the allocation priority; Step 406: Select 20% of the nodes as sentinel nodes to update their positions; Step 407: Using the conversion function, find the updated Z matrix; Step 408: Update the X matrix according to the time slot conflict situation and priority; Step 409: Determine whether the iteration stop condition is met, if so, end, if not, return to step 402.

[0095] As described in the above steps, the improved time slot allocation process based on sparrow search is as follows: the algorithm first randomly initializes the drone cluster and defines relevant parameters, including node positions, maximum number of iterations, etc. Then the algorithm uses the transfer function to calculate the initialized time slot allocation probability matrix to obtain the time slot occupancy matrix. And calculate the fitness of each node, that is, the throughput, according to the time slot occupancy and conflict situation, and sort them. Then, the algorithm updates the positions of a group of nodes with higher fitness, that is, the discoverers, according to Formula 1 in the above embodiment. Then, the positions of the remaining nodes with lower fitness, that is, the joiners, are updated according to Formula 2 in the above embodiment. Then, the algorithm randomly selects a certain proportion of nodes that are aware of the danger as alerters and updates the positions of these nodes according to Formula 3 in the above embodiment. After one round of iterations, the algorithm continues to use the transfer function to convert the node position matrix into a time slot occupancy matrix, and updates the node position matrix according to Formula 4 in the above embodiment using the time slot conflict situation of the nodes within two hops, and recalculates the time slot occupancy matrix based on the new node position matrix. After one round of iteration, the algorithm recalculates the fitness value of the node and the throughput of the entire network nodes. If the current throughput of the entire network nodes is better than the optimal value of the previous iteration, the current time slot occupancy matrix and the current throughput of the entire network nodes are recorded, otherwise no update operation is performed. After that, the algorithm continues to iterate until the conditions for iteration stop are met. Finally, the global optimal time slot occupancy matrix is ​​obtained.

[0096] The solution provided by the present invention is based on the emergency search and rescue scenario in disaster areas, and faces the demand for high communication throughput of UAV networks. A BSSA-TDMA time slot allocation method based on the improved sparrow search algorithm is proposed. When the UAV disaster relief encounters an emergency, the UAV cluster head can reallocate the occupancy of the service channel time slots in the cluster according to the topology within the cluster, so that each node in the cluster can reuse as many time slots as possible without conflict, which is an efficient time slot allocation algorithm.

[0097] The present invention is first based on the traditional sparrow search algorithm and the discrete binary sparrow search algorithm. Combined with the time slot allocation characteristics of the mobile ad hoc network, a BSSA-TDMA time slot allocation algorithm based on the sparrow search algorithm is proposed. The algorithm introduces allocation priority based on the identity of the node in the hierarchical cluster network and the degree of time slot demand, and adds a node position update strategy based on the network topology. Finally, simulation proves that the BSSA-TDMA algorithm improves the network throughput by 230% when saturated compared with the classic TDMA algorithm, and the system delay is only 0.05s when the service load is 10pps.

[0098] Figure 5 The throughput comparison chart of BSSA-TDMA, BPSO-TDMA and TDMA provided by the present invention is shown in FIG. Figure 5 As shown in the figure, when the number of nodes in the cluster is 10 and the frame length is 10, the network throughput simulation results of the binary time division multiple access sparrow search algorithm BSSA-TDMA, the binary particle swarm optimization algorithm time division multiple access BPSO-TDMA and the classic time division multiple access TDMA protocol are as follows Figure 5 As shown. It can be seen that the throughput of the BSSA-TDMA proposed in the present invention is significantly higher than the time slot allocation algorithm BPSO-TDMA based on binary particle swarm and the classic TDMA protocol that does not consider time slot reuse. In addition, when the network throughput reaches saturation, the system throughput value of the BSSA-TDMA protocol is about 2.3 times that of the classic TDMA. This is because when the BSSA-TDMA protocol network reaches saturation, each time slot has at least 2-3 nodes to transmit information simultaneously, thereby achieving the high throughput performance of the protocol. Similarly, the saturation throughput of BSSA-TDMA is also about 1.4 times that of BPSO-TDMA, which shows that the time slot reuse efficiency of BSSA-TDMA is higher than that of BPSO-TDMA, proving the high efficiency of the BSSA-TDMA algorithm.

[0099] Figure 6 The throughput comparison diagram of BSSA-TDMA provided by the present invention under different node numbers. Figure 6The figure shows the network throughput comparison of BSSA-TDMA when the number of nodes in the cluster is 10, 13, and 16 respectively, while the frame length remains unchanged. It can be seen that when the frame length is equal, the network throughput increases as the number of nodes in the cluster decreases. This is because as the number of nodes decreases, the number of time slots allocated to each node in a time frame will increase, thereby increasing the throughput of the entire network. In addition, it can be seen from the figure that when the business load is low, the throughput of the three curves almost maintains the same growth rate, which means that the throughput of the three systems can fully meet the business volume requirements at this time, but when the business load is large, it can be seen that the growth rate of the throughput curve slows down, because at this time, the throughput of the three systems can no longer meet the needs of the increased business load until the throughput reaches saturation.

[0100] Figure 7 This is a time delay comparison diagram of BSSA-TDMA, BPSO-TDMA and TDMA adopted by the present invention. Figure 7 The delay simulation results of BSSA-TDMA, BPSO-TDMA and classic TDMA protocols are shown. It can be seen that the delay of BSSA-TDMA proposed in this chapter is lower than that of BPSO-TDMA and the classic TDMA protocol without considering time slot reuse. Among them, the delay of BSSA-TDMA is lower than that of TDMA because each node in BSSA-TDMA occupies multiple time slots in a time frame, which can reduce the queuing time of the service and thus reduce the delay. The delay of BSSATDMA is lower than that of BPSO-TDMA because the time slots allocated by the BSSA-TDMA protocol are more uniform: in the BPSO algorithm, some nodes in the network are allocated too many time slots in a time frame, resulting in some remaining nodes occupying only one time slot in a time frame; but in BSSA-TDMA, the number of time slots allocated to each node in the network in a time frame is more uniform, thereby reducing the transmission delay of the entire network. In addition, when the service arrival rate of the network is low, the end-to-end delay of the network remains relatively stable and grows slowly; when the service arrival rate increases to a certain level, the end-to-end delay of the network increases significantly. This is because the transmission capacity of the network has reached saturation. When the service volume continues to increase, service data needs to queue up and wait to be sent.

[0101] Figure 8 This is a delay comparison diagram of BSSA-TDMA provided by the present invention under different numbers of nodes, such as Figure 8The figure shows the network delay comparison of BSSA-TDMA when the number of nodes is 10, 13, and 16 respectively and the frame length remains unchanged. It can be seen that when the frame length is constant, the network delay increases with the increase of the number of nodes. This is because as the number of nodes increases, the number of available time slots allocated to each node in a time frame will decrease, resulting in a longer queuing time for services to be sent, and ultimately increasing the delay of the entire network. In addition, when the network service load is low, the network delay remains relatively stable and grows slowly; as the service load increases, the network delay increases sharply. This is because when the service load is low, the service data in the node hardly needs to queue, but as the service volume increases, the network transmission capacity is saturated, and the data packets in the node begin to queue. Therefore, the network delay increases rapidly with the increase of service load. When the service load increases to the point where the number of data packets waiting to be sent in the node exceeds the maximum queue length, the data packets exceeding the queue will be discarded, and the delay growth rate slows down.

[0102] In summary, simulation proves that the BSSA-TDMA algorithm improves the network throughput by 230% when saturated compared with the classic TDMA algorithm. At the same time, the system delay is only 0.05s when the service load is 10pps, which proves that the BSSA-TDMA algorithm is very effective.

[0103] The time slot allocation device for drone search and rescue provided by the present invention is described below. The time slot allocation device for drone search and rescue described below and the time slot allocation method for drone search and rescue described above can refer to each other.

[0104] Fig. 9 Schematic diagram of the structure of the time slot allocation device for the UAV search and rescue provided by the present invention. Fig. 9 As shown, the time slot allocation device 500 for drone search and rescue includes an initial time slot acquisition module 501, a priority determination module 502 and a final time slot acquisition module 503, wherein:

[0105] An initial time slot acquisition module 501 is used to acquire an initial time slot allocation result and a fitness value corresponding to each of the multiple nodes, wherein the initial time slot allocation result is used to characterize the time slot occupancy of the node in a time frame, and the fitness value is used to characterize the throughput of the node in a time frame; The priority determination module 502 is used to determine the allocation priority corresponding to each node according to the initial time slot allocation result corresponding to each node, the fitness value and the identity information corresponding to each node, wherein, under the same other conditions, the node whose identity information is the cluster head has a higher allocation priority than the node whose identity information is a cluster member; the final time slot acquisition module 503 is used to determine the final time slot allocation result according to the allocation priority corresponding to each node.

[0106] Based on the above embodiment, in this embodiment, the multiple nodes include a cluster head node and a cluster member node, the allocation priorities corresponding to the nodes include the sixth level, the fifth level, the fourth level, the third level, the second level and the first level from high to low, the multiple nodes include a target node, and the target node is any one of the multiple nodes. The priority determination module 502 is specifically used to: If the initial time slot allocation result corresponding to each node indicates that the target node has no available time slot, and the identity information corresponding to the target node is a cluster head, determining that the allocation priority of the target node is the sixth level; If the initial time slot allocation result corresponding to each node indicates that the target node has no available time slot, and the identity information corresponding to the target node is a cluster member, determining that the allocation priority of the target node is the fifth level; If the initial time slot allocation results corresponding to the nodes indicate that the target node has an available time slot, the fitness value corresponding to the target node is lower than the fitness average, and the identity information corresponding to the target node is a cluster head, determining that the allocation priority of the target node is the fourth level; If the initial time slot allocation results corresponding to the nodes indicate that the target node has an available time slot, the fitness value corresponding to the target node is lower than the fitness average, and the identity information corresponding to the target node is a cluster member, determining that the allocation priority of the target node is the third level; If the fitness value corresponding to the target node is higher than the fitness average value, and the identity information corresponding to the target node is the cluster head, determining that the allocation priority of the target node is the second level; If the fitness value corresponding to the target node is higher than the fitness average value, and the identity information corresponding to the target node is a cluster member, it is determined that the allocation priority of the target node is the first level.

[0107] Based on the above embodiment, in this embodiment, the final time slot acquisition module 503 includes a time slot updating unit and a time slot determining unit, wherein:

[0108] The time slot updating unit is used to obtain updated time slot allocation results of each node according to the allocation priority and role information corresponding to each node, and adjust the time slot allocation result corresponding to the node when the allocation priority corresponding to the node is lower than the average allocation priority of all nodes corresponding to the same role information; The time slot determination unit is used to determine the final time slot allocation result according to the updated time slot allocation results of each node.

[0109] Based on the above embodiment, in this embodiment, each node includes a discoverer node, a joiner node and a vigilant node, the discoverer node is a node among the multiple nodes whose fitness value is higher than or equal to a preset fitness threshold, the joiner node is a node among the multiple nodes whose fitness value is lower than a preset threshold, the vigilant node is a randomly selected node among the multiple nodes, and the time slot determination unit is specifically used for: For the discoverer node, if the allocation priority of the discoverer node is lower than the average allocation priority corresponding to all discoverer nodes, the current time slot allocation result of the discoverer node is retained, and the time slot of the discoverer node is released when the preset release condition is met; if the allocation priority of the discoverer node is higher than or equal to the average allocation priority corresponding to all discoverer nodes, the current time slot allocation result of the discoverer node is retained; For the joiner node, if the allocation priority of the joiner node is lower than the average allocation priority corresponding to all joiner nodes, the current time slot allocation result is maintained; if the allocation priority of the joiner node is higher than the average allocation priority corresponding to all joiner nodes, the time slot of the node with a higher fitness value in the drone cluster will be allocated to the joiner node; for the vigilant node, if the allocation priority of the vigilant node is higher than or equal to the average allocation priority corresponding to all vigilant nodes and the fitness value of the vigilant node is lower than the optimal fitness value corresponding to all nodes in the drone cluster, the vigilant node will move closer to the optimal time slot after this round of adjustment; if the allocation priority of the vigilant node is less than the average allocation priority corresponding to all vigilant nodes and the fitness value of the vigilant node is equal to the optimal fitness value corresponding to all nodes in the drone cluster, the vigilant node will give up the current time slot according to the preset probability.

[0110] Based on the above embodiments, in this embodiment, the multiple nodes include a target node, and the target is any one of the multiple nodes. The device also includes a node update module, which is used for, if the target time slot allocated to the target node is also allocated to other nodes within two hops corresponding to the target node, then, according to the allocation priority, the position of the th target time slot dimension of all other nodes except the one with the highest allocation priority is reversed, so that the target time slot corresponding to the target node is given to the node with the highest allocation priority, and other nodes with low allocation priority abandon the target time slot; if the target time slot is neither allocated to the target node nor to other nodes within two hops, then, according to the allocation priority, the node with the highest allocation priority is allowed to reverse the position of the th target time slot dimension and occupy the target time slot; if the target time slot is allocated to the target node and other nodes within two hops of the target node do not obtain the target time slot, the time slot position of the target node remains unchanged.

[0111] Based on the above embodiments, in this embodiment, the final time slot acquisition module 503 is specifically used to: obtain the throughput corresponding to all current nodes according to the updated time slot allocation results of each node; when the throughput of all current nodes is better than the optimal value of the throughput of all nodes obtained previously, determine the time slot allocation result of each node after the update as the final time slot allocation result; when the throughput of all current nodes is worse than the optimal value of the throughput of all nodes obtained previously, determine the time slot allocation result of each node corresponding to the optimal value of the throughput of all nodes obtained previously as the final time slot allocation result.

[0112] The time slot allocation device for drone search and rescue provided by the present invention introduces allocation priorities based on the identities of nodes in a hierarchical clustering network and the degree of demand for time slots, and obtains the final time slot allocation results according to the allocation priorities, which can allocate time slots more reasonably and improve the throughput rate of the drone cluster.

[0113] Fig.10 is a schematic diagram of the physical structure of the electronic device provided by the present invention, such as Fig.10 As shown, the electronic device 600 may include: a processor 601, a communication interface 602, a memory 603 and a communication bus 604, wherein the processor 601, the communication interface 602 and the memory 603 complete mutual communication through the communication bus 604. The processor 601 may call the logic instructions in the memory 603 to execute the time slot allocation method for drone search and rescue, the method comprising: obtaining the initial time slot allocation result and fitness value corresponding to each of the multiple nodes, the initial time slot allocation result is used to characterize the time slot occupancy corresponding to the node in a time frame, and the fitness value is used to characterize the throughput corresponding to the node in a time frame; according to the initial time slot allocation result corresponding to each node, the fitness value and the identity information corresponding to each node, determining the allocation priority corresponding to each node, wherein, under the same other conditions, the node whose identity information is the cluster head has a higher allocation priority than the node whose identity information is a cluster member; according to the allocation priority corresponding to each node, determining the final time slot allocation result.

[0114] In addition, the logic instructions in the above-mentioned memory 603 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a 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: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0115] On the other hand, the present invention also provides a computer program product, which includes a computer program, which can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the time slot allocation method for drone search and rescue provided by the above-mentioned methods, and the method includes: obtaining an initial time slot allocation result and a fitness value corresponding to each node among the multiple nodes, the initial time slot allocation result is used to characterize the time slot occupancy corresponding to the node in a time frame, and the fitness value is used to characterize the throughput corresponding to the node in a time frame; determining the allocation priority corresponding to each node according to the initial time slot allocation result, fitness value and identity information corresponding to each node, wherein, under the same other conditions, the node whose identity information is the cluster head has a higher allocation priority than the node whose identity information is a cluster member; determining the final time slot allocation result according to the allocation priority corresponding to each node.

[0116] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the time slot allocation method for drone search and rescue provided by the above-mentioned methods, the method comprising: obtaining an initial time slot allocation result and a fitness value corresponding to each of the multiple nodes, the initial time slot allocation result being used to characterize the time slot occupancy corresponding to the node in a time frame, and the fitness value being used to characterize the throughput corresponding to the node in a time frame; determining an allocation priority corresponding to each of the nodes based on the initial time slot allocation result, the fitness value and the identity information corresponding to each of the nodes, wherein, under the same other conditions, the node whose identity information is the cluster head has a higher allocation priority than the node whose identity information is a cluster member; determining a final time slot allocation result based on the allocation priority corresponding to each of the nodes.

[0117] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0118] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0119] 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 make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A time slot allocation method for unmanned aerial vehicle search and rescue, characterized in that: Applied to a drone cluster, the drone cluster includes a plurality of nodes, the plurality of nodes correspond to a plurality of drones, including: Obtaining an initial time slot allocation result and a fitness value corresponding to each of the multiple nodes, wherein the initial time slot allocation result is used to characterize the time slot occupancy of the node in a time frame, and the fitness value is used to characterize the throughput of the node in a time frame; Determine the allocation priority corresponding to each node according to the initial time slot allocation result corresponding to each node, the fitness value and the identity information corresponding to each node, wherein, under the same other conditions, the allocation priority corresponding to the node whose identity information is the cluster head is higher than the allocation priority corresponding to the node whose identity information is the cluster member; The final time slot allocation result is determined according to the allocation priority corresponding to each node.

2. The time slot allocation method according to claim 1, characterized in that: The multiple nodes include a cluster head node and a cluster member node, the allocation priorities corresponding to the nodes include the sixth level, the fifth level, the fourth level, the third level, the second level and the first level from high to low, the multiple nodes include a target node, and the target node is any one of the multiple nodes, and the allocation priorities corresponding to the nodes are determined according to the initial time slot allocation results corresponding to the nodes, the fitness values ​​and the identity information corresponding to the nodes, including: If the initial time slot allocation result corresponding to each node indicates that the target node has no available time slot, and the identity information corresponding to the target node is a cluster head, determining that the allocation priority of the target node is the sixth level; If the initial time slot allocation result corresponding to each node indicates that the target node has no available time slot, and the identity information corresponding to the target node is a cluster member, determining that the allocation priority of the target node is the fifth level; If the initial time slot allocation results corresponding to the nodes indicate that the target node has an available time slot, the fitness value corresponding to the target node is lower than the fitness average, and the identity information corresponding to the target node is a cluster head, determining that the allocation priority of the target node is the fourth level; If the initial time slot allocation results corresponding to the nodes indicate that the target node has an available time slot, the fitness value corresponding to the target node is lower than the fitness average, and the identity information corresponding to the target node is a cluster member, determining that the allocation priority of the target node is the third level; If the fitness value corresponding to the target node is higher than the fitness average value, and the identity information corresponding to the target node is the cluster head, determining that the allocation priority of the target node is the second level; If the fitness value corresponding to the target node is higher than the fitness average value, and the identity information corresponding to the target node is a cluster member, it is determined that the allocation priority of the target node is the first level.

3. The time slot allocation method according to claim 1, characterized in that: The determining a final time slot allocation result according to the allocation priority corresponding to each node includes: According to the allocation priority and role information corresponding to each node, an updated time slot allocation result of each node is obtained, and when the allocation priority corresponding to the node is lower than the average allocation priority of all nodes corresponding to the same role information, the time slot allocation result corresponding to the node is adjusted; The final time slot allocation result is determined according to the updated time slot allocation result of each node.

4. The time slot allocation method according to claim 3, characterized in that: The nodes include a discoverer node, a joiner node and a vigilant node, the discoverer node is a node among the multiple nodes whose fitness value is higher than or equal to a preset fitness threshold, the joiner node is a node among the multiple nodes whose fitness value is lower than a preset threshold, and the vigilant node is a randomly selected node among the multiple nodes, and the updated time slot allocation result of each node is obtained according to the allocation priority and role information corresponding to each node, including: For the discoverer node, if the allocation priority of the discoverer node is lower than the average allocation priority corresponding to all discoverer nodes, the current time slot allocation result of the discoverer node is retained, and the time slot of the discoverer node is released when the preset release condition is met; if the allocation priority of the discoverer node is higher than or equal to the average allocation priority corresponding to all discoverer nodes, the current time slot allocation result of the discoverer node is retained; For the joiner node, if the allocation priority of the joiner node is lower than the average allocation priority corresponding to all joiner nodes, the current time slot allocation result is maintained; if the allocation priority of the joiner node is higher than the average allocation priority corresponding to all joiner nodes, the time slot of the node with a higher fitness value in the drone cluster will be allocated to the joiner node; for the vigilant node, if the allocation priority of the vigilant node is higher than or equal to the average allocation priority corresponding to all vigilant nodes and the fitness value of the vigilant node is lower than the optimal fitness value corresponding to all nodes in the drone cluster, the vigilant node will move closer to the optimal time slot after this round of adjustment; if the allocation priority of the vigilant node is less than the average allocation priority corresponding to all vigilant nodes and the fitness value of the vigilant node is equal to the optimal fitness value corresponding to all nodes in the drone cluster, the vigilant node will give up the current time slot according to the preset probability.

5. The time slot allocation method according to claim 3, characterized in that: The multiple nodes include a target node, and the target is any one of the multiple nodes. Before determining the final time slot allocation result according to the updated time slot allocation results of each node, the method further includes: If the target time slot allocated to the target node is also allocated to other nodes within two hops corresponding to the target node, then according to the allocation priority, the position of the th target time slot dimension of all other nodes except the highest allocation priority is reversed, so that the target time slot corresponding to the target node is given to the node with the highest allocation priority, and other nodes with low allocation priority give up the target time slot; if the target time slot is neither allocated to the target node nor to other nodes within two hops, then according to the allocation priority, the node with the highest allocation priority is allowed to reverse the position of the th target time slot dimension and occupy the target time slot; If the target time slot is allocated to the target node and other nodes within two hops of the target node do not obtain the target time slot, the time slot position of the target node remains unchanged.

6. The time slot allocation method according to claim 3, characterized in that: The step of determining the final time slot allocation result according to the updated time slot allocation result of each node includes: According to the updated time slot allocation results of each node, the throughput rates corresponding to all current nodes are obtained; In a case where the throughput of all the current nodes is better than the optimal value of the throughput of all the nodes obtained previously, determining the updated time slot allocation result of each node as the final time slot allocation result; When the throughput of all the current nodes is worse than the optimal value of the throughput of all the nodes obtained previously, the time slot allocation result of each node corresponding to the optimal value of the throughput of all the nodes obtained previously is determined as the final time slot allocation result.

7. A time slot allocation device for drone search and rescue, characterized in that: Applied to a drone cluster, the drone cluster includes a plurality of nodes, the plurality of nodes correspond to a plurality of drones, including: An initial time slot acquisition module, used to obtain an initial time slot allocation result and a fitness value corresponding to each of the multiple nodes, wherein the initial time slot allocation result is used to characterize the time slot occupancy of the node in a time frame, and the fitness value is used to characterize the throughput of the node in a time frame; A priority determination module, used to determine the allocation priority corresponding to each node according to the initial time slot allocation result corresponding to each node, the fitness value and the identity information corresponding to each node, wherein, under the same other conditions, the allocation priority corresponding to the node whose identity information is the cluster head is higher than the allocation priority corresponding to the node whose identity information is the cluster member; The final time slot acquisition module is used to determine the final time slot allocation result according to the allocation priority corresponding to each node.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the time slot allocation method according to any one of claims 1 to 6 is implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the time slot allocation method according to any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the time slot allocation method according to any one of claims 1 to 6 is implemented.