Message pushing method and device, equipment and storage medium
A message push and message technology, applied in the Internet field, can solve problems such as waste of hardware resources and underutilization of hardware resources, and achieve the effect of avoiding waste and stabilizing resource utilization
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0068] figure 1 It is a flow chart of a message push method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation where a large number of messages to be pushed are sent to the background server to push messages to the terminal. This method can be implemented by the message push method in the embodiment of the present invention device, which may be implemented in software and / or hardware.
[0069] Such as Figure 1a As shown, the message push system includes producers, distributors, consumers and caches. Wherein, the producer is used to generate a message and store the message in the cache, such as an application program; the distributor is used to obtain the message from the cache, such as a background server, and sends the message To the consumer; the consumer is used to receive and process messages, for example, it may be a terminal. The distributor and consumer can be one-to-one, one-to-many, or many-to-many.
[0070] Such as ...
Embodiment 2
[0093] figure 2 It is a flow chart of a message push method in Embodiment 2 of the present invention. This embodiment is optimized based on the above embodiments. In this embodiment, the current The push speed includes: sending the message to be pushed to the terminal at a historical push speed, and obtaining the actual resource utilization rate of the terminal; determining the current push speed according to the historical push speed, the actual resource utilization rate, and the expected resource utilization rate .
[0094] Such as figure 2 As shown, the method of this embodiment specifically includes the following steps:
[0095] S210. Acquire the number of messages to be pushed, historical push speed and expected resource utilization.
[0096] S220. If the number of messages to be pushed is greater than a threshold, send the messages to be pushed to the terminal at a historical push rate, and acquire an actual resource utilization rate of the terminal.
[0097] Exemp...
Embodiment 3
[0111] image 3 It is a flow chart of a message push method in Embodiment 3 of the present invention. This embodiment is optimized based on the above embodiments. In this embodiment, obtaining expected resource utilization includes: obtaining a list of expected resource utilization and The current message push cycle; querying the expected resource utilization list according to the current message push cycle to determine the expected resource utilization.
[0112] Such as image 3 As shown, the method of this embodiment specifically includes the following steps:
[0113] S310. Obtain the number of messages to be pushed, historical push speed, expected resource utilization list, and current message push cycle.
[0114] Wherein, the expected resource utilization list is used to store the mapping relationship between the message push period and the expected resource utilization, and the expected resource utilization list may be a database table, a mapping table or a configuratio...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


