A method for pushing an applet message and a related device

A small program and message technology, applied in digital transmission systems, electrical components, transmission systems, etc., can solve the problems of low push efficiency, consume several hours, and fail to meet needs, and achieve the effect of improving efficiency

Active Publication Date: 2019-05-03
WUHAN DOUYU NETWORK TECH CO LTD
View PDF8 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the existing technology, the push logic of the applet message is to push each user in sequence, and the push efficiency is very low
When the number of users to be pushed is large, it may take several hours to complete all the pushes, and it is impossible to push messages that require high real-time performance, and it is impossible to terminate the push timing task as needed during the 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
  • A method for pushing an applet message and a related device
  • A method for pushing an applet message and a related device
  • A method for pushing an applet message and a related device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The embodiment of the present application provides a method and a related device for pushing messages of a small program, which are used to improve the efficiency of pushing small program messages.

[0021] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without making creative efforts belong to the scope of protection of this application.

[0022] see figure 1 , which is a flowchart of a method for pushing messages of a small program provided in the embodiment of this application, specifically includes:

[0023] 101. Obtain the user's openID according to the user's trigger instruction, and store the user's openID in the databa...

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 embodiment of the invention discloses a method for pushing an applet message and a related device, which are used for improving the applet message pushing efficiency. The method comprises: obtaining the openID of a user according to a trigger instruction of the user, storing the openID of the user in a database, whereinthe user and the openID of the user are in one-to-one correspondence; Determining to-be-pushed users meeting the pushing condition in a database, and obtaining the number of the users to be pushed; According to the number of the users, determining the number of created go routines; Grouping the to-be-pushed users according to the number of the go routines, each go routine corresponding to one group, and each group comprising at least one to-be-pushed user; Reading the user information in the corresponding group in parallel through each group, wherein the user information comprises the openID and the update record time of the to-be-pushed user; And according to the sequence of each group, sequentially obtaining the formID reported by the to-be-pushed user in each group according to the updating record time so as to push the small program message to the to-be-pushed user in each group.

Description

technical field [0001] The present application relates to the field of development platforms, in particular to a method and related devices for pushing messages of small programs. Background technique [0002] With the continuous development of communication networks, the functions of chat tools such as WeChat and QQ on user terminals are becoming more and more complete. For example, the function of small programs on WeChat is widely welcomed by users. In the prior art, the push logic of the applet message is to push each user sequentially, and the push efficiency is very low. When the number of users to be pushed is large, it may take several hours to complete all the pushes, and it is impossible to push messages that require high real-time performance, and it is impossible to terminate the push timing task as needed during the push process. [0003] Therefore, how to push WeChat applet messages more efficiently is currently a very worthwhile problem to be solved. Conten...

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): H04L12/58
Inventor 张翔
Owner WUHAN DOUYU NETWORK TECH CO LTD
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