Method, apparatus and terminal device for sending broadcast
Abstract
A method, apparatus and terminal device for sending broadcast are provided. The method includes: acquiring a current broadcast message to be sent in a broadcast sending queue, and determining a sending process of the current broadcast message to be sent; determining a sending process of an already sent broadcast message in the broadcast sending queue; and according to whether the sending process of the current broadcast message to be sent is the same sending process as the sending process of the already sent broadcast message, determining whether to send the current broadcast message to be sent to a broadcast recipient of the current broadcast message to be sent while the already sent broadcast message is being processed.
Claims
exact text as granted — not AI-modified1 . A method for sending broadcast, the method being applied to a terminal device and comprising:
acquiring a current broadcast message to be sent in a broadcast sending queue, and determining a sending process of the current broadcast message to be sent; determining a sending process of an already sent broadcast message in the broadcast sending queue; and determining, according to whether the sending process of the current broadcast message to be sent is the same sending process as the sending process of the already sent broadcast message, whether to send the current broadcast message to be sent to a broadcast recipient of the current broadcast message to be sent while the already sent broadcast message is being processed.
2 . The method according to claim 1 , wherein the determining, according to whether the sending process of the current broadcast message to be sent is the same sending process as the sending process of the already sent broadcast message, whether to send the current broadcast message to be sent to a broadcast recipient of the current broadcast message to be sent while the already sent broadcast message is being processed comprises:
when the sending process of the current broadcast message to be sent is different from the sending process of the already sent broadcast message, sending the current broadcast message to be sent to the broadcast recipient of the current broadcast message to be sent while the already sent broadcast message is being processed.
3 . The method according to claim 2 , wherein after sending the current broadcast message to be sent to the broadcast recipient of the current broadcast message to be sent, the method further comprises:
removing the already sent broadcast message from the broadcast sending queue, and storing the already sent broadcast message in an array; and after receiving a feedback result sent by a current broadcast recipient of the already sent broadcast message, sending the already sent broadcast message stored in the array to a next broadcast recipient of the already sent broadcast message.
4 . The method according to claim 1 , wherein determining, according to whether the sending process of the current broadcast message to be sent is the same sending process as the sending process of the already sent broadcast message, whether to send the current broadcast message to be sent to a broadcast recipient of the current broadcast message to be sent while the already sent broadcast message is being processed comprises:
when the sending process of the current broadcast message to be sent is the same sending process as the sending process of the already sent broadcast message, performing control not to send the current broadcast message to be sent to the broadcast recipient of the current broadcast message to be sent while the already sent broadcast message is being processed.
5 . The method according to claim 4 , further comprising:
when the sending process of the current broadcast message to be sent is the same sending process as the sending process of the already sent broadcast message, acquiring a next broadcast message to be sent, which is after the current broadcast message to be sent, from the broadcast sending queue, and determining a sending process of the next broadcast message to be sent; and when the sending process of the next broadcast message to be sent is different from the sending process of the already sent broadcast message, sending the next broadcast message to be sent to a broadcast recipient of the next broadcast message to be sent while the already sent broadcast message is being processed.
6 . The method according to claim 1 , wherein the sending process of the already sent broadcast message comprises a sending process, recorded during sending of the broadcast message, for sending the broadcast message, and the sending process of the already sent broadcast message is updated according to a processing state of the already sent broadcast message.
7 . The method according to claim 1 , wherein it is determined whether the sending process of the current broadcast message to be sent is the same sending process as the sending process of the already sent broadcast message according to an identification of the sending process of the current broadcast message to be sent and an identification of the sending process of the already sent broadcast message.
8 . An apparatus for sending broadcast, the apparatus being applied to a terminal device and comprising one or more processors, wherein the one or more processors are configured to execute computer-readable instructions to implement a plurality of modules, the plurality of modules comprising:
an acquisition module, configured to acquire a current broadcast message to be sent in a broadcast sending queue; a first sending process determining module, configured to determine a sending process of the current broadcast message to be sent; a second sending process determining module, configured to determine a sending process of an already sent broadcast message in the broadcast sending queue; and a control module, configured to determine, according to whether the sending process of the current broadcast message to be sent is the same sending process as the sending process of the already sent broadcast message, whether to send the current broadcast message to be sent to a broadcast recipient of the current broadcast message to be sent while the already sent broadcast message is being processed.
9 . The apparatus according to claim 8 , wherein the control module is specifically configured to:
send, when the sending process of the current broadcast message to be sent is different from the sending process of the already sent broadcast message, the current broadcast message to be sent to the broadcast recipient of the current broadcast message to be sent while the already sent broadcast message is being processed.
10 . The apparatus according to claim 9 , wherein the one or more processors are further configured to execute the computer-readable instructions to implement:
a storage module, configured to remove, after sending the current broadcast message to be sent to the broadcast recipient of the current broadcast message to be sent, the already sent broadcast message from the broadcast sending queue, and store the already sent broadcast message in an array, wherein the control module is further configured to send, after receiving a feedback result sent by a current broadcast recipient of the already sent broadcast message, the already sent broadcast message stored in the array to a next broadcast recipient of the already sent broadcast message.
11 . The apparatus according to claim 8 , wherein the control module is specifically configured to:
perform control not to send, when the sending process of the current broadcast message to be sent is the same sending process as the sending process of the already sent broadcast message, the current broadcast message to be sent to the broadcast recipient of the current broadcast message to be sent while the already sent broadcast message is being processed.
12 . The apparatus according to claim 11 , wherein the control module is further configured to:
acquire, when the sending process of the current broadcast message to be sent is the same sending process as the sending process of the already sent broadcast message, a next broadcast message to be sent, which is after the current broadcast message to be sent, from the broadcast sending queue, and determine a sending process of the next broadcast message to be sent; and send, when the sending process of the next broadcast message to be sent is different from the sending process of the already sent broadcast message, the broadcast message to be sent to a broadcast recipient of the broadcast message to be sent while the already sent broadcast message is being processed.
13 . The apparatus according to claim 8 , wherein the one or more processors are further configured to execute the computer-readable instructions to implement:
an update module, configured to update the sending process of the already sent broadcast message according to a processing state of the already sent broadcast message, the sending process of the already sent broadcast message comprising a sending process, recorded during sending of the broadcast message, for sending the broadcast message.
14 . The apparatus according to claim 8 , wherein the control module is configured to determine whether the sending process of the current broadcast message to be sent is the same sending process as the sending process of the already sent broadcast message according to an identification of the sending process of the current broadcast message to be sent and an identification of the sending process of the already sent broadcast message.
15 . A terminal device, comprising: a processor, a memory and a computer program that is stored on the memory and is executable on the processor, wherein when the processor is configured to executes the computer program for:
acquiring a current broadcast message to be sent in a broadcast sending queue, and determining a sending process of the current broadcast message to be sent; determining a sending process of an already sent broadcast message in the broadcast sending queue; and determining, according to whether the sending process of the current broadcast message to be sent is the same sending process as the sending process of the already sent broadcast message, whether to send the current broadcast message to be sent to a broadcast recipient of the current broadcast message to be sent while the already sent broadcast message is being processed.
16 . The terminal device according to claim 15 , wherein the determining, according to whether the sending process of the current broadcast message to be sent is the same sending process as the sending process of the already sent broadcast message, whether to send the current broadcast message to be sent to a broadcast recipient of the current broadcast message to be sent while the already sent broadcast message is being processed comprises:
when the sending process of the current broadcast message to be sent is different from the sending process of the already sent broadcast message, sending the current broadcast message to be sent to the broadcast recipient of the current broadcast message to be sent while the already sent broadcast message is being processed.
17 . The terminal device according to claim 16 , wherein the processor is configured to execute the computer program for performing: after sending the current broadcast message to be sent to the broadcast recipient of the current broadcast message to be sent, removing the already sent broadcast message from the broadcast sending queue, and storing the already sent broadcast message in an array; and
after receiving a feedback result sent by a current broadcast recipient of the already sent broadcast message, sending the already sent broadcast message stored in the array to a next broadcast recipient of the already sent broadcast message.
18 . The terminal device according to claim 15 , wherein the determining, according to whether the sending process of the current broadcast message to be sent is the same sending process as the sending process of the already sent broadcast message, whether to send the current broadcast message to be sent to a broadcast recipient of the current broadcast message to be sent while the already sent broadcast message is being processed comprises:
when the sending process of the current broadcast message to be sent is the same sending process as the sending process of the already sent broadcast message, performing control not to send the current broadcast message to be sent to the broadcast recipient of the current broadcast message to be sent while the already sent broadcast message is being processed.
19 . The terminal device according to claim 18 , wherein the processor is configured to execute the computer program for performing:
when the sending process of the current broadcast message to be sent is the same sending process as the sending process of the already sent broadcast message, acquiring a next broadcast message to be sent, which is after the current broadcast message to be sent, from the broadcast sending queue, and determining a sending process of the next broadcast message to be sent; and when the sending process of the next broadcast message to be sent is different from the sending process of the already sent broadcast message, sending the next broadcast message to be sent to a broadcast recipient of the next broadcast message to be sent while the already sent broadcast message is being processed.
20 . The terminal device according to claim 15 , wherein the sending process of the already sent broadcast message comprises a sending process, recorded during sending of the broadcast message, for sending the broadcast message, and the sending process of the already sent broadcast message is updated according to a processing state of the already sent broadcast message.Join the waitlist — get patent alerts
Track US2018262284A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.