Journal of Computer Applications ›› 2023, Vol. 43 ›› Issue (3): 885-893.DOI: 10.11772/j.issn.1001-9081.2022010055

• Computer software technology • Previous Articles    

Task scheduling algorithm for service-oriented architecture-based industrial software

Mingchao NING, Junbo ZHANG(), Ge CHEN   

  1. School of Electric Power Engineering,South China University of Technology,Guangzhou Guangdong 510641,China
  • Received:2022-01-17 Revised:2022-04-27 Accepted:2022-04-28 Online:2022-05-07 Published:2023-03-10
  • Contact: Junbo ZHANG
  • About author:NING Mingchao, born in 1998, M. S. candidate. His research interests include service monitoring, resource scheduling.
    CHEN Ge, born in 1995, Ph. D. candidate. His research interests include software design and testing.
  • Supported by:
    Guangdong Natural Science Funds for Distinguished Young Scholar(2018B030306041);Science and Technology Project in Guangzhou(202102020413)

基于面向服务架构的工业软件的任务调度算法

宁明超, 张俊勃(), 陈戈   

  1. 华南理工大学 电力学院,广州 510641
  • 通讯作者: 张俊勃
  • 作者简介:宁明超(1998—),男,湖南衡阳人,硕士研究生,CCF会员,主要研究方向:服务监控、资源调度
    张俊勃(1986—),男,重庆人,教授,博士,主要研究方向:大型工业软件及其智能化
    陈戈(1995—),男,广东广州人,博士研究生,主要研究方向:软件设计与测试。
  • 基金资助:
    广东省自然科学杰出青年基金资助项目(2018B030306041);广州市科技计划项目(202102020413)

Abstract:

To address the task scheduling problem of industrial software using Service-Oriented Architecture (SOA), a task scheduling algorithm for SOA-based industrial software was proposed, considering the multiple attributes of tasks, the randomness, time-varying and coupling relationships of attributes, and the requirements of real-time scheduling and parallel processing of tasks. Firstly, the task scheduling problem was modeled, and a utility function was designed to evaluate the importance of the task. Then, Importance Ranking-based Scheduling Algorithm (IRSA) was proposed to schedule tasks in descending order of importance. Finally, a resource reservation mechanism and a preemptive scheduling mechanism were designed in IRSA to improve the efficiency of task scheduling. Experimental results show that compared with the four online scheduling algorithms such as First Come First Serve(FCFS), Earliest Deadline First(EDF), Least Laxity First(LLF), and Fixed Priority Scheduling(FPS), when the number of arrival tasks per second reaches 7.99, IRSA reduces the average response time of tasks by 55.83% to 61.27%, respectively, and has significant advantages on all performance metrics. Therefore, IRSA can achieve efficient task scheduling for SOA-based industrial software.

Key words: Service-Oriented Architecture (SOA), industrial software, task scheduling, utility function, resource reservation mechanism, preemptive scheduling mechanism

摘要:

针对采用面向服务架构(SOA)的工业软件的任务调度问题,考虑任务的多重属性,属性的随机性、时变性及耦合关系,以及调度过程实时性和处理任务并行性的要求,提出一种适用于基于SOA的工业软件的任务调度算法。首先,对任务调度问题进行建模,并设计用于评估任务重要程度的效用函数;然后,提出基于重要程度排序的调度算法(IRSA),按照重要程度递减的顺序对任务进行调度;最后,设计资源预留机制和抢占式调度机制,以提高IRSA的调度效率。实验结果表明,与先来先服务(FCFS)、最早截止时间优先(EDF)、最小松弛度优先(LLF)、固定优先级调度(FPS)这四种在线调度算法相比,当每秒任务到达数量为7.99时,IRSA使任务的平均响应时间减少55.83%~61.27%,且在所有性能指标上均具有明显优势,能够实现对基于SOA的工业软件的高效任务调度。

关键词: 面向服务架构, 工业软件, 任务调度, 效用函数, 资源预留机制, 抢占式调度机制

CLC Number: