CN106851014A - Adjust method, device and the terminal of broadcast message queue - Google Patents
Adjust method, device and the terminal of broadcast message queue Download PDFInfo
- 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
- queue
- current
- recipients
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 230000015654 memory Effects 0.000 claims description 16
- 238000004590 computer program Methods 0.000 claims description 7
- 238000009826 distribution Methods 0.000 claims description 5
- 238000003860 storage Methods 0.000 claims description 2
- 230000009897 systematic effect Effects 0.000 abstract description 8
- 230000005540 biological transmission Effects 0.000 description 10
- 230000006870 function Effects 0.000 description 10
- 230000002093 peripheral effect Effects 0.000 description 9
- 230000007246 mechanism Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000005304 joining Methods 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 238000012163 sequencing technique Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000006399 behavior Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72403—User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72484—User 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 kind of method for adjusting broadcast message queue, device and terminal.The method 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;When the quantity of identical broadcast message exceedes predetermined threshold value, the broadcast message of identical described in current broadcast message queue is carried out deleting adjustment.The method of adjustment broadcast message queue provided in an embodiment of the present invention, by the quantity for counting the same broadcast message of the same broadcast recipients of correspondence in current broadcast message queue, judge whether overclocking is received broadcast message, and identical broadcast message is carried out deleting adjustment, broadcast clogging and the system Caton phenomenon caused by high-frequency reception broadcast message are efficiently avoid, influence of the broadcast to systematic function is reduced.
Description
Technical field
The present embodiments relate to system broadcasts technology, more particularly to a kind of method, device for adjusting broadcast message queue
And terminal.
Background technology
Android (Android) system is a kind of operating system of the terminals such as current widely used mobile phone.Android
In system, there are many different application programs, in order to be rapidly performed by information transmission, Android in different application programs
System is realized using broadcast mechanism, when having message to notify different application programs, is just sent this message by broadcast
To different application programs.
In android system, the broadcast message that broadcast transmission person sends is not limited, so that a broadcast transmission person
Can arbitrarily send any number of broadcast, or frequently send very much broadcast, can cause pending in broadcast message queue
Broadcast message is very more so that processing speed is slack-off, causes broadcast message to be blocked, and influences the normal operation of system.
The content of the invention
The embodiment of the present invention provides a kind of method for adjusting broadcast message queue, device and terminal, and broadcast can be avoided to disappear
Breath obstruction, reduces influence of the broadcast to systematic function.
In a first aspect, the embodiment of the invention provides a kind of method for adjusting broadcast message queue, 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;
When the quantity of identical broadcast message exceedes predetermined threshold value, to identical described in current broadcast message queue
Broadcast message carry out deleting adjustment.
Second aspect, the embodiment of the present invention additionally provides a kind of adjustment broadcast message array device, and 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 for counting the same broadcast recipients of correspondence in current broadcast message queue
The quantity of message;
Message adjusting module, for when the quantity that the identical broadcasts the message exceedes predetermined threshold value, to current broadcast
The broadcast message of identical described in message queue carries out deleting adjustment.
The third aspect, the embodiment of the present invention additionally provides a kind of terminal, including memory, processor and storage in memory
Computer program that is upper and can running on a processor, following steps are realized described in the computing device during computer program:
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;
When the quantity of identical broadcast message exceedes predetermined threshold value, to identical described in current broadcast message queue
Broadcast message carry out deleting adjustment.
The method of adjustment broadcast message queue provided in an embodiment of the present invention is right in current broadcast message queue by counting
The quantity of the same broadcast message of same broadcast recipients is answered, judges whether overclocking is received broadcast message, and identical is broadcasted
Message carries out deleting adjustment, efficiently avoid broadcast clogging and is showed by the system interim card that high-frequency reception broadcast message is caused
As reducing influence of the broadcast to systematic function.
Brief description of the drawings
Fig. 1 is a kind of flow chart of method for adjusting broadcast message queue provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of the method for adjustment broadcast message queue that one embodiment of the invention is provided;
Fig. 3 is a kind of flow chart of the method for adjustment broadcast message queue that one embodiment of the invention is provided;
Fig. 4 is a kind of flow chart of the method for adjustment broadcast message queue that one embodiment of the invention is provided;
Fig. 5 is a kind of structured flowchart of device for adjusting broadcast message queue provided in an embodiment of the present invention;
Fig. 6 is a kind of structural representation of terminal provided in an embodiment of the present invention.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just
Part rather than full content related to the present invention is illustrate only in description, accompanying drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The treatment described as flow chart or method.Although each step to be described as flow chart the treatment of order, many of which
Step can be implemented concurrently, concomitantly or simultaneously.Additionally, the order of each step can be rearranged.When its operation
The treatment can be terminated during completion, it is also possible to have the additional step being not included in accompanying drawing.The treatment can be with
Corresponding to method, function, code, subroutine, subprogram etc..
Fig. 1 is a kind of flow chart of method for adjusting broadcast message queue provided in an embodiment of the present invention, and the present embodiment can
Suitable for situation about being adjusted to broadcast message queue, the method can be performed by the device of adjustment broadcast message queue,
Wherein the device can realize that the device can be integrated in terminal, and terminal can be smart mobile phone, flat board by software and/or hardware
Computer etc., as shown in figure 1, the method includes:
Step 101, the corresponding broadcast recipients of broadcast message determined in current broadcast message queue.
Wherein, broadcast mechanism is substantially a kind of communication modes of inter-module in the operating system of terminal, is a kind of wide
The general mechanism with transmission message among applications.For example under the Android system of terminal, after thering are certain operations to complete,
Broadcast message can be sent.Broadcast message can be the various event message data of generation in operating system.Such as hair
Go out a short message or get a phone, can all send broadcast, when certain application program have received this broadcast, it is possible to do
Go out corresponding treatment.Broadcast mechanism includes three fundamentals:Broadcast, radio receiver and intention content, wherein, broadcast is used
Broadcasted in sending, radio receiver is used to receive broadcasts, and broadcast recipients can tell system to what class by call function
The broadcast of type is interested, and to system registry radio receiver, just possesses the authority of the broadcast message for receiving the type.It is intended to
Content is used to preserve the medium of broadcast related information.Due to having some similarities with the station broadcast in traditional sense, institute
To be referred to as to broadcast, because sender is only responsible for transmission, it is not relevant for whether recipient is connected to message data, is also indifferent to and connects
Debit is how to process message data.In addition, broadcast can both be received by more than one application program, it is also possible to not any
Application program is received.
Broadcast message queue refers to that broadcast message is joined the team successively according to the sequencing of broadcast time, the shape of the queue of formation
Formula.Broadcast message queue can be acquiescence broadcast queue, or third-party application broadcast queue.Exemplarily, broadcast disappears
Breath queue can be include bright screen broadcast, breath screen broadcast, unblock broadcast, network state change broadcast, bluetooth state change broadcast,
Queue, or sent by third-party application software that the system broadcasts such as the broadcast of switching language, switching theme broadcast are constituted
Broadcast the queue for constituting.Current broadcast message queue can be understood as with current point in time as timing node, timing node it
Before, the broadcast message queue being made up of all undealt broadcast messages.Can be according to the order in current broadcast message queue
The corresponding broadcast recipients of each broadcast message are determined successively.For example can be corresponding wide by searching the registered broadcast message
Recipient's list of receiver is broadcast to determine broadcast recipients.
In android system, ActivityManagerService is the broadcast in the broadcast mechanism of android system
Center, is responsible for the registration and issue operation of all broadcast in system, wherein, the registration of broadcast refers to application program broadcast reception
Device is registered to the process of ActivityManagerService.The issue of broadcast arrives broadcast transmission including broadcast transmission person
It is later in the registration of oneself that ActivityManagerService, ActivityManagerService receive this broadcast
The heart has checked which radio receiver have subscribed the broadcast, and then this broadcast is sent in these radio receivers one by one.
The number of the identical broadcast message of the same broadcast recipients of correspondence in step 102, statistics current broadcast message queue
Amount.
Wherein it is possible to be named to broadcast message when broadcast message is set up, identical broadcast message can be title
Identical broadcasts the message.Exemplarily, title is multiple broadcast messages of " bright screen broadcast " and is properly termed as identical broadcast and disappears
Breath.Within a period of time, the same broadcast recipients of correspondence might have multiple broadcast messages, have one in these broadcast messages
It is identical to divide.Whether the identical broadcast message quantity that the same broadcast recipients of statistics correspondence receive can determine whether out the broadcast
Frequently send.
Step 103, when the identical broadcast message quantity exceed predetermined threshold value when, in current broadcast message queue
The identical broadcast message carries out deleting adjustment.
Wherein it is possible to according to the same broadcast recipients that statistics is obtained identical broadcast message quantity to be received, by this
Quantity is compared with predetermined threshold value, judges whether identical broadcast message is frequently received by same broadcast recipients.Can be
When the quantity that statistics is obtained is more than predetermined threshold value, determine that the broadcast message is sent frequently to the broadcast recipients.And then can be right
The broadcast for frequently receiving is carried out deleting adjustment treatment, and the obstruction of broadcast is caused to avoid such broadcast excessive, influences other
The transmission of broadcast message.And the broadcast to non-frequent reception can not be processed.
The method of adjustment broadcast message queue provided in an embodiment of the present invention is right in current broadcast message queue by counting
The quantity of the same broadcast message of same broadcast recipients is answered, judges whether overclocking is received broadcast message, and identical is broadcasted
Message carries out deleting adjustment, efficiently avoid broadcast clogging and is showed by the system interim card that high-frequency reception broadcast message is caused
As reducing influence of the broadcast to systematic function.
Fig. 2 is a kind of flow chart of the method for adjustment broadcast message queue that one embodiment of the invention is provided.This implementation
The method of example includes:
Step 201, the corresponding broadcast recipients of broadcast message determined in current broadcast message queue.
The number of the identical broadcast message of the same broadcast recipients of correspondence in step 202, statistics current broadcast message queue
Amount.
Step 203, when the identical broadcast message quantity exceed predetermined threshold value when, in the current broadcast message team
In row, the broadcast message of the predetermined number joined the team after retaining during the identical broadcasts the message according to the order joined the team, and remove
Broadcast message before the broadcast message of the predetermined number.
Wherein, the quantity for being broadcast the message according to identical judges
No overclocking sends.It is reference with the order originally joined the team for the broadcast message that overclocking sends, the present count joined the team after only retaining
The broadcast message of amount, to reduce the frequency of such broadcast message.Exemplarily, predetermined number threshold value is set as 2, is with using A
As a example by broadcast recipients, the quantity of identical broadcast message is 4, and according to order of joining the team, 2 broadcast joined the team after now retaining disappear
Breath, remaining all broadcast message is removed, to reduce the frequency of the broadcast message.Wherein, predetermined number is contemplated that terminal
The relevant parameters such as response speed, memory headroom size are set, the criterion for characterizing broadcast message overclocking.
Preferably, the predetermined number is determined according to the length of the current broadcast message queue.
Wherein, predetermined number can be the quantitative value that can avoid the occurrence of broadcast message obstructing problem, be referred to broadcast
The length of message queue is determined, can at any time according to the quantity of the broadcast message of all queuings in current broadcast message queue
It is adjusted, so can both ensures to avoid system from Caton phenomenon occur, the broadcast reception can be to greatest extent ensured again
The quantity of the broadcast message that person receives, the appropriate loss for reducing broadcast message.
The method of adjustment broadcast message queue provided in an embodiment of the present invention, same broadcast recipients are corresponded to by statistics
Same broadcast message quantity, judge whether overclocking sends broadcast message, and when overclocking sends, disappear corresponding to same broadcast
Breath recipient, using this method of adjustment of the broadcast message of predetermined number for joining the team after only retaining in broadcast message queue to broadcast
Message is adjusted, and the method for adjustment is relatively simple, workable, can reduce the quantity that broadcast message sends, effectively
Broadcast clogging and the system Caton phenomenon caused by high-frequency reception broadcast message are avoided, broadcast is reduced to systematic function
Influence.The broadcast message joined the team ensure simultaneously after is smoothly distributed, and remains the newest broadcast message in same broadcast message,
Avoid the loss of new broadcast message.
Fig. 3 is a kind of flow chart of the method for adjustment broadcast message queue that one embodiment of the invention is provided.
The method of the present embodiment includes:
Step 301, the corresponding broadcast recipients of broadcast message determined in current broadcast message queue.
The number of the identical broadcast message of the same broadcast recipients of correspondence in step 302, statistics current broadcast message queue
Amount.
Step 303, when the identical broadcast message quantity exceed predetermined threshold value when, in current broadcast message queue
The identical broadcast message carries out deleting adjustment.
Step 304, the Queue sequence according to the broadcast message in the current broadcast message queue after adjustment, recognize current
The broadcast recipients of broadcast message.
Step 305, the current broadcast message is distributed to corresponding broadcast recipients.
Wherein, new Queue sequence is formed after being adjusted to same broadcast message described in broadcast message queue, can be joined
Sequencing of joining the team according to new queue recognizes the broadcast recipients of current broadcast message successively.Can also in step 301
Recognize corresponding broadcast recipients of broadcast message to be distributed after adjustment in the broadcast recipients of determination, then successively will be current wide
Message distribution is broadcast to corresponding broadcast recipients.Exemplarily, the queue after adjustment is followed successively by A1, A4, B1 and C, currently treats point
The broadcast message of hair is A1, and the broadcast recipients for recognizing the broadcast message are using D, using E and apply F, then respectively by A1 points
Issue using D, using E and apply F, just complete the distribution procedure of broadcast message A1, A4 is distributed afterwards.
The method of adjustment broadcast message queue provided in an embodiment of the present invention, identical broadcasts recipient is corresponded to by statistics
Same broadcast message quantity, judge that whether overclocking is received broadcast message, and carries out deleting adjustment to same broadcast message, have
The system Caton phenomenon broadcasted clogging and caused by high-frequency reception broadcast message is avoided to effect, broadcast is reduced to systematic function
Influence.After the broadcast recipients of the current broadcast message to be distributed of identification, while by the broadcast message queue after adjustment
In broadcast message be distributed successively according to Queue sequence, it is ensured that broadcast message distribution in order carry out.Can ensure wide
Broadcast recipient to timely respond to broadcast message, the phenomenon of the unmanned response of important broadcast message can be avoided the occurrence of.
Fig. 4 is a kind of flow chart of the method for adjustment broadcast message queue that one embodiment of the invention is provided.This implementation
The method of example includes:
The radio receiver of step 401, the broadcast message determined respectively in registration reception broadcast message queue;
Step 402, corresponding broadcast recipients are determined according to the radio receiver.
Wherein, due to broadcast recipients if it is intended to possessing the authority of the broadcast message for receiving certain broadcast, it is necessary first to
To the corresponding radio receiver of the system registry broadcast message, therefore can be by determining registered to receive the broadcast message team
The mode of the radio receiver of the broadcast message in row, it is determined that the corresponding broadcast recipients that broadcast the message.
The number of the identical broadcast message of the same broadcast recipients of correspondence in step 403, statistics current broadcast message queue
Amount.
Step 404, when the identical broadcast message quantity exceed predetermined threshold value when, in current broadcast message queue
The identical broadcast message carries out deleting adjustment.
The method of adjustment broadcast message queue provided in an embodiment of the present invention, by determining that registration receives the broadcast message
The mode of the radio receiver of the broadcast message in queue, more accurately determines the corresponding broadcast recipients of broadcast message.Energy
The quantity of enough same broadcast messages for more accurately counting the same broadcast recipients of correspondence, the same broadcast message to overclocking is entered
Row deletes adjustment, is effectively prevented from the system Caton phenomenon broadcasted clogging and caused by high-frequency reception broadcast message, reduces
Broadcast the influence to systematic function.
Fig. 5 is a kind of structured flowchart of device for adjusting broadcast message queue provided in an embodiment of the present invention, and the device can
Realized by software and/or hardware, typically can it is integrated in the terminal, can be by performing the method for adjustment broadcast message queue come to end
Broadcast message in end is controlled.As shown in figure 5, the device includes recipient's determining module 501, quantity statistics module 502
With message adjusting module 503.
Recipient's determining module 501, for determining the corresponding broadcast reception of broadcast message in current broadcast message queue
Person;
Quantity statistics module 502, the identical for counting the same broadcast recipients of correspondence in current broadcast message queue
The quantity of broadcast message;
Message adjusting module 503, for when the quantity that the identical broadcasts the message exceedes predetermined threshold value, to current wide
Broadcasting the broadcast message of identical described in message queue carries out deleting adjustment.
The device of adjustment broadcast message queue provided in an embodiment of the present invention, it is right in current broadcast message queue by counting
The quantity of the same broadcast message of same broadcast recipients is answered, judges whether overclocking sends broadcast message, and identical is broadcasted
Message carries out deleting adjustment, efficiently avoid broadcast clogging and is showed by the system interim card that high frequency transmission broadcast message is caused
As reducing influence of the broadcast to systematic function.
Optionally, the message adjusting module 503 specifically for:
In the current broadcast message queue, joined the team after retaining during the identical broadcasts the message according to the order joined the team
Predetermined number broadcast message, and remove the broadcast message before the broadcast message of the predetermined number.
Optionally, the predetermined number is determined according to the length of the current broadcast message queue.
Optionally, also include:
Broadcast recipients' identification module, for being adjusted to the broadcast message of identical described in current broadcast message queue
After whole, according to the Queue sequence of the broadcast message in the current broadcast message queue after adjustment, current broadcast message is recognized
Broadcast recipients;
Broadcast message distribution module, for the current broadcast message to be distributed into corresponding broadcast recipients.
Optionally, recipient's determining module 501 includes:
Radio receiver determining unit, for determining that registration receives the broadcast message in broadcast message queue respectively
Radio receiver;
Broadcast recipients' determining unit, for determining corresponding broadcast recipients according to the radio receiver.
The device of above-mentioned adjustment broadcast message queue can perform the adjustment broadcast message that any embodiment of the present invention is provided
The method of queue, possesses the corresponding functional module of method and beneficial effect for performing adjustment broadcast message queue.Not in this implementation
The ins and outs of detailed description in example, reference can be made to the method that any embodiment of the present invention is provided.
A kind of terminal is present embodiments provided, the terminal can include that the adjustment broadcast that any embodiment of the present invention is provided disappears
Cease the device of queue.Fig. 6 is a kind of structural representation of terminal that the embodiment of the present invention five is provided, as shown in fig. 6, the terminal can
To include:Housing (not shown), memory 601, central processing unit (Central Processing Unit, CPU) 602
(also known as processor, hereinafter referred to as CPU), the computer program that store on memory 601 and can be run on processor 602,
Circuit board (not shown) and power circuit (not shown).The circuit board is placed in the space that the housing is surrounded
Portion;The CPU602 and the memory 601 are arranged on the circuit board;The power circuit, for being the terminal
Each circuit or device are powered;The memory 601, for storing the computer program that can be run on a processor;It is described
CPU602 passes through to read and perform the computer program stored in the memory 601.
The terminal also includes:Peripheral Interface 603, RF (Radio Frequency, radio frequency) circuit 605, voicefrequency circuit 606,
Loudspeaker 611, power management chip 608, input/output (I/O) subsystem 609, touch-screen 612, other input/control devicess
610 and outside port 604, these parts are communicated by one or more communication bus or holding wire 607.
It should be understood that graphic terminal 600 is only an example of terminal, and terminal 600 can have than figure
Shown in more or less parts, two or more parts can be combined, or can have different portions
Part is configured.Various parts shown in figure can be including including one or more signal transactings and/or application specific integrated circuit
Hardware, software or hardware and software combination in realize.
Below with regard to the present embodiment provide for adjust broadcast message queue terminal be described in detail, the terminal with
As a example by mobile phone.
Memory 601, the memory 601 can be accessed by CPU602, Peripheral Interface 603 etc., and the memory 601 can
With including high-speed random access memory, nonvolatile memory can also be included, such as one or more disk memories,
Flush memory device or other volatile solid-state parts.
The input of equipment and output peripheral hardware can be connected to CPU602 and deposited by Peripheral Interface 603, the Peripheral Interface 603
Reservoir 601.
I/O subsystems 609, the I/O subsystems 609 can be by the input/output peripheral in equipment, such as touch-screen 612
With other input/control devicess 610, Peripheral Interface 603 is connected to.I/O subsystems 609 can include the He of display controller 6091
One or more input controllers 6092 for controlling other input/control devicess 610.Wherein, one or more input controls
Device processed 6092 receives electric signal or sends electric signal to other input/control devicess 610 from other input/control devicess 610,
Other input/control devicess 610 can be including physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour
Vertical pole, click roller.What deserves to be explained is, input controller 6092 can with it is following any one be connected:Keyboard, infrared port,
The instruction equipment of USB interface and such as mouse.
Touch-screen 612, the touch-screen 612 is the input interface and output interface between user terminal and user, can
Depending on output display to user, visual output can be including figure, text, icon, video etc..
Display controller 6091 in I/O subsystems 609 receives electric signal or is sent out to touch-screen 612 from touch-screen 612
Electric signals.Contact on the detection touch-screen of touch-screen 612, the contact that display controller 6091 will be detected is converted to and display
The interaction of the user interface object on touch-screen 612, that is, realize man-machine interaction, is displayed in the user interface on touch-screen 612
Object can be the icon of running game, the icon etc. that is networked to corresponding network.What deserves to be explained is, equipment can also include light
Mouse, light mouse is the extension for not showing the visual touch sensitive surface for exporting, or the touch sensitive surface formed by touch-screen.
RF circuits 605, are mainly used in setting up the communication of mobile phone and wireless network (i.e. network side), realize mobile phone and wireless network
The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 605 are received and send RF letters
Number, RF signals are also referred to as electromagnetic signal, and RF circuits 605 convert electrical signals to electromagnetic signal or electromagnetic signal is converted into telecommunications
Number, and communicated with communication network and other equipment by the electromagnetic signal.RF circuits 605 can be included for performing
The known circuit of these functions, it includes but is not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one
Individual or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, ID mould
Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 606, is mainly used in receiving voice data from Peripheral Interface 603, and the voice data is converted into telecommunications
Number, and the electric signal is sent to loudspeaker 611.
Loudspeaker 611, for the voice signal for receiving mobile phone from wireless network by RF circuits 605, is reduced to sound
And play the sound to user.
Power management chip 608, for being powered by the hardware that CPU602, I/O subsystem and Peripheral Interface are connected
And power management.
CPU602 provided in an embodiment of the present invention realized in the computer program stored in performing the memory 601 with
Lower step:
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;
When the quantity of identical broadcast message exceedes predetermined threshold value, to identical described in current broadcast message queue
Broadcast message carry out deleting adjustment.
Above-mentioned terminal can perform the method that any embodiment of the present invention is provided, and possess the corresponding functional module of execution method
And beneficial effect.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
More other Equivalent embodiments can be included, and the scope of the present invention is determined by 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.
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)
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 |
Citations (13)
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)
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 |
CN106937258B (en) * | 2017-03-10 | 2019-07-12 | Oppo广东移动通信有限公司 | A kind of control method of broadcast, device and mobile terminal |
CN106844070B (en) * | 2017-03-10 | 2020-07-31 | Oppo广东移动通信有限公司 | Broadcast control method and device and mobile terminal |
-
2017
- 2017-03-10 CN CN201710140649.7A patent/CN106851014B/en not_active Expired - Fee Related
- 2017-10-18 WO PCT/CN2017/106770 patent/WO2018161580A1/en active Application Filing
Patent Citations (13)
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)
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 |
---|---|---|
CN106851014A (en) | Adjust method, device and the terminal of broadcast message queue | |
CN106844069A (en) | Adjust method, device and the terminal of broadcast message queue | |
CN106921947A (en) | Adjust method, device and the terminal of broadcast message queue | |
US11051272B2 (en) | Method for arranging broadcast message in operating system and electronic device | |
US11157334B2 (en) | Control method and apparatus for broadcast sending, storage medium, and electronic device | |
CN106686557A (en) | Broadcast processing method and device and terminal device | |
US11160052B2 (en) | Method for adjusting broadcast receiver queue, storage medium and electronic device | |
CN107070670B (en) | Method, device and terminal equipment for controlling broadcast sender to send broadcast message | |
US10990460B2 (en) | Method of generating broadcast queue, storage medium, and terminal | |
CN106851015A (en) | Adjust method, device and the terminal of broadcast message queue | |
CN106919459A (en) | A kind of management method of broadcast recipients, device and terminal | |
US10908976B2 (en) | Broadcast queue adjustment method, terminal, and storage medium | |
WO2018161956A1 (en) | Broadcast recipient adjustment method, device, and terminal | |
CN106851593A (en) | A kind of broadcast transmission method, device and terminal | |
CN106844070B (en) | Broadcast control method and device and mobile terminal | |
CN106936826A (en) | The register method of radio receiver, device and terminal device | |
CN106851595A (en) | ordered broadcast processing method, device and terminal device | |
CN106936828B (en) | Method, device and terminal for adjusting broadcast receiver queue | |
CN106850458B (en) | Broadcast the message the method, apparatus and terminal being lined up | |
CN106851594A (en) | A kind of broadcast transmission method, device and terminal | |
CN106933686A (en) | A kind of method for adjusting broadcast message queue, device and terminal | |
CN106899943A (en) | Control broadcast transmission person sends method, device and the terminal device of broadcast message | |
CN106708637A (en) | Startup broadcast sending method and apparatus, and terminal | |
CN106919461B (en) | Method and device for adjusting broadcast receiver queue and terminal equipment | |
CN106936996A (en) | Send method, device and the terminal of shutdown broadcast |
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 | ||
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. |
|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20200630 |