CN110119316A - A kind of associated task scheduling strategy based on slackness and Ant ColonySystem - Google Patents

A kind of associated task scheduling strategy based on slackness and Ant ColonySystem Download PDF

Info

Publication number
CN110119316A
CN110119316A CN201910412931.5A CN201910412931A CN110119316A CN 110119316 A CN110119316 A CN 110119316A CN 201910412931 A CN201910412931 A CN 201910412931A CN 110119316 A CN110119316 A CN 110119316A
Authority
CN
China
Prior art keywords
task
slackness
algorithm
priority
ant
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910412931.5A
Other languages
Chinese (zh)
Inventor
徐九韵
李苗
孙小婷
郝壮远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China University of Petroleum East China
Original Assignee
China University of Petroleum East China
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China University of Petroleum East China filed Critical China University of Petroleum East China
Priority to CN201910412931.5A priority Critical patent/CN110119316A/en
Publication of CN110119316A publication Critical patent/CN110119316A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/004Artificial life, i.e. computing arrangements simulating life
    • G06N3/006Artificial life, i.e. computing arrangements simulating life based on simulated virtual individual or collective life forms, e.g. social simulations or particle swarm optimisation [PSO]
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/01Detecting movement of traffic to be counted or controlled
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Evolutionary Computation (AREA)
  • General Health & Medical Sciences (AREA)
  • Molecular Biology (AREA)
  • Computing Systems (AREA)
  • Mathematical Physics (AREA)
  • Traffic Control Systems (AREA)

Abstract

The invention belongs to cloud and mist calculating field, specifically a kind of that task scheduling strategy is associated under scenes of internet of things, target is under the premise of priority constraint relationship between not destroying task, it is contemplated that in terms of comprehensive task deadline and the total energy consumption of task processing.Be broadly divided into two steps: A. obtains priority sequence based on the priority algorithm of slackness;B. the constrained optimization method based on Ant ColonySystem realizes task distribution.The LBP-ACS dispatching algorithm that the present invention is proposed for cloud and mist calculating field is solving to have in the associated task scheduling problem for mixing deadline, can effectively reduce energy consumption while improving task schedule success rate.

Description

A kind of associated task scheduling strategy based on slackness and Ant ColonySystem
Technical field
The invention belongs to cloud and mist calculating fields, specifically under scenes of internet of things be associated with task schedule target do not destroy appoint Between business under the premise of priority constraint relationship, in terms of the total energy consumption for considering comprehensive task deadline and task processing, formulation is based on The associated task scheduling strategy of slackness and Ant ColonySystem.
Background technique
It include the application program of large amount of complex in the scenes of internet of things such as intelligent transportation, smart home, intelligent medical, many is answered It is made of with program multiple modules for executing different task, and there are close connections between a large amount of task.As it can be seen that in cloud Under mist Computational frame, there is only mutually independent tasks, and there is also the tasks with priority restrictions relationship.There are priority The task of the constraint relationship only can be just performed in the result information for obtaining its all predecessor task, and it is all to be unable to parallel processing Task, it can be seen that have associated task schedule face difficulty and challenge.The scheduling strategy of associated task will not only consider To relation of interdependence, communication cost and the priority between task, but also the demand of user is fully taken into account, such as appoint The deadline limitation for being engaged in mixed, reduces energy consumption etc..
Using intelligent transportation system as in the scenes of internet of things of representative, wherein traffic lights, mobile phone, sensor, CCTV are supervised The networked devices such as device for shooting are controlled by wireless network connection to mist equipment, mist equipment is connected in cloud computing data by optical fiber The heart.Mist node monitors the data in device for shooting reception traffic environment by sensor or CCTV, to detect close pedestrian It with the speed of vehicle, further being interacted with neighbouring signal lamp, is based on information above, mist equipment is sent a warning message to vehicle, It avoids colliding by adjusting the neighbouring green light period or congestion[59], while by the rush hour of collection, emergency situations place etc. Traffic information is sent to for statistical analysis on Cloud Server, and detailed road information is finally returned to user.Whole process In, vehicle receives warning message, intelligent signal lamp regulating cycle and user's smart machine and receives the application such as traffic information The deadline of task is different, and there are priority restrictions relationships between task.In above-mentioned scene, by mist node and The cooperation of cloud node, collaboration processing have the application program for the task composition for interdepending and mixing deadline, meet low prolong Slow processing and analysis traffic information guarantee traffic safety and smooth.Simultaneously in view of the main trend that global energy consumption rises violently, low energy Consumption calculates urgently to be resolved.Reduce cloud and mist resource energy consumption, on the one hand can reduce production cost, on the other hand can with energy-saving and emission-reduction, Environment is protected, realizes that green calculates.It is calculated by cloud and mist resource coordinating, efficent use of resources, guarantees the mixing for meeting DAG task The demand of deadline.Therefore it will study under cloud and mist Computational frame herein, there is the task that interdepends of mixing deadline Mission Scheduling.
Summary of the invention
1. a kind of associated task scheduling strategy based on slackness and Ant ColonySystem mainly includes following two step:
A. the priority algorithm based on slackness (LBPA) obtains priority sequence: LBPA algorithm is intended to through recursive side Method calculates the slackness of each task, and then the priority of each association subtask is calculated according to slackness, will finally be based on The task image of DAG is converted into orderly task sequence.The slackness of task is ductile before indicating task deadline the latest Maximum duration, the urgency level or time-sensitive degree of Lai Hengliang task.
B. the constrained optimization method based on Ant ColonySystem (COA-ACS) realizes task distribution: being calculated using LBPA above Method obtains the priority sequence TaskList of task in DAG task image, next, by associated task scheduling problem and ant colony system System combines, and proposes the constrained optimization task scheduling algorithm based on Ant ColonySystem, thus for the task v in TaskList sequenceiChoosing Select appropriate cloud or mist node.Initialization information element is first had in suboptimization algorithm, circular is as follows:
Wherein, FzIt is total processing energy consumption of greedy algorithm allocation plan.
Then selection resource and calculating heuristic information, circular are as follows:
Wherein, τij(t) it is pheromones in the t times iteration on path edge (i, j), α, β are respectively control parameter, allowedkIndicate the cloud or mist resource that kth ant can choose,Indicate the rule of probability of roulette selection resource.
Then the update of local information element is carried out, circular is as follows:
τij(t)=(1- ξ) × τij(t)+ξ×τ0
Wherein, ξ (0≤ξ≤1) is pheromones volatilization factor.
Then global information update is carried out, circular is as follows:
τij(t+1)=(1- ρ) × τij(t)+ρ×Δτij k
The present invention, which compares prior art, has following remarkable advantage:
1. considering the relevance between task during processing task, thus use based on the excellent of slackness First grade task scheduling algorithm, so as to so that the strong task of time sensitivity can preferentially be scheduled.
2. combining associated task scheduling problem and Ant ColonySystem in task assignment procedure, propose to be based on Ant ColonySystem Constrained optimization task scheduling algorithm, to reduce energy consumption under conditions of considering task priority.
Detailed description of the invention
Fig. 1 is overview flow chart of the invention.
Fig. 2 is a DAG task image input process figure.
Fig. 3 is an algorithmic dispatching length vs figure.
Fig. 4 is an algorithm energy consumption comparison figure.
Fig. 5 is an algorithm failure rate comparison diagram.
Specific embodiment
With reference to the accompanying drawing, illustrate embodiments of the present invention.An intelligent transportation system scene is assumed in embodiment, is appointed Business figure, which describes vehicle and receives warning message, intelligent signal lamp regulating cycle and user's smart machine, receives traffic information Dependence between equal application tasks, since the property of task is different, each task is different to the sensitivity of delay, The deadline of i.e. each task is different.
Fig. 1 is overview flow chart of the invention, the scheduling strategy specific implementation of associated task are as follows:
A. the priority algorithm based on slackness (LBPA) obtains priority sequence: LBPA algorithm is intended to through recursive side Method calculates the slackness of each task, and then the priority of each association subtask is calculated according to slackness, will finally be based on The task image of DAG is converted into orderly task sequence.The slackness of task is ductile before indicating task deadline the latest Maximum duration, the urgency level or time-sensitive degree of Lai Hengliang task.
B. the constrained optimization method based on Ant ColonySystem (COA-ACS) realizes task distribution: being calculated using LBPA above Method obtains the priority sequence TaskList of task in DAG task image, next, by associated task scheduling problem and ant colony system System combines, and proposes the constrained optimization task scheduling algorithm based on Ant ColonySystem, thus for the task v in TaskList sequenceiChoosing Select appropriate cloud or mist node.Initialization information element is first had in suboptimization algorithm, circular is as follows:
Wherein, FzIt is total processing energy consumption of greedy algorithm allocation plan.
Then selection resource and calculating heuristic information, circular are as follows:
Wherein, τij(t) it is pheromones in the t times iteration on path edge (i, j), α, β are respectively control parameter, allowedkIndicate the cloud or mist resource that kth ant can choose,Indicate the rule of probability of roulette selection resource.
Then the update of local information element is carried out, circular is as follows:
τij(t)=(1- ξ) × τij(t)+ξ×τ0
Wherein, ξ (0≤ξ≤1) is pheromones volatilization factor.
Then global information update is carried out, circular is as follows:
τij(t+1)=(1- ρ) × τij(t)+ρ×Δτij k

Claims (1)

1. a kind of associated task scheduling strategy based on slackness and Ant ColonySystem mainly includes following two step:
A. obtain priority sequence by the priority algorithm of slackness (LBPA): LBPA algorithm is intended to by based on recursive method The slackness of each task is calculated, and then calculates the priority of each association subtask according to slackness, it finally will be based on DAG's Task image is converted into orderly task sequence.Before the slackness expression task deadline the latest of task when ductile longest Between, the urgency level or time-sensitive degree of Lai Hengliang task.
B. the constrained optimization method based on Ant ColonySystem (COA-ACS) realizes task distribution: using LBPA algorithm above, obtaining The priority sequence TaskList for obtaining task in DAG task image, next, by associated task scheduling problem and Ant ColonySystem knot It closes, proposes the constrained optimization task scheduling algorithm based on Ant ColonySystem, thus for the task v in TaskList sequenceiSelection is proper When cloud or mist node.Initialization information element is first had in suboptimization algorithm, circular is as follows:
Wherein, FzIt is total processing energy consumption of greedy algorithm allocation plan.
Then selection resource and calculating heuristic information, circular are as follows:
Wherein, τij(t) it is pheromones in the t times iteration on path edge (i, j), α, β are respectively control parameter, allowedkIndicate the cloud or mist resource that kth ant can choose,Indicate the rule of probability of roulette selection resource.
Then the update of local information element is carried out, circular is as follows:
τij(t)=(1- ξ) × τij(t)+ξ×τ0
Wherein, ξ (0≤ξ≤1) is pheromones volatilization factor.
Then global information update is carried out, circular is as follows:
τij(t+1)=(1- ρ) × τij(t)+ρ×Δτij k
CN201910412931.5A 2019-05-17 2019-05-17 A kind of associated task scheduling strategy based on slackness and Ant ColonySystem Pending CN110119316A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910412931.5A CN110119316A (en) 2019-05-17 2019-05-17 A kind of associated task scheduling strategy based on slackness and Ant ColonySystem

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910412931.5A CN110119316A (en) 2019-05-17 2019-05-17 A kind of associated task scheduling strategy based on slackness and Ant ColonySystem

Publications (1)

Publication Number Publication Date
CN110119316A true CN110119316A (en) 2019-08-13

Family

ID=67522725

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910412931.5A Pending CN110119316A (en) 2019-05-17 2019-05-17 A kind of associated task scheduling strategy based on slackness and Ant ColonySystem

Country Status (1)

Country Link
CN (1) CN110119316A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825527A (en) * 2019-11-08 2020-02-21 北京理工大学 Deadline-budget driven scientific workflow scheduling method in cloud environment
CN111565375A (en) * 2020-05-26 2020-08-21 多伦科技股份有限公司 Ant colony optimization method based on vehicle-mounted fog calculation in vehicle-mounted ad hoc network

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970609A (en) * 2014-04-24 2014-08-06 南京信息工程大学 Cloud data center task scheduling method based on improved ant colony algorithm
US20140351819A1 (en) * 2013-05-22 2014-11-27 Massachusetts Institute Of Technology Multiprocessor scheduling policy
WO2016095692A1 (en) * 2014-12-15 2016-06-23 江南大学 Method for improving ant colony optimization sensor-network cluster head
CN106055395A (en) * 2016-05-18 2016-10-26 中南大学 Method for constraining workflow scheduling in cloud environment based on ant colony optimization algorithm through deadline
CN106776008A (en) * 2016-11-23 2017-05-31 福建六壬网安股份有限公司 A kind of method and system that load balancing is realized based on zookeeper
CN107346471A (en) * 2017-06-28 2017-11-14 西安图迹信息科技有限公司 Networking matching process is planned as a whole in a kind of inter-provincial interconnection electricity consumption transaction

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140351819A1 (en) * 2013-05-22 2014-11-27 Massachusetts Institute Of Technology Multiprocessor scheduling policy
CN103970609A (en) * 2014-04-24 2014-08-06 南京信息工程大学 Cloud data center task scheduling method based on improved ant colony algorithm
WO2016095692A1 (en) * 2014-12-15 2016-06-23 江南大学 Method for improving ant colony optimization sensor-network cluster head
CN106055395A (en) * 2016-05-18 2016-10-26 中南大学 Method for constraining workflow scheduling in cloud environment based on ant colony optimization algorithm through deadline
CN106776008A (en) * 2016-11-23 2017-05-31 福建六壬网安股份有限公司 A kind of method and system that load balancing is realized based on zookeeper
CN107346471A (en) * 2017-06-28 2017-11-14 西安图迹信息科技有限公司 Networking matching process is planned as a whole in a kind of inter-provincial interconnection electricity consumption transaction

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
徐九韵;迟焕醒;江丹;肖晗;张红霞;郭加树;: "一种基于回馈网络的物联网设备处理的服务调度模型", 小型微型计算机系统, no. 01, 15 January 2017 (2017-01-15) *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110825527A (en) * 2019-11-08 2020-02-21 北京理工大学 Deadline-budget driven scientific workflow scheduling method in cloud environment
CN110825527B (en) * 2019-11-08 2022-01-04 北京理工大学 Deadline-budget driven scientific workflow scheduling method in cloud environment
CN111565375A (en) * 2020-05-26 2020-08-21 多伦科技股份有限公司 Ant colony optimization method based on vehicle-mounted fog calculation in vehicle-mounted ad hoc network
CN111565375B (en) * 2020-05-26 2023-08-08 多伦科技股份有限公司 Ant colony optimization method based on vehicle-mounted fog calculation in vehicle-mounted ad hoc network

Similar Documents

Publication Publication Date Title
CN111954236B (en) Hierarchical edge calculation unloading method based on priority
CN111200528B (en) Intelligent linkage method for smart city with edge cloud cooperation
WO2019184445A1 (en) Service resource allocation
CN109788315A (en) video transcoding method, device and system
CN101262367A (en) Collection method and device for performance data
CN109783225B (en) Tenant priority management method and system of multi-tenant big data platform
US20140337435A1 (en) Device and Method for the Dynamic Load Management of Cloud Services
CN110119316A (en) A kind of associated task scheduling strategy based on slackness and Ant ColonySystem
CN103235835A (en) Inquiry implementation method for database cluster and device
CN111913800B (en) Resource allocation method for optimizing cost of micro-service in cloud based on L-ACO
CN113891466B (en) Online scheduling system and method for UDL tasks in edge wireless network
CN113590328B (en) Edge computing service interaction method and system based on block chain
CN117539929B (en) Lamp post multi-source heterogeneous data storage device and method based on cloud network edge cooperation
CN117177296B (en) Public monitoring video real-time transmission and remote play method based on 5G network
CN109976873A (en) The scheduling scheme acquisition methods and dispatching method of containerization distributed computing framework
CN109918185A (en) Based on virtual task fixed priority mixing critical system dispatching method
CN106603215B (en) ZigBee-based non-fair network channel resource sharing method
CN115018205B (en) Smart city unmanned aerial vehicle management method and system based on Internet of things
CN116939044A (en) Computing power route planning method and device based on block chain technology
CN116599028A (en) Multi-source data fusion-based method and system for autonomous and cooperative control of edge of platform
CN114138453B (en) Resource optimization allocation method and system suitable for edge computing environment
CN109167713A (en) A kind of mixed scheduling method of CAN bus control network
CN115460700A (en) Network resource configuration method, device, electronic equipment and medium based on federal learning
CN111950919B (en) Industrial virtualization production and service system based on network virtualization technology
CN109475006A (en) M2M service resource allocation method and distribution system based on Dynamic Packet

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination