The invention discloses an embedded real-time
scheduling system of a
wireless sensor network, relating to a
scheduling system. According to the invention, the
system kernel size is reduced, an independent
scheduling system which can adapt to application change can be provided, and simultaneously, the scheduling
system can support a real-time multi-task
operation mode and an event drive
operation mode and switch the operation
modes self-adaptively according to the application change. The embedded real-time scheduling
system comprises a state module and a state transition module, wherein the state module comprises a
sleep state module, a task-ready state module, an abnormal state module and a hang-up state module; the state transition module comprises an activation module, a
revocation module, a scheduling module, a hanging-up module and an awaking module; and the embedded real-time scheduling system is a special WSN (
Wireless Sensor Network) task scheduling system which is applicable to
limited resources and complex environments, is provided with a tiny distributed real-time fine-scheduling kernel, has the characteristics of parallel operation, stability and self adaptability and can simultaneously provide a
priority scheduling mode and a real-time scheduling mode. The embedded real-time scheduling system has wide application prospects in aspects, such as environment monitoring, military,
agriculture,
medical treatment and mining.