侯慧娟,李梦溪,郭思维.基于智能电表微内核动态优先级任务调度方法[J].电测与仪表,2023,60(11):180-187. HOU Huijuan,LI Mengxi,GUO Siwei.Dynamic priority for task scheduling in the micro-kernel of smart meter[J].Electrical Measurement & Instrumentation,2023,60(11):180-187.
基于智能电表微内核动态优先级任务调度方法
Dynamic priority for task scheduling in the micro-kernel of smart meter
In order to promote the performance of task scheduling in the embedded real-time operation system for new generation smart meter, this paper presents a kind of method to task scheduling. In the method, the tasks built in the smart meter are divided into two types of tasks, including the period tasks and the event-happened tasks. Among the event-happened tasks, the Earliest Deadline First schedule is devoted to allocate the priority of tasks. At the same time, to make the lower priority of tasks get response during the task schedule during the running, this paper introduces the strategy which is made up for the task schedule, in order to ensure the task have the time to running as possible as it can. Finally, experiments on the test to demonstrate the effectiveness of our method, and the results show that it can provide the basis for applying the method into the smart meter.