CN106844070A - A kind of control method of broadcast, device and mobile terminal - Google Patents
A kind of control method of broadcast, device and mobile terminal Download PDFInfo
- Publication number
- CN106844070A CN106844070A CN201710144286.4A CN201710144286A CN106844070A CN 106844070 A CN106844070 A CN 106844070A CN 201710144286 A CN201710144286 A CN 201710144286A CN 106844070 A CN106844070 A CN 106844070A
- Authority
- CN
- China
- Prior art keywords
- broadcast
- recipient
- queue
- application
- registration
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000005457 optimization Methods 0.000 claims description 17
- 230000015654 memory Effects 0.000 claims description 14
- 230000003993 interaction Effects 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 3
- 238000003860 storage Methods 0.000 claims description 2
- 230000002452 interceptive effect Effects 0.000 claims 1
- 230000002093 peripheral effect Effects 0.000 description 9
- 230000004044 response Effects 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 7
- 238000007726 management method Methods 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 5
- 230000008901 benefit Effects 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 4
- 230000006870 function Effects 0.000 description 3
- 230000001413 cellular effect Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000010897 surface acoustic wave method Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000033228 biological regulation Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000003990 capacitor Substances 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000000205 computational method Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/542—Event management; Broadcasting; Multicasting; Notifications
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a kind of control method of broadcast, device and mobile terminal.The method includes:Obtain the quantity of broadcast that the first application registration is received;Judge the quantity of broadcast whether more than first threshold;If the quantity of broadcast is more than first threshold, the described first application is defined as illegally registering broadcasted application;Obtain recipient's queue of target broadcast;Described illegal registration broadcasted application according to determining is optimized to recipient's queue.The control method of broadcast provided in an embodiment of the present invention can reduce system power consumption, improve resource utilization.
Description
Technical field
The present embodiments relate to broadcast mechanism technical field, more particularly to a kind of control method of broadcast, device and shifting
Dynamic terminal.
Background technology
In android system, broadcast is a kind of mechanism of extensive utilization transmission information among applications.
Android system notifies each application component some system events by sending broadcast message, such as region conversion, not enough power supply,
Incoming information etc., these message are commonly referred to system broadcast message.Third-party application can also send broadcast message, these message
Referred to as self-defined broadcast message.
However, with the development of technology, some illegal applications are occurred in that, and to reach certain illegal objective, illegal application warp
Often on backstage by receiving various broadcast to realize self-starting.Because illegal application needs occupancy wide the reception broadcasted
Broadcast queue, make other application to broadcast it is corresponding delayed, influence other programs to broadcast the message response time.Additionally, illegal
Program starts on backstage can cause system charge to consume and resource consumption.
The content of the invention
The present invention provides a kind of control method of broadcast, device and mobile terminal, can reduce system power consumption, improves resource
Utilization rate.
In a first aspect, the embodiment of the invention provides a kind of control method of broadcast, the method includes:
Obtain the quantity of broadcast that the first application registration is received;
Judge the quantity of broadcast whether more than first threshold;
If the quantity of broadcast is more than first threshold, the described first application is defined as illegally registering broadcasted application;
Obtain recipient's queue of target broadcast;
Described illegal registration broadcasted application according to determining is optimized to recipient's queue.
Second aspect, the embodiment of the present invention additionally provides a kind of control device of broadcast, and the device includes:
The quantity of broadcast acquisition module for receiving is registered, for obtaining the quantity of broadcast that the first application registration is received;
Illegal registration broadcasted application determining module, for judging the quantity of broadcast whether more than first threshold;If institute
Quantity of broadcast is stated more than first threshold, is then defined as illegally registering broadcasted application by the described first application;
Recipient's queue acquisition module, the recipient's queue for obtaining target broadcast;
Recipient's queue optimization module, for according to determine described illegal registration broadcasted application to recipient's queue
Optimize.
The third aspect, the embodiment of the present invention additionally provides a kind of mobile terminal, including memory, processor and storage are being deposited
On reservoir and the computer program that can run on a processor, following step is realized described in the computing device during computer program
Suddenly:
Obtain the quantity of broadcast that the first application registration is received;
Judge the quantity of broadcast whether more than first threshold;
If the quantity of broadcast is more than first threshold, the described first application is defined as illegally registering broadcasted application;
Obtain recipient's queue of target broadcast;
Described illegal registration broadcasted application according to determining is optimized to recipient's queue.
The embodiment of the present invention by the quantity of broadcast that is received for application registration compared with a certain particular value, when being more than
During this particular value, it is determined that the application is illegal registration broadcasted application, when illegal registration broadcasted application is in a certain broadcast reception
When in person's queue, broadcast recipients' queue is optimized, the technical scheme of the embodiment of the present invention can solve illegal program
Receiving broadcast message can cause system charge to consume and resource consumption problem in backstage startup, it is possible to achieve reduce system consumption
Electricity, improves the effect of resource utilization.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the control method of broadcast provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of the control method of broadcast provided in an embodiment of the present invention;
Fig. 3 is a kind of flow chart of the control method of broadcast provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of the control device of broadcast provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of mobile 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 entire infrastructure 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..
Embodiment one
Fig. 1 is a kind of flow chart of the control method of broadcast provided in an embodiment of the present invention, and the present embodiment is applicable illegal
Registration broadcasted application receives the situation of the broadcast message self-starting of registered reception, and the method can be carried by the embodiment of the present invention
The control device of the broadcast of confession is performed, and the device can be realized by the mode of software and/or hardware, and can be integrated in movement
In terminal.
As shown in figure 1, the control method of the broadcast includes:
S110, the quantity of broadcast for obtaining the first application registration reception.
Because broadcast mechanism is a kind of message subscribing/issue mechanism, therefore, using broadcasting the of this message-driven model
One step is to subscribe to message, and it can carry out registration reception to the radio receiver applied to subscribe to broadcast.So, disappear in broadcast
When breath sends, broadcast message can be sent to the application for having subscribed to the broadcast message by registering the radio receiver for receiving,
To realize the control action to application program.Wherein it is possible to realize the self-starting of application program, data storage and voluntarily close
Deng control.
First application can be system application, or third party application, by embodiment of the present invention institute
The technical scheme of offer registers broadcasted application primarily directed to illegal, so being primarily referred to as third party application.
The quantity of broadcast that first application registration is received is the total number that the first application registration receives broadcast, for example, first
Using registration reception start broadcast, shutdown broadcast, volume adjusting broadcast, cellular network switches to the broadcast of wireless local area, nothing
Limit LAN switches to broadcast of broadcast and screen intensity regulation of cellular network etc..In addition, because third party should
Broadcast message can be also issued with program, so broadcast can also include being sent by system application and third party application
Broadcast message.Exemplary, because can may use in many applications, it registers what is received to such as certain input method
Quantity of broadcast can be 150, and the quantity of broadcast that the registration of certain browser is received may only have 75.
The quantity of broadcast that first application registration is received can be stored in the middle of the radio receiver of the application, it is also possible to will be every
The quantity of broadcast that one application registration is received is stored in the middle of system broadcasts management module.So, acquisition is being needed to be connect using registration
During the quantity of broadcast of receipts, calling for data can be directly carried out.
S120, judge quantity of broadcast whether more than first threshold.
Wherein, first threshold can be in set before equipment the is dispatched from the factory, or basis during equipment use
The registration of each application program receives the standard value that the big data of quantity of broadcast comes out.For example, according to statistics, obtaining one
As using receive quantity of broadcast be 100, then first threshold could be arranged to 125.
After the quantity of broadcast that application program registration is received is got, its magnitude relationship with first threshold is judged, sentence
Disconnected mode can be realized by comparator.
If S130, quantity of broadcast are more than first threshold, the first application is defined as illegally registering broadcasted application.
Wherein, illegal registration broadcasted application can register to receive greater number of wide in system broadcasts management module
Broadcast, once the broadcast message for having its registration to receive is issued, it is possible to the self-starting after broadcast message is received.Illegal registration is wide
The self-starting for broadcasting application not only consumes Installed System Memory and the energy, while it is after registration receives broadcast message, can also take wide
Broadcast the thread of message transmission so that what other application programs response broadcast the message slows, while also can result in broadcast disappearing
Cease the situation of the thread congestion for sending.
For example, when the quantity of broadcast that reception register in certain application is 160, first threshold is set into 125, then this application
Register the quantity of broadcast for receiving and be significantly greater than the quantity being normally applied, this application can be defined as into illegal registration broadcast should
With.
S140, the recipient's queue for obtaining target broadcast.
Wherein, target broadcast can be any broadcast.Target broadcast recipient queue can be in system broadcasts management module
Middle acquisition.In target broadcast recipient's queue, all application lists for for this target broadcast register reception are contained.
For example, in ActivityManagerService (active manager service), containing various broadcast messages.Institute
Have application program that radio receiver is registered in ActivityManagerService, subscription program broadcast interested it
Afterwards, when system or certain application program need issue broadcast, the sender of broadcast is equally that broadcast transmission is arrived
In ActivityManagerService, by ActivityManagerService go search broadcast recipient's queue in this
The recipient of broadcast, then receives broadcast distribution to registration the recipient of this broadcast.
S150, according to determine illegal registration broadcasted application recipient's queue is optimized.
Because broadcast recipients are present in the middle of thread in queue form, so in recipient's queue, if there is non-
Method registers broadcasted application and illegal registration broadcasted application is before thread middle position is rested against, and may result in other application and obtains broadcast message
And the speed for responding is affected.Therefore, after recipient's queue is got, it can be determined that whether recipient's queue contains
Illegal registration broadcasted application, when containing illegal registration broadcasted application, can optimize, the mode of optimization to recipient's queue
Order including adjusting recipient's queue, the reception order of the illegal registration broadcasted application that will be included in recipient's queue is suitable backward
Prolong, the benefit for so setting can be to speed the speed that other application is received and response broadcasts the message, it is to avoid recipient's queue
The middle speed that there is one or more illegal registration broadcasted application influence other application reception and response broadcast message.Optimization side
Formula can also be in recipient's queue, will illegally register broadcasted application and be deleted in recipient's queue, it is received
To broadcast message and self-starting or other functions are realized, the benefit of so setting can be to avoid illegally registering broadcasted application pair
The occupancy of thread resources, and can solve the problem that illegal registration broadcasted application carries out self-starting or makes other response occupying system resources
With the problem for expending the energy.
The technical scheme of the present embodiment, by the quantity of broadcast for application registration reception compared with a certain particular value,
When more than this particular value, then it is assumed that the application is illegal registration broadcasted application, when illegal registration broadcasted application is a certain wide
When broadcasting in recipient's queue, broadcast recipients' queue is optimized, solve illegal program and receive broadcast message on backstage
Startup can cause system charge to consume and resource consumption problem, it is possible to achieve reduce system power consumption, improve the effect of resource utilization
Really.
Fig. 2 is a kind of flow chart of the control method of broadcast provided in an embodiment of the present invention.
As shown in Fig. 2 the control method of the broadcast includes:
S210, the quantity of broadcast for obtaining the first application registration reception.
S220, judge quantity of broadcast whether more than first threshold.
If S230, quantity of broadcast are more than first threshold, the first application is defined as illegally registering broadcasted application.
S240, the recipient's queue for obtaining target broadcast.
S250, judge the quantity of recipient in recipient's queue whether more than Second Threshold.
The quantity of recipient's queue is exactly the quantity that application is received for target broadcast registration, for example, broadcasted for shutdown,
The quantity for registering the application for receiving is 135, then after this broadcast message issue of shutting down, the number of recipient in recipient's queue
Amount is exactly 135.
Can all be connect according to all recipients after broadcast message issue for the Second Threshold of recipient's quantity set
Receive and/or the time of response broadcast message carries out what statistics and computing were obtained.For example, when recipient's number in recipient's queue
Measure for 50 when, all recipients receive and/or the time of response broadcast is 50ms, when recipient's quantity is in recipient's queue
At 100, all recipients receive and/or the time of response broadcast is 100ms, and when the time is more than 100ms, user can be bright
Aobvious system running speed of experiencing is slack-off, so, then Second Threshold can be set to 100.
It is wide according to the illegal registration for determining if the quantity of recipient is more than Second Threshold in S260, recipient's queue
Interface applications receipts person's queue is broadcast to optimize.
With reference to above-mentioned example, when the quantity of recipient in recipient's queue is more than Second Threshold, i.e., when more than 100, then root
Recipient's queue is optimized according to the illegal registration broadcasted application for determining.Optimal way can be connecing for above-mentioned technical proposal
Receipts person's queue reordering will illegally register broadcasted application and be deleted in recipient's queue.Wherein, by recipient's queue weight
The mode of new sort can be specifically:Broadcasted application will illegally be registered rearmounted in recipient's queue, and by foreground application journey
Sequence is preposition in recipient's queue.
For example, Second Threshold is set to 100, when recipient's quantity is 120 in recipient's queue, recipient's number is being judged
Amount exceedes after Second Threshold, and illegal registration broadcasted application has 25 in obtaining recipient's queue, then recipient's queue is carried out
Optimization, other application programs can just normally receive and/or respond broadcast message in recipient's queue after optimization.
On the basis of above-mentioned technical proposal, the technical program is provided to be sentenced to recipient's quantity in recipient's queue
It is disconnected, and reasonably optimizing is carried out to recipient's queue according to judged result, broadcast recipients' queue can be carried out with significantly more efficient
Optimization.What deserves to be explained is, if recipient's quantity is not more than Second Threshold in recipient's queue, can select to receiving
Person's queue is optimized and not optimized, and the technical program is not limited it.
On the basis of above-mentioned each scheme, it is preferred that according to the illegal registration broadcasted application for determining to recipient's queue
Optimize including:The illegal registration broadcasted application of determination is deleted in recipient's queue.So set can solution by no means
Method program receives broadcast message can cause system charge to consume and resource consumption problem in backstage startup, it is possible to achieve reduce system
System power consumption, improves the effect of resource utilization.
On the basis of above-mentioned each scheme, it is preferred that according to the illegal registration broadcasted application for determining to recipient's queue
Optimize including:Deleted in recipient's queue with the illegal registration broadcasted application exist data interaction associate should
With.
Wherein, there is the associated application of data interaction with the illegal registration broadcasted application, can be other application programs,
Such as certain application program A receives the quantity of broadcast variety beyond first threshold due to registration, is confirmed as illegal registration broadcast
There is data interaction with Another Application program B in running background using, this application program A, in recipient's queue if
There is application program B, then application program B is deleted in recipient's queue.
This technical scheme is docked on the basis of above-mentioned each technical scheme to the illegal registration broadcasted application according to determination
Receipts person's queue is optimized has carried out further optimization, and the benefit for so setting can be significantly to save recipient's queue institute
In the space of thread, system running speed is improved, while reduction system power consumption can also be realized, improve the effect of resource utilization
Really.
Fig. 3 is a kind of flow chart of the control method of broadcast provided in an embodiment of the present invention.
As shown in figure 3, the control method of the broadcast includes:
S310, the quantity of broadcast for obtaining the first application registration reception.
S320, judge quantity of broadcast whether more than first threshold.
If S330, quantity of broadcast are more than first threshold, the first application is defined as illegally registering broadcasted application.
S340, the recipient's queue for obtaining target broadcast.
S350, judge recipient's queue of target broadcast in illegal registration broadcasted application whether in default list of application.
If then performing S360, if otherwise performing S370.
Wherein, default list of application can be in the list of application set before dispatching from the factory or during user's use, in advance
If can be the secure registration broadcasted application determined by system authentication or according to the use habit of user in list of application.
Such as certain input method, certain browser and certain picture check application etc..
Because illegally registration broadcasted application is determined according to using the quantity of broadcast of registration reception, when application registration connects
Then it is illegal registration broadcasted application by the application definition when quantity of broadcast of receipts exceedes first threshold.So, it is wide in illegal registration
During broadcasting the determination of application, it is more likely that safety is defined as illegal broadcasted application through commonly used broadcasted application.It is default
The setting of list of application can be just avoided safety, and registration receives more broadcasted application as illegal registration broadcasted application
To process.
S360, the illegal registration broadcasted application of reservation in recipient's queue.
When illegal registration broadcasted application is in default list of application in the recipient's queue for judging target broadcast, then retain
The illegal registration broadcasted application.It is exemplary, because certain input method is that, through commonly used application program, and the input method is registered
The quantity of broadcast of reception is probably 150 kinds, has exceeded 125 kinds of first threshold, then be defined as illegally registering broadcasted application.And
The input method in default list of application, during being optimized to recipient's queue, retains the input method again.
S370, according to determine described illegal registration broadcasted application recipient's queue is optimized.
This technical scheme is on the basis of above-mentioned each technical scheme, there is provided one kind is for safety applications in recipient team
The method protected in row, it is to avoid to receive quantity of broadcast excessive because of safety applications registration, and makes its by as illegal registration
Broadcasted application treatment, so as to the problem for causing equipment normally to use.
On the basis of above-mentioned each technical scheme, it is preferred that the registration for sending first application to server is received
Quantity of broadcast, so as to the server according at least one first application registration receive quantity of broadcast determine described first
Threshold value.The big data computational methods that the benefit for so setting is available with server make result of calculation more accurate, while energy
The computational burden of equipment itself is enough reduced, the mobile terminal device speed of service is improved.
Fig. 4 is a kind of structural representation of the control device of broadcast that the embodiment of the present invention four is provided.As shown in figure 4, institute
The control device of broadcast is stated, including:
The quantity of broadcast acquisition module 410 for receiving is registered, for obtaining the quantity of broadcast that the first application registration is received;
Illegal registration broadcasted application determining module 420, for judging the quantity of broadcast whether more than first threshold;If
The quantity of broadcast is more than first threshold, then be defined as illegally registering broadcasted application by the described first application;
Recipient's queue acquisition module 430, the recipient's queue for obtaining target broadcast;
Recipient's queue optimization module 440, for according to determine described illegal registration broadcasted application to the recipient
Queue is optimized.
The technical scheme of the present embodiment, by the quantity of broadcast for application registration reception compared with a certain particular value,
When more than this particular value, then it is assumed that the application is illegal registration broadcasted application, when illegal registration broadcasted application is a certain wide
When broadcasting in recipient's queue, broadcast recipients' queue is optimized, solve illegal program and receive broadcast message on backstage
Startup can cause system charge to consume and resource consumption problem, it is possible to achieve reduce system power consumption, improve the effect of resource utilization
Really.
On the basis of the various embodiments described above, recipient's queue optimization module 440 includes:
Recipient's quantity judging unit, for judging the quantity of recipient in recipient's queue whether more than the second threshold
Value;
Recipient's queue optimizes unit, if being more than Second Threshold for the quantity of recipient in recipient's queue,
Recipient's queue is optimized according to the described illegal registration broadcasted application for determining then.
On the basis of the various embodiments described above, recipient's queue optimization module 440 includes:
Illegal registration broadcasted application deletes unit, the described illegal registration for deleting determination in recipient's queue
Broadcasted application.
On the basis of the various embodiments described above, recipient's queue optimization module 440 includes:
Associated application deletes unit, exists with the illegal registration broadcasted application for being deleted in recipient's queue
The associated application of data interaction.
On the basis of the various embodiments described above, recipient's queue optimization module 440 includes:
It is default to apply stick unit, if for the illegal registration broadcasted application in default list of application, described
Retain the illegal registration broadcasted application in recipient's queue.
On the basis of the various embodiments described above, described device also includes:
First threshold determining module, the quantity of broadcast that the registration for sending first application to server is received, with
Toilet states server and determines the first threshold according to the quantity of broadcast that the registration of at least one first applications is received.
The said goods 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.
Fig. 5 is a kind of structural representation of mobile terminal provided in an embodiment of the present invention, as shown in figure 5, the mobile terminal
Can include:Housing (not shown), memory 801, central processing unit (Central Processing Unit, CPU)
802 (also known as processors, hereinafter referred to as CPU), the computer journey that store on memory 801 and can be run on processor 802
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 CPU802 and the memory 801 are arranged on the circuit board;The power circuit, for being the shifting
Each circuit or device of dynamic terminal are powered;The memory 801, for storing executable program code;The CPU802 leads to
Cross and read the executable program code that stores in the memory 801 and run journey corresponding with the executable program code
Sequence, for performing:Obtain the quantity of broadcast that the first application registration is received;Judge the quantity of broadcast whether more than the first threshold
Value;If the quantity of broadcast is more than first threshold, the described first application is defined as illegally registering broadcasted application;Obtain mesh
Mark recipient's queue of broadcast;Described illegal registration broadcasted application according to determining is optimized to recipient's queue.
The mobile terminal also includes:Peripheral Interface 803, RF (Radio Frequency, radio frequency) circuit 805, audio-frequency electric
Road 806, loudspeaker 811, power management chip 808, input/output (I/O) subsystem 809, touch-screen 812, other input/controls
Control equipment 810 and outside port 804, these parts are communicated by one or more communication bus or holding wire 807.
It should be understood that diagram mobile terminal 800 is only an example of mobile terminal, and mobile terminal 800
Can have than the more or less part shown in figure, can combine two or more parts, or can be with
Configured with different parts.Various parts shown in figure can be including one or more signal transactings and/or special
Integrated circuit is realized in the combination of interior hardware, software or hardware and software.
Below with regard to the present embodiment offer for realizing that the mobile terminal of Broadcasting Control function is described in detail, the shifting
Dynamic terminal is by taking mobile phone as an example.
Memory 801, the memory 801 can be accessed by CPU802, Peripheral Interface 803 etc., and the memory 801 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 CPU802 and deposited by Peripheral Interface 803, the Peripheral Interface 803
Reservoir 801.
I/O subsystems 809, the I/O subsystems 809 can be by the input/output peripheral in equipment, such as touch-screen 812
With other input/control devicess 810, Peripheral Interface 803 is connected to.I/O subsystems 809 can include the He of display controller 8091
One or more input controllers 8092 for controlling other input/control devicess 810.Wherein, one or more input controls
Device processed 8092 receives electric signal or sends electric signal to other input/control devicess 810 from other input/control devicess 810,
Other input/control devicess 810 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 8092 can with it is following any one be connected:Keyboard, infrared port,
The instruction equipment of USB interface and such as mouse.
Wherein, according to the operation principle and the medium classification of transmission information of touch-screen, touch-screen 812 can for resistance-type,
Capacitor induction type, infrared-type or surface acoustic wave type.Classify according to mounting means, touch-screen 812 can be:It is external hanging type, built-in
Formula or monoblock type.Classify according to know-why, touch-screen 812 can be:Vector pressure sensing technology touch-screen, resistive technologies are touched
Touch screen, capacitance technology touch-screen, infrared technology touch-screen or surface acoustic wave technique touch-screen.
Touch-screen 812, the touch-screen 812 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..Optionally, touch-screen 812 is by user
The electric signal (such as electric signal of contact surface) triggered on touch screen curtain, is sent to processor 802.
Display controller 8091 in I/O subsystems 809 receives electric signal or is sent out to touch-screen 812 from touch-screen 812
Electric signals.Contact on the detection touch-screen of touch-screen 812, the contact that display controller 8091 will be detected is converted to and display
The interaction of the user interface object on touch-screen 812, that is, realize man-machine interaction, is displayed in the user interface on touch-screen 812
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 805, 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..
Voicefrequency circuit 806, is mainly used in receiving voice data from Peripheral Interface 803, and the voice data is converted into telecommunications
Number, and the electric signal is sent to loudspeaker 811.
Loudspeaker 811, for the voice signal for receiving mobile phone from wireless network by RF circuits 805, is reduced to sound
And play the sound to user.
Power management chip 808, for being powered by the hardware that CPU802, I/O subsystem and Peripheral Interface are connected
And power management.
In the present embodiment, central processing unit 802 is used for:
Obtain the quantity of broadcast that the first application registration is received;
Judge the quantity of broadcast whether more than first threshold;
If the quantity of broadcast is more than first threshold, the described first application is defined as illegally registering broadcasted application;
Obtain recipient's queue of target broadcast;
Described illegal registration broadcasted application according to determining is optimized to recipient's queue.
It is further, described recipient's queue is optimized according to the described illegal registration broadcasted application for determining,
Including:
Judge the quantity of recipient in recipient's queue whether more than Second Threshold;
If the quantity of recipient is more than Second Threshold in recipient's queue, according to the described illegal registration for determining
Broadcasted application is optimized to recipient's queue.
It is further, described recipient's queue is optimized according to the described illegal registration broadcasted application for determining,
Including:
The described illegal registration broadcasted application of determination is deleted in recipient's queue.
It is further, described recipient's queue is optimized according to the described illegal registration broadcasted application for determining,
Including:
The associated application that there is data interaction with the illegal registration broadcasted application is deleted in recipient's queue.
It is further, described recipient's queue is optimized according to the described illegal registration broadcasted application for determining,
Including:
If the illegal registration broadcasted application retains described non-in default list of application in recipient's queue
Method registers broadcasted application.
Further, methods described also includes:
The quantity of broadcast that the registration for sending first application to server is received, so that the server is according at least one
The quantity of broadcast that the registration of individual first application is received determines the first threshold.
It should be noted that mobile terminal can also will not be repeated here including camera, bluetooth module etc..
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 control method of broadcast, it is characterised in that including:
Obtain the quantity of broadcast that the first application registration is received;
Judge the quantity of broadcast whether more than first threshold;
If the quantity of broadcast is more than first threshold, the described first application is defined as illegally registering broadcasted application;
Obtain recipient's queue of target broadcast;
Described illegal registration broadcasted application according to determining is optimized to recipient's queue.
2. the control method of broadcast according to claim 1, it is characterised in that described according to the described illegal registration for determining
Broadcasted application is optimized to recipient's queue, including:
Judge the quantity of recipient in recipient's queue whether more than Second Threshold;
If the quantity of recipient is more than Second Threshold in recipient's queue, according to the described illegal registration broadcast for determining
Optimized using to recipient's queue.
3. the control method of broadcast according to claim 1 and 2, it is characterised in that described described illegal according to what is determined
Registration broadcasted application is optimized to recipient's queue, including:
The described illegal registration broadcasted application of determination is deleted in recipient's queue.
4. the control method of broadcast according to claim 3, it is characterised in that described according to the described illegal registration for determining
Broadcasted application is optimized to recipient's queue, including:
The associated application that there is data interaction with the illegal registration broadcasted application is deleted in recipient's queue.
5. the control method of broadcast according to claim 3, it is characterised in that described according to the described illegal registration for determining
Broadcasted application is optimized to recipient's queue, including:
If the illegal registration broadcasted application retains the illegal note in default list of application in recipient's queue
Volume broadcasted application.
6. the control method of broadcast according to claim 1, it is characterised in that also include:
The quantity of broadcast that the registration for sending first application to server is received, so that the server is according at least one the
The quantity of broadcast that the registration of one application is received determines the first threshold.
7. a kind of control device of broadcast, it is characterised in that including:
The quantity of broadcast acquisition module for receiving is registered, for obtaining the quantity of broadcast that the first application registration is received;
Illegal registration broadcasted application determining module, for judging the quantity of broadcast whether more than first threshold;If described wide
Quantity is broadcast more than first threshold, is then defined as illegally registering broadcasted application by the described first application;
Recipient's queue acquisition module, the recipient's queue for obtaining target broadcast;
Recipient's queue optimization module, for being carried out to recipient's queue according to the described illegal registration broadcasted application for determining
Optimization.
8. the control device of broadcast according to claim 7, it is characterised in that recipient's queue optimization module bag
Include:
Recipient's quantity judging unit, for judging the quantity of recipient in recipient's queue whether more than Second Threshold;
Recipient's queue optimizes unit, if being more than Second Threshold, root for the quantity of recipient in recipient's queue
Recipient's queue is optimized according to the described illegal registration broadcasted application for determining.
9. the control device of the broadcast according to claim 7 or 8, it is characterised in that recipient's queue optimization module
Including:
Illegal registration broadcasted application deletes unit, and the described illegal registration for deleting determination in recipient's queue is broadcasted
Using.
10. the control device of broadcast according to claim 9, it is characterised in that recipient's queue optimization module bag
Include:
Associated application deletes unit, there are data with the illegal registration broadcasted application for being deleted in recipient's queue
Interactive associated application.
The control device of 11. broadcast according to claim 9, it is characterised in that described according to the described illegal note for determining
Volume broadcasted application is optimized to recipient's queue, including:
It is default to apply stick unit, if for the illegal registration broadcasted application in default list of application, in the reception
Retain the illegal registration broadcasted application in person's queue.
The control device of 12. broadcast according to claim 1, it is characterised in that also include:
First threshold determining module, the quantity of broadcast that the registration for sending first application to server is received, with toilet
State server and the first threshold is determined according to the quantity of broadcast that the registration of at least one first applications is received.
A kind of 13. mobile terminals, including memory, processor and storage are on a memory and the calculating that can run on a processor
Machine program, it is characterised in that realize following steps during computer program described in the computing device:
Obtain the quantity of broadcast that the first application registration is received;
Judge the quantity of broadcast whether more than first threshold;
If the quantity of broadcast is more than first threshold, the described first application is defined as illegally registering broadcasted application;
Obtain recipient's queue of target broadcast;
Described illegal registration broadcasted application according to determining is optimized to recipient's queue.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710144286.4A CN106844070B (en) | 2017-03-10 | 2017-03-10 | Broadcast control method and device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710144286.4A CN106844070B (en) | 2017-03-10 | 2017-03-10 | Broadcast control method and device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106844070A true CN106844070A (en) | 2017-06-13 |
CN106844070B CN106844070B (en) | 2020-07-31 |
Family
ID=59143322
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710144286.4A Expired - Fee Related CN106844070B (en) | 2017-03-10 | 2017-03-10 | Broadcast control method and device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106844070B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018161580A1 (en) * | 2017-03-10 | 2018-09-13 | 广东欧珀移动通信有限公司 | Broadcast control method and apparatus, storage medium, and electronic device |
CN110209513A (en) * | 2019-06-06 | 2019-09-06 | 北京金山安全软件有限公司 | Broadcast registration method, device, equipment and medium of application program |
CN113132121A (en) * | 2019-12-30 | 2021-07-16 | 成都鼎桥通信技术有限公司 | Broadcast message processing method and device and terminal equipment |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101014101A (en) * | 2006-02-01 | 2007-08-08 | Lg电子株式会社 | Method for managing applications related to data broadcasting, class/interface structure, and broadcast receiver |
CN103019777A (en) * | 2012-11-28 | 2013-04-03 | 广东欧珀移动通信有限公司 | Method and system for automatically cleaning background applications of mobile terminal |
CN103823699A (en) * | 2014-02-27 | 2014-05-28 | 广州视源电子科技股份有限公司 | Method and device for controlling self-starting of application program |
CN104503841A (en) * | 2014-12-15 | 2015-04-08 | 北京奇虎科技有限公司 | Process clearing method and process clearing device |
CN104991803A (en) * | 2015-07-10 | 2015-10-21 | 上海斐讯数据通信技术有限公司 | System and method for managing and controlling self-startup of android application under specific conditions |
CN105208590A (en) * | 2015-08-17 | 2015-12-30 | 广东欧珀移动通信有限公司 | Mobile terminal operation system card slack abnormity detection recovery method and mobile terminal |
CN106201740A (en) * | 2016-06-29 | 2016-12-07 | 北京金山安全软件有限公司 | Broadcast message management method, device and equipment |
-
2017
- 2017-03-10 CN CN201710144286.4A patent/CN106844070B/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101014101A (en) * | 2006-02-01 | 2007-08-08 | Lg电子株式会社 | Method for managing applications related to data broadcasting, class/interface structure, and broadcast receiver |
CN103019777A (en) * | 2012-11-28 | 2013-04-03 | 广东欧珀移动通信有限公司 | Method and system for automatically cleaning background applications of mobile terminal |
CN103823699A (en) * | 2014-02-27 | 2014-05-28 | 广州视源电子科技股份有限公司 | Method and device for controlling self-starting of application program |
CN104503841A (en) * | 2014-12-15 | 2015-04-08 | 北京奇虎科技有限公司 | Process clearing method and process clearing device |
CN104991803A (en) * | 2015-07-10 | 2015-10-21 | 上海斐讯数据通信技术有限公司 | System and method for managing and controlling self-startup of android application under specific conditions |
CN105208590A (en) * | 2015-08-17 | 2015-12-30 | 广东欧珀移动通信有限公司 | Mobile terminal operation system card slack abnormity detection recovery method and mobile terminal |
CN106201740A (en) * | 2016-06-29 | 2016-12-07 | 北京金山安全软件有限公司 | Broadcast message management method, device and equipment |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018161580A1 (en) * | 2017-03-10 | 2018-09-13 | 广东欧珀移动通信有限公司 | Broadcast control method and apparatus, storage medium, and electronic device |
CN110209513A (en) * | 2019-06-06 | 2019-09-06 | 北京金山安全软件有限公司 | Broadcast registration method, device, equipment and medium of application program |
CN110209513B (en) * | 2019-06-06 | 2021-06-22 | 北京金山安全软件有限公司 | Broadcast registration method, device, equipment and medium of application program |
CN113132121A (en) * | 2019-12-30 | 2021-07-16 | 成都鼎桥通信技术有限公司 | Broadcast message processing method and device and terminal equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106844070B (en) | 2020-07-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108363593B (en) | Application program preloading method and device, storage medium and terminal | |
CN106937258B (en) | A kind of control method of broadcast, device and mobile terminal | |
CN107943650B (en) | Application program control method and device, storage medium and terminal | |
CN108804157A (en) | Application program preloads method, apparatus, storage medium and terminal | |
CN108646906A (en) | Frame per second method of adjustment, device, storage medium and intelligent terminal | |
CN108710513A (en) | Application program launching method, device, storage medium and terminal | |
EP3592004A1 (en) | Broadcast processing method, device, storage medium and terminal device | |
CN108595224A (en) | Application prompts method, apparatus, storage medium and terminal | |
CN108829456A (en) | Application program preloads method, apparatus, storage medium and terminal | |
US10956176B2 (en) | Processing method, device and storage medium for implementing automatic startup | |
EP3591924B1 (en) | Control method, device, storage medium, and electronic apparatus for broadcast sending | |
CN108958828A (en) | Application program preloads method, apparatus, storage medium and terminal | |
CN108804156A (en) | Application program preloads method, apparatus, storage medium and terminal | |
CN107070670A (en) | Broadcast transmission person is controlled to send method, device and the terminal device of broadcast message | |
CN106851016A (en) | Broadcast the message method, device and the terminal queued up | |
CN108519808A (en) | Frame per second method of adjustment, device, terminal device and storage medium | |
CN106844070A (en) | A kind of control method of broadcast, device and mobile terminal | |
US10990460B2 (en) | Method of generating broadcast queue, storage medium, and terminal | |
CN108693948A (en) | Frame per second method of adjustment, device, terminal device and storage medium | |
CN108966010B (en) | Method and device for adjusting resolution of online video, storage medium and terminal | |
CN106851593A (en) | A kind of broadcast transmission method, device and terminal | |
CN106937370A (en) | A kind of broadcast message sending method, device and mobile terminal | |
CN108011860B (en) | Method, device and terminal for processing broadcast message | |
CN108647059A (en) | Application program prediction technique, device, storage medium and mobile terminal | |
CN106936994A (en) | A kind of control method of broadcast recipients, device and mobile terminal |
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: 20200731 |