WO2018161966A1 - 广播发送方法、装置、终端及存储介质 - Google Patents

广播发送方法、装置、终端及存储介质 Download PDF

Info

Publication number
WO2018161966A1
WO2018161966A1 PCT/CN2018/078622 CN2018078622W WO2018161966A1 WO 2018161966 A1 WO2018161966 A1 WO 2018161966A1 CN 2018078622 W CN2018078622 W CN 2018078622W WO 2018161966 A1 WO2018161966 A1 WO 2018161966A1
Authority
WO
WIPO (PCT)
Prior art keywords
broadcast
broadcast message
message
type
received
Prior art date
Application number
PCT/CN2018/078622
Other languages
English (en)
French (fr)
Inventor
付亮晶
裴润升
林志泳
吴汝煜
张俊
Original Assignee
广东欧珀移动通信有限公司
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 广东欧珀移动通信有限公司 filed Critical 广东欧珀移动通信有限公司
Priority to ES18764488T priority Critical patent/ES2831088T3/es
Priority to EP18764488.5A priority patent/EP3588993B1/en
Publication of WO2018161966A1 publication Critical patent/WO2018161966A1/zh
Priority to US16/565,427 priority patent/US20200004614A1/en

Links

Images

Classifications

    • 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
    • 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/546Message passing systems or structures, e.g. queues
    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/12Avoiding congestion; Recovering from congestion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0289Congestion control
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/548Queue

Definitions

  • the present disclosure relates to the field of terminal technologies, for example, to a method, an apparatus, a terminal, and a storage medium for broadcast transmission.
  • the Android system there are many different modules. In order to quickly transmit information in different modules, the Android system provides a communication method similar to the real-life broadcast mode. If there is a message that needs to be notified to a different module, the message is broadcast to different broadcast recipients.
  • broadcast queues when distributing broadcast messages, various types of broadcast messages are queued for processing in the broadcast queue.
  • the broadcast queues When there are more broadcast messages, the broadcast queues will be queued longer if the broadcast distribution speed is less than the broadcast enqueue. The speed will cause a serious blocking problem, causing the information to be sent unsmoothly, causing the terminal to operate abnormally.
  • the embodiment of the present invention provides a method, an apparatus, a terminal, and a storage medium for broadcast transmission, which can improve the distribution speed and processing speed of a broadcast message, and avoid the occurrence of a blocking phenomenon that may occur during broadcast distribution.
  • an embodiment of the present application provides a broadcast sending method, including:
  • the received broadcast message is moved to the broadcast transmission queue corresponding to the type of the broadcast message, and the broadcast message in the broadcast transmission queue is transmitted to the broadcast receiver in parallel.
  • the embodiment of the present application further provides a broadcast sending apparatus, including:
  • a first detecting module configured to detect a type of the received broadcast message
  • a mobile module configured to move the received broadcast message to the broadcast sending queue corresponding to a type of the broadcast message, and send the broadcast message in the broadcast sending queue to a broadcast receiver in parallel .
  • an embodiment of the present application further provides a terminal, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the following steps:
  • the received broadcast message is moved to a broadcast transmission queue corresponding to the type of the broadcast message, and the broadcast message is transmitted to the broadcast recipient in parallel.
  • the embodiment of the present application further provides a computer readable storage medium, where the computer readable storage medium stores one or more programs, and the one or more programs may be executed by one or more processors. To implement the broadcast transmission method of the first aspect.
  • the technical solution provided by the embodiment of the present application can provide a broadcast message distribution speed and solve the broadcast by moving the received broadcast message to a broadcast transmission queue corresponding to the broadcast message type and transmitting the broadcast message to the broadcast receiver in parallel.
  • FIG. 1 is a flowchart of a broadcast sending method according to an embodiment of the present application
  • 1b is a schematic diagram of a broadcast message distribution process in the related art
  • 1c is a schematic diagram of a broadcast message distribution process according to an embodiment of the present application.
  • FIG. 2 is a flowchart of a broadcast sending method according to an embodiment of the present application.
  • FIG. 3 is a structural block diagram of a broadcast transmitting apparatus according to an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram of a terminal according to an embodiment of the present application.
  • FIG. 1a is a flowchart of a method for transmitting a broadcast according to an embodiment of the present application. The method is performed by a broadcast sending device, where the device is executed by software and/or hardware, and the device is configured in a terminal such as a mobile phone. . As shown in FIG. 1a, the technical solution provided by an embodiment of the present application includes steps S110, S120, and S130.
  • a broadcast sender's service process sends a broadcast message to a broadcast management module (eg, an activity management service, Activity Manager Service) by calling a broadcast transmission function (eg, a send broadcast function).
  • a broadcast management module eg, an activity management service, Activity Manager Service
  • a broadcast transmission function eg, a send broadcast function.
  • the management module puts the broadcast message into the broadcast sending queue, and the broadcast management module sends the broadcast message in the broadcast sending queue to the broadcast receiver that meets the receiving condition through a process communication mechanism (for example, a Binder process communication mechanism).
  • a process communication mechanism for example, a Binder process communication mechanism
  • a broadcast message refers to information transmitted by a system or application during operation, between a system and a system, or between a system and an application, or between an application and an application.
  • the broadcast message includes a system associated broadcast message and a three-party application broadcast message, wherein the system associated broadcast message includes a system broadcast message and a system built-in application broadcast message.
  • the system broadcast message may be a system start broadcast message, a broadcast broadcast message, a bright broadcast message, or the like.
  • the built-in application broadcast message of the system may be a short message broadcast message or the like.
  • the broadcast message type in the terminal may be divided, and a broadcast sending queue corresponding to the type of the broadcast message is created according to the type of the divided broadcast message.
  • the broadcast message includes the system associated broadcast message and the three-party application broadcast message
  • the system-related broadcast message includes the system broadcast message and the system built-in application broadcast message
  • the creating a broadcast transmission corresponding to the type of the broadcast message The queue includes: creating a first broadcast send queue corresponding to the system associated broadcast message, and creating a second broadcast send queue corresponding to the three-party application broadcast message.
  • the broadcast messages in the first broadcast sending queue and the second broadcast sending queue may be simultaneously sent to the broadcast receiver in parallel.
  • the type of the broadcast message received by the broadcast management module is detected, where the broadcast message received by the broadcast management module is a broadcast message sent by the broadcast sender.
  • the broadcast sender may include a system, a system built-in application or a three-party application.
  • the received broadcast message includes a system associated broadcast message and a three-party application broadcast message, where the system associated broadcast message includes a system broadcast message and a system built-in application broadcast message.
  • the received broadcast message is moved to the broadcast transmission queue corresponding to the type of the broadcast message, and the broadcast message in the broadcast transmission queue is transmitted to the broadcast receiver in parallel.
  • each broadcast message type corresponds to one broadcast transmission queue.
  • the broadcast management module receives the broadcast message sent by the broadcast sender, and places the received broadcast message in a broadcast transmission queue for distribution.
  • the first broadcast message can be distributed first, and then the broadcast message of the queue is sent. After distribution.
  • the broadcast send queue will be longer. If the broadcast message is distributed at a lower speed than the broadcast message is placed in the broadcast send queue, serious blocking will occur, and the broadcast message will not be sent smoothly.
  • a broadcast sending queue corresponding to a broadcast type message is created, and a broadcast message received by the broadcast management module is moved to a corresponding broadcast sending queue, and the broadcast message is sent to the broadcast receiver in parallel.
  • the broadcast transmission queue is added, the speed of broadcast message distribution is improved, and the problem of blocking is solved. Since the distribution speed of broadcast messages is increased, the processing speed of broadcast messages is also improved.
  • FIG. 1b is a schematic diagram of a broadcast message distribution process in the related art. As shown in FIG. 1b, the arrow points to the currently distributed broadcast message. In FIG. 1b, the three-party application broadcast message, the system built-in application broadcast message, and the three-party application broadcast message are in one. In the broadcast sending queue, the number of three-party application broadcast messages is large, and before the system broadcasts the message and the system built-in application broadcast message, the three-party application broadcast message needs to be distributed to distribute the system broadcast message and the system built-in application broadcast message.
  • the system broadcast message or the system built-in application broadcast message is more important. Because the number of three-party application broadcast messages is large, it often affects the distribution of system broadcast messages or system built-in application broadcast messages, resulting in system broadcast messages or The system built-in application broadcast message is blocked by the three-party application broadcast message and cannot be processed quickly. For example, a three-party application is installed in the terminal. Since the three-party application needs to send broadcast messages more frequently, the three-party application broadcast messages in the broadcast transmission queue are more. When the terminal needs to be turned off, the operation of triggering the blanking out needs to send a blackout broadcast message and implement the processing of the blanking broadcast message.
  • the broadcast-off broadcast message is blocked by the three-party application broadcast message, which affects the distribution of the broadcast-out broadcast message, thereby affecting the processing of the screen-out broadcast message, so that The terminal's blackout speed is slower.
  • the received system broadcast message and the system built-in application broadcast message are moved to the created first broadcast sending queue, and the three-party application broadcast message is moved to the second broadcast sending queue to be sent in parallel.
  • the arrow is the currently distributed broadcast message.
  • the broadcast message in the first broadcast transmission queue and the broadcast message in the second broadcast queue can be simultaneously distributed, that is, the system associates the broadcast message with The three-party application broadcast message is sent in parallel, wherein the system-associated broadcast message includes a system broadcast message and a system built-in application broadcast message. The problem that the system broadcast message or the system built-in application broadcast message is blocked by the three-party application broadcast message is avoided.
  • the broadcast sending queue corresponding to the type of the broadcast message is created.
  • the method may include: creating a first broadcast transmission queue corresponding to the system broadcast message, creating a second broadcast transmission queue corresponding to the system built-in application broadcast message, and creating a third broadcast transmission queue corresponding to the three-party application broadcast message.
  • moving the received broadcast message to a broadcast sending queue corresponding to the type of the broadcast message, and transmitting the broadcast message to the broadcast receiver in parallel may further include: moving the received system broadcast message Going to the first broadcast transmission queue, and moving the received system built-in application broadcast message into the second broadcast transmission queue, and moving the received three-party application broadcast message to the third broadcast transmission queue, and The system broadcast message, the system built-in application broadcast message, and the three-party application broadcast message are sent to the broadcast receiver in parallel.
  • the method for creating a broadcast sending queue corresponding to the type according to the broadcast message is not limited to the foregoing method, and the type of the broadcast message may be refined to create four or other number of broadcast sending queues. . You can also limit the number of broadcast send queues you create, and create them as needed. Or the method for dividing the broadcast message type may be different.
  • the broadcast message may include: an application broadcast message and a system broadcast message, the created broadcast send queue corresponds to the type of the broadcast message, and the received broadcast message is moved to and broadcast.
  • the message type corresponds to the broadcast send queue.
  • the method for dividing the broadcast message type may also be other methods.
  • the creation of the broadcast sending queue corresponds to the type of the broadcast message.
  • an embodiment of the present application exemplarily executes S110 before S120, but an embodiment of the present application is merely an example. In other embodiments of the present application, S110 may also be performed after S120, for broadcasting. The transmission does not have an effect.
  • the speed of the broadcast message distribution can be provided, and the broadcast is caused. Blocking problem.
  • step S210 is a flowchart of a broadcast sending method according to an embodiment of the present application.
  • the technical solution provided in this embodiment includes step S210, step S220, step S230, step S240, step S250, and step S260.
  • the received broadcast message is moved to the broadcast transmission queue corresponding to the type of the broadcast message, and the broadcast message in the broadcast transmission queue is transmitted to the broadcast receiver in parallel.
  • the identifier information of the system built-in application broadcast message and the three-party application broadcast message may be the application package name, or may be other identification information.
  • the identification information of the system broadcast message may be identification information related to the broadcast message function, and may also be other forms of identification information. Among them, each broadcast message has identification information.
  • a sender of the broadcast message is determined according to the identification information.
  • the sender of the broadcast message can be determined according to the identification information of the broadcast message. For example, if the identification information of the broadcast message is the package name of the WeChat, the sender of the broadcast message is a WeChat application.
  • the sender of the broadcast message may be a system, a system built-in application, or a three-party application, and the sender of the broadcast message is a broadcast sender corresponding to the broadcast message.
  • the order of the broadcast messages in the broadcast transmission queue is adjusted according to the rank of the sender of the broadcast message.
  • the level of the sender of the broadcast message can be set.
  • the system can be set to a higher level, and the system built-in application is set to a lower level.
  • the system broadcast message is adjusted in the system built-in application broadcast message. prior to. Since there are multiple types of built-in applications and three-way applications, you can also set the level of each built-in application and each three-party application to adjust the built-in application broadcast messages for each system, and to build the system with high sender level.
  • the broadcast message is adjusted before the system built-in application broadcast message with a low sender level.
  • the three-party application broadcast message with a high sender level is adjusted before the low-level three-party application broadcast message.
  • the level of the sender of the broadcast message can be set by a function option in the terminal interface, which is used to select the level of the sender of the broadcast message.
  • the function option can be set in the drop-down menu of each application, and can be set in the terminal interface, which is one.
  • the order of the system built-in application broadcast message and the three-party application broadcast message in the broadcast sender queue is adjusted, the order of the broadcast message in the broadcast transmission queue is adjusted according to the rank of the sender of the broadcast message, and the setting broadcast is also set.
  • a function option of a sender level of the message wherein, correspondingly, the sender of the broadcast message includes a system built-in application and a three-party application.
  • the order of the broadcast messages in the broadcast transmission queue is adjusted by the rank of the sender of the broadcast message, the distribution order of the broadcast messages can be controlled, and the management efficiency of the broadcast message distribution can be improved.
  • an embodiment of the present application exemplarily executes S240-S250 after S230, but in other embodiments of the present application, S240-S250 may also be executed before S230, and the sequence of other steps may also be performed. Adjustment.
  • FIG. 3 is a structural block diagram of a broadcast transmitting apparatus according to an embodiment of the present disclosure.
  • the broadcast sending apparatus 300 is configured to execute a broadcast sending method, including: a creating module 310, a first detecting module 320, and a moving module 330.
  • the creating module 310 is configured to create a broadcast sending queue corresponding to the type of the broadcast message.
  • the first detecting module 320 is configured to detect a type of the received broadcast message.
  • the mobile module 330 is configured to move the received broadcast message to the broadcast sending queue corresponding to the type of the broadcast message, and send the broadcast message in the broadcast sending queue to the broadcast receiver in parallel.
  • the broadcast message includes a system associated broadcast message and a three-party application broadcast message, where the system associated broadcast message includes a system broadcast message and a system built-in application broadcast message;
  • the creating module 310 is configured to create a first broadcast sending queue corresponding to the system-associated broadcast message, and create a second broadcast sending queue corresponding to the three-party application broadcast message.
  • the mobile module 330 is configured to move the received system association broadcast message to the first broadcast-to-send queue, and move the received three-party application broadcast message to the second broadcast sending queue, and The system associated broadcast message and the three-party application broadcast message are sent in parallel to the broadcast recipient.
  • the apparatus further includes: a second detecting module 340, configured to detect identifier information of the broadcast message;
  • a determining module 350 configured to determine, according to the identifier information, a sender of the broadcast message
  • the adjusting module 360 is configured to adjust an order of the broadcast messages in the broadcast sending queue according to a level of the sender of the broadcast message.
  • the apparatus further includes: a setting module 370, configured to set a function option of selecting a sender level of the broadcast message, wherein the sender of the broadcast message includes a system built-in application and a three-party application.
  • connection relationship of the functional modules in the embodiment of the present application is not limited to the connection relationship in FIG. 3, and the connection relationship of each functional module may be other manners.
  • a broadcast transmitting apparatus can provide broadcast message distribution by moving a received broadcast message to a broadcast transmission queue corresponding to a broadcast message type and transmitting the broadcast message to a broadcast receiver in parallel. Speed, solve the problem of blocking caused by broadcasting.
  • FIG. 4 is a schematic structural diagram of a terminal according to an embodiment of the present application.
  • the terminal 400 may include: a memory 401, a central processing unit (CPU) 402 (also referred to as a processor, hereinafter referred to as a CPU), a touch screen 412, and stored in the memory and operable on the CPU.
  • CPU central processing unit
  • Computer program also referred to as a processor, hereinafter referred to as a CPU
  • the touch screen 412 is configured to convert a user operation into an electrical signal input to the CPU and display a visual output signal; when the CPU 402 executes the computer program, the following steps are performed: creating a broadcast sending queue corresponding to the type of the broadcast message; detecting and receiving a type of the broadcast message to be received; moving the received broadcast message to the broadcast transmission queue corresponding to the type of the broadcast message, and transmitting the broadcast message in the broadcast transmission queue to the broadcast receiver in parallel .
  • the terminal 400 further includes: a peripheral interface 403, an RF (Radio Frequency) circuit 405, an audio circuit 406, a speaker 411, a power management chip 408, an input/output (I/O) subsystem 409, and other inputs/controls.
  • Device 410 and external port 404, these components communicate via one or more communication buses or signal lines 407.
  • the illustrated terminal 400 is merely one example of a terminal, and that the terminal 400 may have more or fewer components than those shown in the figures, two or more components may be combined, or may have Different component configurations.
  • the various components shown in the figures can be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
  • a terminal integrated with a broadcast transmitting apparatus is described in detail below.
  • the terminal uses a mobile phone as an example.
  • the memory 401 can be accessed by the CPU 402, the peripheral interface 403, etc., and the memory 401 can include a high speed random access memory, and can also include a nonvolatile memory, such as one or more magnetic disk storage devices, flash memory devices. Or other volatile solid-state storage devices.
  • a nonvolatile memory such as one or more magnetic disk storage devices, flash memory devices. Or other volatile solid-state storage devices.
  • Peripheral interface 403 which can connect the input and output peripherals of the device to CPU 402 and memory 401.
  • the I/O subsystem 409 which can connect input and output peripherals on the device, such as touch screen 412 and other input/control devices 410, to peripheral interface 403.
  • the I/O subsystem 409 can include a display controller 4091 and one or more input controllers 4092 for controlling other input/control devices 410.
  • one or more input controllers 4092 receive electrical signals from other input/control devices 410 or transmit electrical signals to other input/control devices 410, and other input/control devices 410 may include physical buttons (press buttons, rocker buttons, etc.) ), dial, slide switch, joystick, click wheel.
  • the input controller 4092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
  • the touch screen 412 is an input interface and an output interface between the user terminal and the user, and displays the visual output to the user.
  • the visual output may include graphics, text, icons, videos, and the like.
  • Display controller 4091 in I/O subsystem 409 receives electrical signals from touch screen 412 or transmits electrical signals to touch screen 412.
  • the touch screen 412 detects the contact on the touch screen, and the display controller 4091 converts the detected contact into an interaction with the user interface object displayed on the touch screen 412, ie, realizes human-computer interaction, and the user interface object displayed on the touch screen 412 may be running.
  • the icon of the game, the icon of the network to the corresponding network, and the like.
  • the device may also include a light mouse, which is a touch sensitive surface that does not display a visual output, or an extension of a touch sensitive surface formed by the touch screen.
  • the RF circuit 405 is configured to establish communication between the mobile phone and the wireless network (ie, the network side) to implement data reception and transmission between the mobile phone and the wireless network. For example, sending and receiving short messages, emails, and the like. Specifically, the RF circuit 405 receives and transmits an RF signal, which is also referred to as an electromagnetic signal, and the RF circuit 405 converts the electrical signal into an electromagnetic signal or converts the electromagnetic signal into an electrical signal, and through the electromagnetic signal and communication network and other devices Communicate.
  • an RF signal which is also referred to as an electromagnetic signal
  • RF circuitry 405 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC ( COder-DECoder, codec) Chipset, Subscriber Identity Module (SIM), etc.
  • an antenna system an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC ( COder-DECoder, codec) Chipset, Subscriber Identity Module (SIM), etc.
  • CODEC COder-DECoder, codec
  • SIM Subscriber Identity Module
  • the audio circuit 406 is arranged to receive audio data from the peripheral interface 403, convert the audio data into an electrical signal, and transmit the electrical signal to the speaker 411.
  • the speaker 411 is arranged to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 405 to sound and play the sound to the user.
  • the power management chip 408 is configured to supply power and power management to the hardware connected to the CPU 402, the I/O subsystem, and the peripheral interface.
  • the terminal provided by the embodiment of the present application is used to perform the broadcast sending method described in the foregoing embodiment, and the technical principle and the generated technical effect are similar, and details are not described herein again.
  • An embodiment of the present application further provides a computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the foregoing Any of the broadcast transmission methods provided by the embodiments can also implement the corresponding technical effects.
  • the foregoing has been described in detail, and details are not described herein again.
  • the embodiment of the present application adds a broadcast transmission queue, which can improve the distribution speed and processing speed of the broadcast message, and solve the blocking problem that may occur when the broadcast is distributed.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请实施例公开了一种广播发送方法、装置、终端及存储介质,其中,该方法包括:创建与广播消息的类型对应的广播发送队列;检测接收到的广播消息的类型;并将接收到的广播消息移动到与所述广播消息的类型对应的广播发送队列中,并将所述广播消息并行发送给广播接收者。

Description

广播发送方法、装置、终端及存储介质 技术领域
本公开涉及终端技术领域例如涉及一种广播发送的方法、装置、终端及存储介质。
背景技术
在Android系统中,有很多不同的模块,为了在不同的模块中快速的进行信息传递,Android系统提供了一种通信方式,与现实生活中的播放广播的模式类似。如果有消息需要通知不同的模块,就将这个消息通过广播的方式发送给不同的广播接收者。
其中,在分发广播消息时,各种类型的广播消息都是在广播队列中排队进行处理的,当广播消息发送的较多时,广播队列排队会较长,如果广播分发的速度小于广播入队的速度,会导致严重的阻塞问题,引起信息发送不通畅,导致终端运行异常。
发明内容
以下是对本文详细描述的主题的概述。本概述并非是为了限制权利要求的保护范围。
本申请实施例提供一种广播发送的方法、装置、终端及存储介质,能够提高广播消息的分发速度以及处理速度,避免广播分发时可能会出现的阻塞现象发生。
第一方面,本申请实施例提供了一种广播发送方法,包括:
创建与广播消息的类型对应的广播发送队列;
检测接收到的广播消息的类型;
将接收到的所述广播消息移动到与所述广播消息的类型对应的所述广播发送队列中,并将所述广播发送队列中的所述广播消息并行发送给广播接收者。
第二方面,本申请实施例还提供了一种广播发送装置,包括:
创建模块,用于创建与广播消息的类型对应的广播发送队列;
第一检测模块,用于检测接收到的广播消息的类型;
移动模块,用于将接收到的所述广播消息移动到与所述广播消息的类型对应的所述广播发送队列中,并将所述广播发送队列中的所述广播消息并行发送给广播接收者。
第三方面,本申请实施例还提供了一种终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:
创建与广播消息的类型对应的广播发送队列;
检测接收到的广播消息的类型;
将接收到的所述广播消息移动到与所述广播消息的类型对应的广播发送队列中,并将所述广播消息并行发送给广播接收者。
第四方面,本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现第一方面所述的广播发送方法。
本申请实施例提供的技术方案,通过将接收到的广播消息移动到与广播消息类型对应的广播发送队列中,并将广播消息并行发送给广播接收者,能够提供广播消息分发的速度,解决广播引起的阻塞的问题。
在阅读并理解了附图和详细描述后,可以明白其他方面。
附图说明
此处所说明的附图用来提供对本文的进一步理解,构成本申请的一部分,本文的示意性实施例及其说明用于解释本文,并不构成对本文的不当限定。
图1a是本申请一实施例提供的一种广播发送方法流程图;
图1b是相关技术中一种广播消息分发过程的示意图;
图1c是本申请一实施例提供的一种广播消息分发过程的示意图;
图2是本申请一实施例提供的一种广播发送方法流程图;
图3是本申请一实施例提供的一种广播发送装置结构框图;
图4是本申请一实施例提供的一种终端结构示意图。
具体实施方式
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此 处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。图1a是本申请一实施例提供的一种广播发送方法流程图,所述方法由广播发送装置来执行,所述装置由软件和/或硬件来执行,所述装置配置在诸如手机等终端中。如图1a所示,本申请一实施例提供的技术方案包括步骤S110、S120和S130。
在S110中,创建与广播消息的类型对应的广播发送队列。
本申请一实施例中,在广播处理过程中,广播发送者的服务进程通过调用广播发送函数(例如send Broadcast函数)将广播消息发送至广播管理模块(例如活动管理服务,Activity Manager Service),广播管理模块接收到该广播消息后将其放入广播发送队列,广播管理模块通过进程通信机制(例如Binder进程通信机制)将广播发送队列中的广播消息发送给符合接收条件的广播接收者。
在广播机制中,广播消息指的是系统或者应用程序在运行过程中发送的,用于系统和系统之间,或者系统和应用程序之间,或者应用程序和应用程序之间传输的信息。广播消息包括系统关联广播消息和三方应用广播消息,其中,系统关联广播消息包括系统广播消息和系统内置应用广播消息。系统广播消息可以是系统启动广播消息,熄屏广播消息、亮屏广播消息等。系统内置应用广播消息可以是短信类广播消息等。
在创建广播发送队列之前,可以对终端内广播消息类型进行划分,根据划分的广播消息的类型创建与广播消息的类型对应的广播发送队列。当广播消息包括系统关联广播消息和三方应用广播消息,系统关联广播消息包括系统广播消息和系统内置应用广播消息时,在本申请一实施例中,所述创建与广播消息的类型对应的广播发送队列包括:创建与系统关联广播消息对应的第一广播发送队列,以及创建与三方应用广播消息对应的第二广播发送队列。其中,第一广播发送队列以及第二广播发送队列中的广播消息可以并行同时发送给广播接收者。
在S120中,检测接收到的广播消息的类型。
本申请一实施例中,检测广播管理模块接收到的广播消息的类型,其中,广播管理模块接收到的广播消息为广播发送者发送的广播消息。其中,广播发送者可包括系统,系统内置应用或者三方应用。其中,接收到的广播消息包括系统关联广播消息和三方应用广播消息,其中,系统关联广播消息包括系统广播消息和系统内置应用广播消息。
在S130中,将接收到的广播消息移动到与所述广播消息的类型对应的所述 广播发送队列中,并将所述广播发送队列中的所述广播消息并行发送给广播接收者。
在本申请一实施例中,每一个广播消息的类型对应一个广播发送队列。当创建与系统关联广播消息对应的第一广播发送队列,以及创建与三方应用广播消息对应的第二广播发送队列时,在本申请一实施例中,所述将接收到的广播消息移动到与所述广播消息的类型对应的广播发送队列中,并将所述广播消息并行发送给广播接收者包括:将接收到的系统关联广播消息移动到第一广播发送队列中,以及将接收到的三方应用广播消息移动到第二广播发送队列中,并将系统关联广播消息和三方应用广播消息并行发送给广播接收者,并将所述第一广播发送队列中的所述系统关联广播消息和所述第二广播发送队列中的所述三方应用广播消息并行发送给广播接收者。
相关技术中,广播管理模块接收到广播发送者发送的广播消息,并将接收到的广播消息放在一个广播发送队列中进行分发,先入队的广播消息可以先分发,后入队的广播消息后分发。当广播发送者发送的广播消息较多时,广播发送队列中也会比较长,如果广播消息分发的速度小于广播消息放入广播发送队列的速度,则会引起严重的阻塞,发送广播消息发送不通畅。本申请一实施例中,通过创建与广播类型消息对应的广播发送队列,并将广播管理模块接收到的广播消息移动到对应的广播发送队列中,并将广播消息并行发送给广播接收者,相对于相关技术而言,增加了广播发送队列,提高了广播消息分发的速度,解决了阻塞的问题。由于广播消息分发速度提高,因此,也提高了广播消息的处理速度。
并且相关技术中,系统广播消息、系统内置应用广播消息和三方应用广播消息在同一个广播发送队列中进行分发。图1b是相关技术中一种广播消息分发过程的示意图,如图1b所示,箭头指向当前分发的广播消息,图1b中,三方应用广播消息、系统内置应用广播消息和三方应用广播消息在一个广播发送队列中,三方应用广播消息数量较多,且在系统广播消息以及系统内置应用广播消息之前,需要将三方应用广播消息分发完成才能分发系统广播消息和系统内置应用广播消息。相对于三方应用广播消息而言,系统广播消息或系统内置应用广播消息较重要,由于三方应用广播消息的数量较多,往往影响系统广播消息或者系统内置应用广播消息的分发,导致系统广播消息或者系统内置应用广播消息被三方应用广播消息阻塞,不能快速处理。例如,在终端内安装了一个 三方应用,由于该三方应用自身的需要会较频繁的发送广播消息,所以广播发送队列中三方应用广播消息会较多。当需要对终端进行熄屏时,触发熄屏的操作需要发送熄屏广播消息,并对熄屏广播消息处理来实现。由于在广播发送队列中,熄屏广播消息之前有较多的三方应用,熄屏广播消息会被三方应用广播消息阻塞,影响熄屏广播消息的分发,从而影响熄屏广播消息的处理,以使终端的熄屏速度较慢。
本申请一实施例中,通过将接收到的系统广播消息和系统内置应用广播消息移动到创建的第一广播发送队列中,以及将三方应用广播消息移动到第二广播发送队列中,以并行发送。例如,如图1c所示,箭头为当前分发的广播消息,从图1c中可知,第一广播发送队列中的广播消息和第二广播队列中的广播消息可以同时分发,即系统关联广播消息和三方应用广播消息并行发送,其中,系统关联广播消息包括系统广播消息和系统内置应用广播消息。避免了系统广播消息或系统内置应用广播消息被三方应用广播消息阻塞的问题。
在上述实施例的基础上,当广播消息包括系统关联广播消息和三方应用广播消息,系统关联广播消息包括系统广播消息和系统内置应用广播消息时,创建与广播消息的类型对应的广播发送队列还可以包括:创建与系统广播消息对应的第一广播发送队列,创建与系统内置应用广播消息对应的第二广播发送队列以及创建与三方应用广播消息对应的第三广播发送队列。相应的,将接收到的广播消息移动到与所述广播消息的类型对应的广播发送队列中,并将所述广播消息并行发送给广播接收者,还可以包括:将接收到的系统广播消息移动到所述第一广播发送队列中,并将接收到系统内置应用广播消息移动到第二广播发送队列中,以及将接收到的三方应用广播消息移动到所述第三广播发送队列中,并将所述系统广播消息、系统内置应用广播消息和所述三方应用广播消息并行发送给广播接收者。
需要说明的是,对于创建与根据广播消息的类型对应的广播发送队列的方法并不局限于上述的方法,还可以对广播消息的类型进行细化,创建四个,或者其他数量的广播发送队列。也可以对创建的广播发送队列的数量不进行限制,可根据需要进行创建。或者对于广播消息类型的划分方法也可以不同,例如,广播消息可以包括:应用广播消息和系统广播消息,创建的广播发送队列与广播消息的类型对应,且将接收到的广播消息移动到与广播消息类型对应的广播发送队列中。其中,广播消息类型的划分方法还可以是其他方式,相应的,创 建广播发送队列与广播消息的类型相对应。
需要说明的是,本申请一实施例示例性将S110在S120之前执行,但本申请一实施例仅仅是一个示例,在本申请的其他实施例中,还可以将S110在S120之后执行,对广播的发送并不产生影响。
本申请一实施例中,通过将接收到的广播消息移动到与广播消息类型对应的广播发送队列中,并将广播消息并行发送给广播接收者,能够提供广播消息分发的速度,解决广播引起的阻塞的问题。
图2是本申请一实施例提供的一种广播发送方法流程图,如图2所示,本实施例提供的技术方案包括步骤S210、步骤S220、步骤S230、步骤S240、步骤S250和步骤S260。
在S210中,创建与广播消息的类型对应的广播发送队列。
在S220中,检测接收到的广播消息的类型。
在S230中,将接收到的广播消息移动到与所述广播消息的类型对应的所述广播发送队列中,并将所述广播发送队列中的所述广播消息并行发送给广播接收者。
在S240中,检测所述广播消息的标识信息。
在本申请一实施例中,系统内置应用广播消息和三方应用广播消息的标识信息可以是应用的包名,或者也可以是其他标识信息。系统广播消息的标识信息可以是与广播消息功能相关的标识信息,也可以使其他形式的标识信息。其中,每个广播消息均存在标识信息。
在S250中,根据所述标识信息确定所述广播消息的发送者。
在本申请一实施例中,根据广播消息的标识信息能够确定广播消息的发送者。例如,若广播消息的标识信息是微信的包名,则广播消息的发送者为微信应用。其中,广播消息的发送者可以是系统、系统内置应用或者三方应用,广播消息的发送者,即为与广播消息对应的广播发送者。
在S260中,根据所述广播消息的发送者的等级调整所述广播消息在广播发送队列中的顺序。
其中,可以对广播消息的发送者的等级进行设置。例如,可以设置系统设置为较高的等级,系统内置应用设置为较低的等级,在系统广播消息和系统内置应用广播消息所在的广播发送队列中,将系统广播消息调整在系统内置应用广播消息之前。由于系统内置应用和三方应用的种类有多个,也可以设置每个 系统内置应用和每个三方应用的等级,以对每个系统内置应用广播消息进行调整,将发送者等级高的系统内置应用广播消息调整在发送者等级低的系统内置应用广播消息之前。在另一个广播发送队列中,将发送者等级高的三方应用广播消息调整在等级低的三方应用广播消息之前。
或者也可以仅仅调整系统内置应用广播消息和三方应用广播消息分别在广播发送者队列中的顺序,调整的方法是根据广播消息的发送者的等级。而广播消息的发送者的等级可以通过终端界面内的功能选项进行设置,该功能选项用于选择广播消息的发送者的等级。其中,该功能选项可以设置在每个应用的下拉菜单中,为多个;也可以单独设置在终端界面内,为1个。
因此,当调整系统内置应用广播消息和三方应用广播消息分别在广播发送者队列中的顺序时,根据广播消息的发送者的等级调整广播消息在广播发送队列中的顺序之前,还包括设置选择广播消息的发送者等级的功能选项,其中,相应的,所述广播消息的发送者包括系统内置应用和三方应用。
由此,通过广播消息的发送者的等级调整广播消息在广播发送队列中的顺序,能够控制广播消息的分发顺序,提高广播消息分发的管理效率。
需要说明的是,本申请一实施例示例性的将S240-S250在S230之后执行,但在本申请的其他实施例中,S240-S250还可以在S230之前执行,并且其他步骤的顺序也可以进行调整。
图3是本申请一实施例提供的一种广播发送装置结构框图,所述广播发送装置300用于执行广播发送方法,包括:创建模块310、第一检测模块320以及移动模块330。
其中,创建模块310,用于创建与广播消息的类型对应的广播发送队列;
第一检测模块320,用于检测接收到的广播消息的类型;
移动模块330,用于将接收到的广播消息移动到与所述广播消息的类型对应的所述广播发送队列中,并将所述广播发送队列中的所述广播消息并行发送给广播接收者。
在本申请一实施例中,所述广播消息包括系统关联广播消息和三方应用广播消息,其中,所述系统关联广播消息包括系统广播消息和系统内置应用广播消息;
所述创建模块310,用于创建与所述系统关联广播消息对应的第一广播发送 队列,以及创建与所述三方应用广播消息对应的第二广播发送队列;
所述移动模块330,用于将接收到的系统关联广播消息移动到所述第广播一发送队列中,以及将接收到的三方应用广播消息移动到所述第二广播发送队列中,并将所述系统关联广播消息和所述三方应用广播消息并行发送给广播接收者。
在本申请一实施例中,所述装置还包括:第二检测模块340,用于检测广播消息的标识信息;
确定模块350,用于根据所述标识信息确定所述广播消息的发送者;
调整模块360,用于根据所述广播消息的发送者的等级调整所述广播消息在广播发送队列中的顺序。
在本申请一实施例中,所述装置还包括:设置模块370,用于设置选择广播消息的发送者等级的功能选项,其中,所述广播消息的发送者包括系统内置应用和三方应用。
需要说明的是,本申请实施例中的功能模块的连接关系并不局限与图3中的连接关系,每个功能模块的连接关系还可以是其他方式。
本申请一实施例提供的一种广播发送装置,通过将接收到的广播消息移动到与广播消息类型对应的广播发送队列中,并将广播消息并行发送给广播接收者,能够提供广播消息分发的速度,解决广播引起的阻塞的问题。
本申请实施例提供了一种终端,该终端中可集成本申请实施例提供的广播发送装置。图4为本申请一实施例提供的一种终端的结构示意图。如图4所示,该终端400可以包括:存储器401、中央处理器(Central Processing Unit,CPU)402(又称处理器,以下简称CPU)、触摸屏412以及存储在存储器上并可在CPU上运行的计算机程序。所述触摸屏412,用于将用户操作转换成电信号输入至所述CPU,并显示可视输出信号;CPU402执行计算机程序时实现以下步骤:创建与广播消息的类型对应的广播发送队列;检测接收到的广播消息的类型;将接收到的广播消息移动到与所述广播消息的类型对应的所述广播发送队列中,并将所述广播发送队列中的所述广播消息并行发送给广播接收者。
所述终端400还包括:外设接口403、RF(Radio Frequency,射频)电路405、音频电路406、扬声器411、电源管理芯片408、输入/输出(I/O)子系统409、其他输入/控制设备410以及外部端口404,这些部件通过一个或多个通信 总线或信号线407来通信。
应该理解的是,图示终端400仅仅是终端的一个范例,并且终端400可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。
下面就本申请一实施例提供的集成有广播发送装置的终端进行详细的描述,该终端以手机为例。
存储器401,所述存储器401可以被CPU402、外设接口403等访问,所述存储器401可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
外设接口403,所述外设接口403可以将设备的输入和输出外设连接到CPU402和存储器401。
I/O子系统409,所述I/O子系统409可以将设备上的输入输出外设,例如触摸屏412和其他输入/控制设备410,连接到外设接口403。I/O子系统409可以包括显示控制器4091和用于控制其他输入/控制设备410的一个或多个输入控制器4092。其中,一个或多个输入控制器4092从其他输入/控制设备410接收电信号或者向其他输入/控制设备410发送电信号,其他输入/控制设备410可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮。值得说明的是,输入控制器4092可以与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。
触摸屏412,所述触摸屏412是用户终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。
I/O子系统409中的显示控制器4091从触摸屏412接收电信号或者向触摸屏412发送电信号。触摸屏412检测触摸屏上的接触,显示控制器4091将检测到的接触转换为与显示在触摸屏412上的用户界面对象的交互,即实现人机交互,显示在触摸屏412上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。值得说明的是,设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。
RF电路405,设置为建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。具体地,RF电路405接收并发送RF信号,RF信号也称为电磁信号,RF电路405将电信号转 换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其他设备进行通信。RF电路405可以包括用于执行这些功能的已知电路,其包括但不限于天线系统、RF收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC(COder-DECoder,编译码器)芯片组、用户标识模块(Subscriber Identity Module,SIM)等等。
音频电路406,设置为从外设接口403接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器411。
扬声器411,设置为将手机通过RF电路405从无线网络接收的语音信号,还原为声音并向用户播放该声音。
电源管理芯片408,设置为CPU402、I/O子系统及外设接口所连接的硬件进行供电及电源管理。
本申请一实施例提供的终端用于执行上述实施例所述的广播发送方法,其技术原理和产生的技术效果类似,这里不再赘述。
本申请一实施例还提供一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现前述实施例提供的任一种广播发送方法,因此也能实现相应的技术效果,前文已经进行了详细的说明,此处不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个......”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件来实现。基于这样的理解,本文的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请每个实施例所述的方法。
在阅读并理解了附图和详细描述后,可以明白其他方面。
工业实用性
本申请实施例增加了广播发送队列,能够提高广播消息的分发速度以及处理速度,解决广播分发时引起可能会出现的阻塞问题。

Claims (10)

  1. 一种广播发送方法,包括:
    创建与广播消息的类型对应的广播发送队列;
    检测接收到的广播消息的类型;
    将接收到的所述广播消息移动到与所述广播消息的类型对应的所述广播发送队列中,并将所述广播发送队列中的所述广播消息并行发送给广播接收者。
  2. 根据权利要求1所述的方法,其中,所述广播消息包括系统关联广播消息和三方应用广播消息,所述系统关联广播消息包括系统广播消息和系统内置应用广播消息;所述创建与广播消息的类型对应的广播发送队列,包括:
    创建与所述系统关联广播消息对应的第一广播发送队列,以及创建与所述三方应用广播消息对应的第二广播发送队列;
    所述将接收到的所述广播消息移动到与所述广播消息的类型对应的所述广播发送队列中,并将所述广播发送队列中的所述广播消息并行发送给广播接收者,包括:
    将接收到的所述系统关联广播消息移动到所述第一广播发送队列中,以及将接收到的所述三方应用广播消息移动到所述第二广播发送队列中,并将所述第一广播发送队列中的所述系统关联广播消息和所述第二广播发送队列中的所述三方应用广播消息并行发送给广播接收者。
  3. 根据权利要求1所述的方法,还包括:
    检测所述广播消息的标识信息;
    根据所述标识信息确定所述广播消息的发送者;
    根据所述广播消息的发送者的等级调整所述广播消息在广播发送队列中的顺序。
  4. 根据权利要求3所述的方法,还包括:设置选择广播消息的发送者等级的功能选项,其中,所述广播消息的发送者包括系统内置应用和三方应用。
  5. 一种广播发送装置,包括:
    创建模块,用于创建与广播消息的类型对应的广播发送队列;
    第一检测模块,用于检测接收到的广播消息的类型;
    移动模块,用于将接收到的所述广播消息移动到与所述广播消息的类型对应的所述广播发送队列中,并将所述广播发送队列中的所述广播消息并行发送给广播接收者。
  6. 根据权利要求5所述的装置,其中,所述广播消息包括系统关联广播消 息和三方应用广播消息,所述系统关联广播消息包括系统广播消息和系统内置应用广播消息;
    所述创建模块,用于创建与所述系统关联广播消息对应的第一广播发送队列,以及创建与所述三方应用广播消息对应的第二广播发送队列;
    所述移动模块,用于将接收到的所述系统关联广播消息移动到所述第一广播发送队列中,以及将接收到的所述三方应用广播消息移动到所述第二广播发送队列中,并将所述第一广播发送队列中的所述系统关联广播消息以及所述第二广播发送队列中的所述三方应用广播消息并行发送给广播接收者。
  7. 根据权利要求5所述的装置,还包括:
    第二检测模块,用于检测所述广播消息的标识信息;
    确定模块,用于根据所述标识信息确定所述广播消息的发送者;
    调整模块,用于根据所述广播消息的发送者的等级调整所述广播消息在广播发送队列中的顺序。
  8. 根据权利要求7所述的装置,还包括:设置模块,用于设置选择广播消息的发送者等级的功能选项,其中,所述广播消息的发送者包括系统内置应用和三方应用。
  9. 一种终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现以下步骤:
    创建与广播消息的类型对应的广播发送队列;
    检测接收到的广播消息的类型;
    将接收到的所述广播消息移动到与所述广播消息的类型对应的所述广播发送队列中,并将所述广播发送队列中的所述广播消息并行发送给广播接收者。
  10. 一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个程序,所述一个或者多个程序可被一个或者多个处理器执行,以实现权利要求1至4中任一项所述的广播发送方法。
PCT/CN2018/078622 2017-03-10 2018-03-09 广播发送方法、装置、终端及存储介质 WO2018161966A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
ES18764488T ES2831088T3 (es) 2017-03-10 2018-03-09 Método de envío de difusión y terminal
EP18764488.5A EP3588993B1 (en) 2017-03-10 2018-03-09 Broadcast sending method and terminal
US16/565,427 US20200004614A1 (en) 2017-03-10 2019-09-09 Broadcast Transmission Method, Terminal, and Storage Medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710142289.4 2017-03-10
CN201710142289.4A CN106851593B (zh) 2017-03-10 2017-03-10 一种广播发送方法、装置及终端

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/565,427 Continuation US20200004614A1 (en) 2017-03-10 2019-09-09 Broadcast Transmission Method, Terminal, and Storage Medium

Publications (1)

Publication Number Publication Date
WO2018161966A1 true WO2018161966A1 (zh) 2018-09-13

Family

ID=59143874

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/078622 WO2018161966A1 (zh) 2017-03-10 2018-03-09 广播发送方法、装置、终端及存储介质

Country Status (5)

Country Link
US (1) US20200004614A1 (zh)
EP (1) EP3588993B1 (zh)
CN (1) CN106851593B (zh)
ES (1) ES2831088T3 (zh)
WO (1) WO2018161966A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106851593B (zh) * 2017-03-10 2019-09-24 Oppo广东移动通信有限公司 一种广播发送方法、装置及终端
CN109286578A (zh) * 2018-09-27 2019-01-29 上海联寓智能科技有限公司 消息处理方法、装置、网关设备及存储介质
CN113098763B (zh) * 2021-06-10 2021-10-01 天聚地合(苏州)数据股份有限公司 即时通讯消息发送方法、装置、存储介质及设备
CN116185669B (zh) * 2023-04-27 2023-09-22 荣耀终端有限公司 一种广播分发方法及相关设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1674688A (zh) * 2004-03-26 2005-09-28 华为技术有限公司 一种在基站子系统中调度寻呼消息的方法
WO2011061003A1 (en) * 2009-11-19 2011-05-26 Icera Inc Wireless terminal for transmitting packets of different types
CN102118298A (zh) * 2009-12-31 2011-07-06 联芯科技有限公司 在非对称传输速率下提高数据传输效率的方法和装置
CN106851593A (zh) * 2017-03-10 2017-06-13 广东欧珀移动通信有限公司 一种广播发送方法、装置及终端

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
ES2532202T3 (es) * 2003-08-29 2015-03-25 Opentv, Inc. Sistema de difusión y recepción de contenido dirigido

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1674688A (zh) * 2004-03-26 2005-09-28 华为技术有限公司 一种在基站子系统中调度寻呼消息的方法
WO2011061003A1 (en) * 2009-11-19 2011-05-26 Icera Inc Wireless terminal for transmitting packets of different types
CN102118298A (zh) * 2009-12-31 2011-07-06 联芯科技有限公司 在非对称传输速率下提高数据传输效率的方法和装置
CN106851593A (zh) * 2017-03-10 2017-06-13 广东欧珀移动通信有限公司 一种广播发送方法、装置及终端

Also Published As

Publication number Publication date
CN106851593A (zh) 2017-06-13
ES2831088T3 (es) 2021-06-07
CN106851593B (zh) 2019-09-24
US20200004614A1 (en) 2020-01-02
EP3588993A4 (en) 2020-02-19
EP3588993A1 (en) 2020-01-01
EP3588993B1 (en) 2020-10-07

Similar Documents

Publication Publication Date Title
WO2018161966A1 (zh) 广播发送方法、装置、终端及存储介质
US10819455B2 (en) Broadcast processing method, non-transitory storage medium, and electronic device
US11051272B2 (en) Method for arranging broadcast message in operating system and electronic device
CN106851014B (zh) 调整广播消息队列的方法、装置及终端
WO2018161963A1 (zh) 广播接收者的管理方法、装置及终端
US10097292B2 (en) Method, device, terminal and storage medium for adjusting broadcast message queue
CN107070670B (zh) 控制广播发送者发送广播消息的方法、装置和终端设备
CN106936825B (zh) 一种控制广播发送的方法、装置及移动终端
EP3591947B1 (en) Broadcast receiver queue adjustment method, apparatus, storage medium, and electronic device
EP3592003A1 (en) Broadcast control method, device, storage medium and mobile terminal
WO2018161956A1 (zh) 广播接收者的调整方法、装置及终端
WO2018161607A1 (zh) 广播控制方法、装置及移动终端、存储介质
US10990460B2 (en) Method of generating broadcast queue, storage medium, and terminal
CN106953852B (zh) 广播接收器的注册方法、装置和终端设备
KR20220103146A (ko) 멀티캐스트 서비스의 전송 방법, 전송 처리 방법 및 관련 장치
CN106921947B (zh) 调整广播消息队列的方法、装置及终端
CN106874131B (zh) 广播队列调整方法、装置和终端设备
CN106851015B (zh) 调整广播消息队列的方法、装置及终端
CN106844070B (zh) 一种广播的控制方法、装置及移动终端
WO2018161589A1 (zh) 控制广播发送的方法、装置、存储介质及电子设备
CN106936826B (zh) 广播接收器的注册方法、装置和终端设备
EP3716659A1 (en) Method for processing ordered broadcast and electronic device
EP3373137A1 (en) Method, apparatus and terminal device for sending broadcast
CN106936828B (zh) 一种广播接收者队列调整方法、装置及终端
CN106899943B (zh) 控制广播发送者发送广播消息的方法、装置和终端设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18764488

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2018764488

Country of ref document: EP

Effective date: 20190926