Method and device for controlling broadcast transmission and mobile terminal

Method and device for controlling broadcast transmission and mobile terminal

  • CN 106,936,825 B
  • Filed: 03/10/2017
  • Issued: 07/27/2021
  • Est. Priority Date: 03/10/2017
  • Status: Active Grant
First Claim
Patent Images

1. A method of controlling broadcast transmissions, comprising:

  • acquiring a receiver queue corresponding to a broadcast message to be sent;

    wherein the broadcast message is issued to a broadcast management module by a publisher;

    the receivers in the receiver queue are application programs which subscribe to the broadcast messages in the broadcast management module in advance;

    determining a target receiver according to the priority and the preset priority of the receivers in the receiver queue;

    the priority of the receiver is the recovery priority of calling the system process, the recovery priority is obtained in an inverted mode, and the application program or service with high recovery priority is inverted into the priority of the receiver and is lower;

    sorting the receiver queues according to the priorities of the receivers in the receiver queues;

    determining the receivers with the priority greater than the preset priority in the sequencing result as target receivers;

    for the receivers with the priority lower than the preset priority, canceling the sending of the broadcast message to the receivers with the priority lower than the preset priority, and deleting the receivers with the priority lower than the preset priority in the receiver queue;

    and sending the broadcast message to the target receiver to improve the response speed of the target receiver to the broadcast message.

View all claims
    ×
    ×

    Thank you for your feedback

    ×
    ×