A method and apparatus for optimizing power service delay

By predicting and optimizing the delay of power services in UAV equipment in ad hoc networks, the problem of coverage and delay requirements of power communication networks in remote areas is solved, and the efficiency of power business processing is improved.

CN115001970BActive Publication Date: 2024-09-17GLOBAL ENERGY INTERCONNECTION RES INST CO LTD +2
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202210588262.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-26
Publication Date
2024-09-17
Estimated Expiration
2042-05-26

AI Technical Summary

Technical Problem

It is difficult for existing power communication networks to provide timely coverage in remote areas and meet the low-latency transmission and calculation requirements of power equipment. In particular, some key services have extremely high latency requirements, which traditional deep coverage solutions cannot meet.

Method used

By receiving the service processing request of the power terminal in the UAV equipment in the ad hoc network, the UAV and terminal parameters are obtained, the delay data of the electric power service is predicted, and based on this, the delay optimization strategy is determined and the minimum delay data is calculated. to optimize the processing process.

Benefits of technology

It has realized the optimization of delay, met the high delay requirements of some key power services, and improved the efficiency of UAV equipment in processing power services.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115001970B
    Figure CN115001970B
Patent Text Reader

Abstract

The present application discloses a method and device for optimizing power service delay. The method provided in the embodiment of the present application uses the drone equipment in the self-organizing network to predict the predicted delay data of a certain power service in a certain power terminal based on the terminal parameters of the power terminal and the drone parameters of the drone equipment before processing the power service of the power terminal within its coverage area. Then, the predicted delay data is used to determine the delay optimization strategy, and the predicted delay data is optimized using the delay optimization strategy to obtain the minimum delay data, so that the drone equipment can subsequently use the minimum delay data to process the power service, thereby optimizing the delay, meeting the high delay requirements of some key power services, and improving the efficiency of drone equipment in processing power services.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a method and device for optimizing power service delay. Background Art

[0002] As the scale of power systems becomes increasingly complex and large, power communication networks are also developing to provide support. However, existing power communication networks and wireless public networks are difficult to cover some remote areas where power facilities are distributed, and cannot provide timely support when infrastructure is affected by natural disasters.

[0003] Drones have the characteristics of strong environmental adaptability, flexible deployment, agility, and low maintenance cost. They also have the ability to send and receive information, making them suitable for deployment in areas where deep coverage of power communication networks is required. However, the data throughput of a single drone is low and cannot meet the needs of low-latency transmission of power equipment and latency-sensitive computing services. In addition, traditional deep coverage solutions only focus on solving the size of the coverage area and providing conventional communication capabilities to all terminals within the coverage area without distinction. There are many types of power services, and the requirements for latency are also different. In particular, some key services have extremely high latency requirements, which cannot be met by traditional deep coverage solutions. Summary of the invention

[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the present application provides a method and device for optimizing power service delay.

[0005] According to one aspect of an embodiment of the present application, a method for optimizing power service delay is provided, which is applied to a drone device in an ad hoc network, and the method includes:

[0006] Receiving a service processing request sent by at least one power terminal in the ad hoc network, wherein the service processing request carries terminal parameters corresponding to the power terminal;

[0007] Acquire drone parameters corresponding to the drone device, and determine predicted delay data of the power service in the power terminal during processing based on the drone parameters and the terminal parameters;

[0008] Determining a delay optimization strategy for the power business during processing using the predicted delay data;

[0009] The minimum delay data is calculated based on the delay optimization strategy, and the power service in the power terminal is processed using the minimum delay data.

[0010] Furthermore, the determining, based on the drone parameters and the terminal parameters, predicted delay data of the power service in the power terminal during processing includes:

[0011] Calculate the service transmission delay corresponding to the power service by using the drone parameters and the terminal parameters;

[0012] Calculating a first processing delay required by the power terminal to process part of the data in the power service using the terminal parameters, and determining a relay delay of the drone device;

[0013] Calculating the service queuing delay and the second processing delay of the power service by using the drone parameters;

[0014] The predicted delay data is obtained based on the sum of the service transmission delay, the first processing delay, the service queuing delay, the second processing delay and the relay delay.

[0015] Furthermore, the calculating the service transmission delay corresponding to the power service by using the drone parameters and the terminal parameters includes:

[0016] Obtaining the transmission power of the power terminal from the terminal parameters, and obtaining the drone height of the drone device from the drone parameters;

[0017] Calculating the relative distance between the UAV device and the power terminal, and calculating the channel gain of the power terminal at the current priority based on the relative distance, the height of the UAV and the transmission power;

[0018] Calculating a first transmission rate of the power terminal based on the channel gain and the transmission power;

[0019] Acquire the data volume of the total business data in the power business, and the ratio of the business data transmitted by the power terminal to the drone device to the total business data;

[0020] The service transmission delay is calculated based on the transmission rate, the data volume and the ratio value.

[0021] Further, determining the relay delay of the drone device includes:

[0022] Obtaining an expected processing result corresponding to the power business;

[0023] The ratio between the expected processing result and the transmission rate is determined as the relay delay.

[0024] Further, the using the terminal parameters to calculate a first processing delay required for the power terminal to process part of the data in the power service includes:

[0025] Acquire a first service rate corresponding to a first processor in the power terminal;

[0026] The first processing delay is calculated based on the first service rate.

[0027] Furthermore, the method of calculating the service queuing delay, the second processing delay and the drone relay delay of the power service by using the drone parameters includes:

[0028] Obtaining a second service rate corresponding to a second processor in the drone device and an average occupancy rate of each processor in the drone device;

[0029] Calculating a probability that the second processor in the drone device is empty based on the average occupancy rate;

[0030] The service queuing delay is calculated based on the probability and the average occupancy rate, and the second processing delay is calculated based on the second service rate.

[0031] Further, the calculating minimum delay data based on the delay optimization strategy includes:

[0032] Randomly generate initial decision vectors of multiple power terminals under preset constraints, randomly select an initial decision vector from the initial decision vectors to be determined as a parent decision vector, and randomly select three auxiliary initial decision vectors;

[0033] Selecting two first assisted initial decision vectors from the three assisted initial decision vectors, and calculating the difference between the target assisted initial decision vectors to determine them as difference vectors;

[0034] Calculating the product of the difference vector and a preset scaling factor, and determining the sum of the product and a second assisted initial decision vector as a variant sub-vector, wherein the second assisted initial decision vector is an initial decision vector other than the first assisted initial decision vector among the three assisted initial decision vectors;

[0035] Obtaining a randomly generated crossover probability, and using the crossover probability to compare with a plurality of random values ​​to obtain a comparison result;

[0036] Selecting values ​​from the parent decision vector and the mutant sub-vector respectively according to the comparison result, and generating a crossover sub-decision vector based on the values;

[0037] When the cross sub-decision vector meets the preset constraint condition, the cross sub-decision vector is used to replace the parent decision vector until a preset number of iterations is met, and the cross sub-decision vector under the preset number of iterations is determined as the minimum delay data.

[0038] According to another aspect of the embodiment of the present application, there is also provided a power service delay optimization device, including:

[0039] A receiving module, configured to receive a service processing request sent by at least one power terminal in the ad hoc network, wherein the service processing request carries terminal parameters corresponding to the power terminal;

[0040] An acquisition module, used to acquire drone parameters corresponding to the drone device, and determine predicted delay data of the power service in the power terminal during processing based on the drone parameters and the terminal parameters;

[0041] A determination module, used to determine a delay optimization strategy for the power service during processing using the predicted delay data;

[0042] An execution module is used to calculate minimum delay data based on the delay optimization strategy, and use the minimum delay data to process the power business in the power terminal.

[0043] Further, the acquisition module includes:

[0044] The first calculation module is used to calculate the service transmission delay corresponding to the power service by using the drone parameters and the terminal parameters;

[0045] The second calculation module is used to calculate the first processing delay required by the power terminal to process part of the data in the power business by using the terminal parameters, and determine the relay delay of the UAV device;

[0046] A third calculation module is used to calculate the service queuing delay and the second processing delay of the power service by using the drone parameters;

[0047] The fourth calculation module is used to obtain the predicted delay data based on the sum of the service transmission delay, the first processing delay, the service queuing delay, the second processing delay and the relay delay.

[0048] Furthermore, the first calculation module is used to obtain the transmission power of the power terminal from the terminal parameters, and to obtain the drone height of the drone device from the drone parameters; calculate the relative distance between the drone device and the power terminal, and calculate the channel gain of the power terminal under the current priority based on the relative distance, drone height and transmission power; calculate the transmission rate between the power terminal and the drone device based on the channel gain and transmission power; obtain the data volume of the total business data in the power business, and the proportion of the business data transmitted by the power terminal to the drone device to the total business data; calculate the business transmission delay based on the transmission rate, data volume and proportion.

[0049] Furthermore, the second calculation module is used to obtain an expected processing result corresponding to the power service; and determine the ratio between the expected processing result and the transmission rate as the relay delay.

[0050] Furthermore, the second calculation module is used to obtain a first service rate corresponding to the first processor in the power terminal; and calculate a first processing delay based on the first service rate.

[0051] Furthermore, a third calculation module is used to obtain a second service rate corresponding to the second processor in the drone device and an average occupancy rate of each processor in the drone device; calculate the probability that the second processor in the drone device is empty based on the average occupancy rate; calculate the service queuing delay based on the probability and the average occupancy rate, and calculate the second processing delay based on the second service rate.

[0052] Furthermore, an execution module is used to randomly generate initial decision vectors of multiple power terminals under preset constraints, and randomly select an initial decision vector from the initial decision vectors to be determined as a parent decision vector, and randomly select three auxiliary initial decision vectors; select two first auxiliary initial decision vectors from the three auxiliary initial decision vectors, and calculate the difference between the target auxiliary initial decision vectors to determine it as a difference vector; calculate the product between the difference vector and the preset scaling factor, and determine the sum of the product and the second auxiliary initial decision vector as a mutant sub-vector, wherein the second auxiliary initial decision vector is an initial decision vector other than the first auxiliary initial decision vector among the three auxiliary initial decision vectors; obtain the randomly generated crossover probability, and use the crossover probability to compare with multiple random values ​​to obtain a comparison result; select numerical values ​​from the parent decision vector and the mutant sub-vector according to the comparison result, and generate a crossover sub-decision vector based on the numerical value; when the crossover sub-decision vector meets the preset constraints, use the crossover sub-decision vector to replace the parent decision vector until the preset number of iterations is met, and determine the crossover sub-decision vector under the preset number of iterations as the minimum delay data.

[0053] According to another aspect of an embodiment of the present application, a storage medium is further provided, which includes a stored program, and the above steps are executed when the program is run.

[0054] According to another aspect of an embodiment of the present application, there is also provided an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; wherein: the memory is used to store computer programs; and the processor is used to execute the steps in the above method by running the program stored in the memory.

[0055] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the steps in the above method.

[0056] The above technical solution provided by the embodiment of the present application has the following advantages over the prior art: the method provided by the embodiment of the present application predicts the predicted delay data of a certain power service in a certain power terminal based on the terminal parameters of the power terminal and the drone parameters of the drone device before processing the power service of the power terminal within its coverage range through the drone device in the self-organizing network. Then, the predicted delay data is used to determine the delay optimization strategy, and the predicted delay data is optimized using the delay optimization strategy to obtain the minimum delay data, so that the drone device can subsequently use the minimum delay data to process the power service, thereby optimizing the delay, meeting the high delay requirements of some key power services, and improving the efficiency of drone equipment in processing power services. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0058] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0059] Figure 1 A flowchart of a method for optimizing power service delay provided in an embodiment of the present application;

[0060] Figure 2 A schematic diagram of a power service delay optimization scenario provided in an embodiment of the present application;

[0061] Figure 3 A flowchart of a method for optimizing power service delay provided in another embodiment of the present application;

[0062] Figure 4 A flowchart of a method for optimizing power service delay provided in another embodiment of the present application;

[0063] Figure 5 A block diagram of a power service delay optimization device provided in an embodiment of the present application;

[0064] Figure 6 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0065] In order to make the purpose, technical scheme and advantages of the embodiments of the present application clearer, the technical scheme in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. The schematic embodiments of the present application and their descriptions are used to explain the present application and do not constitute improper limitations on the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0066] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another similar entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0067] The embodiment of the present application provides a method and device for optimizing power service delay. The method provided by the embodiment of the present invention can be applied to any required electronic device, for example, it can be a server, terminal and other electronic devices, which are not specifically limited here, and for the convenience of description, they are referred to as electronic devices in the following.

[0068] According to one aspect of the embodiments of the present application, a method embodiment of a method for optimizing power service delay is provided. Figure 1 A flowchart of a method for optimizing power service delay provided in an embodiment of the present application is shown in FIG. Figure 1 As shown, the method includes:

[0069] Step S11, receiving a service processing request sent by at least one power terminal in the ad hoc network, wherein the service processing request carries terminal parameters corresponding to the power terminal.

[0070] The method provided in the embodiment of the present application is applied to drone devices in an ad hoc network, such as Figure 2As shown, the drone self-organizing network includes multiple power terminals, drone equipment and base stations. The power terminal can scan the channel by sending data packets by unicast. After receiving the data packet, the drone equipment will feedback the network access information to the power terminal, so that the power terminal can connect with the drone equipment through the network access information, thereby accessing the self-organizing network. The drone equipment also establishes a communication connection with the base station. Among them, the power terminal can be a power inspection robot.

[0071] In the embodiment of the present application, the unmanned access device receives a service processing request sent by at least one power terminal in the ad hoc network. The service processing request carries terminal parameters corresponding to the power terminal. The terminal parameters include: the transmission power of the terminal and the relevant information of the power service to be processed in the power terminal. The relevant information may include: the priority of the power service, the amount of total service data included in the power service, and the proportion of service data that needs to be processed by the unmanned device to the total service data, etc. q ,τ q ,ω q ,A q ) indicates that D q represents the amount of data that needs to be processed, τ q Indicates the latency requirement of the service, ω q Indicates the ratio of data transmitted from the power terminal to the drone, A q Indicates the expected processing result.

[0072] In the embodiment of the present application, the power terminal will also allocate bandwidth for the power service according to the priority of the power service. For example, when the sent service has only one priority, its allocated bandwidth is B. 1 (t) = B 1 When the services sent have two priorities, the bandwidth allocated to each priority service is: When all three priority tasks exist, the bandwidth allocated to each priority task is:

[0073]

[0074] in, represents the average delay of tasks in each priority level, N t is the number of power businesses in the tth priority level.

[0075] Step S12, obtaining drone parameters corresponding to the drone device, and determining the predicted delay data of the power service in the power terminal during the processing based on the drone parameters and the terminal parameters.

[0076] In the embodiments of the present application, Figure 3As shown, step S12, based on the drone parameters and the terminal parameters, determines the predicted delay data of the power service in the power terminal during the processing, including the following steps A1-A4:

[0077] Step A1, using the drone parameters and terminal parameters, calculate the service transmission delay corresponding to the power service.

[0078] In the embodiment of the present application, step A1, using the drone parameters and the terminal parameters, calculates the service transmission delay corresponding to the power service, including the following steps A101-A105:

[0079] Step A101, obtaining the transmission power of the power terminal from the terminal parameters, and obtaining the drone height of the drone device from the drone parameters.

[0080] Step A102, calculate the relative distance between the UAV device and the power terminal, and calculate the channel gain of the power terminal at the current priority based on the relative distance, the UAV height and the transmission power.

[0081] Step A103: Calculate a first transmission rate of the power terminal based on the channel gain and the transmission power.

[0082] In the embodiment of the present application, the calculation process of the channel gain is as follows:

[0083]

[0084] In the above formula, R trans (t,n) is the first transmission rate of the power terminal where the nth power service in the tth priority is located, γ weight value, B 1 bandwidth, σ is the variance of Gaussian white noise, h is the height of the drone, g(t,n) is the channel gain of the power terminal where the nth power business in the tth priority level is located, Δx (t,n) is the relative distance between the power terminal where the nth power business in the tth priority is located and the UAV equipment on the horizontal axis, Δy (t,n ) is the relative distance between the power terminal where the nth power business in the tth priority is located and the UAV equipment on the ordinate, refers to the channel gain at a reference distance of 1m, and r is the coverage radius of the UAV equipment.

[0085] Step A104, obtaining the data volume of the total business data in the power business, and the proportion of the business data transmitted by the power terminal to the drone device to the total business data.

[0086] Step A105, calculating the service transmission delay based on the first transmission rate, the data volume and the ratio value.

[0087] In the embodiment of the present application, the formula for calculating the service transmission delay is as follows:

[0088] In the formula, R trans (t,n) is the first transmission rate of the power terminal where the nth power service in the tth priority level is located, T trans (t,n) is the service transmission delay of the nth power service in the tth priority, ω(t,n) is the proportion of the nth power service in the tth priority, D(t,n) is the data volume of the nth power service in the tth priority, and S is the storage space of the drone equipment.

[0089] Step A2, using the terminal parameters to calculate the first processing delay required for the power terminal to process part of the data in the power business, and determine the relay delay of the drone equipment.

[0090] In an embodiment of the present application, terminal parameters are used to calculate the first processing delay required for the power terminal to process part of the data in the power business, including: obtaining a first service rate corresponding to the first processor in the power terminal, and calculating the first processing delay based on the first service rate.

[0091] In the embodiment of the present application, the calculation process of the first processing delay is as follows:

[0092] Where, T local (t,n) is the first processing delay of the power terminal for processing the nth power service in the tth priority, ω(t,n) is the proportion value of the nth power service in the tth priority, D(t,n) is the data volume of the nth power service in the tth priority, and c is the first service rate of the first processor.

[0093] In an embodiment of the present application, determining the relay delay of the drone device includes: obtaining the expected processing result corresponding to the power service, and determining the ratio between the expected processing result and the second transmission rate of the drone device as the relay delay.

[0094] In the embodiment of the present application, the calculation formula of the second transmission rate is as follows:

[0095]

[0096] In the formula, R relay is the second transmission rate, γ weight value, B 2 Bandwidth allocated to drones, σ Gaussian white noise variance, g u is the UAV channel gain, p u is the transmitting power of the UAV, ΔX and ΔY are the relative distances between the two UAVs participating in the relay in the direction of the rectangular coordinate system axis, refers to the channel gain at a reference distance of 1m, and d is the communication radius of the UAV device.

[0097] In the embodiment of the present application, the process of calculating the relay delay is as follows:

[0098] Where, T relay (t,n) is the relay delay, A(t,n) is the expected processing result, R relay is the second transmission rate.

[0099] Step A3, using the drone parameters to calculate the service queuing delay and the second processing delay of the power service.

[0100] In the embodiment of the present application, the service queuing delay, the second processing delay and the drone relay delay of the power service are calculated using drone parameters, including the following steps A301-A303:

[0101] Step A301, obtaining a second service rate corresponding to a second processor in the drone device and an average occupancy rate of each processor in the drone device.

[0102] In the embodiment of the present application, the average occupancy rate of the processor in the tth priority level is: Where k is the number of processors in the UAV device, λ total is the total task arrival rate, λ total =∑ (t,n) λ(t,n), λ(t,n) is the arrival rate of the nth inspection robot in the tth priority level.

[0103] Step A302, calculating the probability that the second processor in the drone device is empty based on the average occupancy rate.

[0104] In the embodiment of the present application, the probability calculation formula of the second processor being empty is as follows: Where P 0 is the probability that the second processor is empty, k is the number of processors in the UAV device, and ρ is the average occupancy of each processor.

[0105] Step A303, calculating the service queuing delay based on the probability and the average occupancy rate, and calculating the second processing delay based on the second service rate.

[0106] In the embodiment of the present application, the average queuing delay of each task, that is, the average processing delay of the second priority task is:

[0107]

[0108] When the sent service has only one priority level, T process-wait (t) = Tprocess-wait .

[0109] When there are two priorities for the sent service, the average waiting time of the lower priority t-low is:

[0110] The higher priority t-high waiting time is:

[0111] T process-wait (t-high) = T process-wait -(T process-waot (t-low)-T process-wait ).

[0112] When all three priorities exist in the sent business, the average queuing time of the tasks in the second priority can still be the average queuing delay:

[0113] T process-wait (2) = T process-wait .

[0114] Properly extend the average waiting time of low priority (t=3):

[0115]

[0116] Reduce the average waiting time of high priority (t=1):

[0117] T processs-wait (1) = T process-wait -(T process-wait (3)-T process-wait (2)).

[0118] In the embodiment of the present application, the calculation formula for the second processing delay is:

[0119] Where, T process (t,n) is the second processing delay, and C is the second service rate of the processor in the UAV device.

[0120] Step A4, obtaining predicted delay data based on the sum of the service transmission delay, the first processing delay, the service queuing delay, the second processing delay and the relay delay.

[0121] In the embodiment of the present application, the calculation formula for predicting the delay data is:

[0122] T(t,n)=max{T UAV (t,n), T local (t,n)}+T relay (t,n)=max{T trans (t,n)+T process-wait (t)+Tprocess (t,n)}+T relay (t,n)

[0123] Step S13, using the predicted delay data to determine the delay optimization strategy during the processing of the power business.

[0124] In an embodiment of the present application, the delay optimization strategy for the power service in the processing process is determined according to the predicted delay data, which can be: determining whether the predicted delay data can meet the optimization conditions, for example: comparing the predicted delay data with the preset delay data, and if the predicted delay data does not match the preset delay data, then determining that the delay data meets the optimization conditions. At this time, the delay optimization strategy for the power service processing process is determined, wherein the delay optimization strategy can be an overall optimization of the predicted delay data, or it can be an optimization of part of the delay data.

[0125] Step S14, calculating minimum delay data based on the delay optimization strategy, and using the minimum delay data to process the power service in the power terminal.

[0126] In the embodiments of the present application, Figure 4 As shown, the minimum delay data is calculated based on the delay optimization strategy, including the following steps B1-B6:

[0127] Step B1, randomly generating initial decision vectors of multiple power terminals under preset constraints, randomly selecting an initial decision vector from the initial decision vectors to be determined as a parent decision vector, and randomly selecting three auxiliary initial decision vectors;

[0128] Step B2, selecting two first assisted initial decision vectors from the three assisted initial decision vectors, and calculating the difference between the target assisted initial decision vectors to determine them as the difference vector;

[0129] Step B3, calculating the product between the difference vector and the preset scaling factor, and determining the sum of the product and the second assisted initial decision vector as a variant vector, wherein the second assisted initial decision vector is an initial decision vector other than the first assisted initial decision vector among the three assisted initial decision vectors;

[0130] Step B4, obtaining the randomly generated crossover probability, and using the crossover probability to compare with multiple random values ​​to obtain a comparison result;

[0131] Step B5, selecting values ​​from the parent decision vector and the mutant sub-vector according to the comparison result, and generating a crossover sub-decision vector based on the values;

[0132] Step B6, when the cross sub-decision vector meets the preset constraint conditions, the cross sub-decision vector is used to replace the parent decision vector until the preset number of iterations is met, and the cross sub-decision vector under the preset number of iterations is determined as the minimum delay data.

[0133] It should be noted that the traditional differential evolution algorithm is prone to fall into local optimality, and the fixed crossover probability is one of the factors leading to this result. Because the fixed crossover probability makes the degree of information exchange between the parent vector and the mutant child vector fixed in each iteration of finding the optimal solution. In order to make the algorithm less likely to fall into local optimality in the process of finding the optimal solution, one of the directions of improvement in the embodiment of the present application is to change some parameters involved in the algorithm to perturb the results and get rid of the local optimality. By setting the crossover probability to a random value, the crossover probability changes randomly during each round of iteration, thereby achieving perturbation in the iteration process.

[0134] The method provided in the embodiment of the present application uses the drone equipment in the self-organizing network to process the power business of the power terminal within its coverage range, and predicts the predicted delay data of a certain power business in a certain power terminal based on the terminal parameters of the power terminal and the drone parameters of the drone equipment. Then, the predicted delay data is used to determine the delay optimization strategy, and the predicted delay data is optimized using the delay optimization strategy to obtain the minimum delay data, so that the drone equipment can subsequently use the minimum delay data to process the power business, thereby optimizing the delay, meeting the high delay requirements of some key power businesses, and improving the efficiency of drone equipment in processing power business.

[0135] Figure 5 This is a block diagram of a power service delay optimization device provided in an embodiment of the present application. The device can be implemented as part or all of an electronic device through software, hardware, or a combination of both. Figure 5 As shown, the device comprises:

[0136] The receiving module 41 is used to receive a service processing request sent by at least one power terminal in the ad hoc network, wherein the service processing request carries terminal parameters corresponding to the power terminal;

[0137] An acquisition module 42 is used to acquire drone parameters corresponding to the drone device, and determine the predicted delay data of the power service in the power terminal during the processing based on the drone parameters and the terminal parameters;

[0138] A determination module 43, for determining a delay optimization strategy for the power business during processing using the predicted delay data;

[0139] The execution module 44 is used to calculate the minimum delay data based on the delay optimization strategy, and use the minimum delay data to process the power business in the power terminal.

[0140] In the embodiment of the present application, the acquisition module 42 includes:

[0141] The first calculation module is used to calculate the service transmission delay corresponding to the power service by using the drone parameters and the terminal parameters;

[0142] The second calculation module is used to calculate the first processing delay required by the power terminal to process part of the data in the power business by using the terminal parameters, and determine the relay delay of the UAV device;

[0143] A third calculation module is used to calculate the service queuing delay and the second processing delay of the power service by using the drone parameters;

[0144] The fourth calculation module is used to obtain the predicted delay data based on the sum of the service transmission delay, the first processing delay, the service queuing delay, the second processing delay and the relay delay.

[0145] In an embodiment of the present application, a first calculation module is used to obtain the transmission power of the power terminal from the terminal parameters, and to obtain the drone height of the drone device from the drone parameters; to calculate the relative distance between the drone device and the power terminal, and to calculate the channel gain of the power terminal at the current priority based on the relative distance, the drone height and the transmission power; to calculate the transmission rate between the power terminal and the drone device based on the channel gain and the transmission power; to obtain the data volume of the total business data in the power business, and the proportion of the business data transmitted by the power terminal to the drone device to the total business data; and to calculate the business transmission delay based on the transmission rate, data volume and proportion.

[0146] In the embodiment of the present application, the second calculation module is used to obtain the expected processing result corresponding to the power service; and determine the ratio between the expected processing result and the transmission rate as the relay delay.

[0147] In an embodiment of the present application, the second calculation module is used to obtain a first service rate corresponding to a first processor in the power terminal; and calculate a first processing delay based on the first service rate.

[0148] In an embodiment of the present application, the third calculation module is used to obtain the second service rate corresponding to the second processor in the drone device, and the average occupancy rate of each processor in the drone device; calculate the probability that the second processor in the drone device is empty based on the average occupancy rate; calculate the service queuing delay based on the probability and the average occupancy rate, and calculate the second processing delay based on the second service rate.

[0149] In the embodiment of the present application, the execution module 44 is used to randomly generate initial decision vectors of multiple power terminals under preset constraints, and randomly select an initial decision vector from the initial decision vectors to determine it as a parent decision vector, and randomly select three auxiliary initial decision vectors; select two first auxiliary initial decision vectors from the three auxiliary initial decision vectors, and calculate the difference between the target auxiliary initial decision vectors to determine it as a difference vector; calculate the product between the difference vector and the preset scaling factor, and determine the sum of the product and the second auxiliary initial decision vector as a variant sub-vector, wherein the second auxiliary initial decision vector is an initial decision vector other than the first auxiliary initial decision vector among the three auxiliary initial decision vectors;

[0150] Obtain a randomly generated crossover probability, and use the crossover probability to compare with multiple random values ​​to obtain a comparison result; select values ​​from the parent decision vector and the mutant sub-vector according to the comparison result, and generate a crossover sub-decision vector based on the values; when the crossover sub-decision vector meets the preset constraints, use the crossover sub-decision vector to replace the parent decision vector until the preset number of iterations is met, and determine the crossover sub-decision vector under the preset number of iterations as the minimum delay data.

[0151] The present application also provides an electronic device, such as Figure 6 As shown, the electronic device may include: a processor 1501 , a communication interface 1502 , a memory 1503 and a communication bus 1504 , wherein the processor 1501 , the communication interface 1502 , and the memory 1503 communicate with each other via the communication bus 1504 .

[0152] Memory 1503, used for storing computer programs;

[0153] The processor 1501 is used to implement the steps of the above embodiment when executing the computer program stored in the memory 1503.

[0154] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0155] The communication interface is used for communication between the above terminal and other devices.

[0156] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0157] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0158] In another embodiment provided in the present application, a computer-readable storage medium is provided, in which instructions are stored. When the computer-readable storage medium is executed on a computer, the computer executes the method for processing the power business described in any of the above embodiments.

[0159] In another embodiment provided in the present application, a computer program product including instructions is also provided, which, when executed on a computer, enables the computer to execute the method for processing the power business described in any one of the above embodiments.

[0160] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium, (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk SolidState Disk), etc.

[0161] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application are included in the protection scope of the present application.

[0162] The above description is only a specific implementation of the present application, so that those skilled in the art can understand or implement the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest range consistent with the principles and novel features applied for herein.

Claims

1. A method for optimizing power service delay, applied to unmanned aerial vehicle equipment in an ad hoc network, characterized in that: The method comprises: Receiving a service processing request sent by at least one power terminal in the ad hoc network, wherein the service processing request carries terminal parameters corresponding to the power terminal; Acquire drone parameters corresponding to the drone device, and determine predicted delay data of the power service in the power terminal during processing based on the drone parameters and the terminal parameters; Determining a delay optimization strategy for the power business during processing using the predicted delay data; Calculating minimum delay data based on the delay optimization strategy, and processing power services in the power terminal using the minimum delay data; The method of determining the predicted delay data of the power service in the power terminal during the processing based on the drone parameters and the terminal parameters includes: using the drone parameters and the terminal parameters to calculate the service transmission delay corresponding to the power service; using the terminal parameters to calculate the first processing delay required for the power terminal to process part of the data in the power service, and determining the relay delay of the drone equipment; using the drone parameters to calculate the service queuing delay and the second processing delay of the power service; and obtaining the predicted delay data based on the sum of the service transmission delay, the first processing delay, the service queuing delay, the second processing delay and the relay delay.

2. The method according to claim 1, characterized in that: The calculating the service transmission delay corresponding to the power service by using the drone parameters and the terminal parameters includes: Obtaining the transmission power of the power terminal from the terminal parameters, and obtaining the drone height of the drone device from the drone parameters; Calculating the relative distance between the UAV device and the power terminal, and calculating the channel gain of the power terminal at the current priority based on the relative distance, the height of the UAV and the transmission power; Calculating a first transmission rate of the power terminal based on the channel gain and the transmission power; Acquire the data volume of the total business data in the power business, and the ratio of the business data transmitted by the power terminal to the drone device to the total business data; The service transmission delay is calculated based on the first transmission rate, the data volume and the ratio value.

3. The method according to claim 1, characterized in that The determining the relay delay of the drone device includes: Obtaining an expected processing result corresponding to the power business; The ratio between the expected processing result and the second transmission rate of the UAV device is determined as the relay delay.

4. The method according to claim 1, characterized in that The calculating, by using the terminal parameters, a first processing delay required for the power terminal to process part of the data in the power service includes: Acquire a first service rate corresponding to a first processor in the power terminal; The first processing delay is calculated based on the first service rate.

5. The method according to claim 1, characterized in that The calculating the service queuing delay and the second processing delay of the power service by using the drone parameters includes: Obtaining a second service rate corresponding to a second processor in the drone device and an average occupancy rate of each processor in the drone device; Calculating a probability that the second processor in the drone device is empty based on the average occupancy rate; The service queuing delay is calculated based on the probability and the average occupancy rate, and the second processing delay is calculated based on the second service rate.

6. The method according to claim 1, characterized in that The calculating the minimum delay data based on the delay optimization strategy includes: Randomly generate initial decision vectors of multiple power terminals under preset constraints, randomly select an initial decision vector from the initial decision vectors to be determined as a parent decision vector, and randomly select three auxiliary initial decision vectors; Selecting two first assisted initial decision vectors from the three assisted initial decision vectors, and calculating the difference between the first assisted initial decision vectors to determine them as the difference vector; Calculating the product of the difference vector and a preset scaling factor, and determining the sum of the product and a second assisted initial decision vector as a variant sub-vector, wherein the second assisted initial decision vector is an initial decision vector other than the first assisted initial decision vector among the three assisted initial decision vectors; Obtaining a randomly generated crossover probability, and using the crossover probability to compare with a plurality of random values ​​to obtain a comparison result; Selecting values ​​from the parent decision vector and the mutant sub-vector respectively according to the comparison result, and generating a crossover sub-decision vector based on the values; When the cross sub-decision vector meets the preset constraint condition, the cross sub-decision vector is used to replace the parent decision vector until a preset number of iterations is met, and the cross sub-decision vector under the preset number of iterations is determined as the minimum delay data.

7. A power service delay optimization device, characterized in that: include: A receiving module, configured to receive a service processing request sent by at least one power terminal in the ad hoc network, wherein the service processing request carries terminal parameters corresponding to the power terminal; An acquisition module, used to acquire drone parameters corresponding to the drone device, and determine the predicted delay data of the power service in the power terminal during the processing based on the drone parameters and the terminal parameters; A determination module, used to determine a delay optimization strategy for the power service during processing using the predicted delay data; An execution module, configured to calculate minimum delay data based on the delay optimization strategy, and process the power service in the power terminal using the minimum delay data; The acquisition module is used to calculate the service transmission delay corresponding to the power service by using the drone parameters and the terminal parameters; calculate the first processing delay required for the power terminal to process part of the data in the power service by using the terminal parameters, and determine the relay delay of the drone equipment; calculate the service queuing delay and the second processing delay of the power service by using the drone parameters; and obtain the predicted delay data based on the sum of the service transmission delay, the first processing delay, the service queuing delay, the second processing delay and the relay delay.

8. A storage medium, characterized in that: The storage medium includes a stored program, wherein the program executes the method according to any one of claims 1 to 6 when executed.

9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; wherein: Memory, used to store computer programs; A processor, configured to execute the method according to any one of claims 1 to 6 by running a program stored in a memory.

Citation Information

Patent Citations

  • Time delay and energy consumption-oriented electric power Internet of Things workload distribution method

    CN111314123A

  • Power business time delay optimization method and system based on edge calculation

    CN112752302A

  • Unmanned aerial vehicle mobile edge computing network unloading method and device and electronic equipment

    CN114268995A