CN109862073B - Notification message pushing method and device, storage medium and electronic device - Google Patents

Notification message pushing method and device, storage medium and electronic device Download PDF

Info

Publication number
CN109862073B
CN109862073B CN201811633104.0A CN201811633104A CN109862073B CN 109862073 B CN109862073 B CN 109862073B CN 201811633104 A CN201811633104 A CN 201811633104A CN 109862073 B CN109862073 B CN 109862073B
Authority
CN
China
Prior art keywords
pushing
time
channel
notification message
determining
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.)
Active
Application number
CN201811633104.0A
Other languages
Chinese (zh)
Other versions
CN109862073A (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.)
Zhejiang Koubei Network Technology Co Ltd
Original Assignee
Zhejiang Koubei Network 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 Zhejiang Koubei Network Technology Co Ltd filed Critical Zhejiang Koubei Network Technology Co Ltd
Priority to CN201811633104.0A priority Critical patent/CN109862073B/en
Publication of CN109862073A publication Critical patent/CN109862073A/en
Application granted granted Critical
Publication of CN109862073B publication Critical patent/CN109862073B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a method and a device for pushing a notification message, a storage medium and an electronic device, wherein the method comprises the following steps: determining communication capacity of a touch channel for pushing notification messages, wherein the communication capacity is used for representing transmission speed of the touch channel for transmitting the notification messages; calculating the triggering moment of the pushing task according to the transmission speed; and when the triggering moment is reached, pushing the notification message to a receiving end by using the touch channel. By the method and the device, the technical problem that the notification message cannot be pushed on time in the related technology is solved, and user experience is improved.

Description

Notification message pushing method and device, storage medium and electronic device
Technical Field
The invention relates to the field of computers, in particular to a notification message pushing method and device, a storage medium and an electronic device.
Background
In the related art, the marketing campaign of the web platform refers to an online campaign which is held in the year, festival, and other time and attracts merchants and consumers. Such as yearly activities, valentine's day, quarterly activities, double 11 activities, etc. During active or daily operations, several requirements may be met: before a certain activity starts, batch push sending needs to be conducted on millions of users in a directional mode, and participation of the activity is informed. Or, the user autonomously subscribes to a certain activity (such as group purchase 10-point snatching reminding), and the system needs to send a short message reminding to all subscribed users in advance.
In the related art, for the reminding of the above requirements, if the reminding time is too early (for example, the user is reminded to start robbery at 9 o' clock), the user may forget to remind the user when the intermediate time is too long, resulting in poor notification effect; if the reminding is too late, the reminding may be caused by traffic extrusion of the channel (for example, the short message can only be sent 1000 messages per minute), or too many users need the reminding (for example, the group buying website only has 10w users at ordinary times, and both 11 have 1000w users on the same day, the reminding from 9 o 'clock 40 comes in time at ordinary times, and both 11 have no time to remind from 9 o' clock 40 on the same day), so that many users have no way to process timely, and the user experience is very poor. In the related art, a batch of users is started to touch and push at a certain time point, meanwhile, the starting time point can be manually modified, and the scheme in the related art is too rough and depends heavily on the experience of operators and manpower monitoring. If the fluctuation of the data volume is not noticed in time or the history processing experience is not available, the possibly adjusted sending starting time cannot be reasonable, the labor cost is seriously wasted, and the user experience cannot be guaranteed, for example, the related technology with the application number of CN201711205590 discloses an intelligent student receiving and sending system based on timing pushing, and a secret key is pushed to a terminal at a fixed time every day.
In view of the above problems in the related art, no effective solution has been found at present.
Disclosure of Invention
The embodiment of the invention provides a notification message pushing method and device, a storage medium and an electronic device.
According to an embodiment of the present invention, there is provided a notification message pushing method, including: determining communication capacity of a touch channel for pushing notification messages, wherein the communication capacity is used for representing transmission speed of the touch channel for transmitting the notification messages; calculating the triggering moment of the pushing task according to the transmission speed; and when the triggering moment is reached, pushing the notification message to a receiving end by using the touch channel.
Optionally, calculating the trigger time of the push task according to the transmission speed includes: determining the message volume of a pushed task and the completion time; and calculating to obtain the triggering time according to the message quantity, the finishing time and the transmission speed.
Optionally, the calculating the trigger time according to the message amount, the completion time, and the transmission speed includes: the trigger time is calculated by the following formula: s ═ Σ Δ ti*ui*ai(ii) a Wherein S is the message volume, Δ tiIs the duration of the i-th time period, uiIs the transmission speed of the i-th time period, aiAnd the buffer degree is preset in the ith time period, and i is an adjacent time period which is sequentially pushed forward from the time period of the finishing moment.
Optionally, determining the communication capability of the reach channel for pushing the notification message includes at least one of: determining the communication capacity of a short message channel for pushing a notification message; determining communication capability of a push channel for pushing the notification message; the communication capability of the synchronization channel for pushing notification messages is determined.
Optionally, determining the communication capability of the reach channel for pushing the notification message includes: determining the communication capacity of the reach channel in a plurality of time periods, wherein the communication capacity of each time period is different.
Optionally, determining the communication capability of the reach channel for pushing the notification message includes: determining a transmission path of the access channel; when the transmission path includes a plurality of transmission channels, selecting, as the communication capability of the reach channel, the communication capability of a specified transmission channel having the worst communication capability among the plurality of transmission channels.
Optionally, the method further includes: and monitoring the real-time pushing progress in the process of pushing the notification message to a receiving end by using the touch channel, and controlling the real-time pushing speed of the notification message according to a monitoring result.
Optionally, controlling the real-time pushing speed of the notification message according to the monitoring result includes: when the monitoring result is that the real-time pushing speed is greater than or equal to a preset speed, the real-time pushing speed is kept; and when the monitoring result shows that the real-time pushing speed is lower than the preset speed, improving the real-time pushing speed.
According to another embodiment of the present invention, there is provided a notification message pushing apparatus, including: the device comprises a determining module, a sending module and a receiving module, wherein the determining module is used for determining the communication capability of a touch channel for pushing the notification message, and the communication capability is used for representing the transmission speed of the touch channel for transmitting the notification message; the computing module is used for computing the triggering moment of the pushing task according to the transmission speed; and the pushing module is used for pushing the notification message to a receiving end by using the touch channel when the trigger time arrives.
Optionally, the calculation module includes: the determining unit is used for determining the message volume of the pushing task and the finishing time; and the calculating unit is used for calculating the triggering time according to the message quantity, the finishing time and the transmission speed.
Optionally, the computing unit is configured to: the trigger time is calculated by the following formula: s ═ Σ Δ ti*ui*ai(ii) a Wherein S is the message volume, Δ tiIs the duration of the i-th time period, uiIs the transmission speed of the i-th time period, aiAnd the buffer degree is preset in the ith time period, and i is an adjacent time period which is sequentially pushed forward from the time period of the finishing moment.
Optionally, the determining module includes at least one of: the first determining unit is used for determining the communication capacity of a short message channel for pushing the notification message; a second determining unit, configured to determine a communication capability of a push channel for pushing the notification message; a third determining unit, configured to determine a communication capability of a synchronization channel for pushing the notification message.
Optionally, the determining module includes: and the fourth determination unit is used for determining the communication capacity of the reach channel in a plurality of time periods, wherein the communication capacity of each time period is different.
Optionally, the determining module includes: a fifth determining unit, configured to determine a transmission path of the reach channel; a selecting unit configured to select, when the transmission path includes a plurality of transmission channels, a communication capability of a specified transmission channel having a worst communication capability among the plurality of transmission channels as a communication capability of the reach channel.
Optionally, the apparatus further comprises: and the control module is used for monitoring the real-time pushing progress in the process of pushing the notification message to a receiving end by using the touch channel and controlling the real-time pushing speed of the notification message according to a monitoring result.
Optionally, the control module includes: the control unit is used for keeping the real-time pushing speed when the monitoring result is that the real-time pushing speed is greater than or equal to a preset speed; and when the monitoring result shows that the real-time pushing speed is lower than the preset speed, improving the real-time pushing speed.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory in which a computer program is stored and a processor configured to execute the computer program to perform the steps in any of the above method embodiments.
According to the invention, the communication capacity of the reach channel for pushing the notification message is determined, the trigger time of the pushing task is calculated according to the transmission speed, the notification message is pushed to the receiving end by using the reach channel when the trigger time is reached, and the notification message is scheduled in advance based on the communication capacity of the reach channel, so that the problem that the notification is too early or the notification is not timely due to manual scheduling of the notification message is avoided. The technical problem that the notification message cannot be pushed on time in the related technology is solved, and user experience is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a block diagram of a push hardware structure of a notification message according to an embodiment of the present invention;
fig. 2 is a flowchart of a notification message pushing method according to an embodiment of the present invention;
FIG. 3 is a flow chart of an implementation of a scenario embodying the present invention;
fig. 4 is a block diagram of a push apparatus for notification messages according to an embodiment of the present invention;
fig. 5 is a block diagram of a push system of a notification message according to an embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Example 1
The method provided by the first embodiment of the present application may be executed in a mobile terminal, a computer terminal, a server, or a similar computing device. Taking the example of running on a server, fig. 1 is a block diagram of a push hardware structure of a notification message according to an embodiment of the present invention. As shown in fig. 1, the server 10 may include one or more (only one shown in fig. 1) processors 102 (the processors 102 may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, and optionally may also include a transmission device 106 for communication functions and an input-output device 108. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration, and is not intended to limit the structure of the server. For example, the server 10 may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program and a module of application software, such as a computer program corresponding to a notification message pushing method in the embodiment of the present invention, and the processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, so as to implement the above-mentioned method. The memory 104 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, memory 104 may further include memory located remotely from processor 102, which may be connected to server 10 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used for receiving or transmitting data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the server 10. In one example, the transmission device 106 includes a Network adapter (NIC), which can be connected to other Network devices through a base station so as to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In this embodiment, a method for pushing a notification message is provided, and fig. 2 is a flowchart of a method for pushing a notification message according to an embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, determining the communication capacity of a reach channel for pushing the notification message, wherein the communication capacity is used for representing the transmission speed of the reach channel for transmitting the notification message;
step S204, calculating the trigger time of the push task according to the transmission speed;
the push task of this embodiment is to push the notification message of the predetermined message volume to the corresponding receiving end before the predetermined completion time.
Step S206, when the trigger time arrives, a notification message is pushed to the receiving end by using a trigger channel.
The receiving end of this embodiment may be any terminal that can receive messages wirelessly, or may be a subscription terminal that notifies messages, or a terminal that is in a predetermined area, of a predetermined type, and is predetermined for a set of users.
Through the steps, the communication capacity of the touch channel for pushing the notification message is determined, the trigger time of the pushing task is calculated according to the transmission speed, the notification message is pushed to the receiving end by using the touch channel when the trigger time is reached, and the notification message is scheduled in advance based on the communication capacity of the touch channel, so that the problem that the notification is too early or not timely due to manual scheduling of the notification message is avoided. The technical problem that the notification message cannot be pushed on time in the related technology is solved, and user experience is improved.
In this embodiment, calculating the trigger time of the push task according to the transmission speed includes: determining the message volume of a pushed task and the completion time; and calculating to obtain the triggering time according to the message quantity, the finishing time and the transmission speed. In one example, calculating the trigger time according to the message amount, the completion time, and the transmission speed includes: the trigger time is calculated by the following formula: s ═ Σ Δ ti*ui*ai(ii) a Wherein S is the message size, Δ tiIs the duration of the i-th time period, uiIs the transmission speed of the i-th time period, aiFor the preset buffer degree of the ith time period, i is an adjacent time period which is sequentially advanced from the time period of the completion time (i.e. advanced from the latest time period, such as 8: 00-9: 00, and then 7: 00-8: 00 …). The message volume of the pushing task is preset, if 20000 pieces of notification messages need to be pushed in 11 days of 11 months, 8:50 is needed to be completed, 20000 pieces are used as the message volume, the notification messages are pushed at the speed of 240 pieces per minute in the first time period, the notification messages are pushed at the speed of 200 pieces per minute in the second time period, 8:50 is used as the completion time, the transmission speed is 240 pieces per minute, the triggering time can be calculated according to the known quantity, and the triggering time can be obtained by using the formula S ═ Σ Δ ti*ui*aiIn one example, the first time period is 8:00 to 9:00, and 0:00 to 8:00 is a second time period, wherein a1And a2All 20%, i.e. only 80% of the channel capacity is occupied, and the remaining 20% is treated as reserved bandwidth by S ═ Σ Δ ti*ui*aiIt is known that 20000 ═ 50 × 240 × 80% + t2200 x 80%, calculate t2Due to Δ t2Is 8:00, so that the trigger time can be calculated forward.
Optionally, the reach channels of this embodiment may be multiple types of channels, and when the notification message is pushed using multiple reach channels, the determining the communication capability of the reach channel for pushing the notification message includes at least one of the following based on the average communication capability of the multiple reach channels: determining the communication capacity of a short message channel for pushing a notification message; determining communication capability of a push channel for pushing the notification message; the communication capability of the synchronization channel for pushing notification messages is determined. Besides, the device can also be in the form of a mail channel, a popup channel and the like.
In this embodiment, since the congestion status of the reach channel at each time is different, or the allocated bandwidth resources are different, and the communication capabilities in different time periods are also different, determining the communication capabilities of the reach channel for pushing the notification message includes: and determining the communication capacity of the reach channel in a plurality of time periods, wherein the communication capacity of each time period is different.
Optionally, the reach channel of this embodiment is composed of one or more transmission paths, each transmission path is a type of communication channel (such as a short message channel, a push channel, and the like), communication capabilities of different types of communication channels are different, and determining the communication capability of the reach channel for pushing the notification message includes:
s11, determining a transmission path of the touch channel;
s12, when the transmission path includes a plurality of transmission channels, selecting a communication capability of a designated transmission channel having the worst communication capability among the plurality of transmission channels as a communication capability of the reach channel. The plurality of transmission channels may be connected in series, or connected in parallel, or connected in series and connected in parallel to form a transmission path, in one example, the plurality of transmission channels are connected in series, and the notification message reaches the short message server through the push channel by the data server first, and then reaches the receiving end through the short message channel by the short message server, wherein the communication capacity of the push channel is 200 pieces per second, the communication capacity of the short message channel is 50 pieces per second, and the communication capacity of the whole touch channel is 50 pieces per second.
Optionally, the scheme of this embodiment further includes: and monitoring the real-time pushing progress in the process of pushing the notification message to a receiving end by using the touch channel, and controlling the real-time pushing speed of the notification message according to a monitoring result. Controlling the real-time pushing speed of the notification message according to the monitoring result comprises the following steps: when the monitoring result is that the real-time pushing speed is greater than or equal to a preset speed, the real-time pushing speed is kept; and when the monitoring result shows that the real-time pushing speed is lower than the preset speed, improving the real-time pushing speed. The preset speed of the embodiment may be an ideal speed of reaching the channel, or a speed after the ideal speed is converted into the buffer degree.
In an implementation scenario of this embodiment, the notification message needs to be pushed at 09:55, fig. 3 is an implementation flowchart of the implementation scenario of the present invention, and steps of each flow are completed by a channel capability collection module, a scheduling calculation module, a batch execution module, and a real-time regulation module, which are described in detail below:
first, all scheduled tasks (push tasks) are recorded in a task table. As shown in table 1:
TABLE 1
Task name Amount of task data Channel type Completion time
XX Activity Notification 10 ten thousand Short message 09:55
.. .. .. ..
And the channel capacity collection module is used for collecting the capacity (such as a short message channel, a push channel, a sync channel and the like) of each channel in each time period according to the reach channels issued to the users. The channel capacity of each time period is confirmed through daily data feedback and communication. For example, the channel capability of each channel at each time point is confirmed by system pressure measurement, cooperative communication with an operator, and the like on a daily basis. The final information to be collected is shown in table 2:
TABLE 2
Channel Time period Channel communication capability
Short message channel 09:00~09:40 200 per second
Short message channel 09:40~09:50 300 per second
Short message channel 09:50~09:55 200 per second
Short message channel 09:55~10:00 300 per second
Push channel 00:00~00:05 50 per second
.. .. ..
And the scheduling calculation module is used for calculating the channel capacity collection module and knowing the channel capacity of each channel in each time period. And calculating the task to be scheduled next according to the channel capacity of the channel capacity collection module to obtain the start time of task scheduling. For example, a certain activity is started at 10 o' clock, and 10 ten thousand users need to be notified by sending a short message. The service requires notification to be done at 09:55 (5 minutes are reserved for the user to turn on the handset). A buffer degree is reserved in the embodiment, and when an emergency problem occurs, the problem can be reduced through the buffer degree. The buffer level is set to 20% by default, i.e. we only take 80% of the capacity of the channel to process.
Thus for this scenario above, the time required to start transmission is 09: 46: 24 begin.
The formula of the calculation is as follows:
(09:50:00–09:46:24)*300*0.8+(09:55:00–09:50:00)*200*0.8=10w。
and the batch execution module is used for executing the pushing task at the task triggering time calculated by the scheduling calculation module, wherein the ratio of the tasks is 09: 46: 24 begin execution. At 09: 46: 24-09: 50 are transmitted at 240 per second, at 09: 50-09: 55 are transmitted at a rate of 160 per second.
And the real-time regulation and control module is used for monitoring the batch execution progress of the regulation and control calculation module. And adjusting the sending task according to the monitored result:
if the execution progress of the scheduling calculation module is monitored to be smooth: no intervention is performed;
if the execution progress of the batch execution module is monitored to be delayed, the execution amount per second is gradually increased, and the processing can be carried out by using the buffer degree of 20%.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
In this embodiment, a notification message pushing device is further provided, where the notification message pushing device is used to implement the foregoing embodiments and preferred embodiments, and details of the notification message pushing device are not described again. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 4 is a block diagram of a notification message pushing apparatus according to an embodiment of the present invention, which may be applied to a catering server or a terminal, as shown in fig. 4, the apparatus includes: a determination module 40, a calculation module 42, a push module 44, wherein,
a determining module 40, configured to determine a communication capability of an reach channel for pushing a notification message, where the communication capability is used to characterize a transmission speed of the reach channel for transmitting the notification message;
the calculating module 42 is configured to calculate a trigger time of the push task according to the transmission speed;
and the pushing module 44 is configured to push the notification message to a receiving end by using the reach channel when the trigger time arrives.
Optionally, the calculation module includes: the determining unit is used for determining the message volume of the pushing task and the finishing time; and the calculating unit is used for calculating the triggering time according to the message quantity, the finishing time and the transmission speed.
Optionally, the computing unit is configured to: the trigger time is calculated by the following formula: s ═ Σ Δ ti*ui*ai(ii) a Wherein S is the message volume, Δ tiIs the duration of the i-th time period, uiIs the transmission speed of the i-th time period, aiAnd the buffer degree is preset in the ith time period, and i is an adjacent time period which is sequentially pushed forward from the time period of the finishing moment.
Optionally, the determining module includes at least one of: the first determining unit is used for determining the communication capacity of a short message channel for pushing the notification message; a second determining unit, configured to determine a communication capability of a push channel for pushing the notification message; a third determining unit, configured to determine a communication capability of a synchronization channel for pushing the notification message.
Optionally, the determining module includes: and the fourth determination unit is used for determining the communication capacity of the reach channel in a plurality of time periods, wherein the communication capacity of each time period is different.
Optionally, the determining module includes: a fifth determining unit, configured to determine a transmission path of the reach channel; a selecting unit configured to select, when the transmission path includes a plurality of transmission channels, a communication capability of a specified transmission channel having a worst communication capability among the plurality of transmission channels as a communication capability of the reach channel.
Optionally, the apparatus further comprises: and the control module is used for monitoring the real-time pushing progress in the process of pushing the notification message to a receiving end by using the touch channel and controlling the real-time pushing speed of the notification message according to a monitoring result.
Optionally, the control module includes: the control unit is used for keeping the real-time pushing speed when the monitoring result is that the real-time pushing speed is greater than or equal to a preset speed; and when the monitoring result shows that the real-time pushing speed is lower than the preset speed, improving the real-time pushing speed.
Fig. 5 is a block diagram of a push system of a notification message according to an embodiment of the present invention, as shown in fig. 5, including: a receiver 50 (several types of receivers are illustrated) and a server 52 that pushes notification messages to the receiver and the receiver may also reply to the server with feedback messages.
It should be noted that the client and the server are merely the difference of the scheme in the implementation subject, and the various examples and alternatives in the above-mentioned terminal for acquiring web page data are also applicable in the client and the server, and produce the same technical effect.
It should be noted that, the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Example 3
Embodiments of the present invention also provide a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the above method embodiments when executed.
Alternatively, in an aspect of the present embodiment, the storage medium may be configured to store a computer program for executing the steps of:
s1, determining the communication capability of a reach channel for pushing the notification message, wherein the communication capability is used for representing the transmission speed of the reach channel for transmitting the notification message;
s2, calculating the trigger time of the pushing task according to the transmission speed;
and S3, when the trigger time arrives, pushing the notification message to a receiving end by using the trigger channel.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Embodiments of the present invention also provide an electronic device comprising a memory having a computer program stored therein and a processor arranged to run the computer program to perform the steps of any of the above method embodiments.
Optionally, the electronic apparatus may further include a transmission device and an input/output device, wherein the transmission device is connected to the processor, and the input/output device is connected to the processor.
Optionally, in an aspect of this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, determining the communication capability of a reach channel for pushing the notification message, wherein the communication capability is used for representing the transmission speed of the reach channel for transmitting the notification message;
s2, calculating the trigger time of the pushing task according to the transmission speed;
and S3, when the trigger time arrives, pushing the notification message to a receiving end by using the trigger channel.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment is not described herein again.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (16)

1. A method for pushing a notification message, comprising:
determining communication capacity of a touch channel for pushing notification messages, wherein the communication capacity is used for representing transmission speed of the touch channel for transmitting the notification messages;
calculating the triggering moment of the pushing task according to the transmission speed;
when the triggering moment is reached, pushing the notification message to a receiving end by using the touch channel;
wherein, calculating the trigger time of the push task according to the transmission speed comprises:
determining the message volume of a pushed task and the completion time; and calculating to obtain the triggering time according to the message quantity, the finishing time and the transmission speed.
2. The method of claim 1, wherein calculating the trigger time according to the message amount, the completion time, and the transmission speed comprises:
the trigger time is calculated by the following formula: s ═ Σ Δ ti*ui*ai
Wherein S is the message volume, Δ tiIs the duration of the i-th time period, uiIs the transmission speed of the i-th time period, aiAnd the buffer degree is preset in the ith time period, and i is an adjacent time period which is sequentially pushed forward from the time period of the finishing moment.
3. The method of claim 1, wherein determining communication capabilities of an access channel for pushing notification messages comprises at least one of:
determining the communication capacity of a short message channel for pushing a notification message;
determining communication capability of a push channel for pushing the notification message;
the communication capability of the synchronization channel for pushing notification messages is determined.
4. The method of claim 1, wherein determining communication capabilities of an access channel for pushing notification messages comprises:
determining the communication capacity of the reach channel in a plurality of time periods, wherein the communication capacity of each time period is different.
5. The method of claim 1, wherein determining communication capabilities of an access channel for pushing notification messages comprises:
determining a transmission path of the access channel;
when the transmission path includes a plurality of transmission channels, selecting, as the communication capability of the reach channel, the communication capability of a specified transmission channel having the worst communication capability among the plurality of transmission channels.
6. The method of claim 1, further comprising:
and monitoring the real-time pushing progress in the process of pushing the notification message to a receiving end by using the touch channel, and controlling the real-time pushing speed of the notification message according to a monitoring result.
7. The method of claim 6, wherein controlling the real-time pushing speed of the notification message according to the monitoring result comprises:
when the monitoring result is that the real-time pushing speed is greater than or equal to a preset speed, the real-time pushing speed is kept; and when the monitoring result shows that the real-time pushing speed is lower than the preset speed, improving the real-time pushing speed.
8. A notification message pushing apparatus, comprising:
the device comprises a determining module, a sending module and a receiving module, wherein the determining module is used for determining the communication capability of a touch channel for pushing the notification message, and the communication capability is used for representing the transmission speed of the touch channel for transmitting the notification message;
the computing module is used for computing the triggering moment of the pushing task according to the transmission speed;
the pushing module is used for pushing the notification message to a receiving end by using the touch channel when the trigger time arrives;
the calculation module comprises:
the determining unit is used for determining the message volume of the pushing task and the finishing time;
and the calculating unit is used for calculating the triggering time according to the message quantity, the finishing time and the transmission speed.
9. The apparatus of claim 8, wherein the computing unit is configured to:
the trigger time is calculated by the following formula: s ═ Σ Δ ti*ui*ai
Wherein S is the message volume, Δ tiIs the duration of the i-th time period, uiIs the transmission speed of the i-th time period, aiAnd the buffer degree is preset in the ith time period, and i is an adjacent time period which is sequentially pushed forward from the time period of the finishing moment.
10. The apparatus of claim 8, wherein the determining module comprises at least one of:
the first determining unit is used for determining the communication capacity of a short message channel for pushing the notification message;
a second determining unit, configured to determine a communication capability of a push channel for pushing the notification message;
a third determining unit, configured to determine a communication capability of a synchronization channel for pushing the notification message.
11. The apparatus of claim 8, wherein the determining module comprises:
and the fourth determination unit is used for determining the communication capacity of the reach channel in a plurality of time periods, wherein the communication capacity of each time period is different.
12. The apparatus of claim 8, wherein the determining module comprises:
a fifth determining unit, configured to determine a transmission path of the reach channel;
a selecting unit configured to select, when the transmission path includes a plurality of transmission channels, a communication capability of a specified transmission channel having a worst communication capability among the plurality of transmission channels as a communication capability of the reach channel.
13. The apparatus of claim 8, further comprising:
and the control module is used for monitoring the real-time pushing progress in the process of pushing the notification message to a receiving end by using the touch channel and controlling the real-time pushing speed of the notification message according to a monitoring result.
14. The apparatus of claim 13, wherein the control module comprises:
the control unit is used for keeping the real-time pushing speed when the monitoring result is that the real-time pushing speed is greater than or equal to a preset speed; and when the monitoring result shows that the real-time pushing speed is lower than the preset speed, improving the real-time pushing speed.
15. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 7 when executed.
16. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 7.
CN201811633104.0A 2018-12-29 2018-12-29 Notification message pushing method and device, storage medium and electronic device Active CN109862073B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811633104.0A CN109862073B (en) 2018-12-29 2018-12-29 Notification message pushing method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811633104.0A CN109862073B (en) 2018-12-29 2018-12-29 Notification message pushing method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN109862073A CN109862073A (en) 2019-06-07
CN109862073B true CN109862073B (en) 2021-07-16

Family

ID=66893225

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811633104.0A Active CN109862073B (en) 2018-12-29 2018-12-29 Notification message pushing method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN109862073B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105050063A (en) * 2015-09-22 2015-11-11 北京金山安全软件有限公司 Method and device for pushing information
CN107395697A (en) * 2017-07-06 2017-11-24 阿里巴巴集团控股有限公司 Push Channel Selection, information push method, device and equipment, computer-readable recording medium
CN107592342A (en) * 2017-08-23 2018-01-16 北京小米移动软件有限公司 Information-pushing method and device
CN107968842A (en) * 2017-12-26 2018-04-27 百度在线网络技术(北京)有限公司 News push method, apparatus and equipment based on distributed system
CN108769232A (en) * 2018-06-07 2018-11-06 Oppo(重庆)智能科技有限公司 Application resource method for pushing, device, equipment and storage medium
CN108810047A (en) * 2017-04-27 2018-11-13 北京京东尚科信息技术有限公司 For determining that information pushes the method, apparatus and server of accuracy rate
CN108833521A (en) * 2018-06-06 2018-11-16 广州视源电子科技股份有限公司 Message pushing method, device, system, computer equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5091923B2 (en) * 2009-07-06 2012-12-05 株式会社東芝 Electronic device and communication control method
CN102638849B (en) * 2011-02-14 2015-07-01 中国移动通信集团公司 Method, system and device for controlling service push
CN103731476A (en) * 2013-12-10 2014-04-16 乐视网信息技术(北京)股份有限公司 Method and device for improving information push speed
GB2528672B (en) * 2014-07-25 2017-02-08 Canon Kk Push-based transmission of resources and correlated network quality estimation
GB2549932A (en) * 2016-04-27 2017-11-08 Vodafone Ip Licensing Ltd Recommendation entity for a communications network

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105050063A (en) * 2015-09-22 2015-11-11 北京金山安全软件有限公司 Method and device for pushing information
CN108810047A (en) * 2017-04-27 2018-11-13 北京京东尚科信息技术有限公司 For determining that information pushes the method, apparatus and server of accuracy rate
CN107395697A (en) * 2017-07-06 2017-11-24 阿里巴巴集团控股有限公司 Push Channel Selection, information push method, device and equipment, computer-readable recording medium
CN107592342A (en) * 2017-08-23 2018-01-16 北京小米移动软件有限公司 Information-pushing method and device
CN107968842A (en) * 2017-12-26 2018-04-27 百度在线网络技术(北京)有限公司 News push method, apparatus and equipment based on distributed system
CN108833521A (en) * 2018-06-06 2018-11-16 广州视源电子科技股份有限公司 Message pushing method, device, system, computer equipment and storage medium
CN108769232A (en) * 2018-06-07 2018-11-06 Oppo(重庆)智能科技有限公司 Application resource method for pushing, device, equipment and storage medium

Also Published As

Publication number Publication date
CN109862073A (en) 2019-06-07

Similar Documents

Publication Publication Date Title
CN109151997B (en) Method and device for sending paging message and storage medium
CN105208125B (en) message transmission method, device and system
CN102681999A (en) Method and device for collecting and sending user action information
CN110866167B (en) Task allocation method, device, server and storage medium
CN108540568A (en) Computing capability sharing method and smart machine
CN108696420A (en) Information push method in communication network and device
CN104518887A (en) Package recommending method and device
WO2021218873A1 (en) Network resource pre-allocation method, apparatus, and system, and medium
CN107566910A (en) Live resource self-defined distribution monitoring method, storage medium, electronic equipment and system
CN103412795A (en) Collaborative downloading task scheduling method and system for mobile intelligent terminals
CN106161485A (en) Resource regulating method, device and the system of a kind of infrastructure service cluster
CN109936637A (en) Frequency control method, apparatus, server and the medium of message push
CN106453593B (en) Message pushing method and device
Hou et al. Queueing systems with hard delay constraints: a framework for real-time communication over unreliable wireless channels
CN113205370B (en) Data processing method, data processing device and electronic equipment
CN109862073B (en) Notification message pushing method and device, storage medium and electronic device
WO2023159821A1 (en) Method and device for determining operational behavior, storage medium, and electronic device
CN114493113A (en) Task allocation method, device, electronic device and storage medium
CN108718242B (en) Method, device and storage medium for prompting resource transfer
CN112612547A (en) Parameter determination method and device, storage medium and electronic device
CN113179499A (en) Smart power grid data aggregation control method and device, base station terminal and medium
CN109672705B (en) Client version selection method, device and system
Lotfi et al. The economics of quality sponsored data in wireless networks
CN110619534A (en) Marketing information pushing method and device and readable storage medium
CN111191134A (en) Intelligent pushing method and terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant