Resource allocation method, device, and computer-readable storage medium

A resource allocation and storage medium technology, applied in the field of data processing, can solve problems such as reducing the throughput of the website, and achieve the effect of improving the effect and increasing the response rate

Active Publication Date: 2019-01-15
深圳极联信息技术股份有限公司
View PDF11 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] When issuing coupons, in order to improve the marketing effect, it is usually set to issue coupons at a time node for users to collect, first come, first served, so that a large number of users will access the coupon system at the same time, resulting in the TPS of the coupon system ( Transaction Per Second, the number of transactions executed per second (usually also referred to as system throughput) will be very high, and in order to prevent multiple users from grabbing the same coupon at the same time, the existing method usually locks the database , which greatly reduces the throughput of the entire site

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
  • Resource allocation method, device, and computer-readable storage medium
  • Resource allocation method, device, and computer-readable storage medium
  • Resource allocation method, device, and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055]In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, but not all of them. Based on the embodiments in the present application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present application.

[0056] A server implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, use of suffixes such as 'module', 'part' or 'unit' for denoting elements is only for facilitating description of the present invention and has no specific meaning by it...

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 a resource allocation method, a device and a computer-readable storage medium. The method comprises the following steps: when a coupon collection request is received, an activity identifier and a user identifier carried in the coupon collection request are obtained; determining a coupon queue corresponding to the activity identifier; allocating a corresponding target coupon to the user identification in the coupon queue;removing the target coupon from the coupon queue; sending the target coupon to an initiator of the coupon collection request. When users collect coupons, they no longer read coupons stored in the database directly, but read coupon information directly from the queue, which can avoid the problems of slow speed and low efficiency in reading coupons from the database.

Description

technical field [0001] The present application relates to the technical field of data processing, and in particular to a resource allocation method, device, and computer-readable storage medium. Background technique [0002] A coupon is a coupon that gives the holder some special rights (such as buying items on credit or enjoying a certain discount). With the development of the economy, coupons have gradually become an important marketing method. Due to a series of reasons such as the vigorous publicity of merchants and the real discounts of coupons, coupons have become popular among consumers in their daily life. Accepted, more and more frequently appear in consumption activities. [0003] Paper coupons were the most widely used coupons in the early days, which were mainly issued by merchants in stores or by staff on the roadside. Later, with the advent of the Internet era, electronic coupons appeared. We need to download, print or obtain electronic coupons online. [00...

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/50G06Q30/02
CPCG06F9/5005G06Q30/0207
Inventor 王军
Owner 深圳极联信息技术股份有限公司
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