Delay message pushing method and apparatus, computer device and storage medium

A message push and message technology, applied in the field of information processing, can solve problems such as large thread resource consumption, and achieve the effect of improving timeliness and improving push management efficiency

Active Publication Date: 2018-08-10
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF12 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Embodiments of the present invention provide a delayed message push method, device, computer equipment, and storage medium to solve the problem of large thread resource consumption caused by the current delayed message push process

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Delay message pushing method and apparatus, computer device and storage medium
  • Delay message pushing method and apparatus, computer device and storage medium
  • Delay message pushing method and apparatus, computer device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] figure 1 A flow chart showing a delayed message push method in this embodiment is shown. This delayed message push method is applied in the message push platform, specifically applied on the server of the message push platform (the server includes but not limited to the main server and individual push server mentioned in this embodiment), and is used to push messages that need to pass through the message push platform. The message to be pushed is managed, especially for managing the push process of the delayed message, so as to prevent the delayed message from causing huge consumption of the storage space and thread resources of the message push platform, and affecting the normal operation of the message push platform. Such as figure 1 As shown, the delayed message push method includes the following steps:

[0026] S10: Obtain a message to be pushed, where the message to be pushed includes a message type and a message template.

[0027] The main server of the message...

Embodiment 2

[0076] Figure 4 A functional block diagram of an apparatus for pushing delayed messages corresponding to the method for pushing delayed messages in Embodiment 1 is shown. Such as Figure 4 As shown, the delay message push device includes a message acquisition module 10 , a message cache template 20 , a delay judgment processing module 30 , a listening processing module 40 and a non-delay processing module 50 . Among them, the implementation functions of the message acquisition module 10, the message cache template 20, the delay judgment processing module 30, the listening processing module 40 and the non-delay processing module 50 correspond to the steps corresponding to the delayed message push method in Embodiment 1, in order to avoid repeating , which will not be described in detail in this embodiment.

[0077] The message acquiring module 10 is configured to acquire a message to be pushed, and the message to be pushed includes a message type and a message template.

[...

Embodiment 3

[0096] This embodiment provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, the delayed message push method in Embodiment 1 is implemented. To avoid repetition, details are not repeated here. . Alternatively, when the computer program is executed by the processor, the functions of the modules / units of the delayed message push device in Embodiment 2 are realized, and details are not repeated here to avoid repetition.

[0097] It can be understood that the computer-readable storage medium may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal and telecommunication signal, etc.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a delay message pushing method and apparatus, a computer device and a storage medium. The delay message pushing method comprises the steps of obtaining a to-be-pushed message,wherein the to-be-pushed message comprises a message type and a message template; based on the message type, caching the to-be-pushed message in target message middleware corresponding to the messagetype; according to the message template, determining whether the to-be-pushed message is a delay message or not, and if the to-be-pushed message is the delay message, caching the to-be-pushed messagein a delay queue created on the target message middleware; and monitoring the delay queue by adopting a monitoring thread, and performing pushing processing on the to-be-pushed message cached in the delay queue. The delay message pushing method can effectively improve the efficiency of delay message pushing processing, reduce the pressure of storage space, and ensure the timeliness of message processing.

Description

technical field [0001] The present invention relates to the field of information processing, in particular to a delayed message push method, device, computer equipment and storage medium. Background technique [0002] When the current message push platform sends a message to a specific user, it can send a real-time message or a delayed message. Among them, a real-time message refers to a message that can be sent to a specific user after the message is formed, so that the specific user can obtain the message in real time; correspondingly, a delayed message means that after the message is formed, if it is within the do-not-disturb time period, the sending is suspended. A message that is not sent until after the non-did-not-disturb time, so that a specific user gets it. Currently, the sending of delayed messages depends entirely on the database. When the delayed messages are within the do-not-disturb time period, the delayed messages need to be stored in the database. Each mac...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/54
CPCG06F9/546G06F2209/547G06F2209/548
Inventor 周之浩
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products