Next Article in Journal
Investigation of Cavitation Flow and Entropy Production Characteristics in a Dual-Rotor Turbine Flowmeter
Previous Article in Journal
Development of a CaCO3 Precipitation Method Using a Peptide and Microwaves Generated by a Magnetron
Previous Article in Special Issue
Technical Support System for High Concurrent Power Trading Platforms Based on Microservice Load Balancing
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

A Real-Time Resource Dispatch Approach for Edge Computing Devices in Digital Distribution Networks Considering Burst Tasks

by
Jing Xu
1,
Juan Li
1,
Liang Zhang
1,
Chaoming Huang
2,
Hao Yu
2,* and
Haoran Ji
2
1
State Grid Tianjin Economic Research Institute, Tianjin 300171, China
2
Key Laboratory of Smart Grid of Ministry of Education, Tianjin University, Tianjin 300072, China
*
Author to whom correspondence should be addressed.
Processes 2024, 12(7), 1328; https://doi.org/10.3390/pr12071328
Submission received: 30 May 2024 / Revised: 19 June 2024 / Accepted: 24 June 2024 / Published: 26 June 2024

Abstract

:
Edge computing technology can effectively solve huge challenges posed by the large number of terminal devices accessing and massive data processing in digital distribution networks. Burst tasks, such as faults and data requests from the cloud, can occur at any time for edge computing devices in distribution networks. These tasks are unpredictable and usually hold the highest priority and must be completed as soon as possible. Although resources can be reserved partially at each period in the pre-scheduled operation plan, they may still be insufficient to handle burst tasks adequately. A real-time resource dispatch approach for burst tasks is developed in this study to address the above problems. The concept of flexibility for edge computing devices is presented, determining the real-time dispatch duration. Real-time resource dispatch and task handling processing are analyzed in detail, considered as task real-time dispatch models, computation process real-time dispatch constraints, and resource limitation constraints. The proposed real-time resource dispatch approach takes full advantage of the transferable characteristics for partial original plan tasks to adjust the pre-scheduled operation plan and release flexible resources for immediate processing of the burst task, completing burst tasks quickly and minimizing the impact for previous planned tasks on the edge computing device. The capability of the proposed method to efficiently deal with the burst tasks is also verified by the case study.

1. Introduction

Edge computing configures cloud computing capacity to the edge of the network approaching the user terminal, transferring computation tasks to be processed closer to the data source from the cloud computation center [1]. Nowadays, Edge computing is widely applied to digital distribution networks as an advanced digital technology [2]. Benefiting from the application of edge computing technology, edge computing devices acquire, process and store data from the local area to complete task computation locally [3,4], avoiding large delays, interference and even attacks during data transmission over long distances [5]. However, edge computing devices are equipped with limited computing and storage capacity while computation tasks should be completed quickly and successfully to guarantee the normal operation of digital distribution networks [6,7]. Therefore, it is necessary to allocate resources properly for various tasks by optimal scheduling [8]. By resource scheduling in advance to obtain the pre-scheduled operation plan for guidance, devices make full use of resources and ensure the successful completion of computation tasks.
Edge computing devices in distribution networks should process not only original planned tasks with different characteristics such as measurement acquisition [9], distribution monitoring [10], power flow calculation [11], voltage control [12], and source load forecast [13], but also burst tasks such as fault identification [14], emergency control [15], self-healing control [16], power supply restoration [17] and data requests from the cloud [18]. As for data requests from the cloud, centralized computation and decisions require distributed data as basic support. Therefore, the cloud makes data requests to the edge side, generating the data requests from cloud task. Compared to the original planned computation tasks, burst tasks occur at any time without forecasts during the operation of digital distribution networks and must be immediately processed when they occur. Resources can be reserved partially in the pre-scheduled operation plan for burst tasks. A real-time resource dispatch should be developed to make edge computing devices respond quickly to computational demands of burst task, using limited reserved resources.
There has been some research on resource scheduling methods for tasks under edge computing. Ref. [19] proposed a multiagent task scheduling algorithm based on the dueling double deep recurrent-network method to allocate resources and schedule tasks without global state information, considering associated task generation, communication channel, data queue, and previous computation resource allocation state. Ref. [20] transformed the joint transmission power control and computation resource allocation problem in industrial Internet of Things into a Markov decision process. A deep reinforcement learning-based dynamic resource management algorithm was developed to solve the above problem, reducing the task delay. To solve resource scheduling, task assignment, and transmission scheduling problems in a device-to-device collaboration based multi-access edge computing system, a reverse auction based task assignment and urgency-value based transmission scheduling algorithm were developed in [21], maximizing the platform profit with resource capacity constraint and desired task delay requirements. Ref. [22] developed a two-layer optimization framework with an iterative optimization algorithm based on Deep Q-Network (DQN) and Gradient Descent (GD) to solve task offloading scheduling and resource allocation problems in vehicular edge computing, respectively. The time-varying channel caused by the movement of vehicles was taken into account in detail. Task delay and system energy consumption were reduced with completion time, energy consumption, and computing capability constraints, using the proposed scheduling method. A coalitional game-based cooperative offloading algorithm was proposed in [23], formalizing the task offloading and resource scheduling process into a coalitional game based on the coalitional game theory. The task execution time delay and transmission energy consumption of all devices were minimized by reusing loose coupling tasks between different devices without repeated task data transmission, achieving joint collaboration of devices. For the problem of task offloading and resource allocation in mobile edge computing (MEC), an online joint offloading and resource allocation framework under the long-term MEC energy constraint was proposed to ensure the end-users’ quality of experience in [24]. An online joint offloading and resource allocation method was further developed to achieve the close-to-optimal performance with the long-term MEC energy constraint. Ref. [25] proposed an online unmanned aerial vehicle (UAV)-assisted task offloading algorithm based on Markov approximation optimization to significantly reduce the vehicular task delay constrained by the long-term UAV energy budget under various system parameters.
As shown in the above research, the resource scheduling problem aims to improve the quality of service, user experience and system performance by reducing delay, energy consumption, and costs. There are two types of resource scheduling: static scheduling and dynamic scheduling. Static scheduling is often based on fixed known system information to process known tasks under limited resources. However, dynamic scheduling is always based on actual task requirements and resource limitations of the system to schedule online. Table 1 summarizes some research with optimization objectives and scheduling approaches.
Although the above resource scheduling methods can develop the system operation performance effectively with various optimization objectives. However, the power dissipation is not concerned with the digital distribution network resource scheduling problem. It is more concerned about the service quality of applications on the edge side of digital distribution networks by reducing the task completion time and improving the task completion percentage. Meanwhile, real-time burst tasks with high priority which should be completed at once are considered rare. Real-time burst tasks need to be processed as quickly as possible while satisfying the requirements for resources, completion deadline and logical correlation of the original computational tasks as much as possible. It is a great challenge to handle burst tasks quickly with the pre-scheduled operation plan, guaranteeing the successful completion of original computation tasks at the same time. The existing resource scheduling method can’t be directly applied in the actual operation scenario for edge computing devices of digital distribution networks. Therefore, it is necessary to research on the real-time processing mechanism for burst tasks of digital distribution networks with a lack of effective resource scheduling methods.
In this study, a real-time resource dispatch approach for edge computing devices in digital distribution networks considering burst tasks is proposed. When burst tasks occur at any time during the actual operation of digital distribution networks with resource requirements for the process, the edge computing device receives the burst task parameters and calculates its flexibility next according to the pre-scheduled operation plan. Then the real-time dispatch duration is further determined based on the current flexibility. The proposed real-time resource dispatch approach for edge computing devices in digital distribution networks considering burst tasks is applied to address the real-time resource dispatch problem for burst tasks. Finally, the real-time optimal dispatch strategies and computation results are obtained, including real-time resource allocation, core configuration adjustment, and computation status update.
The space-time transfer characteristics of delayable and interruptible tasks and non-delayable tasks are utilized in the real-time resource dispatch approach to release resources at once for burst tasks. State variables such as resource allocation and core configuration are updated, adjusting the pre-scheduled operation plan dynamically.
The main contributions can be summarized as follows.
(1)
Real-time dispatch constraints for burst tasks and the edge computing device are analyzed in detail particularly. Distribution network applications such as fault identification, emergency control, self-healing control, and data requests from the cloud are taken into consideration in the actual operation of digital distribution networks, considered as real-time burst tasks from the point of computation task. Real-time dispatch constraints for burst tasks and the edge computing device consist determination of real-time dispatch duration, task real-time dispatch model, real-time dispatch constraints of task computation process, and resource limitation constraints in real-time dispatch to describe the real-time dispatch processing.
(2)
A real-time resource dispatch approach for edge computing devices in digital distribution networks considering burst tasks is proposed. The spatial and temporal transfer capability of transferable tasks in original planned tasks are utilized by scheduling resources and configuring tasks appropriately. The real-time resource dispatch approach enables a quick response to computational demands of burst tasks. Meanwhile, original planned tasks are successfully completed with minimum impact. The normal, efficient, and reliable operation of digital distribution networks is guaranteed by the proposed real-time resource dispatch approach.
The remainder of this paper is organized as follows. Section 2 establishes real-time dispatch constraints for burst tasks and the device to lay the foundation. The objective function and all considered constraints are presented in Section 3 to summarize the overall real-time resource dispatch problem for burst tasks. The case studies and analysis are presented in Section 4. Finally, the conclusions are discussed in Section 5.

2. Real-Time Dispatch Constraints for Burst Tasks and the Device

The real-time resource dispatch in cloud-edge collaborative edge distribution networks is depicted in Figure 1. Original planned tasks consist of delayable and interruptible, non-delayable, periodic, and continuous tasks. In order to process burst tasks quickly, the proposed real-time resource dispatch approach fully utilizes space-time transfer characteristics of delayable and interruptible tasks and non-delayable tasks which are regarded as transferable computation tasks. Based on the pre-scheduled operation plan, real-time dispatch enables transfer of transferable computation tasks to subsequent periods or alternative cores, freeing up resources for burst tasks. The following describes real-time dispatch constraints for burst tasks and the devices in detail.

2.1. Presentation of System Operation Scenarios

Before each optimal scheduling begins, the edge computing device receives parameters of computation tasks, that need to be processed within the current scheduling period. Computation tasks categorized into delayable and interruptible, non-delayable, periodic, and continuous tasks according to different computational characteristics. To ensure quick and successful completion of computation tasks with limited computation and storage resources, the edge computing device optimizes the resource scheduling for computation tasks with the consideration of computation task characteristics, core configuration for tasks, logic correlations between tasks, and resource allocation, obtaining the pre-scheduled operation plan. However, burst tasks are not considered in the pre-scheduled operation plan. In the actual operation stage of the edge computing device, a real-time resource dispatch approach for edge computing devices in digital distribution networks considering burst tasks is proposed to complete burst tasks as soon as possible. Therefore, the study in this paper develops based on the pre-scheduled operation plan.

2.2. Determination of Real-Time Dispatch Duration

Flexibility is defined for the edge computing device to quantify its ability to release resources for computation of a burst task, denoted by F t and expressed as Formulation (1).
F t = t H ( k = 1 K e k M i = 1 N e i , t )
where H denotes the total scheduling cycle. K denotes the total number of edge computing device cores. e k M denotes the maximum computing capacity of core k . N denotes the total number of tasks. e i , t denotes computation resources allocated to task i in period t according to the pre-scheduled operation plan.
The real-time dispatch duration T D is the period that can provide sufficient resources for the burst task via real-time dispatch and can be determined according to the flexibility of the edge computing device when the burst task arrives. The real-time dispatch duration T D is represented as Formulations (2)–(5).
F = 0 ,   F T A , e b e 1 ,   F T A , e < b e
1 F F T A , e F T A , e + T D + F M b e
1 F F T A , e F T A , e + T D 1 < b e
F ( T D H + T A , e 1 ) = 0
where F denotes whether the flexibility is sufficient for the burst task in period t . M is a maximum number.

2.3. Task Real-Time Dispatch Model

(1)
Modeling of burst tasks
Parameter set X B is defined to describe the characteristics of burst task B [34], expressed as Formulation (6).
X B = { T A , e , b e , d e , L e }
where T A , e denotes the arrival time, b e denotes the total number of CPU cycles required, d e denotes the memory occupancy, and L e denotes the loss factor for task abandonment.
If a burst task is not abandoned, it should be completed within the real-time dispatch duration, shown as Formulations (7) and (8).
l R 1 t = T A , e T A , e + T D 1 e t R b e = 0
t = 1 T A , e 1 e t R + s t R + t = T A , e + T D H e t R + s t R = 0
where e t R denotes the computation resources allocated to burst task B in period t . l R is a Boolean variable indicating the abandonment state for the burst task. Burst task B is processed only if l R = 0 . s t R denotes the processing status of burst task B in period t , s t R = 1 indicates that task i is active in period t .
(2)
Modeling of original planned tasks
Periodic tasks need to be completed at intervals throughout the scheduling cycle. The edge computing device should provide dedicated resources to continuous tasks, ensuring continuous processing. It is clear from the above description that transferring periodic tasks and continuous tasks is difficult due to their processing characteristics. Meanwhile, periodic tasks and continuous tasks usually include computation tasks for monitoring and measurement functions in digital distribution networks, such as environment monitoring, distribution monitoring, and measurement acquisition. Thus, the scheduling scheme remains unchanged for these two types of tasks to ensure the normal operation of digital distribution networks. Periodic tasks and continuous tasks are considered as non-transferable tasks in the real-time resource dispatch stage and can be modeled as Formulations (9)–(11).
l i R 1 e i , t R e i , t = 0
l i R 1 s i , t R s i , t = 0
l i R = l i
where l i R is a Boolean variable indicating the abandonment state for task i . Computation task i is processed only if l R = 0 . s i , t denotes the processing status of computation task i in period t according to the pre-scheduled operation plan. Ω 3 and Ω 4 denote the set of periodic tasks and continuous tasks, respectively.
Other types of tasks are treated as transferable computation tasks, for which the following requirements should be satisfied to ensure successful completion. Meanwhile, transferable computation tasks should also maintain their specific processing characteristics during real-time dispatch. Transferable computation tasks can be expressed as Formulations (12)–(15).
( l i R 1 ) t = T A , e T A , e + T D 1 e i , t R t = T A , e T A , e + T D 1 e i , t = 0
l i R 1 e i , t R e i , t = 0 , t [ T A , e , T A , e + T D 1 ]
l i R 1 s i , t R s i , t = 0 , t [ T A , e , T A , e + T D 1 ]
l i R 1 s i , T A , e R 1 = 0 , i Ω 2
where Ω 2 denotes the set of non-delayable tasks.

2.4. Real-Time Dispatch Constraints of Task Computation Process

(1)
Transferable computation task real-time allocation constraints
A transferable computation task abandoned by the edge computing device in the pre-scheduled operation plan is still abandoned in real-time dispatch. The arrival of a burst task may cause further abandonment of transferable computation tasks owing to limited resources, expressed as Formulations (16)–(18).
l i R ( t = 1 H e i , t R + s i , t R + r i , t R + k = 1 K c i , k R ) = 0
l R ( t = 1 H e t R + s t R + k = 1 H c k R ) = 0
( 1 l i R ) l R = 0
where c k R and c i , k R denotes the occupancy statuses of core k for the burst task and task i , respectively. r i , t R denotes the memory usage state of task i in period t , r i , t R = 1 indicates that task i requires memory capacity in period t .
If the transferable task has already started computing when a burst task arrives, it cannot be assigned to other cores for processing, for which the following constraints (19) and (20) are considered.
v i , t = 1 ,   t = 1 T A , e 1 s i , t R 1 0 ,   t = 1 T A , e 1 s i , t R < 1
v i , t c i , k R c i , k = 0
where v i , t denotes the ability of task i to be transferred to other cores.
(2)
Computation status update constraints
Task transfer may change the processing status of transferable computation tasks, which should be updated in the real-time dispatch problem as Formulations (21)–(24) [35].
T i S , R = H t = 1 H q i , t + 1
q i , t = 1 ,   t = 1 t e i , t R > 0 0 ,   t = 1 t e i , t R = 0
T i E , R = t = 1 H p i , t + 1
p i , t = 0 ,   t = 1 t e i , t R b i 1 ,   t = 1 t e i , t R < b i
where T i S , R and T i E , R denote the actual start and completion time of task i , respectively. q i , t denotes the marks for whether task i starts in period t . p i , t denotes the marks for whether task i is completed in period t .
(3)
Task computation property constraints
The collaborative relationships between tasks should be satisfied during real-time dispatch. The memory usage properties of computation tasks remain the same during real-time dispatch [36]. For the burst task, computing data should be stored in memory from arrival until completion. Task computation property constraints are shown as Formulations (25) and (26).
T n E , R T m S , R 1
r t R = 1 , T A , e t T E , R 0 ,   O t h e r s
where n and m denote the prior and subsequent numbers for the original planned tasks with collaborative processing relationships. r t R denotes the memory usage state of the burst task in period t . r t R = 1 indicates that the burst task requires memory capacity in period t .

2.5. Resource Limitation Constraints in Real-Time Dispatch

The computing and memory resources allocated to all original planned tasks and burst tasks by the edge computing device are limited in each period t [37], represented as Formulations (27) and (28).
0 i = 1 N ( c i , k R e i , t R ) + c k R e t R e k M
0 i = 1 N r i , t R d i + r t R d e d M
where d M denotes maximum memory capacity of the edge computing device.

3. Formulation of Real-Time Resource Dispatch Problem for Burst Task

3.1. Objective Function

The objective of real-time dispatch is to ensure early completion of the burst task while minimizing the impact for other tasks on the edge computing device. To address these considerations, a comprehensive objective function is established for the real-time resource dispatch problem, expressed as Formulation (29).
m i n   f = τ 1 T m o r e + τ 2 ψ T E , R + τ 3 E A , r + τ 4 E A , e
where τ 1 , τ 2 , τ 3 , and τ 4 denote the weighting factor selected according to the importance attached to each objective.
The first term in the objective function represents the summation of the completion time delay for each transferable task, and can be expressed as Formulation (30).
T m o r e = i = 1 N ( T i E , R T i E ) , i { Ω 1 Ω 2 }
where T m o r e denotes the summation of the completion time delay for each transferable task. Ω 1 donates the set of delayable and interruptible tasks.
The second term in the objective function aims to minimize the completion time of the burst task. The actual completion time of the burst task T E , R has a form similar to T i E , R . ψ denotes the completion time threshold factor of the burst task, which can be expressed as Formulation (31).
ψ = m 1 , T E , R T E , f m 2 , T E , R > T E , f
where T E , f denotes the threshold for the completion time of the burst task. m 1 and m 2 denote the penalty factors.
The third and fourth terms in the objective function minimize the total loss incurred due to abandonment of transferable tasks and the burst task, which can be expressed as Formulations (32) and (33).
E A , r = i = 1 N l i R L i , i { Ω 1 Ω 2 }
E A , e = l R L e
where E A , e and E A , r denote the total losses due to abandonment of burst and transferable tasks, respectively. Ω 1 and Ω 2 are the set of delayable and interruptible tasks and non-delayable tasks, respectively. L i and L e denote loss factors for the burst and original planned task abandonment, respectively. Loss factors L i and L e are input and received by edge computing devices as the known fixed-value task parameter.
The loss factor is the intrinsic property for the original planned task and burst task, known by the experience of the distribution network operation.

3.2. Constraints

The constraints of task properties, computation processes, and device resources during the real-time dispatch should be considered to address the real-time resource dispatch problem for burst tasks, and are presented as Formulation (34).
m i n   f   s . t . 1 ( 5 )   ( R e a l - t i m e   d i s p a t c h   d u r a t i o n   d e t e r m i n a t i o n   c o n s t r a i n t s )     6 15   ( T a s k   r e a l - t i m e   d i s p a t c h   m o d e l s )     16 26   ( C o m p u t a t i o n   p r o c e s s   r e a l - t i m e   d i s p a t c h   c o n s t r a i n t s )     ( 27 ) ( 28 )   ( R e s o u r c e   l i m i t a t i o n   c o n s t r a i n t s   i n   r e a l - t i m e   d i s p a t c h )     ( 30 ) ( 33 )   ( I n t e r m e d i a t e   v a r i a b l e   c o n s t r a i n t s   f o r   o b j e c t i v e   f u n c t i o n )

3.3. Solving Process for the Real-Time Resource Dispatch Problem

The real-time resource dispatch problem for burst tasks can be effectively solved by CPLEX solver. Figure 2 shows the holistic flowchart of the proposed real-time resource dispatch approach for edge computing devices in digital distribution networks considering burst tasks.
Burst tasks occur at any time during the actual operation of digital distribution networks, requiring resources for the process. After receiving the burst task parameters, the edge computing device calculates its flexibility first according to the pre-scheduled operation plan. Then the real-time dispatch duration is further determined based on the current flexibility. The proposed real-time resource dispatch approach for edge computing devices in digital distribution networks considering burst tasks is applied to address the real-time resource dispatch problem for burst tasks. Finally, the real-time optimal dispatch strategies and computation results are obtained, including real-time resource allocation, core configuration adjustment, and computation status update.

4. Case Studies and Analysis

4.1. Scenario Configuration

In this section, the effectiveness of the real-time resource dispatch approach for edge computing devices in digital distribution networks considering burst tasks is verified using the following case study. The total scheduling cycle H is set as 15 min. The edge computing device has 3 cores with the maximum computing capacity of 3 × 1010 CPU cycles/min, 3 × 1010 CPU cycles/min, and 2 × 1010 CPU cycles/min. The maximum memory space of the edge computing device is 800 MB. In the pre-scheduled operation plan, the edge computing device has completed optimal resource scheduling for 22 original tasks. The detailed pre-scheduling plan is shown in Figure 3. (A, B) in Figure 3 indicates the task of type A is assigned to core B during the current period. Meanwhile, the color depth indicates the amount of computation resources allocated to tasks. Type 1–4 represent delayable and interruptible, non-delayable, periodic, and continuous tasks, respectively.
In this study, the burst task refers to data requests from the master operation station, noted by Task 23 that unexpectedly occurs in period 10 for the edge computing device. We assume that the burst task requires 4.5 × 1010 CPU cycles and occupies 10 MB of memory for computation.
To demonstrate the effectiveness of the proposed real-time resource dispatch approach method, the following two schemes are compared.
Scheme 1: The priority-based resource scheduling method is used. The edge computing device core with more adequate reserved resources and shorter completion time has a higher priority to be assigned to burst tasks. The configuration core allocates all reserved resources for the burst task in each period until the burst task completes its computation.
Scheme 2: A real-time resource dispatch approach for edge computing devices in digital distribution networks proposed in this study is used to obtain the handling mechanism for the burst task.

4.2. Result Analysis

Figure 4 shows the occupancy of computation resources for each core in Scheme 1. It can be concluded that cores 1 and 3 cannot process the burst task independently with inadequate reserved resources. Under these circumstances, the burst task has no choice or option but to be configured to core 2 for computation after arriving at the edge computing device. The burst task completes computation in period 15, existing a processing delay of 6 min.
As for Scheme 2, When the burst task occurs in period 10, the first step is to immediately calculate the real-time dispatch duration. According to the current flexibility of the edge computing device, the real-time dispatch duration is determined as periods 10–13 in this case study. The tasks involved in this duration are presented in Table 2. In this duration, the pre-scheduled operation plan for resource allocation strategy is adjusted by real-time dispatch to complete the burst task as quickly as possible.
The first adjustment to free up resources for the burst task is on core assignments of transferable computation tasks. As shown in Table 2, Tasks 8 and 21 are re-assigned from core 2 to core 3 for computation during the real-time dispatch duration; Task 22 is re-assigned from core 3 to core 2. The other tasks remain unchanged. Burst Task 23 is assigned to core 2 for computation.
Figure 5 shows the occupancy of computation resources for each core during periods 10–13 in two stages. As shown in Figure 5a, the computation resources reserved for periods 10–13 in the pre-scheduled operation plan are distributed across different cores, which is not adequate to accommodate the burst task for a single core. However, in Figure 5b, by re-assigning Tasks 8 and 21, sufficient computation resources are freed up on core 2 to process the burst task effectively. Meanwhile, Task 22 is re-assigned to core 2, releasing resources for the successful completion of Task 8 before its completion deadline. Consequently, inter-core transfer of Tasks 8, 21, and 22 allows resource allocation, initially distributed among different cores, to be consolidated and utilized optimally, guaranteeing successful and prompt completion of the burst task. The utilization factor of resource reservation for periods 10–13 is 78%.
The second adjustment made to free up resources for the burst task is related to the time-series resource allocation strategy for different tasks. Figure 6 illustrates the changes in the processing strategy of computation tasks during real-time dispatch. Different colors and their depths represent the allocation of computation resources to tasks. The resources allocated to un-transferable tasks and tasks beyond the real-time dispatch duration remain unchanged. Regarding transferable tasks, the resources allocated to Tasks 8, 12, 21, and 22 in periods 11, 11, 10, and 12 are reduced to accommodate the burst task. Consequently, the device increases resource allocation for Tasks 8, 12, 21, and 22 in periods 12, 12, 11, and 13 to ensure on-time completion. Although the completion times of Tasks 8, 21, and 22 are delayed, Tasks 21 and 22 are still ahead of the deadline and Task 8 is completed successfully on schedule. Moreover, the collaborative relationship between Tasks 8 and 9 remains intact after real-time dispatch. In Scheme 2, All original planned tasks and the burst task are processed successfully.
With the above two adjustments, Task 23 is completed within 2 min without causing any additional task abandonment, demonstrating that the proposed real-time resource dispatch approach is effective in responding to the unexpected burst tasks. The proposed real-time resource dispatch approach transfers transferable tasks to subsequent periods in time and other cores in space for computation, achieving effective utilization of reserved resources and regular, efficient and reliable operation for the edge computing device in digital distribution networks.

5. Conclusions

Edge computing devices with limited resources should respond to burst tasks quickly such as fault identification, emergency control, and data requests from the cloud at any time. A real-time resource dispatch approach for edge computing devices in digital distribution networks considering burst tasks is developed. In the real-time dispatch, the pre-scheduled operation plan is adjusted for quick and successful completion of burst tasks by transferring delayable and interruptible tasks and non-delayable tasks regarded as transferable computation tasks. The case study is set to verify the effectiveness of the proposed real-time resource dispatch approach. When a burst task occurs, the real-time dispatch is triggered, which aggregates the available flexibility in core assignments and task processing to complete the burst task as soon as possible. With the proposed real-time resource dispatch approach, the burst task is completed within 2 min, reducing completion time by 60%. The burst task has been successfully completed without causing any additional failed completions for the remaining tasks. The successful completion percentage for all tasks is 100%. Resource reservation is fully utilized with a utilization factor of 78%.
Based on the research in this paper, we will consider investigating the overall optimal scheduling for resources and collaborative processing for tasks with multiple edge computing devices and the cloud center in our future work.

Author Contributions

Conceptualization, H.Y.; validation, J.X.; resources, J.L.; formal analysis, L.Z.; data curation, H.J.; writing, C.H. All authors have read and agreed to the published version of the manuscript.

Funding

Technology Project of State Grid Tianjin Electric Power Company (2023-14) “Research and Application of Cluster Voltage Coordinated Control in New Distribution System Based on Edge Computing”.

Data Availability Statement

Data are contained within the article.

Conflicts of Interest

The authors declare that they have no conflicts of interest to report regarding the present study.

References

  1. Xie, Y.; Wang, X.; Shen, Z.; Sheng, Y.; Wu, G. A Two-Stage Estimation of Distribution Algorithm with Heuristics for Energy-Aware Cloud Workflow Scheduling. IEEE Trans. Serv. Comput. 2023, 16, 4183–4197. [Google Scholar] [CrossRef]
  2. Zhong, J.; Liu, B.; Yu, X.; Wong, P.; Wang, Z.; Xu, C.; Zhou, X. Enhancing Voltage Compliance in Distribution Network under Cloud and Edge Computing Framework. IEEE Trans. Cloud Comput. 2023, 11, 1217–1229. [Google Scholar] [CrossRef]
  3. Zhao, J.; Zhang, Z.; Yu, H.; Ji, H.; Li, P.; Xi, W.; Yan, J.; Wang, C. Cloud-Edge Collaboration-Based Local Voltage Control for DGs with Privacy Preservation. IEEE Trans. Ind. Inform. 2023, 19, 98–108. [Google Scholar] [CrossRef]
  4. Liu, Z.; Gao, S.; Li, P.; Ji, H.; Xi, W.; Yu, H.; Wu, J.; Wang, C. Distributed State Estimation in Digital Distribution Networks Based on Proximal Atomic Coordination. IEEE Trans. Instrum. Meas. 2022, 71, 9005311. [Google Scholar] [CrossRef]
  5. Yang, J.; Sun, F.; Wang, H. Distributed Collaborative Optimal Economic Dispatch of Integrated Energy System Based on Edge Computing. Energy 2023, 284, 129194. [Google Scholar] [CrossRef]
  6. Liu, L.; Chen, L.; Xu, S.; Xu, Y.; Shi, C. Design and Implementation of Intelligent Monitoring Terminal for Distribution Room Based on Edge Computing. Energy Rep. 2021, 7, 1131–1138. [Google Scholar] [CrossRef]
  7. Sun, G.; Xu, Z.; Yu, H.; Chang, V. Dynamic Network Function Provisioning to Enable Network in Box for Industrial Applications. IEEE Trans. Ind. Inform. 2021, 17, 7155–7164. [Google Scholar] [CrossRef]
  8. Cen, B.; Hu, C.; Cai, Z.; Wu, Z.; Zhang, Y.; Liu, J.; Su, Z. A Configuration Method of Computing Resources for Microservice-Based Edge Computing Apparatus in Smart Distribution Transformer Area. Int. J. Electr. Power Energy Syst. 2022, 138, 107935. [Google Scholar] [CrossRef]
  9. Mugerwa, G.; Megahed, T.; Elsabrouty, M.; Abdelkader, S. Data-Driven Consumer-Phase Identification in Low-Voltage Distribution Networks Considering Prosumers. Front. Energy 2024, in press. [Google Scholar] [CrossRef]
  10. Wei, H.; Wang, W.; Fang, C.; Liu, Y.; Zhang, N.; Kang, C. Online Distribution System Topology Monitoring with Limited Smart Meter Communication. IEEE Trans. Power Syst. 2023, 38, 5714–5725. [Google Scholar] [CrossRef]
  11. Wang, H.; Zhou, N.; Zhang, Y.; Liao, J.; Tan, S.; Liu, X.; Guo, C.; Wang, Q. Linearized Power Flow Calculation of Bipolar DC Distribution Network with Multiple Flexible Equipment. Int. J. Electr. Power Energy Syst. 2024, 155, 109568. [Google Scholar] [CrossRef]
  12. Zhang, J.; Wang, T.; Chen, J.; Liao, Z.; Shu, J. Cluster Voltage Control Method for “Whole County” Distributed Photovoltaics Based on Improved Differential Evolution Algorithm. Front. Energy 2023, 17, 782–795. [Google Scholar] [CrossRef]
  13. Mishra, S.K.; Gupta, V.K.; Kumar, R.; Swain, S.K.; Mohanta, D.K. Multi-Objective Optimization of Economic Emission Load Dispatch Incorporating Load Forecasting and Solar Photovoltaic Sources for Carbon Neutrality. Electr. Power Syst. Res. 2023, 223, 109700. [Google Scholar] [CrossRef]
  14. Liu, Y.; Li, Z.; Yan, Y.; He, G.; Fang, J.; Li, K.; Jiang, X. Identification Method for Single-line-to-ground Faults with Line Break Based on Phasor Measurement in Distribution Networks. J. Mod. Power Syst. Clean Energy 2023, 11, 907–916. [Google Scholar] [CrossRef]
  15. Zhao, Y.; Zhang, G.; Hu, W.; Huang, Q.; Chen, Z.; Blaabjerg, F. Meta-Learning Based Voltage Control Strategy for Emergency Faults of Active Distribution Networks. Appl. Energy 2023, 349, 121399. [Google Scholar] [CrossRef]
  16. Hao, L.; Xue, Y.; Li, Z.; Wang, H.; Xu, Q. Decision Support System for Adaptive Restoration Control of Distribution System. J. Mod. Power Syst. Clean Energy 2022, 10, 1256–1273. [Google Scholar] [CrossRef]
  17. Jian, J.; Zhao, J.; Ji, H.; Bai, L.; Xu, J.; Li, P.; Wu, J.; Wang, C. Supply Restoration of Data Centers in Flexible Distribution Networks with Spatial-Temporal Regulation. IEEE Trans. Smart Grid 2024, 15, 340–354. [Google Scholar] [CrossRef]
  18. Gao, H.; Ma, W.; He, S.; Wang, L.; Liu, J. Time-Segmented Multi-Level Reconfiguration in Distribution Network: A Novel Cloud-Edge Collaboration Framework. IEEE Trans. Smart Grid 2022, 13, 3319–3322. [Google Scholar] [CrossRef]
  19. Tang, Q.; Xie, R.; Yu, F.; Chen, T.; Zhang, R.; Huang, T.; Liu, Y. Distributed Task Scheduling in Serverless Edge Computing Networks for the Internet of Things: A Learning Approach. IEEE Internet Things J. 2022, 9, 19634–19648. [Google Scholar] [CrossRef]
  20. Chen, Y.; Liu, Z.; Zhang, Y.; Zhang, Y.; Wu, Y.; Chen, X.; Zhao, L. Deep Reinforcement Learning-Based Dynamic Resource Management for Mobile Edge Computing in Industrial Internet of Things. IEEE Trans. Ind. Inform. 2021, 17, 4925–4934. [Google Scholar] [CrossRef]
  21. Huang, X.; Ji, G.; Zhang, B.; Li, C. Platform Profit Maximization in D2D Collaboration Based Multi-Access Edge Computing. IEEE Trans. Wirel. Commun. 2023, 22, 4282–4295. [Google Scholar] [CrossRef]
  22. Gao, J.; Kuang, Z.; Gao, J.; Zhao, L. Joint Offloading Scheduling and Resource Allocation in Vehicular Edge Computing: A Two Layer Solution. IEEE Trans. Veh. Technol. 2023, 72, 3999–4009. [Google Scholar] [CrossRef]
  23. Yang, X.; Luo, H.; Sun, Y.; Zou, J.; Guizani, M. Coalitional Game-Based Cooperative Computation Offloading in MEC for Reusable Tasks. IEEE Internet Things J. 2021, 8, 12968–12982. [Google Scholar] [CrossRef]
  24. Jiang, H.; Dai, X.; Xiao, Z.; Iyengar, A. Joint Task Offloading and Resource Allocation for Energy-Constrained Mobile Edge Computing. IEEE Trans. Mob. Comput. 2023, 7, 4000–4015. [Google Scholar] [CrossRef]
  25. Dai, X.; Xiao, Z.; Jiang, H.; Lui, J. UAV-Assisted Task Offloading in Vehicular Edge Computing Networks. IEEE Trans. Mob. Comput. 2024, 23, 2520–2534. [Google Scholar] [CrossRef]
  26. Masoudi, M.; Cavdar, C. Device vs Edge Computing for Mobile Services: Delay-Aware Decision Making to Minimize Power Consumption. IEEE Trans. Mob. Comput. 2021, 20, 3324–3337. [Google Scholar] [CrossRef]
  27. Fan, W.; Zhao, L.; Su, Y.; Wu, F.; Liu, Y. Collaborative Service Placement, Task Scheduling, and Resource Allocation for Task Offloading with Edge-Cloud Cooperation. IEEE Trans. Mob. Comput. 2024, 1, 238–256. [Google Scholar] [CrossRef]
  28. Xu, J.; Ai, B.; Chen, L.; Cui, Y.; Wang, N. Deep Reinforcement Learning for Computation and Communication Resource Allocation in Multiaccess MEC Assisted Railway IoT Networks. IEEE Trans. Intell. Transp. Syst. 2022, 12, 23797–23808. [Google Scholar] [CrossRef]
  29. Wen, W.; Zhang, Y.; Chen, C.; Jia, Y.; Luo, L.; Tang, L. Quality- and Availability-Based Device Scheduling and Resource Allocation for Federated Edge Learning. IEEE Commun. Lett. 2022, 26, 2626–2630. [Google Scholar] [CrossRef]
  30. Zhao, Y.; Calheiros, R.; Gange, G.; Bailey, J.; Sinnott, R. SLA-Based Profit Optimization Resource Scheduling for Big Data Analytics-as-a-Service Platforms in Cloud Computing Environments. IEEE Trans. Cloud Comput. 2021, 9, 1236–1253. [Google Scholar] [CrossRef]
  31. Seah, W.; Lee, C.; Lin, Y.; Lai, Y. Combined Communication and Computing Resource Scheduling in Sliced 5G Multi-Access Edge Computing Systems. IEEE Trans. Veh. Technol. 2022, 3, 3144–3154. [Google Scholar] [CrossRef]
  32. Marahatta, A.; Pirbhulal, S.; Zhang, F.; Parizi, R.; Choo, K.; Liu, Z. Classification-Based and Energy-Efficient Dynamic Task Scheduling Scheme for Virtualized Cloud Data Center. IEEE Trans. Cloud Comput. 2021, 9, 1376–1390. [Google Scholar] [CrossRef]
  33. Cang, Y.; Chen, M.; Pan, Y.; Yang, Z.; Hu, Y.; Sun, H.; Chen, M. Joint User Scheduling and Computing Resource Allocation Optimization in Asynchronous Mobile Edge Computing Networks. IEEE Trans. Commun. 2024, 72, 3378–3392. [Google Scholar] [CrossRef]
  34. Deng, X.; Yin, J.; Guan, P.; Xiong, E.; Zhang, L.; Mumtaz, S. Intelligent Delay-Aware Partial Computing Task Offloading for Multiuser Industrial Internet of Things Through Edge Computing. IEEE Internet Things J. 2023, 10, 2954–2966. [Google Scholar] [CrossRef]
  35. Li, Q.; Wang, S.; Zhou, A.; Ma, X.; Yang, C.; Liu, A. QoS Driven Task Offloading with Statistical Guarantee in Mobile Edge Computing. IEEE Trans. Mob. Comput. 2022, 21, 278–290. [Google Scholar] [CrossRef]
  36. Yu, H.; Huang, C.; Song, G.; Ji, H.; Zheng, Z.; Cui, W. Optimal resource scheduling of multi-functional edge computing devices in digital distribution networks. Ain Shams Eng. J. 2024, 102884. [Google Scholar] [CrossRef]
  37. Sharif, Z.; Jung, L.; Razzak, I.; Alazab, M. Adaptive and Priority-Based Resource Allocation for Efficient Resources Utilization in Mobile-Edge Computing. IEEE Internet Things J. 2023, 10, 3079–3093. [Google Scholar] [CrossRef]
Figure 1. The real-time resource dispatch in cloud-edge collaborative edge distribution networks.
Figure 1. The real-time resource dispatch in cloud-edge collaborative edge distribution networks.
Processes 12 01328 g001
Figure 2. Flowchart for proposed real-time resource dispatch approach.
Figure 2. Flowchart for proposed real-time resource dispatch approach.
Processes 12 01328 g002
Figure 3. The pre-scheduled operation plan for original tasks.
Figure 3. The pre-scheduled operation plan for original tasks.
Processes 12 01328 g003
Figure 4. The occupancy of computation resources for each core in Scheme 1.
Figure 4. The occupancy of computation resources for each core in Scheme 1.
Processes 12 01328 g004
Figure 5. The occupancy of computation resources for each core.
Figure 5. The occupancy of computation resources for each core.
Processes 12 01328 g005
Figure 6. Processing of computation tasks in real-time dispatch.
Figure 6. Processing of computation tasks in real-time dispatch.
Processes 12 01328 g006
Table 1. The summary of some research with optimization objectives and scheduling approaches.
Table 1. The summary of some research with optimization objectives and scheduling approaches.
ReferencesOptimization ObjectivesScheduling Approach
DelayEnergy ConsumptionCostsStaticDynamic
[19]
[20]
[23]
[24]
[26]
[27]
[28]
[29]
[30]
[31]
[32]
[33]
Table 2. Real-time dispatch results and comparison with the pre-scheduled operation plan.
Table 2. Real-time dispatch results and comparison with the pre-scheduled operation plan.
Task NumberCore AssignmentDeadlineCompletion Time
Real-Time DispatchPre-Scheduled PlanReal-Time DispatchPre-Scheduled Plan
111151515
222151414
823121112
933141010
1233151515
1411151515
1833151313
2123121011
2232141213
23/2//11
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

Xu, J.; Li, J.; Zhang, L.; Huang, C.; Yu, H.; Ji, H. A Real-Time Resource Dispatch Approach for Edge Computing Devices in Digital Distribution Networks Considering Burst Tasks. Processes 2024, 12, 1328. https://doi.org/10.3390/pr12071328

AMA Style

Xu J, Li J, Zhang L, Huang C, Yu H, Ji H. A Real-Time Resource Dispatch Approach for Edge Computing Devices in Digital Distribution Networks Considering Burst Tasks. Processes. 2024; 12(7):1328. https://doi.org/10.3390/pr12071328

Chicago/Turabian Style

Xu, Jing, Juan Li, Liang Zhang, Chaoming Huang, Hao Yu, and Haoran Ji. 2024. "A Real-Time Resource Dispatch Approach for Edge Computing Devices in Digital Distribution Networks Considering Burst Tasks" Processes 12, no. 7: 1328. https://doi.org/10.3390/pr12071328

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop