Method and device for statistics of message push amount based on circular queue

A technology of circular queues and statistical methods, applied in the Internet field, can solve problems such as uselessness and query timeout

Active Publication Date: 2022-07-01
BEIJING QIHOO TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This results in massive query timeouts and useless calculations

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
  • Method and device for statistics of message push amount based on circular queue
  • Method and device for statistics of message push amount based on circular queue
  • Method and device for statistics of message push amount based on circular queue

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0084] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided so that the present disclosure will be more thoroughly understood, and will fully convey the scope of the present disclosure to those skilled in the art.

[0085] For the push volume of each message in the push service, the current statistical method mainly includes the following two steps: first, query the MySQL database for all messages whose push status is completed and not expired; then, sequentially To query the current total sent amount of each of these messages, compare and analyze the obtained current sent total amount with the results recorded in the database, calculat...

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 present invention provides a method and device for statistics of message push amount based on circular queue. By inserting the data of the pushed message into the circular queue, periodically polling the data of each message in the circular queue, obtaining the sending amount of each message and performing related mathematical calculations, the push of each message in each time period is obtained. and delete the data of expired messages from the circular queue, avoiding the step of querying all unexpired messages from the database, greatly reducing the query workload of the database, reducing the work pressure of the database, and significantly increasing the push volume. The update speed of statistics is suitable for statistics of tens of millions of push data volumes.

Description

technical field [0001] The present invention relates to the technical field of the Internet, in particular to a method for statistics of message push amount based on circular queue, a device for statistics of message push amount based on circular queue, a computer storage medium and a computing device. Background technique [0002] With the rapid development of mobile Internet technology and the popularization of intelligent electronic devices, the Internet has become one of the mainstream information dissemination platforms. At the same time, message push has also become one of the main means of information dissemination through the Internet. Message push is usually used by an information dissemination platform (such as an application service platform with a message push function) to push the information that users expect to obtain (such as instant messaging information, news information, marketing activity information) to users in the form of messages, which can effectively...

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): H04L41/142H04L43/10H04L51/214
CPCH04L41/142H04L43/10H04L51/214
Inventor 杨森源
Owner BEIJING QIHOO 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