Allocation method and device of electronic red envelopes

A distribution method and red envelope technology, applied in the data field, can solve problems such as the min amount of red envelopes

Inactive Publication Date: 2018-01-26
PEKING UNIV FOUNDER GRP CO LTD +1
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Although this algorithm is simple, it has a disadvanta

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
  • Allocation method and device of electronic red envelopes
  • Allocation method and device of electronic red envelopes

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the purposes, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments These are some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.

[0042] figure 1 It is a flow chart of a method for distributing an electronic red envelope according to an embodiment of the present invention.

[0043] refer to figure 1 , the method for distributing electronic red envelopes according to an embodiment of the present invention specifically includes:

[0044] S1. Receive a red pac...

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 relates to an allocation method and device of electronic red envelopes. The method includes: receiving a red-envelope allocation request sent by a client, wherein the red-envelope allocation request carries pre-allocated information of a total money amount of the electronic red envelopes and a red-envelope number; extracting the information which is of the total money amount of the electronic red envelopes and the red-envelope number and carried in the red-envelope allocation request, and determining an average amount of money, which is allocated to each electronic red envelope,according to the total money amount of the electronic red envelopes and the red-envelope number; adopting a random allocation algorithm to determine an initial money amount of each electronic red envelope; and calculating a correction value of each electronic red envelope according to the average money amount and the initial money amount of each electronic red envelope, and adjusting the initial money amount of each electronic red envelope according to the correction value. According to the method, the correction values are set through utilizing a manner of first "expansion" and later ''contraction'', and rational allocation of the money amounts of the electronic red envelopes is realized.

Description

technical field [0001] The invention relates to the technical field of data, and in particular, to a method and device for distributing electronic red envelopes. Background technique [0002] At present, red packet distribution is the process of decomposing a large integer m (directly in cents, such as 1 yuan or 100) into n small integers, and the range of small integers is [min, max]. [0003] The simplest idea is to guarantee the bottom first, each small red envelope is guaranteed to have min, and then each request randomly generates an integer in the range of 0 to (max-min), plus min is the amount of red envelope. Although this algorithm is simple, it has a drawback: the final generated red envelopes may all be min money. SUMMARY OF THE INVENTION [0004] The technical problem to be solved by the present invention is: how to set a reasonable amount distribution method of electronic red envelopes. [0005] Based on the above purpose, one aspect of the present invention...

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): G06Q20/06G06Q20/38
Inventor 朱海
Owner PEKING UNIV FOUNDER GRP 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