CN106953852A - Register method, device and the terminal device of radio receiver - Google Patents
Register method, device and the terminal device of radio receiver Download PDFInfo
- Publication number
- CN106953852A CN106953852A CN201710141039.9A CN201710141039A CN106953852A CN 106953852 A CN106953852 A CN 106953852A CN 201710141039 A CN201710141039 A CN 201710141039A CN 106953852 A CN106953852 A CN 106953852A
- Authority
- CN
- China
- Prior art keywords
- broadcast
- radio receiver
- recipients
- message
- transmission person
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1073—Registration or de-registration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
- H04L65/61—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
- H04L65/611—Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for multicast or broadcast
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2209/00—Indexing scheme relating to G06F9/00
- G06F2209/54—Indexing scheme relating to G06F9/54
- G06F2209/548—Queue
-
- 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
-
- 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/546—Message passing systems or structures, e.g. queues
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a kind of register method of radio receiver, device and terminal device, wherein method includes:The broadcast recipients for allowing to receive the broadcast message are set according to the broadcast message that broadcast transmission person sends;Get after the register instruction of radio receiver, determine the corresponding broadcast transmission person of the register instruction;The broadcast recipients for allowing to receive broadcast message that the corresponding broadcast transmission person of the register instruction is set are inquired about, the registration according to Query Result to the radio receiver is handled.This programme solves the defect that existing broadcast recipients exist when receiving the broadcast that broadcast transmission person sends, and improves broadcast treatment effeciency, reduces system resources consumption so that stability of a system increase.
Description
Technical field
The present embodiments relate to computer technology, more particularly to a kind of register method of radio receiver, device and end
End equipment.
Background technology
Broadcast is a kind of mechanism for carrying out information transfer among applications being widely used, with Android operation system
Exemplified by, it realizes between application program the transmission of data and shared by broadcasting (Broadcast).Typically, as Android is carried
The broadcast such as short message, phone.
In Android system, broadcast transmission person is by calling the transmission that sendBroadcast functions are broadcast the message, extensively
Broadcast recipient and radio receiver is carried out in management module by calling registerReceiver functions
(BroadcastReceiver) registration, and itself broadcast message interested is defined, thus corresponding broadcast is disappeared to realize
The reception of breath.
In the prior art, broadcast recipients' existing defects when receiving the broadcast that broadcast transmission person sends so that at broadcast
Inefficiency is managed, system resources consumption is excessive and stability is poor.
The content of the invention
The invention provides a kind of register method of radio receiver, device and terminal device, broadcast processing effect is improved
Rate, reduces system resources consumption so that stability of a system increase.
In a first aspect, the embodiment of the present invention additionally provides a kind of register method of radio receiver, including:
The broadcast recipients for allowing to receive the broadcast message are set according to the broadcast message that broadcast transmission person sends;
Get after the register instruction of radio receiver, determine the corresponding broadcast transmission person of the register instruction;
The broadcast recipients for allowing to receive broadcast message that the corresponding broadcast transmission person of the register instruction is set are inquired about, according to
The registration of the radio receiver is handled according to Query Result.
Second aspect, the embodiment of the present invention additionally provides a kind of register device of radio receiver, including:
Broadcast recipients' setup module, the broadcast message for being sent according to broadcast transmission person, which is set, to be allowed to receive described wide
Broadcast the broadcast recipients of message;
Broadcast transmission person's determining module, for getting after the register instruction of radio receiver, determines the register instruction
Corresponding broadcast transmission person;
Broadcast recipients' enquiry module, is received for allowing of inquiring about that the corresponding broadcast transmission person of the register instruction sets
The broadcast recipients of broadcast message;
Radio receiver Registering modules, are handled for the registration according to Query Result to the radio receiver.
The third aspect, the embodiment of the present invention additionally provides a kind of terminal device, including:Processor, memory and storage
On a memory and the computer program that can run on a processor, it is characterised in that computer described in the computing device
Following steps are realized during program:
The broadcast recipients for allowing to receive the broadcast message are set according to the broadcast message that broadcast transmission person sends;
Get after the register instruction of radio receiver, determine the corresponding broadcast transmission person of the register instruction;
The broadcast recipients for allowing to receive broadcast message that the corresponding broadcast transmission person of the register instruction is set are inquired about, according to
The registration of the radio receiver is handled according to Query Result.
Technical scheme provided in an embodiment of the present invention, solves existing broadcast recipients and is receiving broadcast transmission person's transmission
Broadcast when the defect that exists, improve broadcast treatment effeciency, reduce system resources consumption so that stability of a system increase.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of flow chart of the register method of radio receiver provided in an embodiment of the present invention;
Fig. 2 is the flow chart of the register method of another radio receiver provided in an embodiment of the present invention;
Fig. 3 is the flow chart of the register method of another radio receiver provided in an embodiment of the present invention;
Fig. 4 is a kind of structured flowchart of the register device of radio receiver provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of terminal device provided in an embodiment of the present invention.
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 to explain the present invention, rather than limitation of the invention.It also should be noted that, for the ease of retouching
State, part related to the present invention rather than entire infrastructure are illustrate only in accompanying drawing.
Fig. 1 is a kind of flow chart of the register method method of radio receiver provided in an embodiment of the present invention, the present embodiment
It is applicable to be controlled broadcast recipients when registering radio receiver the situation of processing, this method can be by of the invention real
Apply the terminal device of example offer to perform, the register device of the radio receiver of the terminal device can use software and/or hardware
Mode realize, as shown in figure 1, the present embodiment provide concrete scheme it is as follows:
S101, the broadcast reception for allowing to receive the broadcast message according to the setting that broadcasts the message that broadcast transmission person sends
Person.
In broadcast processing procedure, the service processes of broadcast transmission person are by calling broadcast transmission function (such as
SendBroadcast functions) broadcast message is sent to management module (such as ActivityManagerService, activity management
Service), management module, which is received, puts it into broadcast transmission queue after the broadcast message, management module passes through Interprocess Communication Mechanism
(such as Binder Interprocess Communication Mechanisms) sends the broadcast message in broadcast transmission queue to the broadcast reception for meeting condition of acceptance
Person.
In broadcast mechanism, broadcast transmission person sends the process of broadcast message and broadcast recipients receive the process of broadcast message
It is asynchronous operation process, broadcast transmission person and broadcast recipients are realized the relationship match of lower coupling by management module, that is, broadcasted
It is whom that sender is not relevant for specific broadcast recipients after broadcast message is sent, and it is interested that broadcast recipients only receive oneself
Broadcast message, be also indifferent to specific broadcast transmission person, thus, the broadcast recipients of some third-party applications are registrable a large amount of
Broadcast interested, after the broadcast message is sent, the third-party application is received to it, handled, with realize self-starting or
The program processing of other purposes, causes unnecessary system resource waste.
In one embodiment, when can be broadcast message of the management module in processing broadcast transmission queue, according to wide
The broadcast message for broadcasting sender's transmission sets the broadcast recipients for allowing to receive the broadcast message, i.e., to allowing to receive the broadcast
The broadcast recipients of message are determined.In one embodiment, can be broadcast transmission person when sending broadcast message, broadcast
Sender itself is determined to the broadcast recipients for allowing to receive the broadcast message.
In one embodiment, broadcast message refers to what system or application program were sent in the process of running, is used for
The information transmitted between system and/or application program, exemplary, broadcast message can be that system starts broadcast message, short message
Class broadcast message, telephone type broadcast message or tripartite are using class broadcast message etc..
S102, get after the register instruction of radio receiver, determine the corresponding broadcast transmission person of the register instruction.
In one embodiment, management module can be obtained to the register instruction of radio receiver, the broadcast reception
The register instruction of device is sent by broadcast recipients.Generally, broadcast recipients are registered to management module by Interprocess Communication Mechanism and (ordered
Read) the desired broadcast message received.Specifically, the service processes of broadcast recipients are by calling registerReceiver functions
The registration of radio receiver is carried out in management module, while defining itself broadcast message interested, management module is being sent
During broadcast message in broadcast transmission queue, according to the registration scenarios of broadcast recipients, the broadcast message is sent to it
In the corresponding Message Rotation Queue of broadcast recipients that row have subscribed, broadcast recipients, which receive, adjusts back registration after the broadcast message
Radio receiver in method of reseptance (such as onReceive methods) perform corresponding function with to the broadcast message received
Handled.
In one embodiment, after the register instruction of radio receiver is got, according to corresponding in the register instruction
Object (can be the title of broadcast message interested) is registered to determine the broadcast transmission person of the transmission broadcast message.It is exemplary
, broadcast transmission person A have sent in a broadcast message a1, broadcast recipients B register instruction and register object as a1, then root
The corresponding broadcast transmission person for sending broadcast message a1 can be determined according to registration object a1.In one embodiment, the registration
Instruction can be the register instruction (static registration instruction) being registered in management module, can also be and be registered in broadcast recipients'
Register instruction (dynamic registration instruction) in application program.It should be noted that in one embodiment, by existing wide
Broadcast receiver and corresponding broadcast transmission person is determined to the analysis of register instruction in registration, without wide in broadcast recipients' registration
Extra operation setting is carried out when broadcasting receiver.
What S103, the corresponding broadcast transmission person of the inquiry register instruction were set allows to receive the broadcast reception broadcast the message
Person, the registration according to Query Result to the radio receiver is handled.
In this step, that inquires about the corresponding broadcast transmission person's setting of the register instruction determined allows what reception broadcast the message
Broadcast recipients, the broadcast recipients for receiving broadcast message that allow of the setting can be true in specific set content in S101
It is fixed, the registration of the radio receiver is handled further according to specific Query Result.Wherein, Query Result can be the broadcast
Recipient is arranged to the broadcast message for allowing the reception broadcast transmission person to send or the broadcast recipients are not permitted
Perhaps the broadcast message of broadcast transmission person transmission is received.Include the response registration to the registration progress of radio receiver processing to refer to
Order, and the registration of corresponding radio receiver is carried out according to the registration content of the register instruction, with cause broadcast recipients according to
The radio receiver of registration can also be to receive corresponding broadcast message and forbid registering the radio receiver, thus,
Broadcast recipients can not complete the registration of radio receiver and then can not complete the reception of corresponding broadcast message.Need explanation
It is that in one embodiment, scheme is that the registration to radio receiver is handled, i.e. the registration phase pair in radio receiver
The registration of radio receiver is limited, and can not be completed the registration behavior of registration phase to the radio receiver of limitation registration, be shown
Example property, the register instruction of the radio receiver can be shielded.
A kind of register method of radio receiver is present embodiments provided, the broadcast message sent according to broadcast transmission person is set
The broadcast recipients for allowing to receive the broadcast message are put, are got after the register instruction of radio receiver, the registration is determined
Corresponding broadcast transmission person is instructed, that inquires about the corresponding broadcast transmission person's setting of the register instruction allows what reception broadcast the message
Broadcast recipients, the registration according to Query Result to the radio receiver is handled, note of the program to radio receiver
Volume is limited, and needs to consider the broadcast recipients that broadcast transmission person corresponding with register instruction is set in registration process,
Thus, the security that system is registered to broadcast recipients is improved, the note carried out to all broadcast recipients is it also avoid
Volume all by resource consumption in the subsequent broadcast message processing procedure brought it is excessive the problem of, while improving the stabilization of system
Property.
Fig. 2 is the flow chart of the register method of another radio receiver provided in an embodiment of the present invention, in above-mentioned implementation
On the basis of example, optionally, setting allows the broadcast recipients for receiving the broadcast message to include:Setting allows to receive described wide
Broadcast broadcast recipients' list of message.
Accordingly, what the corresponding broadcast transmission person of inquiry register instruction was set allows to receive the broadcast recipients broadcast the message
Including:Inquire about the broadcast recipients' list for allowing to receive broadcast message that the corresponding broadcast transmission person of the register instruction is set.
Based on above-mentioned optimization, as shown in Fig. 2 the technical scheme that the present embodiment is provided is specific as follows:
S201, the broadcast recipients for allowing to receive the broadcast message according to the setting that broadcasts the message that broadcast transmission person sends
List.
In one embodiment, safeguard that the form of broadcast recipients' list records the wide of broadcast transmission person's transmission by creating
Broadcast the corresponding broadcast recipients for allowing to receive of message.Wherein, broadcast recipients' list can set up broadcast recipients and broadcast
Corresponding relation between sender, if the broadcast recipients are corresponding with broadcast transmission person, the institute that the broadcast transmission person sends
There is broadcast message to be received, handle by corresponding broadcast recipients;It is also possible that the portion that record broadcast transmission person sends
Divide the broadcast message determined to be received, handle by corresponding broadcast recipients, former improve the search efficiency of system,
The latter make it that the flexibility that broadcast recipients receive corresponding broadcast message is improved so that the processing registered to radio receiver is more
Plus precisely.Wherein, the broadcast reception list can be updated in preset time period, and such as daily 0:00 is updated maintenance.
S202, get after the register instruction of radio receiver, determine the corresponding broadcast transmission person of the register instruction.
What S203, the corresponding broadcast transmission person of the inquiry register instruction were set allows to receive the broadcast reception broadcast the message
Person's list, the registration according to Query Result to the radio receiver is handled.
In this step, that inquires about the corresponding broadcast transmission person's setting of the register instruction determined allows what reception broadcast the message
Broadcast recipients' list, the broadcast recipients' list for allowing reception to broadcast the message of the setting can specifically set interior in S201
Determine, the registration of the radio receiver is handled in appearance further according to specific Query Result.Wherein, Query Result can foundation
Broadcast recipients whether there is to be determined in broadcast recipients' list, specifically, it is fair to be that the broadcast recipients are recorded in
Perhaps receive in the broadcast reception list for the broadcast message that the broadcast transmission person sends or the broadcast recipients are not remembered
Record in the reception list for allowing to receive the broadcast message that the broadcast transmission person sends.Registration to radio receiver is handled
Including responding the register instruction, and the registration of the corresponding radio receiver of registration content progress according to the register instruction, so that
Obtain broadcast recipients and corresponding broadcast message is received according to the radio receiver of registration, can also be and forbid to the broadcast reception
Device is registered, thus, and broadcast recipients can not complete the registration of radio receiver and then can not complete corresponding broadcast message
Reception.
A kind of register method of radio receiver is present embodiments provided, the broadcast message sent according to broadcast transmission person is set
Putting allows the broadcast recipients' list for receiving the broadcast message, gets after the register instruction of radio receiver, it is determined that described
The corresponding broadcast transmission person of register instruction, the reception broadcast that allows for inquiring about the corresponding broadcast transmission person's setting of the register instruction disappears
Broadcast recipients' list of breath, the registration according to Query Result to the radio receiver is handled, and is solved existing wide
The defect that recipient exists when receiving the broadcast that broadcast transmission person sends is broadcast, broadcast treatment effeciency is improved, reduces system
Resource consumption so that stability of a system increase.
On the basis of above-mentioned technical proposal, processing bag is carried out to the registration of the radio receiver according to Query Result
Include:If there are the broadcast recipients for registering the radio receiver in broadcast recipients' list, allow the broadcast
The registration of receiver.
Fig. 3 is the flow chart of the register method of another radio receiver provided in an embodiment of the present invention, in above-mentioned implementation
On the basis of example, optionally, the setting allows the broadcast recipients for receiving the broadcast message to include:It will allow to receive described
During broadcast recipients' bag name of broadcast message is instructed added to broadcast message.
Accordingly, what the corresponding broadcast transmission person of the inquiry register instruction was set allows to receive the wide of broadcast message
Broadcasting recipient includes:The broadcast recipients' bag name inquired about in the corresponding broadcast message instruction of the register instruction.
Based on above-mentioned optimization, as shown in figure 3, the technical scheme that the present embodiment is provided is specific as follows:
S301, the broadcast recipients' bag that will allow to receive the broadcast message according to the broadcast message that broadcast transmission person sends
During name is instructed added to broadcast message.
Wherein, the bag name of broadcast recipients has corresponded to the QQ softwares installed in specific broadcast recipients, such as terminal device
Bag entitled com.tencent.mobileqq, wherein com.tencent.mobileqq correspond to will in QQ softwares, this step
During the bag name of broadcast recipients is instructed added to broadcast message.Exemplary, the broadcast of an original counter application program
Message instruction is represented by when sending:
// create a broadcast message
Intent intent=new Intent (BROADCAST_COUNTER_ACTION);
// transfer counter parameter and corresponding count value
intent.putExtra(COUNTER_VALUE,counter);
// send broadcast message
sendBroadcast(intent)
In one embodiment, when sending the broadcast message, the bag name com.op.oppo of broadcast recipients is added to
In broadcast message, Ke Yishi:
Intent intent=new Intent (BROADCAST_COUNTER_ACTION, com.op.oppo)
S302, get after the register instruction of radio receiver, determine the corresponding broadcast transmission person of the register instruction.
Broadcast recipients' bag name in the corresponding broadcast message instruction of S303, the inquiry register instruction, according to inquiry knot
Registration of the fruit to the radio receiver is handled.
In this step, according to the broadcast transmission person determined in S302, the broadcast message of broadcast transmission person transmission is obtained
The bag name of the broadcast recipients of middle record, the message that the broadcast transmission person sends can be that pending broadcast in broadcast queue disappears
Breath, can also be that the broadcast transmission person sends the broadcast message recorded in broadcast message history.The broadcast recipients inquired
Bag name be configured in S301, the registration of the radio receiver is handled according to specific Query Result.Wherein, look into
Asking result can come according to the bag name of the broadcast recipients with the presence or absence of the broadcast recipients Bao Mingzhong of corresponding broadcast message instruction
It is determined that, specifically, can be the broadcast recipients bag name be recorded in allow receive the broadcast transmission person send broadcast disappear
The Bao Mingzhong of the broadcast recipients of breath or the bag name of the broadcast recipients, which are not recorded in, to be allowed to receive broadcast hair
The Bao Mingzhong of the broadcast recipients for the broadcast message that the person of sending sends.Registration progress processing to radio receiver includes responding the note
Volume instruction, and the registration of the corresponding radio receiver of registration content progress according to the register instruction, to cause broadcast recipients
Corresponding broadcast message is received according to the radio receiver of registration, can also be and forbid registering the radio receiver,
Thus, broadcast recipients can not complete the registration of radio receiver and then can not complete the reception of corresponding broadcast message.
A kind of register method of radio receiver is present embodiments provided, the broadcast message sent according to broadcast transmission person will
Allow the broadcast recipients' bag name for receiving the broadcast message to be added in broadcast message instruction, get the note of radio receiver
After volume instruction, the corresponding broadcast transmission person of the register instruction is determined, the corresponding broadcast message instruction of the register instruction is inquired about
In broadcast recipients' bag name, handle, solve existing wide according to registration of the Query Result to the radio receiver
The defect that recipient exists when receiving the broadcast that broadcast transmission person sends is broadcast, broadcast treatment effeciency is improved, reduces system
Resource consumption so that stability of a system increase.
On the basis of above-mentioned technical proposal, processing bag is carried out to the registration of the radio receiver according to Query Result
Include:If broadcast recipients' bag name is consistent with the bag name for the broadcast recipients for registering the radio receiver, allow institute
State the registration of radio receiver.
On the basis of above-mentioned technical proposal, after the registration for allowing the radio receiver, also include:In note
During the volume radio receiver, set and broadcast transmission person that the radio receiver is matched, when detecting the wide of the matching
When broadcasting sender's transmission broadcast message, the reception that the radio receiver is broadcast the message.In one embodiment, set and
The broadcast transmission person of the radio receiver matching can be taken when radio receiver is registered, and the bag name of broadcast transmission person is carried out
The mode of synchronous registration, thus, the broadcast recipients are only to possessing the broadcast transmission person of identical broadcasts sender's bag name transmission
Broadcast message carries out reception processing, it is to avoid malice broadcast transmission person sends a large amount of rubbish broadcast and is broadcasted recipient and receives and lead
The problem of system resource of cause is consumed excessively, also improves the safe class of system, it is to avoid the broadcast that Malware is sent is wide
Broadcasting recipient's reception processing causes the leakage of personal information.Specifically, the register instruction of radio receiver can be expressed as (to note
Exemplified by the broadcast message that volume count pick up device application program is sent):
// define a broadcast message interested
IntentFilter counterActionFilter=
new IntentFilter(CounterService.BROADCAST_COUNTER_ACTION);
The registration of // progress radio receiver
registerReceiver(counterActionReceiver,counterActionFilter)
In one embodiment, when carrying out the registration of radio receiver, the bag name of broadcast recipients is added, such as:
registerReceiver(counterActionReceiver,counterActionFilter,com.op.oppo)。
Fig. 4 is a kind of structured flowchart of the register device of radio receiver provided in an embodiment of the present invention, and the device is used for
The register method for the radio receiver that above-described embodiment is provided is performed, possesses the corresponding functional module of execution method and beneficial effect
Really.As shown in figure 4, the device is specifically included:Broadcast recipients' setup module 401, broadcast transmission person's determining module 402, broadcast
Recipient's enquiry module 403 and radio receiver Registering modules 404.
Wherein, broadcast recipients' setup module 401, the broadcast message for being sent according to broadcast transmission person, which is set, to be allowed to connect
The broadcast recipients for receiving the broadcast message;
Broadcast transmission person's determining module 402, for getting after the register instruction of radio receiver, determines that the registration refers to
Make corresponding broadcast transmission person;
Broadcast recipients' enquiry module 403, for inquiring about the permission that the corresponding broadcast transmission person of the register instruction is set
Receive the broadcast recipients of broadcast message;
Radio receiver Registering modules 404, are handled for the registration according to Query Result to the radio receiver.
The technical scheme that the present embodiment is provided, being set according to the broadcast message that broadcast transmission person sends allows to receive described wide
The broadcast recipients of message are broadcast, are got after the register instruction of radio receiver, the corresponding broadcast hair of the register instruction is determined
The person of sending, inquires about the broadcast recipients for allowing to receive broadcast message that the corresponding broadcast transmission person of the register instruction is set, foundation
Registration of the Query Result to the radio receiver is handled, and is solved existing broadcast recipients and is being received broadcast transmission person
The defect existed during the broadcast of transmission, improves broadcast treatment effeciency, reduces system resources consumption so that the stability of a system increases
Plus.
Optionally, broadcast recipients' setup module 401 specifically for:Setting allows to receive the wide of the broadcast message
Broadcast recipient's list;Accordingly, the reception broadcast that allows that the corresponding broadcast transmission person of the inquiry register instruction is set disappears
The broadcast recipients of breath include:That inquires about the corresponding broadcast transmission person's setting of the register instruction allows the wide of reception broadcast message
Broadcast recipient's list.
Optionally, the radio receiver Registering modules 404 specifically for:If existed in broadcast recipients' list
The broadcast recipients for registering the radio receiver, then allow the registration of the radio receiver.
Optionally, broadcast recipients' setup module 401 specifically for:The broadcast that receives the broadcast message will be allowed
During recipient's bag name is instructed added to broadcast message;Accordingly, the corresponding broadcast transmission person of the inquiry register instruction sets
The broadcast recipients for allowing to receive broadcast message put include:Inquire about wide in the corresponding broadcast message instruction of the register instruction
Broadcast recipient's bag name.
Optionally, the radio receiver Registering modules 404 specifically for:If broadcast recipients' bag name and registration
The bag name of the broadcast recipients of the radio receiver is consistent, then allows the registration of the radio receiver.
Optionally, also include:Broadcast transmission person's matching module 405, for register the radio receiver when, set and
The broadcast transmission person of the radio receiver matching, when the broadcast transmission person for detecting the matching sends broadcast message, institute
State the reception that radio receiver is broadcast the message.
The present embodiment provides a kind of terminal device on the basis of the various embodiments described above, and the terminal device can include this
The register device of the radio receiver provided is provided.Fig. 5 is a kind of structural representation of terminal device provided in an embodiment of the present invention
Figure, as shown in figure 5, the terminal device can include:Memory 501, central processing unit (Central Processing Unit,
CPU) 502, Peripheral Interface 503, RF (Radio Frequency, radio frequency) circuit 505, voicefrequency circuit 506, loudspeaker 511, electricity
Source control chip 508, input/output (I/O) subsystem 509, touch-screen 512, other input/control devicess 510 and outside
Port 504, these parts are communicated by one or more communication bus or signal wire 507.
It should be understood that graphic terminal 500 is only an example of terminal device, and terminal device 500
Can have than more or less parts 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
Hardware, software including integrated circuit or realization in the combination of hardware and software.
The terminal device of the rights management for opening application more provided below with regard to the present embodiment is described in detail, should
Terminal device is by taking smart mobile phone as an example.
Memory 501, the memory 501 can be accessed by CPU502, Peripheral Interface 503 etc., and the memory 501 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 CPU502 and deposited by Peripheral Interface 503, the Peripheral Interface 503
Reservoir 501.
I/O subsystems 509, the I/O subsystems 509 can be by the input/output peripheral in equipment, such as touch-screen 512
With other input/control devicess 510, Peripheral Interface 503 is connected to.I/O subsystems 509 can include the He of display controller 5091
One or more input controllers 5092 for controlling other input/control devicess 510.Wherein, one or more input controls
Device 5092 processed receives electric signal from other input/control devicess 510 or sends electric signal to other input/control devicess 510,
Other input/control devicess 510 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour
Vertical pole, click roller.What deserves to be explained is, input controller 5092 can with it is following any one be connected:Keyboard, infrared port,
The instruction equipment of USB interface and such as mouse.
Touch-screen 512, the touch-screen 512 is the input interface and output interface between user terminal and user, can
Depending on output display to user, visual output can include figure, text, icon, video etc..
Display controller 5091 in I/O subsystems 509 receives electric signal from touch-screen 512 or sent out to touch-screen 512
Electric signals.The contact detected is converted to and shown by the contact on the detection touch-screen of touch-screen 512, display controller 5091
The interaction of user interface object on touch-screen 512, that is, realize man-machine interaction, is shown in the user interface on touch-screen 512
Icon that object can be the icon of running game, be networked to corresponding network etc..What deserves to be explained is, equipment can also include light
Mouse, light mouse is the extension for not showing the touch sensitive surface visually exported, or the touch sensitive surface formed by touch-screen.
RF circuits 505, 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.Specifically, RF circuits 505 receive and send RF letters
Number, RF signals are also referred to as electromagnetic signal, and RF circuits 505 convert electrical signals to electromagnetic signal or electromagnetic signal is converted into telecommunications
Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuits 505 can include being used to perform
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, user's mark mould
Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 506, is mainly used in receiving voice data from Peripheral Interface 503, the voice data is converted into telecommunications
Number, and the electric signal is sent to loudspeaker 511.
Loudspeaker 511, for the voice signal for receiving mobile phone from wireless network by RF circuits 505, is reduced to sound
And play the sound to user.
Power management chip 508, the hardware for being connected by CPU502, I/O subsystem and Peripheral Interface is powered
And power management.
The executable following operations of CPU502 provided in an embodiment of the present invention:
The broadcast recipients for allowing to receive the broadcast message are set according to the broadcast message that broadcast transmission person sends;
Get after the register instruction of radio receiver, determine the corresponding broadcast transmission person of the register instruction;
The broadcast recipients for allowing to receive broadcast message that the corresponding broadcast transmission person of the register instruction is set are inquired about, according to
The registration of the radio receiver is handled according to Query Result.
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 it is various it is obvious change,
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
Other more 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 register method of radio receiver, it is characterised in that including:
The broadcast recipients for allowing to receive the broadcast message are set according to the broadcast message that broadcast transmission person sends;
Get after the register instruction of radio receiver, determine the corresponding broadcast transmission person of the register instruction;
The broadcast recipients for allowing to receive broadcast message that the corresponding broadcast transmission person of the register instruction is set are inquired about, foundation is looked into
Registration of the result to the radio receiver is ask to handle.
2. according to the method described in claim 1, it is characterised in that the setting allows the broadcast for receiving the broadcast message to connect
Receipts person includes:
The broadcast recipients' list for allowing to receive the broadcast message is set;
Accordingly, the broadcast for allowing to receive broadcast message that the corresponding broadcast transmission person of the inquiry register instruction is set connects
Receipts person includes:
Inquire about the broadcast recipients' list for allowing to receive broadcast message that the corresponding broadcast transmission person of the register instruction is set.
3. method according to claim 2, it is characterised in that described according to note of the Query Result to the radio receiver
Volume progress processing includes:
If there are the broadcast recipients for registering the radio receiver in broadcast recipients' list, allow the broadcast
The registration of receiver.
4. according to the method described in claim 1, it is characterised in that the setting allows the broadcast for receiving the broadcast message to connect
Receipts person includes:
The broadcast recipients' bag name for receiving the broadcast message will be allowed to be added in broadcast message instruction;
Accordingly, the broadcast for allowing to receive broadcast message that the corresponding broadcast transmission person of the inquiry register instruction is set connects
Receipts person includes:
The broadcast recipients' bag name inquired about in the corresponding broadcast message instruction of the register instruction.
5. method according to claim 4, it is characterised in that described according to note of the Query Result to the radio receiver
Volume progress processing includes:
If broadcast recipients' bag name is consistent with the bag name for the broadcast recipients for registering the radio receiver, allow institute
State the registration of radio receiver.
6. the method according to claim 3 or 5, it is characterised in that the registration for allowing the radio receiver it
Afterwards, also include:
When registering the radio receiver, the broadcast transmission person matched with the radio receiver is set, it is described when detecting
When the broadcast transmission person of matching sends broadcast message, the reception that the radio receiver is broadcast the message.
7. a kind of register device of radio receiver, it is characterised in that including:
Broadcast recipients' setup module, the broadcast message for being sent according to broadcast transmission person, which is set, to be allowed to receive the broadcast and disappears
The broadcast recipients of breath;
Broadcast transmission person's determining module, for getting after the register instruction of radio receiver, determines the register instruction correspondence
Broadcast transmission person;
Broadcast recipients' enquiry module, is broadcasted for inquiring about the reception that allows that the corresponding broadcast transmission person of the register instruction is set
The broadcast recipients of message;
Radio receiver Registering modules, are handled for the registration according to Query Result to the radio receiver.
8. device according to claim 7, it is characterised in that broadcast recipients' setup module specifically for:
The broadcast recipients' list for allowing to receive the broadcast message is set;
Accordingly, the broadcast for allowing to receive broadcast message that the corresponding broadcast transmission person of the inquiry register instruction is set connects
Receipts person includes:
Inquire about the broadcast recipients' list for allowing to receive broadcast message that the corresponding broadcast transmission person of the register instruction is set.
9. device according to claim 8, it is characterised in that the radio receiver Registering modules specifically for:
If there are the broadcast recipients for registering the radio receiver in broadcast recipients' list, allow the broadcast
The registration of receiver.
10. device according to claim 7, it is characterised in that broadcast recipients' setup module specifically for:
The broadcast recipients' bag name for receiving the broadcast message will be allowed to be added in broadcast message instruction;
Accordingly, the broadcast for allowing to receive broadcast message that the corresponding broadcast transmission person of the inquiry register instruction is set connects
Receipts person includes:
The broadcast recipients' bag name inquired about in the corresponding broadcast message instruction of the register instruction.
11. device according to claim 10, it is characterised in that the radio receiver Registering modules specifically for:
If broadcast recipients' bag name is consistent with the bag name for the broadcast recipients for registering the radio receiver, allow institute
State the registration of radio receiver.
12. the device according to claim 9 or 11, it is characterised in that also include:
Broadcast transmission person's matching module, for when registering the radio receiver, setting what is matched with the radio receiver
Broadcast transmission person, when the broadcast transmission person for detecting the matching sends broadcast message, the radio receiver is broadcasted
The reception of message.
13. a kind of terminal device, including:Processor, memory and storage can be run on a memory and on a processor
Computer program, it is characterised in that realize following steps during computer program described in the computing device:
The broadcast recipients for allowing to receive the broadcast message are set according to the broadcast message that broadcast transmission person sends;
Get after the register instruction of radio receiver, determine the corresponding broadcast transmission person of the register instruction;
The broadcast recipients for allowing to receive broadcast message that the corresponding broadcast transmission person of the register instruction is set are inquired about, foundation is looked into
Registration of the result to the radio receiver is ask to handle.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710141039.9A CN106953852B (en) | 2017-03-10 | 2017-03-10 | Registration method and device of broadcast receiver and terminal equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710141039.9A CN106953852B (en) | 2017-03-10 | 2017-03-10 | Registration method and device of broadcast receiver and terminal equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106953852A true CN106953852A (en) | 2017-07-14 |
CN106953852B CN106953852B (en) | 2019-12-31 |
Family
ID=59467378
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710141039.9A Active CN106953852B (en) | 2017-03-10 | 2017-03-10 | Registration method and device of broadcast receiver and terminal equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106953852B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107729158A (en) * | 2017-09-20 | 2018-02-23 | 惠州Tcl移动通信有限公司 | A kind of method, storage medium and the electronic equipment of simplified application program Register |
CN107968881A (en) * | 2017-11-22 | 2018-04-27 | 珠海市魅族科技有限公司 | End-point device broadcast processing method and processing device, terminal device and storage medium |
CN110209513A (en) * | 2019-06-06 | 2019-09-06 | 北京金山安全软件有限公司 | Broadcast registration method, device, equipment and medium of application program |
WO2023131109A1 (en) * | 2022-01-07 | 2023-07-13 | 北京有竹居网络技术有限公司 | Method and apparatus for registering broadcast |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120314864A1 (en) * | 2011-06-08 | 2012-12-13 | Tracfone Wireless, Inc. | Broadcast Replenishment of Account Parameters for Groups of Wireless Devices |
CN103595547A (en) * | 2013-11-15 | 2014-02-19 | 北京奇虎科技有限公司 | Broadcast intercept method and device of intelligent equipment |
CN104994481A (en) * | 2015-07-10 | 2015-10-21 | 上海斐讯数据通信技术有限公司 | Method and system for transceiving broadcast messages between application programs in Android system |
CN105357648A (en) * | 2015-10-10 | 2016-02-24 | 上海斐讯数据通信技术有限公司 | Method and Android system for sending broadcast message to application program |
CN105897438A (en) * | 2016-03-22 | 2016-08-24 | 上海斐讯数据通信技术有限公司 | Broadcast sending method and apparatus |
-
2017
- 2017-03-10 CN CN201710141039.9A patent/CN106953852B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20120314864A1 (en) * | 2011-06-08 | 2012-12-13 | Tracfone Wireless, Inc. | Broadcast Replenishment of Account Parameters for Groups of Wireless Devices |
CN103595547A (en) * | 2013-11-15 | 2014-02-19 | 北京奇虎科技有限公司 | Broadcast intercept method and device of intelligent equipment |
CN104994481A (en) * | 2015-07-10 | 2015-10-21 | 上海斐讯数据通信技术有限公司 | Method and system for transceiving broadcast messages between application programs in Android system |
CN105357648A (en) * | 2015-10-10 | 2016-02-24 | 上海斐讯数据通信技术有限公司 | Method and Android system for sending broadcast message to application program |
CN105897438A (en) * | 2016-03-22 | 2016-08-24 | 上海斐讯数据通信技术有限公司 | Broadcast sending method and apparatus |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107729158A (en) * | 2017-09-20 | 2018-02-23 | 惠州Tcl移动通信有限公司 | A kind of method, storage medium and the electronic equipment of simplified application program Register |
CN107729158B (en) * | 2017-09-20 | 2022-01-11 | 惠州Tcl移动通信有限公司 | Method for simplifying application program register, storage medium and electronic equipment |
CN107968881A (en) * | 2017-11-22 | 2018-04-27 | 珠海市魅族科技有限公司 | End-point device broadcast processing method and processing device, terminal device and storage medium |
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 |
WO2023131109A1 (en) * | 2022-01-07 | 2023-07-13 | 北京有竹居网络技术有限公司 | Method and apparatus for registering broadcast |
Also Published As
Publication number | Publication date |
---|---|
CN106953852B (en) | 2019-12-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106686557B (en) | Broadcast processing method, device and terminal device | |
CN106776036A (en) | A kind of resource allocation methods and device | |
CN107484190B (en) | Method for connecting network, mobile terminal and computer readable storage medium | |
CN106953852A (en) | Register method, device and the terminal device of radio receiver | |
CN107070670B (en) | Method, device and terminal equipment for controlling broadcast sender to send broadcast message | |
CN107423064A (en) | Message treatment method, device, terminal device and storage medium | |
CN106937258B (en) | A kind of control method of broadcast, device and mobile terminal | |
CN106919459A (en) | A kind of management method of broadcast recipients, device and terminal | |
CN106874131A (en) | Broadcast queue's method of adjustment, device and terminal device | |
US10785741B2 (en) | Registration method for broadcast receiver, terminal and storage medium | |
CN108769232A (en) | Application resource method for pushing, device, equipment and storage medium | |
US20200004612A1 (en) | Method of Generating Broadcast Queue, Storage Medium, and Terminal | |
CN106954191B (en) | Broadcast transmission method, apparatus and terminal device | |
CN106851593A (en) | A kind of broadcast transmission method, device and terminal | |
CN113395345B (en) | Network distribution method and device of Internet of things equipment and storage medium | |
CN106851595B (en) | Ordered broadcast processing method, device and terminal device | |
CN106936994B (en) | A kind of control method of broadcast recipients, device and mobile terminal | |
CN107861608A (en) | Notifications service control method, device, terminal device and storage medium | |
CN107995645A (en) | Method for connecting network, mobile terminal and computer-readable recording medium | |
CN106899943A (en) | Control broadcast transmission person sends method, device and the terminal device of broadcast message | |
CN106101361A (en) | The display packing of cell phone address book, device and mobile phone | |
CN106933684A (en) | A kind of control method of broadcast recipients, device and mobile terminal | |
CN108632955A (en) | network connection setting method, device, storage medium and terminal device | |
CN106332250A (en) | Processing method and device for network connection of mobile terminal, and the mobile terminal | |
CN113098754A (en) | Group revocation method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant before: Guangdong Opel Mobile Communications Co., Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |