The invention relates to the technical field of printing task scheduling, in particular to a printing task scheduling method and
system based on a main control
chip and a terminal, and the method comprises the steps of initial task classification, dynamic priority adjustment, task
queue recombination,
resource allocation execution, termination mechanism triggering and the like. The high-priority task response speed is optimized through
system load monitoring and a
waiting time coefficient, and a real-time task
pool and an elastic buffer
pool are divided to improve the scheduling efficiency. According to the method, the real-time task
pool and the elastic buffer pool are divided through an
algorithm of'dynamic
memory pool partitioning + task life cycle binding ', and the memory blocks are pre-allocated according to the task types, so that the real-time performance and the scheduling efficiency of the high-
concurrency printing tasks are improved,
rapid response of high-priority tasks can be realized,
delay of key tasks is reduced, and the efficiency of the high-
concurrency printing tasks is improved. The
resource utilization rate and the scheduling fairness are improved, and the method is suitable for high-
concurrency printing scenes.