Data unloading method for unmanned aerial vehicle power transmission line detection and related device thereof

Processing channel gain data through a fully connected neural network model and selecting the optimal data offloading strategy solves the problem of data transmission delay in UAV equipment detection of transmission lines in remote areas, achieves efficient data transmission and calculation rates, and reduces transmission costs time delay.

CN118632302AInactive Publication Date: 2024-09-10HANGZHOU HUIJIA INFORMATION TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202411059909.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-05
Publication Date
2024-09-10
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

In the inspection of transmission lines in remote areas, the drone equipment is too far away from the server, resulting in high data transmission delay, which reduces the efficiency of the drone inspection of transmission lines.

Method used

Using a fully connected neural network model combined with channel gain data, by obtaining the channel gain data between the sensor and the drone, noise processing is performed and different data transmission strategies are compared, and the optimal data offloading strategy is selected to reduce transmission delay and improve calculation rate.

Benefits of technology

It achieves a nearly optimal data offloading strategy, reduces time consumption, is suitable for time-varying channel conditions, reduces the transmission delay between UAV equipment and sensors, and improves the efficiency of transmission line detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118632302A
    Figure CN118632302A
Patent Text Reader

Abstract

The invention relates to a data unloading method for unmanned aerial vehicle power transmission line detection and a related device thereof, and the method comprises the steps: obtaining channel gain data between K sensors and an unmanned aerial vehicle, K being an integer greater than or equal to 1; inputting the channel gain data into a full-connection neural network model to obtain a first output result; performing noise processing on the first output result to obtain a second output result and a third output result; the data transmission rates corresponding to the first output result, the second output result and the third output result are compared, and an optimal data unloading strategy corresponding to the optimal output result of the K sensors is obtained; and in response to the optimal data unloading strategy, transmitting the power transmission line data acquired by the sensor to the unmanned aerial vehicle. According to the scheme provided by the invention, an approximately optimal unloading strategy can be obtained, the time consumption is smaller, a relatively high calculation rate can be achieved, the method is suitable for a time-varying channel state, and the transmission delay between the unmanned aerial vehicle equipment and the sensor is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of power transmission line inspection, and in particular to a data unloading method for UAV power transmission line inspection and a related device thereof. Background Art

[0002] With the rapid development of my country's smart grid, the scale of power transmission line network continues to expand. However, the traditional manual inspection method can no longer meet the growing demand for modern power transmission line monitoring. At present, intelligent equipment is gradually replacing redundant manual operation methods. Compared with traditional manual power inspection, the emergence of drone equipment has greatly reduced the investment cost of manual inspection and reduced the accident rate during manual operation.

[0003] In the transmission line inspection tasks in remote areas, the transmission lines are inspected by drone equipment. Often, because the transmission lines are too far away from the server, the data transmission delay is too high when the drone detects and monitors the transmission lines, making it impossible to transmit the detected data to the server in real time, reducing the efficiency of drone inspections of transmission lines. Summary of the invention

[0004] In order to solve or partially solve the problems existing in the related technology, the present application provides a data unloading method for UAV power transmission line detection and a related device, which can obtain a nearly optimal unloading strategy with less time consumption, can achieve a higher computing rate, is suitable for time-varying channel conditions, and reduces the transmission delay between UAV equipment and sensors.

[0005] In a first aspect, the present application provides a data unloading method for unmanned aerial vehicle power transmission line detection, comprising obtaining channel gain data between K sensors and a unmanned aerial vehicle, where K is an integer greater than or equal to 1; inputting the channel gain data into a fully connected neural network model to obtain a first output result, wherein the first output result is used to represent a first data unloading strategy for the K sensors; performing noise processing on the first output result to obtain a second output result and a third output result, wherein the second output result is used to represent a second data unloading strategy for the K sensors, and the third output result is used to represent a third data unloading strategy for the K sensors; comparing the data transmission rates corresponding to the first output result, the second output result, and the third output result, respectively, to obtain an optimal data unloading strategy corresponding to the optimal output results of the K sensors, wherein the optimal output result is selected from one of the first output result, the second output result, and the third output result; in response to the optimal data unloading strategy, transmitting the power transmission line data obtained by the sensor to the unmanned aerial vehicle.

[0006] In combination with the first aspect, in a possible implementation manner of the first aspect, obtaining the channel gain between each of the sensors and the drone includes: obtaining the coordinates of the drone and the coordinates of each of the sensors; obtaining the distance between the drone and each of the sensors based on the coordinates of the drone and the coordinates of each of the sensors; and obtaining the channel gain between the drone and each of the sensors based on the distance between the drone and each of the sensors.

[0007] In combination with the first aspect, in a possible implementation of the first aspect, the fully connected neural network model includes 1 input layer, 2 hidden layers and 1 output layer, the first hidden layer has 200 neurons, the second hidden layer has 120 neurons, and the output layer has K neurons.

[0008] In combination with the first aspect, in a possible implementation of the first aspect, the activation function in the fully connected neural network model is a Sigmoid function. In combination with the first aspect, in a possible implementation of the first aspect, the performing noise processing on the first output result to obtain the second output result and the third output result includes: adding a first Gaussian white noise to the first output result to obtain the second output result; adding a second Gaussian white noise to the first output result to obtain the third output result.

[0009] In combination with the first aspect, in a possible implementation manner of the first aspect, the first Gaussian white noise and the second Gaussian white noise are random numbers between 0 and 1 respectively.

[0010] In combination with the first aspect, in a possible implementation manner of the first aspect, comparing the data transmission rates corresponding to the first output result, the second output result, and the third output result respectively to obtain the optimal data offloading strategy for the K sensors includes: calculating the data transmission rates of the K sensors in the first output result, the second output result, and the third output result respectively by using a data transmission rate formula, and the data transmission rate formula is:

[0011] in, B is the channel bandwidth, f k is the number of operations per second performed by the local calculation of the Kth sensor, i is the number of operations consumed to calculate one bit of data, N 0 is the noise power, h k The channel gain between the Kth sensor and the UAV, p k is the transmission power of the Kth sensor; is the task offloading strategy for the Kth sensor, where is 1 or 0, if =1, the sensor transmits the acquired power line data to the UAV. =0, the sensor performs local calculation on the acquired transmission line data; compares the data transmission rates corresponding to the first output result, the second output result and the third output result respectively, and obtains the optimal output result corresponding to the maximum data transmission rate, and the optimal output result is used to represent the optimal data unloading strategy of the K sensors. The second aspect of the present application provides a data unloading device, including an acquisition module, used to acquire channel gain data between K sensors and a drone, K is an integer greater than or equal to 1; an output module, used to input the channel gain data into a fully connected neural network model to obtain a first output result, the first output result is used to represent a first task unloading strategy of the K sensors; a processing module, used to perform noise processing on the first output result to obtain a second output result and a third output result, the second output result is used to represent the second task unloading strategy of the K sensors, and the third output result is used to represent the third task unloading strategy of the K sensors; a comparison module, used to compare the data transmission rates corresponding to the first output result, the second output result and the third output result, respectively, to obtain an optimal data unloading strategy for the K sensors, the optimal data unloading strategy being selected from one of the first task unloading strategy, the second task unloading strategy and the third task unloading strategy; a transmission module, used to transmit the acquired power transmission line data to the drone by the sensor in response to the optimal data unloading strategy.

[0012] In combination with the second aspect, in a possible implementation of the second aspect, the acquisition module is also used to acquire the coordinates of the drone and the coordinates of each of the sensors; obtain the distance between the drone and each of the sensors based on the coordinates of the drone and the coordinates of each of the sensors; and obtain the channel gain between the drone and each of the sensors based on the distance between the drone and each of the sensors.

[0013] In combination with the second aspect, in a possible implementation of the second aspect, the processing module is also used to add a first Gaussian white noise to the first output result to obtain the second output result; and add a second Gaussian white noise to the first output result to obtain the third output result.

[0014] In combination with the second aspect, in a possible implementation manner of the second aspect, the comparison module is further used to compare the data transmission rates corresponding to the first output result, the second output result, and the third output result, respectively, to obtain the optimal data offloading strategy for the K sensors, including: The data transmission rates of the K sensors in the first output result, the second output result, and the third output result are calculated respectively by a data transmission rate formula, and the data transmission rate formula is: in, B is the channel bandwidth, f k is the number of operations per second performed by the local calculation of the Kth sensor, i is the number of operations consumed to calculate one bit of data, N 0 is the noise power, h k The channel gain between the Kth sensor and the UAV, p k is the transmission power of the Kth sensor; is the task offloading strategy for the Kth sensor, where is 1 or 0, if =1, the sensor transmits the acquired power line data to the UAV. =0, the sensor performs local calculation on the acquired transmission line data; compares the data transmission rates corresponding to the first output result, the second output result and the third output result respectively, and obtains the optimal output result corresponding to the maximum data transmission rate, and the optimal output result is used to represent the optimal data unloading strategy of the K sensors.

[0015] A third aspect of the present application provides an electronic device, including: Processor; and The memory stores executable codes thereon, and when the executable codes are executed by the processor, the processor is caused to execute the method as described above.

[0016] A fourth aspect of the present application provides a computer-readable storage medium having executable code stored thereon. When the executable code is executed by a processor of an electronic device, the processor is caused to execute the method as described above.

[0017] The technical solution provided by this application may have the following beneficial effects: The data unloading method for UAV power transmission line detection of the present application includes: obtaining channel gain data between K sensors and the UAV, K is an integer greater than or equal to 1; inputting the channel gain data into a fully connected neural network model to obtain a first output result, the first output result is used to represent a first data unloading strategy of the K sensors; performing noise processing on the first output result to obtain a second output result and a third output result, the second output result is used to represent a second data unloading strategy of the K sensors, and the third output result is used to represent a third data unloading strategy of the K sensors; comparing the data transmission rates corresponding to the first output result, the second output result and the third output result respectively, obtaining an optimal data unloading strategy corresponding to the optimal output results of the K sensors, the optimal output result being selected from one of the first output result, the second output result and the third output result; in response to the optimal data unloading strategy, transmitting the power transmission line data obtained by the sensor to the UAV, so that a nearly optimal unloading strategy can be obtained, and has less time consumption, can achieve a higher calculation rate, is suitable for time-varying channel states, and reduces the transmission delay between the UAV device and the sensor.

[0018] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The above and other objects, features and advantages of the present application will become more apparent by describing in more detail exemplary embodiments of the present application in conjunction with the accompanying drawings, wherein the same reference numerals generally represent the same components in the exemplary embodiments of the present application.

[0020] Figure 1 It is a flow chart of a data unloading method for UAV power transmission line detection shown in an embodiment of the present application; Figure 2 is a structural schematic diagram of a data unloading device shown in an embodiment of the present application; Figure 3 It is a schematic diagram of the structure of an electronic device shown in an embodiment of the present application. DETAILED DESCRIPTION

[0021] The embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present application more thorough and complete, and to fully convey the scope of the present application to those skilled in the art.

[0022] The terms used in this application are for the purpose of describing specific embodiments only and are not intended to limit this application. The singular forms of "a", "an" and "the" used in this application and the appended claims are also intended to include plural forms unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more associated listed items.

[0023] It should be understood that although the terms "first", "second", "third", etc. may be used in this application to describe various information, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this application, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Thus, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of this application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0024] The power system is known for its multi-level structure and node fusion, forming a real-time dynamic system. In the power system, transmission line inspection is a critical operational task, and its main goal is to quickly identify abnormal conditions affecting electrical equipment and potential transmission line hazards. With the rapid development of my country's smart grid, the scale of transmission line networks continues to expand. However, traditional manual inspection methods have been unable to meet the growing demand for contemporary transmission line monitoring.

[0025] At present, drones have been widely used in the field of power transmission line inspection. With the continuous advancement of drone-based power transmission line inspection technology, drones can play a dual role as edge servers, providing a platform for offloading sensor data and subsequent sensor data calculation and analysis. However, in the task of power transmission line inspection in remote areas, the use of drone equipment to inspect the transmission line often results in a high data transmission delay when the drone inspects and monitors the transmission line because the transmission line is too far away from the server, making it impossible to transmit the detected data to the server in real time, reducing the efficiency of drone inspection of the transmission line.

[0026] In response to the above problems, an embodiment of the present application provides a data unloading method for UAV power transmission line detection, which can obtain a nearly optimal unloading strategy with less time consumption, can achieve a higher computing rate, is suitable for time-varying channel conditions, and reduces the transmission delay between UAV equipment and sensors.

[0027] First, some of the terms and related technologies involved in this application are explained to facilitate understanding by those skilled in the art.

[0028] Channel gain indicates the transmission capacity of the signal in the channel, and is usually expressed by the quality of the channel or the signal strength. An increase in channel gain means that the transmission capacity of the signal in the channel is enhanced, which can improve the communication quality. The increase in channel gain may be due to factors such as more available paths in the channel, a better wireless environment, and a stronger signal source. The channel gain between the drone and the sensor can be affected by the distance between the drone and the sensor.

[0029] Data offloading refers to the process of transferring data processing, storage or analysis tasks from resource-constrained devices (such as mobile devices, sensors, edge devices, etc.) to remote devices or services with higher performance, more resources or more professional processing capabilities. Drones can obtain data transmitted by sensors, and sensors can transmit data to drones for calculation based on data offloading strategies.

[0030] The fully connected neural network model (Fully Connected Neural Network, FCNN) is a basic neural network structure. In a fully connected neural network, each neuron is connected to all neurons in the previous layer, and each connection has a weight, which is used to describe the relationship between input and output. When receiving the input signal, the network calculates the activation value of each neuron by weighted summation, and then obtains the final output through a nonlinear activation function (such as ReLU or sigmoid). Gaussian White Noise is an ideal noise model, whose characteristics are that the probability density function follows the Gaussian distribution, while the power spectrum density is uniformly distributed. Gaussian white noise includes thermal noise and shot noise, etc., and is an ideal model for analyzing channel additive noise. In practical applications, Gaussian white noise is often used as a background noise model to evaluate system performance. Its definition emphasizes the statistical characteristics of noise and the uniformity of power spectrum density, which makes it occupy an important position in both theory and practical applications, and helps to analyze and predict the impact of noise on system performance.

[0031] The technical solution of the embodiments of the present application is described in detail below with reference to the accompanying drawings.

[0032] Figure 1 It is a flow chart of a data unloading method for UAV power transmission line detection shown in an embodiment of the present application.

[0033] See also Figure 1 , a data unloading method for UAV power transmission line detection, including but not limited to the following steps: S110: Acquire channel gain data between K sensors and the drone, where K is an integer greater than or equal to 1.

[0034] Specifically, on a transmission line, a transmission line detection system consisting of a drone and K sensors can be built. An edge server (near the data source or user) can be deployed on the drone. The sensor can transmit the acquired data on the transmission line to the drone for edge computing, and the channel gain data between the sensor and the drone can be obtained.

[0035] In a specific implementation, the coordinates of the drone and the coordinates of each sensor are obtained; based on the coordinates of the drone and the coordinates of each sensor, the distance between the drone and each sensor is obtained; based on the distance between the drone and each sensor, the channel gain between the drone and each sensor is obtained.

[0036] Specifically, in a power transmission line detection system consisting of a UAV and K sensors, a two-dimensional plane coordinate system parallel to the ground can be established according to the height of the sensor, and the position of the sensor is w k =(x k ,y k ), 0 <k≤K,x k is the horizontal coordinate of the sensor k position, y k is the horizontal coordinate of the sensor k position; the sensor can monitor the transmission line status data, and can calculate the transmission line status data locally, or can wirelessly transmit the transmission line status data to the drone through an orthogonal channel for edge computing to identify the transmission line fault; the position of the drone is (x u , y u ), x u is the horizontal coordinate of the drone’s position, y u It is the ordinate of the drone’s position. The distance between each sensor and the drone can be obtained through the coordinates of each sensor and the drone in the two-dimensional plane coordinate system. The channel gain data between the drone and each sensor can be obtained through the distance between each sensor and the drone.

[0037] Specifically, the UAV can patrol on the transmission line, and the channel gain data between the UAV and each sensor can be obtained according to the actual coordinates of the UAV in the two-dimensional plane coordinate system.

[0038] S120: Input the channel gain data into a fully connected neural network model to obtain a first output result, where the first output result is used to represent a first data offloading strategy for the K sensors.

[0039] Specifically, the channel gain data between each sensor and the drone can be different or the same. The channel gain data is input into the fully connected neural network model, where the channel gain data can be h=[h1,h2,…,h k ],h k is the channel gain between the kth sensor and the drone. For example, when the number of sensors is 10, the channel gain data can be expressed as h=[h1,h2,…,h k ,…,h 10 ],h k is the channel gain between the kth sensor and the drone, and the first output result of the fully connected neural network model can be obtained. The first output result can be used to represent the first data offloading strategy of K sensors. For example, the first output result can be a=(a1, a2, …, a k ,…, a K ), a can be used to represent the offloading strategy of all sensors. k =0, k=1, 2, …, K, it means that the data of the kth sensor is calculated locally; when a k =1, k=1, 2, …, K, indicating that the data of the kth sensor is transmitted to the drone for edge computing.

[0040] In a specific embodiment, the fully connected neural network model includes 1 input layer, 2 hidden layers and 1 output layer, wherein the input layer has 1 neuron, the first hidden layer has 200 neurons, the second hidden layer has 120 neurons, and the output layer has K neurons. The K neurons in the output layer can be associated with the K sensors, that is, the number of sensors corresponds to the number of neurons in the output layer, wherein the activation function can be a Sigmoid function, which is not limited here. In other embodiments, the model structure of the fully connected neural network model can be adjusted according to actual needs.

[0041] In a specific implementation, in order to ensure the accuracy of the output of the fully connected neural network model, the fully connected neural network model may be pre-trained in advance.

[0042] S130: Perform noise processing on the first output result to obtain a second output result and a third output result, wherein the second output result is used to represent a second data offloading strategy for the K sensors, and the third output result is used to represent a third data offloading strategy for the K sensors.

[0043] Specifically, by performing noise processing on the first output result, the second output result and the third output result can be obtained. The first output result can be O, The second output result can be O 1 ,The third output result can be O 2. When there are 10 sensors, the first output result is O= [1, 0, 1, 0, 1, 0, 1, 0, 1, 0], the second output is O 1=[1, 0,1, 0, 1, 1, 1, 1, 0], the third output is O 2=[1, 0, 1, 0, 1, 0, 0, 0, 0, 0], the first output is O、 Second output result O 1、 The third output result O 2 respectively correspond to the first data offloading strategy, the second data offloading strategy, and the third data offloading strategy of the sensor.

[0044] In a specific implementation, a first Gaussian white noise is added to the first output result to obtain a second output result; a second Gaussian white noise is added to the first output result to obtain a third output result, and the first Gaussian white noise and the second Gaussian white noise are random numbers between 0 and 1 respectively.

[0045] Specifically, performing noise processing on the first output result may be adding a first Gaussian white noise and a second Gaussian white noise to the first output result, and obtaining a second output result after adding the first Gaussian white noise and a third output result after adding the second Gaussian white noise, respectively.

[0046] S140: Compare the data transmission rates corresponding to the first output result, the second output result and the third output result respectively, and obtain the optimal data offloading strategy corresponding to the optimal output results of the K sensors, where the optimal output result is selected from one of the first output result, the second output result and the third output result.

[0047] Specifically, the data transmission rates corresponding to the first output result, the second output result, and the third output result are calculated respectively, and the task offloading strategy corresponding to the maximum data transmission rate is obtained and used as the optimal task offloading strategy.

[0048] In a specific implementation, the data transmission rates of the K sensors in the first output result, the second output result, and the third output result are calculated respectively by a data transmission rate formula, and the data transmission rate formula is: in, B is the channel bandwidth, f k is the number of operations per second performed by the local calculation of the Kth sensor, i is the number of operations consumed to calculate one bit of data, N 0 is the noise power, hk The channel gain between the Kth sensor and the drone, p k is the transmission power of the Kth sensor; is the task offloading strategy for the Kth sensor, where is 1 or 0, if =1, the sensor will transmit the acquired power line data to the UAV. =0, the sensor will perform local calculation on the acquired transmission line data; compare the data transmission rates corresponding to the first output result, the second output result and the third output result respectively, and obtain the optimal output result corresponding to the maximum data transmission rate, and the optimal output result is used to represent the optimal data offloading strategy for K sensors.

[0049] Specifically, by inputting various data of each sensor into the data transmission rate formula, the data transmission rates corresponding to the first data unloading strategy, the second data unloading strategy and the third data unloading strategy can be obtained respectively. The data unloading strategy corresponding to the maximum data transmission rate is obtained by comparison and used as the optimal data unloading strategy. For example, through the data transmission formula calculation, the first data unloading strategy corresponding to the first output result has the maximum data transmission rate, then the first data unloading strategy is determined as the optimal data unloading strategy.

[0050] S150: In response to the optimal data offloading strategy, the power transmission line data acquired by the sensor is transmitted to the UAV.

[0051] Specifically, the sensor can transmit the acquired power transmission line data to the drone for edge computing according to the optimal data offloading strategy. For example, when the number of sensors is 10, when the first data offloading strategy represented by the first output result is the optimal data offloading strategy, the first output result can be O= [1, 0, 1, 0, 1, 0, 1, 0, 1, 0], which means the data offloading strategy for all sensors is O= [1, 0, 1, 0, 1, 0, 1, 0, 1, 0], the data offloading policy of the first sensor is a1=1, the data offloading policy of the second sensor is a2=0, the data offloading policy of the third sensor is a3=1, the data offloading policy of the fourth sensor is a4=0, the data offloading policy of the fifth sensor is a5=1, the data offloading policy of the sixth sensor is a6=0, the data offloading policy of the seventh sensor is a7=1, the data offloading policy of the eighth sensor is a8=0, the data offloading policy of the ninth sensor is a9=1, and the data offloading policy of the tenth sensor is a 10 =0, when =1, the sensor will transmit the acquired power line data to the UAV. =0, the sensor will perform local calculation on the acquired transmission line data, and the first sensor, the third sensor, the fifth sensor, the seventh sensor, and the ninth sensor will all transmit the acquired transmission line data to the drone for edge computing; the second sensor, the fourth sensor, the fifth sensor, the sixth sensor, the eighth sensor, and the tenth sensor will all perform local calculation on the acquired transmission line data. Through this data offloading strategy, a higher calculation rate can be achieved, which is suitable for time-varying channel states and reduces the transmission delay between drone equipment and sensors. The calculation delay can be within 0.1 seconds.

[0052] The task offloading method of the UAV power transmission line detection of the present application includes: obtaining channel gain data between K sensors and the UAV, K is an integer greater than or equal to 1; inputting the channel gain data into a fully connected neural network model to obtain a first output result, the first output result is used to represent a first data offloading strategy of the K sensors; performing noise processing on the first output result to obtain a second output result and a third output result, the second output result is used to represent a second data offloading strategy of the K sensors, and the third output result is used to represent a third data offloading strategy of the K sensors; comparing the data transmission rates corresponding to the first output result, the second output result and the third output result respectively, obtaining an optimal data offloading strategy corresponding to the optimal output results of the K sensors, the optimal output result being selected from one of the first output result, the second output result and the third output result; in response to the optimal data offloading strategy, transmitting the power transmission line data obtained by the sensor to the UAV, so that a nearly optimal offloading strategy can be obtained, and has less time consumption, can achieve a higher calculation rate, is suitable for time-varying channel states, and reduces the transmission delay between the UAV device and the sensor.

[0053] Corresponding to the aforementioned application function implementation method embodiment, the present application also provides a data unloading device, an electronic device and corresponding embodiments.

[0054] Figure 2 It is a structural schematic diagram of a data unloading device shown in an embodiment of the present application.

[0055] See also Figure 2 , a data unloading device 200, including an acquisition module 210, an output module 220, a processing module 230, a comparison module 240, and a transmission module 250. Among them, The acquisition module 210 is used to obtain channel gain data between K sensors and the drone, where K is an integer greater than or equal to 1.

[0056] Specifically, on a transmission line, a transmission line detection system consisting of a drone and K sensors can be built. An edge server (near the data source or user) can be deployed on the drone. The sensor can transmit the acquired data on the transmission line to the drone for edge computing, and the channel gain data between the sensor and the drone can be obtained.

[0057] The output module 220 is used to input the channel gain data into the fully connected neural network model to obtain a first output result, and the first output result is used to represent the first task offloading strategy of the K sensors.

[0058] Specifically, the channel gain data between each sensor and the drone can be different or the same. The channel gain data is input into the fully connected neural network model, where the channel gain data can be h=[h1,h2,…,h k ],h k is the channel gain between the kth sensor and the drone. For example, when the number of sensors is 10, the channel gain data can be expressed as h=[h1,h2,…,h k ,…,h 10 ],h k is the channel gain between the kth sensor and the drone, and the first output result of the fully connected neural network model can be obtained. The first output result can be used to represent the first data offloading strategy of K sensors. For example, the first output result can be a=(a1, a2, …, a k ,…, a K ), a can be used to represent the offloading strategy of all sensors. k =0, k=1, 2, …, K, it means that the data of the kth sensor is calculated locally; when a k =1, k=1, 2, …, K, indicating that the data of the kth sensor is transmitted to the drone for edge computing.

[0059] The processing module 230 is used to perform noise processing on the first output result to obtain a second output result and a third output result, wherein the second output result is used to represent the second task offloading strategy of the K sensors, and the third output result is used to represent the third task offloading strategy of the K sensors.

[0060] Specifically, by performing noise processing on the first output result, the second output result and the third output result can be obtained. The first output result can be O, The second output result can be O 1 , The third output result can be O 2. When there are 10 sensors, the first output result is O=[1, 0, 1, 0, 1, 0, 1, 0, 1, 0], the second output is O 1=[1, 0,1, 0, 1, 1, 1, 1, 0], the third output is O 2=[1, 0, 1, 0, 1, 0, 0, 0, 0, 0], the first output is O、 Second output result O 1、 The third output result O 2 respectively correspond to the first data offloading strategy, the second data offloading strategy, and the third data offloading strategy of the sensor.

[0061] The comparison module 240 is used to compare the data transmission rates corresponding to the first output result, the second output result and the third output result respectively, and obtain the optimal data offloading strategy of the K sensors, where the optimal data offloading strategy is selected from one of the first task offloading strategy, the second task offloading strategy and the third task offloading strategy.

[0062] Specifically, the data transmission rates corresponding to the first output result, the second output result, and the third output result are calculated respectively, and the task offloading strategy corresponding to the maximum data transmission rate is obtained and used as the optimal task offloading strategy.

[0063] The transmission module 250 is used for transmitting the acquired power transmission line data to the UAV by the sensor in response to the optimal data offloading strategy.

[0064] Specifically, the sensor can transmit the acquired power transmission line data to the drone for edge computing according to the optimal data offloading strategy. For example, when the number of sensors is 10, when the first data offloading strategy represented by the first output result is the optimal data offloading strategy, the first output result can be O= [1, 0, 1, 0, 1, 0, 1, 0, 1, 0], which means the data offloading strategy for all sensors is O= [1, 0, 1, 0, 1, 0, 1, 0, 1, 0], the data offloading policy of the first sensor is a1=1, the data offloading policy of the second sensor is a2=0, the data offloading policy of the third sensor is a3=1, the data offloading policy of the fourth sensor is a4=0, the data offloading policy of the fifth sensor is a5=1, the data offloading policy of the sixth sensor is a6=0, the data offloading policy of the seventh sensor is a7=1, the data offloading policy of the eighth sensor is a8=0, the data offloading policy of the ninth sensor is a9=1, and the data offloading policy of the tenth sensor is a 10 =0, when =1, the sensor will transmit the acquired power line data to the UAV. =0, the sensor will perform local calculation on the acquired transmission line data, and the first sensor, the third sensor, the fifth sensor, the seventh sensor, and the ninth sensor will all transmit the acquired transmission line data to the drone for edge computing; the second sensor, the fourth sensor, the fifth sensor, the sixth sensor, the eighth sensor, and the tenth sensor will all perform local calculation on the acquired transmission line data. Through this data offloading strategy, a higher calculation rate can be achieved, which is suitable for time-varying channel states and reduces the transmission delay between drone equipment and sensors. The calculation delay can be within 0.1 seconds.

[0065] The data unloading device of the present application includes: obtaining channel gain data between K sensors and a drone, K is an integer greater than or equal to 1; inputting the channel gain data into a fully connected neural network model to obtain a first output result, the first output result is used to represent a first data unloading strategy of the K sensors; performing noise processing on the first output result to obtain a second output result and a third output result, the second output result is used to represent a second data unloading strategy of the K sensors, and the third output result is used to represent a third data unloading strategy of the K sensors; comparing the data transmission rates corresponding to the first output result, the second output result and the third output result respectively, to obtain an optimal data unloading strategy corresponding to the optimal output results of the K sensors, the optimal output result being selected from one of the first output result, the second output result and the third output result; in response to the optimal data unloading strategy, transmitting the power transmission line data obtained by the sensor to the drone, so that a nearly optimal unloading strategy can be obtained, with less time consumption, and a higher calculation rate can be achieved, which is suitable for time-varying channel states and reduces the transmission delay between drone equipment and sensors.

[0066] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated again here.

[0067] Figure 3 It is a schematic diagram of the structure of an electronic device shown in an embodiment of the present application.

[0068] See also Figure 3 , the electronic device 300 includes a memory 310 and a processor 320.

[0069] The processor 320 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0070] The memory 310 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage. Among them, ROM can store static data or instructions required by the processor 320 or other modules of the computer. The permanent storage device may be a readable and writable storage device. The permanent storage device may be a non-volatile storage device that does not lose the stored instructions and data even after the computer is powered off. In some embodiments, the permanent storage device uses a large-capacity storage device (such as a magnetic or optical disk, flash memory) as a permanent storage device. In some other embodiments, the permanent storage device may be a removable storage device (such as a floppy disk, optical drive). The system memory may be a readable and writable storage device or a volatile readable and writable storage device, such as a dynamic random access memory. The system memory may store some or all instructions and data required by the processor at run time. In addition, the memory 310 may include any combination of computer-readable storage media, including various types of semiconductor storage chips (such as DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and disks and / or optical disks may also be used. In some embodiments, the memory 310 may include a readable and / or writable removable storage device, such as a laser disc (CD), a read-only digital versatile disc (such as a DVD-ROM, a double-layer DVD-ROM), a read-only Blu-ray disc, an ultra-density optical disc, a flash memory card (such as an SD card, a mini SD card, a Micro-SD card, etc.), a magnetic floppy disk, etc. Computer-readable storage media do not include carrier waves and transient electronic signals transmitted wirelessly or wired.

[0071] The memory 310 stores executable codes, and when the executable codes are processed by the processor 320 , the processor 320 can execute part or all of the methods described above.

[0072] In addition, the method according to the present application may also be implemented as a computer program or a computer program product, which includes computer program code instructions for executing some or all of the steps in the above method of the present application.

[0073] Alternatively, the present application can also be implemented as a computer-readable storage medium (or non-transitory machine-readable storage medium or machine-readable storage medium) on which executable code (or computer program or computer instruction code) is stored. When the executable code (or computer program or computer instruction code) is executed by a processor of an electronic device (or server, etc.), the processor executes part or all of the steps of the above-mentioned method according to the present application.

[0074] The embodiments of the present application have been described above, and the above description is exemplary, not exhaustive, and is not limited to the disclosed embodiments. Many modifications and changes will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The selection of terms used herein is intended to best explain the principles of the embodiments, practical applications, or improvements to the technology in the market, or to enable other persons of ordinary skill in the art to understand the embodiments disclosed herein.

Claims

1. A data offloading method for UAV power transmission line detection, It is characterized in that include: Obtain channel gain data between K sensors and the drone, where K is an integer greater than or equal to 1; Inputting the channel gain data into a fully connected neural network model to obtain a first output result, where the first output result is used to represent a first data offloading strategy for the K sensors; Performing noise processing on the first output result to obtain a second output result and a third output result, wherein the second output result is used to represent a second data offloading strategy for the K sensors, and the third output result is used to represent a third data offloading strategy for the K sensors; Comparing the data transmission rates corresponding to the first output result, the second output result, and the third output result, respectively, to obtain an optimal task offloading strategy corresponding to the optimal output results of the K sensors, wherein the optimal output result is selected from one of the first output result, the second output result, and the third output result; In response to the optimal data offloading strategy, the power transmission line data acquired by the sensor is transmitted to the drone.

2. The method according to claim 1, It is characterized in that The step of obtaining the channel gain uncle between each of the sensors and the drone includes: Obtaining the coordinates of the drone and the coordinates of each of the sensors; Obtaining the distance between the drone and each of the sensors according to the coordinates of the drone and the coordinates of each of the sensors; According to the distance between the UAV and each of the sensors, channel gain data between the UAV and each of the sensors is obtained.

3. The method according to claim 1, It is characterized in that The fully connected neural network model includes 1 input layer, 2 hidden layers and 1 output layer, the first hidden layer has 200 neurons, the second hidden layer has 120 neurons, and the output layer has K neurons.

4. The method according to claim 3, It is characterized in that The activation function in the fully connected neural network model is the Sigmoid function.

5. The method according to claim 1, It is characterized in that The performing noise processing on the first output result to obtain a second output result and a third output result includes: Adding first Gaussian white noise to the first output result to obtain the second output result; A second Gaussian white noise is added to the first output result to obtain the third output result.

6. The method according to claim 5, It is characterized in that include: The first Gaussian white noise and the second Gaussian white noise are random numbers between 0 and 1 respectively.

7. The method according to claim 1, It is characterized in that The comparing the data transmission rates corresponding to the first output result, the second output result, and the third output result, respectively, to obtain the optimal data offloading strategy for the K sensors includes: The data transmission rates of the K sensors in the first output result, the second output result, and the third output result are calculated respectively by a data transmission rate formula, and the data transmission rate formula is: in, B is the channel bandwidth, f k is the number of operations per second performed by the local calculation of the Kth sensor, i is the number of operations consumed to calculate one bit of data, N 0 is the noise power, h k The channel gain between the Kth sensor and the UAV, p k is the transmission power of the Kth sensor; is the task offloading strategy for the Kth sensor, where is 1 or 0, if =1, the sensor transmits the acquired power line data to the UAV. =0, the sensor performs local calculation on the acquired transmission line data; The data transmission rates corresponding to the first output result, the second output result and the third output result are compared to obtain an optimal output result corresponding to the maximum data transmission rate, wherein the optimal output result is used to represent an optimal data offloading strategy for the K sensors.

8. A data unloading device, It is characterized in that include: An acquisition module is used to obtain channel gain data between K sensors and the UAV, where K is an integer greater than or equal to 1; An output module, used for inputting the channel gain data into a fully connected neural network model to obtain a first output result, wherein the first output result is used to represent a first task offloading strategy for the K sensors; a processing module, configured to perform noise processing on the first output result to obtain a second output result and a third output result, wherein the second output result is used to represent a second task offloading strategy for the K sensors, and the third output result is used to represent a third task offloading strategy for the K sensors; a comparison module, configured to compare the data transmission rates corresponding to the first output result, the second output result, and the third output result, respectively, to obtain an optimal data offloading strategy for the K sensors, wherein the optimal data offloading strategy is selected from one of the first task offloading strategy, the second task offloading strategy, and the third task offloading strategy; A transmission module is used for transmitting the acquired power transmission line data by the sensor to the UAV in response to the optimal data offloading strategy.

9. An electronic device, It is characterized in that include: processor; as well as A memory having executable codes stored thereon, which, when executed by the processor, causes the processor to execute the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, Features: An executable code is stored thereon, and when the executable code is executed by a processor of an electronic device, the processor is caused to execute the method as claimed in any one of claims 1 to 7.

Citation Information

Patent Citations

  • Unmanned aerial vehicle power transmission line cyclic detection task unloading method based on neural network

    CN117729584A