CN109067864A - Notification message method for pushing, device and electronic equipment - Google Patents

Notification message method for pushing, device and electronic equipment Download PDF

Info

Publication number
CN109067864A
CN109067864A CN201810829118.3A CN201810829118A CN109067864A CN 109067864 A CN109067864 A CN 109067864A CN 201810829118 A CN201810829118 A CN 201810829118A CN 109067864 A CN109067864 A CN 109067864A
Authority
CN
China
Prior art keywords
notification message
sent
receiving end
message
written
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
CN201810829118.3A
Other languages
Chinese (zh)
Other versions
CN109067864B (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201810829118.3A priority Critical patent/CN109067864B/en
Publication of CN109067864A publication Critical patent/CN109067864A/en
Application granted granted Critical
Publication of CN109067864B publication Critical patent/CN109067864B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages

Abstract

The embodiment of the present invention provides a kind of notification message method for pushing, device and electronic equipment, this method comprises: obtaining PUSH message, corresponding reception client information is determined according to above-mentioned PUSH message, go out PUSH message to be sent according to above-mentioned receiving end information sifting, notification message to be sent is generated with above-mentioned reception client information according to the abstract of above-mentioned PUSH message to be sent, transmit queue is written into above-mentioned notification message to be sent according to preset rules.It realizes and the notification message to be sent is reduced by screening, save transfer resource, can better ensure that effective receiving end notified message in time.

Description

Notification message method for pushing, device and electronic equipment
Technical field
The present invention relates to the communication technology more particularly to a kind of notification message method for pushing, device and electronic equipment.
Background technique
With the development of intelligent terminal, the system of intelligent terminal and various application programs are also evolving.User can To install at the terminal according to their own needs a variety of different application programs (APP), these APP, which need to push to user, to disappear Breath, specifically, the APP in terminal can obtain PUSH message by background server, but application server is also needed to user Sending out notice message is sent, such as shows that notification message prompts user when APP is not switched on.In this case application server is just Message can be pushed to the system server of terminal, by system server come to terminal sending out notice message.
In the prior art, when the APP of some terminal needs to receive a large amount of notification messages, application server can be occupied toward system The channel of the communication notification messages of system server causes the APP of other terminals cannot timely notified message.
Summary of the invention
The present invention provides a kind of notification message method for pushing and device, for guaranteeing the time of notification message transmission with timely Sequence.
First aspect present invention provides a kind of notification message method for pushing, comprising:
PUSH message is obtained, corresponding reception client information is determined according to the PUSH message;
Go out PUSH message to be sent according to the receiving end information sifting;
Notification message to be sent is generated with the reception client information according to the abstract of the PUSH message to be sent;
Transmit queue is written into the notification message to be sent according to preset rules.
It is described that PUSH message to be sent is gone out according to the receiving end information sifting in a kind of possible design, comprising:
Go out to meet effective receiving end of preset condition according to the receiving end information sifting, the preset condition is at least wrapped Include: receiving end has been installed, informing function is opened in receiving end, receiving end is currently an inactive state;
The corresponding PUSH message in the effective receiving end is determined as PUSH message to be sent.
It is described that transmit queue is written into the notification message to be sent according to preset rules in a kind of possible design, Include:
The corresponding a plurality of notification message to be sent in the same effective receiving end is closed according to the reception client information Transmit queue is written after and.
It is described that transmit queue is written into the notification message to be sent according to preset rules in a kind of possible design, Include:
Group is divided to the notification message according to the reception client information, is respectively written into the corresponding queue of each group.
In a kind of possible design, each transmit queue corresponding one sends pond, and the transmissions pond is used for comprising multiple Store the piecemeal of the notification message;It is described according to preset rules by the notification message write-in transmit queue to be sent it Afterwards, further includes:
The notification message is obtained from the transmit queue;
Judge the corresponding current piecemeal for sending pond of the transmit queue with the presence or absence of can memory space;
If the current piecemeal exist can memory space, the current piecemeal is written into the notification message;
If the current piecemeal there is no can memory space, the next of the current piecemeal is written into the notification message Piecemeal.
In a kind of possible design, the method also includes:
The notification message is successively obtained in order from the transmission pond, and the notification message is sent to system service Device.
In a kind of possible design, the abstract according to the PUSH message to be sent and the receptions client information are given birth to After notification message to be sent, further includes:
After the frequency for generating the first receiving end notification message to be sent is greater than preset threshold, stopping connects described first Transmit queue is written in receiving end notification message to be sent.
In a kind of possible design, the method also includes:
If the frequency for generating the first receiving end notification message to be sent is reduced within the preset threshold, restore by Transmit queue is written in first receiving end notification message to be sent.
Second aspect of the present invention provides a kind of notification message driving means, comprising:
Determining module determines corresponding reception client information according to the PUSH message for obtaining PUSH message;
Selecting module, for going out PUSH message to be sent according to the receiving end information sifting;
Generation module, for be sent according to the abstract of the PUSH message to be sent and reception client information generation Notification message;
Writing module, for transmit queue to be written in the notification message to be sent according to preset rules.
In a kind of possible design, the selecting module is pre- specifically for going out to meet according to the receiving end information sifting If effective receiving end of condition, the preset condition include at least: receiving end has been installed, informing function is opened in receiving end, is received End is currently an inactive state;The corresponding PUSH message in the effective receiving end is determined as PUSH message to be sent.
In a kind of possible design, the write module, specifically for described being had according to the reception client information by same Transmit queue is written after merging in the corresponding a plurality of notification message to be sent in effect receiving end.
In a kind of possible design, the write module, specifically for being disappeared according to the reception client information to the notice Breath divides group, is respectively written into the corresponding queue of each group.
In a kind of possible design, each transmit queue corresponding one sends pond, and the transmissions pond is used for comprising multiple Store the piecemeal of the notification message;Described device further include: obtain module and judgment module;
The acquisition module, for obtaining the notification message from the transmit queue;
The judgment module, for judging that the corresponding current piecemeal for sending pond of the transmit queue whether there is and can store Space;If the current piecemeal exist can memory space, the current piecemeal is written into the notification message;If described work as Preceding piecemeal there is no can memory space, the notification message is written to next piecemeal of the current piecemeal.
In a kind of possible design, described device further include:
Sending module, for successively obtaining the notification message in order from the transmission pond, by the notification message It is sent to system server.
In a kind of possible design, the write module is also used to generating the first receiving end notification message to be sent The frequency be greater than preset threshold after, stop first receiving end notification message to be sent transmit queue is written.
In a kind of possible design, the write module, if being also used to generate the first receiving end notification message to be sent The frequency be reduced within the preset threshold, then restore by first receiving end it is to be sent notification message write-in send team Column.
Third aspect present invention provides a kind of electronic equipment, comprising: processor and memory;
Memory calls the program of memory storage, is mentioned with executing first aspect present invention for storing program, processor The method of confession.
Fourth aspect present invention offer a kind of electronic equipment, at least one including the method for executing the above first aspect A processing element (or chip).
Fifth aspect present invention provides a kind of program product, such as computer readable storage medium, including program, the program Method when being executed by processor for executing the above first aspect.
In notification message method for pushing and device provided in an embodiment of the present invention, PUSH message is obtained, according to above-mentioned push Message determines corresponding reception client information, goes out PUSH message to be sent according to above-mentioned receiving end information sifting, according to it is above-mentioned to The PUSH message of transmission abstract with above-mentioned reception client information generate notification message to be sent, according to preset rules by it is above-mentioned to Transmit queue is written in the notification message of transmission.It realizes and the notification message to be sent is reduced by screening, save transfer resource, it can To better ensure that effective receiving end notified message in time.
Detailed description of the invention
Fig. 1 is a kind of communication system schematic diagram;
Fig. 2 is the notification message method for pushing flow diagram that one embodiment of the invention provides;
Fig. 3 be another embodiment of the present invention provides notification message method for pushing flow diagram;
Fig. 4 is the notification message driving means structural schematic diagram that one embodiment of the invention provides;
Fig. 5 be another embodiment of the present invention provides notification message driving means structural schematic diagram;
Fig. 6 be another embodiment of the present invention provides notification message driving means structural schematic diagram;
Fig. 7 is the electronic devices structure schematic diagram that one embodiment of the invention provides.
Specific embodiment
Fig. 1 is a kind of communication system schematic diagram, which includes: system server 01, application server 02, terminal 03.
One or more APP can be installed, APP is communicated by network with the application server 02 on backstage, no in terminal 03 Service is provided by different application servers 02 with APP.
System server 01 is the background server of terminal institute operating system, such as the background server of iPhone is ISO server, there are also Android server, millet servers etc., herein with no restrictions.
Application server 02 needs that notification message system can be transferred to some APP to when sends a notification message in terminal Server 01 is sent a notification message by system server 01 to terminal, such as in lock screen display notification message, jingle bell or vibration Deng.
Fig. 2 is the notification message method for pushing flow diagram that one embodiment of the invention provides, the executing subject of this method It can be server, such as application server.As shown in Fig. 2, this method comprises:
S201, PUSH message is obtained, corresponding reception client information is determined according to above-mentioned PUSH message.
Wherein, receiving end APP is that mark distinguishes with the APP in terminal.Above-mentioned reception client information may include Following one or more: the user identity of receiving end proves (UID), receiving end mark (such as the corresponding token of apple system) Deng.
Here PUSH message can be instant chat information, be also possible to some message of application server active push Deng.After getting new PUSH message, the receiving end that can know PUSH message itself and to be pushed.
S202, PUSH message to be sent is gone out according to above-mentioned receiving end information sifting.
The reception client information of different PUSH messages is determined, so that it may know which PUSH message needs to send, which is not It needs to send, i.e., further screens PUSH message, to reduce the notification message for needing to send.
S203, notice to be sent is generated with above-mentioned reception client information according to the abstract of above-mentioned PUSH message to be sent disappear Breath.
PUSH message abstract is generated according to the PUSH message of acquisition, PUSH message abstract generally can be the pass of PUSH message Key information or be PUSH message near preceding predetermined number character etc..And then the preset format of message as per advice, generate to The notification message of transmission.
By taking the ISO system of apple as an example, the format of notification message is apple push notification service (Apple Push Notification service, abbreviation APNs) message format.
It should be noted that in the application, PUSH message is the message for being actually subjected to push, and notification message be then in order to User notifies the message for having PUSH message.
S204, transmit queue is written into above-mentioned notification message to be sent according to preset rules.
And then transmit queue can in sequence send notification message to be sent.
In the present embodiment, PUSH message is obtained, corresponding reception client information is determined according to above-mentioned PUSH message, according to above-mentioned Receiving end information sifting goes out PUSH message to be sent, is believed according to the abstract of above-mentioned PUSH message to be sent and above-mentioned receiving end Breath generates notification message to be sent, and transmit queue is written in above-mentioned notification message to be sent according to preset rules.It realizes The notification message to be sent is reduced by screening, transfer resource is saved, it is logical can to better ensure that effective receiving end receives in time Know message.
Optionally, above-mentioned to go out PUSH message to be sent according to receiving end information sifting, it may is that according to above-mentioned receiving end Information sifting goes out to meet effective receiving end of preset condition.And then the corresponding PUSH message in effective receiving end is determined as to be sent PUSH message.
Preset condition includes at least: receiving end has been installed, informing function is opened in receiving end, receiving end is currently inactive shape State.
After receiving PUSH message, the APP that PUSH message is received in terminal is judged according to client information is received, first really Determine that APP has been installed and had been switched on informing function according to setting, current APP is in an inactive state, then APP belongs to In effective receiving end.If one of them are not met, there is no need to send a notification message.
An inactive state refers generally to user currently without starting APP or without using the APP, then needing notification message To notify user to have new PUSH message.
The filtering that the present embodiment passes through effective receiving end, it is possible to reduce the notification message quantity for needing to send is saved and sent Resource, to guarantee the actual effect of notification message.
Optionally, above-mentioned that transmit queue is written into the notification message to be sent according to preset rules, can be according to Transmit queue is written in corresponding notification message to be sent by the time sequencing for receiving PUSH message.
In addition, in a kind of optional embodiment, it is above-mentioned that hair is written into the notification message to be sent according to preset rules Queue is sent, is also possible to be respectively written into the corresponding queue of each group according to client information is received to above-mentioned notification message division group.I.e. In present embodiment, there can be multiple queues, to promote efficiency of transmission.
For example, can according to receive client information acceptance of the bid know the tail number of (token), number one or other it is preset identify into Row grouping, is written different transmit queues.
Alternatively, can also be grouped according to the tail number of receiving end UID, number one or other preset marks, write-in is different Transmit queue.
It is above-mentioned that transmit queue, packet is written into above-mentioned notification message to be sent according to preset rules in a kind of embodiment It includes: being write after being merged the corresponding a plurality of notification message to be sent in the same effective receiving end according to above-mentioned reception client information Enter transmit queue, to promote transmitting efficiency.
On the basis of the above embodiments, each transmit queue corresponding one sends pond, and sending pond includes multiple for storing The piecemeal of above-mentioned notification message.
It should be noted that sending pond is an orderly piecemeal storage organization, every piece is a fixed storage space Concurrent Hash mapping (Concurrent Hash Map), i.e., a kind of storage organization of thread-safe, multiple threads can concurrently be read It writes, the storage of key value (key-value) form.Wherein, key (key) is that receiving end identifies (token), and value (value) connects for this The notification message array (being sequentially arranged) to be sent of receiving end.
Correspondingly, according to preset rules by above-mentioned notification message write-in transmit queue to be sent after, can also be from Above-mentioned notification message is obtained in transmit queue, judges that the corresponding current piecemeal for sending pond of the transmit queue whether there is and can store Space, if current piecemeal exist can memory space, current piecemeal just is written into notification message;Alternatively, if described current point Block there is no can memory space, the notification message is written to next piecemeal of the current piecemeal.
In specific transmission process, server once obtains above-mentioned notification message from transmission pond in order, by notification message It is sent to system server.
During specific implementation, the notification message stored in the value in a block under each receiving end mark is no more than Preset quantity, the same lower notification message to be sent more than preset quantity of receiving end mark can abandon in a block.And Store next piece after the storage of one block is full again, all pieces all completely when wait and empty notification message to be sent.
Each transmission pond can enable n thread, the notification message sent in the piecemeal of pond be read by block sequence, and then by connecing Receiving end mark reads notification message to be sent and is sent to system server, sends the notification message from system server to terminal. Notification message to be sent is sent rear application server and empties the key-value.
Specifically, next piece of notification message, institute are sent after application server has sent the notification message of a block The new notification message to be sent to be written the such as when notification message of block is all sky.
It is above-mentioned the corresponding a plurality of notification message to be sent in the same effective receiving end is merged after write-in send team Column, can be will be in some block sent under pond of a plurality of notification message write-in transmit queue to be sent.
In addition, generating notice to be sent with the reception client information according to the abstract of the PUSH message to be sent After message, can also regenerate the first receiving end notification message to be sent the frequency be greater than preset threshold after, stop the Transmit queue is written in one receiving end notification message to be sent.
After stopping, if the frequency for generating the first receiving end notification message to be sent be reduced to the preset threshold with It is interior, then restore first receiving end notification message to be sent transmit queue is written.
When the notification message frequency of the i.e. same receiving end is greater than the new notification message of preset threshold, it will be not written by filtering The corresponding transmit queue in receiving end is written after the frequency reduces in transmit queue again.
For example, preset threshold can be 1 minute 60 notification message to be sent.
In the present embodiment, the too big notification message of the frequency is filtered, it is ensured that a receiving end is corresponding a large amount of Notification message will not occupy transmission resource for a long time, guarantee that other receiving ends can timely notified message.
Fig. 3 be another embodiment of the present invention provides notification message method for pushing flow diagram, as shown in figure 3, citing A kind of entire flow for illustrating the above method includes:
S301, new PUSH message is obtained, corresponding reception client information is determined according to PUSH message.
A large amount of PUSH message may be generated.
S302, go out to meet effective receiving end of preset condition according to above-mentioned receiving end information sifting, by effective receiving end pair The PUSH message answered is determined as PUSH message to be sent.
Determine that APP has been installed and had been switched on informing function according to setting, current APP is in an inactive state, So APP belongs to effective receiving end.If one of them are not met, there is no need to send a notification message.
S303, the abstract for generating PUSH message to be sent.
S304, the abstract reception client information corresponding with the PUSH message according to above-mentioned PUSH message to be sent are generated Notification message to be sent.
S305, notification message to be sent is written in the transmit queue of corresponding receiving end.
S306, the notification message to be sent write-in read in each transmit queue are sent in the block in pond.
It is sequentially written in when specific write-in according to the sequence of block, first block is write completely writes second block again.Disappearing in each piece Breath is no more than preset quantity.In addition, to be also written according to the time sequencing of notification message to be sent, the first write time it is forward to It sends a notification message.
It should be noted that the speed that write-in sends pond is generally higher than the transmission speed of notification message.
S307, system server is sent to according to the notification message to be sent in the sequence reading block of block.
The notification message to be sent received is sent terminal by system server, and terminal can be shown according to the setting of user State notification message to be sent.Such as notification message to be sent is shown that this is not restricted in screen locking notification bar etc..
Fig. 4 is the notification message driving means structural schematic diagram that one embodiment of the invention provides, as shown in figure 4, the device Comprise determining that module 401, selecting module 402, generation module 403 and writing module 404, in which:
Determining module 401 determines corresponding reception client information according to the PUSH message for obtaining PUSH message.
Selecting module 402, for going out PUSH message to be sent according to the receiving end information sifting.
Generation module 403, for according to the abstract of the PUSH message to be sent and receptions client information generation to The notification message of transmission.
Writing module 404, for transmit queue to be written in the notification message to be sent according to preset rules.
In the present embodiment, PUSH message is obtained, corresponding reception client information is determined according to above-mentioned PUSH message, according to above-mentioned Receiving end information sifting goes out PUSH message to be sent, is believed according to the abstract of above-mentioned PUSH message to be sent and above-mentioned receiving end Breath generates notification message to be sent, and transmit queue is written in above-mentioned notification message to be sent according to preset rules.It realizes The notification message to be sent is reduced by screening, transfer resource is saved, it is logical can to better ensure that effective receiving end receives in time Know message.
Optionally, selecting module 402, specifically for going out to meet the effective of preset condition according to the receiving end information sifting Receiving end, the preset condition include at least: receiving end has been installed, informing function is opened in receiving end, receiving end is currently non-live Jump state;The corresponding PUSH message in the effective receiving end is determined as PUSH message to be sent.
Optionally, writing module 404 are specifically used for according to the reception client information that same effective receiving end is corresponding A plurality of notification message to be sent merge after transmit queue is written.
Alternatively, writing module 404, is specifically used for dividing group to the notification message according to the reception client information, point The corresponding queue of each group is not written.
Fig. 5 be another embodiment of the present invention provides notification message driving means structural schematic diagram, as shown in figure 5, in Fig. 4 On the basis of, in a kind of optional embodiment, which can also include: to obtain module 501 and judgment module 502.
Each transmit queue corresponding one sends pond, and the transmission pond includes multiple for storing the notification message Piecemeal.
Module 501 is obtained, for obtaining the notification message from the transmit queue.
Judgment module 502, for judging that the corresponding current piecemeal for sending pond of the transmit queue whether there is and can store Space;If the current piecemeal exist can memory space, the current piecemeal is written into the notification message;If described work as Preceding piecemeal there is no can memory space, the notification message is written to next piecemeal of the current piecemeal.
Fig. 6 be another embodiment of the present invention provides notification message driving means structural schematic diagram, as shown in fig. 6, in Fig. 4 On the basis of, which can also include: sending module 601, described logical for successively obtaining in order from the transmission pond Know message, the notification message is sent to system server.
Further, above-mentioned writing module 404 is also used in the frequency for generating the first receiving end notification message to be sent After preset threshold, stop first receiving end notification message to be sent transmit queue is written.
Further, above-mentioned writing module 404, if the frequency for generating the first receiving end notification message to be sent is reduced to Within the preset threshold, then restore first receiving end notification message to be sent transmit queue is written.
Above-mentioned apparatus can be used for executing the method for above method embodiment offer, specific implementation and technical effect class Seemingly, which is not described herein again.
The above module can be arranged to implement one or more integrated circuits of above method, such as: one Or multiple specific integrated circuits (Application Specific Integrated Circuit, abbreviation ASIC), or, one Or multi-microprocessor (digital singnal processor, abbreviation DSP), or, one or more field programmable gate Array (Field Programmable Gate Array, abbreviation FPGA) etc..For another example, when some above module passes through processing elements When the form of part scheduler program code is realized, which can be general processor, such as central processing unit (Central Processing Unit, abbreviation CPU) or it is other can be with the processor of caller code.For another example, these modules can integrate Together, it is realized in the form of system on chip (system-on-a-chip, abbreviation SOC).
Fig. 7 is the electronic devices structure schematic diagram that one embodiment of the invention provides, as shown in fig. 7, the device includes: processing Device 701 and memory 702, in which:
Memory 702 is for storing program, the program that processor 701 calls memory 702 to store, to execute the above method Embodiment.
Specifically, effective receiving end is screened for the reception client information according to PUSH message in processor 701;According to above-mentioned Effective receiving end, the corresponding PUSH message abstract in effective receiving end, generate notification message to be sent;According to the time of PUSH message Sequentially, the corresponding transmit queue in each effective receiving end is written into notification message to be sent.
Optionally, processor 701 are specifically used for the corresponding a plurality of notification message to be sent in the same effective receiving end It merges into a PUSH message, the corresponding transmit queue in each effective receiving end is written.
Further, processor 701 will meet preset condition specifically for the reception client information according to PUSH message Receiving end is determined as effective receiving end, and the preset condition includes: that receiving end has been installed, informing function is opened in receiving end, receives End is currently an inactive state.
In a kind of implementation, processor 701 is big for the frequency in the notification message to be sent for generating the first receiving end After preset threshold, stop the notification message to be sent of first receiving end transmit queue is written.
Correspondingly, processor 701 are reduced to described default in the frequency for the notification message to be sent for generating the first receiving end After within threshold value, restore the notification message to be sent of first receiving end transmit queue is written.
Optionally, the present invention also provides a kind of electronic equipment, including at least one processing elements for executing above method Part (or chip).
Optionally, the present invention also provides a kind of program product, such as computer readable storage medium, including program, the journeys Sequence is when being executed by processor for executing above method embodiment.
In several embodiments provided by the present invention, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the division of the unit, only Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be tied Another system is closed or is desirably integrated into, or some features can be ignored or not executed.Another point, it is shown or discussed Mutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or logical of device or unit Letter connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit being realized in the form of SFU software functional unit can store and computer-readable deposit at one In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) or processor (English: processor) execute this hair The part steps of bright each embodiment the method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (English: Read-Only Memory, abbreviation: ROM), random access memory (English: Random Access Memory, letter Claim: RAM), the various media that can store program code such as magnetic or disk.

Claims (18)

1. a kind of notification message method for pushing characterized by comprising
PUSH message is obtained, corresponding reception client information is determined according to the PUSH message;
Go out PUSH message to be sent according to the receiving end information sifting;
Notification message to be sent is generated with the reception client information according to the abstract of the PUSH message to be sent;
Transmit queue is written into the notification message to be sent according to preset rules.
2. the method according to claim 1, wherein it is described gone out according to the receiving end information sifting it is to be sent PUSH message, comprising:
Go out to meet effective receiving end of preset condition according to the receiving end information sifting, the preset condition includes at least: connecing Receiving end has been installed, informing function is opened in receiving end, receiving end is currently an inactive state;
The corresponding PUSH message in the effective receiving end is determined as PUSH message to be sent.
3. the method according to claim 1, wherein described disappear the notice to be sent according to preset rules Breath write-in transmit queue, comprising:
After the corresponding a plurality of notification message to be sent in the same effective receiving end is merged according to the reception client information Transmit queue is written.
4. the method according to claim 1, wherein described disappear the notice to be sent according to preset rules Breath write-in transmit queue, comprising:
Group is divided to the notification message according to the reception client information, is respectively written into the corresponding queue of each group.
5. method described according to claim 1 or 3 or 4, which is characterized in that each transmit queue corresponding one sends pond, The pond that sends includes multiple for storing the piecemeal of the notification message;It is described to lead to described to be sent according to preset rules Know that message is written after transmit queue, further includes:
The notification message is obtained from the transmit queue;
Judge the corresponding current piecemeal for sending pond of the transmit queue with the presence or absence of can memory space;
If the current piecemeal exist can memory space, the current piecemeal is written into the notification message;
If the current piecemeal there is no can memory space, the notification message is written next point of the current piecemeal Block.
6. according to the method described in claim 5, it is characterized in that, the method also includes:
The notification message is successively obtained in order from the transmission pond, and the notification message is sent to system server.
7. the method according to claim 1, wherein the abstract according to the PUSH message to be sent with The reception client information generates after notification message to be sent, further includes:
After the frequency for generating the first receiving end notification message to be sent is greater than preset threshold, stop first receiving end Transmit queue is written in notification message to be sent.
8. the method according to the description of claim 7 is characterized in that the method also includes:
If the frequency for generating the first receiving end notification message to be sent is reduced within the preset threshold, restoring will be described Transmit queue is written in first receiving end notification message to be sent.
9. a kind of notification message driving means characterized by comprising
Determining module determines corresponding reception client information according to the PUSH message for obtaining PUSH message;
Selecting module, for going out PUSH message to be sent according to the receiving end information sifting;
Generation module, for generating to be sent lead to the reception client information according to the abstract of the PUSH message to be sent Know message;
Writing module, for transmit queue to be written in the notification message to be sent according to preset rules.
10. device according to claim 9, which is characterized in that the selecting module is specifically used for according to the receiving end Information sifting goes out to meet effective receiving end of preset condition, and the preset condition includes at least: receiving end has been installed, receiving end is opened Open informing function, receiving end is currently an inactive state;The corresponding PUSH message in the effective receiving end is determined as to be sent PUSH message.
11. device according to claim 9, which is characterized in that the write module is specifically used for according to the receiving end Transmit queue is written after merging the corresponding a plurality of notification message to be sent in the same effective receiving end in information.
12. device according to claim 9, which is characterized in that the write module is specifically used for according to the receiving end Information divides group to the notification message, is respectively written into the corresponding queue of each group.
13. according to device described in claim 9 or 11 or 12, which is characterized in that each transmit queue corresponding one is sent Pond, the pond that sends includes multiple for storing the piecemeal of the notification message;Described device further include: obtain module and judgement Module;
The acquisition module, for obtaining the notification message from the transmit queue;
The judgment module can store sky for judging that the corresponding current piecemeal for sending pond of the transmit queue whether there is Between;If the current piecemeal exist can memory space, the current piecemeal is written into the notification message;If described current Piecemeal there is no can memory space, the notification message is written to next piecemeal of the current piecemeal.
14. device according to claim 13, which is characterized in that further include:
Sending module sends the notification message for successively obtaining the notification message in order from the transmission pond To system server.
15. device according to claim 9, which is characterized in that the write module is also used to generating the first receiving end After the frequency of notification message to be sent is greater than preset threshold, stop being written first receiving end notification message to be sent Transmit queue.
16. device according to claim 15, which is characterized in that the write module receives if being also used to generate first It holds the frequency of notification message to be sent to be reduced within the preset threshold, then restores that first receiving end is to be sent Transmit queue is written in notification message.
17. a kind of electronic equipment characterized by comprising processor and memory;
The memory is called the program of the memory storage, is required with perform claim for storing program, the processor The described in any item methods of 1-8.
18. a kind of computer storage medium, which is characterized in that including program, the program is when being executed by processor for executing The described in any item methods of claim 1-8.
CN201810829118.3A 2018-07-25 2018-07-25 Notification message pushing method and device and electronic equipment Active CN109067864B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810829118.3A CN109067864B (en) 2018-07-25 2018-07-25 Notification message pushing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810829118.3A CN109067864B (en) 2018-07-25 2018-07-25 Notification message pushing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN109067864A true CN109067864A (en) 2018-12-21
CN109067864B CN109067864B (en) 2021-03-05

Family

ID=64835383

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810829118.3A Active CN109067864B (en) 2018-07-25 2018-07-25 Notification message pushing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN109067864B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112272362A (en) * 2020-09-11 2021-01-26 安徽中科新辰技术有限公司 Method for realizing message notification sending service
CN113988927A (en) * 2021-10-29 2022-01-28 北京明略软件系统有限公司 Business opportunity factor missing reminding method and system, electronic equipment and storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103279271A (en) * 2013-06-17 2013-09-04 网易(杭州)网络有限公司 Method and device for pushing messages and method and device for receiving messages
CN104301203A (en) * 2014-09-10 2015-01-21 腾讯科技(深圳)有限公司 Message pushing method and equipment
US20160127301A1 (en) * 2013-06-07 2016-05-05 Young Min JEOUNG Messaging System for Determining Reliability of Push Messages
CN106202195A (en) * 2016-06-27 2016-12-07 北京金山安全软件有限公司 Target push object pushing method and device and server
CN106998274A (en) * 2016-12-12 2017-08-01 深圳大宇无限科技有限公司 Application message method for pushing and device
US20170286912A1 (en) * 2014-09-18 2017-10-05 Shanghai Chule (Cootek) Information Technology Co., Ltd. Intelligent reminder methods, systems and apparatuses
CN107979820A (en) * 2016-10-25 2018-05-01 腾讯科技(北京)有限公司 A kind of method and device, equipment for testing PUSH message
CN108270853A (en) * 2018-01-15 2018-07-10 维沃移动通信有限公司 A kind of message treatment method and mobile terminal

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160127301A1 (en) * 2013-06-07 2016-05-05 Young Min JEOUNG Messaging System for Determining Reliability of Push Messages
CN103279271A (en) * 2013-06-17 2013-09-04 网易(杭州)网络有限公司 Method and device for pushing messages and method and device for receiving messages
CN104301203A (en) * 2014-09-10 2015-01-21 腾讯科技(深圳)有限公司 Message pushing method and equipment
US20170286912A1 (en) * 2014-09-18 2017-10-05 Shanghai Chule (Cootek) Information Technology Co., Ltd. Intelligent reminder methods, systems and apparatuses
CN106202195A (en) * 2016-06-27 2016-12-07 北京金山安全软件有限公司 Target push object pushing method and device and server
CN107979820A (en) * 2016-10-25 2018-05-01 腾讯科技(北京)有限公司 A kind of method and device, equipment for testing PUSH message
CN106998274A (en) * 2016-12-12 2017-08-01 深圳大宇无限科技有限公司 Application message method for pushing and device
CN108270853A (en) * 2018-01-15 2018-07-10 维沃移动通信有限公司 A kind of message treatment method and mobile terminal

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112272362A (en) * 2020-09-11 2021-01-26 安徽中科新辰技术有限公司 Method for realizing message notification sending service
CN112272362B (en) * 2020-09-11 2022-06-10 安徽中科新辰技术有限公司 Method for realizing message notification sending service
CN113988927A (en) * 2021-10-29 2022-01-28 北京明略软件系统有限公司 Business opportunity factor missing reminding method and system, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN109067864B (en) 2021-03-05

Similar Documents

Publication Publication Date Title
CN111258737B (en) Resource scheduling method and device and filter scheduler
CN110750341B (en) Task scheduling method, device, system, terminal equipment and storage medium
US20150347305A1 (en) Method and apparatus for outputting log information
CN111045810B (en) Task scheduling processing method and device
CN109918141A (en) Thread execution method, device, terminal and storage medium
CN108121608A (en) A kind of array dispatching method and node device
CN110581887B (en) Data processing method, device, block chain node and storage medium
CN106095604A (en) The communication method between cores of a kind of polycaryon processor and device
CN114281521B (en) Method, system, equipment and medium for optimizing deep learning heterogeneous resource communication efficiency
CN113138802B (en) Command distribution device, method, chip, computer device and storage medium
CN109067864A (en) Notification message method for pushing, device and electronic equipment
CN107395252A (en) Frequency-hopping method, frequency-hopping arrangement, terminal and baseband chip
CN114390451A (en) 5G message batch sending method and device based on message queue and electronic equipment
CN110908797B (en) Call request data processing method, device, equipment, storage medium and system
CN111782473A (en) Distributed log data processing method, device and system
CN116414534A (en) Task scheduling method, device, integrated circuit, network equipment and storage medium
CN107689892B (en) Coexistence attack defense method
CN106797643A (en) In a wireless communication system with signal sending time and the method for frequency resource allocation
CN112068965A (en) Data processing method and device, electronic equipment and readable storage medium
CN107592361B (en) Data transmission method, device and equipment based on dual IB network
CN116112507A (en) Hierarchical blockchain-based multitasking asynchronous execution method and device
CN109862044B (en) Conversion device, network equipment and data transmission method
CN114428684A (en) Message pushing method, device and system based on distribution
CN112491732A (en) Storage network congestion management method, system, terminal and storage medium
CN109640178A (en) Network shunt method and relevant 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
GR01 Patent grant
GR01 Patent grant