The invention discloses a method for realizing the dynamic dispatching distribution of a task by a multicore embedded DSP (
Data Structure Processor). A KeyStone platform brought out by TI (Texas Instruments) provides a multicore
runtime system library OpenEM (Event
Machine) capable of realizing the dynamic dispatching distribution of the task on the basis of Multicore Navigator, the dynamic dispatching distribution of the task can be realized through the multicore
runtime system library OpenEM, and multicore load balance is realized, wherein the multicore
runtime system library OpenEM is independent of an
operating system. A DSP core of a multicore embedded processor based on a KeyStone architecture is divided into a main core and slave cores, wherein the main core finishes the global initialization of a
programming model, and all cores finish local initialization. The
programming model consists of a main core generation event, an event driver, an OpenEM dispatching distribution event and a slave core
processing event. The invention provides a uniform
parallel programming model of the multicore embedded DSP on the basis of the OpenEM for
embedded software developers. The implementation method is high in expansibility, can be suitable for the majority of multicore or many-core embedded processors based on a KeyStone architecture and can meet the application requirement of the dispatching distribution of the task under a multicore environment and realize the dynamic load balance.