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

Data distribution method based on Redis cluster and related equipment

A data distribution and clustering technology, applied in the field of data processing, can solve problems such as the reduction of server response speed, and achieve the effect of reducing operation and maintenance pressure and improving efficiency

Pending Publication Date: 2020-05-08
CHINA PING AN LIFE INSURANCE CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] With the development of Internet communication, in order to increase user participation and attract more customers, many platforms have proposed many lottery schemes, for example, to obtain prizes, calculate the probability of prizes, and obtain a random number to match prizes. If the inventory is insufficient, you need to Re-execute the entire lottery drawing process, or prompt that you have not won the lottery; however, when a large number of users flood in at a certain point in time, the server needs to accept a large number of requests, and the server cannot bear this pressure while consuming the CPU, and the response speed of the server will also decrease

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
  • Data distribution method based on Redis cluster and related equipment
  • Data distribution method based on Redis cluster and related equipment
  • Data distribution method based on Redis cluster and related equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] 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 persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0024] The terms "first", "second" and the like in the specification and claims of the present application and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, bu...

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 data distribution method based on a Redis cluster and related equipment applied to a server. The method comprises the following steps of: obtaining a plurality of preset cache queues, wherein each preset cache queue comprises at least one piece of preset event result data; obtaining a cache queue according to a plurality of preset cache queues, carryingout data distribution on a plurality of users to acquire a plurality of pieces of user allocation information corresponding to the plurality of users, if the plurality of preset event result data in the plurality of preset cache queues are allocated, executing the next step; if yes, storing the plurality of pieces of user allocation information into a preset Redis cluster, wherein the Redis cluster comprises a plurality of target cache queues, and each target cache queue corresponds to at least one piece of user distribution information, so that data distribution and storage are realized through two different cache queues, the operation and maintenance pressure of the server is reduced, and the data distribution efficiency is improved.

Description

technical field [0001] The present application relates to the field of data processing, in particular to a method and related equipment for data distribution based on Redis clusters. Background technique [0002] With the development of Internet communication, in order to increase user participation and attract more customers, many platforms have proposed many lottery schemes, for example, to obtain prizes, calculate the probability of prizes, and obtain a random number to match prizes. If the inventory is insufficient, you need to Re-execute the entire lottery drawing process, or prompt that you have not won the lottery; however, when a large number of users flood in at a certain point in time, the server needs to accept a large number of requests, and the server cannot bear this pressure while consuming the CPU, and the response speed of the server will also decrease . Contents of the invention [0003] The embodiment of the present application provides a method for dat...

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): G06F9/50
CPCG06F9/5038
Inventor 谢铭熙
Owner CHINA PING AN LIFE INSURANCE 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