## preface

First of all, let’s review**Marketing system**The composition of the system is as follows:

Marketing system |
---|

Activity marketing system |

Sales marketing system |

What we bring today is**Activity marketing system**The first independent subsystem under**Universal lottery tool**This paper is divided into four parts as follows

- Common lottery scenes and classification
- Lottery demand allocation
- Common prize types
- Five elements of lottery

## Common lottery scenes and classification

The following are some common lucky draw scenes listed by me, such as red envelope rain, candy rain, hamster beating, big turntable (nine palace grid), eyesight test, problem-solving, game breakthrough, payment scratch, integral scratch and so on.

Activity name | describe |
---|---|

Red envelope rain | The lucky draw for red envelopes at the same time every day. You can participate in one lucky draw at each time |

Candy rain | Daily on the hour candy lottery, each on the hour can participate in a general |

Whac-A-Mole | Every day on the hour play hamster lottery, each on the hour can participate in a general |

Big turntable (Jiugongge) | A certain period of time, turntable lottery, each field can participate in N times |

Examination of eyesight | A certain period of time, rotating cup guess ball in which quilt, guess right can draw, generally can participate in N times a day |

Answer questions | Each pass, you can participate in the lucky draw, the more to the back, the more valuable the prize |

Game breakthrough | Each pass, you can participate in the lucky draw, the more to the back, the more valuable the prize |

Pay for scratch | After paying the order, the prize can be scraped. The larger the payment amount is, the more valuable the prize is |

Integral scratch | The more points you spend, the more valuable the prize will be |

Through the above activity description, we classify the whole lucky draw scene into the following three categories:

type | Activity name | dimension |
---|---|---|

Lottery by time | Red envelope rain, candy rain, ground mouse, lucky wheel (nine palace grid), eye test | Time dimension |

Draw according to the number of draw | Answer and game | Number of times to participate in the activity |

Lottery by amount range | Pay for scratch, integral scratch | Amount range dimension |

Next, let’s take a look at the specific lottery demand configuration of each type of lottery activities.

## Lottery demand allocation

In this section, the demand configuration of each type of lucky draw is divided into the following three parts:

- Activity configuration
- Venue allocation
- Prize allocation

### First, the first category:`Lottery by time`

The demand configuration of enterprise

type | Activity name | characteristic |
---|---|---|

Lottery by time | Red envelope rain, candy rain, ground mouse, lucky wheel (nine palace grid), eye test | Time dimension |

Lottery by time | Are there multiple sessions | Limit of times of single event (Times) | Limit of total times (Times) |
---|---|---|---|

Red envelope rain | yes | 1 | N |

Candy rain | yes | 1 | N |

Whac-A-Mole | yes | N | N |

Lucky wheel (nine palace grid) | no | N | N |

Examination of eyesight | no | N | N |

Through the above analysis, we get the conclusion**activity**and**Sessions**Concept: an activity needs to support the configuration of multiple sessions.

- Activity: configure the date range of the activity
- Session: configure the specific time range of each session

**Example of red envelope rain demand configuration:**

Activity characteristics: red envelope rain needs to support multiple events.

For example, the three-day and three-day red packet rain on the whole during the double twelfth period is configured as follows:

Activity and venue configuration:

Double 12 red envelope rain |
---|

Activity configuration: |

2019-12-10 ~ 2019-12-12 |

Venue configuration: |

10:00:00 ~ 10:01:00 |

12:00:00 ~ 12:01:00 |

18:00:00 ~ 18:01:00 |

Prize configuration:

Sessions | Prize 1 | Prize 2 | — | Prize n |
---|---|---|---|---|

Venue: 10:00:00 ~ 10:01:00 | Coupon 2 yuan | Empty prize | — | nothing |

Sessions 12:00:00 ~ 12:01:00 | Coupon 5 yuan | Empty prize | — | nothing |

Venue: 18:00:00 ~ 18:01:00 | Coupon 10 yuan | Coupon 20 yuan | — | Empty prize |

```
The results of the above configuration are as follows:
On December 10, 2019, there will be three red packets at the same time:
2019-12-10 10:00:00 ~ 10:01:00
2019-12-10 12:00:00 ~ 12:01:00
2019-12-10 18:00:00 ~ 18:01:00
On December 11, 2019, there will be three red packets at the same time:
2019-12-11 10:00:00 ~ 10:01:00
2019-12-11 12:00:00 ~ 12:01:00
2019-12-11 18:00:00 ~ 18:01:00
On December 12, 2019, there will be three red packets at the same time:
2019-12-12 10:00:00 ~ 10:01:00
2019-12-12 12:00:00 ~ 12:01:00
2019-12-12 18:00:00 ~ 18:01:00
```

**Example of requirement configuration for lucky turntable:**

Activity characteristics: Lucky turntable doesn’t need multiple games.

For example, during the period from January 20, 2020 to February 10, 2020, the lucky turntable is configured as follows:

Activity and venue configuration:

Double 12 lucky turntable |
---|

Activity configuration: |

2019-12-10 ~ 2019-12-12 |

Venue configuration: |

00:00:00 ~ 23:59:59 |

Prize configuration:

Sessions | Prize 1 | Prize 2 | — | Prize n |
---|---|---|---|---|

Sessions 00:00:00 ~ 23:59:59 | Coupon 2 yuan | Empty prize | — | nothing |

```
The results of the above configuration are as follows:
Lucky turntable lucky draw will be held from December 10, 2019:00:00 to December 12, 2019 23:59:59
```

Attention and Thinking: Double 12 lucky turntable does not need multiple sessions, only one session can be configured, fully reusing the activity session model.

### Then, the second category:`Draw according to the number of draw`

The demand configuration of enterprise

type | Activity name | characteristic |
---|---|---|

Draw according to the number of draw | Answer and game | (successful participation) current activity frequency dimension |

**Example of requirement configuration for problem solving**

Activity features: the prizes of each level are different. Generally, the higher the chance of winning the grand prize, the higher the chance of winning the grand prize.

Activity and venue configuration:

Double 12 |
---|

Activity configuration: |

2019-12-10 ~ 2019-12-12 |

Venue configuration: |

00:00:00 ~ 23:59:59 |

Prize configuration:

Double 12 | prize |
---|---|

First pass | Coupon 2 yuan |

Second level | Coupon 5 yuan |

The third pass | Coupon 10 yuan |

The fourth level | Coupon 20 yuan |

The fifth pass | Coupon 50 yuan |

The sixth level | Coupon 100 yuan |

Attention and Thinking: the same activity & session configuration is fully reused, and the same lucky turntable configuration (no need to support multiple sessions).

### Finally, the third category:`Lottery by amount range`

The requirement configuration of the system is as follows:

type | Activity name | characteristic |
---|---|---|

Lottery by amount range | Pay for scratch, integral scratch | Amount range dimension |

**Example of demand configuration for payment scratch**

Activity characteristics: different order amount, the larger the general amount, the greater the chance of big prize.

Activity and venue configuration:

Double 12 |
---|

Activity configuration: |

2019-12-10 ~ 2019-12-12 |

Venue configuration: |

00:00:00 ~ 23:59:59 |

Prize configuration:

Order amount | Prize 1 | Prize 2 | — | Prize n |
---|---|---|---|---|

0~100 | Coupon 2 yuan | Empty prize | — | nothing |

100~200 | Coupon 5 yuan | Empty prize | — | nothing |

200~1000 | Coupon 10 yuan | Coupon 20 yuan | — | Empty prize |

Over 1000 | Coupon 50 yuan | Notebook computer | — | Empty prize |

Attention and Thinking: the same activity & session configuration is fully reused, and the same lucky turntable configuration (no need to support multiple sessions).

Conclusion: through the above analysis, we get two elements of the lottery tool

activityandSessions。

## Common prize types

What’s the draw?

Common prize types |
---|

coupon |

integral |

material object |

Empty prize |

Conclusion: we got another element of the lottery tool

prize。

## Five elements of lottery

Through the above analysis, we have got the lucky draw**Three elements**

- activity
- Sessions
- prize

So what else have we not talked about? Next, let’s see.

#### The fourth factor: winning probability

The lucky draw is naturally inseparable from the setting of the winning probability of the prize. As for the winning probability, we support the following flexible configuration:

- Manually set the prize winning probability
- Automatic probability, according to the number of current prizes, the weight of prizes to get the winning probability

For example, the configuration of the red envelope rain in a big promotion activity is as follows:

Activity configuration | describe |
---|---|

Activity time | 2019-12-10~2019-12-12 |

Activity name | The 12th National Congress of the people’s Republic of China in 2019 |

Activity description | The 12th National Congress of the people’s Republic of China in 2019 promotes the whole end and whole point red packet rain activity |

Manually set the prize probability | yes |

Sessions | Prize type | Specific prizes | Number of prizes | Winning probability |
---|---|---|---|---|

10:00:00 ~ 10:01:00 | coupon | 2 yuan coupon | 2000 | 50% |

– | coupon | 5 yuan coupon | 1000 | 20% |

– | Empty prize | – | 5000 | 30% |

12:00:00 ~ 12:01:00 | coupon | 2 yuan coupon | 2000 | 50% |

– | coupon | 5 yuan coupon | 1000 | 20% |

– | Empty prize | – | 5000 | 30% |

18:00:00 ~ 18:01:00 | coupon | 2 yuan coupon | 2000 | 50% |

– | coupon | 5 yuan coupon | 1000 | 20% |

– | Empty prize | – | 5000 | 30% |

Note: the sum of winning probability of each round must be 100%, otherwise the remaining part will be added as the winning probability of empty prize by default.

#### The fifth element: even award

How to draw the prize evenly?

Answer: the prize is evenly distributed.

The specific way is to split the total number of prizes to each specific time period. Take the double 12 lucky turntable as an example

Sessions | Prize type | Specific prizes | Number of prizes | Winning probability | Award time (5 minutes in advance by default) | Number of awards |
---|---|---|---|---|---|---|

00:00:00 ~ 23:59:59 | coupon | 2 yuan coupon | 2000 | 50% | – | – |

– | – | – | – | – | 00:00:00 | 2000 |

– | – | – | – | – | 06:00:00 | 2000 |

– | – | – | – | – | 12:00:00 | 2000 |

– | – | – | – | – | 18:00:00 | 2000 |

Here we get the lucky draw**The fifth factor: even award**。

## epilogue

Through the above analysis, we get the five elements of the lottery as follows:

Five elements of lottery | Element name |
---|---|

The first element | activity |

Second element | Sessions |

The third element | prize |

The fourth element | Winning probability |

The fifth element | Award evenly |

At the same time, we passed the**Five elements of lottery**I got it, too**Universal lottery tool**There are five basic steps to configure a lottery

- Activity configuration
- Venue allocation
- Prize allocation
- Prize winning probability allocation
- Prize allocation

Finally, we will introduce it in the future**Universal lottery tool**DB design and configuration background design.

[SKR shop] project address long press to enter: https://github.com/skr-shop/m…

More articles in SKR shop series:

- Skr shop marketing system begins
- Demand analysis of SKR shop shopping cart design
- Can you design a trading system?
- Can you design a trading system?
- Process analysis and summary of third party payment
- Basic commodity information of e-commerce Design Manual
- User system of e-commerce Design Manual