The application relates to the technical field of embedded multi-core computer systems, and provides a non-symmetrical multi-core flow
parallel processing method based on
clock interrupt synchronization, which comprises the following steps: dividing a task to be executed into n sub-tasks according to
data correlation and execution sequence, and binding one processor core to each sub-task; using a general counter on the processor to periodically generate an interrupt at a specified time interval; and responding to the interrupt by an interrupt service program of each core, simulating a synchronous
clock rising edge through the interrupt and setting an identification bit, so that relatively independent processor cores can simultaneously start executing three stages of the respective sub-tasks at the
clock rising edge. According to the method, multi-core resources can be fully utilized, the execution of the whole task can still obtain parallel acceleration when there is
data correlation among the sub-tasks, the
scalability of multi-core application is enhanced, multi-core scheduling management is simplified, the
system design complexity is reduced, and the multi-core management
time cost is lowered.