CN106851015A - 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
CN106851015A
CN106851015A CN201710140650.XA CN201710140650A CN106851015A CN 106851015 A CN106851015 A CN 106851015A CN 201710140650 A CN201710140650 A CN 201710140650A CN 106851015 A CN106851015 A CN 106851015A
Authority
CN
China
Prior art keywords
broadcast message
broadcast
message
terminal
busy state
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
CN201710140650.XA
Other languages
Chinese (zh)
Other versions
CN106851015B (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 CN201710140650.XA priority Critical patent/CN106851015B/en
Publication of CN106851015A publication Critical patent/CN106851015A/en
Application granted granted Critical
Publication of CN106851015B publication Critical patent/CN106851015B/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)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of method for adjusting broadcast message queue, device and terminal.The method includes:Obtain current load information;According to the load information, judge terminal currently whether in busy state;If terminal is currently at busy state, the identical broadcast message to be received to identical broadcast recipients in broadcast message queue carries out deleting treatment.Whether the embodiment of the present invention judges terminal in busy state by according to load information, and the identical broadcast message to be received to identical broadcast recipients in the broadcast message queue under busy state carries out deleting treatment, broadcast message can be avoided to block, avoid system from Caton phenomenon occur, reduce overhead.

Description

Adjust method, device and the terminal of broadcast message queue
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 to send any number of broadcast, or broadcast is frequently sent very much, it is pending wide in the queue that can cause to broadcast the message Broadcast message very many so that processing speed is slack-off, cause broadcast message to be blocked so that overhead is increased, influence system Normal operation.
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 overhead.
In a first aspect, the embodiment of the invention provides a kind of method for adjusting broadcast message queue, methods described includes:
Obtain current load information;
According to the load information, judge terminal currently whether in busy state;
If terminal is currently at busy state, the phase to be received to identical broadcast recipients in broadcast message queue Same broadcast message carries out deleting treatment.
Second aspect, the embodiment of the present invention additionally provides a kind of device for adjusting broadcast message queue, and described device includes:
Data obtaining module, for obtaining current load information;
Busy state judge module, for according to the current load information, judging terminal currently whether in busy shape State;
Message processing module, if terminal is currently at busy state, connects to identical broadcast in broadcast message queue Receipts person's identical broadcast message to be received carries out deleting treatment.
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:
Obtain current load information;
According to the load information, judge terminal currently whether in busy state;
If terminal is currently at busy state, the phase to be received to identical broadcast recipients in broadcast message queue Same broadcast message carries out deleting treatment.
Whether the embodiment of the present invention judges terminal in busy state by according to load information, and under busy state Identical broadcast recipients identical broadcast message to be received carries out deleting treatment in broadcast message queue, can avoid broadcast Message blocking, it is to avoid Caton phenomenon occurs in system, reduces overhead.
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.
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 transmit queue, the method can be held by the device of adjustment broadcast message queue OK, wherein the device can realize that the device can be integrated in terminal by software and/or hardware, and terminal can be cell phone, put down Plate computer etc., the method includes:
Step 101, obtains current load information.
Wherein, load information can be understood as being the parameter information that can characterize terminal operating situation that for example can be ought The quantity of preceding operation program, the number of applications for having loaded, the service condition of CPU, or the size of committed memory Deng.Load information can embody the height situation of terminal load, and the high or low of load is for the computing capability of CPU 's.Load is too high to cause many processes to be dragged slowly, new to open a process needs for a long time, cause system interim card, therefore typically build View should not make load too high.Preferably, the load information includes following at least one:CPU usage, memory usage and text The occupation rate of part I/O resource.
Wherein, CPU usage is the cpu resource of the program occupancy of operation, represents operation journey of the terminal at certain time point The situation of sequence.Utilization rate is higher, illustrates that the program that terminal is run on this time is more.Memory usage, also referred to as internal memory are accounted for With rate, the internal memory of this process institute expense is referred to.File I/O (Input-Output, input and output) can be referred to as without caching IO, refer to each read-write operation and call a system in kernel to call without caching.CPU usage, internal memory are used Any one or more size in the occupation rate of rate and file I/O resource, can characterize the height of load.
Whether step 102, according to the load information, judge terminal currently in busy state.
Wherein it is possible to judge current cpu load size according to current load information, can be recognized according to preset algorithm Whether terminal is current busy.
Identical broadcast recipients in broadcast message queue, if terminal is currently at busy state, are treated by step 103 The identical broadcast message of reception carries out deleting treatment.
Wherein, broadcast mechanism is substantially a kind of communication modes of inter-module in the operating system of mobile terminal, is one Plant the mechanism that extensive utilization transmits message among applications.For example under the Android system of mobile terminal, there are certain operations After completion, broadcast message can be sent.Broadcast message can be the various event message data of generation in operating system. Such as send a short message or get a phone, broadcast can be all sent, when certain application program have received this broadcast, Corresponding treatment can just be made.Broadcast mechanism includes three fundamentals:Broadcast, radio receiver and intention content, its In, to broadcast for sending broadcast, radio receiver is used to receive broadcasts, and broadcast recipients can tell system by call function It is interested in what kind of broadcast, and to system registry radio receiver, just possess the broadcast message of reception the type Authority.Being intended to content is used to preserve the medium of broadcast related information.In android system, ActivityManagerService is the broadcasting center in the broadcast mechanism of android system, is responsible for all broadcast in system Registration and issue operation, wherein, the registration of broadcast refers to that application program is registered to radio receiver 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 broadcast of android system has some similarities with the station broadcast in traditional sense, why is referred to as wide Broadcast, because sender is only responsible for transmission, be not relevant for whether recipient is connected to message data, be also indifferent to how recipient is Treatment message data.In addition, broadcast message can both be received by more than one application program, it is also possible to not by any application journey Sequence 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.
Broadcast message can be named when broadcast message is set up, identical broadcast message can be title identical Broadcast message.Exemplarily, title is multiple broadcast messages of " bright screen broadcast " and is properly termed as identical broadcast message.Can be with Determine the broadcast recipients of each broadcast message successively according to the order in broadcast message queue.For example can be registered by searching Recipient's list of the corresponding radio receiver of the broadcast message determines broadcast recipients.When terminal is busy, can be right Identical broadcast recipients identical broadcast message to be received carries out deleting treatment in broadcast message queue, it is possible to reduce broadcast Block.Exemplary, by taking the broadcast for switching language form as an example, identical broadcast recipients broadcast message to be received includes Repeatedly switching language broadcast.When terminal is busy, the broadcast message can be processed, for example can be by a part therein Switching language broadcast message is removed, it is also possible to only retain the newest appropriate switching language broadcast fallen in lines in broadcast message queue Message, reduces the blocking of broadcast.If terminal is not busy, other treatment can not be done.According to joining the team in broadcast message queue Sequentially, broadcast message is distributed successively.
Whether the embodiment of the present invention judges terminal in busy state by according to load information, and under busy state Identical broadcast recipients identical broadcast message to be received carries out deleting treatment in broadcast message queue, can avoid broadcast Message blocking, it is to avoid Caton phenomenon occurs in system, reduces overhead.
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, obtains current load information.
Step 202, when the current load information meets pre-conditioned, determines that terminal is currently at busy state.
Wherein, pre-conditioned some parameter settings that can be carried out according to the performance of terminal CPU, it is pre-conditioned can be at least A kind of load information is defined, such as pre-conditioned can be that CPU usage is higher than 80%, or CPU usage high In 80% and memory usage is higher than 80%, or it can be CPU usage higher than 75%, memory usage higher than 80% and text The occupation rate of part I/O resource is higher than 85% etc..
Step 203, the identical broadcast message to be received to identical broadcast recipients in broadcast message queue is deleted Subtract treatment.
The embodiment of the present invention is pre-conditioned by setting load information, judges that whether terminal, can be simple in busy state The accurate state for judging terminal, and it is to be received to identical broadcast recipients in the queue that broadcasts the message under busy state identical Broadcast message carry out deleting treatment, can avoid broadcast message block, it is to avoid there is Caton phenomenon in system, and the system of reducing is opened Pin.
Fig. 3 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 301, obtains current load information.
Whether step 302, according to the load information, judge terminal currently in busy state.
Step 303, if terminal is currently at busy state, identical broadcast recipients treat in statistics broadcast message queue The identical broadcast message of reception.
Wherein it is possible to the mode such as recipient's list by searching the corresponding radio receiver of the registered broadcast message To determine broadcast recipients, broadcast message type can be determined according to the feature of broadcast message, and identical broadcast message is carried out Statistics.Exemplarily, in android system, can be inquired about by ActivityManagerService and have registered the broadcast The radio receiver of message, so that it is determined that the broadcast recipients of the broadcast message.
Step 304, according to the order of joining the team that the identical broadcasts the message, retains the broadcast message of predetermined number.
Wherein, predetermined number can be set according to response speed of terminal etc., can also be according to current broadcast message team The length of row is determined.The broadcast message of predetermined number is retained, remaining broadcast message is deleted, broadcast message is reduced to reach Block, it is to avoid Caton phenomenon occurs in system.
Optionally, the order of joining the team for being broadcast the message according to the identical, retains the broadcast message of predetermined number, including: Remove the broadcast message first joined the team in identical broadcast message, and the predetermined number joined the team after retaining broadcast message;Or The broadcast message that person joins the team after removing during the identical broadcasts the message, and retain the broadcast message of the predetermined number first joined the team.
Wherein, broadcast the message for identical, according to the sequencing joined the team in broadcast message queue, that is joined the team by after is pre- If the broadcast message of quantity retains, other broadcast messages are removed.Exemplarily, if predetermined number is 2, statistics obtains broadcast and connects Receipts person is that the quantity broadcast the message using A identicals to be received is 4, according to order of joining the team, be named as successively A1, A2, A3 and A4, join the team 2 broadcast messages after now retaining, i.e. A3 and A4, by A3 and A4 before all this type broadcast message it is equal Remove.Whether terminal is judged in busy state by according to load information, and counts the broadcast message queue under busy state Middle identical broadcast recipients identical broadcast message to be received, the broadcast message that removal is first joined the team, that is joined the team after reservation is pre- If the broadcast message of quantity, it is possible to achieve reduce the quantity of broadcast message, it is to avoid broadcast message obstruction, it is to avoid interim card occurs in system Phenomenon, reduces overhead.Ensure simultaneously after the broadcast message joined the team smoothly is distributed, it is to avoid the loss of new broadcast message.
For identical broadcast message, according to the sequencing joined the team in broadcast message queue, it is default that reservation is first joined the team The broadcast message of quantity, other broadcast messages are removed.Exemplarily, if predetermined number is 2, statistics obtains broadcast recipients and is The quantity broadcast the message using identical A to be received is 4, according to order of joining the team, A1, A2, A3 and A4 is named as successively, now First join the team 2 broadcast messages of reservation, i.e. A1 and A2, by A1 and A2 after all this broadcast messages remove.By basis Whether load information judges terminal in busy state, and identical broadcast connects in counting the broadcast message queue under busy state Receipts person's identical broadcast message to be received, the broadcast message joined the team after removal, the broadcast of the predetermined number that reservation is first joined the team disappears Breath, it is possible to achieve reduce the quantity of broadcast message, it is to avoid broadcast message obstruction, it is to avoid Caton phenomenon occurs in system, reduces and is System expense.Ensure that the broadcast message first joined the team smoothly is distributed simultaneously, it is to avoid stand-by period more long broadcast message of first joining the team Lose.
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:
Step 401, obtains current load information.
Whether step 402, according to the load information, judge terminal currently in busy state.
Identical broadcast recipients in broadcast message queue, if terminal is currently at busy state, are treated by step 403 The identical broadcast message of reception carries out deleting treatment.
Step 404, after broadcast message transmission request is received, recognizes that the broadcast message sends and asks transmission Broadcast message broadcast recipients;
Step 405, broadcast recipients broadcast message to be received in the current broadcast message queue of extraction;
Whether step 406, judges to have in broadcast recipients broadcast message to be received that sent with the broadcast message please Ask and ask the broadcast message identical for sending to broadcast the message;If it is, performing step 407, step 408 is otherwise performed.
Step 407, the broadcast message is sent and asks the broadcast message for sending to replace the current broadcast Identical broadcast message in message queue;
Step 408, it is allowed to it is described broadcast message send ask send broadcast the message into it is described currently it is wide Broadcast message queue.
Wherein, 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.It is right after new broadcast message transmission request is received The broadcast recipients of the broadcast message are identified, for example, can be connect by searching the corresponding broadcast of the registered broadcast message Recipient's list of device is received to determine broadcast recipients.And the broadcast message before not receiving the broadcast message and the broadcast message Broadcast message in queue is matched.If disappearing comprising the identical broadcast with the broadcast message in current broadcast message queue During breath, existing identical can be replaced with the broadcast message and broadcast the message, if not having, the broadcast message is added to broadcast In message queue, follow-up treatment is waited.
It should be noted that in the embodiment of the present invention, it is above-mentioned judge terminal it is whether busy and when terminal is busy to broadcast Middle identical broadcast recipients same broadcast message to be received delete the process for the treatment of in message team, and to newly receiving Broadcast message treatment process between sequencing do not limit, i.e. do not deposited between step 401-503 and step 404-408 In strict sequencing, regardless of order, the protection domain of the embodiment of the present invention is belonged to.
Whether the embodiment of the present invention judges terminal in busy state by according to load information, and under busy state Identical broadcast recipients identical broadcast message to be received carries out deleting treatment in broadcast message queue, can avoid broadcast Message blocking, it is to avoid Caton phenomenon occurs in system, reduces overhead.Meanwhile, can both avoid due to same broadcast message Frequent reception bring larger expense to system, the loss of certain type broadcast message is not resulted in again, be to broadcast in an orderly manner Message distribution is provided and ensured.
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 data obtaining module 501, busy state judge module 502 and message processing module 503.
Data obtaining module 501, for obtaining current load information;
Busy state judge module 502, for according to the current load information, judging terminal currently whether in busy State;
Message processing module 503, if terminal is currently at busy state, to identical broadcast in broadcast message queue Recipient's identical broadcast message to be received carries out deleting treatment.
Whether the embodiment of the present invention judges terminal in busy state by according to load information, and under busy state Identical broadcast recipients identical broadcast message to be received carries out deleting treatment in broadcast message queue, can avoid broadcast Message blocking, it is to avoid Caton phenomenon occurs in system, reduces overhead.
Preferably, the busy state judge module 502 includes:
Busy state determining unit, for when the current load information meets pre-conditioned, determining that terminal is currently located In busy state.
Preferably, the message processing module 503 includes:
Message statistics unit, the identical broadcast for counting identical broadcast transmission person transmission in broadcast message queue disappears Breath;
Message stick unit, for the order of joining the team broadcast the message according to the identical, retains the broadcast of predetermined number Message.
Preferably, the message stick unit specifically for:
Remove the broadcast message first joined the team in identical broadcast message, and the predetermined number joined the team after retaining broadcast Message;Or
The broadcast message joined the team after removing during the identical broadcasts the message, and retain the broadcast of the predetermined number first joined the team Message.
Preferably, also include:
Message identification module, asks for after broadcast message transmission request is received, recognizing that the broadcast message sends Ask the broadcast recipients of the broadcast message of transmission;
Message extraction module, disappears for extracting the broadcast to be received of the broadcast recipients in current broadcast message queue Breath;
Whether message judge module, have in the broadcast message to be received for judging the broadcast recipients and disappear with the broadcast Breath sends asks the broadcast message identical for sending to broadcast the message;
Regulator module, for if it has, the broadcast message then is sent into the broadcast message for asking to send Replace the identical broadcast message in the current broadcast message queue.
Preferably, the load information includes following at least one:CPU usage, memory usage and file I/O resource Occupation rate.
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.
The embodiment of the present invention additionally provides a kind of terminal, and the terminal can include the adjustment that any embodiment of the present invention is provided The device of broadcast message queue.Fig. 6 is a kind of structural representation of terminal provided in an embodiment of the present invention, as shown in fig. 6, the end End can include:Housing (not shown), memory 601, central processing unit (Central Processing Unit, CPU) 602 (also known as processors, hereinafter referred to as CPU), the computer journey that store on memory 601 and can be run on processor 602 Sequence, circuit board (not shown) and power circuit (not shown).The circuit board is placed in the sky that the housing is surrounded Between it is internal;The CPU602 and the memory 601 are arranged on the circuit board;The power circuit, for being the end Each circuit or device at end are powered;The memory 601, for storing the computer program that can be run on a processor;Institute CPU602 is stated to pass 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.
It is just provided in an embodiment of the present invention below to be described in detail for adjusting the terminal of broadcast message queue, the end End is by taking mobile phone as an example.
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:
Obtain current load information;
According to the load information, judge terminal currently whether in busy state;
If terminal is currently at busy state, the phase to be received to identical broadcast recipients in broadcast message queue Same broadcast message carries out deleting treatment.
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:
Obtain current load information;
According to the load information, judge terminal currently whether in busy state;
If terminal is currently at busy state, the identical to be received to identical broadcast recipients in broadcast message queue Broadcast message carries out deleting treatment.
2. method according to claim 1, it is characterised in that according to the current load information, judge that terminal is currently It is no to include in busy state:
When the current load information meets pre-conditioned, determine that terminal is currently at busy state.
3. method according to claim 1, it is characterised in that waiting to identical broadcast recipients in broadcast message queue The identical broadcast message of receipts is carried out deleting treatment and included:
Identical broadcast recipients identical broadcast message to be received in statistics broadcast message queue;
According to the order of joining the team that the identical broadcasts the message, retain the broadcast message of predetermined number.
4. method according to claim 3, it is characterised in that according to the order of joining the team that the identical broadcasts the message, protect The broadcast message of predetermined number is stayed, including:
The broadcast message first joined the team in the identical broadcast message is removed, and the broadcast of the predetermined number joined the team after reservation disappears Breath;Or
The broadcast message joined the team after removing in identical broadcast message, and retain the broadcast of the predetermined number first joined the team and disappear Breath.
5. according to any described methods of claim 1-4, it is characterised in that also include:
After the transmission request that broadcasts the message is received, recognize that the broadcast message of transmission is asked in the broadcast message transmission Broadcast recipients;
Broadcast recipients broadcast message to be received in the current broadcast message queue of extraction;
Judge whether to have in broadcast recipients broadcast message to be received to be sent with the broadcast message and ask transmission Broadcast message identical broadcast message;
If it has, then send the broadcast message asking the broadcast message for sending to replace the current broadcast message Identical broadcast message in queue.
6. it is a kind of adjust broadcast message queue device, it is characterised in that described device includes:
Data obtaining module, for obtaining current load information;
Busy state judge module, for according to the current load information, judging terminal currently whether in busy state;
Message processing module, if terminal is currently at busy state, to identical broadcast recipients in broadcast message queue Identical broadcast message to be received carries out deleting treatment.
7. device according to claim 6, it is characterised in that the busy state judge module, including:
Busy state determining unit, for when the current load information meets pre-conditioned, determining that terminal is currently at numerous Busy condition.
8. device according to claim 6, it is characterised in that the message processing module includes:
Message statistics unit, the identical broadcast message for counting identical broadcast transmission person transmission in broadcast message queue;
Message stick unit, for the order of joining the team broadcast the message according to the identical, retains the broadcast message of predetermined number.
9. device according to claim 6, it is characterised in that the message stick unit specifically for:
The broadcast message first joined the team in the identical broadcast message is removed, and the broadcast of the predetermined number joined the team after reservation disappears Breath;Or
The broadcast message joined the team after removing in identical broadcast message, and retain the broadcast of the predetermined number first joined the team and disappear Breath.
10. according to any described devices of claim 6-9, it is characterised in that also include:
Message identification module, asks for after broadcast message transmission request is received, recognizing that the broadcast message sends Ask the broadcast recipients of the broadcast message of transmission;
Message extraction module, the broadcast message to be received for extracting the broadcast recipients in the queue of current broadcast message;
Whether message judge module, have and the broadcast message hair in the broadcast message to be received for judging the broadcast recipients Send and ask the broadcast message identical for sending to broadcast the message;
Regulator module, for asking the broadcast message for sending to be replaced if it has, then sending the broadcast message Identical broadcast message in the current broadcast message queue.
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:
Obtain current load information;
According to the load information, judge terminal currently whether in busy state;
If terminal is currently at busy state, the identical to be received to identical broadcast recipients in broadcast message queue Broadcast message carries out deleting treatment.
CN201710140650.XA 2017-03-10 2017-03-10 Method, device and terminal for adjusting broadcast message queue Expired - Fee Related CN106851015B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710140650.XA CN106851015B (en) 2017-03-10 2017-03-10 Method, device and terminal for adjusting broadcast message queue

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710140650.XA CN106851015B (en) 2017-03-10 2017-03-10 Method, device and terminal for adjusting broadcast message queue

Publications (2)

Publication Number Publication Date
CN106851015A true CN106851015A (en) 2017-06-13
CN106851015B CN106851015B (en) 2020-09-22

Family

ID=59144084

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710140650.XA Expired - Fee Related CN106851015B (en) 2017-03-10 2017-03-10 Method, device and terminal for adjusting broadcast message queue

Country Status (1)

Country Link
CN (1) CN106851015B (en)

Cited By (5)

* 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
WO2019057049A1 (en) * 2017-09-20 2019-03-28 惠州Tcl移动通信有限公司 Method for simplifying application program register, storage medium and electronic 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
CN116701008A (en) * 2022-09-23 2023-09-05 荣耀终端有限公司 Broadcasting method and apparatus

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549108A (en) * 2003-05-07 2004-11-24 中兴通讯股份有限公司 Method for realizing communication process zero copy information queue
CN1829340A (en) * 2005-03-03 2006-09-06 中兴通讯股份有限公司 Method for transmitting broadcast channel assignment message in CDMA standard group communication system
KR20070098191A (en) * 2006-03-31 2007-10-05 한국비주얼 주식회사 Radio frequency identification middleware with event queue and method for control thereof
WO2006050616A8 (en) * 2004-11-15 2007-11-15 Zi Corp Canada Inc Organizing pointers to objects
CN101782891A (en) * 2010-03-26 2010-07-21 中兴通讯股份有限公司 Method and system for communication of distributed system
CN101835043A (en) * 2010-03-23 2010-09-15 熔点网讯(北京)科技有限公司 Adaptive bandwidth desktop sharing method based on block encoding
CN103019866A (en) * 2012-10-24 2013-04-03 北京京东世纪贸易有限公司 Distributed method and system based on message queue
US8595748B1 (en) * 2007-12-21 2013-11-26 Ibiquity Digital Corporation Systems and methods for transmitting and receiving large objects via digital radio broadcast
US8836974B2 (en) * 2010-02-22 2014-09-16 Canon Kabushiki Kaisha Image processing system and control method for managing a job related to image processing in a distributed environment
CN104375861A (en) * 2014-11-04 2015-02-25 北京奇虎科技有限公司 Installation-free operation method and device for application programs based on Android platform and terminal
CN104680060A (en) * 2014-11-25 2015-06-03 北京奇虎科技有限公司 Procedure self-starting management method and procedure self-starting management device
CN105208590A (en) * 2015-08-17 2015-12-30 广东欧珀移动通信有限公司 Mobile terminal operation system card slack abnormity detection recovery method and mobile terminal

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1549108A (en) * 2003-05-07 2004-11-24 中兴通讯股份有限公司 Method for realizing communication process zero copy information queue
WO2006050616A8 (en) * 2004-11-15 2007-11-15 Zi Corp Canada Inc Organizing pointers to objects
CN1829340A (en) * 2005-03-03 2006-09-06 中兴通讯股份有限公司 Method for transmitting broadcast channel assignment message in CDMA standard group communication system
KR20070098191A (en) * 2006-03-31 2007-10-05 한국비주얼 주식회사 Radio frequency identification middleware with event queue and method for control thereof
US8595748B1 (en) * 2007-12-21 2013-11-26 Ibiquity Digital Corporation Systems and methods for transmitting and receiving large objects via digital radio broadcast
US8836974B2 (en) * 2010-02-22 2014-09-16 Canon Kabushiki Kaisha Image processing system and control method for managing a job related to image processing in a distributed environment
CN101835043A (en) * 2010-03-23 2010-09-15 熔点网讯(北京)科技有限公司 Adaptive bandwidth desktop sharing method based on block encoding
CN101782891A (en) * 2010-03-26 2010-07-21 中兴通讯股份有限公司 Method and system for communication of distributed system
CN103019866A (en) * 2012-10-24 2013-04-03 北京京东世纪贸易有限公司 Distributed method and system based on message queue
CN104375861A (en) * 2014-11-04 2015-02-25 北京奇虎科技有限公司 Installation-free operation method and device for application programs based on Android platform and terminal
CN104680060A (en) * 2014-11-25 2015-06-03 北京奇虎科技有限公司 Procedure self-starting management method and procedure self-starting management device
CN105208590A (en) * 2015-08-17 2015-12-30 广东欧珀移动通信有限公司 Mobile terminal operation system card slack abnormity detection recovery method and mobile terminal

Cited By (7)

* 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
WO2019057049A1 (en) * 2017-09-20 2019-03-28 惠州Tcl移动通信有限公司 Method for simplifying application program register, storage medium and electronic 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
CN116701008A (en) * 2022-09-23 2023-09-05 荣耀终端有限公司 Broadcasting method and apparatus

Also Published As

Publication number Publication date
CN106851015B (en) 2020-09-22

Similar Documents

Publication Publication Date Title
CN106851015A (en) Adjust method, device and the terminal of broadcast message queue
CN106921947A (en) Adjust method, device and the terminal of broadcast message queue
CN106851014A (en) Adjust method, device and the terminal of broadcast message queue
CN106844069A (en) Adjust method, device and the terminal of broadcast message queue
US20180262284A1 (en) Method, apparatus and terminal device for sending broadcast
US11051272B2 (en) Method for arranging broadcast message in operating system and electronic device
US10908976B2 (en) Broadcast queue adjustment method, terminal, and storage medium
US11157334B2 (en) Control method and apparatus for broadcast sending, storage medium, and electronic device
CN107070670B (en) Method, device and terminal equipment for controlling broadcast sender to send broadcast message
CN106936827B (en) A kind of broadcast recipients' queue regulation method, device and terminal
CN109165114B (en) Application program no-response processing method and device, storage medium and intelligent terminal
CN106919459A (en) A kind of management method of broadcast recipients, device and terminal
US20200004612A1 (en) Method of Generating Broadcast Queue, Storage Medium, and Terminal
CN106851593A (en) A kind of broadcast transmission method, device and terminal
US10863521B1 (en) Broadcast receiver control method and apparatus, and mobile terminal
EP3373137B1 (en) Method, apparatus and terminal device for sending broadcast
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
CN106850458A (en) Broadcast the message method, device and the terminal queued up
CN106899943A (en) Control broadcast transmission person sends method, device and the terminal device of broadcast message
CN106919461B (en) Method and device for adjusting broadcast receiver queue and terminal equipment

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: 20200922