US20180262284A1 - Method, apparatus and terminal device for sending broadcast - Google Patents

Method, apparatus and terminal device for sending broadcast Download PDF

Info

Publication number
US20180262284A1
US20180262284A1 US15/794,716 US201715794716A US2018262284A1 US 20180262284 A1 US20180262284 A1 US 20180262284A1 US 201715794716 A US201715794716 A US 201715794716A US 2018262284 A1 US2018262284 A1 US 2018262284A1
Authority
US
United States
Prior art keywords
broadcast message
sent
broadcast
sending process
sending
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US15/794,716
Other languages
English (en)
Inventor
Runsheng PEI
Liangjing Fu
Ruyu Wu
Zhiyong Lin
Jun Zhang
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Assigned to GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD. reassignment GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LTD. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: ZHANG, JUN, PEI, Runsheng, FU, Liangjing, LIN, ZHIYONG, WU, Ruyu
Publication of US20180262284A1 publication Critical patent/US20180262284A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H20/00Arrangements for broadcast or for distribution combined with broadcast
    • H04H20/42Arrangements for resource management
    • H04H20/423Transmitter side
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H20/00Arrangements for broadcast or for distribution combined with broadcast
    • H04H20/42Arrangements for resource management
    • H04H20/426Receiver side
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04HBROADCAST COMMUNICATION
    • H04H20/00Arrangements for broadcast or for distribution combined with broadcast
    • H04H20/65Arrangements characterised by transmission systems for broadcast
    • H04H20/71Wireless systems
    • H04H20/72Wireless systems of terrestrial networks
    • H04W4/003
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/60Subscription-based services using application servers or record carriers, e.g. SIM application toolkits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/30Resource management for broadcast services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/543Local
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]

Definitions

  • the embodiments of the disclosure relate to a computer technology, and in particular, to a method, apparatus and terminal device for sending broadcast.
  • a broadcast is a mechanism widely applied between applications for information transmission.
  • an android system implements data transmission and sharing between applications by means of a broadcast such as a short message broadcast and a call broadcast pre-embedded in the android system.
  • a broadcast sender sends a broadcast message by calling a sendBroadcast function.
  • a broadcast recipient registers a broadcast receiver with a management module by calling a registerReceiver function and defines a broadcast message of interest, thus implementing receiving of the corresponding broadcast message.
  • Embodiments of the disclosure provide a method, apparatus and terminal device for sending broadcast, capable of improving the broadcast processing efficiency, reducing the consumption of system resources, and increasing the system stability.
  • an embodiment of the disclosure provides a method for sending broadcast.
  • the method is applied to a terminal device.
  • the method includes: a current broadcast message to be sent in a broadcast sending queue is acquired, and a sending process of the current broadcast message to be sent is determined; a sending process of an already sent broadcast message in the broadcast sending queue is determined; 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, it is determined 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.
  • the embodiment of the disclosure also provides an apparatus for sending broadcast.
  • the apparatus is applied to a terminal device.
  • the apparatus includes one or more processors, wherein the one or more processors execute computer-readable instructions to implement multiple modules.
  • the multiple modules including: 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.
  • the embodiment of the disclosure also provides a terminal device, including: a processor, a memory and a computer program that is stored on the memory and is executable on the processor.
  • the processor executes the computer program such that a current broadcast message to be sent in a broadcast sending queue is acquired, and a sending process of the current broadcast message to be sent is determined; a sending process of an already sent broadcast message in the broadcast sending queue is determined; 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, it is determined 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.
  • the technical solution provided in the embodiment of the disclosure solves the problems in the existing broadcast sending, improves the broadcast processing efficiency, reduces the consumption of system resources, and increases the system stability.
  • FIG. 1 is a flowchart illustrating a method for sending broadcast according to an embodiment of the disclosure.
  • FIG. 2 is a flowchart illustrating another method for sending broadcast according to an embodiment of the disclosure.
  • FIG. 3 is a flowchart illustrating yet another method for sending broadcast according to an embodiment of the disclosure.
  • FIG. 4 is a structure block diagram illustrating an apparatus for sending broadcast according to an embodiment of the disclosure.
  • FIG. 5 is a structure diagram illustrating a terminal device according to an embodiment of the disclosure.
  • Some embodiments of the disclosure provide a method for sending broadcast, the method being applied to a terminal device and including: 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.
  • 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 may include: 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.
  • the method may further include: 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.
  • 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 may include: 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.
  • the method may further include: 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.
  • the sending process of the already sent broadcast message may include 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 may be updated according to a processing state of the already sent broadcast message.
  • Some embodiments of the disclosure provide an apparatus for sending broadcast, the apparatus being applied to a terminal device and including 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 including: 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.
  • control module may be 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.
  • the apparatus may further include: 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.
  • 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
  • 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.
  • control module may be 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.
  • control module may be 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.
  • the one or more processors may be 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 including a sending process, recorded during sending of the broadcast message, for sending the broadcast message.
  • 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 including a sending process, recorded during sending of the broadcast message, for sending the broadcast message.
  • control module may be 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.
  • Some embodiments of the disclosure provide a terminal device, including: 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.
  • 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 may include: 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.
  • 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.
  • 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 may include: 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.
  • the processor may be 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.
  • the sending process of the already sent broadcast message may include 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 may be updated according to a processing state of the already sent broadcast message.
  • some embodiments of the disclosure provide a non-transitory computer-readable storage medium having stored thereon instructions that, when executed by a processor, cause the processor to perform the method for sending broadcast as described above.
  • FIG. 1 is a flowchart illustrating a method for sending broadcast according to an embodiment of the disclosure.
  • the present embodiment can be applied to a situation of controlling broadcast sending in a system.
  • the method may be executed by a terminal device provided in the embodiment of the disclosure.
  • An apparatus for sending broadcast of the terminal device may be implemented in a software manner and/or a hardware manner.
  • a specific solution provided in the present embodiment is as follows.
  • a current broadcast message to be sent in a broadcast sending queue is acquired, and a sending process of the current broadcast message to be sent is determined.
  • a broadcast message refers to information sent in a running process of a system or an application and transmitted between the system and the application.
  • the broadcast message may be a system starting broadcast message, a short-message broadcast message, a call broadcast message or a third party application broadcast message.
  • a service process of a broadcast sender sends a broadcast message to a management module (e.g., ActivityManagerService) by calling a broadcast sending function (e.g., a sendBroadcast function).
  • a broadcast sending function e.g., a sendBroadcast function
  • the management module puts the broadcast message into a broadcast sending queue.
  • the management module sends the broadcast message in the broadcast sending queue to a broadcast recipient satisfying a receiving condition by means of a process communication mechanism (e.g., a Binder process communication mechanism).
  • a process communication mechanism e.g., a Binder process communication mechanism
  • the management module sends the broadcast messages in the broadcast sending queue in sequence.
  • the broadcast message sending process of the broadcast sender and the broadcast message receiving process of the broadcast recipient are asynchronous operation processes.
  • the broadcast sender and the broadcast recipient are matched in a low-coupling relation by means of the management module.
  • the broadcast messages may be classified into normal broadcast messages and ordered broadcast messages according to different broadcast sending manners. After normal broadcast messages are sent by the management module, broadcast recipients receive the broadcast messages out of order. By contrast, after ordered broadcast messages are sent by the management module, the broadcast recipients sequentially receive the broadcast messages in an order. That is, only when the first broadcast recipient receives a broadcast message and completely processes the broadcast message, the second broadcast recipient can start to receive and process the broadcast message, and this principle may also apply to the next recipients.
  • the present embodiment may be applied to a case of controlling over processing of the ordered broadcast messages.
  • the management module may acquire a register instruction for a broadcast receiver.
  • the register instruction for the broadcast receiver may be sent by the broadcast recipient.
  • the broadcast recipient registers (subscribes for) a broadcast message to be received in the management module by means of the process communication mechanism.
  • a service process of the broadcast recipient registers the broadcast receiver in the management module by calling a registerReceiver function, and defines a broadcast message of interest.
  • the management module sends, according to the register situation of a broadcast recipient, the broadcast message to a message cycle queue corresponding to the broadcast recipient who subscribes for the broadcast message.
  • the broadcast recipient calls back a receiving method (e.g., an onReceive method) in the registered broadcast receiver to execute corresponding functions so as to process the received broadcast message.
  • a receiving method e.g., an onReceive method
  • a current broadcast message to be sent in the broadcast sending queue is acquired, and a process of a broadcast sender corresponding to the broadcast message is determined.
  • the current broadcast message to be sent may be a broadcast message to be immediately processed in the broadcast queue. That is, an already sent broadcast message is being processed, and after the already sent broadcast message is completely processed, the current broadcast message to be sent will be processed.
  • the broadcast sender will start a corresponding process.
  • the process refers to a running activity of a program in the system about a certain data set, is a basic unit of the system for resource allocation and scheduling, is a composition basis of a system structure, and is a basic executive subject of the application.
  • a counter application will be taken as an example for a broadcast sender.
  • the broadcast message sending process of the counter application may be expressed as:
  • Intent intent new Intent (BROADCAST_COUNTER_ACTION);
  • a sending process used for sending the broadcast message BROADCAST_COUNTER_ACTION is determined.
  • the sending process can be determined according to a corresponding process ID.
  • a sending process of an already sent broadcast message in the broadcast sending queue is determined.
  • an already sent broadcast message in the broadcast sending queue is acquired, and a corresponding sending process for sending the broadcast message is determined according to the contents of the already sent broadcast message.
  • the specific process is as mentioned in the block S 101 and will not be elaborated here.
  • a block S 103 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, it is determined 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.
  • the sending process that corresponds to the current broadcast message to be sent and is determined in a block S 101
  • the sending process that corresponds to the already sent broadcast message and is determined in a block S 102 , it is determined whether to send the current broadcast message to be sent while the already sent broadcast message is being processed.
  • the current broadcast message to be sent is sent to the broadcast recipient of the current broadcast message to be sent while the already sent broadcast message is being processed.
  • the current broadcast message to be sent since 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 may be sent instantly without waiting for processing of the previous broadcast message to be finished, thereby implementing parallel sending of an ordered broadcast queue.
  • the solution is to control and process the broadcast sending queue.
  • the management module sends a broadcast message according to an order of broadcast messages in the broadcast sending queue, and a process of the current broadcast message to be sent may be determined.
  • a current broadcast message to be sent in a broadcast sending queue is acquired, and a sending process of the current broadcast message to be sent is determined; a sending process of an already sent broadcast message in the broadcast sending queue is determined; 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, it is determined 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.
  • FIG. 2 is a flowchart illustrating another method for sending broadcast according to an embodiment of the disclosure.
  • the method for sending broadcast may further include: 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.
  • the technical solution provided in the present embodiment may be as follows specifically.
  • a current broadcast message to be sent in a broadcast sending queue is acquired, a sending process of the current broadcast message to be sent is determined, and a sending process of an already sent broadcast message in the broadcast sending queue is determined.
  • a block S 202 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, it is determined 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.
  • the already sent broadcast message is removed from the broadcast sending queue, and is stored in an array.
  • the broadcast message that is being processed is reserved in the broadcast queue, and when a feedback is given after the broadcast message is completely processed, the broadcast message is removed from the broadcast queue.
  • the broadcast message to be sent is sent in time and processed.
  • the already sent broadcast message in the broadcast queue is removed from the broadcast queue and stored in an array.
  • the array may be a new array, used for storing the already sent broadcast message.
  • a block S 204 after receiving a feedback result sent by a broadcast recipient of the already sent broadcast message, the already sent broadcast message stored in the array is sent to a next broadcast recipient of the already sent broadcast message.
  • the broadcast recipient will feed a processing result back after the corresponding broadcast message is completely processed.
  • the broadcast message is sent to the next broadcast recipient for being processed.
  • a register process of receiving a broadcast message by a broadcast recipient may be expressed as (for example, when a broadcast message sent by a counter is to be received):
  • registerReceiver (counterActionReceiver,counterActionFilter)
  • the already sent broadcast message is removed from the broadcast queue and stored in the new array. After the feedback result is received, the new array will be looked up for the broadcast message. The broadcast message is then sent to the next broadcast recipient.
  • the parallel sending of the broadcast messages in the ordered broadcast queue can be implemented, and each broadcast message is processed in order. This further optimizes a broadcast sending processing manner, improves the broadcast processing efficiency, and ensures the orderliness of broadcast message processing.
  • FIG. 3 is a flowchart illustrating another method for sending broadcast according to an embodiment of the disclosure.
  • 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, control will be performed such that the current broadcast message to be sent is not sent to the broadcast recipient of the current broadcast message to be sent while the already sent broadcast message is being processed.
  • a next broadcast message to be sent which is after the current broadcast message to be sent, is acquired from the broadcast sending queue.
  • the sending process of the next broadcast message to be sent is determined; 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, the next broadcast message to be sent is sent to a broadcast recipient of the next broadcast message to be sent while the already sent broadcast message is being processed.
  • a current broadcast message to be sent in a broadcast sending queue is acquired, and a sending process of the current broadcast message to be sent is determined.
  • a sending process of an already sent broadcast message in the broadcast sending queue is determined.
  • a block S 303 it is judged 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.
  • a block S 304 and a block S 305 are executed.
  • control is performed such that the current broadcast message to be sent is not sent to the broadcast recipient of the current broadcast message to be sent while the already sent broadcast message is being processed.
  • control is performed such that the current broadcast message to be sent is not sent but will be sent after the broadcast message in the same process is completely processed, for avoiding occupancy of the same process.
  • a next broadcast message to be sent which is after the current broadcast message to be sent, is acquired from the broadcast sending queue, and a sending process of the next broadcast message to be sent is determined.
  • the sending process of the next broadcast message to be sent is different from the sending process of the already sent broadcast message, the next broadcast message to be sent is sent to a broadcast recipient of the next broadcast message to be sent while the already sent broadcast message is being processed.
  • the broadcast message is sequentially determined whether to send the broadcast messages.
  • a sending process of a broadcast message is different from the sending process of the already sent broadcast message, the broadcast message is sent while the already sent broadcast message is being processed.
  • the sending process of the broadcast message is the same sending process as the sending process of the already sent broadcast message, a next broadcast message is continuously acquired, and a corresponding sending process is determined to determine whether to send the broadcast message.
  • the present embodiment provides a method for sending broadcast.
  • 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, control is performed such that the current broadcast message to be sent is not sent to the broadcast recipient of the current broadcast message to be sent while the already sent broadcast message is being processed; a next broadcast message to be sent, which is after the current broadcast message to be sent, is acquired from the broadcast sending queue, and a sending process of the next broadcast message to be sent is determined; 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, the next broadcast message to be sent is sent to a broadcast recipient of the next broadcast message to be sent while the already sent broadcast message is being processed.
  • parallel sending of an ordered broadcast queue is implemented, the broadcast processing efficiency is improved, and the power consumption of a system is reduced.
  • the sending process of the already sent broadcast message includes 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.
  • the sending process of the already sent broadcast message is updated according to a processing state of the already sent broadcast message. If processing is completed, the process is correspondingly set to be not occupied so as to send a new broadcast message.
  • FIG. 4 is a structure block diagram illustrating an apparatus for sending broadcast according to an embodiment of the disclosure.
  • the apparatus is configured to execute the method for sending broadcast provided in the above-mentioned embodiment, and has corresponding functional modules for executing the method as well as beneficial effects of the method.
  • the apparatus specifically includes: an acquisition module 401 , a first sending process determining module 402 , a second sending process determining module 403 and a control module 404 .
  • the acquisition module 401 is configured to acquire a current broadcast message to be sent in a broadcast sending queue.
  • the first sending process determining module 402 is configured to determine a sending process of the current broadcast message to be sent.
  • the second sending process determining module 403 is configured to determine a sending process of an already sent broadcast message in the broadcast sending queue.
  • the control module 404 is 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.
  • the technical solution provided in the present embodiment solves the problems in the existing broadcast sending, improves the broadcast processing efficiency, reduces the consumption of system resources, and increases the system stability.
  • control module 404 may be 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.
  • the broadcast sending apparatus may further include: a storage module 405 .
  • the storage module 405 is 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.
  • the control module 404 may be 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.
  • control module 404 may be 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; acquire 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 broadcast message to be sent; and send, when the sending process of the 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.
  • the broadcast sending apparatus may further include an update module 405 .
  • the update module 405 is 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 includes a sending process, recorded during sending of the broadcast message, for sending the broadcast message.
  • the present embodiment provides a terminal device on the basis of each of the above-mentioned embodiments.
  • the terminal device may include an apparatus for sending broadcast provided in the disclosure.
  • FIG. 5 is a structure diagram illustrating a terminal device according to embodiments of the disclosure. As illustrated in FIG.
  • the terminal device may include: a memory 501 , a Central Processing Unit (CPU) 502 , a peripheral interface 503 , a Radio Frequency (RF) circuit 505 , an audio circuit 506 , a loudspeaker 511 , a power management chip 508 , an Input/Output (I/O) subsystem 509 , a touch screen 512 , other input/control devices 510 and an external port 504 , which communicate through one or more communication buses or signal lines 507 .
  • CPU Central Processing Unit
  • RF Radio Frequency
  • I/O Input/Output
  • touch screen 512 a touch screen 512
  • other input/control devices 510 and an external port 504 , which communicate through one or more communication buses or signal lines 507 .
  • the terminal device 500 illustrated in the figure is only an example of a terminal device, and the terminal device 500 may have components more or less than those illustrated in the figure. two or more components of the terminal device 500 may be combined, or the terminal device 500 may have different component configurations.
  • Various components illustrated in the figure may be implemented in hardware, software, or a combination of hardware and software.
  • the hardware may include one or more signal processing and/or dedicated integrated circuits.
  • a terminal device for sending broadcast provided in the present embodiment will be described in detail below.
  • a smart phone is taken as an example of the terminal device.
  • the memory 501 may be accessed by the CPU 502 , the peripheral interface 503 and the like.
  • the memory 501 may include a high-speed random access memory.
  • the memory 501 may include a nonvolatile memory such as one or more disk storage apparatuses, a flash apparatus or other volatile solid storage apparatuses.
  • the peripheral interface 503 may connect input and output peripherals of the device to the CPU 502 and the memory 501 .
  • the I/O subsystem 509 may connect the input and output peripherals on the device, such as the touch screen 512 and the other input/control devices 510 , to the peripheral interface 503 .
  • the I/O subsystem 509 may include a display controller 5091 and one or more input controllers 5092 for controlling the other input/control devices 510 .
  • the one or more input controllers 5092 receive an electric signal from the other input/control devices 510 or send an electric signal to the other input/control devices 510 .
  • the other input/control devices 510 may include a physical button (e.g. press button, rocker button, etc.), a dial, a sliding switch, an operating rod and a clicking roller.
  • the input controller 5092 may be connected to any one of a keyboard, an infrared port, a Universal Serial Bus (USB) interface and a pointing device such as a mouse.
  • USB Universal Serial Bus
  • the touch screen 512 is an input interface and an output interface between a user terminal and a user, and displays a visual output to the user.
  • the visual output may include a graph, a text, an icon, a video and the like.
  • the display controller 5091 in the I/O subsystem 509 receives an electric signal from the touch screen 512 or sends an electric signal to the touch screen 512 .
  • the touch screen 512 detects a contact on the touch screen.
  • the display controller 5091 converts the detected contact into an interaction with a user interface object displayed on the touch screen 512 to realize a human-computer interaction.
  • the user interface object displayed on the touch screen 512 may be an icon of game running, an icon of connection to a corresponding network, or the like.
  • the device may further include an optical mouse, which is a touch-sensitive surface that does not display the visual output or an extension of a touch-sensitive surface formed by the touch screen.
  • the RF circuit 505 is mainly used for establishing communications between a mobile phone and a wireless network (i.e., network side) to realize data receiving and sending between the mobile phone and the wireless network such as receiving and sending of a short message, an E-mail and the like. Specifically, the RF circuit 505 receives and sends an RF signal that is also referred to as an electromagnetic signal, and the RF circuit 505 converts an electric signal into an electromagnetic signal or converts an electromagnetic signal into an electric signal, and communicates with a communication network and other devices through the electromagnetic signal.
  • the RF circuit 505 may include a known circuit for executing these functions, which includes, but is not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a Coder-Decoder (CODEC) chip group, a Subscriber Identity Module (SIM) and the like.
  • a known circuit for executing these functions which includes, but is not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a Coder-Decoder (CODEC) chip group, a Subscriber Identity Module (SIM) and the like.
  • CDEC Coder-Decoder
  • SIM Subscriber Identity Module
  • the audio circuit 506 is mainly used for receiving audio data from the peripheral interface 503 , converting the audio data into an electric signal, and sending the electric signal to the loudspeaker 511 .
  • the loudspeaker 511 is used for restoring a voice signal that is received, by the mobile phone, from the wireless network through the RF circuit 505 into a sound, and playing the sound to the user.
  • the power management chip 508 is used for performing power supply and power management on hardware connected to the CPU 502 , the I/O subsystem and the peripheral interface.
  • the CPU 502 provided in the embodiment of the disclosure may execute the following operations:
  • 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 includes: 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.
  • the operation further includes: 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.
  • 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 includes: 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; 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 broadcast message to be sent; and when the sending process of the broadcast message to be sent is different from the sending process of the already sent broadcast message, sending 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.
  • the sending process of the already sent broadcast message includes 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.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • General Business, Economics & Management (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
US15/794,716 2017-03-10 2017-10-26 Method, apparatus and terminal device for sending broadcast Abandoned US20180262284A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410140901.4 2017-03-10
CN201710140903.3A CN106686557B (zh) 2017-03-10 2017-03-10 广播处理方法、装置和终端设备

Publications (1)

Publication Number Publication Date
US20180262284A1 true US20180262284A1 (en) 2018-09-13

Family

ID=58828625

Family Applications (2)

Application Number Title Priority Date Filing Date
US15/794,716 Abandoned US20180262284A1 (en) 2017-03-10 2017-10-26 Method, apparatus and terminal device for sending broadcast
US16/565,385 Active US10819455B2 (en) 2017-03-10 2019-09-09 Broadcast processing method, non-transitory storage medium, and electronic device

Family Applications After (1)

Application Number Title Priority Date Filing Date
US16/565,385 Active US10819455B2 (en) 2017-03-10 2019-09-09 Broadcast processing method, non-transitory storage medium, and electronic device

Country Status (4)

Country Link
US (2) US20180262284A1 (fr)
EP (1) EP3592004B1 (fr)
CN (1) CN106686557B (fr)
WO (1) WO2018161593A1 (fr)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190182064A1 (en) * 2017-12-07 2019-06-13 California Eastern Laboratories, Inc. Broadcast transmission control apparatuses, systems, and methods
US20190182172A1 (en) * 2017-12-07 2019-06-13 California Eastern Laboratories, Inc. Network traffic and processor activity management apparatuses, systems, and methods
CN113556696A (zh) * 2021-07-23 2021-10-26 Tcl通讯(宁波)有限公司 认证短信发送方法、装置、系统、设备和存储介质

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11663628B2 (en) 2012-05-14 2023-05-30 Iqzone, Inc. Systems and methods for unobtrusively displaying media content on portable devices
CN106686557B (zh) 2017-03-10 2019-05-03 Oppo广东移动通信有限公司 广播处理方法、装置和终端设备
CN109992309B (zh) * 2017-12-29 2021-03-12 Oppo广东移动通信有限公司 应用程序处理方法和装置、电子设备、计算机可读存储介质
CN112335031B (zh) 2018-06-28 2024-05-03 日本爱发科泰克能株式会社 静电卡盘用供电装置及基板管理方法
CN110244834B (zh) * 2019-05-15 2021-06-11 深圳市优博讯科技股份有限公司 一种应用行为对齐方法及终端设备
CN110351669B (zh) * 2019-06-28 2022-05-31 南京中感微电子有限公司 蓝牙无线广播发射、接收方法、设备及通信系统
US11736777B2 (en) 2019-10-25 2023-08-22 Iqzone, Inc. Using activity-backed overlays to display rich media content on portable devices during periods of user inactivity

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100504836B1 (ko) * 2003-05-15 2005-07-29 엘지전자 주식회사 이동 통신 단말기의 동보전송 메시지 송수신 방법
CN101156463B (zh) * 2003-11-19 2015-11-25 黑莓有限公司 为wlan启用无线通信设备提供网络广播信息的方法和装置
US9319161B2 (en) * 2012-04-09 2016-04-19 Youtoo Technologies, LLC Participating in television programs
CN103595547B (zh) * 2013-11-15 2016-07-13 北京奇虎科技有限公司 智能设备的广播拦截方法和装置
CN104994481B (zh) 2015-07-10 2018-09-28 上海斐讯数据通信技术有限公司 一种Android系统中应用程序之间广播消息的收发方法及系统
US9980110B2 (en) * 2015-08-18 2018-05-22 At&T Intellectual Property I, L.P. Supplementing broadcast messages
CN105897438A (zh) 2016-03-22 2016-08-24 上海斐讯数据通信技术有限公司 一种广播发送方法及装置
CN105872989A (zh) * 2016-06-12 2016-08-17 天津市北海通信技术有限公司 广播信息下发方法及系统
CN106686557B (zh) * 2017-03-10 2019-05-03 Oppo广东移动通信有限公司 广播处理方法、装置和终端设备

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190182064A1 (en) * 2017-12-07 2019-06-13 California Eastern Laboratories, Inc. Broadcast transmission control apparatuses, systems, and methods
US20190182172A1 (en) * 2017-12-07 2019-06-13 California Eastern Laboratories, Inc. Network traffic and processor activity management apparatuses, systems, and methods
US10637677B2 (en) * 2017-12-07 2020-04-28 California Eastern Laboratories, Inc. Broadcast transmission control apparatuses, systems, and methods
US10637786B2 (en) * 2017-12-07 2020-04-28 California Eastern Laboratories, Inc. Network traffic and processor activity management apparatuses, systems, and methods
CN113556696A (zh) * 2021-07-23 2021-10-26 Tcl通讯(宁波)有限公司 认证短信发送方法、装置、系统、设备和存储介质

Also Published As

Publication number Publication date
WO2018161593A1 (fr) 2018-09-13
US10819455B2 (en) 2020-10-27
CN106686557A (zh) 2017-05-17
US20200008016A1 (en) 2020-01-02
CN106686557B (zh) 2019-05-03
EP3592004A4 (fr) 2020-02-26
EP3592004A1 (fr) 2020-01-08
EP3592004B1 (fr) 2020-10-07

Similar Documents

Publication Publication Date Title
US20180262284A1 (en) Method, apparatus and terminal device for sending broadcast
US10097292B2 (en) Method, device, terminal and storage medium for adjusting broadcast message queue
US11051272B2 (en) Method for arranging broadcast message in operating system and electronic device
US10908976B2 (en) Broadcast queue adjustment method, terminal, and storage medium
CN106921947B (zh) 调整广播消息队列的方法、装置及终端
CN106851015B (zh) 调整广播消息队列的方法、装置及终端
EP3373137B1 (fr) Procédé, appareil et dispositif terminal d'envoi de diffusion
WO2018161963A1 (fr) Procédé et dispositif de gestion de destinataires de diffusion, et terminal
EP3592003A1 (fr) Procédé de commande de radiodiffusion, dispositif, support de stockage et terminal mobile
CN106953852B (zh) 广播接收器的注册方法、装置和终端设备
US10990460B2 (en) Method of generating broadcast queue, storage medium, and terminal
US10785741B2 (en) Registration method for broadcast receiver, terminal and storage medium
EP3373140B1 (fr) Procédé de traitement de diffusion ordonnée et dispositif électronique
WO2018161955A1 (fr) Procédé et dispositif de commande de bénéficiaire de diffusion et terminal mobile
CN106899943B (zh) 控制广播发送者发送广播消息的方法、装置和终端设备
US20180262358A1 (en) Method for monitoring broadcast message and terminal
CN106850458A (zh) 广播消息排队的方法、装置及终端
CN106851594A (zh) 一种广播发送方法、装置及终端
CN106919461B (zh) 广播接收者队列调整方法、装置和终端设备

Legal Events

Date Code Title Description
AS Assignment

Owner name: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP., LT

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:PEI, RUNSHENG;FU, LIANGJING;WU, RUYU;AND OTHERS;SIGNING DATES FROM 20170927 TO 20171010;REEL/FRAME:043961/0284

STPP Information on status: patent application and granting procedure in general

Free format text: FINAL REJECTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: ADVISORY ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: DOCKETED NEW CASE - READY FOR EXAMINATION

STPP Information on status: patent application and granting procedure in general

Free format text: NON FINAL ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER

STPP Information on status: patent application and granting procedure in general

Free format text: FINAL REJECTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: ADVISORY ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: NON FINAL ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: RESPONSE TO NON-FINAL OFFICE ACTION ENTERED AND FORWARDED TO EXAMINER

STPP Information on status: patent application and granting procedure in general

Free format text: NON FINAL ACTION MAILED

STPP Information on status: patent application and granting procedure in general

Free format text: ADVISORY ACTION MAILED

STCB Information on status: application discontinuation

Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION