Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Statistical system and method for service pushing amount

A statistical system and statistical method technology, applied in the Internet field, can solve problems such as data loss, and achieve the effect of overcoming easy loss, solving concurrent performance problems, and accurate business push volume statistics

Active Publication Date: 2017-10-24
ADVANCED NEW TECH CO LTD
View PDF10 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Embodiments of the present invention provide a statistical system and method for business push volume, to solve the problem of concurrent performance of the database, avoid data loss caused by machine restart, and realize real-time and effective statistics of business push volume

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
  • Statistical system and method for service pushing amount
  • Statistical system and method for service pushing amount
  • Statistical system and method for service pushing amount

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0018] figure 1 It is a system block diagram of an embodiment of the statistical system for the amount of business push provided by the present invention. Such as figure 1 As shown, the system is a distributed cache system with multiple cache nodes a, each cache node a is provided with an accumulator, and each cache node a corresponds to multiple user identifications (Identities; hereinafter referred to as: ID), and Each user ID uniquely corresponds to one cache node a, and the statistics system of service push volume further includes: an acquisition module 110 , a sending module 120 , a first synchronization module 130 and a second synchronization module 140 .

[0019] Wherein, the obtaining module 110 is used to obtain the service push instruction, and the service push instruction includes the service push amount and the target user ID of this service push; the sending module 120 is used to send the service push instruction to the cache node uniquely corresponding to the ta...

Embodiment 2

[0023] figure 2 It is a system block diagram of another embodiment of the system for counting the amount of business push provided by the present invention. Such as figure 2 As shown, on the basis of the above-mentioned embodiments, the system for counting the amount of service pushing provided by the embodiments of the present invention may further include: a pre-processing module 150 . The preprocessing module 150 is used to associate the user ID with the cache node a according to the hash algorithm.

[0024] The hash (Hash) algorithm converts a string of characters into a fixed-length (usually shorter) value or index value. For example, the total number of cache nodes in the system is k, and the remainder obtained after dividing the fixed two-digit keyword in the user ID by k can be used as an index value corresponding to each cache node. The hash algorithm can be used to evenly distribute user IDs to each cache node to achieve efficient operations.

[0025] In additi...

Embodiment 3

[0030] Figure 4 The method flow chart of an embodiment of the method for counting the amount of business push provided by the present invention is based on a distributed cache system with multiple cache nodes, each cache node is provided with an accumulator, and each cache node corresponds to multiple User ID, and each user ID uniquely corresponds to a cache node. The subject of execution of the method may be the statistics system of the above-mentioned business pushing volume, or may be integrated into a device or a chip on the system. Such as Figure 4 As shown, the statistical method of the business push volume includes the following steps:

[0031] S401. Obtain a service push instruction, where the service push instruction includes the service push volume and target user ID of this service push.

[0032]In the embodiment of the present invention, when the server (service pushing end) sends a service pushing instruction to a certain target user ID, the system obtains th...

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 provides a statistical system and a method for the service pushing amount. The system comprises an acquisition module used for acquiring a service pushing instruction; a sending module used for sending the service pushing instruction to a cache node uniquely corresponding to the ID of a target user and driving the accumulator of the cache node to accumulate the service pushing amount of a currently pushed service; a first synchronization module used for updating a counting value accumulated by the accumulator to the cache node; and a second synchronization module used for updating the accumulated counting value to a database. According to the embodiment of the invention, by adopting the distributed cache technology, the parallel treatment on a large number of to-be-pushed services is realized, so that the concurrency performance problem of the database is solved. Meanwhile, based on the cooperation of the distributed cache technology and the database storage technology, the defect that local cache data are easily lost can be overcome. Therefore, the high-speed and accurate statistics on the service pushing amount can be realized.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a system and method for counting service pushing volume. Background technique [0002] In some product promotion activities on the network platform, the promoter will push the business to users who meet certain conditions, such as issuing some rewards or notifications. However, this type of activity generally imposes a limit on the total amount of rewards or notifications issued (that is, quota limit), so it is necessary to conduct real-time statistics on the amount of business push. [0003] In the prior art, generally at the service push end, a database or a local cache is used to collect statistics on the service push volume. Every time a business is pushed, the push amount is sent to the database or local cache, and the database or local cache is accumulated to calculate the total push amount. [0004] In the process of implementing the present invention, the inventor ...

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): H04L29/08
CPCH04L67/1097H04L67/55H04L67/568
Inventor 贺向波沙创
Owner ADVANCED NEW TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products