[go: up one dir, main page]

CN106851014A - Adjust method, device and the terminal of broadcast message queue - Google Patents

Adjust method, device and the terminal of broadcast message queue Download PDF

Info

Publication number
CN106851014A
CN106851014A CN201710140649.7A CN201710140649A CN106851014A CN 106851014 A CN106851014 A CN 106851014A CN 201710140649 A CN201710140649 A CN 201710140649A CN 106851014 A CN106851014 A CN 106851014A
Authority
CN
China
Prior art keywords
broadcast message
broadcast
message queue
current
queue
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.)
Granted
Application number
CN201710140649.7A
Other languages
Chinese (zh)
Other versions
CN106851014B (en
Inventor
裴润升
付亮晶
林志泳
吴汝煜
张俊
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
Priority to CN201710140649.7A priority Critical patent/CN106851014B/en
Publication of CN106851014A publication Critical patent/CN106851014A/en
Priority to PCT/CN2017/106770 priority patent/WO2018161580A1/en
Application granted granted Critical
Publication of CN106851014B publication Critical patent/CN106851014B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明实施例公开了一种调整广播消息队列的方法、装置及终端。该方法包括:确定当前广播消息队列中的广播消息对应的广播接收者;统计当前广播消息队列中对应同一广播接收者的相同的广播消息的数量;当所述相同的广播消息的数量超过预设阈值时,对当前广播消息队列中所述相同的广播消息进行删减调整。本发明实施例提供的调整广播消息队列的方法,通过统计当前广播消息队列中对应同一广播接收者的相同广播消息的数量,判断广播消息是否超频接收,并对相同的广播消息进行删减调整,有效地避免了广播堵塞现象和由高频接收广播消息造成的系统卡顿现象,减少了广播对系统性能的影响。

The embodiment of the invention discloses a method, device and terminal for adjusting a broadcast message queue. The method includes: determining the broadcast receiver corresponding to the broadcast message in the current broadcast message queue; counting the number of identical broadcast messages corresponding to the same broadcast receiver in the current broadcast message queue; when the number of the same broadcast message exceeds the preset When the threshold is reached, the same broadcast message in the current broadcast message queue is deleted and adjusted. In the method for adjusting the broadcast message queue provided by the embodiment of the present invention, by counting the number of the same broadcast message corresponding to the same broadcast receiver in the current broadcast message queue, it is judged whether the broadcast message is over-frequency received, and the same broadcast message is deleted and adjusted, It effectively avoids the phenomenon of broadcast congestion and system freeze caused by receiving broadcast messages at high frequency, and reduces the impact of broadcast on system performance.

Description

调整广播消息队列的方法、装置及终端Method, device and terminal for adjusting broadcast message queue

技术领域technical field

本发明实施例涉及系统广播技术,尤其涉及一种调整广播消息队列的方法、装置及终端。Embodiments of the present invention relate to system broadcast technology, and in particular to a method, device and terminal for adjusting broadcast message queues.

背景技术Background technique

安卓(Android)系统是目前应用较为广泛的一种手机等终端的操作系统。Android系统中,有很多不同的应用程序,为了在不同的应用程序中快速的进行信息传递,Android系统利用广播机制来实现,有消息要通知不同的应用程序时,就通过广播将这个消息发送给不同的应用程序。The Android (Android) system is currently a widely used operating system for terminals such as mobile phones. In the Android system, there are many different applications. In order to quickly transmit information among different applications, the Android system uses the broadcast mechanism to implement. When there is a message to be notified to different applications, the message is sent to the different applications.

在Android系统中,对广播发送者发送的广播消息没有限制,从而一个广播发送者可以随意发送任意数量的广播,或非常频繁的发送广播,会导致广播消息队列中待处理的广播消息非常的多,使得处理速度变慢,导致广播消息阻塞,影响系统的正常运行。In the Android system, there is no limit to the broadcast messages sent by the broadcast sender, so a broadcast sender can send any number of broadcasts at will, or send broadcasts very frequently, which will cause a lot of broadcast messages to be processed in the broadcast message queue , which slows down the processing speed, causes broadcast message blocking, and affects the normal operation of the system.

发明内容Contents of the invention

本发明实施例提供一种调整广播消息队列的方法、装置及终端,可以避免广播消息阻塞,减少广播对系统性能的影响。Embodiments of the present invention provide a method, device and terminal for adjusting broadcast message queues, which can avoid broadcast message blocking and reduce the impact of broadcast on system performance.

第一方面,本发明实施例提供了一种调整广播消息队列的方法,所述方法包括:In a first aspect, an embodiment of the present invention provides a method for adjusting a broadcast message queue, the method including:

确定当前广播消息队列中的广播消息对应的广播接收者;Determine the broadcast receiver corresponding to the broadcast message in the current broadcast message queue;

统计当前广播消息队列中对应同一广播接收者的相同的广播消息的数量;Count the number of identical broadcast messages corresponding to the same broadcast receiver in the current broadcast message queue;

当所述相同的广播消息的数量超过预设阈值时,对当前广播消息队列中所述相同的广播消息进行删减调整。When the number of the same broadcast messages exceeds the preset threshold, the same broadcast messages in the current broadcast message queue are deleted and adjusted.

第二方面,本发明实施例还提供了一种调整广播消息队列装置,所述装置包括:In the second aspect, the embodiment of the present invention also provides a device for adjusting a broadcast message queue, the device comprising:

接收者确定模块,用于确定当前广播消息队列中的广播消息对应的广播接收者;A receiver determining module, configured to determine a broadcast receiver corresponding to a broadcast message in the current broadcast message queue;

数量统计模块,用于统计当前广播消息队列中对应同一广播接收者的相同的广播消息的数量;A quantity statistics module is used to count the number of identical broadcast messages corresponding to the same broadcast receiver in the current broadcast message queue;

消息调整模块,用于当所述相同的广播消息的数量超过预设阈值时,对当前广播消息队列中所述相同的广播消息进行删减调整。A message adjustment module, configured to delete and adjust the same broadcast messages in the current broadcast message queue when the number of the same broadcast messages exceeds a preset threshold.

第三方面,本发明实施例还提供了一种终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现以下步骤:In a third aspect, an embodiment of the present invention also provides a terminal, including a memory, a processor, and a computer program stored in the memory and operable on the processor, and the processor implements the following steps when executing the computer program:

确定当前广播消息队列中的广播消息对应的广播接收者;Determine the broadcast receiver corresponding to the broadcast message in the current broadcast message queue;

统计当前广播消息队列中对应同一广播接收者的相同的广播消息的数量;Count the number of identical broadcast messages corresponding to the same broadcast receiver in the current broadcast message queue;

当所述相同的广播消息的数量超过预设阈值时,对当前广播消息队列中所述相同的广播消息进行删减调整。When the number of the same broadcast messages exceeds the preset threshold, the same broadcast messages in the current broadcast message queue are deleted and adjusted.

本发明实施例提供的调整广播消息队列的方法,通过统计当前广播消息队列中对应同一广播接收者的相同广播消息的数量,判断广播消息是否超频接收,并对相同的广播消息进行删减调整,有效地避免了广播堵塞现象和由高频接收广播消息造成的系统卡顿现象,减少了广播对系统性能的影响。In the method for adjusting the broadcast message queue provided by the embodiment of the present invention, by counting the number of the same broadcast message corresponding to the same broadcast receiver in the current broadcast message queue, it is judged whether the broadcast message is over-frequency received, and the same broadcast message is deleted and adjusted, It effectively avoids the phenomenon of broadcast congestion and system freeze caused by receiving broadcast messages at high frequency, and reduces the impact of broadcast on system performance.

附图说明Description of drawings

图1是本发明实施例提供的一种调整广播消息队列的方法的流程图;FIG. 1 is a flowchart of a method for adjusting a broadcast message queue provided by an embodiment of the present invention;

图2是本发明一个实施例提供的一种调整广播消息队列的方法的流程图;Fig. 2 is a flowchart of a method for adjusting a broadcast message queue provided by an embodiment of the present invention;

图3是本发明一个实施例提供的一种调整广播消息队列的方法的流程图;Fig. 3 is a flow chart of a method for adjusting a broadcast message queue provided by an embodiment of the present invention;

图4是本发明一个实施例提供的一种调整广播消息队列的方法的流程图;Fig. 4 is a flow chart of a method for adjusting a broadcast message queue provided by an embodiment of the present invention;

图5是本发明实施例提供的一种调整广播消息队列的装置的结构框图;Fig. 5 is a structural block diagram of a device for adjusting a broadcast message queue provided by an embodiment of the present invention;

图6为本发明实施例提供的一种终端的结构示意图。FIG. 6 is a schematic structural diagram of a terminal provided by an embodiment of the present invention.

具体实施方式detailed description

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部内容。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only parts related to the present invention are shown in the drawings but not all content.

在更加详细地讨论示例性实施例之前应当提到的是,一些示例性实施例被描述成作为流程图描绘的处理或方法。虽然流程图将各步骤描述成顺序的处理,但是其中的许多步骤可以被并行地、并发地或者同时实施。此外,各步骤的顺序可以被重新安排。当其操作完成时所述处理可以被终止,但是还可以具有未包括在附图中的附加步骤。所述处理可以对应于方法、函数、规程、子例程、子程序等等。Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe the steps as sequential processing, many of the steps may be performed in parallel, concurrently, or simultaneously. Additionally, the order of steps may be rearranged. The process may be terminated when its operations are complete, but may also have additional steps not included in the figure. The processing may correspond to a method, function, procedure, subroutine, subroutine, or the like.

图1是本发明实施例提供的一种调整广播消息队列的方法的流程图,本实施例可适用于对广播消息队列进行调整的情况,该方法可以由调整广播消息队列的装置来执行,其中该装置可由软件和/或硬件实现,该装置可集成于终端中,终端可以是智能手机、平板电脑等,如图1所示,该方法包括:Fig. 1 is a flow chart of a method for adjusting the broadcast message queue provided by an embodiment of the present invention. This embodiment is applicable to the situation of adjusting the broadcast message queue, and the method can be performed by a device for adjusting the broadcast message queue, wherein The device can be realized by software and/or hardware, and the device can be integrated in a terminal, and the terminal can be a smart phone, a tablet computer, etc., as shown in Figure 1, the method includes:

步骤101、确定当前广播消息队列中的广播消息对应的广播接收者。Step 101. Determine the broadcast receivers corresponding to the broadcast messages in the current broadcast message queue.

其中,广播机制本质上是在终端的操作系统中一种组件间的通讯方式,是一种广泛运用在应用程序之间传输消息的机制。例如在终端的安卓系统下,有一些操作完成以后,会发送广播消息。广播消息可以是操作系统中产生的各种各样的事件消息数据。比如说发出一条短信或打出一个电话,都会发送广播,当某个应用程序接收了这个广播时,就可以做出相应的处理。广播机制包括三个基本要素:广播、广播接收器以及意图内容,其中,广播用于发送广播,广播接收器用于接收广播,广播接收者可以通过调用函数告诉系统对什么类型的广播感兴趣,并且向系统注册广播接收器,便具备接收该类型的广播消息的权限。意图内容用于保存广播相关信息的媒介。由于跟传统意义中的电台广播有一些相似之处,之所以称之为广播,是因为发送方只负责发送,并不关心接收方是否接到消息数据,也不关心接收方是如何处理消息数据的。另外,广播既可以被不止一个应用程序接收,也可能不被任何应用程序所接收。Among them, the broadcast mechanism is essentially a communication method between components in the operating system of the terminal, and is a mechanism widely used to transmit messages between application programs. For example, under the Android system of the terminal, after some operations are completed, a broadcast message will be sent. Broadcast messages can be various event message data generated in the operating system. For example, sending a text message or making a phone call will send a broadcast, and when an application receives the broadcast, it can make corresponding processing. The broadcast mechanism includes three basic elements: broadcast, broadcast receiver, and intent content. Among them, broadcast is used to send broadcasts, and broadcast receivers are used to receive broadcasts. Broadcast receivers can tell the system what type of broadcasts they are interested in by calling functions, and Registering a broadcast receiver with the system gives you the right to receive this type of broadcast message. Intent content is a medium for holding broadcast related information. Because there are some similarities with radio broadcasting in the traditional sense, it is called broadcasting because the sender is only responsible for sending, and does not care whether the receiver receives the message data or how the receiver processes the message data of. Additionally, broadcasts may be received by more than one application, or may not be received by any application.

广播消息队列是指广播消息按照广播时间的先后顺序依次入队,形成的队列的形式。广播消息队列可以是默认广播队列,也可以是第三方应用广播队列。示例性地,广播消息队列可以是包括亮屏广播、息屏广播、解锁广播、网络状态变化广播、蓝牙状态变化广播、切换语言广播、切换主题广播等系统广播构成的队列,也可以是由第三方应用软件发出的广播构成的队列。当前广播消息队列可以理解为以当前时间点为时间节点,在时间节点之前,由所有未分发的广播消息构成的广播消息队列。可以按照当前广播消息队列中的顺序依次确定各广播消息对应的广播接收者。例如可以通过查找已注册所述广播消息对应的广播接收器的接收者列表来确定广播接收者。The broadcast message queue refers to the form in which broadcast messages are enqueued sequentially in the order of broadcast time. The broadcast message queue can be the default broadcast queue or a third-party application broadcast queue. Exemplarily, the broadcast message queue may be a queue composed of system broadcasts such as screen-on broadcast, screen-off broadcast, unlock broadcast, network status change broadcast, Bluetooth status change broadcast, language switching broadcast, theme switching broadcast, etc. A queue composed of broadcasts sent by three-party application software. The current broadcast message queue can be understood as a broadcast message queue composed of all undistributed broadcast messages taking the current time point as the time node and before the time node. The broadcast receivers corresponding to each broadcast message may be sequentially determined according to the sequence in the current broadcast message queue. For example, the broadcast receiver may be determined by searching a list of receivers that have registered the broadcast receiver corresponding to the broadcast message.

在Android系统中,ActivityManagerService是Android系统的广播机制中的广播中心,负责系统中所有广播的注册和发布操作,其中,广播的注册是指应用程序把广播接收器注册到ActivityManagerService的过程。广播的发布包括广播发送者将广播发送到ActivityManagerService,ActivityManagerService接收到这个广播以后在自己的注册中心查看有哪些广播接收器订阅了该广播,然后把这个广播逐一发送到这些广播接收器中。In the Android system, ActivityManagerService is the broadcast center in the broadcast mechanism of the Android system. It is responsible for the registration and release operations of all broadcasts in the system. Among them, the broadcast registration refers to the process of registering the broadcast receiver to the ActivityManagerService by the application. The release of the broadcast includes the broadcast sender sending the broadcast to the ActivityManagerService. After the ActivityManagerService receives the broadcast, it checks which broadcast receivers have subscribed to the broadcast in its own registration center, and then sends the broadcast to these broadcast receivers one by one.

步骤102、统计当前广播消息队列中对应同一广播接收者的相同的广播消息的数量。Step 102, counting the number of identical broadcast messages corresponding to the same broadcast receiver in the current broadcast message queue.

其中,可以在建立广播消息时对广播消息进行命名,相同的广播消息可以是名称相同的广播消息。示例性地,名称均为“亮屏广播”的多个广播消息可以称为相同的广播消息。在一段时间内,对应同一广播接收者,可能会有多个广播消息,这些广播消息中有一部分是相同的。统计对应同一个广播接收者接收的相同的广播消息数量可判断出该广播是否频繁发送。Wherein, the broadcast message may be named when the broadcast message is created, and the same broadcast message may be a broadcast message with the same name. Exemplarily, a plurality of broadcast messages whose names are all "broadcast on bright screen" may be referred to as the same broadcast message. Within a period of time, corresponding to the same broadcast receiver, there may be multiple broadcast messages, some of which are the same. Counting the number of the same broadcast message received by the same broadcast receiver can determine whether the broadcast is sent frequently.

步骤103、当所述相同的广播消息的数量超过预设阈值时,对当前广播消息队列中所述相同的广播消息进行删减调整。Step 103, when the number of the same broadcast messages exceeds a preset threshold, delete and adjust the same broadcast messages in the current broadcast message queue.

其中,可以根据统计得到的同一广播接收者待接收的相同的广播消息数量,将该数量与预设阈值进行比较,判断相同的广播消息是否频繁被同一广播接收者接收。可以是统计得到的数量大于预设阈值时,确定该广播消息频繁发送给该广播接收者。进而可以对频繁接收的广播进行删减调整处理,以便避免此类广播过多而造成广播的阻塞,影响其他广播消息的发送。而对非频繁接收的广播可以不进行处理。Wherein, the quantity of the same broadcast message to be received by the same broadcast receiver can be calculated according to the statistics, and the number can be compared with a preset threshold to determine whether the same broadcast message is frequently received by the same broadcast receiver. It may be that when the counted number is greater than a preset threshold, it is determined that the broadcast message is frequently sent to the broadcast receiver. Furthermore, frequently received broadcasts can be truncated and adjusted so as to avoid broadcast blocking caused by too many such broadcasts and affect the sending of other broadcast messages. However, broadcasts received infrequently may not be processed.

本发明实施例提供的调整广播消息队列的方法,通过统计当前广播消息队列中对应同一广播接收者的相同广播消息的数量,判断广播消息是否超频接收,并对相同的广播消息进行删减调整,有效地避免了广播堵塞现象和由高频接收广播消息造成的系统卡顿现象,减少了广播对系统性能的影响。In the method for adjusting the broadcast message queue provided by the embodiment of the present invention, by counting the number of the same broadcast message corresponding to the same broadcast receiver in the current broadcast message queue, it is judged whether the broadcast message is over-frequency received, and the same broadcast message is deleted and adjusted, It effectively avoids the phenomenon of broadcast congestion and system freeze caused by receiving broadcast messages at high frequency, and reduces the impact of broadcast on system performance.

图2是本发明一个实施例提供的一种调整广播消息队列的方法的流程图。本实施例的方法包括:Fig. 2 is a flowchart of a method for adjusting a broadcast message queue provided by an embodiment of the present invention. The method of this embodiment includes:

步骤201、确定当前广播消息队列中的广播消息对应的广播接收者。Step 201. Determine the broadcast receivers corresponding to the broadcast messages in the current broadcast message queue.

步骤202、统计当前广播消息队列中对应同一广播接收者的相同的广播消息的数量。Step 202: Count the number of identical broadcast messages corresponding to the same broadcast receiver in the current broadcast message queue.

步骤203、当所述相同的广播消息的数量超过预设阈值时,在所述当前广播消息队列中,按照入队的顺序保留所述相同的广播消息中后入队的预设数量的广播消息,并移除所述预设数量的广播消息之前的广播消息。Step 203, when the number of the same broadcast messages exceeds the preset threshold, in the current broadcast message queue, reserve the preset number of broadcast messages that are enqueued later in the same broadcast messages in the order of enqueueing , and remove the broadcast messages preceding the preset number of broadcast messages.

其中,根据相同的广播消息的数量判断对应于同一广播接收者的相同广播消息是否超频发送。对于超频发送的广播消息,以起初入队的顺序为参照,仅保留后入队的预设数量的广播消息,以降低此类广播消息的频率。示例性地,预设数量阈值设定为2,以应用A为广播接收者为例,相同的广播消息的数量为4,按照入队顺序,此时保留后入队的2个广播消息,将其余所有广播消息均移除,以降低该广播消息的频率。其中,预设数量可考虑终端的响应速度、内存空间大小等相关参数进行设定,用于表征广播消息超频的衡量标准。Wherein, it is judged according to the quantity of the same broadcast messages whether the same broadcast messages corresponding to the same broadcast receiver are sent over frequency. For the broadcast messages sent by overfrequency, with reference to the order in which they first entered the queue, only a preset number of broadcast messages entered later will be kept, so as to reduce the frequency of such broadcast messages. Exemplarily, the preset number threshold is set to 2. Taking application A as the broadcast receiver as an example, the number of the same broadcast messages is 4. According to the order of enqueueing, the 2 broadcast messages enqueued later will be reserved at this time. All other broadcast messages are removed to reduce the frequency of this broadcast message. Wherein, the preset number may be set in consideration of relevant parameters such as the response speed of the terminal and the size of the memory space, and is used to represent a measurement standard for broadcast message overclocking.

优选的,所述预设数量是根据所述当前广播消息队列的长度确定的。Preferably, the preset number is determined according to the length of the current broadcast message queue.

其中,预设数量可以是能够避免出现广播消息阻塞问题的数量值,可以参照广播消息队列的长度进行确定,可以随时根据当前广播消息队列中所有排队的广播消息的数量进行调整,这样既可以保证避免系统出现卡顿现象,又可以最大限度地保障所述广播接收者接收的广播消息的数量,适当减少广播消息的丢失。Wherein, the preset number can be a quantity value that can avoid the broadcast message blocking problem, can be determined with reference to the length of the broadcast message queue, and can be adjusted at any time according to the number of all queued broadcast messages in the current broadcast message queue, so that both can ensure Avoiding system jamming can also maximize the number of broadcast messages received by the broadcast receivers and appropriately reduce the loss of broadcast messages.

本发明实施例提供的调整广播消息队列的方法,通过统计对应于同一广播接收者的相同广播消息的数量,判断广播消息是否超频发送,并在超频发送时,对应于同一广播消息接收者,采用仅保留广播消息队列中后入队的预设数量的广播消息这一调整方法对广播消息进行调整,该调整方法较为简便,可操作性强,可以降低广播消息发送的数量,有效地避免了广播堵塞现象和由高频接收广播消息造成的系统卡顿现象,减少了广播对系统性能的影响。同时保证后入队的广播消息顺利分发,保留了相同广播消息中的最新的广播消息,避免了新广播消息的丢失。In the method for adjusting the broadcast message queue provided by the embodiment of the present invention, by counting the number of the same broadcast message corresponding to the same broadcast receiver, it is judged whether the broadcast message is sent over frequency, and when the over frequency is sent, corresponding to the same broadcast message receiver, adopt The adjustment method of only keeping the preset number of broadcast messages in the broadcast message queue to adjust the broadcast messages is relatively simple and operable, which can reduce the number of broadcast messages sent and effectively avoid broadcast messages. Congestion and system freeze caused by high-frequency reception of broadcast messages reduce the impact of broadcasts on system performance. At the same time, it ensures the smooth distribution of broadcast messages that enter the queue later, keeps the latest broadcast messages in the same broadcast message, and avoids the loss of new broadcast messages.

图3是本发明一个实施例提供的一种调整广播消息队列的方法的流程图。Fig. 3 is a flow chart of a method for adjusting a broadcast message queue provided by an embodiment of the present invention.

本实施例的方法包括:The method of this embodiment includes:

步骤301、确定当前广播消息队列中的广播消息对应的广播接收者。Step 301. Determine the broadcast receivers corresponding to the broadcast messages in the current broadcast message queue.

步骤302、统计当前广播消息队列中对应同一广播接收者的相同的广播消息的数量。Step 302: Count the number of identical broadcast messages corresponding to the same broadcast receiver in the current broadcast message queue.

步骤303、当所述相同的广播消息的数量超过预设阈值时,对当前广播消息队列中所述相同的广播消息进行删减调整。Step 303, when the number of the same broadcast messages exceeds a preset threshold, delete and adjust the same broadcast messages in the current broadcast message queue.

步骤304、按照调整后的当前广播消息队列中的广播消息的排队顺序,识别当前的广播消息的广播接收者。Step 304: Identify the broadcast receivers of the current broadcast message according to the adjusted queuing sequence of the broadcast messages in the current broadcast message queue.

步骤305、将所述当前的广播消息分发给对应的广播接收者。Step 305, distribute the current broadcast message to corresponding broadcast receivers.

其中,对广播消息队列中所述相同广播消息进行调整后形成新的排队顺序,可参照新队列的入队先后顺序依次识别当前的广播消息的广播接收者。也可以在步骤301中已确定的广播接收者中识别调整后待分发的广播消息对应的广播接收者,再依次将当前的广播消息分发给对应的广播接收者。示例性地,调整后的队列依次为A1、A4、B1和C,当前待分发的广播消息为A1,识别该广播消息的广播接收者为应用D、应用E和应用F,则分别将A1分发给应用D、应用E和应用F,便完成了广播消息A1的分发过程,之后分发A4。Wherein, the same broadcast message in the broadcast message queue is adjusted to form a new queuing sequence, and the broadcast receivers of the current broadcast message can be sequentially identified with reference to the queue entry sequence of the new queue. It is also possible to identify the broadcast receivers corresponding to the adjusted broadcast messages to be distributed among the broadcast receivers determined in step 301, and then distribute the current broadcast messages to the corresponding broadcast receivers in sequence. Exemplarily, the adjusted queues are A1, A4, B1, and C in sequence, the broadcast message to be distributed is A1, and the broadcast receivers of the broadcast message are identified as application D, application E, and application F, and A1 is distributed respectively For application D, application E and application F, the distribution process of broadcast message A1 is completed, and then A4 is distributed.

本发明实施例提供的调整广播消息队列的方法,通过统计对应于相同广播接收者的相同广播消息的数量,判断广播消息是否超频接收,并对相同广播消息进行删减调整,有效地避免广播堵塞现象和由高频接收广播消息造成的系统卡顿现象,减少广播对系统性能的影响。在识别当前待分发的广播消息的广播接收者之后,同时将调整后的广播消息队列中的广播消息按照排队顺序依次进行分发,保证了广播消息分发的有序进行。可以保证广播接收者对广播消息的及时响应,可避免出现重要广播消息无人响应的现象。The method for adjusting the broadcast message queue provided by the embodiment of the present invention, by counting the number of the same broadcast message corresponding to the same broadcast receiver, judging whether the broadcast message is over-frequency received, and deleting and adjusting the same broadcast message, effectively avoiding broadcast congestion Phenomenon and system freeze caused by high-frequency reception of broadcast messages, reducing the impact of broadcasting on system performance. After identifying the broadcast receivers of the currently to-be-distributed broadcast messages, the broadcast messages in the adjusted broadcast message queue are distributed sequentially according to the queuing order, which ensures orderly distribution of the broadcast messages. It can ensure that broadcast receivers respond to broadcast messages in a timely manner, and can avoid the phenomenon that no one responds to important broadcast messages.

图4是本发明一个实施例提供的一种调整广播消息队列的方法的流程图。本实施例的方法包括:Fig. 4 is a flow chart of a method for adjusting a broadcast message queue provided by an embodiment of the present invention. The method of this embodiment includes:

步骤401、分别确定注册接收所述广播消息队列中的广播消息的广播接收器;Step 401, respectively determine the broadcast receivers registered to receive the broadcast messages in the broadcast message queue;

步骤402、根据所述广播接收器确定对应的广播接收者。Step 402. Determine the corresponding broadcast receiver according to the broadcast receiver.

其中,由于广播接收者如果想要具备接收某个广播的广播消息的权限,首先需要向系统注册该广播消息对应的广播接收器,因此可以通过确定已注册接收所述广播消息队列中的广播消息的广播接收器的方式,确定广播消息对应的广播接收者。Among them, if the broadcast receiver wants to have the authority to receive a certain broadcast broadcast message, he first needs to register the broadcast receiver corresponding to the broadcast message with the system, so he can receive the broadcast message in the broadcast message queue by confirming that he has registered The method of the broadcast receiver determines the broadcast receiver corresponding to the broadcast message.

步骤403、统计当前广播消息队列中对应同一广播接收者的相同的广播消息的数量。Step 403: Count the number of identical broadcast messages corresponding to the same broadcast receiver in the current broadcast message queue.

步骤404、当所述相同的广播消息的数量超过预设阈值时,对当前广播消息队列中所述相同的广播消息进行删减调整。Step 404: When the number of the same broadcast messages exceeds the preset threshold, delete and adjust the same broadcast messages in the current broadcast message queue.

本发明实施例提供的调整广播消息队列的方法,通过确定注册接收所述广播消息队列中的广播消息的广播接收器的方式,更加准确地确定广播消息对应的广播接收者。能够更加准确地统计对应同一广播接收者的相同广播消息的数量,对超频的相同广播消息进行删减调整,有效地避免广播堵塞现象和由高频接收广播消息造成的系统卡顿现象,减少广播对系统性能的影响。The method for adjusting the broadcast message queue provided by the embodiment of the present invention more accurately determines the broadcast receiver corresponding to the broadcast message by determining the broadcast receiver registered to receive the broadcast message in the broadcast message queue. It can more accurately count the number of the same broadcast messages corresponding to the same broadcast receiver, delete and adjust the overclocked same broadcast messages, effectively avoid broadcast congestion and system freeze caused by high-frequency reception of broadcast messages, and reduce broadcast impact on system performance.

图5是本发明实施例提供的一种调整广播消息队列的装置的结构框图,该装置可由软件和/或硬件实现,一般可集成在终端中,可通过执行调整广播消息队列的方法来对终端中的广播消息进行控制。如图5所示,该装置包括接收者确定模块501、数量统计模块502和消息调整模块503。Fig. 5 is a structural block diagram of a device for adjusting the broadcast message queue provided by an embodiment of the present invention. The device can be implemented by software and/or hardware, and generally can be integrated in a terminal, and the terminal can be adjusted by executing the method for adjusting the broadcast message queue The broadcast messages in the control. As shown in FIG. 5 , the device includes a receiver determination module 501 , a quantity statistics module 502 and a message adjustment module 503 .

接收者确定模块501,用于确定当前广播消息队列中的广播消息对应的广播接收者;A receiver determining module 501, configured to determine a broadcast receiver corresponding to a broadcast message in the current broadcast message queue;

数量统计模块502,用于统计当前广播消息队列中对应同一广播接收者的相同的广播消息的数量;Quantity statistics module 502, used for counting the number of identical broadcast messages corresponding to the same broadcast receiver in the current broadcast message queue;

消息调整模块503,用于当所述相同的广播消息的数量超过预设阈值时,对当前广播消息队列中所述相同的广播消息进行删减调整。The message adjustment module 503 is configured to delete and adjust the same broadcast messages in the current broadcast message queue when the number of the same broadcast messages exceeds a preset threshold.

本发明实施例提供的调整广播消息队列的装置,通过统计当前广播消息队列中对应同一广播接收者的相同广播消息的数量,判断广播消息是否超频发送,并对相同的广播消息进行删减调整,有效地避免了广播堵塞现象和由高频发送广播消息造成的系统卡顿现象,减少了广播对系统性能的影响。The device for adjusting the broadcast message queue provided by the embodiment of the present invention judges whether the broadcast message is over-frequency sent by counting the number of the same broadcast message corresponding to the same broadcast receiver in the current broadcast message queue, and deletes and adjusts the same broadcast message, It effectively avoids broadcast congestion and system freeze caused by high-frequency transmission of broadcast messages, and reduces the impact of broadcasts on system performance.

可选的,所述消息调整模块503具体用于:Optionally, the message adjustment module 503 is specifically configured to:

在所述当前广播消息队列中,按照入队的顺序保留所述相同的广播消息中后入队的预设数量的广播消息,并移除所述预设数量的广播消息之前的广播消息。In the current broadcast message queue, a predetermined number of broadcast messages enqueued after the same broadcast message are retained according to the enqueue order, and broadcast messages before the preset number of broadcast messages are removed.

可选的,所述预设数量是根据所述当前广播消息队列的长度确定的。Optionally, the preset number is determined according to the length of the current broadcast message queue.

可选的,还包括:Optionally, also include:

广播接收者识别模块,用于在对当前广播消息队列中所述相同的广播消息进行调整之后,按照调整后的当前广播消息队列中的广播消息的排队顺序,识别当前的广播消息的广播接收者;The broadcast receiver identification module is used to identify the broadcast receiver of the current broadcast message according to the adjusted queuing order of the broadcast messages in the current broadcast message queue after adjusting the same broadcast message in the current broadcast message queue ;

广播消息分发模块,用于将所述当前的广播消息分发给对应的广播接收者。The broadcast message distribution module is configured to distribute the current broadcast message to corresponding broadcast receivers.

可选的,所述接收者确定模块501包括:Optionally, the receiver determining module 501 includes:

广播接收器确定单元,用于分别确定注册接收所述广播消息队列中的广播消息的广播接收器;a broadcast receiver determining unit, configured to respectively determine broadcast receivers registered to receive broadcast messages in the broadcast message queue;

广播接收者确定单元,用于根据所述广播接收器确定对应的广播接收者。The broadcast receiver determining unit is configured to determine the corresponding broadcast receiver according to the broadcast receiver.

上述调整广播消息队列的装置可执行本发明任意实施例所提供的调整广播消息队列的方法,具备执行调整广播消息队列的方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明任意实施例提供的方法。The above device for adjusting the broadcast message queue can execute the method for adjusting the broadcast message queue provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method for adjusting the broadcast message queue. For technical details not exhaustively described in this embodiment, refer to the method provided in any embodiment of the present invention.

本实施例提供了一种终端,该终端可以包括本发明任意实施例提供的调整广播消息队列的装置。图6为本发明实施例五提供的一种终端的结构示意图,如图6所示,该终端可以包括:壳体(图中未示出)、存储器601、中央处理器(Central Processing Unit,CPU)602(又称处理器,以下简称CPU)、存储在存储器601上并可在处理器602上运行的计算机程序、电路板(图中未示出)和电源电路(图中未示出)。所述电路板安置在所述壳体围成的空间内部;所述CPU602和所述存储器601设置在所述电路板上;所述电源电路,用于为所述终端的各个电路或器件供电;所述存储器601,用于存储可在处理器上运行的计算机程序;所述CPU602通过读取并执行所述存储器601中存储的计算机程序。This embodiment provides a terminal, and the terminal may include the device for adjusting a broadcast message queue provided by any embodiment of the present invention. FIG. 6 is a schematic structural diagram of a terminal provided by Embodiment 5 of the present invention. As shown in FIG. 6, the terminal may include: a housing (not shown in the figure), a memory 601, a central processing unit (Central Processing Unit, CPU ) 602 (also known as a processor, hereinafter referred to as CPU), a computer program stored in the memory 601 and operable on the processor 602, a circuit board (not shown in the figure) and a power circuit (not shown in the figure). The circuit board is placed inside the space surrounded by the housing; the CPU 602 and the memory 601 are arranged on the circuit board; the power supply circuit is used to supply power to each circuit or device of the terminal; The memory 601 is used to store computer programs that can run on the processor; the CPU 602 reads and executes the computer programs stored in the memory 601 .

该终端还包括:外设接口603、RF(Radio Frequency,射频)电路605、音频电路606、扬声器611、电源管理芯片608、输入/输出(I/O)子系统609、触摸屏612、其他输入/控制设备610以及外部端口604,这些部件通过一个或多个通信总线或信号线607来通信。The terminal also includes: peripheral interface 603, RF (Radio Frequency, radio frequency) circuit 605, audio circuit 606, speaker 611, power management chip 608, input/output (I/O) subsystem 609, touch screen 612, other input/output Control device 610 and external port 604 , these components communicate via one or more communication buses or signal lines 607 .

应该理解的是,图示终端600仅仅是终端的一个范例,并且终端600可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the illustrated terminal 600 is only one example of a terminal, and that the terminal 600 may have more or fewer components than shown, may combine two or more components, or may have Different component configurations. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.

下面就本实施例提供的用于调整广播消息队列的终端进行详细的描述,该终端以手机为例。The terminal for adjusting the broadcast message queue provided by this embodiment is described in detail below, and the terminal takes a mobile phone as an example.

存储器601,所述存储器601可以被CPU602、外设接口603等访问,所述存储器601可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Memory 601, the memory 601 can be accessed by the CPU 602, the peripheral interface 603, etc., the memory 601 can include a high-speed random access memory, and can also include a non-volatile memory, such as one or more disk storage devices, flash memory devices , or other volatile solid-state storage devices.

外设接口603,所述外设接口603可以将设备的输入和输出外设连接到CPU602和存储器601。Peripheral interface 603 , which can connect the input and output peripherals of the device to CPU 602 and memory 601 .

I/O子系统609,所述I/O子系统609可以将设备上的输入输出外设,例如触摸屏612和其他输入/控制设备610,连接到外设接口603。I/O子系统609可以包括显示控制器6091和用于控制其他输入/控制设备610的一个或多个输入控制器6092。其中,一个或多个输入控制器6092从其他输入/控制设备610接收电信号或者向其他输入/控制设备610发送电信号,其他输入/控制设备610可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮。值得说明的是,输入控制器6092可以与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。The I/O subsystem 609 , the I/O subsystem 609 can connect input and output peripherals on the device, such as a touch screen 612 and other input/control devices 610 , to the peripheral interface 603 . I/O subsystem 609 may include a display controller 6091 and one or more input controllers 6092 for controlling other input/control devices 610 . Among them, one or more input controllers 6092 receive electrical signals from or send electrical signals to other input/control devices 610, which may include physical buttons (push buttons, rocker buttons, etc.) ), dials, slide switches, joysticks, click wheels. It is worth noting that the input controller 6092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.

触摸屏612,所述触摸屏612是用户终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。A touch screen 612, the touch screen 612 is an input interface and an output interface between the user terminal and the user, and displays visual output to the user. The visual output may include graphics, text, icons, videos, and the like.

I/O子系统609中的显示控制器6091从触摸屏612接收电信号或者向触摸屏612发送电信号。触摸屏612检测触摸屏上的接触,显示控制器6091将检测到的接触转换为与显示在触摸屏612上的用户界面对象的交互,即实现人机交互,显示在触摸屏612上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。值得说明的是,设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。The display controller 6091 in the I/O subsystem 609 receives electrical signals from the touch screen 612 or sends electrical signals to the touch screen 612 . The touch screen 612 detects the contact on the touch screen, and the display controller 6091 converts the detected contact into an interaction with the user interface object displayed on the touch screen 612, that is, realizes human-computer interaction, and the user interface object displayed on the touch screen 612 can be a running Icons for games, icons for networking to appropriate networks, etc. It is worth noting that the device may also include an optical mouse, which is a touch-sensitive surface that does not display visual output, or that is an extension of a touch-sensitive surface formed by a touch screen.

RF电路605,主要用于建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。具体地,RF电路605接收并发送RF信号,RF信号也称为电磁信号,RF电路605将电信号转换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其他设备进行通信。RF电路605可以包括用于执行这些功能的已知电路,其包括但不限于天线系统、RF收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC(COder-DECoder,编译码器)芯片组、用户标识模块(Subscriber Identity Module,SIM)等等。The RF circuit 605 is mainly used to establish communication between the mobile phone and the wireless network (that is, the network side), and realize data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. Specifically, the RF circuit 605 receives and sends RF signals, which are also called electromagnetic signals, and the RF circuit 605 converts electrical signals into electromagnetic signals or converts electromagnetic signals into electrical signals, and communicates with communication networks and other devices through the electromagnetic signals to communicate. RF circuitry 605 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 (Subscriber Identity Module, SIM) and so on.

音频电路606,主要用于从外设接口603接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器611。The audio circuit 606 is mainly used to receive audio data from the peripheral interface 603 , convert the audio data into electrical signals, and send the electrical signals to the speaker 611 .

扬声器611,用于将手机通过RF电路605从无线网络接收的语音信号,还原为声音并向用户播放该声音。The speaker 611 is used to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 605 into sound and play the sound to the user.

电源管理芯片608,用于为CPU602、I/O子系统及外设接口所连接的硬件进行供电及电源管理。The power management chip 608 is used for power supply and power management for the hardware connected to the CPU 602 , the I/O subsystem and the peripheral interface.

本发明实施例提供的CPU602在执行所述存储器601中存储的计算机程序时实现以下步骤:The CPU 602 provided by the embodiment of the present invention implements the following steps when executing the computer program stored in the memory 601:

确定当前广播消息队列中的广播消息对应的广播接收者;Determine the broadcast receiver corresponding to the broadcast message in the current broadcast message queue;

统计当前广播消息队列中对应同一广播接收者的相同的广播消息的数量;Count the number of identical broadcast messages corresponding to the same broadcast receiver in the current broadcast message queue;

当所述相同的广播消息的数量超过预设阈值时,对当前广播消息队列中所述相同的广播消息进行删减调整。When the number of the same broadcast messages exceeds the preset threshold, the same broadcast messages in the current broadcast message queue are deleted and adjusted.

上述终端可执行本发明任意实施例所提供的方法,具备执行方法相应的功能模块和有益效果。The above-mentioned terminal can execute the method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method.

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.

Claims (11)

1. it is a kind of adjust broadcast message queue method, it is characterised in that methods described includes:
Determine the corresponding broadcast recipients of broadcast message in current broadcast message queue;
The quantity of the identical broadcast message of the same broadcast recipients of correspondence in statistics current broadcast message queue;
It is wide to identical described in current broadcast message queue when the quantity of identical broadcast message exceedes predetermined threshold value Broadcasting message carries out deleting adjustment.
2. method according to claim 1, it is characterised in that disappear to the broadcast of identical described in current broadcast message queue Breath carries out deleting adjustment, including:
In the current broadcast message queue, that is joined the team after retaining during the identical broadcasts the message according to the order joined the team is pre- If the broadcast message of quantity, and remove the broadcast message before the broadcast message of the predetermined number.
3. method according to claim 2, it is characterised in that the predetermined number is according to the current broadcast message team What the length of row determined.
4. according to any described methods of claim 1-3, it is characterised in that to identical described in current broadcast message queue Broadcast message delete adjustment after, also include:
According to the Queue sequence of the broadcast message in the current broadcast message queue after adjustment, the wide of current broadcast message is recognized Broadcast recipient;
The current broadcast message is distributed to corresponding broadcast recipients.
5. according to any described methods of claim 1-3, it is characterised in that determine that the broadcast in current broadcast message queue disappears Corresponding broadcast recipients are ceased, including:
Determine that registration receives the radio receiver of the broadcast message in broadcast message queue respectively;
Corresponding broadcast recipients are determined according to the radio receiver.
6. it is a kind of adjust broadcast message queue device, it is characterised in that described device includes:
Recipient's determining module, for determining the corresponding broadcast recipients of broadcast message in current broadcast message queue;
Quantity statistics module, the identical broadcast message for counting the same broadcast recipients of correspondence in current broadcast message queue Quantity;
Message adjusting module, for when the quantity that the identical broadcasts the message exceedes predetermined threshold value, to current broadcast message The broadcast message of identical described in queue carries out deleting adjustment.
7. device according to claim 6, it is characterised in that the message adjusting module specifically for:
In the current broadcast message queue, that is joined the team after retaining during the identical broadcasts the message according to the order joined the team is pre- If the broadcast message of quantity, and remove the broadcast message before the broadcast message of the predetermined number.
8. device according to claim 7, it is characterised in that the predetermined number is according to the current broadcast message team What the length of row determined.
9. according to any described devices of claim 6-8, it is characterised in that also include:
Broadcast recipients' identification module, for being adjusted it to the broadcast message of identical described in current broadcast message queue Afterwards, according to the Queue sequence of the broadcast message in the current broadcast message queue after adjustment, the wide of current broadcast message is recognized Broadcast recipient;
Broadcast message distribution module, for the current broadcast message to be distributed into corresponding broadcast recipients.
10. according to any described devices of claim 6-8, it is characterised in that recipient's determining module includes:
Radio receiver determining unit, for determining that registration receives the broadcast of the broadcast message in broadcast message queue respectively Receiver;
Broadcast recipients' determining unit, for determining corresponding broadcast recipients according to the radio receiver.
A kind of 11. terminals, including memory, processor and storage are on a memory and the computer journey that can run on a processor Sequence, it is characterised in that realize following steps during computer program described in the computing device:
Determine the corresponding broadcast recipients of broadcast message in current broadcast message queue;
The quantity of the identical broadcast message of the same broadcast recipients of correspondence in statistics current broadcast message queue;
It is wide to identical described in current broadcast message queue when the quantity of identical broadcast message exceedes predetermined threshold value Broadcasting message carries out deleting adjustment.
CN201710140649.7A 2017-03-10 2017-03-10 Method, device and terminal for adjusting broadcast message queue Expired - Fee Related CN106851014B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710140649.7A CN106851014B (en) 2017-03-10 2017-03-10 Method, device and terminal for adjusting broadcast message queue
PCT/CN2017/106770 WO2018161580A1 (en) 2017-03-10 2017-10-18 Broadcast control method and apparatus, storage medium, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710140649.7A CN106851014B (en) 2017-03-10 2017-03-10 Method, device and terminal for adjusting broadcast message queue

Publications (2)

Publication Number Publication Date
CN106851014A true CN106851014A (en) 2017-06-13
CN106851014B CN106851014B (en) 2020-06-30

Family

ID=59143919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710140649.7A Expired - Fee Related CN106851014B (en) 2017-03-10 2017-03-10 Method, device and terminal for adjusting broadcast message queue

Country Status (2)

Country Link
CN (1) CN106851014B (en)
WO (1) WO2018161580A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108093385A (en) * 2017-12-26 2018-05-29 青岛海信电器股份有限公司 Bluetooth controller handles method, bluetooth controller and the bluetooth equipment of broadcast packet
WO2018161575A1 (en) * 2017-03-10 2018-09-13 广东欧珀移动通信有限公司 Method and device for adjusting broadcast message queue, storage medium, and terminal
WO2018161596A1 (en) * 2017-03-10 2018-09-13 广东欧珀移动通信有限公司 Method for controlling transmission of broadcast messages by broadcast sender, apparatus, terminal device, and storage medium
WO2018161557A1 (en) * 2017-03-10 2018-09-13 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method, device, terminal and storage medium for adjusting broadcast message queue
CN109150753A (en) * 2018-08-01 2019-01-04 新华三技术有限公司 message distributing method and device
CN110633161A (en) * 2019-09-19 2019-12-31 北京安云世纪科技有限公司 Broadcast processing method and device
CN116088714A (en) * 2022-05-26 2023-05-09 荣耀终端有限公司 Message prompt box processing method and related device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119179526A (en) * 2023-06-21 2024-12-24 华为技术有限公司 Application starting method and electronic equipment

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010036642A (en) * 1999-10-11 2001-05-07 윤종용 Inter-task Communication Method under Multitasking Environment
US20070156729A1 (en) * 2000-08-28 2007-07-05 Sun Microsystems, Inc. Data structure describing logical data spaces
CN102855148A (en) * 2012-08-02 2013-01-02 广东欧珀移动通信有限公司 Android-based startup management method
US8595748B1 (en) * 2007-12-21 2013-11-26 Ibiquity Digital Corporation Systems and methods for transmitting and receiving large objects via digital radio broadcast
CN103425225A (en) * 2012-05-16 2013-12-04 腾讯科技(深圳)有限公司 Device and running method for applications in operating system of portable data equipment
WO2014100452A1 (en) * 2012-12-20 2014-06-26 Georgia State University Research Foundation, Inc. Paraller priority queue utilizing parallel heap on many-core processors for accelerating priority-queue-based applications
CN105208590A (en) * 2015-08-17 2015-12-30 广东欧珀移动通信有限公司 Mobile terminal operation system card slack abnormity detection recovery method and mobile terminal
CN105357648A (en) * 2015-10-10 2016-02-24 上海斐讯数据通信技术有限公司 Method and Android system for sending broadcast message to application program
CN105611046A (en) * 2015-12-17 2016-05-25 福建六壬网安股份有限公司 Strategy customization-based Android mobile phone security protection system and protection method thereof
CN105786973A (en) * 2016-02-02 2016-07-20 重庆秒盈电子商务有限公司 Concurrent data processing method and system based on big data technology
CN106201740A (en) * 2016-06-29 2016-12-07 北京金山安全软件有限公司 Broadcast message management method, device and equipment
CN106293964A (en) * 2016-07-29 2017-01-04 青岛海信移动通信技术股份有限公司 The call method of a kind of application program and device
CN106407021A (en) * 2016-07-01 2017-02-15 厦门易名科技股份有限公司 Queue-based business request processing method

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2528339B1 (en) * 2011-05-26 2019-12-04 Lg Electronics Inc. Display apparatus for processing multiple applications and method for controlling the same
CN104994481B (en) * 2015-07-10 2018-09-28 上海斐讯数据通信技术有限公司 The receiving/transmission method and system to broadcast the message between application program in a kind of android system
CN106844070B (en) * 2017-03-10 2020-07-31 Oppo广东移动通信有限公司 Broadcast control method and device and mobile terminal
CN106937258B (en) * 2017-03-10 2019-07-12 Oppo广东移动通信有限公司 Broadcast control method and device and mobile terminal

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20010036642A (en) * 1999-10-11 2001-05-07 윤종용 Inter-task Communication Method under Multitasking Environment
US20070156729A1 (en) * 2000-08-28 2007-07-05 Sun Microsystems, Inc. Data structure describing logical data spaces
US8595748B1 (en) * 2007-12-21 2013-11-26 Ibiquity Digital Corporation Systems and methods for transmitting and receiving large objects via digital radio broadcast
CN103425225A (en) * 2012-05-16 2013-12-04 腾讯科技(深圳)有限公司 Device and running method for applications in operating system of portable data equipment
CN102855148A (en) * 2012-08-02 2013-01-02 广东欧珀移动通信有限公司 Android-based startup management method
WO2014100452A1 (en) * 2012-12-20 2014-06-26 Georgia State University Research Foundation, Inc. Paraller priority queue utilizing parallel heap on many-core processors for accelerating priority-queue-based applications
CN105208590A (en) * 2015-08-17 2015-12-30 广东欧珀移动通信有限公司 Mobile terminal operation system card slack abnormity detection recovery method and mobile terminal
CN105357648A (en) * 2015-10-10 2016-02-24 上海斐讯数据通信技术有限公司 Method and Android system for sending broadcast message to application program
CN105611046A (en) * 2015-12-17 2016-05-25 福建六壬网安股份有限公司 Strategy customization-based Android mobile phone security protection system and protection method thereof
CN105786973A (en) * 2016-02-02 2016-07-20 重庆秒盈电子商务有限公司 Concurrent data processing method and system based on big data technology
CN106201740A (en) * 2016-06-29 2016-12-07 北京金山安全软件有限公司 Broadcast message management method, device and equipment
CN106407021A (en) * 2016-07-01 2017-02-15 厦门易名科技股份有限公司 Queue-based business request processing method
CN106293964A (en) * 2016-07-29 2017-01-04 青岛海信移动通信技术股份有限公司 The call method of a kind of application program and device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018161575A1 (en) * 2017-03-10 2018-09-13 广东欧珀移动通信有限公司 Method and device for adjusting broadcast message queue, storage medium, and terminal
WO2018161596A1 (en) * 2017-03-10 2018-09-13 广东欧珀移动通信有限公司 Method for controlling transmission of broadcast messages by broadcast sender, apparatus, terminal device, and storage medium
WO2018161557A1 (en) * 2017-03-10 2018-09-13 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method, device, terminal and storage medium for adjusting broadcast message queue
US10097292B2 (en) 2017-03-10 2018-10-09 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method, device, terminal and storage medium for adjusting broadcast message queue
CN108093385A (en) * 2017-12-26 2018-05-29 青岛海信电器股份有限公司 Bluetooth controller handles method, bluetooth controller and the bluetooth equipment of broadcast packet
CN109150753A (en) * 2018-08-01 2019-01-04 新华三技术有限公司 message distributing method and device
CN109150753B (en) * 2018-08-01 2022-04-22 新华三技术有限公司 Message distribution method and device
CN110633161A (en) * 2019-09-19 2019-12-31 北京安云世纪科技有限公司 Broadcast processing method and device
CN110633161B (en) * 2019-09-19 2022-09-02 北京安云世纪科技有限公司 Broadcast processing method and device
CN116088714A (en) * 2022-05-26 2023-05-09 荣耀终端有限公司 Message prompt box processing method and related device
CN116088714B (en) * 2022-05-26 2024-05-28 荣耀终端有限公司 Message prompt box processing method and related device

Also Published As

Publication number Publication date
WO2018161580A1 (en) 2018-09-13
CN106851014B (en) 2020-06-30

Similar Documents

Publication Publication Date Title
CN106851014B (en) Method, device and terminal for adjusting broadcast message queue
CN106844069A (en) Method, device and terminal for adjusting broadcast message queue
CN106921947B (en) Method, device and terminal for adjusting broadcast message queue
CN106851015B (en) Method, device and terminal for adjusting broadcast message queue
CN106851016A (en) Method, device and terminal for broadcast message queuing
US10908976B2 (en) Broadcast queue adjustment method, terminal, and storage medium
CN106937258A (en) A broadcast control method, device and mobile terminal
CN107070670A (en) Method, device and terminal equipment for controlling broadcast sender to send broadcast message
CN106851593B (en) A kind of broadcast transmission method, apparatus and terminal
US10990460B2 (en) Method of generating broadcast queue, storage medium, and terminal
CN106951333A (en) Broadcast control method and device and mobile terminal
CN106919461B (en) Method and device for adjusting broadcast receiver queue and terminal equipment
CN106850458A (en) Method, device and terminal for broadcast message queuing
CN106899943B (en) Method, device and terminal equipment for controlling broadcast sender to send broadcast message
CN106844070B (en) Broadcast control method and device and mobile terminal
CN106936994A (en) A kind of control method of broadcast recipients, device and mobile terminal
CN106851594B (en) Broadcast sending method, device and terminal
CN106933684A (en) A method, device and mobile terminal for controlling a broadcast receiver
CN106851595A (en) Ordered broadcast processing method, device and terminal equipment
CN106936996B (en) Method, device and terminal for sending shutdown broadcast
CN106933686A (en) Method, device and terminal for adjusting broadcast message queue
CN106936828A (en) A broadcast receiver queue adjustment method, device and terminal
CN106933685A (en) A management method, device and terminal for broadcast receivers

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200630

CF01 Termination of patent right due to non-payment of annual fee