![一种嵌入式操作系统的待机任务调度方法](/CN/2019/1/197/images/201910985099.jpg)
基本信息:
- 专利标题: 一种嵌入式操作系统的待机任务调度方法
- 专利标题(英):Standby task scheduling method of embedded operating system
- 申请号:CN201910985099.8 申请日:2019-10-16
- 公开(公告)号:CN110737522A 公开(公告)日:2020-01-31
- 发明人: 罗继峰 , 许明伟 , 王博
- 申请人: 福州物联网开放实验室有限公司
- 申请人地址: 福建省福州市马尾区湖里路27号2号楼2楼(自贸试验区内)
- 专利权人: 福州物联网开放实验室有限公司
- 当前专利权人: 福州物联网开放实验室有限公司
- 当前专利权人地址: 福建省福州市马尾区湖里路27号2号楼2楼(自贸试验区内)
- 代理机构: 福州君诚知识产权代理有限公司
- 代理人: 戴雨君
- 主分类号: G06F9/48
- IPC分类号: G06F9/48
The invention discloses a standby task scheduling method of an embedded operating system, which comprises the following steps of: 1, expressing a task ready table by eight bits of one byte, dividing auser task into eight priorities from 1 to 8 in one-to-one correspondence with the bits of the byte from low to high, and setting the priority of an idle task of the system to be 0; 2, triggering a system response by an event, activating the task with the highest priority in the task suspension table by the system, judging whether the priority is lower than the priority of the currently executed task, and if yes, executing the step 2 to wait for the triggering of the next event; otherwise, suspending the currently executed task, and executing the step 3; 3, inquiring a task ready table by thesystem scheduling program, and scheduling a ready task with the highest priority to run according to a task number formed by bytes to which the task ready table belongs; and step 4, completing the scheduling of the corresponding task and executing the step 2. According to the method, the idle tasks do not occupy byte bits of the task ready table independently, the expenditure of a system on hardware memory resources is reduced, and the cost is reduced.
公开/授权文献:
- CN110737522B 一种嵌入式操作系统的待机任务调度方法 公开/授权日:2023-03-03
IPC结构图谱:
G | 物理 |
--G06 | 计算;推算;计数 |
----G06F | 电数字数据处理 |
------G06F9/00 | 电数字数据处理的控制单元 |
--------G06F9/06 | .应用存入的程序的,即应用处理设备的内部存储来接收程序并保持程序的 |
----------G06F9/22 | ..微控制或微程序装置 |
------------G06F9/48 | ...程序启动;程序切换,例如通过中断 |