CN106936996A - Send method, device and the terminal of shutdown broadcast - Google Patents

Send method, device and the terminal of shutdown broadcast Download PDF

Info

Publication number
CN106936996A
CN106936996A CN201710144284.5A CN201710144284A CN106936996A CN 106936996 A CN106936996 A CN 106936996A CN 201710144284 A CN201710144284 A CN 201710144284A CN 106936996 A CN106936996 A CN 106936996A
Authority
CN
China
Prior art keywords
broadcast
shutdown
broadcast message
recipients
priority
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710144284.5A
Other languages
Chinese (zh)
Other versions
CN106936996B (en
Inventor
裴润升
付亮晶
吴汝煜
林志泳
张俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710144284.5A priority Critical patent/CN106936996B/en
Publication of CN106936996A publication Critical patent/CN106936996A/en
Application granted granted Critical
Publication of CN106936996B publication Critical patent/CN106936996B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event 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)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses a kind of method for sending shutdown broadcast, device and terminal.The method includes:The shutdown broadcast message that monitoring system sends;When shutdown broadcast message is listened to, it is determined that receiving the broadcast recipients of the shutdown broadcast message;Determine that the broadcast recipients receive the priority of the shutdown broadcast message;According to the priority, the shutdown broadcast message is sent to corresponding broadcast recipients.The present invention is realized and sends shutdown broadcast message to corresponding broadcast recipients according to the priority orders of the broadcast recipients for receiving shutdown broadcast message, solve the problems, such as that sending shutdown broadcast message to all broadcast recipients for receiving shutdown broadcast message simultaneously causes systematic function big, systematic function expense is reduced, the processing speed of shutdown broadcast is improve.

Description

Send method, device and the terminal of shutdown broadcast
Technical field
The present embodiments relate to system broadcasts technology, more particularly to a kind of method for sending shutdown broadcast, device and end End.
Background technology
Android (Android) system is a kind of operating system of the terminals such as current widely used mobile phone.Android In system, there are many different application programs, in order to be rapidly performed by information transmission, Android in different application programs System is realized using broadcast mechanism, when having message to notify different application programs, is just sent this message by broadcast To different application programs.
Android system can send a shutdown broadcast message, it is necessary to receive the application of shutdown broadcast message in shutdown Program can receive this broadcast, then do the treatment work before some shutdown.If many application programs have registered reception Shutdown broadcast message, when system will shut down sends shutdown broadcast message, the application program that these registrations are received can be triggered simultaneously Close, cause systematic function expense very big, the processing speed of influence shutdown broadcast.
The content of the invention
The embodiment of the present invention provides a kind of method for sending shutdown broadcast, device and terminal, it is possible to reduce systematic function is opened Pin, improves the processing speed of shutdown broadcast.
In a first aspect, the embodiment of the invention provides a kind of method for sending shutdown broadcast, methods described includes:
The shutdown broadcast message that monitoring system sends;
When shutdown broadcast message is listened to, it is determined that receiving the broadcast recipients of the shutdown broadcast message;
Determine that the broadcast recipients receive the priority of the shutdown broadcast message;
According to the priority, the shutdown broadcast message is sent to corresponding broadcast recipients.
Second aspect, the embodiment of the present invention additionally provides a kind of device for sending shutdown broadcast, and described device includes:
Shutdown broadcast listening module, for the shutdown broadcast message that monitoring system sends;
Broadcast recipients' determining module, for when shutdown broadcast message is listened to, it is determined that receive the shutdown broadcast disappearing The broadcast recipients of breath;
Priority Determination module, for determining that the broadcast recipients receive the priority of the shutdown broadcast message;
Shutdown broadcast transmission module, for according to the priority, the shutdown broadcast message being sent to corresponding wide Broadcast recipient.
The third aspect, the embodiment of the present invention additionally provides a kind of terminal, including memory, processor and storage in memory Computer program that is upper and can running on a processor, following steps are realized described in the computing device during computer program:
The shutdown broadcast message that monitoring system sends;
When shutdown broadcast message is listened to, it is determined that receiving the broadcast recipients of the shutdown broadcast message;
Determine that the broadcast recipients receive the priority of the shutdown broadcast message;
According to the priority, the shutdown broadcast message is sent to corresponding broadcast recipients.
The technical scheme of the embodiment of the present invention, when being broadcast the message by the shutdown sent in the system of listening to, it is determined that receiving The broadcast recipients of the shutdown broadcast message, determine that the broadcast recipients receive the priority of the shutdown broadcast message, According to the priority, the shutdown broadcast message is sent to corresponding broadcast recipients, realized wide according to shutdown is received The priority orders for broadcasting the broadcast recipients of message send shutdown broadcast message to corresponding broadcast recipients, solve all same When to it is all receive shutdown broadcast message broadcast recipients send shutdown broadcast message cause the big problem of systematic function, reduce Systematic function expense, improves the processing speed of shutdown broadcast.
Brief description of the drawings
Fig. 1 is a kind of flow chart of method for sending shutdown broadcast provided in an embodiment of the present invention;
Fig. 2 is a kind of flow chart of the method for transmission shutdown broadcast that one embodiment of the invention is provided;
Fig. 3 is a kind of flow chart of the method for transmission shutdown broadcast that one embodiment of the invention is provided;
Fig. 4 is a kind of structural representation of device for sending shutdown broadcast provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of terminal provided in an embodiment of the present invention.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that, in order to just Part rather than full content related to the present invention is illustrate only in description, accompanying drawing.
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail The treatment described as flow chart or method.Although each step to be described as flow chart the treatment of order, many of which Step can be implemented concurrently, concomitantly or simultaneously.Additionally, the order of each step can be rearranged.When its operation The treatment can be terminated during completion, it is also possible to have the additional step being not included in accompanying drawing.The treatment can be with Corresponding to method, function, code, subroutine, subprogram etc..
Fig. 1 is a kind of flow chart of method for sending shutdown broadcast provided in an embodiment of the present invention, and the present embodiment is applicable In the situation that shutdown broadcast is sent according to the priority of broadcast recipients, the method can be held by the device for sending shutdown broadcast OK, wherein the device can be realized that the device can be integrated in terminal by software and/or hardware, the terminal can be smart mobile phone, Panel computer etc., the method comprises the following steps:
Step 110, the shutdown broadcast message that monitoring system sends.
When the power key that user presses terminal is shut down, system receives shutdown command, sends corresponding shutdown wide Broadcast message.
Wherein, broadcast mechanism is substantially a kind of communication modes of inter-module in the operating system of terminal, is a kind of wide The general mechanism with transmission message among applications.For example under the Android system of terminal, after thering are certain operations to complete, Broadcast message can be sent.Broadcast message can be the various event message data of generation in operating system, such as hair Go out a short message or get a phone, can all send broadcast, when certain application program have received this broadcast, it is possible to do Go out corresponding treatment.Broadcast transmission person can be system and application software.Application software can be mounted to mobile phone Etc. the application program that the third-party application software or system of terminal are carried, for example:It is installed on the third-party application software of terminal Can be including wechat client, QQ clients, Taobao's client and Alipay client etc., the application program that system is carried can be with Including calendar, clock, weather and note etc..Broadcast message can be system broadcasts and application broadcast, wherein, system broadcasts can be with It is wide including bright screen broadcast, the broadcast of breath screen, unblock broadcast, network state change broadcast, bluetooth state change broadcast, switching language Broadcast, switch theme broadcast etc., can be the broadcast sent by application software using broadcast.
When the power key that user presses terminal is shut down, system receives shutdown command, sends corresponding shutdown wide Broadcast message.Can by the dynamic of broadcast control module (such as ActivityManagerService) monitoring system in terminal, Whether detecting system sends shutdown broadcast message.Wherein, speech amplifiers of the ActivityManagerService in android system The role of broadcasting center is play in system, is responsible for the registration and issue operation of all broadcast in system, wherein, the registration of broadcast is Refer to that application program is registered to radio receiver the process of ActivityManagerService.The issue of broadcast includes that broadcast is sent out The person of sending by broadcast transmission to ActivityManagerService, ActivityManagerService receive this broadcast after Check which radio receiver have subscribed the broadcast in the registration center of oneself, this broadcast has then been sent to these one by one In radio receiver.In android system, the shutdown broadcast message that monitoring system sends passes through ActivityManagerService comes whether monitoring system is sent to shutdown broadcast message ActivityManagerService, will shutdown broadcast message hair when system is listened to by ActivityManagerService When being sent to ActivityManagerService, it is determined that listening to system have issued shutdown broadcast message.
Step 120, when shutdown broadcast message is listened to, it is determined that receiving the broadcast recipients of the shutdown broadcast message.
When shutdown broadcast message is listened to, have registered to receive the radio receiver of shutdown broadcast message by inquiry, So that it is determined that receiving the broadcast recipients of the shutdown broadcast message.
Exemplary, in android system, the broadcast message that broadcast transmission person will issue is sent to ActivityManagerService, ActivityManagerService have been checked after receiving broadcast message in registration center Which radio receiver have subscribed the broadcast, at this moment can determine that registering the radio receiver for receiving the broadcast message (broadcasts Receiving process), can determine to receive broadcast recipients' (application program or system) of the broadcast message by radio receiver.
Step 130, determines that the broadcast recipients receive the priority of the shutdown broadcast message.
After the broadcast recipients that shutdown broadcast message is determined, institute can be determined according to the significance level of broadcast recipients The priority that broadcast recipients receive the shutdown broadcast message is stated, if for example, broadcast recipients are system applications, it is determined that The priority of broadcast message is priority higher;If broadcast recipients are third party applications, it is determined that broadcast message Priority be relatively low priority.Can also be that the application program of user's current operation is received into the preferential of shutdown broadcast message Level is set to limit priority, is easy to preserve the information of the application program.
In one embodiment, determine that the broadcast recipients receive the priority of the shutdown broadcast message, optional bag Include:
Obtain the corresponding relation of the application attribute and priority for pre-building;
Determine the application attribute of the broadcast recipients;
According to the application attribute and the corresponding relation, determine that the broadcast recipients receive the shutdown broadcast message Priority.
Wherein, application attribute is the attribute that the application program for receiving shutdown broadcast message in shut-down-phase has, if desired for Application, system-based application, system important application that user edits etc. are, it is necessary to the application that user edits receives shutdown broadcast message Priority can set it is higher, can avoid lose user important information.
The application attribute of the broadcast recipients for receiving shutdown broadcast message can be pre-build and shutdown broadcast message is received Priority corresponding relation, so as to it is determined that broadcast recipients receive shutdown broadcast message priority when first determine that broadcast connects The application attribute of receipts person, the application attribute being had according to broadcast recipients and the corresponding relation, it may be determined that broadcast recipients The priority of shutdown broadcast message is received, the speed for determining priority is improve, so as to accelerate the treatment of shutdown broadcast message Speed.
Step 140, according to the priority, corresponding broadcast recipients is sent to by the shutdown broadcast message.
According to the priority, the shutdown broadcast message is sent to accordingly according to the priority orders of broadcast recipients Broadcast recipients.Shutdown broadcast message is first sent to the broadcast recipients with limit priority, tool is then sent to There are the broadcast recipients of secondary one-level priority, until being sent to all of broadcast recipients.
Exemplary, what can be set the priority that the application program of user's current operation receives shutdown broadcast message is higher A bit, such that it is able to the mode of operation and the current information of application program of the preservation user in shutdown, for example, user's current operation It is word document, then shutdown broadcast message is first sent to word document, is easy to word document to preserve current information, it is to avoid to lose The content of the newest editor in appraxia family.
The technical scheme of the present embodiment, when being broadcast the message by the shutdown sent in the system of listening to, it is determined that receiving described The broadcast recipients of broadcast message of shutting down, determine that the broadcast recipients receive the priority of the shutdown broadcast message, according to The priority, corresponding broadcast recipients are sent to by the shutdown broadcast message, are realized and are disappeared according to reception shutdown broadcast The priority orders of the broadcast recipients of breath send shutdown broadcast message to corresponding broadcast recipients, solve it is all and meanwhile to All broadcast recipients for receiving shutdown broadcast message send shutdown broadcast message causes the big problem of systematic function, reduces and is System performance cost, improves the processing speed of shutdown broadcast.
Fig. 2 is a kind of flow chart of the method for transmission shutdown broadcast that one embodiment of the invention is provided, the present embodiment institute The method stated comprises the following steps:
Step 210, the shutdown broadcast message that monitoring system sends.
Step 220, when shutdown broadcast message is listened to, it is determined that receiving the broadcast recipients of the shutdown broadcast message.
Step 230, determines that the broadcast recipients receive the priority of the shutdown broadcast message.
Step 240, according to the priority, corresponding broadcast recipients is sent to by the shutdown broadcast message.
Step 250, records the current state information of the broadcast recipients, and closes the broadcast recipients.
Wherein, current state information can be the Current Content state of the document of user's operation, or working as game Preceding progress status, can also be viewing progress of video etc..
After the broadcast recipients that broadcast message of shutting down is sent into respective priority, the current of the broadcast recipients is recorded Status information, then turns off the broadcast recipients, and directly shutdown can be avoided to cause to lose important information.
The technical scheme of the present embodiment, by the way that shutdown broadcast message is being sent into corresponding broadcast reception according to priority After person, the current state information of the broadcast recipients is recorded, and close the broadcast recipients, realized and closed not according to priority The broadcast recipients of same priority, solve the problems, such as that all broadcast recipients trigger the overhead for bringing simultaneously big, reduce Systematic function expense, improves the processing speed of shutdown broadcast, and by recording the current state information of broadcast recipients, can To avoid losing important information.
Fig. 3 is a kind of flow chart of the method for transmission shutdown broadcast that one embodiment of the invention is provided, the present embodiment institute The method stated comprises the following steps:
Step 310, the shutdown broadcast message that monitoring system sends.
Step 320, when shutdown broadcast message is listened to, it is determined that receiving the broadcast recipients of the shutdown broadcast message.
Step 330, timing is carried out when shutdown broadcast message is listened to.
From listen to shutdown broadcast message when proceed by timing avoid treatment shutdown broadcast message time compared with It is long, lead to not the situation of shutdown.The method of timing can be realized with calling system clock, or carry out timing using timer.
In one embodiment, carry out timing when shutdown broadcast message is listened to, it is optional including:
When shutdown broadcast message is listened to, starting timer carries out timing.
When shutdown broadcast message is listened to, start timer to carry out timing, the accuracy of timing can be improved.
Step 340, determines that the broadcast recipients receive the priority of the shutdown broadcast message.
Step 350, according to the priority, corresponding broadcast recipients is sent to by the shutdown broadcast message.
Step 360, if timing exceedes default time-out time, interrupts the treatment to shutdown broadcast message and shuts down disconnected Electricity.
Default time-out time is set, if in the processing procedure of shutdown broadcast message, when timing exceedes default time-out Between, shutdown broadcast message is not disposed also, then treatment and directly shutdown power-off to shutdown broadcast message are interrupted, to avoid There is Caton phenomenon and cannot shut down during system treatment shutdown broadcast message.
For example:The priority that broadcast recipients receive shutdown broadcast message has three priority:Limit priority, second priority Level and lowest priority, timing exceedes default super during shutdown broadcast message is sent to the broadcast recipients of sub-priority When the time, then now interrupt the treatment to shutdown broadcast message, that is, do not continue to send shutdown broadcast message, and it is disconnected directly to shut down Electricity.
The technical scheme of the present embodiment, by carrying out timing when shutdown broadcast message is listened to, and broadcasts according to shutdown The priority orders that the broadcast recipients of message receive shutdown broadcast message disappear to corresponding broadcast recipients transmission shutdown broadcast Breath, solving while sending broadcast message of shutting down to all broadcast recipients for receiving shutdown broadcast message causes systematic function big Problem, reduce systematic function expense, improve shutdown broadcast processing speed, and using shutdown broadcast message time-out at Reason mechanism occurs come the situation for avoiding system from Caton phenomenon occur and cannot shut down when processing shutdown broadcast message.
Fig. 4 is a kind of structural representation of device for sending shutdown broadcast provided in an embodiment of the present invention, as shown in figure 4, The device of the transmission shutdown broadcast described in the present embodiment includes:Shutdown broadcast listening module 410, broadcast recipients' determining module 420th, Priority Determination module 430 and shutdown broadcast transmission module 440.
Wherein, shutdown broadcast listening module 410, for the shutdown broadcast message that monitoring system sends;
Broadcast recipients' determining module 420, for when shutdown broadcast message is listened to, it is determined that receiving the shutdown broadcast The broadcast recipients of message;
Priority Determination module 430, for determining that the broadcast recipients receive the priority of the shutdown broadcast message;
Shutdown broadcast transmission module 440, for according to the priority, the shutdown broadcast message being sent to corresponding Broadcast recipients.
Optionally, the Priority Determination module includes:
Corresponding relation acquiring unit, the corresponding relation for obtaining the application attribute for pre-building and the priority;
Application attribute determining unit, the application attribute for determining the broadcast recipients;
Priority determining unit, for according to the application attribute and the corresponding relation, determining the broadcast recipients Receive the priority of the shutdown broadcast message.
Optionally, also include:
Broadcast recipients' closedown module, for by it is described shutdown broadcast message be sent to corresponding broadcast recipients it Afterwards, the current state information of the broadcast recipients is recorded, and closes the broadcast recipients.
Optionally, also include:
Timing module, for carrying out timing when shutdown broadcast message is listened to;
Timeout treatment module, if exceeding default time-out time for timing, interrupts the treatment to shutdown broadcast message And power-off of shutting down.
Optionally, the timing module specifically for:
When shutdown broadcast message is listened to, starting timer carries out timing.
The device of above-mentioned transmission shutdown broadcast can perform the side of the transmission shutdown broadcast that any embodiment of the present invention is provided Method, possesses the corresponding functional module of execution method and beneficial effect.Ins and outs of detailed description in the present embodiment, can not join The method for seeing the transmission shutdown broadcast that any embodiment of the present invention is provided.
The embodiment of the present invention additionally provides a kind of terminal, and the terminal can include the transmission that any embodiment of the present invention is provided Shut down the device broadcasted.Fig. 5 is a kind of structural representation of terminal provided in an embodiment of the present invention, as shown in figure 5, the terminal can To include:Housing (not shown), memory 501, central processing unit (Central Processing Unit, CPU) 502 (also known as processor, hereinafter referred to as CPU), the computer program that store on memory 501 and can run on processor 502, Circuit board (not shown) and power circuit (not shown).The circuit board is placed in the space that the housing is surrounded Portion;The CPU502 and the memory 501 are arranged on the circuit board;The power circuit, for being the terminal Each circuit or device are powered;The memory 501, for storing the computer program that can be run on a processor;It is described CPU402 passes through to read and perform the computer program stored in the memory 501.
The terminal also includes:Peripheral Interface 503, RF (Radio Frequency, radio frequency) circuit 505, voicefrequency circuit 506, Loudspeaker 511, power management 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 holding wire 507.
It should be understood that graphic terminal 500 is only an example of terminal, and terminal 500 can have than figure Shown in more or less parts, two or more parts can be combined, or can have different portions Part is configured.Various parts shown in figure can be including including one or more signal transactings and/or application specific integrated circuit Hardware, software or hardware and software combination in realize.
It is described in detail for sending the terminal of shutdown broadcast with regard to what the present embodiment was provided below, the terminal is with mobile phone As a example by.
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 (equivalent to the screen in above-described embodiment) and other input/control devicess 510, are connected to Peripheral Interface 503.I/O subsystems 509 can include display controller 5091 and one or more input controllers for controlling other input/control devicess 510 5092.Wherein, one or more input controllers 5092 from other input/control devicess 510 receive electric signal or to other Input/control devices 510 sends electric signal, and other input/control devicess 510 can include physical button (pressing button, rocking arm Button etc.), dial, slide switch, control stick, click on roller.What deserves to be explained is, input controller 5092 can with it is following Any one connection:The instruction equipment of keyboard, infrared port, 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 be including figure, text, icon, video etc..
Display controller 5091 in I/O subsystems 509 receives electric signal or is sent out to touch-screen 512 from touch-screen 512 Electric signals.Contact on the detection touch-screen of touch-screen 512, the contact that display controller 5091 will be detected is converted to and display The interaction of the user interface object on touch-screen 512, that is, realize man-machine interaction, is displayed in the user interface on touch-screen 512 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 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 etc..Specifically, RF circuits 505 are received 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 with communication network and other equipment by the electromagnetic signal.RF circuits 505 can be included for performing The known circuit of these functions, it includes but is not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one Individual or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, ID mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 506, is mainly used in receiving voice data from Peripheral Interface 503, and 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, for being powered by the hardware that CPU502, I/O subsystem and Peripheral Interface are connected And power management.
CPU502 provided in an embodiment of the present invention realized in the computer program stored in performing the memory 501 with Lower step:
The shutdown broadcast message that monitoring system sends;
When shutdown broadcast message is listened to, it is determined that receiving the broadcast recipients of the shutdown broadcast message;
Determine that the broadcast recipients receive the priority of the shutdown broadcast message;
According to the priority, the shutdown broadcast message is sent to corresponding broadcast recipients.
Above-mentioned terminal can perform the method that any embodiment of the present invention is provided, and possess the corresponding functional module of execution method And beneficial effect.
Note, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although the present invention is carried out by above example It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also More other Equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (11)

1. it is a kind of to send the method that shutdown is broadcasted, it is characterised in that methods described includes:
The shutdown broadcast message that monitoring system sends;
When shutdown broadcast message is listened to, it is determined that receiving the broadcast recipients of the shutdown broadcast message;
Determine that the broadcast recipients receive the priority of the shutdown broadcast message;
According to the priority, the shutdown broadcast message is sent to corresponding broadcast recipients.
2. method according to claim 1, it is characterised in that determine that the broadcast recipients receive the shutdown broadcast and disappear The priority of breath, including:
Obtain the corresponding relation of the application attribute and priority for pre-building;
Determine the application attribute of the broadcast recipients;
According to the application attribute and the corresponding relation, determine that the broadcast recipients receive the excellent of the shutdown broadcast message First level.
3. method according to claim 1, it is characterised in that the shutdown broadcast message is being sent to corresponding broadcast After recipient, also include:
The current state information of the broadcast recipients is recorded, and closes the broadcast recipients.
4. according to any described methods of claim 1-3, it is characterised in that also include:
Timing is carried out when shutdown broadcast message is listened to;
If timing exceedes default time-out time, the treatment and power-off of shutting down to shutdown broadcast message are interrupted.
5. method according to claim 4, it is characterised in that carry out timing when shutdown broadcast message is listened to, including:
When shutdown broadcast message is listened to, starting timer carries out timing.
6. it is a kind of to send the device that shutdown is broadcasted, it is characterised in that described device includes:
Shutdown broadcast listening module, for the shutdown broadcast message that monitoring system sends;
Broadcast recipients' determining module, for when shutdown broadcast message is listened to, it is determined that receiving the shutdown broadcast message Broadcast recipients;
Priority Determination module, for determining that the broadcast recipients receive the priority of the shutdown broadcast message;
Shutdown broadcast transmission module, for according to the priority, the shutdown broadcast message being sent into corresponding broadcast and being connect Receipts person.
7. device according to claim 6, it is characterised in that the Priority Determination module includes:
Corresponding relation acquiring unit, the corresponding relation for obtaining the application attribute for pre-building and the priority;
Application attribute determining unit, the application attribute for determining the broadcast recipients;
Priority determining unit, for according to the application attribute and the corresponding relation, determining that the broadcast recipients receive The priority of the shutdown broadcast message.
8. device according to claim 6, it is characterised in that also include:
Broadcast recipients' closedown module, for being sent to after corresponding broadcast recipients by the shutdown broadcast message, remembers The current state information of the broadcast recipients is recorded, and closes the broadcast recipients.
9. according to any described devices of claim 6-8, it is characterised in that also include:
Timing module, for carrying out timing when shutdown broadcast message is listened to;
Timeout treatment module, if exceeding default time-out time for timing, interrupts the treatment to shutdown broadcast message and closes Machine is powered off.
10. device according to claim 9, it is characterised in that the timing module specifically for:
When shutdown broadcast message is listened to, starting timer carries out timing.
A kind of 11. terminals, including memory, processor and storage are on a memory and the computer journey that can run on a processor Sequence, it is characterised in that realize following steps during computer program described in the computing device:
The shutdown broadcast message that monitoring system sends;
When shutdown broadcast message is listened to, it is determined that receiving the broadcast recipients of the shutdown broadcast message;
Determine that the broadcast recipients receive the priority of the shutdown broadcast message;
According to the priority, the shutdown broadcast message is sent to corresponding broadcast recipients.
CN201710144284.5A 2017-03-10 2017-03-10 Method, device and terminal for sending shutdown broadcast Expired - Fee Related CN106936996B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710144284.5A CN106936996B (en) 2017-03-10 2017-03-10 Method, device and terminal for sending shutdown broadcast

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710144284.5A CN106936996B (en) 2017-03-10 2017-03-10 Method, device and terminal for sending shutdown broadcast

Publications (2)

Publication Number Publication Date
CN106936996A true CN106936996A (en) 2017-07-07
CN106936996B CN106936996B (en) 2019-12-06

Family

ID=59432202

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710144284.5A Expired - Fee Related CN106936996B (en) 2017-03-10 2017-03-10 Method, device and terminal for sending shutdown broadcast

Country Status (1)

Country Link
CN (1) CN106936996B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108108195A (en) * 2017-12-29 2018-06-01 北京奇宝科技有限公司 Control method, device and the computer readable storage medium of smart machine

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130040597A1 (en) * 2011-08-10 2013-02-14 Samsung Electronics Co. Ltd. System and method for applying extended accessing barring in wireless communication system
CN103491507A (en) * 2013-09-05 2014-01-01 深圳市欧珀通信软件有限公司 Method and device for relocation of orderly broadcast priority
CN104270763A (en) * 2014-10-27 2015-01-07 中国建设银行股份有限公司 Message protection method and system
CN105407484A (en) * 2015-10-20 2016-03-16 广东欧珀移动通信有限公司 Broadcast information processing method, device and system based on intelligent terminal system
CN105897438A (en) * 2016-03-22 2016-08-24 上海斐讯数据通信技术有限公司 Broadcast sending method and apparatus
US20160381523A1 (en) * 2015-06-29 2016-12-29 Qualcomm Incorporated Packet priority for evolved multimedia broadcast multicast (embms) service relays

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130040597A1 (en) * 2011-08-10 2013-02-14 Samsung Electronics Co. Ltd. System and method for applying extended accessing barring in wireless communication system
CN103491507A (en) * 2013-09-05 2014-01-01 深圳市欧珀通信软件有限公司 Method and device for relocation of orderly broadcast priority
CN104270763A (en) * 2014-10-27 2015-01-07 中国建设银行股份有限公司 Message protection method and system
US20160381523A1 (en) * 2015-06-29 2016-12-29 Qualcomm Incorporated Packet priority for evolved multimedia broadcast multicast (embms) service relays
CN105407484A (en) * 2015-10-20 2016-03-16 广东欧珀移动通信有限公司 Broadcast information processing method, device and system based on intelligent terminal system
CN105407484B (en) * 2015-10-20 2018-11-16 广东欧珀移动通信有限公司 Broadcast message processing method based on intelligent terminal system, apparatus and system
CN105897438A (en) * 2016-03-22 2016-08-24 上海斐讯数据通信技术有限公司 Broadcast sending method and apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108108195A (en) * 2017-12-29 2018-06-01 北京奇宝科技有限公司 Control method, device and the computer readable storage medium of smart machine

Also Published As

Publication number Publication date
CN106936996B (en) 2019-12-06

Similar Documents

Publication Publication Date Title
CN104243671B (en) Volume adjusting method, device and electronic equipment
CN107770759B (en) Bluetooth voice link establishing method and device, storage medium and mobile terminal
CN108108142A (en) Voice information processing method, device, terminal device and storage medium
CN108509176A (en) A kind of method, apparatus of playing audio-fequency data, storage medium and intelligent terminal
CN108920070B (en) Screen splitting method and device based on special-shaped display screen, storage medium and mobile terminal
CN106844069A (en) Adjust method, device and the terminal of broadcast message queue
CN106851016A (en) Broadcast the message method, device and the terminal queued up
CN108093451B (en) Random access control method, device, storage medium and mobile terminal
CN106851014A (en) Adjust method, device and the terminal of broadcast message queue
CN108933968B (en) Message format conversion method and device, storage medium and android terminal
CN107423064A (en) Message treatment method, device, terminal device and storage medium
CN107040661A (en) Control method, device and the mobile terminal of mobile terminal playing volume
CN107070670A (en) Broadcast transmission person is controlled to send method, device and the terminal device of broadcast message
CN109669662A (en) A kind of pronunciation inputting method, device, storage medium and mobile terminal
US10990460B2 (en) Method of generating broadcast queue, storage medium, and terminal
WO2018161969A1 (en) Broadcast queue adjustment method and apparatus, and terminal device
CN109195197A (en) Dual-card dual-standby terminal network selecting method, device, terminal device and storage medium
US10863521B1 (en) Broadcast receiver control method and apparatus, and mobile terminal
CN108833033B (en) Method and device for determining radio frequency calibration parameters, storage medium and mobile terminal
CN110944318B (en) Lock card setting method and device, storage medium and terminal
CN106776847B (en) Method and device for deleting media file and mobile terminal
CN107766218A (en) system optimization method, device, storage medium and terminal device
CN109614248B (en) Message compression method, device, storage medium and terminal equipment
CN106936996A (en) Send method, device and the terminal of shutdown broadcast
CN106851595A (en) ordered broadcast processing method, device and terminal device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 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: 20191206