CN109379719A - A kind of application program broadcast processing method, equipment and computer readable storage medium - Google Patents

A kind of application program broadcast processing method, equipment and computer readable storage medium Download PDF

Info

Publication number
CN109379719A
CN109379719A CN201811415058.7A CN201811415058A CN109379719A CN 109379719 A CN109379719 A CN 109379719A CN 201811415058 A CN201811415058 A CN 201811415058A CN 109379719 A CN109379719 A CN 109379719A
Authority
CN
China
Prior art keywords
broadcast message
message
broadcast
receiving end
application program
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
CN201811415058.7A
Other languages
Chinese (zh)
Other versions
CN109379719B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201811415058.7A priority Critical patent/CN109379719B/en
Publication of CN109379719A publication Critical patent/CN109379719A/en
Application granted granted Critical
Publication of CN109379719B publication Critical patent/CN109379719B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information

Abstract

The invention discloses a kind of application program broadcast processing method, equipment and computer readable storage mediums, wherein this method comprises: the broadcast message that monitoring transmitting terminal is issued, parses the attribute information of the broadcast message;Then, the processing status of the broadcast message is determined according to the reception state of the attribute information and the receiving end of the broadcast message;Subsequently, the message number and the processing status of the broadcast message are detected in predetermined period;Finally, increasing default delay to the broadcast message if the message number is more than default value and the processing status is in a busy state.Realize a kind of application program broadcast processing scheme of hommization, so that the communication of the broadcast message between application program is more smoothly, the execution efficiency of broadcast message is higher, avoids and causes application program to enhance user experience without response because of frequent broadcast message.

Description

A kind of application program broadcast processing method, equipment and computer readable storage medium
Technical field
The present invention relates to mobile communication field more particularly to a kind of application program broadcast processing methods, equipment and computer Readable storage medium storing program for executing.
Background technique
In the prior art, since the broadcast mechanism under Mobile operating system is more single, when frequently going out between application program When now broadcast message is sent, there is the case where without responding in the application program that may cause message sink end, since problem goes out In the transmitting terminal of broadcast message, therefore, there is the more difficult positioning of the case where without response in the application program of receiving end.In actual use In the process, frequently there is the case where without response because of broadcast message in application program, brings to the normal use of user biggish It influences.
Summary of the invention
In order to solve above-mentioned technological deficiency in the prior art, the invention proposes a kind of application programs to broadcast processing side Method, this method comprises:
The broadcast message that monitoring transmitting terminal is issued, parses the attribute information of the broadcast message;
The broadcast message is determined according to the reception state of the attribute information and the receiving end of the broadcast message Processing status;
The message number and the processing status of the broadcast message are detected in predetermined period;
If the message number is more than default value and the processing status is in a busy state, to the broadcast message Increase default delay.
Optionally, the broadcast message that the monitoring transmitting terminal is issued, parses the attribute information of the broadcast message, wraps It includes:
Monitor the broadcast message that the transmitting terminal is issued, wherein the transmitting terminal includes at least one first and applies journey Sequence;
The attribute information for parsing the broadcast message determines the receiving end of the broadcast message according to the attribute information, Wherein, the receiving end includes at least second application program.
Optionally, described according to the determination of the reception state of the attribute information and the receiving end of the broadcast message The processing status of broadcast message, comprising:
The attribute information is parsed, the News Category and message content of the broadcast message are obtained;
The reception state for obtaining the receiving end determines the broadcast in conjunction with the reception state and the attribute information Processing status of the message in the receiving end.
Optionally, the message number that the broadcast message is detected in predetermined period and the processing status, packet It includes:
Set the predetermined period after the broadcast message is sent for the first time;
In the predetermined period, the message number of the broadcast message is detected, if the message number is more than described pre- If numerical value, it is determined that the transmitting terminal is in abnormality;
If the transmitting terminal is in abnormality, the broadcast message is detected in the processing status of the receiving end.
Optionally, if the message number is more than default value and the processing status is in a busy state, to The broadcast message increases default delay, comprising:
According to the previous of the weight information of the receiving end, the system asset information of the receiving end and the receiving end The processing status of secondary broadcast message determines the default time delay;
If detecting, the current broadcast message of the receiving end is in a busy state, increases institute to broadcast message next time State default time delay.
The invention also provides a kind of application program broadcast processing apparatus, which includes memory, processor and storage On the memory and the computer program that can run on the processor, the computer program are held by the processor It is realized when row:
The broadcast message that monitoring transmitting terminal is issued, parses the attribute information of the broadcast message;
The broadcast message is determined according to the reception state of the attribute information and the receiving end of the broadcast message Processing status;
The message number and the processing status of the broadcast message are detected in predetermined period;
If the message number is more than default value and the processing status is in a busy state, to the broadcast message Increase default delay.
Optionally, it is realized when the computer program is executed by the processor:
Monitor the broadcast message that the transmitting terminal is issued, wherein the transmitting terminal includes at least one first and applies journey Sequence;
The attribute information for parsing the broadcast message determines the receiving end of the broadcast message according to the attribute information, Wherein, the receiving end includes at least second application program.
Optionally, it is realized when the computer program is executed by the processor:
The attribute information is parsed, the News Category and message content of the broadcast message are obtained;
The reception state for obtaining the receiving end determines the broadcast in conjunction with the reception state and the attribute information Processing status of the message in the receiving end.
Optionally, it is realized when the computer program is executed by the processor:
Set the predetermined period after the broadcast message is sent for the first time;
In the predetermined period, the message number of the broadcast message is detected, if the message number is more than described pre- If numerical value, it is determined that the transmitting terminal is in abnormality;
If the transmitting terminal is in abnormality, the broadcast message is detected in the processing status of the receiving end;
According to the previous of the weight information of the receiving end, the system asset information of the receiving end and the receiving end The processing status of secondary broadcast message determines the default time delay;
If detecting, the current broadcast message of the receiving end is in a busy state, increases institute to broadcast message next time State default time delay.
The invention also provides a kind of computer readable storage medium, application is stored on the computer readable storage medium Program broadcast processing routine, application program broadcast handler realize application as described in any one of the above embodiments when being executed by processor The step of program broadcast processing method.
Implement application program broadcast processing method, equipment and computer readable storage medium of the invention, is sent out by monitoring The broadcast message that sending end is issued parses the attribute information of the broadcast message;Then, according to the attribute information and described The reception state of the receiving end of broadcast message determines the processing status of the broadcast message;Subsequently, it is detected in predetermined period The message number of the broadcast message and the processing status;Finally, if the message number is more than default value and described Processing status is in a busy state, then increases default delay to the broadcast message.Realize a kind of application program of hommization Processing scheme is broadcasted, so that the communication of the broadcast message between application program is more smoothly, the execution efficiency of broadcast message is higher, It avoids and causes application program to enhance user experience without response because of frequent broadcast message.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
Fig. 1 is a kind of hardware structural diagram of mobile terminal of the present invention;
Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention;
Fig. 3 is the flow chart of application program broadcast processing method first embodiment of the present invention;
Fig. 4 is the flow chart of application program broadcast processing method second embodiment of the present invention;
Fig. 5 is the flow chart of application program broadcast processing method 3rd embodiment of the present invention;
Fig. 6 is the flow chart of application program broadcast processing method fourth embodiment of the present invention;
Fig. 7 is the flow chart of the 5th embodiment of application program broadcast processing method of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
Embodiment one
Fig. 3 is the flow chart of application program broadcast processing method first embodiment of the present invention.A kind of application program broadcasts place Reason method, this method comprises:
The broadcast message that S1, monitoring transmitting terminal are issued, parses the attribute information of the broadcast message;
S2, the broadcast message is determined according to the reception state of the attribute information and the receiving end of the broadcast message Processing status;
S3, the message number that the broadcast message is detected in predetermined period and the processing status;
If S4, the message number are more than default value and the processing status is in a busy state, to the broadcast Message increases default delay.
In the present embodiment, firstly, the broadcast message that monitoring transmitting terminal is issued, parses the attribute letter of the broadcast message Breath;Then, the broadcast message is determined according to the reception state of the attribute information and the receiving end of the broadcast message Processing status;Subsequently, the message number and the processing status of the broadcast message are detected in predetermined period;Finally, If the message number is more than default value and the processing status is in a busy state, increase to the broadcast message default Delay.
Specifically, in the present embodiment, monitoring the broadcast message that transmitting terminal is issued first, parsing the broadcast message Attribute information.Wherein, the transmitting terminal of the present embodiment and the receiving end of subsequent embodiment, which refer to, runs on operating system Application program, more specifically, the transmitting terminal refer to the associated component for sending the application program of the broadcast message, likewise, this connects Receiving end refers to the associated component for receiving the another application program of the broadcast message.In the present embodiment, one group of monitoring mechanism is set, By the monitoring mechanism, the broadcast message issued in monitor operating system by application program, in the prior art, by application program The broadcast message of sending will be received directly by the associated component of another or multiple application programs, and in the present embodiment, by Before the associated component of another or multiple application programs receives, which is set, obtains the attribute letter of the broadcast message Breath.
Specifically, in the present embodiment, the broadcast message that monitoring transmitting terminal is issued parses the attribute of the broadcast message After information, the broadcast message is determined according to the reception state of the attribute information and the receiving end of the broadcast message Processing status.Described in example as above, while broadcast message in monitor operating system, the tracing detection broadcast message is being received The reception state at end, that is, whether the associated component of detection destination applications receives the broadcast message.It is understood that It is, in the present embodiment, by the one or more broadcast messages of initiator application transmission, meanwhile, said one or multiple wide Broadcasting the corresponding receiving end of message can be the associated component of one or more application program.
Specifically, in the present embodiment, according to the attribute information and the reception shape of the receiving end of the broadcast message After state determines the processing status of the broadcast message, message number and the institute of the broadcast message are detected in predetermined period State processing status.Likewise, as above described in example, when transmitting terminal issues first broadcast message, and after being received by receiving end, In the present embodiment predetermined period, it is same category of whether the subsequent broadcast message of detection transmitting terminal belongs to first broadcast message Broadcast message, if so, needing to further determine that the broadcast message is finished whether receiving end is performed, it is to be understood that The broadcast message finished that whether is performed to be determined refers to this first broadcast message herein, alternatively, being above-mentioned predetermined period Preceding one or more broadcast message of interior a plurality of broadcast message.
Specifically, in the present embodiment, detected in predetermined period the broadcast message message number and the place After reason state, if the message number is more than default value and the processing status is in a busy state, to the broadcast Message increases default delay.Likewise, as above described in example, in the present embodiment, if one or more received by receiving end Broadcast the message also untreated completion, then the application program of receiving end, which may be because, is lined up broadcast message to be processed and causes to handle The case where resource ties up, so as to cause the application program of the receiving end the case where without response occur, therefore, in this reality It applies in example, if judgement obtains after broadcast message reaches receiving end, when receiving end processing status is in a busy state, to sending later Broadcast message increase default time delay, for example, by subsequent broadcast message addition 100ms time delay.
The beneficial effect of the present embodiment is that the broadcast message issued by monitoring transmitting terminal parses the broadcast and disappears The attribute information of breath;Then, according to the determination of the reception state of the attribute information and the receiving end of the broadcast message The processing status of broadcast message;Subsequently, the message number and the processing of the broadcast message are detected in predetermined period State;Finally, disappearing if the message number is more than default value and the processing status is in a busy state to the broadcast Breath increases default delay.The application program broadcast processing scheme for realizing a kind of hommization, so that the broadcast between application program The communication of message is more smoothly, and the execution efficiency of broadcast message is higher, avoids and causes to apply because of frequent broadcast message Program enhances user experience without response.
Embodiment two
Fig. 4 is the flow chart of application program broadcast processing method second embodiment of the present invention, based on the above embodiment, described The broadcast message that monitoring transmitting terminal is issued, parses the attribute information of the broadcast message, comprising:
The broadcast message that S11, the monitoring transmitting terminal are issued, wherein the transmitting terminal includes at least one first and answers Use program;
The attribute information of S12, the parsing broadcast message, the reception of the broadcast message is determined according to the attribute information End, wherein the receiving end includes at least second application program.
In the present embodiment, firstly, monitoring the broadcast message that the transmitting terminal is issued, wherein the transmitting terminal is at least Including first application program;Then, the attribute information for parsing the broadcast message, according to attribute information determination The receiving end of broadcast message, wherein the receiving end includes at least second application program.
Specifically, in the present embodiment, monitoring the broadcast message that transmitting terminal is issued first, parsing the broadcast message Attribute information.Wherein, the transmitting terminal of the present embodiment and the receiving end of subsequent embodiment, which refer to, runs on operating system Application program, more specifically, the transmitting terminal refer to the associated component for sending the application program of the broadcast message, likewise, this connects Receiving end refers to the associated component for receiving the another application program of the broadcast message.In the present embodiment, one group of monitoring mechanism is set, By the monitoring mechanism, the broadcast message issued in monitor operating system by application program, in the prior art, by application program The broadcast message of sending will be received directly by the associated component of another or multiple application programs, and in the present embodiment, by Before the associated component of another or multiple application programs receives, which is set, obtains the attribute letter of the broadcast message Breath.
Specifically, in the present embodiment, the broadcast message that the first application program of monitoring is issued, front and back according to the present invention Embodiment, which is issued by the associated component of first application program, for example, if first application program is weather class When application program, if generating the broadcast of a weather forecast when the primary current state of weather of the weather class application program update Therefore message runs on the other application program of terminal device, that is, second application program of the present embodiment, for example, calendar Class application program needs to obtain the broadcast message, to show weather forecast in the relevant range of calendar.
Optionally, in the present embodiment, in the broadcast message that the first multiple and different application programs is issued, including at least Two belong to same category of notification message;
Optionally, in the present embodiment, in the multiple broadcast messages received by the second application program, including at least two Belong to same category of notification message.
The beneficial effect of the present embodiment is, the broadcast message issued by monitoring the transmitting terminal, wherein the hair Sending end includes at least first application program;Then, the attribute information for parsing the broadcast message, according to the attribute information Determine the receiving end of the broadcast message, wherein the receiving end includes at least second application program.Realize one kind more Processing scheme is broadcasted for the application program of hommization, so that the communication of the broadcast message between application program is more smoothly, broadcast The execution efficiency of message is higher, avoids and causes application program to enhance user's body without response because of frequent broadcast message It tests.
Embodiment three
Fig. 5 is the flow chart of application program broadcast processing method 3rd embodiment of the present invention, based on the above embodiment, described The processing status of the broadcast message is determined according to the reception state of the attribute information and the receiving end of the broadcast message, Include:
S21, the parsing attribute information, obtain the News Category and message content of the broadcast message;
S22, the reception state for obtaining the receiving end, in conjunction with described in the reception state and attribute information determination It broadcasts the message in the processing status of the receiving end.
In the present embodiment, firstly, parsing the attribute information, the News Category and message of the broadcast message are obtained Content;Then, the reception state for obtaining the receiving end determines described wide in conjunction with the reception state and the attribute information Message is broadcast in the processing status of the receiving end.
Specifically, in the present embodiment, the broadcast message that monitoring transmitting terminal is issued parses the attribute of the broadcast message After information, the broadcast message is determined according to the reception state of the attribute information and the receiving end of the broadcast message Processing status.Described in example as above, while broadcast message in monitor operating system, the tracing detection broadcast message is being received The reception state at end, that is, whether the associated component of detection destination applications receives the broadcast message.It is understood that It is, in the present embodiment, by the one or more broadcast messages of initiator application transmission, meanwhile, said one or multiple wide Broadcasting the corresponding receiving end of message can be the associated component of one or more application program.
Specifically, in the present embodiment, determining a plurality of broadcast that front and back receives according to News Category and message content Whether whether message belong to same category and need to be implemented, it is to be understood that if being equipped in terminal device more same The application program of one type, this kind of application programs may be simultaneously emitted by a plurality of similar broadcast in certain period of time and disappear Breath, and the popularity due to mutually calling between application program, the application program of receiving end may connect in a relatively short period of time Receive a plurality of broadcast message, and these broadcast messages may be to belong to same category or message content is identical, therefore, if connecing Receiving end receives a plurality of similar broadcast message in a relatively short period of time, first is that being likely to result in the waste of process resource, Yi Jiying With the generation of program Caton phenomenon, second is that processing resource allocation is insufficient if working as, the application program that may cause receiving end occurs The case where without response.
The beneficial effect of the present embodiment is, by parsing the attribute information, obtains the message class of the broadcast message Other and message content;Then, the reception state for obtaining the receiving end, in conjunction with the reception state and the attribute information Determine the broadcast message in the processing status of the receiving end.Realize a kind of humanized application program broadcast processing Scheme, so that the communication of the broadcast message between application program is more smoothly, the execution efficiency of broadcast message is higher, avoid because Application program is caused to enhance user experience without response frequently to broadcast the message.
Example IV
Fig. 6 is the flow chart of application program broadcast processing method fourth embodiment of the present invention, based on the above embodiment, described The message number and the processing status of the broadcast message are detected in predetermined period, comprising:
Predetermined period after S31, the transmission for the first time of the setting broadcast message;
S32, in the predetermined period, detect the message number of the broadcast message, if the message number be more than institute State default value, it is determined that the transmitting terminal is in abnormality;
If S33, the transmitting terminal are in abnormality, the broadcast message is detected in the processing shape of the receiving end State.
In the present embodiment, firstly, the setting predetermined period after sending for the first time that broadcasts the message;Then, described pre- If in the period, detecting the message number of the broadcast message, if the message number is more than the default value, it is determined that described Transmitting terminal is in abnormality;Finally, detecting the broadcast message in the reception if the transmitting terminal is in abnormality The processing status at end.
Specifically, in the present embodiment, according to the attribute information and the reception shape of the receiving end of the broadcast message After state determines the processing status of the broadcast message, message number and the institute of the broadcast message are detected in predetermined period State processing status.Likewise, as above described in example, when transmitting terminal issues first broadcast message, and after being received by receiving end, In the present embodiment predetermined period, it is same category of whether the subsequent broadcast message of detection transmitting terminal belongs to first broadcast message Broadcast message, if so, needing to further determine that the broadcast message is finished whether receiving end is performed, it is to be understood that The broadcast message finished that whether is performed to be determined refers to this first broadcast message herein, alternatively, being above-mentioned predetermined period Preceding one or more broadcast message of interior a plurality of broadcast message.
Optionally, the predetermined period of the present embodiment is set after broadcast message is sent for the first time;
Optionally, the predetermined period of the present embodiment is set when broadcast message is repeated and received one time;
Optionally, the predetermined period of the present embodiment is set when broadcast message repeats and receives preset times.
Optionally, if the transmitting terminal is in abnormality, the broadcast message is detected in the processing of the receiving end State;
Optionally, if one in the multiple transmitting terminal (frequently sends same type of broadcast to disappear in abnormality Breath), then the broadcast message is detected in the processing status of the receiving end.
The beneficial effect of the present embodiment is, by setting the predetermined period after sending for the first time that broadcasts the message;Then, In the predetermined period, the message number of the broadcast message is detected, if the message number is more than the default value, Determine that the transmitting terminal is in abnormality;Finally, detecting the broadcast message if the transmitting terminal is in abnormality and existing The processing status of the receiving end.A kind of humanized application program broadcast processing scheme is realized, so that application program Between broadcast message communication it is more smoothly, the execution efficiency of broadcast message is higher, avoids because of frequent broadcast message And application program is caused to enhance user experience without response.
Embodiment five
Fig. 7 is the flow chart of the 5th embodiment of application program broadcast processing method of the present invention, based on the above embodiment, described If the message number is more than default value and the processing status is in a busy state, increase to the broadcast message default Delay, comprising:
S41, according to the weight information of the receiving end, the system asset information of the receiving end and the receiving end The preceding processing status once to broadcast the message determines the default time delay;
If S42, detecting that the current broadcast message of the receiving end is in a busy state, increase to broadcast message next time Add the default time delay.
In the present embodiment, firstly, according to the system asset information of the weight information of the receiving end, the receiving end with And the preceding processing status once to broadcast the message of the receiving end determines the default time delay;Then, if detecting the reception The current broadcast message at end is in a busy state, then increases the default time delay to broadcast message next time.
Specifically, in the present embodiment, detected in predetermined period the broadcast message message number and the place After reason state, if the message number is more than default value and the processing status is in a busy state, to the broadcast Message increases default delay.Likewise, as above described in example, in the present embodiment, if one or more received by receiving end Broadcast the message also untreated completion, then the application program of receiving end, which may be because, is lined up broadcast message to be processed and causes to handle The case where resource ties up, so as to cause the application program of the receiving end the case where without response occur, therefore, in this reality It applies in example, if judgement obtains after broadcast message reaches receiving end, when receiving end processing status is in a busy state, to sending later Broadcast message increase default time delay, for example, by subsequent broadcast message addition 100ms time delay.
Optionally, the default time delay is determined according to the weight information of the receiving end, if the application program of receiving end is weighed It is again higher, then it is lower to preset time delay, conversely, it is higher then to preset time delay;
Optionally, the default time delay is determined according to the system asset information of the receiving end, if the receiving end is Resource of uniting is more, then it is lower to preset time delay, conversely, it is higher then to preset time delay;
Optionally, the default time delay is determined according to the processing status once to broadcast the message before the receiving end, if institute The preceding processing status once to broadcast the message of receiving end is stated closer to completion, then it is lower to preset time delay, is got over conversely, then presetting time delay It is high.
The beneficial effect of the present embodiment is, passes through the weight information of the receiving end, the system resource of the receiving end Information and the preceding processing status once to broadcast the message of the receiving end determine the default time delay;Then, if detecting institute The current broadcast message for stating receiving end is in a busy state, then increases the default time delay to broadcast message next time.It realizes A kind of humanized application program broadcast processing scheme, so that the communication of the broadcast message between application program is more suitable Freely, the execution efficiency of broadcast message is higher, avoids and causes application program to enhance without response because of frequent broadcast message User experience.
Embodiment six
The invention also provides a kind of application program broadcast processing apparatus, which includes memory, processor and storage On the memory and the computer program that can run on the processor, the computer program are held by the processor It is realized when row:
The broadcast message that monitoring transmitting terminal is issued, parses the attribute information of the broadcast message;
The broadcast message is determined according to the reception state of the attribute information and the receiving end of the broadcast message Processing status;
The message number and the processing status of the broadcast message are detected in predetermined period;
If the message number is more than default value and the processing status is in a busy state, to the broadcast message Increase default delay.
In the present embodiment, firstly, the broadcast message that monitoring transmitting terminal is issued, parses the attribute letter of the broadcast message Breath;Then, the broadcast message is determined according to the reception state of the attribute information and the receiving end of the broadcast message Processing status;Subsequently, the message number and the processing status of the broadcast message are detected in predetermined period;Finally, If the message number is more than default value and the processing status is in a busy state, increase to the broadcast message default Delay.
Specifically, in the present embodiment, monitoring the broadcast message that transmitting terminal is issued first, parsing the broadcast message Attribute information.Wherein, the transmitting terminal of the present embodiment and the receiving end of subsequent embodiment, which refer to, runs on operating system Application program, more specifically, the transmitting terminal refer to the associated component for sending the application program of the broadcast message, likewise, this connects Receiving end refers to the associated component for receiving the another application program of the broadcast message.In the present embodiment, one group of monitoring mechanism is set, By the monitoring mechanism, the broadcast message issued in monitor operating system by application program, in the prior art, by application program The broadcast message of sending will be received directly by the associated component of another or multiple application programs, and in the present embodiment, by Before the associated component of another or multiple application programs receives, which is set, obtains the attribute letter of the broadcast message Breath.
Specifically, in the present embodiment, the broadcast message that monitoring transmitting terminal is issued parses the attribute of the broadcast message After information, the broadcast message is determined according to the reception state of the attribute information and the receiving end of the broadcast message Processing status.Described in example as above, while broadcast message in monitor operating system, the tracing detection broadcast message is being received The reception state at end, that is, whether the associated component of detection destination applications receives the broadcast message.It is understood that It is, in the present embodiment, by the one or more broadcast messages of initiator application transmission, meanwhile, said one or multiple wide Broadcasting the corresponding receiving end of message can be the associated component of one or more application program.
Specifically, in the present embodiment, according to the attribute information and the reception shape of the receiving end of the broadcast message After state determines the processing status of the broadcast message, message number and the institute of the broadcast message are detected in predetermined period State processing status.Likewise, as above described in example, when transmitting terminal issues first broadcast message, and after being received by receiving end, In the present embodiment predetermined period, it is same category of whether the subsequent broadcast message of detection transmitting terminal belongs to first broadcast message Broadcast message, if so, needing to further determine that the broadcast message is finished whether receiving end is performed, it is to be understood that The broadcast message finished that whether is performed to be determined refers to this first broadcast message herein, alternatively, being above-mentioned predetermined period Preceding one or more broadcast message of interior a plurality of broadcast message.
Specifically, in the present embodiment, detected in predetermined period the broadcast message message number and the place After reason state, if the message number is more than default value and the processing status is in a busy state, to the broadcast Message increases default delay.Likewise, as above described in example, in the present embodiment, if one or more received by receiving end Broadcast the message also untreated completion, then the application program of receiving end, which may be because, is lined up broadcast message to be processed and causes to handle The case where resource ties up, so as to cause the application program of the receiving end the case where without response occur, therefore, in this reality It applies in example, if judgement obtains after broadcast message reaches receiving end, when receiving end processing status is in a busy state, to sending later Broadcast message increase default time delay, for example, by subsequent broadcast message addition 100ms time delay.
The beneficial effect of the present embodiment is that the broadcast message issued by monitoring transmitting terminal parses the broadcast and disappears The attribute information of breath;Then, according to the determination of the reception state of the attribute information and the receiving end of the broadcast message The processing status of broadcast message;Subsequently, the message number and the processing of the broadcast message are detected in predetermined period State;Finally, disappearing if the message number is more than default value and the processing status is in a busy state to the broadcast Breath increases default delay.The application program broadcast processing scheme for realizing a kind of hommization, so that the broadcast between application program The communication of message is more smoothly, and the execution efficiency of broadcast message is higher, avoids and causes to apply because of frequent broadcast message Program enhances user experience without response.
Embodiment seven
Based on the above embodiment, it is realized when the computer program is executed by the processor:
Monitor the broadcast message that the transmitting terminal is issued, wherein the transmitting terminal includes at least one first and applies journey Sequence;
The attribute information for parsing the broadcast message determines the receiving end of the broadcast message according to the attribute information, Wherein, the receiving end includes at least second application program.
In the present embodiment, firstly, monitoring the broadcast message that the transmitting terminal is issued, wherein the transmitting terminal is at least Including first application program;Then, the attribute information for parsing the broadcast message, according to attribute information determination The receiving end of broadcast message, wherein the receiving end includes at least second application program.
Specifically, in the present embodiment, monitoring the broadcast message that transmitting terminal is issued first, parsing the broadcast message Attribute information.Wherein, the transmitting terminal of the present embodiment and the receiving end of subsequent embodiment, which refer to, runs on operating system Application program, more specifically, the transmitting terminal refer to the associated component for sending the application program of the broadcast message, likewise, this connects Receiving end refers to the associated component for receiving the another application program of the broadcast message.In the present embodiment, one group of monitoring mechanism is set, By the monitoring mechanism, the broadcast message issued in monitor operating system by application program, in the prior art, by application program The broadcast message of sending will be received directly by the associated component of another or multiple application programs, and in the present embodiment, by Before the associated component of another or multiple application programs receives, which is set, obtains the attribute letter of the broadcast message Breath.
Specifically, in the present embodiment, the broadcast message that the first application program of monitoring is issued, front and back according to the present invention Embodiment, which is issued by the associated component of first application program, for example, if first application program is weather class When application program, if generating the broadcast of a weather forecast when the primary current state of weather of the weather class application program update Therefore message runs on the other application program of terminal device, that is, second application program of the present embodiment, for example, calendar Class application program needs to obtain the broadcast message, to show weather forecast in the relevant range of calendar.
Optionally, in the present embodiment, in the broadcast message that the first multiple and different application programs is issued, including at least Two belong to same category of notification message;
Optionally, in the present embodiment, in the multiple broadcast messages received by the second application program, including at least two Belong to same category of notification message.
The beneficial effect of the present embodiment is, the broadcast message issued by monitoring the transmitting terminal, wherein the hair Sending end includes at least first application program;Then, the attribute information for parsing the broadcast message, according to the attribute information Determine the receiving end of the broadcast message, wherein the receiving end includes at least second application program.Realize one kind more Processing scheme is broadcasted for the application program of hommization, so that the communication of the broadcast message between application program is more smoothly, broadcast The execution efficiency of message is higher, avoids and causes application program to enhance user's body without response because of frequent broadcast message It tests.
Embodiment eight
Based on the above embodiment, it is realized when the computer program is executed by the processor:
The attribute information is parsed, the News Category and message content of the broadcast message are obtained;
The reception state for obtaining the receiving end determines the broadcast in conjunction with the reception state and the attribute information Processing status of the message in the receiving end.
In the present embodiment, firstly, parsing the attribute information, the News Category and message of the broadcast message are obtained Content;Then, the reception state for obtaining the receiving end determines described wide in conjunction with the reception state and the attribute information Message is broadcast in the processing status of the receiving end.
Specifically, in the present embodiment, the broadcast message that monitoring transmitting terminal is issued parses the attribute of the broadcast message After information, the broadcast message is determined according to the reception state of the attribute information and the receiving end of the broadcast message Processing status.Described in example as above, while broadcast message in monitor operating system, the tracing detection broadcast message is being received The reception state at end, that is, whether the associated component of detection destination applications receives the broadcast message.It is understood that It is, in the present embodiment, by the one or more broadcast messages of initiator application transmission, meanwhile, said one or multiple wide Broadcasting the corresponding receiving end of message can be the associated component of one or more application program.
Specifically, in the present embodiment, determining a plurality of broadcast that front and back receives according to News Category and message content Whether whether message belong to same category and need to be implemented, it is to be understood that if being equipped in terminal device more same The application program of one type, this kind of application programs may be simultaneously emitted by a plurality of similar broadcast in certain period of time and disappear Breath, and the popularity due to mutually calling between application program, the application program of receiving end may connect in a relatively short period of time Receive a plurality of broadcast message, and these broadcast messages may be to belong to same category or message content is identical, therefore, if connecing Receiving end receives a plurality of similar broadcast message in a relatively short period of time, first is that being likely to result in the waste of process resource, Yi Jiying With the generation of program Caton phenomenon, second is that processing resource allocation is insufficient if working as, the application program that may cause receiving end occurs The case where without response.
The beneficial effect of the present embodiment is, by parsing the attribute information, obtains the message class of the broadcast message Other and message content;Then, the reception state for obtaining the receiving end, in conjunction with the reception state and the attribute information Determine the broadcast message in the processing status of the receiving end.Realize a kind of humanized application program broadcast processing Scheme, so that the communication of the broadcast message between application program is more smoothly, the execution efficiency of broadcast message is higher, avoid because Application program is caused to enhance user experience without response frequently to broadcast the message.
Embodiment nine
Based on the above embodiment, it is realized when the computer program is executed by the processor:
Set the predetermined period after the broadcast message is sent for the first time;
In the predetermined period, the message number of the broadcast message is detected, if the message number is more than described pre- If numerical value, it is determined that the transmitting terminal is in abnormality;
If the transmitting terminal is in abnormality, the broadcast message is detected in the processing status of the receiving end;
According to the previous of the weight information of the receiving end, the system asset information of the receiving end and the receiving end The processing status of secondary broadcast message determines the default time delay;
If detecting, the current broadcast message of the receiving end is in a busy state, increases institute to broadcast message next time State default time delay.
Specifically, in the present embodiment, according to the attribute information and the reception shape of the receiving end of the broadcast message After state determines the processing status of the broadcast message, message number and the institute of the broadcast message are detected in predetermined period State processing status.Likewise, as above described in example, when transmitting terminal issues first broadcast message, and after being received by receiving end, In the present embodiment predetermined period, it is same category of whether the subsequent broadcast message of detection transmitting terminal belongs to first broadcast message Broadcast message, if so, needing to further determine that the broadcast message is finished whether receiving end is performed, it is to be understood that The broadcast message finished that whether is performed to be determined refers to this first broadcast message herein, alternatively, being above-mentioned predetermined period Preceding one or more broadcast message of interior a plurality of broadcast message.
Optionally, the predetermined period of the present embodiment is set after broadcast message is sent for the first time;
Optionally, the predetermined period of the present embodiment is set when broadcast message is repeated and received one time;
Optionally, the predetermined period of the present embodiment is set when broadcast message repeats and receives preset times.
Optionally, if the transmitting terminal is in abnormality, the broadcast message is detected in the processing of the receiving end State;
Optionally, if one in the multiple transmitting terminal (frequently sends same type of broadcast to disappear in abnormality Breath), then the broadcast message is detected in the processing status of the receiving end.
Specifically, in the present embodiment, detected in predetermined period the broadcast message message number and the place After reason state, if the message number is more than default value and the processing status is in a busy state, to the broadcast Message increases default delay.Likewise, as above described in example, in the present embodiment, if one or more received by receiving end Broadcast the message also untreated completion, then the application program of receiving end, which may be because, is lined up broadcast message to be processed and causes to handle The case where resource ties up, so as to cause the application program of the receiving end the case where without response occur, therefore, in this reality It applies in example, if judgement obtains after broadcast message reaches receiving end, when receiving end processing status is in a busy state, to sending later Broadcast message increase default time delay, for example, by subsequent broadcast message addition 100ms time delay.
Optionally, the default time delay is determined according to the weight information of the receiving end, if the application program of receiving end is weighed It is again higher, then it is lower to preset time delay, conversely, it is higher then to preset time delay;
Optionally, the default time delay is determined according to the system asset information of the receiving end, if the receiving end is Resource of uniting is more, then it is lower to preset time delay, conversely, it is higher then to preset time delay;
Optionally, the default time delay is determined according to the processing status once to broadcast the message before the receiving end, if institute The preceding processing status once to broadcast the message of receiving end is stated closer to completion, then it is lower to preset time delay, is got over conversely, then presetting time delay It is high.
The beneficial effect of the present embodiment is, passes through the weight information of the receiving end, the system resource of the receiving end Information and the preceding processing status once to broadcast the message of the receiving end determine the default time delay;Then, if detecting institute The current broadcast message for stating receiving end is in a busy state, then increases the default time delay to broadcast message next time.It realizes A kind of humanized application program broadcast processing scheme, so that the communication of the broadcast message between application program is more suitable Freely, the execution efficiency of broadcast message is higher, avoids and causes application program to enhance without response because of frequent broadcast message User experience.
Embodiment ten
Based on the above embodiment, the invention also provides a kind of computer readable storage medium, the computer-readable storages It is stored with application program broadcast handler on medium, realizes when application program broadcast handler is executed by processor as above-mentioned The step of described in any item application program broadcast processing methods.
Implement application program broadcast processing method, equipment and computer readable storage medium of the invention, is sent out by monitoring The broadcast message that sending end is issued parses the attribute information of the broadcast message;Then, according to the attribute information and described The reception state of the receiving end of broadcast message determines the processing status of the broadcast message;Subsequently, it is detected in predetermined period The message number of the broadcast message and the processing status;Finally, if the message number is more than default value and described Processing status is in a busy state, then increases default delay to the broadcast message.Realize a kind of application program of hommization Processing scheme is broadcasted, so that the communication of the broadcast message between application program is more smoothly, the execution efficiency of broadcast message is higher, It avoids and causes application program to enhance user experience without response because of frequent broadcast message.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of application program broadcast processing method, which is characterized in that the described method includes:
The broadcast message that monitoring transmitting terminal is issued, parses the attribute information of the broadcast message;
The processing of the broadcast message is determined according to the reception state of the attribute information and the receiving end of the broadcast message State;
The message number and the processing status of the broadcast message are detected in predetermined period;
If the message number is more than default value and the processing status is in a busy state, increase to the broadcast message Default delay.
2. application program broadcast processing method according to claim 1, which is characterized in that the monitoring transmitting terminal is issued Broadcast message, parse the attribute information of the broadcast message, comprising:
Monitor the broadcast message that the transmitting terminal is issued, wherein the transmitting terminal includes at least first application program;
The attribute information for parsing the broadcast message determines the receiving end of the broadcast message according to the attribute information, wherein The receiving end includes at least second application program.
3. application program broadcast processing method according to claim 2, which is characterized in that described according to the attribute information And the reception state of the receiving end of the broadcast message determines the processing status of the broadcast message, comprising:
The attribute information is parsed, the News Category and message content of the broadcast message are obtained;
The reception state for obtaining the receiving end determines the broadcast message in conjunction with the reception state and the attribute information Processing status in the receiving end.
4. application program broadcast processing method according to claim 3, which is characterized in that described to be detected in predetermined period The message number of the broadcast message and the processing status, comprising:
Set the predetermined period after the broadcast message is sent for the first time;
In the predetermined period, the message number of the broadcast message is detected, if the message number is more than the present count Value, it is determined that the transmitting terminal is in abnormality;
If the transmitting terminal is in abnormality, the broadcast message is detected in the processing status of the receiving end.
5. application program broadcast processing method according to claim 4, which is characterized in that if the message number is super It crosses default value and the processing status is in a busy state, then increase default delay to the broadcast message, comprising:
According to primary wide before the weight information of the receiving end, the system asset information of the receiving end and the receiving end The processing status for broadcasting message determines the default time delay;
If detecting, the current broadcast message of the receiving end is in a busy state, increases to broadcast message next time described pre- If time delay.
6. a kind of application program broadcast processing apparatus, which is characterized in that the equipment includes memory, processor and is stored in institute The computer program that can be run on memory and on the processor is stated, when the computer program is executed by the processor It realizes:
The broadcast message that monitoring transmitting terminal is issued, parses the attribute information of the broadcast message;
The processing of the broadcast message is determined according to the reception state of the attribute information and the receiving end of the broadcast message State;
The message number and the processing status of the broadcast message are detected in predetermined period;
If the message number is more than default value and the processing status is in a busy state, increase to the broadcast message Default delay.
7. application program broadcast processing apparatus according to claim 6, which is characterized in that the computer program is described Processor is realized when executing:
Monitor the broadcast message that the transmitting terminal is issued, wherein the transmitting terminal includes at least first application program;
The attribute information for parsing the broadcast message determines the receiving end of the broadcast message according to the attribute information, wherein The receiving end includes at least second application program.
8. application program broadcast processing apparatus according to claim 7, which is characterized in that the computer program is described Processor is realized when executing:
The attribute information is parsed, the News Category and message content of the broadcast message are obtained;
The reception state for obtaining the receiving end determines the broadcast message in conjunction with the reception state and the attribute information Processing status in the receiving end.
9. application program broadcast processing apparatus according to claim 8, which is characterized in that the computer program is described Processor is realized when executing:
Set the predetermined period after the broadcast message is sent for the first time;
In the predetermined period, the message number of the broadcast message is detected, if the message number is more than the present count Value, it is determined that the transmitting terminal is in abnormality;
If the transmitting terminal is in abnormality, the broadcast message is detected in the processing status of the receiving end;
According to primary wide before the weight information of the receiving end, the system asset information of the receiving end and the receiving end The processing status for broadcasting message determines the default time delay;
If detecting, the current broadcast message of the receiving end is in a busy state, increases to broadcast message next time described pre- If time delay.
10. a kind of computer readable storage medium, which is characterized in that be stored on the computer readable storage medium using journey Sequence broadcast handler is realized when the application program broadcast handler is executed by processor as any in claim 1 to 5 The step of application program broadcast processing method described in item.
CN201811415058.7A 2018-11-26 2018-11-26 Application program broadcast processing method and device and computer readable storage medium Active CN109379719B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811415058.7A CN109379719B (en) 2018-11-26 2018-11-26 Application program broadcast processing method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811415058.7A CN109379719B (en) 2018-11-26 2018-11-26 Application program broadcast processing method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109379719A true CN109379719A (en) 2019-02-22
CN109379719B CN109379719B (en) 2021-11-16

Family

ID=65383583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811415058.7A Active CN109379719B (en) 2018-11-26 2018-11-26 Application program broadcast processing method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109379719B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024045232A1 (en) * 2022-08-31 2024-03-07 歌尔股份有限公司 Broadcast source control method, apparatus and device, and computer-readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140089424A1 (en) * 2012-09-27 2014-03-27 Ant Oztaskent Enriching Broadcast Media Related Electronic Messaging
CN105208590A (en) * 2015-08-17 2015-12-30 广东欧珀移动通信有限公司 Mobile terminal operation system card slack abnormity detection recovery method and mobile terminal
CN106534571A (en) * 2016-11-30 2017-03-22 宇龙计算机通信科技(深圳)有限公司 Event notification method and terminal
CN106921947A (en) * 2017-03-10 2017-07-04 广东欧珀移动通信有限公司 Adjust method, device and the terminal of broadcast message queue
CN107249206A (en) * 2017-07-11 2017-10-13 浙江工业大学 A kind of WAP system of selection with resource allocation optimization effect
CN107426055A (en) * 2017-07-31 2017-12-01 努比亚技术有限公司 Abnormal flow monitoring method, device and computer-readable recording medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140089424A1 (en) * 2012-09-27 2014-03-27 Ant Oztaskent Enriching Broadcast Media Related Electronic Messaging
CN105208590A (en) * 2015-08-17 2015-12-30 广东欧珀移动通信有限公司 Mobile terminal operation system card slack abnormity detection recovery method and mobile terminal
CN106534571A (en) * 2016-11-30 2017-03-22 宇龙计算机通信科技(深圳)有限公司 Event notification method and terminal
CN106921947A (en) * 2017-03-10 2017-07-04 广东欧珀移动通信有限公司 Adjust method, device and the terminal of broadcast message queue
CN107249206A (en) * 2017-07-11 2017-10-13 浙江工业大学 A kind of WAP system of selection with resource allocation optimization effect
CN107426055A (en) * 2017-07-31 2017-12-01 努比亚技术有限公司 Abnormal flow monitoring method, device and computer-readable recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024045232A1 (en) * 2022-08-31 2024-03-07 歌尔股份有限公司 Broadcast source control method, apparatus and device, and computer-readable storage medium

Also Published As

Publication number Publication date
CN109379719B (en) 2021-11-16

Similar Documents

Publication Publication Date Title
CN108551411A (en) Collecting method, mobile terminal and computer readable storage medium
CN108762876A (en) A kind of input method switching method, mobile terminal and computer storage media
CN108566484A (en) Message treatment method, terminal device and computer readable storage medium
CN109471571A (en) Display methods, mobile terminal and the computer readable storage medium of suspension control
CN108418948A (en) A kind of based reminding method, mobile terminal and computer storage media
CN108172161A (en) Display methods, mobile terminal and computer readable storage medium based on flexible screen
CN110187808A (en) Dynamic wallpaper setting method, device and computer readable storage medium
CN109462700A (en) A kind of call method, mobile terminal and computer readable storage medium
CN109299039A (en) A kind of file management method, equipment and computer readable storage medium
CN109117105A (en) A kind of collaboration desktop interaction regulation method, equipment and computer readable storage medium
CN108829302A (en) A kind of interaction regulation method, equipment and computer readable storage medium
CN109428923A (en) Information push method, server, terminal and computer readable storage medium
CN110347306A (en) A kind of multi-screen display method, terminal and computer readable storage medium
CN109710159A (en) A kind of flexible screen response method, equipment and computer readable storage medium
CN109445945A (en) Memory allocation method, mobile terminal, server and the storage medium of application program
CN110188249A (en) A kind of global search method, equipment and computer readable storage medium
CN109462829A (en) A kind of call transfer method, equipment and computer readable storage medium
CN109683796A (en) A kind of interaction control method, equipment and computer readable storage medium
CN109947519A (en) Hardware-accelerated control method, terminal and computer readable storage medium
CN109561221A (en) A kind of call control method, equipment and computer readable storage medium
CN108879117A (en) Mobile terminal and its antenna structure
CN109388947A (en) A kind of back-stage management method, equipment and computer readable storage medium
CN109151201A (en) A kind of Anti-addiction method, mobile terminal and computer storage medium
CN109379719A (en) A kind of application program broadcast processing method, equipment and computer readable storage medium
CN109446048A (en) A kind of backstage management-control method, equipment and computer readable 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
GR01 Patent grant
GR01 Patent grant