A drone-assisted data collection method based on information age in the Internet of Things
By using drone-assisted data collection methods in the Internet of Things, clustering and algorithms are used to optimize the data collection sequence and trajectory, which solves the problem of insufficient freshness of data collection information in wireless sensor networks and achieves more efficient data freshness and System security.
Patent Information
- Application Number
- CN202310123385.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-15
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2043-02-15
AI Technical Summary
In the Internet of Things, existing technologies are difficult to effectively optimize the freshness of information collected in wireless sensor networks, resulting in data received by terminal devices that may be out of date, affecting the accuracy and security of system decision-making.
The UAV-assisted data collection method based on information age is used to optimize the UAV flight trajectory and node data collection sequence through maximum and minimum distance clustering, greedy algorithm and ant colony algorithm, and decompose it into three categories: clustering, trajectory and data collection sequence. section to ensure data freshness.
It effectively reduces the average spatial correlation information age of the data collection system, improves the freshness of data, and ensures the accuracy and safety of system decision-making.
Smart Images

Figure CN116132939B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of wireless communication technology, and in particular to a drone-assisted data collection method based on information age in the Internet of Things. Background Art
[0002] With the rapid development of wireless communication technology and smart devices, mobile data traffic has exploded. Therefore, it is urgent to develop services with ultra-high data rates, ultra-low latency, large-scale connections, extremely low energy consumption, high-quality experience and greatly improved security. The emergence of Mobile Edge Computing (MEC) technology has effectively alleviated the above-mentioned needs. It places cloud servers near users to provide users with computing and storage capabilities. This has spawned a large number of systems for real-time applications, such as smart homes, smart transportation, and smart health. For such systems, information freshness is crucial. Terminal devices need to perceive data from the surrounding environment in real time, monitor the system status, and make accurate and reliable decisions and controls. If the terminal receives outdated data, it may affect system decisions and cause huge security risks. The importance of information freshness for information update applications is increasing day by day. In order to effectively characterize the freshness of information, the academic community has proposed the concept of Age of Information (AoI). Many scholars use information age as a standard for measuring information freshness. The wireless sensor network data acquisition system based on information age fully considers the terminal's requirements for data freshness and greatly improves the information age of the collected data. Summary of the invention
[0003] The purpose of the present invention is to propose a drone-assisted data collection method based on information age in the Internet of Things. This method aims at the problem of data collection in wireless sensor networks and introduces an information age expression to optimize the freshness of data collected by all nodes in the area.
[0004] To achieve the above functions, the present invention designs a drone-assisted data collection method based on information age in the Internet of Things, which obtains relevant parameters through maximum and minimum distance clustering, greedy algorithm and ant colony algorithm to obtain the minimum average age.
[0005] Technical solution: To solve the above technical problems, the technical solution adopted by the present invention is:
[0006] In a first aspect, the present invention provides a method for drone-assisted data collection based on information age in the Internet of Things, comprising:
[0007] The data collection system includes a drone, a data center DC, and multiple sensor nodes in a data collection area; the method includes:
[0008] S1, construct an optimization problem P to minimize the average spatial correlation information age of all nodes in the data collection system, and decompose the optimization problem P into a clustering sub-problem P1, a node data collection order sub-problem P2 within a cluster, and a UAV flight trajectory sub-problem P3;
[0009] S2, using sub-problem P1 to optimize clustering of all nodes in the region, and obtain clustering results; the clustering results include the number of clusters M, the cluster head node and member nodes of each cluster;
[0010] S3, based on the clustering results, use sub-problem P2 to determine the order of data collection for nodes in each cluster;
[0011] S4, based on the clustering results, use sub-problem P3 to determine the flight trajectory of the drone;
[0012] S5. The drone acts as a data collection device and moves along a determined flight trajectory from the data center DC. The member nodes collect data in a determined data collection order. Using the time when the drone transfers between hovering positions, the member nodes upload the collected data to the cluster head node in the form of time division multiple access (TDMA). When the drone hovers directly above the cluster head node, the cluster head node uploads the data collected by the cluster node to the drone. The drone completes the flight trajectory to realize data collection of all nodes.
[0013] In some embodiments, in step S2, all nodes in the region are optimized and clustered using sub-problem P1 to obtain clustering results, including:
[0014] S21. Sensor node n i ∈N={n 1 ,n 2 ,...,n N} Randomly distributed in a rectangular area with a side length of A and a coordinate of L i =(x i ,y i ), used to collect information about the surrounding environment; N nodes are divided into M clusters, with the cluster head node ch j ∈CH={ch 1 ,ch 2 ,...,ch M}and Binary variable γ ij =1 indicates node n i Belong to ch j is the cluster head, otherwise γ ij =0, and ch j The nodes in the same cluster are represented by a set C j ={n i |γ ij =1,ni ∈N}, 1≤j≤M, C j The number of internal nodes is denoted by N j ;
[0015] S22. The clustering subproblem P1 is expressed as:
[0016]
[0017] The constraints are: (1) j=1,2,...,M
[0018] The constraint indicates that when forming a cluster, the distance between the member nodes and the cluster head node cannot be greater than the maximum communication distance of the nodes; is member node n i With cluster head node ch j The distance between them, the maximum communication distance is R;
[0019] Solve the clustering subproblem P1 and obtain the clustering result.
[0020] Furthermore, in some embodiments, maximum-minimum distance clustering is used to solve the clustering subproblem P1.
[0021] In some embodiments, in step S3, determining the data collection order of each node in the cluster includes:
[0022] S31. The drone follows the trajectory V = [v 0 ,v 1 ,...,v M ,v M+1 ] movement, when the drone moves from the hovering position v l-1 Move to the hovering position v l When the flight time f l-1,l It is expressed as:
[0023]
[0024] Where (x l-1 ,y l-1 ), (x l ,y l ) are respectively v l-1 , v l The coordinates of the corresponding cluster head node; v is the flight speed of the drone; f l-1,l Concisely expressed as f l ;
[0025] S32.t time cluster head node ch j The instantaneous spatial correlation information age Δ j C(t) is defined as:
[0026]
[0027] Where U(t) is the cluster head node ch at time t. j The total amount of data received, u k is the timestamp of the kth uploaded data. is the correlation coefficient, β 1 =0;d k is the minimum distance between the kth member node that uploads data to the cluster head node and the first k-1 nodes, ρ s is a constant, indicating the degree of spatial correlation;
[0028] S33. Assume that the trajectory of the drone is V, and there is v j =ch j , j≠0,M+1 and j≤M, for the cluster head node ch j For example, the moment when the member node starts to collect data is ch j-1 Complete data transmission to the drone and fly to ch j The moment is regarded as the collection cluster C j The initial moment of information in cluster C j The nodes in the j Collect data and send the drone to ch j The moment is denoted as f j ; The drone arrives at the cluster head node ch j The instantaneous spatial correlation information age (SCAoI) of the data collected at the time is expressed as:
[0029]
[0030] in, The time it takes for the k-1th node to transmit data to the cluster head node, when k = 1
[0031] S34. Member nodes collect data in different orders, which will affect the arrival of the drone at the cluster head node ch j The instantaneous spatial correlation information age SCAoI of the collected data, the sub-problem P2 of the node data collection order G in the cluster is expressed as:
[0032]
[0033] The constraints are: (3)
[0034] The constraints indicate the flight time of the drone and the distance between the two hovering positions in the trajectory. Related;
[0035] Solve the sub-problem P2 of the data collection order of nodes within the cluster and obtain the data collection order of nodes within the cluster.
[0036] Furthermore, in some embodiments, a greedy algorithm is used to solve the sub-problem P2 of the order of data collection of nodes within the cluster.
[0037] In some embodiments, in step S4, determining the flight trajectory of the drone includes:
[0038] S41. Use h j represents the time spent on the jth cluster head node, the cumulative hovering time from the jth to the Mth cluster in the trajectory
[0039] S42. Use f j+1 represents the flight time from the jth cluster to the j+1th cluster, and the cumulative flight time from the j+1th cluster to the M+1th cluster in the trajectory f M+1 represents the flight time from the Mth cluster back to the data center DC;
[0040] S43. Based on the clustering results, the drone trajectory problem consisting of M cluster head nodes and a data center DC is solved; the calculation of the drone's hovering time and flight time depends on the drone's flight trajectory. The drone's flight trajectory V subproblem P3 is expressed as:
[0041]
[0042] Constraints:
[0043] (2)h j =t u N j
[0044]
[0045] Constraints: Formula (2) shows that the hovering time of the drone depends on the number of nodes in the cluster N j And the time t that the cluster head node transmits a data packet to the drone u , Formula (3) shows that the flight time of the UAV is j+1 The distance between the two hovering positions in the trajectory Related;
[0046] Solve the UAV flight trajectory subproblem P3 to obtain the UAV flight trajectory.
[0047] Furthermore, in some embodiments, an ant colony algorithm is used to solve the drone flight trajectory subproblem P3.
[0048] In some embodiments, the optimization problem P for minimizing the average spatial correlation information age of all nodes in the data acquisition system includes:
[0049] At time t, the drone will be j The collected data is offloaded to the data center DC, cluster C j The instantaneous spatial correlation information age SCAoI is expressed as:
[0050]
[0051] The average spatial correlation information age SCAoI of all nodes in the system is expressed as:
[0052]
[0053] By optimizing the number of clusters M, the flight trajectory of the UAV V, and the data collection order G of the nodes in the cluster, the average spatial correlation information age SCAoI of all nodes in the system is minimized. The optimization problem P is expressed as:
[0054]
[0055] Constraints:
[0056]
[0057] (2)h j =t u N j
[0058]
[0059] Among them, constraint (1) indicates that when clustering, the distance between the member node and the cluster head node is It cannot be greater than the maximum communication distance R of the node. Constraint (2) indicates that the hovering time of the drone depends on the number of nodes N in the cluster. j And the time t that the cluster head node transmits a data packet to the drone u , constraint (3) indicates that the flight time of the UAV is f j+1 The distance between the two hovering positions in the trajectory Related.
[0060] In some embodiments, in step S5, the member node uploads the collected data to the cluster head node in a time division multiple access (TDMA) manner, including:
[0061] The nodes in the system are in a dormant state most of the time. When the drone follows the predetermined trajectory V, it moves from v l , l≠M to v l+1 When l+1The corresponding nodes in the cluster will be awakened, collect data in the data collection order G and transmit it to the cluster head node in TDMA mode;
[0062] In the process of member node transmission to the cluster head node, the specific time required for the node to collect information is ignored. The time slot length of TDMA is the length of time used by the member node to transmit data to the cluster head node. All member nodes in the cluster need to upload the collected data to the cluster head. Therefore, when the member nodes have not completed uploading and the drone has arrived above the cluster head, the drone needs to extend the hovering time and wait for all nodes to complete the uploading task before the cluster head can upload data to the drone.
[0063] The communication between member nodes and cluster head nodes adopts a point-to-point communication model on the ground, and its transmission rate is:
[0064]
[0065] In the above formula, B is the bandwidth of the system, p i is the transmission power of the node, p n is the noise power, g = β 0 d -α is the channel gain, where β 0 is the channel gain at the reference distance, d is the distance between the member node and the cluster head node, and α is a constant coefficient related to the environment; the time required for a member node to transmit a data packet with a data volume of L to the cluster head node is
[0066] In some embodiments, in step S5, the cluster head node uploads the data collected by the cluster node to the drone, including:
[0067] When the cluster head node uploads data to the UAV, a probability-based air-to-ground communication model is adopted; assuming the existence of additive Gaussian white noise, the rate at which the cluster head node transmits data to the UAV hovering above it is expressed as:
[0068]
[0069] in is the average path loss for line-of-sight and non-line-of-sight transmission:
[0070]
[0071] P i (LoS) is the probability of line-of-sight transmission, and are the path losses for line-of-sight and non-line-of-sight transmission, respectively;
[0072]
[0073] Where β 1 With β 2 is a constant parameter related to environmental factors, θ i is the angle between the node uploading the data and the drone. Since the drone is hovering directly above the node to receive data, Path loss for line-of-sight and non-line-of-sight transmission Among them, PL i is the free path loss Where h is the flight altitude of the drone, f c is the carrier frequency, c is the speed of light, ζ LoS With NLoS The additional path loss is a constant. The time required for the cluster head node to transmit a data packet with a data volume of L to the drone is
[0074] In a second aspect, the present invention provides a drone-assisted data collection system based on information age in the Internet of Things, including a processor and a storage medium;
[0075] The storage medium is used to store instructions;
[0076] The processor is used to operate according to the instructions to execute the steps of the method according to the first aspect.
[0077] In a third aspect, the present invention provides a storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method described in the first aspect.
[0078] In a fourth aspect, the present invention provides a computing device, comprising:
[0079] One or more processors, one or more memories, and one or more programs, wherein the one or more programs are stored in the one or more memories and are configured to be executed by the one or more processors, and the one or more programs include instructions for executing any of the methods described in the first aspect.
[0080] Beneficial effects: Compared with the prior art, the advantages of the present invention include:
[0081] 1. The present invention constructs a UAV data collection model that uses spatial correlation information age as an indicator to measure information freshness, which effectively reflects the impact of spatial distance on the age of collected data information.
[0082] 2. First, the maximum and minimum distance clustering method is used to cluster all the nodes. The member nodes use the time when the drone transfers between hovering positions to collect data in a certain order according to the TDMA method and upload the collected data to the cluster head node. Then the drone flies above the cluster head node according to the optimized trajectory and receives the data uploaded by the cluster head node.
[0083] 3. The present invention derives the closed expressions of the instantaneous spatial correlation information age SCAoI of the data collected at the cluster head and the average spatial correlation information age SCAoI of all nodes. Under the constraints of the maximum communication distance between nodes and the flight parameters of the UAV, an optimization problem of minimizing the average spatial correlation information age SCAoI is established, and the original problem is decomposed into three parts: clustering, trajectory, and cluster member data collection order for solution. BRIEF DESCRIPTION OF THE DRAWINGS
[0084] Figure 1 is a schematic diagram of a method flow chart provided according to an embodiment of the present invention;
[0085] Figure 2 Schematic diagram of a system model provided according to an embodiment of the present invention. DETAILED DESCRIPTION
[0086] The present invention will be further described below in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present invention, and cannot be used to limit the protection scope of the present invention.
[0087] In the description of the present invention, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0088] Example 1
[0089] A drone-assisted data collection method based on information age in the Internet of Things, comprising:
[0090] The data collection system includes a drone, a data center DC, and multiple sensor nodes in a data collection area; the method includes:
[0091] S1, construct an optimization problem P to minimize the average spatial correlation information age of all nodes in the data collection system, and decompose the optimization problem P into a clustering sub-problem P1, a node data collection order sub-problem P2 within a cluster, and a UAV flight trajectory sub-problem P3;
[0092] S2, using sub-problem P1 to optimize clustering of all nodes in the region, and obtain clustering results; the clustering results include the number of clusters M, the cluster head node and member nodes of each cluster;
[0093] S3, based on the clustering results, use sub-problem P2 to determine the order of data collection for nodes in each cluster;
[0094] S4, based on the clustering results, use sub-problem P3 to determine the flight trajectory of the drone;
[0095] S5. The drone acts as a data collection device and moves along a determined flight trajectory from the data center DC. The member nodes collect data in a determined data collection order. Using the time when the drone transfers between hovering positions, the member nodes upload the collected data to the cluster head node in the form of time division multiple access (TDMA). When the drone hovers directly above the cluster head node, the cluster head node uploads the data collected by the cluster node to the drone. The drone completes the flight trajectory to realize data collection of all nodes.
[0096] In some embodiments, reference Figure 1 , Figure 2 The present invention provides a drone-assisted data collection method based on information age in the Internet of Things, constructs an optimization problem P for minimizing the average spatial correlation information age of all nodes in the data collection system, and decomposes the optimization problem P into clustering subproblems P1, node data collection order subproblems P2 within the cluster, and drone flight trajectory subproblems P3; obtains relevant parameters through maximum and minimum distance clustering, greedy algorithm and ant colony algorithm to obtain the minimum average age. Among them, the maximum communication distance of the sensor node is 50m;
[0097] S1. Sensor node n i ∈N={n 1 ,n 2 ,...,n N} Randomly distributed in a rectangular area with a side length of A and a coordinate of L i =(x i ,y i ) is used to collect information about the surrounding environment. As a data collection device, the drone starts from the data center DC, obtains the information collected by the nodes in the area, and brings the information back to the DC for processing.
[0098] S2. Cluster all nodes in the area, determine the coordinates of the cluster head node, and the clustering results;
[0099] S3. Member nodes collect data information in a certain order;
[0100] S4. Using the time when the UAV transfers between hovering positions, the member nodes upload the collected information to the cluster head node in TDMA mode;
[0101] S5. The location of the cluster head node is where the drone is hovering;
[0102] S6. When the UAV hovers directly above the cluster head node, the cluster head node uploads all the temporarily stored data collected by the member nodes to the UAV;
[0103] S7. The drone completes data collection of all cluster head nodes according to the flight trajectory;
[0104] S8. Solve for the average spatial correlation information age of all nodes in the data acquisition system;
[0105] The specific steps of clustering in step S2 are as follows:
[0106] S21. Divide N nodes into M clusters, with cluster head node ch j ∈CH={ch 1 ,ch 2 ,...,ch M}and Binary variable γ ij =1 indicates node n i Belong to ch j is the cluster head, otherwise γ ij =0, and ch j The nodes in the same cluster are represented by a set C j ={n i |γ ij =1,n i ∈N}, 1≤j≤M, C j The number of internal nodes is denoted by N j .
[0107] S22. The sensor nodes transmit the collected data in the form of packets with timestamps. Assuming that the maximum communication distance of the nodes is R, the maximum clustering distance is R, that is, the cluster head node ch j With cluster member node n i The distance between
[0108] S23. The flight time of the drone increases with the increase of the drone's hovering position, which is not conducive to maintaining the freshness of information. Therefore, when clustering nodes, the number of clusters should be limited. The fewer the number of clusters, the more conducive it is to reduce the flight time of the drone. However, the communication distance of wireless sensor nodes is limited. Nodes that exceed the communication distance cannot communicate. Therefore, when clustering, the distance between the member node and the cluster head node needs to meet the condition of the maximum communication distance of the node. The clustering problem is expressed as:
[0109]
[0110] The constraints are: (1) j=1,2,...,M
[0111] The constraint indicates that when forming a cluster, the distance between the member node and the cluster head node cannot be greater than the maximum communication distance of the nodes.
[0112] The specific steps of determining the order in which the member nodes collect data in step S3 are as follows:
[0113] S31. The drone follows the trajectory V = [v 0 ,v 1 ,...,v M ,v M+1 ] movement, since the drone starts from DC and eventually returns to DC, v 0 =v M+1 =DC, and the speed v and height h remain unchanged, then the hovering position of the UAV is represented by the coordinates of the cluster head node.
[0114] S32. When the drone moves from v l-1 Movement to v l When , the flight time is expressed as:
[0115]
[0116] Where (x l-1 ,y l-1 ), (x l ,y l ) are respectively v l-1 , v l The coordinates of the corresponding cluster head node. For simplicity, f l-1,l Represented as f l .
[0117] S33. The information age proposed by the present invention to measure the freshness of information is different from the traditional definition, taking into account the impact of spatial correlation caused by the close distance between data collection devices. This impact is more obvious between nodes in the same cluster. The nodes in the same cluster are close to each other, which will make the same type of data collected at the same time have a strong correlation, and the diversity of the data will be weakened, which is not conducive to data analysis.
[0118] S34. The data collected by member nodes that are close in space have strong correlation. Therefore, considering the impact of spatial correlation on the instantaneous AoI of the cluster head node, the instantaneous spatial correlation information age is defined to characterize the information age of ch at time t. j The instantaneous freshness, ch at time t jThe instantaneous spatial correlation information age of is defined as:
[0119]
[0120]
[0121] where β k is the correlation coefficient, β 1 =0,d k is the minimum distance between the kth member node that uploads data to the cluster head and the first k-1 nodes, ρ s is a constant, indicating the degree of spatial correlation.
[0122] S35. Assume that the trajectory of the drone is V, and there is v j =ch j , j≠0,M+1 and j≤M, for cluster head ch j For example, the moment when the member node starts to collect data is ch j-1 Complete data transmission to the drone and fly to ch j The moment is regarded as the collection cluster C j The initial moment of information in cluster C j The nodes in the j Collect data and send the drone to ch j The moment is denoted as f j Then, the drone arrives at ch j The instantaneous spatial correlation information age (SCAoI) of the data collected at the time is expressed as:
[0123]
[0124] in, The time it takes for the k-1th node to transmit data to the cluster head node, when k = 1
[0125] S36. Member nodes collect data in different orders, which will affect the arrival of the drone at ch j The instantaneous spatial correlation information age SCAoI of the collected data is obtained, so it is necessary to optimize the data collection order of the nodes in the cluster, and the data collection order G in the cluster is expressed as:
[0126]
[0127] The constraints are: The constraints state that the flight time of the drone is related to the distance between two hovering positions in the trajectory.
[0128] The specific steps of the cluster head node transmitting data to the drone in step S4 are as follows:
[0129] S41. The nodes in the system are in a dormant state most of the time. When the drone follows the predetermined trajectory V, it moves from v l , l≠M to v l+1 When l+1 The corresponding nodes in the cluster will be awakened, collect data in order G and transmit them to the cluster head node in TDMA mode.
[0130] S42. During the transmission process from the member node to the cluster head node, the specific time required for the node to collect information is ignored. The time slot length of TDMA is the time length used by the member node to transmit data to the cluster head node. All member nodes in the cluster need to upload the collected data to the cluster head. Therefore, when the member nodes have not yet completed uploading and the drone has arrived above the cluster head, the drone needs to extend the hovering time and wait for all nodes to complete the upload task before the cluster head uploads data to the drone.
[0131] S43. The communication between member nodes and cluster head nodes adopts a point-to-point communication model on the ground, and its transmission rate is:
[0132]
[0133] In the above formula, B is the bandwidth of the system, p i is the transmission power of the node, p n is the noise power, g = β 0 d -α is the channel gain, where β 0 is the channel gain at the reference distance, d is the distance between the member node and the cluster head node, and α is a constant coefficient related to the environment. The time required for a member node to transmit a data packet with a data volume of L to the cluster head node is
[0134] The specific steps of the cluster head node transmitting data to the drone in step S6 are as follows:
[0135] S61. When the cluster head node uploads data to the UAV, a probability-based air-to-ground communication model is adopted. Assuming the existence of additive Gaussian white noise, the rate at which the cluster head node transmits data to the UAV hovering above it is expressed as:
[0136]
[0137] in is the average path loss for line-of-sight and non-line-of-sight transmission:
[0138]
[0139] P i (LoS) is the probability of line-of-sight transmission, and are the path losses for line-of-sight and non-line-of-sight transmission, respectively.
[0140]
[0141] Where β 1 With β 2 is a constant parameter related to environmental factors, θ i is the angle between the node uploading the data and the drone. Since the drone is hovering directly above the node to receive data, Path loss for line-of-sight and non-line-of-sight transmission Among them, PL i is the free path loss Where h is the flight altitude of the drone, f c is the carrier frequency, c is the speed of light, ζ LoS With NLoS The additional path loss is a constant. The time required for the cluster head node to transmit a data packet with a data volume of L to the drone is
[0142] The specific steps for determining the flight trajectory of the drone in step S7 are as follows:
[0143] S71. The data temporarily stored in the cluster head node needs to be uploaded to the drone, so the drone needs to hover for a certain period of time to receive the data. This part of time is recorded as H, which is the cumulative hovering time of the jth to Mth clusters in the trajectory, and is expressed as h j represents the hovering time on the jth cluster head node, then
[0144] S72. Use f j+1 represents the flight time from the jth cluster to the j+1th cluster, which is the same as the hovering time.
[0145] S73. Based on the clustering results, solve the drone trajectory problem consisting of M cluster head nodes and a data center DC. The calculation of the drone's hovering time and flight time depends on the drone's flight trajectory, so the trajectory problem V is expressed as:
[0146]
[0147] Constraints:
[0148] (2)h j =t u N j
[0149]
[0150] Constraints show that equation (1) indicates that the hovering time of the UAV depends on the number of nodes in the cluster and the time it takes for the cluster head node to transmit data to the UAV. Equation (2) indicates that the flight time of the UAV is related to the distance between the two hovering positions in the trajectory.
[0151] The specific steps of averaging the spatial correlation information age of all nodes in the data acquisition system in step S8 are as follows:
[0152] S81. The drone will move from C at time t j The collected data is offloaded to the DC. j The instantaneous spatial correlation information age SCAoI is expressed as:
[0153]
[0154] Then the average spatial correlation information age SCAoI of all nodes in the system is expressed as:
[0155]
[0156] By optimizing the number of clusters M, the flight trajectory V of the drone, and the information collection order G of the nodes in the cluster, the average spatial correlation information age SCAoI of all nodes in the system is minimized. The optimization problem P is expressed as:
[0157]
[0158] Constraints:
[0159]
[0160] (2)h j =t u N j
[0161]
[0162] Among them, constraint (1) indicates that when clustering, the distance between the member nodes and the cluster head node cannot be greater than the maximum communication distance of the nodes. Constraint (2) indicates that the hovering time of the drone depends on the number of nodes in the cluster and the time it takes for the cluster head node to transmit data to the drone. Constraint (3) indicates that the flight time of the drone is related to the distance between the two hovering positions in the trajectory.
[0163] Example 2
[0164] In a second aspect, the present embodiment provides a drone-assisted data collection system based on information age in the Internet of Things, including a processor and a storage medium;
[0165] The storage medium is used to store instructions;
[0166] The processor is used to operate according to the instructions to execute the steps of the method according to embodiment 1.
[0167] Example 3
[0168] In a third aspect, this embodiment provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the method described in Example 1 are implemented.
[0169] Example 4
[0170] In a fourth aspect, the present invention provides a computing device, comprising:
[0171] One or more processors, one or more memories, and one or more programs, wherein the one or more programs are stored in the one or more memories and are configured to be executed by the one or more processors, and the one or more programs include instructions for executing any of the methods described in Example 1.
[0172] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0173] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0174] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1A function specified in one or more boxes.
[0175] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0176] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A drone-assisted data collection method based on information age in the Internet of Things, characterized in that: The data collection system includes a drone, a data center DC, and multiple sensor nodes in a data collection area; the method includes: S1, construct an optimization problem P to minimize the average spatial correlation information age of all nodes in the data collection system, and decompose the optimization problem P into a clustering sub-problem P1, a node data collection order sub-problem P2 within a cluster, and a UAV flight trajectory sub-problem P3; S2, using sub-problem P1 to optimize clustering of all nodes in the region, and obtain clustering results; the clustering results include the number of clusters M, the cluster head node and member nodes of each cluster; S3, based on the clustering results, use sub-problem P2 to determine the order of data collection for nodes in each cluster; S4, based on the clustering results, use sub-problem P3 to determine the flight trajectory of the drone; S5. The drone, as a data collection device, moves from the data center DC according to the determined flight trajectory. The member nodes collect data according to the determined data collection order. Using the time when the drone transfers between hovering positions, the member nodes upload the collected data to the cluster head node in the form of time division multiple access (TDMA). When the drone hovers directly above the cluster head node, the cluster head node uploads the data collected by the cluster head node to the drone. The drone completes the flight trajectory to realize data collection of all nodes. Among them, sub-problem P1 is used to optimize clustering of all nodes in the region to obtain clustering results, including: S21. Sensor node n i ∈N={n1,n2,...,n N } Randomly distributed in a rectangular area with a side length of A and a coordinate of L i =(x i ,y i ), used to collect information about the surrounding environment; N nodes are divided into M clusters, with the cluster head node ch j ∈CH={ch1,ch2,...,ch M }and Binary variable γ ij =1 indicates node n i Belong to ch j is the cluster head, otherwise γ ij =0, and ch j The nodes in the same cluster are represented by a set C j ={n i |γ ij =1,n i ∈N}, 1≤j≤M, C j The number of internal nodes is denoted by N j ; S22. The clustering subproblem P1 is expressed as: The constraints are: (1) j=1,2,...,M The constraint indicates that when forming a cluster, the distance between the member nodes and the cluster head node cannot be greater than the maximum communication distance of the nodes; is member node n i With cluster head node ch j The distance between them, the maximum communication distance is R; Solve the clustering subproblem P1 and obtain the clustering result.
2. The method for drone-assisted data collection based on information age in the Internet of Things according to claim 1, characterized in that: The maximum and minimum distance clustering is used to solve the clustering subproblem P1.
3. The method for drone-assisted data collection based on information age in the Internet of Things according to claim 1, characterized in that: In step S3, determining the data collection order of each node in the cluster includes: S31. The drone follows the trajectory V = [v0, v1, ..., v M ,v M+1 ] movement, when the drone moves from the hovering position v l-1 Move to the hovering position v l When the flight time f l-1,l It is expressed as: Where (x l-1 ,y l-1 ), (x l ,y l ) are respectively v l-1 , v l The coordinates of the corresponding cluster head node; v is the flight speed of the drone; f l-1,l Concisely expressed as f l ; S32.t time cluster head node ch j The instantaneous spatial correlation information age Δ j C(t) is defined as: Where U(t) is the cluster head node ch at time t. j The total amount of data received, u k is the timestamp of the kth uploaded data. is the correlation coefficient, β1=0; d k is the minimum distance between the kth member node that uploads data to the cluster head node and the first k-1 nodes, ρ s is a constant, indicating the degree of spatial correlation; S33. Assume that the trajectory of the drone is V, and there is v j =ch j , j≠0,M+1 and j≤M, for the cluster head node ch j For example, the moment when the member node starts to collect data is ch j-1 Complete data transmission to the drone and fly to ch j The moment is regarded as the collection cluster C j The initial moment of information in cluster C j The nodes in the j Collect data and send the drone to ch j The moment is denoted as f j ; The drone arrives at the cluster head node ch j The instantaneous spatial correlation information age (SCAoI) of the data collected at the time is expressed as: in, The time it takes for the k-1th node to transmit data to the cluster head node, when k = 1 S34. Member nodes collect data in different orders, which will affect the arrival of the drone at the cluster head node ch j The instantaneous spatial correlation information age SCAoI of the collected data, the sub-problem P2 of the node data collection order G in the cluster is expressed as: The constraints are: (3) The constraints indicate the flight time of the drone and the distance between the two hovering positions in the trajectory. Related; Solve the sub-problem P2 of the data collection order of nodes within the cluster and obtain the data collection order of nodes within the cluster.
4. The method for drone-assisted data collection based on information age in the Internet of Things as claimed in claim 3, characterized in that: A greedy algorithm is used to solve the sub-problem P2 of the order of node data collection within the cluster.
5. The method for drone-assisted data collection based on information age in the Internet of Things as claimed in claim 3, characterized in that: In step S4, determining the flight trajectory of the drone includes: S41. Use h j represents the time spent on the jth cluster head node, the cumulative hovering time from the jth to the Mth cluster in the trajectory S42. Use f j+1 represents the flight time from the jth cluster to the j+1th cluster, and the cumulative flight time from the j+1th cluster to the M+1th cluster in the trajectory f M+1 represents the flight time from the Mth cluster back to the data center DC; S43. Based on the clustering results, the drone trajectory problem consisting of M cluster head nodes and a data center DC is solved; the calculation of the drone's hovering time and flight time depends on the drone's flight trajectory. The drone's flight trajectory V subproblem P3 is expressed as: Constraints: (2)h j =t u N j (3) Constraints: Formula (2) shows that the hovering time of the drone depends on the number of nodes in the cluster N j And the time t that the cluster head node transmits a data packet to the drone u , Formula (3) shows that the flight time of the UAV is j+1 The distance between the two hovering positions in the trajectory Related; Solve the UAV flight trajectory subproblem P3 to obtain the UAV flight trajectory.
6. The method for drone-assisted data collection based on information age in the Internet of Things as claimed in claim 5, characterized in that: The ant colony algorithm is used to solve the UAV flight trajectory subproblem P3.
7. The method for drone-assisted data collection based on information age in the Internet of Things as claimed in claim 4, characterized in that: The optimization problem P of minimizing the average spatial correlation information age of all nodes in the data acquisition system includes: At time t, the drone will be j The collected data is offloaded to the data center DC, cluster C j The instantaneous spatial correlation information age SCAoI is expressed as: The average spatial correlation information age SCAoI of all nodes in the system is expressed as: By optimizing the number of clusters M, the flight trajectory of the UAV V, and the data collection order G of the nodes in the cluster, the average spatial correlation information age SCAoI of all nodes in the system is minimized. The optimization problem P is expressed as: Constraints: (1) (2)h j =t u N j (3) Among them, constraint (1) indicates that when clustering, the distance between the member node and the cluster head node is It cannot be greater than the maximum communication distance R of the node. Constraint (2) indicates that the hovering time of the drone depends on the number of nodes N in the cluster. j And the time t that the cluster head node transmits a data packet to the drone u , constraint (3) indicates that the flight time of the UAV is f j+1 The distance between the two hovering positions in the trajectory Related.
8. A drone-assisted data collection system based on information age in the Internet of Things, characterized in that: including processor and storage medium; The storage medium is used to store instructions; The processor is configured to operate according to the instructions to execute the steps of the method according to any one of claims 1 to 7.
9. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
