CN108921591A - Electronic certificate dynamic creation method, server and storage medium - Google Patents
Electronic certificate dynamic creation method, server and storage medium Download PDFInfo
- Publication number
- CN108921591A CN108921591A CN201810547048.2A CN201810547048A CN108921591A CN 108921591 A CN108921591 A CN 108921591A CN 201810547048 A CN201810547048 A CN 201810547048A CN 108921591 A CN108921591 A CN 108921591A
- Authority
- CN
- China
- Prior art keywords
- electronic certificate
- user
- dynamic
- money
- preferential amount
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0207—Discounts or incentives, e.g. coupons or rebates
- G06Q30/0224—Discounts or incentives, e.g. coupons or rebates based on user history
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Development Economics (AREA)
- Strategic Management (AREA)
- Finance (AREA)
- Game Theory and Decision Science (AREA)
- Entrepreneurship & Innovation (AREA)
- Economics (AREA)
- Marketing (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The present invention provides a kind of electronic certificate dynamic creation method, device and storage mediums, the dynamic electron voucher templates of this method creation preset quantity, relevant information is configured in electronic certificate template table, and electronic certificate template number and corresponding preferential amount of money range are stored in prize allocation list, it the use of preset allocation rule is that each preferential amount of money distributes corresponding electronic certificate quantity according to the preferential amount of money range and corresponding electronic certificate quantity of each electronic certificate template.Later, this method obtains corresponding electronic certificate template number according to the award bonus of user from prize allocation list, the interface of issuing licence of central processing module is called to provide dynamic electron voucher templates, dynamic electron voucher templates are written into the award bonus of user, generate corresponding electronic certificate deposit user's electronic certificate table.The present invention provides a small amount of dynamic electron voucher templates, it is possible to reduce system resource occupies, and improves working efficiency.
Description
Technical field
The present invention relates to e-commerce field more particularly to a kind of electronic certificate dynamic creation methods, server and calculating
Machine readable storage medium storing program for executing.
Background technique
Electronic certificate is a kind of specific character or number that preferential, deduction and exemption purchase expenses, food and drink expense can be brought to user
Combination, such as discount coupon, promotional card.With the quickening of network Development paces, online shopping has become a part in for people's lives.?
Various festivals or holidays or important period, e-commerce platform can be organized, such as the prize drawing of red packet rain, traffic cycle, scratch card gift network
Activity attracts user, and user is encouraged to surf the Internet shopping.The activity can be that user provides phase according to the red packet amount of money that user is drawn
Answer the electronic certificate of the amount of money.
Currently, general electronic certificate releasing mode is in the industry:According to the movable preferential amount of money range such as red packet rain, often
0.1 yuan of creation, one electronic certificate template.For example, preferential amount of money range is 0.1~100, then creation is needed to be total to from 0.1 to 100
1000 electronic certificate templates.Then, prize system calls corresponding electronic certificate template further according to the amount of money that user is extracted into
It is provided.On the one hand, configuration electronic certificate template is quite cumbersome and needs manually to be imported, error rate for this kind of releasing mode
It is higher.On the other hand, electronic certificate template number is excessive, occupies a large amount of storage resources, influences calculated performance.
Summary of the invention
In view of the foregoing, the present invention provides a kind of electronic certificate dynamic creation method, server and computer-readable deposits
Storage media, main purpose are to simplify electronic certificate template configuration, the occupancy of reduction error rate and system resource.
To achieve the above object, the present invention provides a kind of electronic certificate dynamic creation method, and this method includes:
Foundation step:According to the dynamic electron voucher templates of preferential amount of money scope creation preset quantity, dynamic electron is configured
Dynamic electron voucher templates are stored in electronic certificate template table, and are stored in electricity in prize allocation list by the relevant information of voucher templates
Sub- voucher templates number and corresponding preferential amount of money range, according to the preferential amount of money range of each electronic certificate template and corresponding
Electronic certificate quantity is that each preferential amount of money distributes corresponding electronic certificate quantity using preset allocation rule;
Generation step:Corresponding electronic certificate template number is obtained from prize allocation list according to the award bonus of user,
Call the interface of issuing licence of central processing module to provide dynamic electron voucher templates, by the award bonus of user write-in dynamic electron with
Template is demonstrate,proved, corresponding electronic certificate deposit user's electronic certificate table is generated.
Preferably, the preset allocation rule includes:
Preferential amount of money range is divided into five grades, including level-one, second level, three-level, level Four and Pyatyi from high to low;
Respectively by the default ratio of the first preset ratio, the second preset ratio, third preset ratio, the 4th preset ratio and the 5th
The electronic certificate sum of example is assigned to the preferential amount of money range of corresponding grade;
The electronic certificate sum of corresponding ratio is evenly distributed in each preferential amount of money of corresponding grade.
Preferably, the generation step includes:
The preferential amount of money range that user uses is determined according to the historical consumption data of user;
According to the corresponding electronic certificate quantity of the preferential amount of money range of preferential amount of money range statistics, at random from the electronics of statistics with
A preferential amount of money is selected to be sent to user as award bonus, and by the award bonus in card quantity.
Optionally, the present invention also provides another electronic certificate dynamic creation method, this method includes:
Foundation step:Unified dynamic electron voucher templates are created, the relevant information of dynamic electron voucher templates is configured, it will
Dynamic electron voucher templates are stored in electronic certificate template table, and are stored in electronic certificate template number and corresponding in prize allocation list
Preferential amount of money range;
Generation step:Corresponding electronic certificate template number is obtained from prize allocation list according to the award bonus of user,
Call the interface of issuing licence of central processing module to provide dynamic electron voucher templates, by the award bonus of user write-in dynamic electron with
Template is demonstrate,proved, corresponding electronic certificate deposit user's electronic certificate table is generated.
Preferably, this method includes:
According to the relevant information of electronic certificate and user's order information, judging whether article that the user is placed an order meets makes
Corresponding prompt information is sent to user if being unsatisfactory for the condition using electronic certificate with the condition of electronic certificate, if meeting
Using the condition of electronic certificate, then promotion calculating is carried out in conjunction with the winning information of user's electronic certificate.
In addition, the present invention also provides a kind of server, which includes:Memory, processor and display, it is described to deposit
Electronic certificate dynamic generator is stored on reservoir, the electronic certificate dynamic generator is executed by the processor, can be real
Existing following steps:
Foundation step:According to the dynamic electron voucher templates of preferential amount of money scope creation preset quantity, dynamic electron is configured
Dynamic electron voucher templates are stored in electronic certificate template table, and are stored in electricity in prize allocation list by the relevant information of voucher templates
Sub- voucher templates number and corresponding preferential amount of money range, according to the preferential amount of money range of each electronic certificate template and corresponding
Electronic certificate quantity is that each preferential amount of money distributes corresponding electronic certificate quantity using preset allocation rule;
Generation step:Corresponding electronic certificate template number is obtained from prize allocation list according to the award bonus of user,
Call the interface of issuing licence of central processing module to provide dynamic electron voucher templates, by the award bonus of user write-in dynamic electron with
Template is demonstrate,proved, corresponding electronic certificate deposit user's electronic certificate table is generated.
Preferably, the preset allocation rule includes:
Preferential amount of money range is divided into five grades, including level-one, second level, three-level, level Four and Pyatyi from high to low;
Respectively by the default ratio of the first preset ratio, the second preset ratio, third preset ratio, the 4th preset ratio and the 5th
The electronic certificate sum of example is assigned to the preferential amount of money range of corresponding grade;
The electronic certificate sum of corresponding ratio is evenly distributed in each preferential amount of money of corresponding grade.
Preferably, the generation step includes:
The preferential amount of money range that user uses is determined according to the historical consumption data of user;
According to the corresponding electronic certificate quantity of the preferential amount of money range of preferential amount of money range statistics, at random from the electronics of statistics with
A preferential amount of money is selected to be sent to user as award bonus, and by the award bonus in card quantity.
Optionally, the present invention also provides another server, which includes:Memory, processor and display, institute
Storage electronic certificate dynamic generator, the electronic certificate dynamic generator on memory is stated to be executed by the processor,
Following steps can be achieved:
Foundation step:Unified dynamic electron voucher templates are created, the relevant information of dynamic electron voucher templates is configured, it will
Dynamic electron voucher templates are stored in electronic certificate template table, and are stored in electronic certificate template number and corresponding in prize allocation list
Preferential amount of money range;
Generation step:Corresponding electronic certificate template number is obtained from prize allocation list according to the award bonus of user,
Call the interface of issuing licence of central processing module to provide dynamic electron voucher templates, by the award bonus of user write-in dynamic electron with
Template is demonstrate,proved, corresponding electronic certificate deposit user's electronic certificate table is generated.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage medium
Including electronic certificate dynamic generator in storage medium can when the electronic certificate dynamic generator is executed by processor
Realize the arbitrary steps in electronic certificate dynamic creation method as described above.
Electronic certificate dynamic creation method, server and computer readable storage medium proposed by the present invention, this method root
According to the dynamic electron voucher templates of preferential amount of money scope creation preset quantity, the relevant information of dynamic electron voucher templates is configured,
Dynamic electron voucher templates are stored in electronic certificate template table, and are stored in electronic certificate template number and correspondence in prize allocation list
Preferential amount of money range, according to the preferential amount of money range and corresponding electronic certificate quantity of each electronic certificate template, using pre-
If allocation rule be that each preferential amount of money distributes corresponding electronic certificate quantity.Later, this method is according to the prize-winning gold of user
Volume obtains corresponding electronic certificate template number from prize allocation list, and the interface of issuing licence of central processing module is called to provide dynamic
Dynamic electron voucher templates are written in the award bonus of user by electronic certificate template, generate corresponding electronic certificate deposit user
Electronic certificate table, thus simplify the use of electronic certificate template, the performance that optimization promotion calculates.
Detailed description of the invention
Fig. 1 is the schematic diagram of server preferred embodiment of the present invention;
Fig. 2 is the module diagram of electronic certificate dynamic generator preferred embodiment in Fig. 1;
Fig. 3 is the application environment schematic diagram of program module in Fig. 2;
Fig. 4 is the flow chart of electronic certificate dynamic creation method first embodiment of the present invention;
Fig. 5 is the flow chart of electronic certificate dynamic creation method second embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that described herein, specific examples are only used to explain the present invention, is not intended to limit the present invention.
As shown in Figure 1, being the schematic diagram of 1 preferred embodiment of server of the present invention.
In the present embodiment, server 1 refers to service of goods platform, the server 1 can be server, tablet computer,
PC, portable computer and other electronic equipments with calculation function.
The server 1 includes:Memory 11, processor 12, display 13, network interface 14 and communication bus 15.Wherein,
Network interface 14 optionally may include standard wireline interface and wireless interface (such as WI-FI interface).Communication bus 15 is for real
Connection communication between these existing components.
Memory 11 includes at least a type of readable storage medium storing program for executing.The readable storage medium storing program for executing of at least one type
It can be the non-volatile memory medium of such as flash memory, hard disk, multimedia card, card-type memory.In some embodiments, described to deposit
Reservoir 11 can be the internal storage unit of the server 1, such as the hard disk of the server 1.In further embodiments, institute
State the external memory unit that memory 11 is also possible to the server 1, such as the plug-in type being equipped on the server 1 is hard
Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card
(Flash Card) etc..In the present embodiment, the memory 11 can be not only used for storage and be installed on answering for the server 1
With software and Various types of data, such as electronic certificate dynamic generator 10 and electronic certificate template etc..
Processor 12 can be in some embodiments a central processing unit (Central Processing Unit,
CPU), microprocessor or other data processing chips, program code or processing data for being stored in run memory 11, example
Such as execute the computer program code of electronic certificate dynamic generator 10.
Display 13 is properly termed as display screen or display unit.Display 13 can be LED and show in some embodiments
Device, liquid crystal display, touch-control liquid crystal display and Organic Light Emitting Diode (Organic Light-Emitting
Diode, OLED) touch device etc..Display 13 is visual for showing the information handled in the server 1 and for showing
Working interface, such as display user's preferential amount of money obtained.
Fig. 1 illustrates only the server 1 with component 11-15 and electronic certificate dynamic generator 10, but should manage
Solution is, it is not required that implements all components shown, the implementation that can be substituted is more or less component.
Optionally, which can also include user interface, and user interface may include input unit such as keyboard
(Keyboard), instantaneous speech power such as sound equipment, earphone etc., optionally user interface can also include that the wired of standard connects
Mouth, wireless interface.
Optionally, which further includes touch sensor.It is touched provided by the touch sensor for user
The region of operation is known as touch area.In addition, touch sensor described here can be resistive touch sensor, condenser type
Touch sensor etc..Moreover, the touch sensor not only includes the touch sensor of contact, the touching of proximity may also comprise
Touch sensor etc..In addition, the touch sensor can be single sensor, or such as multiple sensings of array arrangement
Device.User can start electronic certificate dynamic generator 10 by touching the touch area.
In addition, the area of the display of the electronic device 1 can be identical as the area of the touch sensor, it can also not
Together.Optionally, display and touch sensor stacking are arranged, to form touch display screen.The device is based on touching aobvious
Display screen detects the touch control operation of user's triggering.
The server 1 can also include radio frequency (Radio Frequency, RF) circuit, sensor and voicefrequency circuit etc.,
Details are not described herein.
In 1 embodiment of server shown in Fig. 1, as storing electronics in a kind of memory 11 of computer storage medium
The program code of voucher dynamic generator 10, when processor 12 executes the program code of electronic certificate dynamic generator 10,
Realize following steps:
Foundation step:According to the dynamic electron voucher templates of preferential amount of money scope creation preset quantity, dynamic electron is configured
Dynamic electron voucher templates are stored in electronic certificate template table, and are stored in electricity in prize allocation list by the relevant information of voucher templates
Sub- voucher templates number and corresponding preferential amount of money range, according to the preferential amount of money range of each electronic certificate template and corresponding
Electronic certificate quantity is that each preferential amount of money distributes corresponding electronic certificate quantity using preset allocation rule;
Generation step:Corresponding electronic certificate template number is obtained from prize allocation list according to the award bonus of user,
Call the interface of issuing licence of central processing module to provide dynamic electron voucher templates, by the award bonus of user write-in dynamic electron with
Template is demonstrate,proved, corresponding electronic certificate deposit user's electronic certificate table is generated.
Concrete principle please refers to following Fig. 2 and illustrates about the module of 10 preferred embodiment of electronic certificate dynamic generator
Figure, Fig. 4 about electronic certificate dynamic creation method first embodiment flow chart and Fig. 5 about electronic certificate dynamic creation method
The introduction of the flow chart of second embodiment.
As shown in Fig. 2, being the module diagram of 10 preferred embodiment of electronic certificate dynamic generator in Fig. 1.The present invention
So-called module is the series of computation machine program instruction section for referring to complete specific function.It below will be using discount coupon as specifically
Embodiment is illustrated of the invention.
In the present embodiment, electronic certificate dynamic generator 10 includes:Creation module 110, generation module 120 and center
Processing module 130, in conjunction with the application environment schematic diagram of program module in Fig. 3, function or behaviour that the module 110-120 is realized
Steps are as follows for work:
Creation module 110, for creating the dynamic electron voucher templates of preset quantity, configuration dynamic electron voucher templates
Amount of money total size is split into the amount of money range of corresponding number by relevant information, and each amount of money range is not overlapped, different dynamics
The different amount of money range of electronic certificate template-setup, electronic certificate number and use condition, all dynamic electron voucher templates are deposited
Electronic certificate template table is stored up, meanwhile, it is stored in electronic certificate template number and corresponding preferential amount of money range in prize allocation list,
It the use of preset allocation rule is every according to the preferential amount of money range and corresponding electronic certificate quantity of each electronic certificate template
A preferential amount of money distributes corresponding electronic certificate quantity.Meanwhile electronic certificate template number and right is stored in prize allocation list
The preferential amount of money range answered.The relevant information includes but is not limited to electronic certificate template name, validity period, preferential amount of money model
It encloses, electronic certificate quantity, electronic certificate template and commodity trade company classification incidence relation and use condition.Wherein, the validity period
Including fixed validity period and certainly effective number of days after getting, for example, fixed validity period:2018.03.06-2018.03.08, from neck
Effective number of days after taking:In 3 days effectively from after getting.Electronic certificate quantity includes electronic certificate sum and each preferential amount of money pair
The electronic certificate number answered.Electronic certificate template and commodity trade company classification incidence relation refer to the commodity class for being able to use electronic certificate
Mesh or shop can also preset the shop for being able to use electronic certificate and the quotient of preset quantity in another embodiment
Category mesh, and according to the recent or currently browsed shop of user or article generate the electronics of corresponding shop or commodity classification with
Card.The relevant information of dynamic electron voucher templates is determined by specific activity.The electronic certificate template number refers to the activity
Electronic certificate template be stored in the address of electronic certificate template table.For example, creating 3 in " 38 section red packet rain activity " and moving
State discount coupon template, dynamic coupon template A are 10 yuan of discount coupon templates below, template number 00001, quantity 2000
, use condition is:Full 30 yuan available;The discount coupon template that dynamic coupon template B is 10.1~20 yuan, template number are
00002, quantity is 1500, and use condition is:Full 50 yuan available;The discount coupon mould that dynamic coupon template C is 20 yuan or more
Plate, template number 00003, quantity are 300, and use condition is:Full 80 yuan available.
Wherein, specifically, preset according to the preferential amount of money range of each electronic certificate template and electronic certificate number, use
Allocation rule is that each preferential amount of money distributes corresponding electronic certificate number.The preset allocation rule includes:By the preferential amount of money
Range is divided into five grades, including level-one, second level, three-level, level Four and Pyatyi from high to low;Then, respectively by the first default ratio
The electronic certificate sum of example, the second preset ratio, third preset ratio, the 4th preset ratio and the 5th preset ratio is assigned to pair
Answer the preferential amount of money range of grade;Finally, the electronic certificate sum of corresponding ratio is evenly distributed to each excellent of corresponding grade
In the favour amount of money.It will be appreciated that the preset allocation rule is not limited in for the preferential amount of money being divided into five grades.
In another embodiment, unified dynamic electron voucher templates can also be created, are configured in the same activity
The relevant information of dynamic electron voucher templates is stored in electronic certificate template table, and is stored in electronic certificate template in prize allocation list
Number and corresponding preferential amount of money range.In the same activity, unique electronic certificate template is only created.For example, creation one
A dynamic coupon template, entitled " 38 section red packet rain removable electrical voucher ", validity period selects fixed validity period:From March 6
To March 8, for preferential amount of money range from 0.1 to 38 yuan, discount coupon total quantity was 3800, configures commodity class relevant to women
Under mesh to this discount coupon template, the use condition of discount coupon:Completely 30 yuan available (10 yuan and discount coupons below), full 50 yuan can be used
(10.1~20 yuan of discount coupons), full 80 yuan available (20 yuan or more of discount coupons).
Generation module 120 obtains corresponding electronic certificate mould for the award bonus according to user from prize allocation list
Plate number calls the interface of issuing licence of central processing module 130 to provide dynamic electron voucher templates, the award bonus of user is written
Dynamic electron voucher templates generate corresponding electronic certificate deposit user's electronic certificate table.For example, user is in red packet rain activity
When drawing 3 yuan, according to the corresponding relationship of the amount of money and electronic certificate template number in prize allocation list, from electronic certificate template table
Middle calling dynamic electron voucher templates in 3 yuan of write-in dynamic electron voucher templates for drawing user, generate electronic certificate deposit
User's electronic certificate table.The prize allocation list is used to store the amount of money pass corresponding with electronic certificate template number that user draws
System.The electronic certificate template that different activities is created is different, is stored in electronic certificate template table that there are different numbers.?
In sweepstake, system determines the preferential amount of money range that user uses according to the historical consumption data of user.Later, according to preferential
The corresponding electronic certificate quantity of the preferential amount of money range of amount of money range statistics selects one from the electronic certificate quantity of statistics at random
The preferential amount of money is sent to user as award bonus, and by the award bonus.For example, system was according to user one month or 1 year
Interior consumer record, the preferential amount of money range that analysis user uses are 30~100 yuan, then meet the preferential of the user in this activity
Range is 30~38 yuan, and corresponding discount coupon quantity is 133, and a corresponding amount of money is selected to make from 133 discount coupons at random
For award bonus, which is issued into user.
Central processing module 130, the calculating for the granting of user's electronic certificate, use and order promotion.
As shown in figure 4, being the flow chart of electronic certificate dynamic creation method first embodiment of the present invention.
In the present embodiment, processor 12 executes the calculating of the electronic certificate dynamic generator 10 stored in memory 11
Realize that electronic certificate dynamic creation method includes when machine program:Step S10- step S20:
Step S10, creation module 110 create the dynamic electron voucher templates of preset quantity, configure dynamic electron voucher mould
Amount of money total size is split into the amount of money range of corresponding number by the relevant information of plate, and each amount of money range is not overlapped, different
Different amount of money ranges, electronic certificate number and use condition is arranged in dynamic electron voucher templates, by all dynamic electron voucher moulds
Plate is stored to electronic certificate template table, meanwhile, electronic certificate template number and the corresponding preferential amount of money are stored in prize allocation list
Range is advised according to the preferential amount of money range and corresponding electronic certificate quantity of each electronic certificate template using preset distribution
Then corresponding electronic certificate quantity is distributed for each preferential amount of money.For example, creating 3 dynamics in " 38 section red packet rain activity "
Discount coupon template, dynamic coupon template A are 10 yuan of discount coupon templates below, template number 00001, quantity 2000
, use condition is:Full 30 yuan available;The discount coupon template that dynamic coupon template B is 10.1~20 yuan, template number are
00002, quantity is 1500, and use condition is:Full 50 yuan available;The discount coupon mould that dynamic coupon template C is 20 yuan or more
Plate, template number 00003, quantity are 300, and use condition is:Full 80 yuan available, and is stored in prize allocation list preferential
Certificate template number and corresponding preferential amount of money range.
Wherein, specifically, preset according to the preferential amount of money range of each electronic certificate template and electronic certificate number, use
Allocation rule is that each preferential amount of money distributes corresponding electronic certificate number.The preset allocation rule includes:By the preferential amount of money
Range is divided into five grades, including level-one, second level, three-level, level Four and Pyatyi from high to low;Then, respectively by the first default ratio
The electronic certificate sum of example, the second preset ratio, third preset ratio, the 4th preset ratio and the 5th preset ratio is assigned to pair
Answer the preferential amount of money range of grade;Finally, the electronic certificate sum of corresponding ratio is evenly distributed to each excellent of corresponding grade
In the favour amount of money.For example, the quantity of 10.1~20 yuan of discount coupon is 1500, it is divided into level-one, 14.1 for 10.1~14 yuan respectively
~16 yuan be divided into second level, 16.1~18 yuan be divided into that three-level, 18.1~19.5 yuan to be divided into level Four and 19.6~20 points be Pyatyi, it is corresponding
Ratio be respectively 67%, 20%, 8%, 4%, 1%, then the corresponding discount coupon number of the preferential amount of money of each of level-one to Pyatyi point
It is not:25,15,6,4,3.It will be appreciated that the preset allocation rule is not limited in preferential gold
Volume is divided into five grades.
Step S20, in sweepstake, system determines the preferential amount of money that user uses according to the historical consumption data of user
Range.Later, according to the corresponding electronic certificate quantity of the preferential amount of money range of preferential amount of money range statistics, at random from the electronics of statistics
A preferential amount of money is selected to be sent to user as award bonus, and by the award bonus in voucher quantity.For example, system according to
Consumer record in user one month or 1 year, the preferential amount of money range that analysis user uses are 30~100 yuan, then this activity
In meet the user amount of money range be 30~38 yuan, corresponding discount coupon quantity be 133, selected from 133 discount coupons at random
A corresponding amount of money is selected as award bonus, which is issued into user.Generation module 120 is according to the prize-winning gold of user
Volume obtains corresponding electronic certificate template number from prize allocation list, and interface of issuing licence is called to provide dynamic electron voucher templates,
Dynamic electron voucher templates are written into the award bonus of user, generate corresponding electronic certificate deposit user's electronic certificate table.Institute
Prize allocation list is stated for storing the corresponding relationship of the amount of money and electronic certificate template number that user draws.Different activities are created
The electronic certificate template built is different, is stored in electronic certificate template table that there are different numbers.For example, user is living in red packet rain
When drawing 3 yuan in dynamic, according to the corresponding relationship of the amount of money and discount coupon template number in prize allocation list, from discount coupon template table
In 3 yuan of write-in dynamic coupon templates for drawing user, it is excellent to generate discount coupon deposit user for middle calling dynamic coupon template
Favour certificate table.
Further, the user institute can also be judged according to the relevant information and user's order information of electronic certificate template
Whether the article to place an order is able to use electronic certificate, including judging whether bought article meets the article limited in electronic certificate
Classification and shop judge whether the cargo amount of money meets the use condition being arranged in electronic certificate.If not being available electronic certificate,
Corresponding prompt information is sent to user, such as " you are currently without available discount coupon ", if electronic certificate can be used, in conjunction with use
The winning information of family electronic certificate carries out promotion calculating, such as payment amount=cargo amount of money-preferential amount of money.
The electronic certificate dynamic creation method that above-described embodiment proposes passes through the electronic certificate template of preset quantity, configuration
The relevant information of template is stored in electronic certificate template table, and electronic certificate template number and corresponding preferential amount of money range is deposited
Enter prize allocation list, then, obtain corresponding electronic certificate template number from prize allocation list according to the award bonus of user,
Call the interface of issuing licence of central processing module to provide dynamic electron voucher templates, by the award bonus of user write-in dynamic electron with
Template is demonstrate,proved, generating corresponding electronic certificate deposit user's electronic certificate table to save labour turnover reduces error rate, improves
Calculated performance.
As shown in figure 5, being the flow chart of electronic certificate dynamic creation method second embodiment of the present invention.
In the present embodiment, electronic certificate dynamic creation method includes:Step S10- step S20.Wherein, step S20 with
Content in first embodiment is roughly the same, and which is not described herein again.
Step S10, creation module 110 create unified dynamic electron voucher templates, configuration dynamic electron voucher templates
Relevant information is stored in electronic certificate template table, and is stored in electronic certificate template number and corresponding preferential gold in prize allocation list
Volume range.In the same activity, unique electronic certificate template is only created.The relevant information include but is not limited to electronics with
Card template name, validity period, preferential amount of money range, electronic certificate quantity, electronic certificate template are associated with commodity trade company classification
System and use condition.Wherein, the validity period include fixed validity period and get certainly after effective number of days, for example, fixed effective
Phase:2018.03.06-2018.03.08 effective number of days after getting certainly:In 3 days effectively from after getting.Electronic certificate quantity packet
Include electronic certificate sum and the corresponding electronic certificate number of each preferential amount of money.Electronic certificate template is associated with commodity trade company classification
System refers to the commodity classification for being able to use electronic certificate or shop, in another embodiment, can also preset present count
The shop for being able to use electronic certificate of amount and commodity classification, and it is raw according to the recent or currently browsed shop of user or article
At corresponding shop or the electronic certificate of commodity classification.The relevant information of dynamic electron voucher templates is determined by specific activity.Example
Such as, a dynamic electron voucher templates are created, entitled " 38 section red packet rain removable electrical voucher ", validity period selection is fixed effective
Phase:From March 6 to March 8, for preferential amount of money range from 0.1 to 38 yuan, discount coupon total quantity is 3800, configuration and women phase
Under the commodity classification of pass to this discount coupon template, the use condition of discount coupon:Full 30 yuan available (10 yuan and discount coupons below),
Full 50 yuan available (10.1~20 yuan of discount coupons), full 80 yuan available (20 yuan or more of discount coupons).Meanwhile in prize allocation list
Middle deposit electronic certificate template number and corresponding preferential amount of money range.The electronic certificate template number refers to the movable electricity
Sub- voucher templates are stored in the address of electronic certificate template table.
The electronic certificate dynamic creation method that the present embodiment proposes, by unified electronic certificate template, and configures electronics
The relevant information of voucher templates and prize allocation list then obtains corresponding electronic certificate template according to the award bonus of user
Number, calling issue licence interface for winning information deposit user's electronic certificate table, calculate interface according to electronic certificate mould finally, calling
The relevant information of plate table and the winning information of user's electronic certificate table carry out preferential promotion and calculate.Compared to the first embodiment, should
Method reduces the quantity of electronic certificate template, simplifies the configuration of electronic certificate template.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage medium
In include electronic certificate dynamic generator 10, when the electronic certificate dynamic generator 10 is executed by processor realize it is as follows
Operation:
Foundation step:According to the dynamic electron voucher templates of preferential amount of money scope creation preset quantity, dynamic electron is configured
Dynamic electron voucher templates are stored in electronic certificate template table, and are stored in electricity in prize allocation list by the relevant information of voucher templates
Sub- voucher templates number and corresponding preferential amount of money range, according to the preferential amount of money range of each electronic certificate template and corresponding
Electronic certificate quantity is that each preferential amount of money distributes corresponding electronic certificate quantity using preset allocation rule;
Generation step:Corresponding electronic certificate template number is obtained from prize allocation list according to the award bonus of user,
Call the interface of issuing licence of central processing module to provide dynamic electron voucher templates, by the award bonus of user write-in dynamic electron with
Template is demonstrate,proved, corresponding electronic certificate deposit user's electronic certificate table is generated.
Preferably, the preset allocation rule includes:
Preferential amount of money range is divided into five grades, including level-one, second level, three-level, level Four and Pyatyi from high to low;
Respectively by the default ratio of the first preset ratio, the second preset ratio, third preset ratio, the 4th preset ratio and the 5th
The electronic certificate sum of example is assigned to the preferential amount of money range of corresponding grade;
The electronic certificate sum of corresponding ratio is evenly distributed in each preferential amount of money of corresponding grade.
Preferably, the generation step includes:
The preferential amount of money range that user uses is determined according to the historical consumption data of user;
According to the corresponding electronic certificate quantity of the preferential amount of money range of preferential amount of money range statistics, at random from the electronics of statistics with
A preferential amount of money is selected to be sent to user as award bonus, and by the award bonus in card quantity.
Optionally, the present invention also provides another electronic certificate dynamic creation method, this method includes:
Foundation step:Unified dynamic electron voucher templates are created, the relevant information of dynamic electron voucher templates is configured, it will
Dynamic electron voucher templates are stored in electronic certificate template table, and are stored in electronic certificate template number and corresponding in prize allocation list
Preferential amount of money range;
Generation step:Corresponding electronic certificate template number is obtained from prize allocation list according to the award bonus of user,
Call the interface of issuing licence of central processing module to provide dynamic electron voucher templates, by the award bonus of user write-in dynamic electron with
Template is demonstrate,proved, corresponding electronic certificate deposit user's electronic certificate table is generated.
Preferably, this method includes:
According to the relevant information of electronic certificate and user's order information, judging whether article that the user is placed an order meets makes
Corresponding prompt information is sent to user if being unsatisfactory for the condition using electronic certificate with the condition of electronic certificate, if meeting
Using the condition of electronic certificate, then promotion calculating is carried out in conjunction with the winning information of user's electronic certificate.
The specific embodiment of the computer readable storage medium of the present invention and above-mentioned electronic certificate dynamic creation method
Specific embodiment is roughly the same, and details are not described herein.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row
His property includes, so that the process, device, article or the method that include a series of elements not only include those elements, and
And further include other elements that are not explicitly listed, or further include for this process, device, article or method institute it is intrinsic
Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do
There is also other identical elements in the process, device of element, article or method.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art
The part contributed out can be embodied in the form of software products, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that terminal device (it can be mobile phone,
Computer, server or network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair
Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills
Art field, is included within the scope of the present invention.
Claims (10)
1. a kind of electronic certificate dynamic creation method is applied to server, which is characterized in that the method includes:
Foundation step:According to the dynamic electron voucher templates of preferential amount of money scope creation preset quantity, dynamic electron voucher is configured
The relevant information of template, by dynamic electron voucher templates be stored in electronic certificate template table, and prize allocation list deposit electronics with
Template number and corresponding preferential amount of money range are demonstrate,proved, according to the preferential amount of money range of each electronic certificate template and corresponding electronics
Voucher quantity is that each preferential amount of money distributes corresponding electronic certificate quantity using preset allocation rule;
Generation step:Corresponding electronic certificate template number is obtained from prize allocation list according to the award bonus of user, is called
The interface of issuing licence of central processing module provides dynamic electron voucher templates, and dynamic electron voucher mould is written in the award bonus of user
Plate generates corresponding electronic certificate deposit user's electronic certificate table.
2. electronic certificate dynamic creation method according to claim 1, which is characterized in that the preset allocation rule packet
It includes:
Preferential amount of money range is divided into five grades, including level-one, second level, three-level, level Four and Pyatyi from high to low;
Respectively by the first preset ratio, the second preset ratio, third preset ratio, the 4th preset ratio and the 5th preset ratio
Electronic certificate sum is assigned to the preferential amount of money range of corresponding grade;
The electronic certificate sum of corresponding ratio is evenly distributed in each preferential amount of money of corresponding grade.
3. electronic certificate dynamic creation method according to claim 1, which is characterized in that the generation step includes:
The preferential amount of money range that user uses is determined according to the historical consumption data of user;
According to the corresponding electronic certificate quantity of the preferential amount of money range of preferential amount of money range statistics, at random from the electronic certificate number of statistics
A preferential amount of money is selected to be sent to user as award bonus, and by the award bonus in amount.
4. a kind of electronic certificate dynamic creation method is applied to server, which is characterized in that the method includes:
Foundation step:Unified dynamic electron voucher templates are created, the relevant information of dynamic electron voucher templates is configured, it will dynamic
Electronic certificate template is stored in electronic certificate template table, and is stored in electronic certificate template number and corresponding preferential in prize allocation list
Amount of money range;
Generation step:Corresponding electronic certificate template number is obtained from prize allocation list according to the award bonus of user, is called
The interface of issuing licence of central processing module provides dynamic electron voucher templates, and dynamic electron voucher mould is written in the award bonus of user
Plate generates corresponding electronic certificate deposit user's electronic certificate table.
5. electronic certificate dynamic creation method according to claim 1 or 4, which is characterized in that this method includes:
According to the relevant information of electronic certificate and user's order information, judge whether the article that the user is placed an order meets using electricity
The condition of sub- voucher sends corresponding prompt information to user, uses if meeting if being unsatisfactory for the condition using electronic certificate
The condition of electronic certificate then carries out promotion calculating in conjunction with the winning information of user's electronic certificate.
6. a kind of server, which is characterized in that the server includes:Memory, processor and display, on the memory
It is stored with electronic certificate dynamic generator, the electronic certificate dynamic generator is executed by the processor, it can be achieved that such as
Lower step:
Foundation step:According to the dynamic electron voucher templates of preferential amount of money scope creation preset quantity, dynamic electron voucher is configured
The relevant information of template, by dynamic electron voucher templates be stored in electronic certificate template table, and prize allocation list deposit electronics with
Template number and corresponding preferential amount of money range are demonstrate,proved, according to the preferential amount of money range of each electronic certificate template and corresponding electronics
Voucher quantity is that each preferential amount of money distributes corresponding electronic certificate quantity using preset allocation rule;
Generation step:Corresponding electronic certificate template number is obtained from prize allocation list according to the award bonus of user, is called
The interface of issuing licence of central processing module provides dynamic electron voucher templates, and dynamic electron voucher mould is written in the award bonus of user
Plate generates corresponding electronic certificate deposit user's electronic certificate table.
7. server according to claim 6, which is characterized in that the preset allocation rule includes:
Preferential amount of money range is divided into five grades, including level-one, second level, three-level, level Four and Pyatyi from high to low;
Respectively by the first preset ratio, the second preset ratio, third preset ratio, the 4th preset ratio and the 5th preset ratio
Electronic certificate sum is assigned to the preferential amount of money range of corresponding grade;
The electronic certificate sum of corresponding ratio is evenly distributed in each preferential amount of money of corresponding grade.
8. server according to claim 6, which is characterized in that the generation step includes:
The preferential amount of money range that user uses is determined according to the historical consumption data of user;
According to the corresponding electronic certificate quantity of the preferential amount of money range of preferential amount of money range statistics, at random from the electronic certificate number of statistics
A preferential amount of money is selected to be sent to user as award bonus, and by the award bonus in amount.
9. a kind of server, which is characterized in that the server includes:Memory, processor and display, on the memory
It is stored with electronic certificate dynamic generator, the electronic certificate dynamic generator is executed by the processor, it can be achieved that such as
Lower step:
Foundation step:Unified dynamic electron voucher templates are created, the relevant information of dynamic electron voucher templates is configured, it will dynamic
Electronic certificate template is stored in electronic certificate template table, and is stored in electronic certificate template number and corresponding preferential in prize allocation list
Amount of money range;
Generation step:Corresponding electronic certificate template number is obtained from prize allocation list according to the award bonus of user, is called
The interface of issuing licence of central processing module provides dynamic electron voucher templates, and dynamic electron voucher mould is written in the award bonus of user
Plate generates corresponding electronic certificate deposit user's electronic certificate table.
10. a kind of computer readable storage medium, which is characterized in that include electronic certificate in the computer readable storage medium
Dynamic generator, when the electronic certificate dynamic generator is executed by processor, it can be achieved that as appointed in claim 1 to 5
The step of one electronic certificate dynamic creation method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810547048.2A CN108921591B (en) | 2018-05-31 | 2018-05-31 | Dynamic generation method of electronic certificate, server and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810547048.2A CN108921591B (en) | 2018-05-31 | 2018-05-31 | Dynamic generation method of electronic certificate, server and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108921591A true CN108921591A (en) | 2018-11-30 |
CN108921591B CN108921591B (en) | 2023-06-09 |
Family
ID=64419888
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810547048.2A Active CN108921591B (en) | 2018-05-31 | 2018-05-31 | Dynamic generation method of electronic certificate, server and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108921591B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110111162A (en) * | 2019-05-20 | 2019-08-09 | 深圳前海微众银行股份有限公司 | Consume discount processing method, device, equipment and computer readable storage medium |
CN113763011A (en) * | 2020-11-19 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Distribution processing method, device, equipment and storage medium of electronic certificate |
CN114022174A (en) * | 2021-09-22 | 2022-02-08 | 北京健康之家科技有限公司 | Certificate issuing method and device, storage medium and computer equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102999852A (en) * | 2011-09-14 | 2013-03-27 | 阿里巴巴集团控股有限公司 | Electronic coupon data generation method and electronic coupon data generation device |
CN105678568A (en) * | 2015-12-29 | 2016-06-15 | 拉扎斯网络科技(上海)有限公司 | Method and device for determining preference information |
-
2018
- 2018-05-31 CN CN201810547048.2A patent/CN108921591B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102999852A (en) * | 2011-09-14 | 2013-03-27 | 阿里巴巴集团控股有限公司 | Electronic coupon data generation method and electronic coupon data generation device |
CN105678568A (en) * | 2015-12-29 | 2016-06-15 | 拉扎斯网络科技(上海)有限公司 | Method and device for determining preference information |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110111162A (en) * | 2019-05-20 | 2019-08-09 | 深圳前海微众银行股份有限公司 | Consume discount processing method, device, equipment and computer readable storage medium |
CN113763011A (en) * | 2020-11-19 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | Distribution processing method, device, equipment and storage medium of electronic certificate |
CN114022174A (en) * | 2021-09-22 | 2022-02-08 | 北京健康之家科技有限公司 | Certificate issuing method and device, storage medium and computer equipment |
Also Published As
Publication number | Publication date |
---|---|
CN108921591B (en) | 2023-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104408647A (en) | Credit exchange method, credit exchange device and system | |
CN107742225A (en) | A kind of merchant advertisements promotion method and system for multi-platform Information Sharing | |
CN106228405A (en) | A kind of public platform lottery drawing method based on product Quick Response Code | |
CN109359797A (en) | Electronic device, loan collection case division method and storage medium | |
CN108090760A (en) | For the user interface of payment | |
CN108921591A (en) | Electronic certificate dynamic creation method, server and storage medium | |
CN107292560A (en) | Material storage management method and system | |
CN109685549A (en) | Rebating method, apparatus, computer installation and computer storage medium are shared in shopping | |
CN104616143B (en) | Virtual tickets transfer method and device in social networking application | |
US20150046272A1 (en) | Graphical interface and input method for allocating an invoice amongst a plurality of accounts | |
CN107943599A (en) | Red packet based reminding method, device, computer installation and computer-readable recording medium | |
CN107679885A (en) | A kind of ad data acquisition methods and device | |
CN102169560A (en) | Electronic invoice management system and management method thereof | |
CN110020149A (en) | Labeling processing method, device, terminal device and the medium of user information | |
CN107590899A (en) | A kind of apparatus and method that cash change is accessed by mobile payment | |
CN111080429B (en) | Virtual resource acquisition method, device and storage medium | |
CN106204115A (en) | Information popularization method, server and client | |
CN110378561A (en) | Order tracking management method, device and storage medium | |
CN107784492A (en) | Information processing method, device, computer installation and computer-readable recording medium | |
CN109493075A (en) | For determining the method and apparatus of virtual resource object | |
CN109118349A (en) | Business finance bill generation method, device, electronic equipment and storage medium | |
CN111768174A (en) | Activity management method, apparatus, device and medium | |
CN103279876A (en) | Method and device for processing information of payment terminal | |
CN110009424A (en) | A kind of service information pushing method, device and storage medium | |
CN110033310A (en) | Quotient area management system and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |