摘要 |
<p>Disclosed are a scheduling method and device in a virtual operating system. The method comprises: determining whether events to be scheduled comprise an emergency event; if yes, starting an event driven policy, determining a sub-operating system corresponding to the emergency event according to the event driven policy, and scheduling the corresponding sub-operating system to execute the emergency event; if not, starting a time slice driven policy, and scheduling, according to the time slice driven policy, sub-operating systems to execute the events to be scheduled. Through the present invention, it is determined whether events to be scheduled comprises an emergency event, an event driven policy is applied when the emergency event exists, and a time slice driven policy is applied when the emergency event does not exist, so that the emergency event can be preferentially processed, thereby solving the problem that it is difficult for a schedule policy of a virtual operating system to satisfy requirements of a real-time system, and enlarging a use range of the system.</p> |