×

Queue scheduling method and device, and computer storage medium

  • US 10,079,772 B2
  • Filed: 05/20/2014
  • Issued: 09/18/2018
  • Est. Priority Date: 12/30/2013
  • Status: Active Grant
First Claim
Patent Images

1. A queue scheduling method, wherein a scheduling extension unit is arranged, comprising:

  • receiving an enqueuing trigger message by the scheduling extension unit after a queue is written in a queue cache, wherein the enqueuing trigger message includes a queue identifier;

    writing the queue identifier in a queue identifier cache and setting a state of the queue identifier to be in the queue identifier cache by the scheduling extension unit;

    acquiring queue information of the queue and sending an enqueuing report to a scheduling unit by the scheduling extension unit when no authorization arrives; and

    determining, by the scheduling unit, whether to schedule the queue according to the queue information of the queue;

    wherein the queue information comprises a queue depth and a queue authorized value;

    determining, by the scheduling unit, whether to schedule the queue according to the queue information of the queue comprises;

    the scheduling unit setting a scheduling state of the queue; and

    determining, by the scheduling unit, whether the queue is to be scheduled according to the queue information of the queue after the scheduling unit receives the enqueuing report, comprises;

    the scheduling unit scheduling the queue and setting a scheduling state of the queue as a scheduling-joined state when a scheduling state of the queue is a scheduling-unjoined state and a queue depth and a queue authorized value of the queue are not zero; and

    the scheduling unit discarding the enqueuing report and stopping processing the queue when the scheduling state of the queue is a scheduling-joined state and a queue depth or a queue authorized value of the queue is zero.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×