Unlock instant, AI-driven research and patent intelligence for your innovation.

Delayed message push method, device, computer equipment and storage medium

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

Active Publication Date: 2021-09-24
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF12 Cites 0 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
  • Delayed message push method, device, computer equipment and storage medium
  • Delayed message push method, device, computer equipment and storage medium
  • Delayed message push method, device, computer equipment 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 delayed message push method, device, computer equipment and storage medium. The delayed message push method includes: obtaining a message to be pushed, the message to be pushed includes a message type and a message template; based on the message type, buffering the message to be pushed in the target message middleware corresponding to the message type above; determine whether the message to be pushed is a delayed message according to the message template, and if the message to be pushed is the delayed message, cache the message to be pushed in the delay queue created on the target message middleware Above: use the listening thread to poll and monitor the delay queue, and perform push processing on the messages to be pushed cached in the delay queue. The delayed message push method can effectively improve the efficiency of delayed message push processing, reduce the pressure on 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 Patents(China)
IPC IPC(8): G06F9/54
CPCG06F9/546G06F2209/547G06F2209/548
Inventor 周之浩
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN