CN106850458A - Broadcast the message method, device and the terminal queued up - Google Patents

Broadcast the message method, device and the terminal queued up Download PDF

Info

Publication number
CN106850458A
CN106850458A CN201710144310.4A CN201710144310A CN106850458A CN 106850458 A CN106850458 A CN 106850458A CN 201710144310 A CN201710144310 A CN 201710144310A CN 106850458 A CN106850458 A CN 106850458A
Authority
CN
China
Prior art keywords
broadcast
broadcast message
priority
message
queue
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710144310.4A
Other languages
Chinese (zh)
Other versions
CN106850458B (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 CN201710144310.4A priority Critical patent/CN106850458B/en
Publication of CN106850458A publication Critical patent/CN106850458A/en
Priority to PCT/CN2017/106769 priority patent/WO2018161579A1/en
Application granted granted Critical
Publication of CN106850458B publication Critical patent/CN106850458B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • H04L47/6275Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/624Altering the ordering of packets in an individual queue
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a kind of method, device and terminal for broadcasting the message and queuing up.The method includes:The broadcast message that listening broadcast sender sends;When listening to broadcast transmission person and sending broadcast message, the priority of the broadcast message is determined according to the broadcast transmission person;According to the priority of the broadcast message, insertion position of the broadcast message in the queue that broadcasts the message is determined;According to the insertion position, the broadcast message is inserted into the broadcast message queue.The present invention realizes and quickly processes important broadcast message, it is to avoid systemic-function exception.

Description

Broadcast the message method, device and the terminal queued up
Technical field
The present embodiments relate to system broadcasts technology, more particularly to a kind of method, device and the end of the queuing that broadcasts the message End.
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 that message is very more, cause important broadcast message to be processed in time, cause systemic-function exception.
The content of the invention
The embodiment of the present invention provides a kind of method, device and terminal for broadcasting the message and queuing up, and can quickly process Important broadcast message, it is to avoid systemic-function exception.
In a first aspect, the embodiment of the invention provides a kind of method for broadcasting the message and queuing up, methods described includes:
The broadcast message that listening broadcast sender sends;
When listening to broadcast transmission person and sending broadcast message, the broadcast message is determined according to the broadcast transmission person Priority;
According to the priority of the broadcast message, insertion position of the broadcast message in the queue that broadcasts the message is determined;
According to the insertion position, the broadcast message is inserted into the broadcast message queue.
Second aspect, the embodiment of the present invention additionally provides a kind of device for broadcasting the message and queuing up, and described device includes:
Broadcast message monitors module, for the broadcast message that listening broadcast sender sends;
Priority Determination module, for when listening to broadcast transmission person and sending broadcast message, according to the broadcast transmission Person determines the priority of the broadcast message;
Insertion position determining module, for the priority according to the broadcast message, determines the broadcast message in broadcast Insertion position in message queue;
Broadcast message insertion module, for according to the insertion position, the broadcast message being inserted into the broadcast message Queue.
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:
The broadcast message that listening broadcast sender sends;
When listening to broadcast transmission person and sending broadcast message, the broadcast message is determined according to the broadcast transmission person Priority;
According to the priority of the broadcast message, insertion position of the broadcast message in the queue that broadcasts the message is determined;
According to the insertion position, the broadcast message is inserted into the broadcast message queue.
The technical scheme of the embodiment of the present invention, by when listening to broadcast transmission person and sending broadcast message, according to described Broadcast transmission person determines the priority of broadcast message, and the priority according to broadcast message determines broadcast message in broadcast message queue In insertion position, and then according to the insertion position, will broadcast message insertion broadcast message queue, it is achieved thereby that fast in time The important broadcast message for the treatment of of speed, it is to avoid systemic-function exception.
Brief description of the drawings
Fig. 1 is a kind of flow chart of method queued up that broadcasts the message provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the method that a kind of broadcast message that one embodiment of the invention is provided is queued up;
Fig. 3 is a kind of structural representation of device queued up that broadcasts the message provided in an embodiment of the present invention;
Fig. 4 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 queued up that broadcasts the message provided in an embodiment of the present invention, and the present embodiment is applicable In the situation that position of the broadcast message in the queue that broadcasts the message is determined when broadcast message is listened to, the method can be by broadcasting The device of message queueing is performed, and wherein the device can realize that the device can be integrated in terminal by software and/or hardware, should Terminal can be smart mobile phone, panel computer etc., and the method comprises the following steps:
Step 110, the broadcast message that listening broadcast sender sends.
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 transmission person can be system and application software.Application software can be mounted to mobile phone Etc. the application program that the third-party application software or system of terminal are carried, for example:It is installed on the third-party application software of terminal Can be including wechat client, QQ clients, Taobao's client and Alipay client etc., the application program that system is carried can be with Including calendar, clock, weather and note etc..Broadcast message can be system broadcasts and application broadcast, wherein, system broadcasts can be with It is wide including bright screen broadcast, the broadcast of breath screen, unblock broadcast, network state change broadcast, bluetooth state change broadcast, switching language Broadcast, switch theme broadcast etc., can be the broadcast sent by application software using broadcast.
Can own by broadcast control module (such as ActivityManagerService) monitoring system in terminal Whether the dynamic of broadcast transmission person, detection broadcast transmission person sends broadcast message.Wherein, ActivityManagerService exists The role of broadcasting center is play in the broadcast mechanism of android system, is responsible for registration and the issue behaviour of all broadcast in system Make, wherein, the registration of broadcast refers to the process of that radio receiver is registered to ActivityManagerService by application program. The issue of broadcast includes broadcast transmission person by broadcast transmission to ActivityManagerService, Which radio receiver ActivityManagerService has checked after receiving this broadcast in the registration center of oneself The broadcast is have subscribed, then this broadcast is sent in these radio receivers one by one.In android system, monitor wide Whether broadcast broadcast message that sender sends i.e. will broadcast come listening broadcast sender by ActivityManagerService Message is sent to ActivityManagerService, when listening to broadcast transmission person by ActivityManagerService When broadcast message is sent into ActivityManagerService, it is determined that listening to broadcast transmission person have issued broadcast message.
Step 120, when listening to broadcast transmission person and sending broadcast message, determines described wide according to the broadcast transmission person Broadcast the priority of message.
When listening to broadcast transmission person by broadcast control module and sending broadcast message, can be according to broadcast transmission person's The urgency of the importance and real-time processing of significance level or broadcast message determines the priority of the broadcast message, for example, If broadcast transmission person is system, it is determined that the priority of broadcast message is priority higher;If broadcast transmission person is Tripartite's application program, it is determined that the priority of broadcast message is relatively low priority.
Exemplary, the priority of broadcast message can be set to three priority:Limit priority, sub-priority and Normal priority.And specify:The broadcast message of limit priority is discharged to the front end of broadcast message queue, can be located faster Reason;The broadcast message of sub-priority is come behind the broadcast message of limit priority in broadcast message queue, preferential in highest The broadcast message of level is processed after having processed;The broadcast message of normal priority comes sub-priority in broadcast message queue Broadcast message behind, processed after the broadcast message of limit priority and sub-priority has been processed;Priority phase Same broadcast message, according to joining the team, order is processed.
Exemplary, in the prior art, the mobile phone of android system, when user presses power key bright screen or puts out screen Screen broadcast is put out in the broadcast of corresponding transmission bright screen, can be suitable according to the time order and function of broadcast when the broadcast enters broadcast message queue Sequence enters broadcast message queue, if broadcast or put out in this bright screen in broadcast message queue also having many broadcast before screen broadcast Pending (these broadcast are not system broadcasts) is being waited, the light on and off screen speed of mobile phone is being influenced whether, is causing light on and off screen slack-off.And In the present embodiment, by ActivityManagerService listen to system by bright screen broadcast or put out screen broadcast transmission arrive During ActivityManagerService, it is determined that the broadcast transmission person for sending bright screen broadcast or putting out screen broadcast is system, then will The priority that screen broadcast was broadcasted or put out to the bright screen is set to highest priority, so as to be placed on the front end of broadcast message queue, from And can as early as possible to the bright screen broadcast or put out screen broadcast process.
In one embodiment, determine the priority of the broadcast message according to the broadcast transmission person, it is optional including:
Count frequency of use of the broadcast transmission person in Preset Time;
According to the frequency of use, the priority of the broadcast message is determined.
When listening to broadcast transmission person and sending broadcast message, it is determined that user couple in Preset Time before current time The frequency of use of the broadcast transmission person, and the priority of broadcast message is determined according to frequency of use, if frequency of use is higher, The priority of broadcast message is set to priority higher, so as to improve the speed that active application receives broadcast message.
In one embodiment, according to the frequency of use, determine the priority of the broadcast message, it is optional including:
According to the frequency of use, the frequency range belonging to the frequency of use is determined;
According to the frequency range, the priority of the broadcast message is determined.
The corresponding relation of frequency range and the priority of broadcast message can be pre-build.First according to frequency of use, really Frequency range belonging to the fixed frequency of use, according to the frequency range and the corresponding relation, can directly determine that the broadcast disappears The priority of breath, so as to further speed up the processing speed of broadcast message.
Step 130, according to the priority of the broadcast message, determines the broadcast message inserting in the queue that broadcasts the message Enter position.
Wherein, broadcast message queue is arranged according to the order of the priority of broadcast message, and the broadcast of high priority disappears Breath is arranged in team's head, and the broadcast message of low priority is arranged in tail of the queue.
Because broadcast message queue is arranged according to the order of the priority of broadcast message, then according to broadcast message Priority can directly determine the broadcast message broadcast the message queue in insertion position.
It is exemplary, if the total three-level of the priority of broadcast message, respectively limit priority, sub-priority and minimum Priority, the broadcast message for there was only sub-priority and lowest priority in current broadcast message queue, and currently listen to The priority of broadcast message is limit priority, then can determine that insertion position of the broadcast message in the queue that broadcasts the message is Team's head.
In one embodiment, according to the priority of the broadcast message, determine the broadcast message in broadcast message team Insertion position in row, it is optional including:
The priority of the broadcast message is contrasted with the priority of broadcast message in broadcast message queue;
According to comparing result, insertion position of the broadcast message in broadcast message queue is determined.
Broadcast message queue is arranged according to the sequence of priority, and the priority of broadcast message is being determined Afterwards, the priority is contrasted with the priority of broadcast message in broadcast message queue, according to comparing result, it may be determined that Insertion position of the broadcast message in the queue that broadcasts the message, further increases the processing speed of broadcast message.
In one embodiment, according to comparing result, the broadcast message inserting in broadcast message queue is determined Enter position, it is optional including:
When it is described broadcast message queue in have broadcast the message with the priority identical when, determine the broadcast message Insertion position is after being broadcast the message with the priority identical;
When not broadcast the message with the priority identical in broadcast message queue, judge that the priority is The priority of all broadcast messages in the no queue higher than the broadcast message;
If the priority is higher than the priority of all broadcast messages in broadcast message queue, it is determined that described Insertion position is team's head of broadcast message queue;
If the priority is not higher than the priority of all broadcast messages in broadcast message queue, institute is judged State the priority of all broadcast messages whether priority is less than in broadcast message queue;
If the priority is less than the priority of all broadcast messages in broadcast message queue, it is determined that described Insertion position is the tail of the queue of the broadcast message;
If the priority is not less than the priority of all broadcast messages in broadcast message queue, it is determined that institute State in broadcast message queue higher than the priority and the two neighboring broadcast message less than the priority, and determine described The insertion position of broadcast message is between the two neighboring broadcast message.
When the priority of broadcast message in the priority of broadcast message and broadcast message queue is contrasted, can be with First judge broadcast the message queue in whether have with broadcast message priority identical broadcast the message, if it has, then can be direct Position according to where the broadcast message of the equal priority determines the insertion position of the broadcast message, it is determined that insertion position Can be the equal priority broadcast message after and the neighbour equal priority broadcast message.If broadcast message queue In not with broadcast message priority identical broadcast message, three kinds of situations can be divided into and be respectively processed:It is i.e. described excellent First level is higher than the priority of all broadcast messages in broadcast message queue, the priority less than the broadcast message team The priority and the priority of all broadcast messages in row between it is described broadcast message queue in broadcast message it is excellent Between first level.The priority of broadcast message is determined by point situation, the processing speed of broadcast message can be further speeded up.
Step 140, according to the insertion position, the broadcast message queue is inserted by the broadcast message.
According to the insertion position for determining, by the insertion position of broadcast message insertion broadcast message queue.
The technical scheme of the present embodiment, by when listening to broadcast transmission person and sending broadcast message, according to the broadcast Sender determines the priority of broadcast message, and the priority according to broadcast message determines broadcast message in the queue that broadcasts the message Insertion position, and then according to the insertion position, by broadcast message insertion broadcast message queue, it is achieved thereby that quickly Treatment important broadcast message, it is to avoid systemic-function exception.
Fig. 2 is the flow chart of the method that a kind of broadcast message that one embodiment of the invention is provided is queued up, and the method includes Following steps:
Step 210, the broadcast message that listening broadcast sender sends.
Step 220, when listening to broadcast transmission person and sending broadcast message, determines described wide according to the broadcast transmission person Broadcast the priority of message.
Step 230, according to the priority of the broadcast message, determines the broadcast message inserting in the queue that broadcasts the message Enter position.
Step 240, according to the insertion position, the broadcast message queue is inserted by the broadcast message.
Step 250, according to the Queue sequence of the broadcast message in broadcast message queue, recognizes current broadcast message Broadcast recipients.
In the embodiment of the present invention, broadcast message queue is ranked according to the priority of broadcast message, is broadcast the message In continuous dynamic change, during terminal operating, in continuous updating, broadcast the message queue for broadcast message queue for queue The middle broadcast message for finishing of distributing is removed in the queue that broadcasts the message, and is also had in the broadcast message during distribution broadcasts the message queue There may be new broadcast message to enter broadcast message queue.Exemplary, according to the queuing of broadcast message in broadcast message queue Order includes broadcast message 1, broadcast message 2, broadcast message 3, broadcast message 4 ... broadcast message 100, according to broadcast message team When the Queue sequence of the broadcast message in row distributes broadcast message therein, first distribute broadcast message 1, broadcast message 1 has been distributed Distribution broadcast message 2, is sequentially analogized with this afterwards, is finished until by the broadcast message distribution in the queue that broadcasts the message.
Wherein, current broadcast message can be current broadcast message to be distributed, for example:Broadcast message queue according to The sequencing of distribution includes broadcast message 1, broadcast message 2, broadcast message 3, broadcast message 4 ... broadcast message 100, wherein Broadcast message 1 is the current broadcast message distributed, then broadcast message 2 is current broadcast message to be distributed.Broadcast Recipient can be mounted to the application program that the third-party application software or system of terminal are carried.Exemplary, In android system, when recognizing the broadcast recipients of current broadcast message, by ActivityManagerService in note Volume center checks which broadcast recipients have subscribed and receives the radio receiver of the broadcast message, so that it is determined that its broadcast reception Person.
Step 260, the broadcast recipients are distributed to by the current broadcast message.
By after the broadcast recipients of the current broadcast message to be distributed of identification, then the broadcast message distributed successively To each broadcast recipients, it is ensured that broadcast recipients timely respond to broadcast message.
The technical scheme of the present embodiment, by when listening to broadcast transmission person and sending broadcast message, according to the broadcast Sender determines the priority of broadcast message, and the priority according to broadcast message determines broadcast message in the queue that broadcasts the message Insertion position, and then according to the insertion position, by broadcast message insertion broadcast message queue, and according in broadcast message queue The Queue sequence of broadcast message distributes broadcast message therein, it is achieved thereby that quickly distribute important broadcast message in time, and Can ensure that broadcast recipients quickly respond the broadcast message, it is to avoid systemic-function exception.
Fig. 3 is a kind of structural representation of device queued up that broadcasts the message provided in an embodiment of the present invention, as shown in figure 3, The device that broadcast message described in the present embodiment is queued up includes:Broadcast message is monitored module 310, Priority Determination module 320, is inserted Enter position determination module 330 and broadcast message insertion module 340.
Wherein, broadcast message monitors module, for the broadcast message that listening broadcast sender sends;
Priority Determination module, for when listening to broadcast transmission person and sending broadcast message, according to the broadcast transmission Person determines the priority of the broadcast message;
Insertion position determining module, for the priority according to the broadcast message, determines the broadcast message in broadcast Insertion position in message queue;
Broadcast message insertion module, for according to the insertion position, the broadcast message being inserted into the broadcast message Queue.
Optionally, the Priority Determination module includes:
Frequency of use statistic unit, for counting frequency of use of the broadcast transmission person in Preset Time;
Priority determining unit, for according to the frequency of use, determining the priority of the broadcast message.
Optionally, the priority determining unit specifically for:
According to the frequency of use, the frequency range belonging to the frequency of use is determined;
According to the frequency range, the priority of the broadcast message is determined.
Optionally, the insertion position determining module includes:
Priority comparison unit, for the priority of the broadcast message to be disappeared with the broadcast in broadcast message queue The priority of breath is contrasted;
Insertion position determining unit, for according to comparing result, determining the broadcast message in the broadcast message queue In insertion position.
Optionally, the insertion position determining unit specifically for:
When it is described broadcast message queue in have broadcast the message with the priority identical when, determine the broadcast message Insertion position is after being broadcast the message with the priority identical;
When not broadcast the message with the priority identical in broadcast message queue, judge that the priority is The priority of all broadcast messages in the no queue higher than the broadcast message;
If the priority is higher than the priority of all broadcast messages in broadcast message queue, it is determined that described Insertion position is team's head of broadcast message queue;
If the priority is not higher than the priority of all broadcast messages in broadcast message queue, institute is judged State the priority of all broadcast messages whether priority is less than in broadcast message queue;
If the priority is less than the priority of all broadcast messages in broadcast message queue, it is determined that described Insertion position is the tail of the queue of the broadcast message;
If the priority is not less than the priority of all broadcast messages in broadcast message queue, it is determined that institute State in broadcast message queue higher than the priority and the two neighboring broadcast message less than the priority, and determine described The insertion position of broadcast message is between the two neighboring broadcast message.
Optionally, also include:
Broadcast recipients' identification module, for the Queue sequence according to the broadcast message in broadcast message queue, knows The broadcast recipients of not current broadcast message;
Broadcast message distribution module, for the current broadcast message to be distributed into the broadcast recipients.
The device that above-mentioned broadcast message is queued up can perform the side of the broadcast message queuing that any embodiment of the present invention is provided Method, possesses the corresponding functional module of execution method and beneficial effect.Ins and outs of detailed description in the present embodiment, can not join See the method that the broadcast message that any embodiment of the present invention is provided is queued up.
The embodiment of the present invention additionally provides a kind of terminal, and the terminal can include the broadcast that any embodiment of the present invention is provided The device of message queueing.Fig. 4 is a kind of structural representation of terminal provided in an embodiment of the present invention, as shown in figure 4, the terminal can To include:Housing (not shown), memory 401, central processing unit (Central Processing Unit, CPU) 402 (also known as processor, hereinafter referred to as CPU), the computer program that store on memory 401 and can run on the processor 402, Circuit board (not shown) and power circuit (not shown).The circuit board is placed in the space that the housing is surrounded Portion;The CPU402 and the memory 401 are arranged on the circuit board;The power circuit, for being the terminal Each circuit or device are powered;The memory 401, for storing the computer program that can be run on a processor;It is described CPU402 passes through to read and perform the computer program stored in the memory 401.
The terminal also includes:Peripheral Interface 403, RF (Radio Frequency, radio frequency) circuit 405, voicefrequency circuit 406, Loudspeaker 411, power management chip 408, input/output (I/O) subsystem 409, touch-screen 412, other input/control devicess 410 and outside port 404, these parts are communicated by one or more communication bus or holding wire 407.
It should be understood that graphic terminal 400 is only an example of terminal, and terminal 400 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 described in detail for the terminal queued up that broadcasts the message with regard to what the present embodiment was provided below, the terminal is with mobile phone As a example by.
Memory 401, the memory 401 can be accessed by CPU402, Peripheral Interface 403 etc., and the memory 401 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 CPU402 and deposited by Peripheral Interface 403, the Peripheral Interface 403 Reservoir 401.
I/O subsystems 409, the I/O subsystems 409 can be by the input/output peripheral in equipment, such as touch-screen 412 (equivalent to the screen in above-described embodiment) and other input/control devicess 410, are connected to Peripheral Interface 403.I/O subsystems 409 can include display controller 4091 and one or more input controllers for controlling other input/control devicess 410 4092.Wherein, one or more input controllers 4092 from other input/control devicess 410 receive electric signal or to other Input/control devices 410 sends electric signal, and other input/control devicess 410 can include physical button (pressing button, rocking arm Button etc.), dial, slide switch, control stick, click on roller.What deserves to be explained is, input controller 4092 can with it is following Any one connection:The instruction equipment of keyboard, infrared port, USB interface and such as mouse.
Touch-screen 412, the touch-screen 412 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 4091 in I/O subsystems 409 receives electric signal or is sent out to touch-screen 412 from touch-screen 412 Electric signals.Contact on the detection touch-screen of touch-screen 412, the contact that display controller 4091 will be detected is converted to and display The interaction of the user interface object on touch-screen 412, that is, realize man-machine interaction, is displayed in the user interface on touch-screen 412 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 405, 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 405 are received and send RF letters Number, RF signals are also referred to as electromagnetic signal, and RF circuits 405 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 405 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 406, is mainly used in receiving voice data from Peripheral Interface 403, and the voice data is converted into telecommunications Number, and the electric signal is sent to loudspeaker 411.
Loudspeaker 411, for the voice signal for receiving mobile phone from wireless network by RF circuits 405, is reduced to sound And play the sound to user.
Power management chip 408, for being powered by the hardware that CPU402, I/O subsystem and Peripheral Interface are connected And power management.
CPU402 provided in an embodiment of the present invention realized in the computer program stored in performing the memory 401 with Lower step:
The broadcast message that listening broadcast sender sends;
When listening to broadcast transmission person and sending broadcast message, the broadcast message is determined according to the broadcast transmission person Priority;
According to the priority of the broadcast message, insertion position of the broadcast message in the queue that broadcasts the message is determined;
According to the insertion position, the broadcast message is inserted into the broadcast message queue.
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 (13)

1. a kind of method that broadcast message is queued up, it is characterised in that methods described includes:
The broadcast message that listening broadcast sender sends;
When listening to broadcast transmission person and sending broadcast message, the preferential of the broadcast message is determined according to the broadcast transmission person Level;
According to the priority of the broadcast message, insertion position of the broadcast message in the queue that broadcasts the message is determined;
According to the insertion position, the broadcast message is inserted into the broadcast message queue.
2. method according to claim 1, it is characterised in that the broadcast message is determined according to the broadcast transmission person Priority, including:
Count frequency of use of the broadcast transmission person in Preset Time;
According to the frequency of use, the priority of the broadcast message is determined.
3. method according to claim 2, it is characterised in that according to the frequency of use, determine the broadcast message Priority, including:
According to the frequency of use, the frequency range belonging to the frequency of use is determined;
According to the frequency range, the priority of the broadcast message is determined.
4. method according to claim 1, it is characterised in that according to the priority of the broadcast message, determines described wide Insertion position of the message in the queue that broadcasts the message is broadcast, including:
The priority of the broadcast message is contrasted with the priority of broadcast message in broadcast message queue;
According to comparing result, insertion position of the broadcast message in broadcast message queue is determined.
5. method according to claim 4, it is characterised in that according to comparing result, determines the broadcast message described Insertion position in broadcast message queue, including:
When it is described broadcast message queue in have broadcast the message with the priority identical when, determine the insertion of the broadcast message Position is after being broadcast the message with the priority identical;
When not broadcast the message with the priority identical in broadcast message queue, judge whether the priority is high The priority of all broadcast messages in broadcast message queue;
If the priority is higher than the priority of all broadcast messages in broadcast message queue, it is determined that the insertion Position is team's head of broadcast message queue;
If the priority is not higher than the priority of all broadcast messages in broadcast message queue, judge described excellent Whether first level is less than the priority of all broadcast messages in broadcast message queue;
If the priority is less than the priority of all broadcast messages in broadcast message queue, it is determined that the insertion Position is the tail of the queue of the broadcast message;
If the priority is not less than the priority of all broadcast messages in broadcast message queue, it is determined that described wide Broadcast in message queue higher than the priority and the two neighboring broadcast message less than the priority, and determine the broadcast The insertion position of message is between the two neighboring broadcast message.
6. according to any described methods of claim 1-5, it is characterised in that the broadcast message is being arranged in into the position Afterwards, also include:
According to the Queue sequence of the broadcast message in broadcast message queue, the broadcast reception of current broadcast message is recognized Person;
The current broadcast message is distributed to the broadcast recipients.
7. the device that a kind of broadcast message is queued up, it is characterised in that described device includes:
Broadcast message monitors module, for the broadcast message that listening broadcast sender sends;
Priority Determination module, it is true according to the broadcast transmission person for when listening to broadcast transmission person and sending broadcast message The priority of the fixed broadcast message;
Insertion position determining module, for the priority according to the broadcast message, determines the broadcast message in broadcast message Insertion position in queue;
Broadcast message insertion module, for according to the insertion position, the broadcast message being inserted into the broadcast message queue.
8. device according to claim 7, it is characterised in that the Priority Determination module includes:
Frequency of use statistic unit, for counting frequency of use of the broadcast transmission person in Preset Time;
Priority determining unit, for according to the frequency of use, determining the priority of the broadcast message.
9. device according to claim 8, it is characterised in that the priority determining unit specifically for:
According to the frequency of use, the frequency range belonging to the frequency of use is determined;
According to the frequency range, the priority of the broadcast message is determined.
10. device according to claim 7, it is characterised in that the insertion position determining module includes:
Priority comparison unit, for by the broadcast message in the priority of the broadcast message and broadcast message queue Priority is contrasted;
Insertion position determining unit, for according to comparing result, determining the broadcast message in broadcast message queue Insertion position.
11. devices according to claim 10, it is characterised in that the insertion position determining unit specifically for:
When it is described broadcast message queue in have broadcast the message with the priority identical when, determine the insertion of the broadcast message Position is after being broadcast the message with the priority identical;
When not broadcast the message with the priority identical in broadcast message queue, judge whether the priority is high The priority of all broadcast messages in broadcast message queue;
If the priority is higher than the priority of all broadcast messages in broadcast message queue, it is determined that the insertion Position is team's head of broadcast message queue;
If the priority is not higher than the priority of all broadcast messages in broadcast message queue, judge described excellent Whether first level is less than the priority of all broadcast messages in broadcast message queue;
If the priority is less than the priority of all broadcast messages in broadcast message queue, it is determined that the insertion Position is the tail of the queue of the broadcast message;
If the priority is not less than the priority of all broadcast messages in broadcast message queue, it is determined that described wide Broadcast in message queue higher than the priority and the two neighboring broadcast message less than the priority, and determine the broadcast The insertion position of message is between the two neighboring broadcast message.
12. according to any described devices of claim 7-11, it is characterised in that also include:
Broadcast recipients' identification module, for the Queue sequence according to the broadcast message in broadcast message queue, identification is worked as The broadcast recipients of preceding broadcast message;
Broadcast message distribution module, for the current broadcast message to be distributed into the broadcast recipients.
A kind of 13. 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:
The broadcast message that listening broadcast sender sends;
When listening to broadcast transmission person and sending broadcast message, the preferential of the broadcast message is determined according to the broadcast transmission person Level;
According to the priority of the broadcast message, insertion position of the broadcast message in the queue that broadcasts the message is determined;
According to the insertion position, the broadcast message is inserted into the broadcast message queue.
CN201710144310.4A 2017-03-10 2017-03-10 Broadcast the message the method, apparatus and terminal being lined up Active CN106850458B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201710144310.4A CN106850458B (en) 2017-03-10 2017-03-10 Broadcast the message the method, apparatus and terminal being lined up
PCT/CN2017/106769 WO2018161579A1 (en) 2017-03-10 2017-10-18 Broadcast message queuing method and apparatus, storage device, and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710144310.4A CN106850458B (en) 2017-03-10 2017-03-10 Broadcast the message the method, apparatus and terminal being lined up

Publications (2)

Publication Number Publication Date
CN106850458A true CN106850458A (en) 2017-06-13
CN106850458B CN106850458B (en) 2019-06-07

Family

ID=59145113

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710144310.4A Active CN106850458B (en) 2017-03-10 2017-03-10 Broadcast the message the method, apparatus and terminal being lined up

Country Status (2)

Country Link
CN (1) CN106850458B (en)
WO (1) WO2018161579A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018161579A1 (en) * 2017-03-10 2018-09-13 广东欧珀移动通信有限公司 Broadcast message queuing method and apparatus, storage device, and electronic device
CN112383373A (en) * 2020-11-18 2021-02-19 广东长盈科技股份有限公司 Intelligent broadcast scheduling method and system for realizing emergency broadcast

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1798360A (en) * 2004-12-22 2006-07-05 华为技术有限公司 Method for scheduling message of broadcasting service in sub zone in broadband CDMA system
US20070180137A1 (en) * 2006-01-28 2007-08-02 Ravi Rajapakse Streaming Media System and Method
CN103200639A (en) * 2013-03-03 2013-07-10 西安电子科技大学 Method of self-organizing network directed route in air
CN103491507A (en) * 2013-09-05 2014-01-01 深圳市欧珀通信软件有限公司 Method and device for relocation of orderly broadcast priority

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104199669B (en) * 2014-09-12 2017-12-15 北京奇虎科技有限公司 The method and device being managed to the process of application program
CN104680060B (en) * 2014-11-25 2017-04-05 北京奇虎科技有限公司 A kind of program opens management method and device certainly
CN106484473A (en) * 2016-09-29 2017-03-08 Tcl集团股份有限公司 A kind of application starts method and apparatus
CN106850458B (en) * 2017-03-10 2019-06-07 Oppo广东移动通信有限公司 Broadcast the message the method, apparatus and terminal being lined up

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1798360A (en) * 2004-12-22 2006-07-05 华为技术有限公司 Method for scheduling message of broadcasting service in sub zone in broadband CDMA system
US20070180137A1 (en) * 2006-01-28 2007-08-02 Ravi Rajapakse Streaming Media System and Method
CN103200639A (en) * 2013-03-03 2013-07-10 西安电子科技大学 Method of self-organizing network directed route in air
CN103491507A (en) * 2013-09-05 2014-01-01 深圳市欧珀通信软件有限公司 Method and device for relocation of orderly broadcast priority

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018161579A1 (en) * 2017-03-10 2018-09-13 广东欧珀移动通信有限公司 Broadcast message queuing method and apparatus, storage device, and electronic device
CN112383373A (en) * 2020-11-18 2021-02-19 广东长盈科技股份有限公司 Intelligent broadcast scheduling method and system for realizing emergency broadcast

Also Published As

Publication number Publication date
CN106850458B (en) 2019-06-07
WO2018161579A1 (en) 2018-09-13

Similar Documents

Publication Publication Date Title
CN106851016B (en) Broadcast the message the method, apparatus and terminal being lined up
CN106686557B (en) Broadcast processing method, device and terminal device
US10097292B2 (en) Method, device, terminal and storage medium for adjusting broadcast message queue
EP3591924B1 (en) Control method, device, storage medium, and electronic apparatus for broadcast sending
CN106921947B (en) Method, device and terminal for adjusting broadcast message queue
CN106851014A (en) Adjust method, device and the terminal of broadcast message queue
CN106936827B (en) A kind of broadcast recipients' queue regulation method, device 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
CN107070670A (en) Broadcast transmission person is controlled to send method, device and the terminal device of broadcast message
US10990460B2 (en) Method of generating broadcast queue, storage medium, and terminal
CN106851593B (en) A kind of broadcast transmission method, apparatus and terminal
US10863521B1 (en) Broadcast receiver control method and apparatus, and mobile terminal
CN106954191B (en) Broadcast transmission method, apparatus and terminal device
CN106850458B (en) Broadcast the message the method, apparatus and terminal being lined up
CN106851594B (en) A kind of broadcast transmission method, apparatus and terminal
CN106936828B (en) Method, device and terminal for adjusting broadcast receiver queue
US20180262358A1 (en) Method for monitoring broadcast message and terminal
CN106708637A (en) Startup broadcast sending method and apparatus, and terminal
CN106899943A (en) Control broadcast transmission person sends method, device and the terminal device of broadcast message
CN106936996B (en) Method, device and terminal for sending shutdown broadcast
CN106919461A (en) Broadcast recipients' queue regulation method, device and terminal device

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: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

GR01 Patent grant
GR01 Patent grant