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

Repeated message processing method and terminal

A processing method and terminal processing technology, applied in the direction of advanced technology, digital transmission system, climate sustainability, etc., can solve problems such as non-reception, unsuccessful sending of response information, etc., and achieve the effect of improving efficiency

Active Publication Date: 2021-03-09
FUJIAN TIANQUAN EDUCATION TECH LTD
View PDF11 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Under normal circumstances, when the server pushes the message, the client will return the response information whether the message has been received. If the server does not receive the response message, it may be that the client has not received the message, or the client may have received it. A message was received, but the response message was not successfully sent to the server

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
  • Repeated message processing method and terminal
  • Repeated message processing method and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0072] Please refer to figure 1 , Embodiment 1 of the present invention is:

[0073] A method for processing repeated messages, comprising the steps of:

[0074] S1. If no message delivery signal returned by the client is received after sending the message, mark the message as a message to be resent;

[0075] S2. Obtain the receiver ID corresponding to the message to be resent, and determine whether the receiver ID is stored in the failed message cache queue, if not, execute S3, and if so, add the message to be resent to A list of messages to be resent identified by the receiver in the failed message cache queue;

[0076] Wherein, the receiver identifiers in the failure message buffer queue are prioritized according to the sequence of preset time identifiers;

[0077] In an optional implementation, the failure message cache queue is redis, and the cache format is sortset format, where the key stores the fixed content msg_key, which represents the unique identifier of the ca...

Embodiment 2

[0089] A method for processing repeated messages, which differs from Embodiment 1 in that:

[0090] It also includes: if the message delivery signal returned by the client is received after the message is sent, the receiver ID corresponding to the message is obtained, and it is judged whether the receiver ID is stored in the failed message cache queue, and if so, the receiver ID is sent The corresponding list of messages to be resent;

[0091] S42 also includes:

[0092] S421. Push the list of messages to be resent to the client, and determine whether the message pull signal sent by the client is received, and if so, execute S422;

[0093] Among them, pushing the list of messages to be resent to the client is as follows: call the paging interface, and push the list of messages to be resent by paging. The parameters of the paging interface include the page size parameter and the client’s received message list parameter; the page size parameter can be adjusted and set The numb...

Embodiment 3

[0096] Please refer to figure 2 , Embodiment three of the present invention is:

[0097] A processing terminal 1 for repeating messages, including a processor 2, a memory 3, and a computer program stored on the memory 3 and operable on the processor 2, the processor 2 implements the embodiment when executing the computer program Each step in one or embodiment two.

[0098] To sum up, the present invention provides a method for processing repeated messages and a terminal. If a message delivery signal is not received after sending a message, the message is marked as a message to be resent, and the received message corresponding to the message is obtained. If the receiver ID already exists in the cache, update the message to be resent to the list of messages to be resent corresponding to the receiver ID; if there is no receiver ID in the cache, store the receiver ID to the cache and update the message to be resent to the list of messages to be resent corresponding to the recei...

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 provides a repeated message processing method and a terminal, and the method comprises the steps: marking a message as a to-be-retransmitted message if a message delivery signal returnedby a client is not received after the message is transmitted; obtaining a receiver identifier corresponding to the message needing to be retransmitted, judging whether the receiver identifier is stored in a failure message cache queue or not, and if not, storing the receiver identifier into the failure message cache queue; if so, adding a message to be retransmitted to a message list to be retransmitted of the receiver identifier in the failure message cache queue; acquiring the receiver identifiers in the failure message cache queue one by one, and all the messages needing to be retransmitted corresponding to the receiver identifiers are sent; the unsent messages are stored in the client dimension, all the unsent messages of the single client are sent in batch at a time, one-by-one sending is replaced, and server resources are saved.

Description

technical field [0001] The invention relates to the field of message push, in particular to a method for processing repeated messages and a terminal. Background technique [0002] With the rapid development of the mobile Internet today, most mobile APPs provide message push functions, such as hot news recommendations on news clients, chat message reminders from IM (Instant Messaging, instant messaging) tools, promotional information on e-commerce products, and enterprise application notifications. Notification and approval process, etc.; message push plays an important role in increasing product activity, increasing the utilization rate of functional modules, increasing user stickiness and improving user retention rate. [0003] The main implementation process of the existing message push is: the client accesses the routing address list interface of the server in advance to obtain the routing addresses that can be accessed normally, and selects one of the addresses to establ...

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
IPC IPC(8): H04L12/58H04L29/08
CPCH04L51/234H04L67/55H04L67/568Y02D30/70
Inventor 刘德建林伟郭玉湖陈宏
Owner FUJIAN TIANQUAN EDUCATION TECH LTD